[2026-09-07 00:00:24] local.INFO: TCP Data received {"connection_id":172884,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:24] local.INFO: Processing buffer {"connection_id":172884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:24] local.INFO: Packet analysis {"connection_id":172884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:00:24] local.INFO: Extracted packet for processing {"connection_id":172884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00: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-07 00:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00: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-07 00:00: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:00: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-07 00:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":172884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:00:24] local.INFO: GPS data processed {"connection_id":172884,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:00:24] local.INFO: Acknowledgment sent {"connection_id":172884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:00:51] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:51] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:51] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:00:56] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:56] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:00:56] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:00:58] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:58] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:00:58] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:00:58] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00: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-07 00:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00: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-07 00: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-07 00:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:00:58] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:00:58] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:01:02] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:02] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:02] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:02] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:01:02] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:01:02] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:01:49] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:49] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:49] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:01:51] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:51] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:01:51] local.INFO: IMEI packet received {"connection_id":172886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":172886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:01:52] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:52] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:52] local.INFO: Packet analysis {"connection_id":172886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:52] local.INFO: Extracted packet for processing {"connection_id":172886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01: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-07 00:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00: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-07 00:01: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-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:01: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-07 00: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-07 00: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-07 00:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01: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-07 00:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":172886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:01:53] local.INFO: GPS data processed {"connection_id":172886,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:01:53] local.INFO: Acknowledgment sent {"connection_id":172886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:01:59] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:59] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:01:59] local.INFO: Packet analysis {"connection_id":172886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:59] local.INFO: Extracted packet for processing {"connection_id":172886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:01: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-07 00:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:01: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-07 00:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":172886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:01:59] local.INFO: GPS data processed {"connection_id":172886,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:01:59] local.INFO: Acknowledgment sent {"connection_id":172886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:02:35] local.INFO: TCP Data received {"connection_id":172886,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:35] local.INFO: Processing buffer {"connection_id":172886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:35] local.INFO: Packet analysis {"connection_id":172886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:02:35] local.INFO: Extracted packet for processing {"connection_id":172886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":172886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":172886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":172886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:02:35] local.INFO: GPS data processed {"connection_id":172886,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:02:35] local.INFO: Acknowledgment sent {"connection_id":172886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:02:48] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:48] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:48] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:02:51] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:51] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:02:51] local.INFO: IMEI packet received {"connection_id":175611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:02:52] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:52] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077f97fb8012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:02:52] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:02:52] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077f9"} 
[2026-09-07 00:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912047104001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02: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-07 00:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719235000,"timestamp_ms":1788719235000,"timestamp_seconds":1788719235,"priority":1,"record_length":96,"hex_timestamp":"000001a077f97fb8"} 
[2026-09-07 00: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-07 00:02: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-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:02: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-07 00: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-07 00: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-07 00:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02: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-07 00:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912047104001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912047104001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912047104001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:02:52] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:02:52] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:02:55] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:02:55] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:02:55] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:02:55] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:02:55] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:02: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-07 00:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00: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-07 00: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-07 00:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:02:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:02:55] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:02:55] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:03:27] local.INFO: TCP Data received {"connection_id":175611,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:27] local.INFO: Processing buffer {"connection_id":175611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:27] local.INFO: Packet analysis {"connection_id":175611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:03:27] local.INFO: Extracted packet for processing {"connection_id":175611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:03:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03: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-07 00:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:03: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:03: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-07 00: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-07 00: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-07 00:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:03:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":175611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:03:27] local.INFO: GPS data processed {"connection_id":175611,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:03:27] local.INFO: Acknowledgment sent {"connection_id":175611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:03:46] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:46] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:46] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:03:51] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:51] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:03:51] local.INFO: IMEI packet received {"connection_id":173116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":173116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:03:52] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:52] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:03:52] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:03:52] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:03: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-07 00:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:03: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:03: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-07 00: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-07 00: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-07 00:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:03: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-07 00:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:03:52] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:03:52] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:04:03] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:03] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:03] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:04:24] local.INFO: TCP Data received {"connection_id":173116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:24] local.INFO: Processing buffer {"connection_id":173116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:24] local.INFO: Packet analysis {"connection_id":173116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:04:24] local.INFO: Extracted packet for processing {"connection_id":173116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:04:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:04: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-07 00:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00: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-07 00:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00: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-07 00:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":173116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:04:24] local.INFO: GPS data processed {"connection_id":173116,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:04:24] local.INFO: Acknowledgment sent {"connection_id":173116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:04:46] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:46] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:46] local.INFO: IMEI packet received {"connection_id":174286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:04:48] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:48] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:04:48] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:04:51] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:51] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:04:51] local.INFO: IMEI packet received {"connection_id":174286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":174286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:04:52] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:52] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:04:52] local.INFO: Packet analysis {"connection_id":174286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:04:52] local.INFO: Extracted packet for processing {"connection_id":174286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:04:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:04: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-07 00:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:04: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:04: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-07 00: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-07 00: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-07 00:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:04: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-07 00:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":174286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:04:52] local.INFO: GPS data processed {"connection_id":174286,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:04:52] local.INFO: Acknowledgment sent {"connection_id":174286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:05:24] local.INFO: TCP Data received {"connection_id":174286,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:24] local.INFO: Processing buffer {"connection_id":174286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:24] local.INFO: Packet analysis {"connection_id":174286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:05:24] local.INFO: Extracted packet for processing {"connection_id":174286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05: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-07 00:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:05: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:05: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-07 00: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-07 00: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-07 00:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:05: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-07 00:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":174286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:05:24] local.INFO: GPS data processed {"connection_id":174286,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:05:24] local.INFO: Acknowledgment sent {"connection_id":174286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:05:51] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:51] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:51] local.INFO: IMEI packet received {"connection_id":172889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":172889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:05:57] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:57] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:05:57] local.INFO: IMEI packet received {"connection_id":172889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":172889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:05:59] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:59] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:05:59] local.INFO: Packet analysis {"connection_id":172889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:05:59] local.INFO: Extracted packet for processing {"connection_id":172889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:05: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-07 00:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:05: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-07 00:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":172889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":172889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:05:59] local.INFO: GPS data processed {"connection_id":172889,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:05:59] local.INFO: Acknowledgment sent {"connection_id":172889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:06:02] local.INFO: TCP Data received {"connection_id":172889,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:02] local.INFO: Processing buffer {"connection_id":172889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:02] local.INFO: Packet analysis {"connection_id":172889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:06:02] local.INFO: Extracted packet for processing {"connection_id":172889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00: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-07 00: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-07 00:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":172889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:06:02] local.INFO: GPS data processed {"connection_id":172889,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:06:02] local.INFO: Acknowledgment sent {"connection_id":172889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:06:46] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:46] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:46] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:06:51] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:51] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:06:51] local.INFO: IMEI packet received {"connection_id":173119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":173119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:06:52] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:52] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:06:52] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:06:52] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:06: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-07 00:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00: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-07 00:06: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-07 00: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:06: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-07 00: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-07 00: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-07 00:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:06: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-07 00:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:06:52] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:06:52] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:07:24] local.INFO: TCP Data received {"connection_id":173119,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:24] local.INFO: Processing buffer {"connection_id":173119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:24] local.INFO: Packet analysis {"connection_id":173119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:07:24] local.INFO: Extracted packet for processing {"connection_id":173119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:07:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:07:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:07: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-07 00:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:07: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-07 00:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:07: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-07 00:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:07: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-07 00:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:07:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":173119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:07:24] local.INFO: GPS data processed {"connection_id":173119,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:07:24] local.INFO: Acknowledgment sent {"connection_id":173119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:07:46] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:46] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:46] local.INFO: IMEI packet received {"connection_id":175614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":175614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:07:51] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:51] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:07:51] local.INFO: IMEI packet received {"connection_id":175614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":175614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:07:53] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:53] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a077fe1780012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:07:53] local.INFO: Packet analysis {"connection_id":175614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:07:53] local.INFO: Extracted packet for processing {"connection_id":175614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a077fe"} 
[2026-09-07 00:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912124160001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:07:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788719536000,"timestamp_ms":1788719536000,"timestamp_seconds":1788719536,"priority":1,"record_length":96,"hex_timestamp":"000001a077fe1780"} 
[2026-09-07 00:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:07: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-07 00:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:07: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-07 00:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:07: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-07 00:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912124160001,"66":25625,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912124160001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912124160001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":175614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:07:53] local.INFO: GPS data processed {"connection_id":175614,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:07:53] local.INFO: Acknowledgment sent {"connection_id":175614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:08:24] local.INFO: TCP Data received {"connection_id":175614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:24] local.INFO: Processing buffer {"connection_id":175614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:24] local.INFO: Packet analysis {"connection_id":175614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:08:24] local.INFO: Extracted packet for processing {"connection_id":175614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08: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-07 00:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:08: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-07 00:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:08: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-07 00:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:08: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-07 00:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":175614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:08:24] local.INFO: GPS data processed {"connection_id":175614,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:08:24] local.INFO: Acknowledgment sent {"connection_id":175614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:08:46] local.INFO: TCP Data received {"connection_id":174287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:46] local.INFO: Processing buffer {"connection_id":174287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:46] local.INFO: IMEI packet received {"connection_id":174287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":174287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:08:51] local.INFO: TCP Data received {"connection_id":174287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:51] local.INFO: Processing buffer {"connection_id":174287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:08:51] local.INFO: IMEI packet received {"connection_id":174287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":174287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:08:52] local.INFO: TCP Data received {"connection_id":174287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:52] local.INFO: Processing buffer {"connection_id":174287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:08:52] local.INFO: Packet analysis {"connection_id":174287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:08:52] local.INFO: Extracted packet for processing {"connection_id":174287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:08: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-07 00:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00: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-07 00:08: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-07 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:08: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-07 00: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-07 00: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-07 00:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:08: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-07 00:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":174287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:08:52] local.INFO: GPS data processed {"connection_id":174287,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:08:52] local.INFO: Acknowledgment sent {"connection_id":174287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:09:24] local.INFO: TCP Data received {"connection_id":174287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:24] local.INFO: Processing buffer {"connection_id":174287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:24] local.INFO: Packet analysis {"connection_id":174287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:09:24] local.INFO: Extracted packet for processing {"connection_id":174287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09: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-07 00:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:09: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-07 00:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:09: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-07 00:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:09: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-07 00:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":174287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:09:24] local.INFO: GPS data processed {"connection_id":174287,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:09:24] local.INFO: Acknowledgment sent {"connection_id":174287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:09:52] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:52] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:52] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:09:57] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:57] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:09:57] local.INFO: IMEI packet received {"connection_id":175616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":175616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:09:58] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:58] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:09:58] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:09:58] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00: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-07 00:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 00: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-07 00: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-07 00:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:09:58] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:09:58] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:10:06] local.INFO: TCP Data received {"connection_id":175616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:06] local.INFO: Processing buffer {"connection_id":175616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:06] local.INFO: Packet analysis {"connection_id":175616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:06] local.INFO: Extracted packet for processing {"connection_id":175616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:10:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":175616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:10:06] local.INFO: GPS data processed {"connection_id":175616,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:10:06] local.INFO: Acknowledgment sent {"connection_id":175616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:10:08] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:08] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:08] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:10:48] local.INFO: TCP Data received {"connection_id":174289,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:48] local.INFO: Processing buffer {"connection_id":174289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:10:48] local.INFO: IMEI packet received {"connection_id":174289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":174289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:10:49] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:49] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:49] local.INFO: IMEI packet received {"connection_id":172891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":172891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:10:51] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:51] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:10:51] local.INFO: IMEI packet received {"connection_id":172891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":172891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:10:52] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:52] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:52] local.INFO: Packet analysis {"connection_id":172891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:52] local.INFO: Extracted packet for processing {"connection_id":172891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00: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-07 00:10: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-07 00: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:10: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-07 00: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-07 00: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-07 00:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10: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-07 00:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":172891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:10:52] local.INFO: GPS data processed {"connection_id":172891,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:10:52] local.INFO: Acknowledgment sent {"connection_id":172891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:10:57] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:57] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:10:57] local.INFO: Packet analysis {"connection_id":172891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:57] local.INFO: Extracted packet for processing {"connection_id":172891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:10:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00: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-07 00:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 00: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-07 00: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-07 00:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:10:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":172891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:10:57] local.INFO: GPS data processed {"connection_id":172891,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:10:57] local.INFO: Acknowledgment sent {"connection_id":172891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:11:29] local.INFO: TCP Data received {"connection_id":172891,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:29] local.INFO: Processing buffer {"connection_id":172891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:29] local.INFO: Packet analysis {"connection_id":172891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:11:29] local.INFO: Extracted packet for processing {"connection_id":172891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11: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-07 00:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:11: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-07 00:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:11: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-07 00:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:11:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":172891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:11:29] local.INFO: GPS data processed {"connection_id":172891,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:11:29] local.INFO: Acknowledgment sent {"connection_id":172891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:11:46] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:46] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:46] local.INFO: IMEI packet received {"connection_id":175617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":175617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:11:51] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:51] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:11:51] local.INFO: IMEI packet received {"connection_id":175617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":175617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:11:53] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:53] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:11:53] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:11:53] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:11: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-07 00:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:11: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-07 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:11: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-07 00:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:11:53] 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-07 00:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:11:53] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:11:53] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:12:24] local.INFO: TCP Data received {"connection_id":175617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:24] local.INFO: Processing buffer {"connection_id":175617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:24] local.INFO: Packet analysis {"connection_id":175617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:12:24] local.INFO: Extracted packet for processing {"connection_id":175617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:12:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12: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-07 00:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:12: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-07 00:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:12: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-07 00:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:12: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-07 00:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:12:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":175617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:12:24] local.INFO: GPS data processed {"connection_id":175617,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:12:24] local.INFO: Acknowledgment sent {"connection_id":175617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:12:46] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:46] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:46] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:12:51] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:51] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:12:51] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:12:52] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:52] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07802af48012d34cbc006aa45580000011e25..."} 
[2026-09-07 00:12:52] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:12:52] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07802"} 
[2026-09-07 00:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912201216001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:12: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-07 00:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788719837000,"timestamp_ms":1788719837000,"timestamp_seconds":1788719837,"priority":1,"record_length":96,"hex_timestamp":"000001a07802af48"} 
[2026-09-07 00: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-07 00:12: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-07 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 00:12: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-07 00: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-07 00: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-07 00:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:12: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-07 00:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912201216001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912201216001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912201216001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:12:52] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:12:52] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:13:23] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:23] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:23] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:13:23] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13: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-07 00:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:13: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-07 00: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-07 00: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-07 00:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:13: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-07 00:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:13:23] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:13:23] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:13:46] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:46] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:46] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:13:51] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:51] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:13:51] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:13:52] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:52] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:13:52] local.INFO: Packet analysis {"connection_id":173122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:13:52] local.INFO: Extracted packet for processing {"connection_id":173122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:13: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-07 00:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00:13: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-07 00: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:13: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-07 00: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-07 00: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-07 00:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:13: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-07 00:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":173122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:13:52] local.INFO: GPS data processed {"connection_id":173122,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:13:52] local.INFO: Acknowledgment sent {"connection_id":173122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:14:24] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:24] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:24] local.INFO: Packet analysis {"connection_id":173122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:14:24] local.INFO: Extracted packet for processing {"connection_id":173122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14: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-07 00:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:14: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-07 00:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:14: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-07 00:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:14:24] 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-07 00:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":173122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:14:24] local.INFO: GPS data processed {"connection_id":173122,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:14:24] local.INFO: Acknowledgment sent {"connection_id":173122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:14:51] local.INFO: TCP Data received {"connection_id":172892,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:51] local.INFO: Processing buffer {"connection_id":172892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:51] local.INFO: IMEI packet received {"connection_id":172892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":172892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:14:56] local.INFO: TCP Data received {"connection_id":172892,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:56] local.INFO: Processing buffer {"connection_id":172892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:14:56] local.INFO: IMEI packet received {"connection_id":172892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":172892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:14:58] local.INFO: TCP Data received {"connection_id":172892,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:58] local.INFO: Processing buffer {"connection_id":172892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:14:58] local.INFO: Packet analysis {"connection_id":172892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:14:58] local.INFO: Extracted packet for processing {"connection_id":172892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:14:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":172892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:14:58] local.INFO: GPS data processed {"connection_id":172892,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:14:58] local.INFO: Acknowledgment sent {"connection_id":172892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:15:03] local.INFO: TCP Data received {"connection_id":172892,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:03] local.INFO: Processing buffer {"connection_id":172892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:03] local.INFO: Packet analysis {"connection_id":172892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:15:03] local.INFO: Extracted packet for processing {"connection_id":172892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:15:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":172892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:15:03] local.INFO: GPS data processed {"connection_id":172892,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:15:03] local.INFO: Acknowledgment sent {"connection_id":172892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:15:46] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:46] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:46] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:15:51] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:51] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:15:51] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:15:52] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:52] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:15:52] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:15:52] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00: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-07 00: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:15: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-07 00: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-07 00: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-07 00:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:15: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-07 00:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:15:52] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:15:52] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:15:55] local.INFO: TCP Data received {"connection_id":175619,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:15:55] local.INFO: Processing buffer {"connection_id":175619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:15:55] local.INFO: IMEI packet received {"connection_id":175619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":175619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:16:24] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:24] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:24] local.INFO: Packet analysis {"connection_id":173123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:16:24] local.INFO: Extracted packet for processing {"connection_id":173123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:16:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:16: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-07 00:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:16: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-07 00:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:16: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-07 00:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":173123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:16:24] local.INFO: GPS data processed {"connection_id":173123,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:16:24] local.INFO: Acknowledgment sent {"connection_id":173123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:16:47] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:47] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:47] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:16:51] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:51] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:16:51] local.INFO: IMEI packet received {"connection_id":175620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":175620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:16:52] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:52] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:16:52] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:16:52] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:16:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:16: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-07 00:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00:16: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:16: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-07 00: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-07 00: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-07 00:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:16: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-07 00:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:16:52] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:16:52] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:17:24] local.INFO: TCP Data received {"connection_id":175620,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:24] local.INFO: Processing buffer {"connection_id":175620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:24] local.INFO: Packet analysis {"connection_id":175620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:17:24] local.INFO: Extracted packet for processing {"connection_id":175620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:17:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:17: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-07 00:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00:17: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-07 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 00:17: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-07 00: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-07 00: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-07 00:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:17: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-07 00:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":175620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:17:24] local.INFO: GPS data processed {"connection_id":175620,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:17:24] local.INFO: Acknowledgment sent {"connection_id":175620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:17:46] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:46] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:46] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:17:51] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:51] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:17:51] local.INFO: IMEI packet received {"connection_id":174293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":174293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:17:52] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:52] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078074710012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:17:52] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:17:52] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07807"} 
[2026-09-07 00:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912278272001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720138000,"timestamp_ms":1788720138000,"timestamp_seconds":1788720138,"priority":1,"record_length":96,"hex_timestamp":"000001a078074710"} 
[2026-09-07 00: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-07 00:17: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00: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-07 00:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912278272001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912278272001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912278272001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:17:52] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:17:52] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:18:23] local.INFO: TCP Data received {"connection_id":174293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:23] local.INFO: Processing buffer {"connection_id":174293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:23] local.INFO: Packet analysis {"connection_id":174293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:18:23] local.INFO: Extracted packet for processing {"connection_id":174293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:18:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:18: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-07 00:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:18: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-07 00: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-07 00: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-07 00:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:18:23] 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-07 00:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":174293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:18:23] local.INFO: GPS data processed {"connection_id":174293,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:18:23] local.INFO: Acknowledgment sent {"connection_id":174293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:18:46] local.INFO: TCP Data received {"connection_id":172894,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:46] local.INFO: Processing buffer {"connection_id":172894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:46] local.INFO: IMEI packet received {"connection_id":172894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":172894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:18:51] local.INFO: TCP Data received {"connection_id":172894,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:51] local.INFO: Processing buffer {"connection_id":172894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:18:51] local.INFO: IMEI packet received {"connection_id":172894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":172894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:18:52] local.INFO: TCP Data received {"connection_id":172894,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:52] local.INFO: Processing buffer {"connection_id":172894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:18:52] local.INFO: Packet analysis {"connection_id":172894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:18:52] local.INFO: Extracted packet for processing {"connection_id":172894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:18:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:18: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:18: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-07 00: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-07 00: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-07 00:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:18: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-07 00:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":172894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:18:52] local.INFO: GPS data processed {"connection_id":172894,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:18:52] local.INFO: Acknowledgment sent {"connection_id":172894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:19:24] local.INFO: TCP Data received {"connection_id":172894,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:24] local.INFO: Processing buffer {"connection_id":172894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:24] local.INFO: Packet analysis {"connection_id":172894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:19:24] local.INFO: Extracted packet for processing {"connection_id":172894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19: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-07 00:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:19: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-07 00:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:19: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-07 00:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:19: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-07 00:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":172894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:19:24] local.INFO: GPS data processed {"connection_id":172894,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:19:24] local.INFO: Acknowledgment sent {"connection_id":172894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:19:51] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:51] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:51] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:19:56] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:56] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:19:56] local.INFO: IMEI packet received {"connection_id":175621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":175621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:19:57] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:57] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:19:57] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:19:57] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:19:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:19: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-07 00:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:19: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-07 00:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:19:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:19:57] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:19:57] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:20:02] local.INFO: TCP Data received {"connection_id":175621,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:02] local.INFO: Processing buffer {"connection_id":175621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:02] local.INFO: Packet analysis {"connection_id":175621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:20:02] local.INFO: Extracted packet for processing {"connection_id":175621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":175621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:20:02] local.INFO: GPS data processed {"connection_id":175621,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:20:02] local.INFO: Acknowledgment sent {"connection_id":175621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:20:46] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:46] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:46] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:20:51] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:51] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:20:51] local.INFO: IMEI packet received {"connection_id":174294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":174294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:20:53] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:53] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:20:53] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:20:53] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:20: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-07 00:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:20: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:20: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-07 00: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-07 00: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-07 00:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:20: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-07 00:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:20:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:20:53] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:20:53] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:21:24] local.INFO: TCP Data received {"connection_id":174294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:24] local.INFO: Processing buffer {"connection_id":174294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:24] local.INFO: Packet analysis {"connection_id":174294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:21:24] local.INFO: Extracted packet for processing {"connection_id":174294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21: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-07 00:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:21: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:21: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-07 00: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-07 00: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-07 00:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:21: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-07 00:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":174294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:21:24] local.INFO: GPS data processed {"connection_id":174294,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:21:24] local.INFO: Acknowledgment sent {"connection_id":174294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:21:46] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:46] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:46] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:21:51] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:51] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:21:51] local.INFO: IMEI packet received {"connection_id":173125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":173125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:21:52] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:52] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:21:52] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:21:52] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:21: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-07 00:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:21: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:21: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-07 00: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-07 00: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-07 00:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:21: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-07 00:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:21:52] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:21:52] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:22:03] local.INFO: TCP Data received {"connection_id":172896,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:03] local.INFO: Processing buffer {"connection_id":172896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:03] local.INFO: IMEI packet received {"connection_id":172896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":172896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:22:24] local.INFO: TCP Data received {"connection_id":173125,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:24] local.INFO: Processing buffer {"connection_id":173125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:24] local.INFO: Packet analysis {"connection_id":173125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:22:24] local.INFO: Extracted packet for processing {"connection_id":173125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22: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-07 00:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00:22: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:22: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-07 00: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-07 00: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-07 00:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:22: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-07 00:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":173125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:22:24] local.INFO: GPS data processed {"connection_id":173125,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:22:24] local.INFO: Acknowledgment sent {"connection_id":173125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:22:46] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:46] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:46] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:22:48] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:48] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:22:48] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:22:51] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:51] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:22:51] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:22:52] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:52] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0780bded8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:22:52] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:22:52] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0780b"} 
[2026-09-07 00:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912355328001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:22: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-07 00:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720439000,"timestamp_ms":1788720439000,"timestamp_seconds":1788720439,"priority":1,"record_length":96,"hex_timestamp":"000001a0780bded8"} 
[2026-09-07 00: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-07 00: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:22: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-07 00: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-07 00: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-07 00:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:22: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-07 00:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912355328001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912355328001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912355328001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:22:52] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:22:52] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:23:23] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:23] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:23] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:23:23] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:23:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:23: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-07 00:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:23: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-07 00: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-07 00: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-07 00:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:23: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-07 00:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:23:23] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:23:23] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:23:46] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:46] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:46] local.INFO: IMEI packet received {"connection_id":174295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":174295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:23:51] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:51] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:23:51] local.INFO: IMEI packet received {"connection_id":174295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":174295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:23:52] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:52] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:23:52] local.INFO: Packet analysis {"connection_id":174295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:23:52] local.INFO: Extracted packet for processing {"connection_id":174295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:23: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-07 00: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-07 00: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-07 00:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:23: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-07 00:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":174295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:23:52] local.INFO: GPS data processed {"connection_id":174295,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:23:52] local.INFO: Acknowledgment sent {"connection_id":174295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:24:24] local.INFO: TCP Data received {"connection_id":174295,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:24] local.INFO: Processing buffer {"connection_id":174295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:24] local.INFO: Packet analysis {"connection_id":174295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:24:24] local.INFO: Extracted packet for processing {"connection_id":174295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24: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-07 00:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00:24: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:24:24] 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-07 00:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":174295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:24:24] local.INFO: GPS data processed {"connection_id":174295,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:24:24] local.INFO: Acknowledgment sent {"connection_id":174295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:24:51] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:51] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:51] local.INFO: IMEI packet received {"connection_id":174296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":174296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:24:56] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:56] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:24:56] local.INFO: IMEI packet received {"connection_id":174296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":174296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:24:58] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:58] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:24:58] local.INFO: Packet analysis {"connection_id":174296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:24:58] local.INFO: Extracted packet for processing {"connection_id":174296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:24: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-07 00:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:24: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:24: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-07 00:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:24:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":174296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:24:58] local.INFO: GPS data processed {"connection_id":174296,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:24:58] local.INFO: Acknowledgment sent {"connection_id":174296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:25:29] local.INFO: TCP Data received {"connection_id":174296,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:29] local.INFO: Processing buffer {"connection_id":174296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:29] local.INFO: Packet analysis {"connection_id":174296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:25:29] local.INFO: Extracted packet for processing {"connection_id":174296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:25:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:25: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-07 00:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:25: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-07 00:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:25: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-07 00:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:25:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":174296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:25:29] local.INFO: GPS data processed {"connection_id":174296,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:25:29] local.INFO: Acknowledgment sent {"connection_id":174296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:25:46] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:46] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:46] local.INFO: IMEI packet received {"connection_id":172897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":172897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:25:51] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:51] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:25:51] local.INFO: IMEI packet received {"connection_id":172897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":172897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:25:52] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:52] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:25:52] local.INFO: Packet analysis {"connection_id":172897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:25:52] local.INFO: Extracted packet for processing {"connection_id":172897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:25:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00:25: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:25: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-07 00: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-07 00: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-07 00:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:25: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-07 00:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":172897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:25:52] local.INFO: GPS data processed {"connection_id":172897,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:25:52] local.INFO: Acknowledgment sent {"connection_id":172897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:26:24] local.INFO: TCP Data received {"connection_id":172897,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:24] local.INFO: Processing buffer {"connection_id":172897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:24] local.INFO: Packet analysis {"connection_id":172897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:26:24] local.INFO: Extracted packet for processing {"connection_id":172897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:26:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00:26: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-07 00:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:26: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-07 00: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-07 00: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-07 00:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:26: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-07 00:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":172897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:26:24] local.INFO: GPS data processed {"connection_id":172897,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:26:24] local.INFO: Acknowledgment sent {"connection_id":172897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:26:46] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:46] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:46] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:26:52] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:52] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:26:52] local.INFO: IMEI packet received {"connection_id":175624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":175624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:26:53] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:53] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:26:53] local.INFO: Packet analysis {"connection_id":175624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:26:53] local.INFO: Extracted packet for processing {"connection_id":175624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:26: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-07 00:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:26: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-07 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:26: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-07 00:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:26: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-07 00:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":175624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:26:53] local.INFO: GPS data processed {"connection_id":175624,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:26:53] local.INFO: Acknowledgment sent {"connection_id":175624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:27:24] local.INFO: TCP Data received {"connection_id":175624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:24] local.INFO: Processing buffer {"connection_id":175624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:24] local.INFO: Packet analysis {"connection_id":175624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:27:24] local.INFO: Extracted packet for processing {"connection_id":175624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27: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-07 00:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00: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-07 00:27: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:27: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-07 00: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-07 00: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-07 00:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:27: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-07 00:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":175624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:27:24] local.INFO: GPS data processed {"connection_id":175624,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:27:24] local.INFO: Acknowledgment sent {"connection_id":175624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:27:46] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:46] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:46] local.INFO: IMEI packet received {"connection_id":174297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":174297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:27:51] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:51] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:27:51] local.INFO: IMEI packet received {"connection_id":174297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":174297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:27:52] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:27:52] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:27:52] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:27:53] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:53] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781076a0012d34cbc006aa45580000011e26..."} 
[2026-09-07 00:27:53] local.INFO: Packet analysis {"connection_id":174297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:27:53] local.INFO: Extracted packet for processing {"connection_id":174297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07810"} 
[2026-09-07 00:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:27: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-07 00:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788720740000,"timestamp_ms":1788720740000,"timestamp_seconds":1788720740,"priority":1,"record_length":96,"hex_timestamp":"000001a0781076a0"} 
[2026-09-07 00:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:27: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-07 00:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:27: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-07 00:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:27: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-07 00:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912432384001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:27:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912432384001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":174297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:27:53] local.INFO: GPS data processed {"connection_id":174297,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:27:53] local.INFO: Acknowledgment sent {"connection_id":174297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:28:24] local.INFO: TCP Data received {"connection_id":174297,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:24] local.INFO: Processing buffer {"connection_id":174297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:24] local.INFO: Packet analysis {"connection_id":174297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:28:24] local.INFO: Extracted packet for processing {"connection_id":174297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:28:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:28:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:28: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-07 00:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:28: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-07 00:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:28: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-07 00:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:28:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":174297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:28:24] local.INFO: GPS data processed {"connection_id":174297,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:28:24] local.INFO: Acknowledgment sent {"connection_id":174297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:28:34] local.INFO: TCP Data received {"connection_id":175625,"ip":"42.106.6.27","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-07 00:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175625,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-07 00:28:34] local.INFO: Processing buffer {"connection_id":175625,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-09-07 00:28:34] local.INFO: IMEI packet received {"connection_id":175625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-07 00:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":175625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:28:46] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:46] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:46] local.INFO: IMEI packet received {"connection_id":172900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":172900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:28:51] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:51] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:28:51] local.INFO: IMEI packet received {"connection_id":172900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":172900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:28:53] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:53] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:28:53] local.INFO: Packet analysis {"connection_id":172900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:28:53] local.INFO: Extracted packet for processing {"connection_id":172900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:28:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:28: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-07 00:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:28: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-07 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:28: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-07 00:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:28: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-07 00:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":172900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:28:53] local.INFO: GPS data processed {"connection_id":172900,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:28:53] local.INFO: Acknowledgment sent {"connection_id":172900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:29:25] local.INFO: TCP Data received {"connection_id":172900,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:25] local.INFO: Processing buffer {"connection_id":172900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:25] local.INFO: Packet analysis {"connection_id":172900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:29:25] local.INFO: Extracted packet for processing {"connection_id":172900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:29:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00: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-07 00:29: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:29: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-07 00: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-07 00: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-07 00:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:29: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-07 00:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":172900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:29:25] local.INFO: GPS data processed {"connection_id":172900,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:29:25] local.INFO: Acknowledgment sent {"connection_id":172900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:29:46] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:46] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:46] local.INFO: IMEI packet received {"connection_id":174298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:29:51] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:51] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:29:51] local.INFO: IMEI packet received {"connection_id":174298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":174298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:29:52] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:52] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:29:52] local.INFO: Packet analysis {"connection_id":174298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:29:52] local.INFO: Extracted packet for processing {"connection_id":174298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:29:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:29: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-07 00:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:29: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-07 00:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:29: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-07 00:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":174298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:29:53] local.INFO: GPS data processed {"connection_id":174298,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:29:53] local.INFO: Acknowledgment sent {"connection_id":174298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:30:26] local.INFO: TCP Data received {"connection_id":174298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:26] local.INFO: Processing buffer {"connection_id":174298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:26] local.INFO: Packet analysis {"connection_id":174298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:26] local.INFO: Extracted packet for processing {"connection_id":174298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30: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-07 00:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:30: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-07 00:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:30: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-07 00:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30: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-07 00:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:30:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":174298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:30:26] local.INFO: GPS data processed {"connection_id":174298,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:30:26] local.INFO: Acknowledgment sent {"connection_id":174298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:30:49] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:49] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:49] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:30:51] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:51] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:30:51] local.INFO: IMEI packet received {"connection_id":172902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":172902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:30:52] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:52] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:52] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:52] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00: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-07 00:30: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:30: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-07 00: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-07 00: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-07 00:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30: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-07 00:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:30:52] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:30:52] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:30:57] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:57] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:30:57] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:57] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:30:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00: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-07 00:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00: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-07 00: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-07 00:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:30:57] 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-07 00:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:30:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:30:57] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:30:57] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:31:29] local.INFO: TCP Data received {"connection_id":172902,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:29] local.INFO: Processing buffer {"connection_id":172902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:29] local.INFO: Packet analysis {"connection_id":172902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:31:29] local.INFO: Extracted packet for processing {"connection_id":172902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:31:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:31: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-07 00:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31: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-07 00:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:31: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-07 00:31: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-07 00:31: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-07 00:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:31:29] 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-07 00:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:31:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":172902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:31:29] local.INFO: GPS data processed {"connection_id":172902,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:31:29] local.INFO: Acknowledgment sent {"connection_id":172902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:31:46] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:46] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:46] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:31:52] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:52] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:31:52] local.INFO: IMEI packet received {"connection_id":174299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:31:54] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:54] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:31:54] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:31:54] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:31:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:31: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-07 00:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00: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-07 00:31: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:31: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-07 00: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-07 00: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-07 00:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:31:54] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:31:54] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:32:26] local.INFO: TCP Data received {"connection_id":174299,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:26] local.INFO: Processing buffer {"connection_id":174299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:26] local.INFO: Packet analysis {"connection_id":174299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:32:26] local.INFO: Extracted packet for processing {"connection_id":174299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:32: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-07 00:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32: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-07 00:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:32: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-07 00:32: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-07 00:32: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-07 00:32: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-07 00:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:32: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-07 00:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:32:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":174299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:32:26] local.INFO: GPS data processed {"connection_id":174299,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:32:26] local.INFO: Acknowledgment sent {"connection_id":174299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:32:46] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:46] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:46] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:32:52] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:52] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:32:52] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:32:54] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:54] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078150e68012d34cbc006aa45580000011e27..."} 
[2026-09-07 00:32:54] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:32:54] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07815"} 
[2026-09-07 00:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912509440001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:32: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-07 00:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788721041000,"timestamp_ms":1788721041000,"timestamp_seconds":1788721041,"priority":1,"record_length":96,"hex_timestamp":"000001a078150e68"} 
[2026-09-07 00: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-07 00:32: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:32: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-07 00: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-07 00: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-07 00:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912509440001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912509440001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912509440001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:32:54] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:32:54] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:33:12] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:12] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:12] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:33:25] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:25] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:25] local.INFO: Packet analysis {"connection_id":173131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:33:25] local.INFO: Extracted packet for processing {"connection_id":173131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:33:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:33:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:33: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:33: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-07 00: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-07 00: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-07 00:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:33: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-07 00:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:33:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":173131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:33:25] local.INFO: GPS data processed {"connection_id":173131,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:33:25] local.INFO: Acknowledgment sent {"connection_id":173131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:33:46] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:46] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:46] local.INFO: IMEI packet received {"connection_id":172903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":172903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:33:48] local.INFO: TCP Data received {"connection_id":175627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:48] local.INFO: Processing buffer {"connection_id":175627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:33:48] local.INFO: IMEI packet received {"connection_id":175627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":175627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:33:51] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:51] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:33:51] local.INFO: IMEI packet received {"connection_id":172903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":172903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:33:52] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:52] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:33:52] local.INFO: Packet analysis {"connection_id":172903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:33:52] local.INFO: Extracted packet for processing {"connection_id":172903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:33:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:33: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-07 00:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:33: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-07 00:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":172903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:33:52] local.INFO: GPS data processed {"connection_id":172903,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:33:52] local.INFO: Acknowledgment sent {"connection_id":172903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:34:24] local.INFO: TCP Data received {"connection_id":172903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:24] local.INFO: Processing buffer {"connection_id":172903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:24] local.INFO: Packet analysis {"connection_id":172903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:34:24] local.INFO: Extracted packet for processing {"connection_id":172903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34: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-07 00:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:34: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:34: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-07 00: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-07 00: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-07 00:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:34: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-07 00:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":172903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:34:24] local.INFO: GPS data processed {"connection_id":172903,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:34:24] local.INFO: Acknowledgment sent {"connection_id":172903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:34:47] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:47] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:47] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:34:51] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:51] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:34:51] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:34:52] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:52] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:34:52] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:34:52] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:34: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-07 00:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:34: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:34: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-07 00: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-07 00: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-07 00:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:34: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-07 00:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:34:52] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:34:52] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:35:24] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:24] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:24] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:35:24] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:35:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:35: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:35: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-07 00: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-07 00: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-07 00:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:35: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-07 00:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:35:24] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:35:24] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:35:46] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:46] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:46] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:35:52] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:52] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:35:52] local.INFO: IMEI packet received {"connection_id":172905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":172905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:35:54] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:54] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:35:54] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:35:54] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:35: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-07 00:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:35: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:35: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-07 00: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-07 00: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-07 00:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:35:54] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:35:54] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:36:25] local.INFO: TCP Data received {"connection_id":172905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:25] local.INFO: Processing buffer {"connection_id":172905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:25] local.INFO: Packet analysis {"connection_id":172905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:36:25] local.INFO: Extracted packet for processing {"connection_id":172905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:36:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:36: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-07 00: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-07 00: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-07 00:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:36: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-07 00:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":172905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:36:25] local.INFO: GPS data processed {"connection_id":172905,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:36:25] local.INFO: Acknowledgment sent {"connection_id":172905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:36:46] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:46] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:46] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:36:51] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:51] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:36:51] local.INFO: IMEI packet received {"connection_id":172906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":172906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:36:52] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:52] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:36:52] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:36:52] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:36:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:36: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-07 00:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:36: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:36: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-07 00: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-07 00: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-07 00:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:36: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-07 00:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:36:52] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:36:52] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:37:24] local.INFO: TCP Data received {"connection_id":172906,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:24] local.INFO: Processing buffer {"connection_id":172906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:24] local.INFO: Packet analysis {"connection_id":172906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:37:24] local.INFO: Extracted packet for processing {"connection_id":172906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37: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-07 00:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:37: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:37: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-07 00: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-07 00: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-07 00:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:37: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-07 00:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":172906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:37:24] local.INFO: GPS data processed {"connection_id":172906,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:37:24] local.INFO: Acknowledgment sent {"connection_id":172906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:37:46] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:46] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:46] local.INFO: IMEI packet received {"connection_id":175630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":175630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:37:51] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:51] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:37:51] local.INFO: IMEI packet received {"connection_id":175630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":175630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:37:52] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:52] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07819a630012d34cbc006aa45580000011e23..."} 
[2026-09-07 00:37:52] local.INFO: Packet analysis {"connection_id":175630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:37:52] local.INFO: Extracted packet for processing {"connection_id":175630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07819"} 
[2026-09-07 00:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912586496001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:37: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-07 00:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721342000,"timestamp_ms":1788721342000,"timestamp_seconds":1788721342,"priority":1,"record_length":96,"hex_timestamp":"000001a07819a630"} 
[2026-09-07 00: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-07 00:37: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:37: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-07 00: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-07 00: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-07 00:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:37: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-07 00:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912586496001,"66":25712,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912586496001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912586496001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":175630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:37:52] local.INFO: GPS data processed {"connection_id":175630,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:37:52] local.INFO: Acknowledgment sent {"connection_id":175630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:38:23] local.INFO: TCP Data received {"connection_id":175630,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:23] local.INFO: Processing buffer {"connection_id":175630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:23] local.INFO: Packet analysis {"connection_id":175630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:38:23] local.INFO: Extracted packet for processing {"connection_id":175630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38: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-07 00:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:38:23] 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-07 00:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:38: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-07 00:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":175630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:38:23] local.INFO: GPS data processed {"connection_id":175630,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:38:23] local.INFO: Acknowledgment sent {"connection_id":175630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:38:46] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:46] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:46] local.INFO: IMEI packet received {"connection_id":173135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":173135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:38:51] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:51] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:38:51] local.INFO: IMEI packet received {"connection_id":173135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":173135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:38:52] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:52] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:38:52] local.INFO: Packet analysis {"connection_id":173135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:38:52] local.INFO: Extracted packet for processing {"connection_id":173135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:38: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-07 00:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00: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-07 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:38:52] 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-07 00: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-07 00: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-07 00:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:38: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-07 00:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":173135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:38:52] local.INFO: GPS data processed {"connection_id":173135,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:38:52] local.INFO: Acknowledgment sent {"connection_id":173135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:39:03] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:39:03] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:39:03] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:39:26] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:26] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:26] local.INFO: Packet analysis {"connection_id":173135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:39:26] local.INFO: Extracted packet for processing {"connection_id":173135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39: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-07 00:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:39: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-07 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:39: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-07 00: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-07 00: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-07 00:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:39:26] 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-07 00:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":173135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:39:26] local.INFO: GPS data processed {"connection_id":173135,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:39:26] local.INFO: Acknowledgment sent {"connection_id":173135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:39:46] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:46] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:46] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:39:51] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:51] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:39:51] local.INFO: IMEI packet received {"connection_id":172907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":172907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:39:52] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:52] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:39:52] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:39:52] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:39: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-07 00:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:39: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-07 00:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:39:52] 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-07 00: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-07 00: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-07 00:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:39: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-07 00:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:39:52] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:39:52] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:40:24] local.INFO: TCP Data received {"connection_id":172907,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:24] local.INFO: Processing buffer {"connection_id":172907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:24] local.INFO: Packet analysis {"connection_id":172907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:40:24] local.INFO: Extracted packet for processing {"connection_id":172907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40: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-07 00:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:40: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-07 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:40: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-07 00: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-07 00: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-07 00:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:40: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-07 00:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":172907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:40:24] local.INFO: GPS data processed {"connection_id":172907,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:40:24] local.INFO: Acknowledgment sent {"connection_id":172907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:40:46] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:46] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:46] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:40:52] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:52] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:40:52] local.INFO: IMEI packet received {"connection_id":172908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":172908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:40:53] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:53] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:40:53] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:40:53] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:40: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-07 00:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:40: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-07 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:40: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-07 00: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-07 00: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-07 00:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:40: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-07 00:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:40:53] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:40:53] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:41:26] local.INFO: TCP Data received {"connection_id":172908,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:26] local.INFO: Processing buffer {"connection_id":172908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:26] local.INFO: Packet analysis {"connection_id":172908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:41:26] local.INFO: Extracted packet for processing {"connection_id":172908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 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-07 00:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:41:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 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-07 00:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 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-07 00:41: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-07 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":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:41: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-07 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-07 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-07 00:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:41:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":172908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:41:26] local.INFO: GPS data processed {"connection_id":172908,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:41:26] local.INFO: Acknowledgment sent {"connection_id":172908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:41:46] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:46] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:46] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:41:51] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:51] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:41:51] local.INFO: IMEI packet received {"connection_id":174301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":174301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:41:53] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:53] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:41:53] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:41:53] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:41:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:41: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-07 00:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:41: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-07 00:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:41: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-07 00:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:41: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-07 00:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:41:53] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:41:53] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:42:25] local.INFO: TCP Data received {"connection_id":174301,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:25] local.INFO: Processing buffer {"connection_id":174301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:25] local.INFO: Packet analysis {"connection_id":174301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:42:25] local.INFO: Extracted packet for processing {"connection_id":174301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:42:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:42: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-07 00: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":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:42: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-07 00: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-07 00: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-07 00:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:42: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-07 00:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:42:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":174301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:42:25] local.INFO: GPS data processed {"connection_id":174301,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:42:25] local.INFO: Acknowledgment sent {"connection_id":174301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:42:46] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:46] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:46] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:42:51] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:51] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:42:51] local.INFO: IMEI packet received {"connection_id":172909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":172909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:42:52] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:52] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0781e3df8012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:42:52] local.INFO: Packet analysis {"connection_id":172909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:42:52] local.INFO: Extracted packet for processing {"connection_id":172909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0781e"} 
[2026-09-07 00:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912663552001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:42:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:42: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-07 00:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721643000,"timestamp_ms":1788721643000,"timestamp_seconds":1788721643,"priority":1,"record_length":96,"hex_timestamp":"000001a0781e3df8"} 
[2026-09-07 00: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-07 00:42: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-07 00: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 00:42:52] 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-07 00: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-07 00: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-07 00:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:42: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-07 00:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912663552001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912663552001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912663552001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":172909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:42:52] local.INFO: GPS data processed {"connection_id":172909,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:42:52] local.INFO: Acknowledgment sent {"connection_id":172909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:43:23] local.INFO: TCP Data received {"connection_id":172909,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:23] local.INFO: Processing buffer {"connection_id":172909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:23] local.INFO: Packet analysis {"connection_id":172909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:43:23] local.INFO: Extracted packet for processing {"connection_id":172909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:43:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00: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-07 00: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-07 00: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-07 00:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:43: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-07 00:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":172909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:43:23] local.INFO: GPS data processed {"connection_id":172909,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:43:23] local.INFO: Acknowledgment sent {"connection_id":172909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:43:46] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:46] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:46] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:43:51] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:51] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:43:51] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:43:53] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:53] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:43:53] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:43:53] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:43: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-07 00:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:43: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:43: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-07 00: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-07 00: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-07 00:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:43: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-07 00:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:43:53] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:43:53] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:44:24] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:24] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:24] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:44:24] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:44:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44: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-07 00:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:44: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-07 00: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:44: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-07 00: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-07 00: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-07 00:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:44: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-07 00:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:44:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:44:24] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:44:24] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:44:46] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:46] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:46] local.INFO: IMEI packet received {"connection_id":175632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":175632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:44:51] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:51] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:44:51] local.INFO: IMEI packet received {"connection_id":175632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":175632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:44:52] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:52] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:44:52] local.INFO: Packet analysis {"connection_id":175632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:44:52] local.INFO: Extracted packet for processing {"connection_id":175632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:44: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-07 00:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:44: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:44: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-07 00:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":175632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:44:52] local.INFO: GPS data processed {"connection_id":175632,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:44:52] local.INFO: Acknowledgment sent {"connection_id":175632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:45:13] local.INFO: TCP Data received {"connection_id":172910,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:13] local.INFO: Processing buffer {"connection_id":172910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:13] local.INFO: IMEI packet received {"connection_id":172910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":172910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:45:23] local.INFO: TCP Data received {"connection_id":175632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:23] local.INFO: Processing buffer {"connection_id":175632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:23] local.INFO: Packet analysis {"connection_id":175632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:45:23] local.INFO: Extracted packet for processing {"connection_id":175632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45: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-07 00:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:45: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-07 00: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-07 00: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-07 00:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:45:23] 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-07 00:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":175632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:45:23] local.INFO: GPS data processed {"connection_id":175632,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:45:23] local.INFO: Acknowledgment sent {"connection_id":175632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:45:46] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:46] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:46] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:45:51] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:51] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:45:51] local.INFO: IMEI packet received {"connection_id":175633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":175633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:45:52] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:52] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:45:52] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:45:52] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:45: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-07 00:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:45: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-07 00:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:45:52] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:45:52] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:45:53] local.INFO: TCP Data received {"connection_id":173139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:53] local.INFO: Processing buffer {"connection_id":173139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:45:53] local.INFO: IMEI packet received {"connection_id":173139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":173139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:46:24] local.INFO: TCP Data received {"connection_id":175633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:24] local.INFO: Processing buffer {"connection_id":175633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:24] local.INFO: Packet analysis {"connection_id":175633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:46:24] local.INFO: Extracted packet for processing {"connection_id":175633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:46:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46: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-07 00:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00: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-07 00:46: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:46: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-07 00: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-07 00: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-07 00:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:46: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-07 00:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:46:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":175633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:46:24] local.INFO: GPS data processed {"connection_id":175633,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:46:24] local.INFO: Acknowledgment sent {"connection_id":175633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:46:46] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:46] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:46] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:46:51] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:51] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:46:51] local.INFO: IMEI packet received {"connection_id":175634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":175634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:46:53] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:53] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:46:53] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:46:53] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:46: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-07 00:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:46: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-07 00:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:46: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-07 00:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:46: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-07 00:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:46:53] 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-07 00:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:46:53] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:46:53] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:47:24] local.INFO: TCP Data received {"connection_id":175634,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:24] local.INFO: Processing buffer {"connection_id":175634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:24] local.INFO: Packet analysis {"connection_id":175634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:47:24] local.INFO: Extracted packet for processing {"connection_id":175634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:47: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-07 00:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47: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-07 00:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:47: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-07 00:47: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-07 00:47: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-07 00:47: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-07 00:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:47: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-07 00:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":175634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:47:24] local.INFO: GPS data processed {"connection_id":175634,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:47:24] local.INFO: Acknowledgment sent {"connection_id":175634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:47:46] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:46] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:46] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:47:51] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:51] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:47:51] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:47:53] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:53] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07822d5c0012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:47:53] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:47:53] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07822"} 
[2026-09-07 00:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912740608001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:47: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-07 00:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788721944000,"timestamp_ms":1788721944000,"timestamp_seconds":1788721944,"priority":1,"record_length":96,"hex_timestamp":"000001a07822d5c0"} 
[2026-09-07 00:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:47: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-07 00:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:47: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-07 00:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912740608001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912740608001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912740608001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:47:53] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:47:53] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:48:24] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:24] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:24] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:48:24] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48: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-07 00:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:48: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:48: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-07 00: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-07 00: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-07 00:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:48: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-07 00:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:48:24] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:48:24] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:48:46] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:46] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:46] local.INFO: IMEI packet received {"connection_id":172912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":172912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:48:51] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:51] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:48:51] local.INFO: IMEI packet received {"connection_id":172912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":172912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:48:52] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:52] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:48:52] local.INFO: Packet analysis {"connection_id":172912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:48:52] local.INFO: Extracted packet for processing {"connection_id":172912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:48: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-07 00:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:48: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-07 00:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:48: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-07 00: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-07 00: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-07 00:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:48: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-07 00:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":172912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:48:52] local.INFO: GPS data processed {"connection_id":172912,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:48:52] local.INFO: Acknowledgment sent {"connection_id":172912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:49:24] local.INFO: TCP Data received {"connection_id":172912,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:24] local.INFO: Processing buffer {"connection_id":172912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:24] local.INFO: Packet analysis {"connection_id":172912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:49:24] local.INFO: Extracted packet for processing {"connection_id":172912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49: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-07 00:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:49: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:49: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-07 00: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-07 00: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-07 00:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:49: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-07 00:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":172912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:49:24] local.INFO: GPS data processed {"connection_id":172912,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:49:24] local.INFO: Acknowledgment sent {"connection_id":172912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:49:46] local.INFO: TCP Data received {"connection_id":173142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:46] local.INFO: Processing buffer {"connection_id":173142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:46] local.INFO: IMEI packet received {"connection_id":173142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:49:51] local.INFO: TCP Data received {"connection_id":173142,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:51] local.INFO: Processing buffer {"connection_id":173142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:49:51] local.INFO: IMEI packet received {"connection_id":173142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":173142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:49:52] local.INFO: TCP Data received {"connection_id":173142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:52] local.INFO: Processing buffer {"connection_id":173142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:49:52] local.INFO: Packet analysis {"connection_id":173142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:49:52] local.INFO: Extracted packet for processing {"connection_id":173142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:49: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-07 00:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:49: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:49: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-07 00: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-07 00: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-07 00:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:49: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-07 00:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":173142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:49:52] local.INFO: GPS data processed {"connection_id":173142,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:49:52] local.INFO: Acknowledgment sent {"connection_id":173142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:50:24] local.INFO: TCP Data received {"connection_id":173142,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:24] local.INFO: Processing buffer {"connection_id":173142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:24] local.INFO: Packet analysis {"connection_id":173142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:50:24] local.INFO: Extracted packet for processing {"connection_id":173142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:50:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50: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-07 00:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:50: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-07 00: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:50: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-07 00: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-07 00: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-07 00:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:50: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-07 00:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":173142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:50:24] local.INFO: GPS data processed {"connection_id":173142,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:50:24] local.INFO: Acknowledgment sent {"connection_id":173142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:50:46] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:46] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:46] local.INFO: IMEI packet received {"connection_id":174306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":174306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:50:51] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:51] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:50:51] local.INFO: IMEI packet received {"connection_id":174306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":174306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:50:52] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:52] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:50:52] local.INFO: Packet analysis {"connection_id":174306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:50:52] local.INFO: Extracted packet for processing {"connection_id":174306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:50: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-07 00:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00:50: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-07 00: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-07 00: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-07 00: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-07 00: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-07 00:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00: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-07 00:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":174306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:50:52] local.INFO: GPS data processed {"connection_id":174306,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:50:52] local.INFO: Acknowledgment sent {"connection_id":174306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:51:07] local.INFO: TCP Data received {"connection_id":173144,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:51:07] local.INFO: Processing buffer {"connection_id":173144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:51:07] local.INFO: IMEI packet received {"connection_id":173144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":173144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:51:23] local.INFO: TCP Data received {"connection_id":174306,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:23] local.INFO: Processing buffer {"connection_id":174306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:23] local.INFO: Packet analysis {"connection_id":174306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:51:23] local.INFO: Extracted packet for processing {"connection_id":174306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:51:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:51: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-07 00:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:51: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-07 00:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:51: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-07 00:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":174306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:51:23] local.INFO: GPS data processed {"connection_id":174306,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:51:23] local.INFO: Acknowledgment sent {"connection_id":174306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:51:46] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:46] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:46] local.INFO: IMEI packet received {"connection_id":174307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":174307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:51:51] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:51] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:51:51] local.INFO: IMEI packet received {"connection_id":174307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":174307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:51:52] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:52] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:51:52] local.INFO: Packet analysis {"connection_id":174307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:51:52] local.INFO: Extracted packet for processing {"connection_id":174307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:51:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00: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-07 00: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-07 00: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:51: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-07 00: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-07 00: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-07 00:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:51: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-07 00:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":174307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:51:52] local.INFO: GPS data processed {"connection_id":174307,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:51:52] local.INFO: Acknowledgment sent {"connection_id":174307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:52:24] local.INFO: TCP Data received {"connection_id":174307,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:24] local.INFO: Processing buffer {"connection_id":174307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:24] local.INFO: Packet analysis {"connection_id":174307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:52:24] local.INFO: Extracted packet for processing {"connection_id":174307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52: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-07 00:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:52: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-07 00:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:52: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-07 00:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:52: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-07 00:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":174307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:52:24] local.INFO: GPS data processed {"connection_id":174307,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:52:24] local.INFO: Acknowledgment sent {"connection_id":174307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:52:51] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:51] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:51] local.INFO: IMEI packet received {"connection_id":173145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:52:56] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:56] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:52:56] local.INFO: IMEI packet received {"connection_id":173145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":173145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:52:57] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:57] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:52:57] local.INFO: Packet analysis {"connection_id":173145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:52:57] local.INFO: Extracted packet for processing {"connection_id":173145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:52: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-07 00:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:52: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-07 00:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:52:57] 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-07 00:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:52:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":173145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:52:57] local.INFO: GPS data processed {"connection_id":173145,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:52:57] local.INFO: Acknowledgment sent {"connection_id":173145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:53:02] local.INFO: TCP Data received {"connection_id":173145,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:02] local.INFO: Processing buffer {"connection_id":173145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078276d88012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:02] local.INFO: Packet analysis {"connection_id":173145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:53:02] local.INFO: Extracted packet for processing {"connection_id":173145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07827"} 
[2026-09-07 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912817664001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788722245000,"timestamp_ms":1788722245000,"timestamp_seconds":1788722245,"priority":1,"record_length":96,"hex_timestamp":"000001a078276d88"} 
[2026-09-07 00:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 00:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:53:02] 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-07 00:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912817664001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912817664001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912817664001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":173145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:53:02] local.INFO: GPS data processed {"connection_id":173145,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:53:02] local.INFO: Acknowledgment sent {"connection_id":173145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:53:46] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:46] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:46] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:53:51] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:51] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:53:51] local.INFO: IMEI packet received {"connection_id":172915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":172915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:53:52] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:52] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:53:52] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:53:52] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:53: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-07 00:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00: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-07 00:53: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-07 00:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:53: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-07 00: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-07 00: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-07 00:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:53: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-07 00:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:53:52] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:53:52] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:54:24] local.INFO: TCP Data received {"connection_id":172915,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:24] local.INFO: Processing buffer {"connection_id":172915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:24] local.INFO: Packet analysis {"connection_id":172915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:54:24] local.INFO: Extracted packet for processing {"connection_id":172915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:54:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54: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-07 00:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00: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-07 00:54: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-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:54: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-07 00: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-07 00: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-07 00:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:54: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-07 00:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":172915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:54:24] local.INFO: GPS data processed {"connection_id":172915,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:54:24] local.INFO: Acknowledgment sent {"connection_id":172915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:54:46] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:46] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:46] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:54:51] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:51] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:54:51] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:54:53] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:53] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:54:53] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:54:53] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:54: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-07 00:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:54: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-07 00:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:54: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-07 00:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:54: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-07 00:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:54:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:54:53] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:54:53] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:55:24] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:24] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:24] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:55:24] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:55:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00: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-07 00:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00: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-07 00:55: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-07 00: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:55: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-07 00: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-07 00: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-07 00:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:55:24] 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-07 00:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:55:24] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:55:24] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:55:51] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:51] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:51] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:55:58] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:58] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:55:58] local.INFO: IMEI packet received {"connection_id":174308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":174308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:55:59] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:59] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:55:59] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:55:59] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:55: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-07 00:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:55:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:55: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:55: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-07 00:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:55:59] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:55:59] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:56:37] local.INFO: TCP Data received {"connection_id":174308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:37] local.INFO: Processing buffer {"connection_id":174308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:37] local.INFO: Packet analysis {"connection_id":174308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:37] local.INFO: Extracted packet for processing {"connection_id":174308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 00:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 00:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":174308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:56:37] local.INFO: GPS data processed {"connection_id":174308,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:56:37] local.INFO: Acknowledgment sent {"connection_id":174308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:56:47] local.INFO: TCP Data received {"connection_id":175637,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:56:47] local.INFO: Processing buffer {"connection_id":175637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 00:56:47] local.INFO: IMEI packet received {"connection_id":175637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 00:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":175637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:56:50] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:50] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:50] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:56:51] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:51] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:56:51] local.INFO: IMEI packet received {"connection_id":175636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":175636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:56:53] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:53] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:53] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:53] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56: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-07 00:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00: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-07 00:56: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-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:56: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-07 00: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-07 00: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-07 00:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56: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-07 00:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:56:53] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:56:53] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:56:58] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:58] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:56:58] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:58] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:56: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-07 00:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 00:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:56: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:56: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-07 00:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:56:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:56:58] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:56:58] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:57:30] local.INFO: TCP Data received {"connection_id":175636,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:30] local.INFO: Processing buffer {"connection_id":175636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:30] local.INFO: Packet analysis {"connection_id":175636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:57:30] local.INFO: Extracted packet for processing {"connection_id":175636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:57: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-07 00:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57: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-07 00:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00:57: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00:57: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-07 00:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:57:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":175636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:57:30] local.INFO: GPS data processed {"connection_id":175636,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:57:30] local.INFO: Acknowledgment sent {"connection_id":175636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:57:46] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:46] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:46] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:57:51] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:51] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:57:51] local.INFO: IMEI packet received {"connection_id":172917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":172917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:57:53] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:53] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0782c0550012d34cbc006aa45580000011e22..."} 
[2026-09-07 00:57:53] local.INFO: Packet analysis {"connection_id":172917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:57:53] local.INFO: Extracted packet for processing {"connection_id":172917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0782c"} 
[2026-09-07 00:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912894720001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 00:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:57: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-07 00:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788722546000,"timestamp_ms":1788722546000,"timestamp_seconds":1788722546,"priority":1,"record_length":96,"hex_timestamp":"000001a0782c0550"} 
[2026-09-07 00: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-07 00:57: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-07 00: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 00:57: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-07 00: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-07 00: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-07 00:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912894720001,"66":25702,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 00:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912894720001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912894720001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":172917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:57:53] local.INFO: GPS data processed {"connection_id":172917,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:57:53] local.INFO: Acknowledgment sent {"connection_id":172917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:58:24] local.INFO: TCP Data received {"connection_id":172917,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:24] local.INFO: Processing buffer {"connection_id":172917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:24] local.INFO: Packet analysis {"connection_id":172917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:58:24] local.INFO: Extracted packet for processing {"connection_id":172917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58: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-07 00:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 00: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-07 00:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:58: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-07 00: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-07 00: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-07 00:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:58: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-07 00:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 00:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 00:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":172917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:58:24] local.INFO: GPS data processed {"connection_id":172917,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:58:24] local.INFO: Acknowledgment sent {"connection_id":172917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:58:46] local.INFO: TCP Data received {"connection_id":175638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:46] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:46] local.INFO: IMEI packet received {"connection_id":175638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":175638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:58:52] local.INFO: TCP Data received {"connection_id":175638,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:52] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:58:52] local.INFO: IMEI packet received {"connection_id":175638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":175638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:58:53] local.INFO: TCP Data received {"connection_id":175638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:53] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:58:53] local.INFO: Packet analysis {"connection_id":175638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:58:53] local.INFO: Extracted packet for processing {"connection_id":175638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00:58: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-07 00:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:58: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-07 00:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 00:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 00:58: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-07 00:58: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-07 00:58: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-07 00:58: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-07 00:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 00:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:58: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-07 00:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 00:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 00:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":175638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:58:53] local.INFO: GPS data processed {"connection_id":175638,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:58:53] local.INFO: Acknowledgment sent {"connection_id":175638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:59:24] local.INFO: TCP Data received {"connection_id":175638,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:24] local.INFO: Processing buffer {"connection_id":175638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:24] local.INFO: Packet analysis {"connection_id":175638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:59:24] local.INFO: Extracted packet for processing {"connection_id":175638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59: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-07 00:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 00: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-07 00:59: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-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:59: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-07 00: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-07 00: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-07 00:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:59: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-07 00:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 00:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 00:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":175638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:59:24] local.INFO: GPS data processed {"connection_id":175638,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:59:24] local.INFO: Acknowledgment sent {"connection_id":175638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 00:59:51] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:51] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:51] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 00:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 00:59:56] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:56] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 00:59:56] local.INFO: IMEI packet received {"connection_id":174309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 00:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":174309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 00:59:57] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:57] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 00:59:57] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:59:57] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 00: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-07 00:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 00:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 00:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 00: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-07 00:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 00: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 00:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 00: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-07 00: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-07 00:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 00:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 00:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 00:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 00:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 00:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 00:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 00:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 00:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 00:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 00:59:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 00:59:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 00:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 00:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 00:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 00:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 00:59:57] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-07 00:59:57] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:00:02] local.INFO: TCP Data received {"connection_id":174309,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:02] local.INFO: Processing buffer {"connection_id":174309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:02] local.INFO: Packet analysis {"connection_id":174309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:00:02] local.INFO: Extracted packet for processing {"connection_id":174309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:00:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":174309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:00:02] local.INFO: GPS data processed {"connection_id":174309,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:00:02] local.INFO: Acknowledgment sent {"connection_id":174309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:00:46] local.INFO: TCP Data received {"connection_id":172920,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:46] local.INFO: Processing buffer {"connection_id":172920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:46] local.INFO: IMEI packet received {"connection_id":172920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":172920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:00:51] local.INFO: TCP Data received {"connection_id":172920,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:51] local.INFO: Processing buffer {"connection_id":172920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:00:51] local.INFO: IMEI packet received {"connection_id":172920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":172920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:00:52] local.INFO: TCP Data received {"connection_id":172920,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:52] local.INFO: Processing buffer {"connection_id":172920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:00:52] local.INFO: Packet analysis {"connection_id":172920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:00:52] local.INFO: Extracted packet for processing {"connection_id":172920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:00: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-07 01:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01: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-07 01:00: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":172920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:00:52] local.INFO: GPS data processed {"connection_id":172920,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:00:52] local.INFO: Acknowledgment sent {"connection_id":172920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:01:24] local.INFO: TCP Data received {"connection_id":172920,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:24] local.INFO: Processing buffer {"connection_id":172920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:24] local.INFO: Packet analysis {"connection_id":172920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:01:24] local.INFO: Extracted packet for processing {"connection_id":172920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01: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-07 01:01: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:01: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-07 01: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-07 01: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-07 01:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":172920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:01:24] local.INFO: GPS data processed {"connection_id":172920,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:01:24] local.INFO: Acknowledgment sent {"connection_id":172920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:01:46] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:46] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:46] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:01:51] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:51] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:01:51] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:01:52] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:52] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:01:52] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:01:52] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:01: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-07 01:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01: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-07 01:01: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:01: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-07 01: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-07 01: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-07 01:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:01: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-07 01:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:01:52] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:01:52] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:02:03] local.INFO: TCP Data received {"connection_id":172921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:03] local.INFO: Processing buffer {"connection_id":172921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:03] local.INFO: IMEI packet received {"connection_id":172921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":172921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:02:24] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:24] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:24] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:02:24] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02: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-07 01:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01: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-07 01:02: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:02: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-07 01: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-07 01: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-07 01:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:02: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-07 01:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:02:24] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:02:24] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:02:46] local.INFO: TCP Data received {"connection_id":175640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:46] local.INFO: Processing buffer {"connection_id":175640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:46] local.INFO: IMEI packet received {"connection_id":175640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":175640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:02:48] local.INFO: TCP Data received {"connection_id":175641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:48] local.INFO: Processing buffer {"connection_id":175641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:02:48] local.INFO: IMEI packet received {"connection_id":175641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:02:51] local.INFO: TCP Data received {"connection_id":175640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:51] local.INFO: Processing buffer {"connection_id":175640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:02:51] local.INFO: IMEI packet received {"connection_id":175640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:02:53] local.INFO: TCP Data received {"connection_id":175640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:53] local.INFO: Processing buffer {"connection_id":175640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078309d18012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:02:53] local.INFO: Packet analysis {"connection_id":175640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:02:53] local.INFO: Extracted packet for processing {"connection_id":175640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07830"} 
[2026-09-07 01:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457912971776001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:02: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-07 01:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788722847000,"timestamp_ms":1788722847000,"timestamp_seconds":1788722847,"priority":1,"record_length":96,"hex_timestamp":"000001a078309d18"} 
[2026-09-07 01: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-07 01:02: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-07 01:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:02: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-07 01: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-07 01: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-07 01:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457912971776001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457912971776001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:02:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457912971776001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":175640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:02:53] local.INFO: GPS data processed {"connection_id":175640,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:02:53] local.INFO: Acknowledgment sent {"connection_id":175640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:03:25] local.INFO: TCP Data received {"connection_id":175640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:25] local.INFO: Processing buffer {"connection_id":175640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:25] local.INFO: Packet analysis {"connection_id":175640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:03:25] local.INFO: Extracted packet for processing {"connection_id":175640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03: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-07 01:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:03: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-07 01:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:03: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-07 01:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:03: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-07 01:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":175640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:03:25] local.INFO: GPS data processed {"connection_id":175640,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:03:25] local.INFO: Acknowledgment sent {"connection_id":175640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:03:46] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:46] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:46] local.INFO: IMEI packet received {"connection_id":172922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":172922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:03:51] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:51] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:03:51] local.INFO: IMEI packet received {"connection_id":172922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":172922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:03:52] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:52] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:03:52] local.INFO: Packet analysis {"connection_id":172922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:03:52] local.INFO: Extracted packet for processing {"connection_id":172922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:03: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-07 01:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:03: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:03: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-07 01: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-07 01: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-07 01:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":172922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:03:52] local.INFO: GPS data processed {"connection_id":172922,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:03:52] local.INFO: Acknowledgment sent {"connection_id":172922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:04:24] local.INFO: TCP Data received {"connection_id":172922,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:24] local.INFO: Processing buffer {"connection_id":172922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:24] local.INFO: Packet analysis {"connection_id":172922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:04:24] local.INFO: Extracted packet for processing {"connection_id":172922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:04:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:04: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:04: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-07 01: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-07 01: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-07 01:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:04: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-07 01:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:04:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:04:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":172922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:04:24] local.INFO: GPS data processed {"connection_id":172922,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:04:24] local.INFO: Acknowledgment sent {"connection_id":172922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:04:46] local.INFO: TCP Data received {"connection_id":175643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:46] local.INFO: Processing buffer {"connection_id":175643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:46] local.INFO: IMEI packet received {"connection_id":175643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":175643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:04:51] local.INFO: TCP Data received {"connection_id":175643,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:51] local.INFO: Processing buffer {"connection_id":175643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:04:51] local.INFO: IMEI packet received {"connection_id":175643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":175643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:04:52] local.INFO: TCP Data received {"connection_id":175643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:52] local.INFO: Processing buffer {"connection_id":175643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:04:52] local.INFO: Packet analysis {"connection_id":175643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:04:52] local.INFO: Extracted packet for processing {"connection_id":175643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:04: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-07 01:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:04: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:04: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-07 01: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-07 01: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-07 01:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:04: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-07 01:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":175643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:04:53] local.INFO: GPS data processed {"connection_id":175643,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:04:53] local.INFO: Acknowledgment sent {"connection_id":175643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:05:24] local.INFO: TCP Data received {"connection_id":175643,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:24] local.INFO: Processing buffer {"connection_id":175643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:24] local.INFO: Packet analysis {"connection_id":175643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:05:24] local.INFO: Extracted packet for processing {"connection_id":175643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05: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-07 01:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:05: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:05: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-07 01: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-07 01: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-07 01:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:05: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-07 01:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":175643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:05:24] local.INFO: GPS data processed {"connection_id":175643,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:05:24] local.INFO: Acknowledgment sent {"connection_id":175643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:05:46] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:46] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:46] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:05:51] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:51] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:05:51] local.INFO: IMEI packet received {"connection_id":174310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":174310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:05:53] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:53] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:05:53] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:05:53] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:05:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:05: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-07 01:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:05: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-07 01:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:05: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-07 01:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:05:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:05:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:05:53] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:05:53] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:06:24] local.INFO: TCP Data received {"connection_id":174310,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:24] local.INFO: Processing buffer {"connection_id":174310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:24] local.INFO: Packet analysis {"connection_id":174310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:06:24] local.INFO: Extracted packet for processing {"connection_id":174310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:06: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-07 01:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:06: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:06: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-07 01: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-07 01: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-07 01:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:06: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-07 01:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":174310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:06:24] local.INFO: GPS data processed {"connection_id":174310,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:06:24] local.INFO: Acknowledgment sent {"connection_id":174310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:06:46] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:46] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:46] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:06:52] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:52] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:06:52] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:06:53] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:53] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:06:53] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:06:53] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:06: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:06: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-07 01: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-07 01: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-07 01:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:06:53] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:06:53] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:07:25] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:25] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:25] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:07:25] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:07: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-07 01: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-07 01: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-07 01:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:07: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-07 01:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:07:25] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:07:25] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:07:46] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:46] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:46] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:07:52] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:52] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:07:52] local.INFO: IMEI packet received {"connection_id":174312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":174312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:07:53] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:53] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783534e0012d34cbc006aa45580000011e24..."} 
[2026-09-07 01:07:53] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:07:53] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07835"} 
[2026-09-07 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913048832001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:07: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-07 01:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723148000,"timestamp_ms":1788723148000,"timestamp_seconds":1788723148,"priority":1,"record_length":96,"hex_timestamp":"000001a0783534e0"} 
[2026-09-07 01: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-07 01:07: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:07: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-07 01: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-07 01: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-07 01:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913048832001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913048832001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913048832001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:07:53] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:07:53] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:08:03] local.INFO: TCP Data received {"connection_id":174313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:08:03] local.INFO: Processing buffer {"connection_id":174313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:08:03] local.INFO: IMEI packet received {"connection_id":174313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":174313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:08:24] local.INFO: TCP Data received {"connection_id":174312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:24] local.INFO: Processing buffer {"connection_id":174312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:24] local.INFO: Packet analysis {"connection_id":174312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:08:24] local.INFO: Extracted packet for processing {"connection_id":174312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:08:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:08: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:08: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-07 01: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-07 01: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-07 01:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:08: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-07 01:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:08:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":174312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:08:24] local.INFO: GPS data processed {"connection_id":174312,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:08:24] local.INFO: Acknowledgment sent {"connection_id":174312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:08:46] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:46] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:46] local.INFO: IMEI packet received {"connection_id":173152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":173152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:08:51] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:51] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:08:51] local.INFO: IMEI packet received {"connection_id":173152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":173152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:08:52] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:52] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:08:52] local.INFO: Packet analysis {"connection_id":173152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:08:52] local.INFO: Extracted packet for processing {"connection_id":173152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:08: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-07 01:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:08: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:08: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-07 01: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-07 01: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-07 01:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:08: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-07 01:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":173152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:08:52] local.INFO: GPS data processed {"connection_id":173152,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:08:52] local.INFO: Acknowledgment sent {"connection_id":173152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:09:24] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:24] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:24] local.INFO: Packet analysis {"connection_id":173152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:09:24] local.INFO: Extracted packet for processing {"connection_id":173152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:09:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:09: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:09: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-07 01: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-07 01: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-07 01:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:09: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-07 01:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:09:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":173152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:09:24] local.INFO: GPS data processed {"connection_id":173152,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:09:24] local.INFO: Acknowledgment sent {"connection_id":173152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:09:46] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:46] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:46] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:09:51] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:51] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:09:51] local.INFO: IMEI packet received {"connection_id":174314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":174314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:09:52] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:52] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:09:52] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:09:52] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:09: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-07 01: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-07 01: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-07 01:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:09: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-07 01:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:09:52] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:09:52] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:10:24] local.INFO: TCP Data received {"connection_id":174314,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:24] local.INFO: Processing buffer {"connection_id":174314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:24] local.INFO: Packet analysis {"connection_id":174314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:10:24] local.INFO: Extracted packet for processing {"connection_id":174314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:10: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:10: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-07 01: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-07 01: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-07 01:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:10:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":174314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:10:24] local.INFO: GPS data processed {"connection_id":174314,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:10:24] local.INFO: Acknowledgment sent {"connection_id":174314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:10:46] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:46] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:46] local.INFO: IMEI packet received {"connection_id":174316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":174316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:10:51] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:51] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:10:51] local.INFO: IMEI packet received {"connection_id":174316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":174316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:10:53] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:53] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:10:53] local.INFO: Packet analysis {"connection_id":174316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:10:53] local.INFO: Extracted packet for processing {"connection_id":174316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:10: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-07 01:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:10: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:10: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-07 01: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-07 01: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-07 01:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:10: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-07 01:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":174316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:10:53] local.INFO: GPS data processed {"connection_id":174316,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:10:53] local.INFO: Acknowledgment sent {"connection_id":174316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:11:24] local.INFO: TCP Data received {"connection_id":174316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:24] local.INFO: Processing buffer {"connection_id":174316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:24] local.INFO: Packet analysis {"connection_id":174316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:11:24] local.INFO: Extracted packet for processing {"connection_id":174316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:11: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:11: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-07 01: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-07 01: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-07 01:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:11: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-07 01:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":174316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:11:24] local.INFO: GPS data processed {"connection_id":174316,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:11:24] local.INFO: Acknowledgment sent {"connection_id":174316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:11:46] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:46] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:46] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:11:51] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:51] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:11:51] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:11:53] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:53] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:11:53] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:11:53] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:11: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-07 01:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:11: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:11: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-07 01: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-07 01: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-07 01:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:11: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-07 01:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:11:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:11:53] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:11:53] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:12:25] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:25] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:25] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:12:25] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:12: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:12: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-07 01: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-07 01: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-07 01:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:12: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-07 01:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:12:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:12:25] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:12:25] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:12:46] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:46] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:46] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:12:51] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:51] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:12:51] local.INFO: IMEI packet received {"connection_id":172923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":172923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:12:52] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:52] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07839cca8012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:12:52] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:12:52] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07839"} 
[2026-09-07 01:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:12: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-07 01:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723449000,"timestamp_ms":1788723449000,"timestamp_seconds":1788723449,"priority":1,"record_length":96,"hex_timestamp":"000001a07839cca8"} 
[2026-09-07 01: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-07 01:12: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:12: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-07 01: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-07 01: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-07 01:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:12: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-07 01:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913125888001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913125888001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:12:52] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:12:52] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:13:25] local.INFO: TCP Data received {"connection_id":172923,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:25] local.INFO: Processing buffer {"connection_id":172923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:25] local.INFO: Packet analysis {"connection_id":172923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:13:25] local.INFO: Extracted packet for processing {"connection_id":172923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:13: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-07 01:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:13:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":172923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:13:25] local.INFO: GPS data processed {"connection_id":172923,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:13:25] local.INFO: Acknowledgment sent {"connection_id":172923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:13:46] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:46] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:46] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:13:48] local.INFO: TCP Data received {"connection_id":174319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:13:48] local.INFO: Processing buffer {"connection_id":174319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:13:48] local.INFO: IMEI packet received {"connection_id":174319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":174319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:13:51] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:51] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:13:51] local.INFO: IMEI packet received {"connection_id":175646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":175646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:13:52] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:52] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:13:52] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:13:52] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01:13: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:13: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-07 01: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-07 01: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-07 01:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:13: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-07 01:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:13:52] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:13:52] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:14:24] local.INFO: TCP Data received {"connection_id":175646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:24] local.INFO: Processing buffer {"connection_id":175646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:24] local.INFO: Packet analysis {"connection_id":175646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:14:24] local.INFO: Extracted packet for processing {"connection_id":175646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:14:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14: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-07 01:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:14: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-07 01:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:14: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-07 01:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:14: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-07 01:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:14:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":175646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:14:24] local.INFO: GPS data processed {"connection_id":175646,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:14:24] local.INFO: Acknowledgment sent {"connection_id":175646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:14:46] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:46] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:46] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:14:51] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:51] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:14:51] local.INFO: IMEI packet received {"connection_id":174320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":174320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:14:53] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:53] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:14:53] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:14:53] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:14: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-07 01:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:14: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-07 01: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-07 01: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-07 01:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:14: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-07 01:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:14:53] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:14:53] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:15:24] local.INFO: TCP Data received {"connection_id":174320,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:24] local.INFO: Processing buffer {"connection_id":174320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:24] local.INFO: Packet analysis {"connection_id":174320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:15:24] local.INFO: Extracted packet for processing {"connection_id":174320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:15: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-07 01:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15: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-07 01:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:15: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-07 01:15: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-07 01:15: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-07 01:15: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-07 01:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:15: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-07 01:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":174320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:15:24] local.INFO: GPS data processed {"connection_id":174320,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:15:24] local.INFO: Acknowledgment sent {"connection_id":174320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:15:46] local.INFO: TCP Data received {"connection_id":172924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:46] local.INFO: Processing buffer {"connection_id":172924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:46] local.INFO: IMEI packet received {"connection_id":172924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":172924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:15:51] local.INFO: TCP Data received {"connection_id":172924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:51] local.INFO: Processing buffer {"connection_id":172924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:15:51] local.INFO: IMEI packet received {"connection_id":172924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":172924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:15:52] local.INFO: TCP Data received {"connection_id":172924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:52] local.INFO: Processing buffer {"connection_id":172924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:15:52] local.INFO: Packet analysis {"connection_id":172924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:15:52] local.INFO: Extracted packet for processing {"connection_id":172924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:15: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-07 01:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:15: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-07 01: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-07 01: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-07 01:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:15: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-07 01:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":172924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:15:52] local.INFO: GPS data processed {"connection_id":172924,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:15:52] local.INFO: Acknowledgment sent {"connection_id":172924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:16:24] local.INFO: TCP Data received {"connection_id":172924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:24] local.INFO: Processing buffer {"connection_id":172924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:24] local.INFO: Packet analysis {"connection_id":172924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:16:24] local.INFO: Extracted packet for processing {"connection_id":172924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16: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-07 01:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01:16: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:16: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-07 01: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-07 01: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-07 01:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:16: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-07 01:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:16:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":172924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:16:24] local.INFO: GPS data processed {"connection_id":172924,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:16:24] local.INFO: Acknowledgment sent {"connection_id":172924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:16:46] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:46] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:46] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:16:51] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:51] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:16:51] local.INFO: IMEI packet received {"connection_id":174321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":174321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:16:52] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:52] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:16:52] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:16:52] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:16: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-07 01:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01:16: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:16: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-07 01: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-07 01: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-07 01:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:16: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-07 01:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:16:52] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:16:52] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:17:24] local.INFO: TCP Data received {"connection_id":174321,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:24] local.INFO: Processing buffer {"connection_id":174321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:24] local.INFO: Packet analysis {"connection_id":174321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:17:24] local.INFO: Extracted packet for processing {"connection_id":174321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17: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-07 01:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01:17: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:17: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-07 01: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-07 01: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-07 01:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:17: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-07 01:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":174321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:17:24] local.INFO: GPS data processed {"connection_id":174321,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:17:24] local.INFO: Acknowledgment sent {"connection_id":174321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:17:46] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:46] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:46] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:17:51] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:51] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:17:51] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:17:54] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:54] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0783e6470012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:17:54] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:17:54] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0783e"} 
[2026-09-07 01:17:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913202944001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:17: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-07 01:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788723750000,"timestamp_ms":1788723750000,"timestamp_seconds":1788723750,"priority":1,"record_length":96,"hex_timestamp":"000001a0783e6470"} 
[2026-09-07 01: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-07 01:17: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:17: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-07 01: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-07 01: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-07 01:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913202944001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913202944001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:17:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:17:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913202944001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:17:54] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:17:54] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:18:27] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:27] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:27] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:18:27] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18: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-07 01:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:18: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:18: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-07 01: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-07 01: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-07 01:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:18: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-07 01:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:18:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:18:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:18:27] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:18:27] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:18:46] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:46] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:46] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:18:51] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:51] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:18:51] local.INFO: IMEI packet received {"connection_id":172925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":172925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:18:53] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:53] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:18:53] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:18:53] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:18: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-07 01:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:18: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:18: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-07 01: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-07 01: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-07 01:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:18: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-07 01:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:18:53] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:18:53] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:19:23] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:19:23] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:19:23] local.INFO: IMEI packet received {"connection_id":173156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":173156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:19:24] local.INFO: TCP Data received {"connection_id":172925,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:24] local.INFO: Processing buffer {"connection_id":172925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:24] local.INFO: Packet analysis {"connection_id":172925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:19:24] local.INFO: Extracted packet for processing {"connection_id":172925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19: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-07 01:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:19: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:19: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-07 01: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-07 01: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-07 01:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:19: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-07 01:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:19:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":172925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:19:24] local.INFO: GPS data processed {"connection_id":172925,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:19:24] local.INFO: Acknowledgment sent {"connection_id":172925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:19:46] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:46] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:46] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:19:51] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:51] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:19:51] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:19:53] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:53] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:19:53] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:19:53] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:19: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-07 01:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:19: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:19: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-07 01:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01: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-07 01:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:19: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-07 01:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:19:53] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:19:53] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:20:24] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:24] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:24] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:20:24] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:20: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:20: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-07 01: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-07 01: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-07 01:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:20: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-07 01:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:20:24] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:20:24] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:20:46] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:46] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:46] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:20:51] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:51] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:20:51] local.INFO: IMEI packet received {"connection_id":172926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":172926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:20:52] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:52] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:20:52] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:20:52] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:20: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-07 01:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:20: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:20: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-07 01: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-07 01: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-07 01:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:20: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-07 01:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:20:52] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:20:52] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:21:24] local.INFO: TCP Data received {"connection_id":172926,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:24] local.INFO: Processing buffer {"connection_id":172926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:24] local.INFO: Packet analysis {"connection_id":172926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:21:24] local.INFO: Extracted packet for processing {"connection_id":172926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21: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-07 01:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:21: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:21: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-07 01: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-07 01: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-07 01:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:21: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-07 01:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:21:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":172926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:21:24] local.INFO: GPS data processed {"connection_id":172926,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:21:24] local.INFO: Acknowledgment sent {"connection_id":172926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:21:46] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:46] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:46] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:21:51] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:51] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:21:51] local.INFO: IMEI packet received {"connection_id":175650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":175650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:21:52] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:52] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:21:52] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:21:52] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:21: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-07 01:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:21: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:21: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-07 01: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-07 01: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-07 01:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:21: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-07 01:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:21:52] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:21:52] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:22:24] local.INFO: TCP Data received {"connection_id":175650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:24] local.INFO: Processing buffer {"connection_id":175650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:24] local.INFO: Packet analysis {"connection_id":175650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:22:24] local.INFO: Extracted packet for processing {"connection_id":175650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22: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-07 01:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01: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-07 01:22: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:22: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-07 01: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-07 01: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-07 01:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:22: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-07 01:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":175650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:22:24] local.INFO: GPS data processed {"connection_id":175650,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:22:24] local.INFO: Acknowledgment sent {"connection_id":175650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:22:51] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:51] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:51] local.INFO: IMEI packet received {"connection_id":174322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":174322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:22:56] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:56] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:22:56] local.INFO: IMEI packet received {"connection_id":174322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":174322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:22:57] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:57] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:22:57] local.INFO: Packet analysis {"connection_id":174322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:22:57] local.INFO: Extracted packet for processing {"connection_id":174322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:22:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":174322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:22:57] local.INFO: GPS data processed {"connection_id":174322,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:22:57] local.INFO: Acknowledgment sent {"connection_id":174322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:23:02] local.INFO: TCP Data received {"connection_id":174322,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:02] local.INFO: Processing buffer {"connection_id":174322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07842fc38012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:02] local.INFO: Packet analysis {"connection_id":174322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:23:02] local.INFO: Extracted packet for processing {"connection_id":174322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07842"} 
[2026-09-07 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913280000001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788724051000,"timestamp_ms":1788724051000,"timestamp_seconds":1788724051,"priority":1,"record_length":96,"hex_timestamp":"000001a07842fc38"} 
[2026-09-07 01:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913280000001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913280000001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913280000001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":174322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:23:02] local.INFO: GPS data processed {"connection_id":174322,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:23:02] local.INFO: Acknowledgment sent {"connection_id":174322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:23:46] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:46] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:46] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:23:51] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:51] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:23:51] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:23:52] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:52] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:23:52] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:23:52] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:23: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-07 01:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:23: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-07 01: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-07 01: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-07 01:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:23: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-07 01:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:23:52] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:23:52] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:24:23] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:23] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:23] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:24:23] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:24: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-07 01:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:24: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-07 01:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:24:23] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:24:23] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:24:46] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:46] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:46] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:24:51] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:51] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:24:51] local.INFO: IMEI packet received {"connection_id":174323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":174323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:24:52] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:52] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:24:52] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:24:52] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:24: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-07 01: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-07 01: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-07 01:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:24: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-07 01:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:24:52] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:24:52] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:25:24] local.INFO: TCP Data received {"connection_id":174323,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:24] local.INFO: Processing buffer {"connection_id":174323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:24] local.INFO: Packet analysis {"connection_id":174323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:25:24] local.INFO: Extracted packet for processing {"connection_id":174323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25: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-07 01:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:25: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:25: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-07 01: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-07 01: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-07 01:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:25: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-07 01:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":174323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:25:24] local.INFO: GPS data processed {"connection_id":174323,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:25:24] local.INFO: Acknowledgment sent {"connection_id":174323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:25:46] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:46] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:46] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:25:51] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:51] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:25:51] local.INFO: IMEI packet received {"connection_id":172927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":172927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:25:52] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:52] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:25:52] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:25:52] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:25: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-07 01:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:25: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:25: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-07 01: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-07 01: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-07 01:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:25: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-07 01:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:25:52] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:25:52] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:26:23] local.INFO: TCP Data received {"connection_id":172927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:23] local.INFO: Processing buffer {"connection_id":172927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:23] local.INFO: Packet analysis {"connection_id":172927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:26:23] local.INFO: Extracted packet for processing {"connection_id":172927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26: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-07 01:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":172927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:26:23] local.INFO: GPS data processed {"connection_id":172927,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:26:23] local.INFO: Acknowledgment sent {"connection_id":172927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:26:46] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:46] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:46] local.INFO: IMEI packet received {"connection_id":175651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:26:51] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:51] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:26:51] local.INFO: IMEI packet received {"connection_id":175651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":175651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:26:52] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:52] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:26:52] local.INFO: Packet analysis {"connection_id":175651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:26:52] local.INFO: Extracted packet for processing {"connection_id":175651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:26: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-07 01:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:26: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-07 01:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:26: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-07 01: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-07 01: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-07 01:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:26: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-07 01:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":175651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:26:52] local.INFO: GPS data processed {"connection_id":175651,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:26:52] local.INFO: Acknowledgment sent {"connection_id":175651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:27:23] local.INFO: TCP Data received {"connection_id":175651,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:23] local.INFO: Processing buffer {"connection_id":175651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:23] local.INFO: Packet analysis {"connection_id":175651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:27:23] local.INFO: Extracted packet for processing {"connection_id":175651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27: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-07 01:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:27: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-07 01:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":175651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:27:23] local.INFO: GPS data processed {"connection_id":175651,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:27:23] local.INFO: Acknowledgment sent {"connection_id":175651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:27:51] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:51] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:51] local.INFO: IMEI packet received {"connection_id":174325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":174325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:27:56] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:56] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:27:56] local.INFO: IMEI packet received {"connection_id":174325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":174325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:27:57] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:57] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:27:57] local.INFO: Packet analysis {"connection_id":174325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:27:57] local.INFO: Extracted packet for processing {"connection_id":174325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:27:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01: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-07 01:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:27:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:27:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":174325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:27:57] local.INFO: GPS data processed {"connection_id":174325,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:27:57] local.INFO: Acknowledgment sent {"connection_id":174325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:28:02] local.INFO: TCP Data received {"connection_id":174325,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:28:02] local.INFO: Processing buffer {"connection_id":174325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078479400012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:28:02] local.INFO: Packet analysis {"connection_id":174325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:28:02] local.INFO: Extracted packet for processing {"connection_id":174325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07847"} 
[2026-09-07 01:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913357056001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788724352000,"timestamp_ms":1788724352000,"timestamp_seconds":1788724352,"priority":1,"record_length":96,"hex_timestamp":"000001a078479400"} 
[2026-09-07 01:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913357056001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913357056001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913357056001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":174325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:28:02] local.INFO: GPS data processed {"connection_id":174325,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:28:02] local.INFO: Acknowledgment sent {"connection_id":174325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:28:46] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:46] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:46] local.INFO: IMEI packet received {"connection_id":173159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":173159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:28:51] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:51] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:28:51] local.INFO: IMEI packet received {"connection_id":173159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":173159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:28:52] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:28:52] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:28:52] local.INFO: Packet analysis {"connection_id":173159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:28:52] local.INFO: Extracted packet for processing {"connection_id":173159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:28: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-07 01:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:28: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:28: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-07 01: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-07 01: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-07 01:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:28: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-07 01:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":173159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:28:52] local.INFO: GPS data processed {"connection_id":173159,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:28:52] local.INFO: Acknowledgment sent {"connection_id":173159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:29:24] local.INFO: TCP Data received {"connection_id":173159,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:24] local.INFO: Processing buffer {"connection_id":173159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:24] local.INFO: Packet analysis {"connection_id":173159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:29:24] local.INFO: Extracted packet for processing {"connection_id":173159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:29: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-07 01:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:29: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:29: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-07 01: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-07 01: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-07 01:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:29: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-07 01:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:29:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":173159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:29:24] local.INFO: GPS data processed {"connection_id":173159,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:29:24] local.INFO: Acknowledgment sent {"connection_id":173159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:29:46] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:46] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:46] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:29:51] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:51] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:29:51] local.INFO: IMEI packet received {"connection_id":174326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":174326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:29:52] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:52] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:29:52] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:29:52] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:29: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:29: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-07 01: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-07 01: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-07 01:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:29: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-07 01:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:29:52] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:29:52] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:30:23] local.INFO: TCP Data received {"connection_id":174326,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:23] local.INFO: Processing buffer {"connection_id":174326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:23] local.INFO: Packet analysis {"connection_id":174326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:30:23] local.INFO: Extracted packet for processing {"connection_id":174326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:30: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-07 01:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:30: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-07 01: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-07 01: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-07 01:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:30: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-07 01:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":174326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:30:23] local.INFO: GPS data processed {"connection_id":174326,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:30:23] local.INFO: Acknowledgment sent {"connection_id":174326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:30:46] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:46] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:46] local.INFO: IMEI packet received {"connection_id":175654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:30:51] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:51] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:30:51] local.INFO: IMEI packet received {"connection_id":175654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":175654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:30:52] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:52] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:30:52] local.INFO: Packet analysis {"connection_id":175654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:30:52] local.INFO: Extracted packet for processing {"connection_id":175654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:30: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:30: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-07 01: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-07 01: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-07 01:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:30: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-07 01:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:30:52] local.INFO: GPS data processed {"connection_id":175654,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:30:52] local.INFO: Acknowledgment sent {"connection_id":175654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:31:18] local.INFO: TCP Data received {"connection_id":175655,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:31:18] local.INFO: Processing buffer {"connection_id":175655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:31:18] local.INFO: IMEI packet received {"connection_id":175655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":175655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:31:24] local.INFO: TCP Data received {"connection_id":175654,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:24] local.INFO: Processing buffer {"connection_id":175654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:24] local.INFO: Packet analysis {"connection_id":175654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:31:24] local.INFO: Extracted packet for processing {"connection_id":175654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:31: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:31: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-07 01: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-07 01: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-07 01:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":175654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:31:24] local.INFO: GPS data processed {"connection_id":175654,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:31:24] local.INFO: Acknowledgment sent {"connection_id":175654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:31:51] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:51] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:51] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:31:56] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:56] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:31:56] local.INFO: IMEI packet received {"connection_id":172929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":172929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:31:57] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:57] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:31:57] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:31:57] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:31:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:31:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:31:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:31:57] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:31:57] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:32:28] local.INFO: TCP Data received {"connection_id":172929,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:28] local.INFO: Processing buffer {"connection_id":172929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:28] local.INFO: Packet analysis {"connection_id":172929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:32:28] local.INFO: Extracted packet for processing {"connection_id":172929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:32:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:32:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":172929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:32:28] local.INFO: GPS data processed {"connection_id":172929,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:32:28] local.INFO: Acknowledgment sent {"connection_id":172929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:32:46] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:46] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:46] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:32:51] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:51] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:32:51] local.INFO: IMEI packet received {"connection_id":174328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":174328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:32:52] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:52] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0784c2bc8012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:32:52] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:32:52] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0784c"} 
[2026-09-07 01:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913434112001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:32: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-07 01:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724653000,"timestamp_ms":1788724653000,"timestamp_seconds":1788724653,"priority":1,"record_length":96,"hex_timestamp":"000001a0784c2bc8"} 
[2026-09-07 01: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-07 01:32: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:32: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-07 01: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-07 01: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-07 01:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:32: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-07 01:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913434112001,"66":25691,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913434112001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913434112001,"power":25691,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:32:52] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:32:52] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:33:23] local.INFO: TCP Data received {"connection_id":174328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:23] local.INFO: Processing buffer {"connection_id":174328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:23] local.INFO: Packet analysis {"connection_id":174328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:33:23] local.INFO: Extracted packet for processing {"connection_id":174328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33: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-07 01:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:33: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-07 01:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":174328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:33:23] local.INFO: GPS data processed {"connection_id":174328,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:33:23] local.INFO: Acknowledgment sent {"connection_id":174328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:33:51] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:51] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:51] local.INFO: IMEI packet received {"connection_id":175656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":175656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:33:56] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:56] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:33:56] local.INFO: IMEI packet received {"connection_id":175656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":175656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:33:57] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:57] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:33:57] local.INFO: Packet analysis {"connection_id":175656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:33:57] local.INFO: Extracted packet for processing {"connection_id":175656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:33:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":175656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:33:57] local.INFO: GPS data processed {"connection_id":175656,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:33:57] local.INFO: Acknowledgment sent {"connection_id":175656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:34:02] local.INFO: TCP Data received {"connection_id":175656,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:02] local.INFO: Processing buffer {"connection_id":175656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:02] local.INFO: Packet analysis {"connection_id":175656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:34:02] local.INFO: Extracted packet for processing {"connection_id":175656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:34:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":175656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:34:02] local.INFO: GPS data processed {"connection_id":175656,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:34:02] local.INFO: Acknowledgment sent {"connection_id":175656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:34:46] local.INFO: TCP Data received {"connection_id":172931,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:46] local.INFO: Processing buffer {"connection_id":172931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:46] local.INFO: IMEI packet received {"connection_id":172931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":172931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:34:51] local.INFO: TCP Data received {"connection_id":172931,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:51] local.INFO: Processing buffer {"connection_id":172931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:34:51] local.INFO: IMEI packet received {"connection_id":172931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":172931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:34:52] local.INFO: TCP Data received {"connection_id":172931,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:52] local.INFO: Processing buffer {"connection_id":172931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:34:52] local.INFO: Packet analysis {"connection_id":172931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:34:52] local.INFO: Extracted packet for processing {"connection_id":172931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:34: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-07 01:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:34: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-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:34: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-07 01: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-07 01: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-07 01:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:34: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-07 01:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":172931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:34:52] local.INFO: GPS data processed {"connection_id":172931,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:34:52] local.INFO: Acknowledgment sent {"connection_id":172931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:35:23] local.INFO: TCP Data received {"connection_id":172931,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:23] local.INFO: Processing buffer {"connection_id":172931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:23] local.INFO: Packet analysis {"connection_id":172931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:35:23] local.INFO: Extracted packet for processing {"connection_id":172931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:35: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-07 01:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:35: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-07 01:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:35:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":172931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:35:23] local.INFO: GPS data processed {"connection_id":172931,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:35:23] local.INFO: Acknowledgment sent {"connection_id":172931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:35:46] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:46] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:46] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:35:51] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:51] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:35:51] local.INFO: IMEI packet received {"connection_id":175657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":175657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:35:52] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:52] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:35:52] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:35:52] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:35: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:35: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-07 01: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-07 01: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-07 01:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:35: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-07 01:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:35:52] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:35:52] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:36:23] local.INFO: TCP Data received {"connection_id":175657,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:23] local.INFO: Processing buffer {"connection_id":175657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:23] local.INFO: Packet analysis {"connection_id":175657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:36:23] local.INFO: Extracted packet for processing {"connection_id":175657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36: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-07 01:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:36: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-07 01:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":175657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:36:24] local.INFO: GPS data processed {"connection_id":175657,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:36:24] local.INFO: Acknowledgment sent {"connection_id":175657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:36:47] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:47] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:47] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:36:51] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:51] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:36:51] local.INFO: IMEI packet received {"connection_id":174329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":174329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:36:52] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:52] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:36:52] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:36:52] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:36: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-07 01:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01: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-07 01:36: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-07 01: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:36: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-07 01: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-07 01: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-07 01:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:36: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-07 01:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:36:52] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:36:52] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:37:23] local.INFO: TCP Data received {"connection_id":174329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:23] local.INFO: Processing buffer {"connection_id":174329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:23] local.INFO: Packet analysis {"connection_id":174329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:37:23] local.INFO: Extracted packet for processing {"connection_id":174329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37: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-07 01:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 01:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:37: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-07 01:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":174329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:37:23] local.INFO: GPS data processed {"connection_id":174329,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:37:23] local.INFO: Acknowledgment sent {"connection_id":174329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:37:46] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:46] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:46] local.INFO: IMEI packet received {"connection_id":172934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":172934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:37:51] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:51] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:37:51] local.INFO: IMEI packet received {"connection_id":172934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":172934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:37:53] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:53] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07850c390012d34cbc006aa45580000011e22..."} 
[2026-09-07 01:37:53] local.INFO: Packet analysis {"connection_id":172934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:37:53] local.INFO: Extracted packet for processing {"connection_id":172934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07850"} 
[2026-09-07 01:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:37: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-07 01:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913511168001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:37: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-07 01:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788724954000,"timestamp_ms":1788724954000,"timestamp_seconds":1788724954,"priority":1,"record_length":96,"hex_timestamp":"000001a07850c390"} 
[2026-09-07 01:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:37: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-07 01:37: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-07 01:37: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-07 01:37: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-07 01:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:37: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-07 01:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913511168001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913511168001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913511168001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":172934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:37:53] local.INFO: GPS data processed {"connection_id":172934,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:37:53] local.INFO: Acknowledgment sent {"connection_id":172934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:38:24] local.INFO: TCP Data received {"connection_id":172934,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:24] local.INFO: Processing buffer {"connection_id":172934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:24] local.INFO: Packet analysis {"connection_id":172934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:38:24] local.INFO: Extracted packet for processing {"connection_id":172934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:38:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38: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-07 01:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:38: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:38: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-07 01: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-07 01: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-07 01:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:38: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-07 01:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:38:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:38:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":172934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:38:24] local.INFO: GPS data processed {"connection_id":172934,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:38:24] local.INFO: Acknowledgment sent {"connection_id":172934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:38:51] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:51] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:51] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:38:56] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:56] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:38:56] local.INFO: IMEI packet received {"connection_id":174330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":174330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:38:58] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:58] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:38:58] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:38:58] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:38:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:38:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:38:58] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:38:58] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:39:29] local.INFO: TCP Data received {"connection_id":174330,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:29] local.INFO: Processing buffer {"connection_id":174330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:29] local.INFO: Packet analysis {"connection_id":174330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:39:29] local.INFO: Extracted packet for processing {"connection_id":174330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39: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-07 01:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:39: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:39: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-07 01: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-07 01: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-07 01:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:39:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:39:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":174330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:39:29] local.INFO: GPS data processed {"connection_id":174330,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:39:29] local.INFO: Acknowledgment sent {"connection_id":174330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:39:46] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:46] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:46] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:39:51] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:51] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:51] local.INFO: IMEI packet received {"connection_id":174331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":174331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:39:51] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:51] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:39:51] local.INFO: IMEI packet received {"connection_id":175658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":175658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:39:52] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:52] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:39:52] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:39:52] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39: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-07 01:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:39: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-07 01:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:39: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-07 01: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-07 01: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-07 01:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:39: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-07 01:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:39:52] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:39:52] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:39:55] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:55] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:39:55] local.INFO: IMEI packet received {"connection_id":174331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-07 01:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":174331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:39:58] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a078540f50012b8362400b7621300014003b25..."} 
[2026-09-07 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078540f50012b8362400b7621300014003b25..."} 
[2026-09-07 01:39:58] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078540f50012b8362400b7621300014003b25..."} 
[2026-09-07 01:39:58] local.INFO: Packet analysis {"connection_id":174331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07854"} 
[2026-09-07 01:39:58] local.INFO: Extracted packet for processing {"connection_id":174331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07854"} 
[2026-09-07 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":730030656,"raw_latitude":192291120,"longitude_deg":73.0030656,"latitude_deg":19.229112,"altitude":20,"angle":59,"satellites":37,"speed":0,"hex_longitude":"2b836240","hex_latitude":"0b762130","is_valid_coordinates":true} 
[2026-09-07 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913638144001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866917970378752,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:58] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8995729100215648256,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,113,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788725170000,"timestamp_ms":1788725170000,"timestamp_seconds":1788725170,"priority":1,"record_length":96,"hex_timestamp":"000001a078540f50"} 
[2026-09-07 01:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 01:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 01:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 01:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-07 01:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-07 01:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913638144001,"66":27571,"196":206,"113":44800,"24":0,"16":3866917970378752,"43":-8995729100215648256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,113,24,16,43]} 
[2026-09-07 01:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-07 01:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-07 01:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913638144001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:39:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-07 01:39:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":44800,"description":"Unknown IO ID 113"} 
[2026-09-07 01:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866917970378752,"km_value":3866917970378.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:39:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8995729100215648256,"description":"Unknown IO ID 43"} 
[2026-09-07 01:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913638144001,"power":27571,"unknown_196":206,"unknown_113":44800,"ignition":0,"odometer":null,"unknown_43":-8995729100215648256}} 
[2026-09-07 01:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":174331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:39:58] local.INFO: GPS data processed {"connection_id":174331,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:39:58] local.INFO: Acknowledgment sent {"connection_id":174331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:39:59] local.INFO: TCP Data received {"connection_id":174331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a078549bf0012b83e1c00b766970000d003b25..."} 
[2026-09-07 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078549bf0012b83e1c00b766970000d003b25..."} 
[2026-09-07 01:39:59] local.INFO: Processing buffer {"connection_id":174331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078549bf0012b83e1c00b766970000d003b25..."} 
[2026-09-07 01:39:59] local.INFO: Packet analysis {"connection_id":174331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07854"} 
[2026-09-07 01:39:59] local.INFO: Extracted packet for processing {"connection_id":174331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07854"} 
[2026-09-07 01:39:59] local.INFO: GPS Element Parsed {"raw_longitude":730063296,"raw_latitude":192309616,"longitude_deg":73.0063296,"latitude_deg":19.2309616,"altitude":13,"angle":59,"satellites":37,"speed":38,"hex_longitude":"2b83e1c0","hex_latitude":"0b766970","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913643520001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3866917970378752,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8979544289052643328,"note":"Value kept but may cause issues"} 
[2026-09-07 01:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788725206000,"timestamp_ms":1788725206000,"timestamp_seconds":1788725206,"priority":1,"record_length":96,"hex_timestamp":"000001a078549bf0"} 
[2026-09-07 01: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-07 01:39: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-07 01: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 01:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 01:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 01:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-07 01:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-07 01:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913643520001,"66":27517,"93":206,"234":55296,"24":38,"16":3866917970378752,"43":-8979544289052643328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,234,24,16,43]} 
[2026-09-07 01:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-07 01:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-07 01:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913643520001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:39:59] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 01:39:59] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-07 01:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3866917970378752,"km_value":3866917970378.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:39:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8979544289052643328,"description":"Unknown IO ID 43"} 
[2026-09-07 01:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913643520001,"power":27517,"unknown_93":206,"unknown_234":55296,"ignition":38,"odometer":null,"unknown_43":-8979544289052643328}} 
[2026-09-07 01:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":174331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:39:59] local.INFO: GPS data processed {"connection_id":174331,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:39:59] local.INFO: Acknowledgment sent {"connection_id":174331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:40:23] local.INFO: TCP Data received {"connection_id":175658,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:23] local.INFO: Processing buffer {"connection_id":175658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:23] local.INFO: Packet analysis {"connection_id":175658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:40:23] local.INFO: Extracted packet for processing {"connection_id":175658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:40: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-07 01:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:40: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:40: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-07 01: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-07 01: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-07 01:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:40: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-07 01:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":175658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:40:23] local.INFO: GPS data processed {"connection_id":175658,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:40:23] local.INFO: Acknowledgment sent {"connection_id":175658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:40:23] local.INFO: TCP Data received {"connection_id":175659,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:23] local.INFO: Processing buffer {"connection_id":175659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:23] local.INFO: IMEI packet received {"connection_id":175659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":175659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:40:46] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:46] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:46] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:40:51] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:51] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:40:51] local.INFO: IMEI packet received {"connection_id":174332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":174332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:40:52] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:52] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:40:52] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:40:52] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:40: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:40: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-07 01:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:40:52] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:40:52] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:40:56] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:56] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:40:56] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:41:24] local.INFO: TCP Data received {"connection_id":174332,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:24] local.INFO: Processing buffer {"connection_id":174332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:24] local.INFO: Packet analysis {"connection_id":174332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:41:24] local.INFO: Extracted packet for processing {"connection_id":174332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:41:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41: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-07 01:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:41: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:41: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-07 01: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-07 01: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-07 01:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:41: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-07 01:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:41:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:41:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":174332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:41:24] local.INFO: GPS data processed {"connection_id":174332,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:41:24] local.INFO: Acknowledgment sent {"connection_id":174332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:41:46] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:46] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:46] local.INFO: IMEI packet received {"connection_id":172935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":172935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:41:51] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:51] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:41:51] local.INFO: IMEI packet received {"connection_id":172935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":172935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:41:52] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:52] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:41:52] local.INFO: Packet analysis {"connection_id":172935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:41:52] local.INFO: Extracted packet for processing {"connection_id":172935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:41: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-07 01:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:41: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:41: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-07 01: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-07 01: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-07 01:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:41: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-07 01:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":172935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:41:52] local.INFO: GPS data processed {"connection_id":172935,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:41:52] local.INFO: Acknowledgment sent {"connection_id":172935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:42:23] local.INFO: TCP Data received {"connection_id":172935,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:23] local.INFO: Processing buffer {"connection_id":172935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:23] local.INFO: Packet analysis {"connection_id":172935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:42:23] local.INFO: Extracted packet for processing {"connection_id":172935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42: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-07 01:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:42: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:42: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-07 01: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-07 01: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-07 01:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:42: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-07 01:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":172935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:42:23] local.INFO: GPS data processed {"connection_id":172935,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:42:23] local.INFO: Acknowledgment sent {"connection_id":172935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:42:46] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:46] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:46] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:42:51] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:51] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:42:51] local.INFO: IMEI packet received {"connection_id":173161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":173161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:42:52] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:52] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078555b58012d34cbc006aa45580000011e21..."} 
[2026-09-07 01:42:52] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:42:52] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07855"} 
[2026-09-07 01:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913588224001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:42: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-07 01:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725255000,"timestamp_ms":1788725255000,"timestamp_seconds":1788725255,"priority":1,"record_length":96,"hex_timestamp":"000001a078555b58"} 
[2026-09-07 01: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-07 01:42: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:42: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-07 01: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-07 01: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-07 01:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:42: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-07 01:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913588224001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913588224001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913588224001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:42:52] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:42:52] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:43:23] local.INFO: TCP Data received {"connection_id":173161,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:23] local.INFO: Processing buffer {"connection_id":173161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:23] local.INFO: Packet analysis {"connection_id":173161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:43:23] local.INFO: Extracted packet for processing {"connection_id":173161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43: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-07 01:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:43: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:43: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-07 01: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-07 01: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-07 01:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:43:23] 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-07 01:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":173161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:43:23] local.INFO: GPS data processed {"connection_id":173161,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:43:23] local.INFO: Acknowledgment sent {"connection_id":173161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:43:46] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:46] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:46] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:43:51] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:51] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:43:51] local.INFO: IMEI packet received {"connection_id":172936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":172936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:43:52] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:52] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:43:52] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:43:52] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:43: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-07 01:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:43: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-07 01:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:43: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-07 01: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-07 01: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-07 01:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:43: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-07 01:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:43:52] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:43:52] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:44:23] local.INFO: TCP Data received {"connection_id":172936,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:23] local.INFO: Processing buffer {"connection_id":172936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:23] local.INFO: Packet analysis {"connection_id":172936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:44:23] local.INFO: Extracted packet for processing {"connection_id":172936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44: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-07 01:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:44: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:44: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-07 01: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-07 01: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-07 01:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:44:23] 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-07 01:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":172936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:44:23] local.INFO: GPS data processed {"connection_id":172936,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:44:23] local.INFO: Acknowledgment sent {"connection_id":172936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:44:46] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:46] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:46] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:44:51] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:51] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:44:51] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:44:53] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:53] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:44:53] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:44:53] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:44: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-07 01:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:44: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:44: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-07 01: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-07 01: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-07 01:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:44:53] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:44:53] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:45:24] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:24] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:24] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:45:24] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:45: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-07 01:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:45: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-07 01:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:45: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-07 01:45: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-07 01:45: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-07 01:45: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-07 01:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:45: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-07 01:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:45:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:45:24] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:45:24] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:45:46] local.INFO: TCP Data received {"connection_id":172938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:46] local.INFO: Processing buffer {"connection_id":172938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:46] local.INFO: IMEI packet received {"connection_id":172938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":172938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:45:51] local.INFO: TCP Data received {"connection_id":172938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:51] local.INFO: Processing buffer {"connection_id":172938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:45:51] local.INFO: IMEI packet received {"connection_id":172938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":172938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:45:52] local.INFO: TCP Data received {"connection_id":172938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:52] local.INFO: Processing buffer {"connection_id":172938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:45:52] local.INFO: Packet analysis {"connection_id":172938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:45:52] local.INFO: Extracted packet for processing {"connection_id":172938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01: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-07 01:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:45: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-07 01:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":172938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:45:52] local.INFO: GPS data processed {"connection_id":172938,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:45:52] local.INFO: Acknowledgment sent {"connection_id":172938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:46:00] local.INFO: TCP Data received {"connection_id":173164,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:46:00] local.INFO: Processing buffer {"connection_id":173164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:46:00] local.INFO: IMEI packet received {"connection_id":173164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":173164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:46:23] local.INFO: TCP Data received {"connection_id":172938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:23] local.INFO: Processing buffer {"connection_id":172938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:23] local.INFO: Packet analysis {"connection_id":172938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:46:23] local.INFO: Extracted packet for processing {"connection_id":172938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46: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-07 01:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:46: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:46: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-07 01: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-07 01: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-07 01:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":172938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:46:23] local.INFO: GPS data processed {"connection_id":172938,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:46:23] local.INFO: Acknowledgment sent {"connection_id":172938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:46:46] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:46] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:46] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:46:51] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:51] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:46:51] local.INFO: IMEI packet received {"connection_id":174334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":174334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:46:52] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:52] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:46:52] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:46:52] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:46: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-07 01:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:46: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:46: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-07 01: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-07 01: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-07 01:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:46: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-07 01:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:46:52] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:46:52] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:47:23] local.INFO: TCP Data received {"connection_id":174334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:23] local.INFO: Processing buffer {"connection_id":174334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:23] local.INFO: Packet analysis {"connection_id":174334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:47:23] local.INFO: Extracted packet for processing {"connection_id":174334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47: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-07 01:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01: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-07 01:47: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:47: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-07 01: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-07 01: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-07 01:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:47:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":174334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:47:23] local.INFO: GPS data processed {"connection_id":174334,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:47:23] local.INFO: Acknowledgment sent {"connection_id":174334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:47:46] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:46] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:46] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:47:51] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:51] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:47:51] local.INFO: IMEI packet received {"connection_id":172939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":172939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:47:53] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:53] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07859f320012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:47:53] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:47:53] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07859"} 
[2026-09-07 01:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913665280001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:47: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-07 01:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788725556000,"timestamp_ms":1788725556000,"timestamp_seconds":1788725556,"priority":1,"record_length":96,"hex_timestamp":"000001a07859f320"} 
[2026-09-07 01:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:47: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-07 01:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:47: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-07 01:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913665280001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913665280001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913665280001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:47:53] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:47:53] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:48:25] local.INFO: TCP Data received {"connection_id":172939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:25] local.INFO: Processing buffer {"connection_id":172939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:25] local.INFO: Packet analysis {"connection_id":172939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:48:25] local.INFO: Extracted packet for processing {"connection_id":172939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01: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-07 01:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:48: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-07 01:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:48:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":172939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:48:25] local.INFO: GPS data processed {"connection_id":172939,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:48:25] local.INFO: Acknowledgment sent {"connection_id":172939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:48:46] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:46] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:46] local.INFO: IMEI packet received {"connection_id":175663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":175663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:48:51] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:51] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:48:51] local.INFO: IMEI packet received {"connection_id":175663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":175663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:48:53] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:53] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:48:53] local.INFO: Packet analysis {"connection_id":175663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:48:53] local.INFO: Extracted packet for processing {"connection_id":175663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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":795,"current_offset":40} 
[2026-09-07 01:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:48: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-07 01:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:48: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-07 01:48: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-07 01:48: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-07 01:48: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-07 01:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:48:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":175663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:48:53] local.INFO: GPS data processed {"connection_id":175663,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:48:53] local.INFO: Acknowledgment sent {"connection_id":175663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:49:24] local.INFO: TCP Data received {"connection_id":175663,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:24] local.INFO: Processing buffer {"connection_id":175663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:24] local.INFO: Packet analysis {"connection_id":175663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:49:24] local.INFO: Extracted packet for processing {"connection_id":175663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:49:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49: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-07 01:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:49: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:49: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-07 01: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-07 01: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-07 01:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:49: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-07 01:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:49:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:49:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":175663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:49:24] local.INFO: GPS data processed {"connection_id":175663,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:49:24] local.INFO: Acknowledgment sent {"connection_id":175663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:49:46] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:46] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:46] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:49:51] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:51] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:49:51] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:49:52] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:52] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:49:52] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:49:52] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:49: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-07 01:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:49: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:49: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-07 01: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-07 01: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-07 01:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:49: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-07 01:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:49:52] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:49:52] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:50:23] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:23] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:23] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:50:23] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:50: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-07 01:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:50: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-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:50: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-07 01: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-07 01: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-07 01:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:50: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-07 01:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:50:23] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:50:23] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:50:46] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:47] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:47] local.INFO: IMEI packet received {"connection_id":174335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:50:51] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:51] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:50:51] local.INFO: IMEI packet received {"connection_id":174335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":174335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:50:52] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:52] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:50:52] local.INFO: Packet analysis {"connection_id":174335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:50:52] local.INFO: Extracted packet for processing {"connection_id":174335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:50: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:50: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-07 01: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-07 01: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-07 01:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:50: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-07 01:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":174335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:50:52] local.INFO: GPS data processed {"connection_id":174335,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:50:52] local.INFO: Acknowledgment sent {"connection_id":174335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:51:23] local.INFO: TCP Data received {"connection_id":174335,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:23] local.INFO: Processing buffer {"connection_id":174335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:23] local.INFO: Packet analysis {"connection_id":174335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:51:23] local.INFO: Extracted packet for processing {"connection_id":174335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51: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-07 01:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:51: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-07 01: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-07 01: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-07 01:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":174335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:51:23] local.INFO: GPS data processed {"connection_id":174335,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:51:23] local.INFO: Acknowledgment sent {"connection_id":174335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:51:46] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:46] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:46] local.INFO: IMEI packet received {"connection_id":172941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":172941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:51:51] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:51] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:51:51] local.INFO: IMEI packet received {"connection_id":172941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":172941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:51:52] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:52] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:51:52] local.INFO: Packet analysis {"connection_id":172941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:51:52] local.INFO: Extracted packet for processing {"connection_id":172941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:51: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-07 01:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:51: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-07 01: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-07 01: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-07 01:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:51: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-07 01:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":172941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:51:52] local.INFO: GPS data processed {"connection_id":172941,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:51:52] local.INFO: Acknowledgment sent {"connection_id":172941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:51:54] local.INFO: TCP Data received {"connection_id":175665,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:51:54] local.INFO: Processing buffer {"connection_id":175665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:51:54] local.INFO: IMEI packet received {"connection_id":175665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":175665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:52:23] local.INFO: TCP Data received {"connection_id":172941,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:23] local.INFO: Processing buffer {"connection_id":172941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:23] local.INFO: Packet analysis {"connection_id":172941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:52:23] local.INFO: Extracted packet for processing {"connection_id":172941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:52: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-07 01:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:52: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-07 01:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":172941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:52:23] local.INFO: GPS data processed {"connection_id":172941,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:52:23] local.INFO: Acknowledgment sent {"connection_id":172941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:52:46] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:46] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:46] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:52:51] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:51] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:52:51] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:52:52] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:52] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0785e8ae8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 01:52:52] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:52:52] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0785e"} 
[2026-09-07 01:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913742336001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788725857000,"timestamp_ms":1788725857000,"timestamp_seconds":1788725857,"priority":1,"record_length":96,"hex_timestamp":"000001a0785e8ae8"} 
[2026-09-07 01: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-07 01:52: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-07 01: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 01:52: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-07 01: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-07 01: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-07 01:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01: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-07 01:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913742336001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913742336001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913742336001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:52:52] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:52:52] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:53:24] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:24] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:24] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:53:24] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:53:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53: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-07 01:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:53: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:53: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-07 01: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-07 01: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-07 01:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:53: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-07 01:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:53:25] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:53:25] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:53:51] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:51] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:51] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:53:56] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:56] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:53:56] local.INFO: IMEI packet received {"connection_id":174336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":174336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:53:58] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:58] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:53:58] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:53:58] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:53:58] 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-07 01:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:53:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:53:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:53:58] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:53:58] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:54:02] local.INFO: TCP Data received {"connection_id":174336,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:02] local.INFO: Processing buffer {"connection_id":174336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:02] local.INFO: Packet analysis {"connection_id":174336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:54:02] local.INFO: Extracted packet for processing {"connection_id":174336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 01:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 01:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:54:02] 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-07 01:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:54:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:54:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":174336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:54:02] local.INFO: GPS data processed {"connection_id":174336,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:54:02] local.INFO: Acknowledgment sent {"connection_id":174336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:54:46] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:46] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:46] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:54:51] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:51] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:54:51] local.INFO: IMEI packet received {"connection_id":175667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":175667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:54:52] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:52] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:54:52] local.INFO: Packet analysis {"connection_id":175667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:54:52] local.INFO: Extracted packet for processing {"connection_id":175667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:54: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-07 01:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:54: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:54: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-07 01: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-07 01: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-07 01:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:54: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-07 01:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":175667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:54:52] local.INFO: GPS data processed {"connection_id":175667,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:54:52] local.INFO: Acknowledgment sent {"connection_id":175667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:55:23] local.INFO: TCP Data received {"connection_id":175667,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:23] local.INFO: Processing buffer {"connection_id":175667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:23] local.INFO: Packet analysis {"connection_id":175667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:55:23] local.INFO: Extracted packet for processing {"connection_id":175667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55: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-07 01:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:55: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:55: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-07 01: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-07 01: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-07 01:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":175667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:55:23] local.INFO: GPS data processed {"connection_id":175667,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:55:23] local.INFO: Acknowledgment sent {"connection_id":175667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:55:46] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:46] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:46] local.INFO: IMEI packet received {"connection_id":173170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:55:51] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:51] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:55:51] local.INFO: IMEI packet received {"connection_id":173170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":173170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:55:52] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:52] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:55:52] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:55:52] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:55: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-07 01:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:55: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-07 01: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-07 01: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-07 01:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:55: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-07 01:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:55:52] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:55:52] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:56:24] local.INFO: TCP Data received {"connection_id":173170,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:24] local.INFO: Processing buffer {"connection_id":173170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:24] local.INFO: Packet analysis {"connection_id":173170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:56:24] local.INFO: Extracted packet for processing {"connection_id":173170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01: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-07 01:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:56: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:56: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-07 01: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-07 01: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-07 01:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:56:24] 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-07 01:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":173170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:56:24] local.INFO: GPS data processed {"connection_id":173170,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:56:24] local.INFO: Acknowledgment sent {"connection_id":173170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:56:47] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:47] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:47] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:56:51] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:51] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:56:51] local.INFO: IMEI packet received {"connection_id":174337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":174337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:56:52] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:52] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:56:52] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:56:52] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:56: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-07 01:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:56: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:56: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-07 01: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-07 01: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-07 01:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:56: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-07 01:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:56:52] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:56:52] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:57:08] local.INFO: TCP Data received {"connection_id":174338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:08] local.INFO: Processing buffer {"connection_id":174338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:08] local.INFO: IMEI packet received {"connection_id":174338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":174338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:57:24] local.INFO: TCP Data received {"connection_id":174337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:24] local.INFO: Processing buffer {"connection_id":174337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:24] local.INFO: Packet analysis {"connection_id":174337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:57:24] local.INFO: Extracted packet for processing {"connection_id":174337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57: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-07 01:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:57: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:57: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-07 01: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-07 01: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-07 01:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:57: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-07 01:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:57:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":174337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:57:24] local.INFO: GPS data processed {"connection_id":174337,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:57:24] local.INFO: Acknowledgment sent {"connection_id":174337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:57:46] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:46] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:46] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:57:48] local.INFO: TCP Data received {"connection_id":175668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:48] local.INFO: Processing buffer {"connection_id":175668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 01:57:48] local.INFO: IMEI packet received {"connection_id":175668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 01:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":175668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:57:51] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:51] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:57:51] local.INFO: IMEI packet received {"connection_id":174339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":174339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:57:53] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:53] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786322b0012d34cbc006aa45580000011e1c..."} 
[2026-09-07 01:57:53] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:57:53] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07863"} 
[2026-09-07 01:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":28,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913819392001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:57: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-07 01:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788726158000,"timestamp_ms":1788726158000,"timestamp_seconds":1788726158,"priority":1,"record_length":96,"hex_timestamp":"000001a0786322b0"} 
[2026-09-07 01: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-07 01:57: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:57: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-07 01: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-07 01: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-07 01:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:57: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-07 01:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913819392001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913819392001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913819392001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:57:53] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:57:53] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:58:24] local.INFO: TCP Data received {"connection_id":174339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:24] local.INFO: Processing buffer {"connection_id":174339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:24] local.INFO: Packet analysis {"connection_id":174339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:58:24] local.INFO: Extracted packet for processing {"connection_id":174339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:58:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58: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-07 01:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 01: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-07 01:58: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:58: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-07 01: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-07 01: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-07 01:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:58:24] 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-07 01:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 01:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:58:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:58:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":174339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:58:24] local.INFO: GPS data processed {"connection_id":174339,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:58:24] local.INFO: Acknowledgment sent {"connection_id":174339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:58:51] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:51] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:51] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:58:56] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:56] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:58:56] local.INFO: IMEI packet received {"connection_id":175669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":175669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:58:57] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:57] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:58:57] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:58:57] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01:58: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-07 01:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 01:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 01:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 01:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01:58: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-07 01:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 01:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 01:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:58:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:58:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:58:57] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:58:57] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:59:29] local.INFO: TCP Data received {"connection_id":175669,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:29] local.INFO: Processing buffer {"connection_id":175669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:29] local.INFO: Packet analysis {"connection_id":175669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:59:29] local.INFO: Extracted packet for processing {"connection_id":175669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:59:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59: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-07 01:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 01: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-07 01:59: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-07 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 01: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-07 01: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-07 01:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:59: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-07 01:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:59:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:59:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":175669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:59:29] local.INFO: GPS data processed {"connection_id":175669,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:59:29] local.INFO: Acknowledgment sent {"connection_id":175669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 01:59:46] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:46] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:46] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 01:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 01:59:51] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:51] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 01:59:51] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 01:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 01:59:52] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:52] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 01:59:52] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:59:52] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 01:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 01: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-07 01:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 01:59: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-07 01:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 01: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-07 01: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-07 01: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 01:59: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-07 01: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-07 01: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-07 01:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 01:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 01:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 01:59: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-07 01:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 01:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 01:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 01:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 01:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 01:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 01:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 01:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 01:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 01:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 01:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 01:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 01:59:52] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-07 01:59:52] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:00:24] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:24] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:24] local.INFO: Packet analysis {"connection_id":173173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:00:24] local.INFO: Extracted packet for processing {"connection_id":173173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:00: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:00: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-07 02:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":173173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:00:24] local.INFO: GPS data processed {"connection_id":173173,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:00:24] local.INFO: Acknowledgment sent {"connection_id":173173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:00:46] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:46] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:46] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:00:51] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:51] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:00:51] local.INFO: IMEI packet received {"connection_id":175671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":175671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:00:52] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:52] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:00:52] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:00:52] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:00: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-07 02:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:00: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:00: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-07 02: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-07 02: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-07 02:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:00: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-07 02:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:00:52] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:00:52] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:01:24] local.INFO: TCP Data received {"connection_id":175671,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:24] local.INFO: Processing buffer {"connection_id":175671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:24] local.INFO: Packet analysis {"connection_id":175671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:01:24] local.INFO: Extracted packet for processing {"connection_id":175671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:01: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:01: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-07 02: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-07 02: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-07 02:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:01: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-07 02:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":175671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:01:24] local.INFO: GPS data processed {"connection_id":175671,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:01:24] local.INFO: Acknowledgment sent {"connection_id":175671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:01:46] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:46] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:46] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:01:51] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:51] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:01:51] local.INFO: IMEI packet received {"connection_id":172943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":172943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:01:52] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:52] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:01:52] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:01:52] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:01: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-07 02:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:01: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:01: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-07 02: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-07 02: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-07 02:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:01: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-07 02:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:01:52] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:01:52] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:02:23] local.INFO: TCP Data received {"connection_id":172943,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:23] local.INFO: Processing buffer {"connection_id":172943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:23] local.INFO: Packet analysis {"connection_id":172943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:02:23] local.INFO: Extracted packet for processing {"connection_id":172943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02: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-07 02:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:02: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:02: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-07 02: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-07 02: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-07 02:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":172943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:02:23] local.INFO: GPS data processed {"connection_id":172943,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:02:23] local.INFO: Acknowledgment sent {"connection_id":172943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:02:46] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:46] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:46] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:02:51] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:51] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:02:51] local.INFO: IMEI packet received {"connection_id":174340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":174340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:02:52] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:52] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07867ba78012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:02:52] local.INFO: Packet analysis {"connection_id":174340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:02:52] local.INFO: Extracted packet for processing {"connection_id":174340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07867"} 
[2026-09-07 02:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913896448001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:02: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-07 02:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726459000,"timestamp_ms":1788726459000,"timestamp_seconds":1788726459,"priority":1,"record_length":96,"hex_timestamp":"000001a07867ba78"} 
[2026-09-07 02: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-07 02:02: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:02: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-07 02: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-07 02: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-07 02:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:02: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-07 02:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913896448001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913896448001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913896448001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":174340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:02:52] local.INFO: GPS data processed {"connection_id":174340,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:02:52] local.INFO: Acknowledgment sent {"connection_id":174340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:03:13] local.INFO: TCP Data received {"connection_id":172945,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:13] local.INFO: Processing buffer {"connection_id":172945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:13] local.INFO: IMEI packet received {"connection_id":172945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":172945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:03:24] local.INFO: TCP Data received {"connection_id":174340,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:24] local.INFO: Processing buffer {"connection_id":174340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:24] local.INFO: Packet analysis {"connection_id":174340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:03:24] local.INFO: Extracted packet for processing {"connection_id":174340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03: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-07 02:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:03: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:03: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-07 02: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-07 02: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-07 02:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:03: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-07 02:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":174340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:03:24] local.INFO: GPS data processed {"connection_id":174340,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:03:24] local.INFO: Acknowledgment sent {"connection_id":174340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:03:48] local.INFO: TCP Data received {"connection_id":175672,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:48] local.INFO: Processing buffer {"connection_id":175672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:03:48] local.INFO: IMEI packet received {"connection_id":175672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":175672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:03:51] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:51] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:51] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:03:56] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:56] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:03:56] local.INFO: IMEI packet received {"connection_id":174341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":174341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:03:57] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:57] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:03:57] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:03:57] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:03: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-07 02:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 02:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:03: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-07 02:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:03:57] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:03:57] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:04:29] local.INFO: TCP Data received {"connection_id":174341,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:29] local.INFO: Processing buffer {"connection_id":174341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:29] local.INFO: Packet analysis {"connection_id":174341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:04:29] local.INFO: Extracted packet for processing {"connection_id":174341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:04:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04: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-07 02:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:04: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:04: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-07 02:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:04:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:04:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":174341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:04:29] local.INFO: GPS data processed {"connection_id":174341,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:04:29] local.INFO: Acknowledgment sent {"connection_id":174341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:04:46] local.INFO: TCP Data received {"connection_id":175673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:46] local.INFO: Processing buffer {"connection_id":175673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:46] local.INFO: IMEI packet received {"connection_id":175673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":175673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:04:51] local.INFO: TCP Data received {"connection_id":175673,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:51] local.INFO: Processing buffer {"connection_id":175673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:04:51] local.INFO: IMEI packet received {"connection_id":175673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":175673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:04:52] local.INFO: TCP Data received {"connection_id":175673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:52] local.INFO: Processing buffer {"connection_id":175673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:04:52] local.INFO: Packet analysis {"connection_id":175673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:04:52] local.INFO: Extracted packet for processing {"connection_id":175673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:04: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-07 02:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:04: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:04: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-07 02: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-07 02: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-07 02:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:04: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-07 02:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":175673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:04:52] local.INFO: GPS data processed {"connection_id":175673,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:04:52] local.INFO: Acknowledgment sent {"connection_id":175673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:05:24] local.INFO: TCP Data received {"connection_id":175673,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:24] local.INFO: Processing buffer {"connection_id":175673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:24] local.INFO: Packet analysis {"connection_id":175673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:05:24] local.INFO: Extracted packet for processing {"connection_id":175673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05: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-07 02:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:05: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:05: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-07 02: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-07 02: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-07 02:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:05:24] 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-07 02:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":175673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:05:24] local.INFO: GPS data processed {"connection_id":175673,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:05:24] local.INFO: Acknowledgment sent {"connection_id":175673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:05:46] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:46] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:46] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:05:51] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:51] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:05:51] local.INFO: IMEI packet received {"connection_id":175674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":175674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:05:52] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:52] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:05:52] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:05:52] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:05: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-07 02:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:05: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-07 02: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-07 02: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-07 02:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:05: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-07 02:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:05:52] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:05:52] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:06:23] local.INFO: TCP Data received {"connection_id":175674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:23] local.INFO: Processing buffer {"connection_id":175674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:23] local.INFO: Packet analysis {"connection_id":175674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:06:23] local.INFO: Extracted packet for processing {"connection_id":175674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:06: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:06: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-07 02: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-07 02: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-07 02:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":175674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:06:23] local.INFO: GPS data processed {"connection_id":175674,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:06:23] local.INFO: Acknowledgment sent {"connection_id":175674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:06:46] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:46] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:46] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:06:52] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:52] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:06:52] local.INFO: IMEI packet received {"connection_id":172946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":172946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:06:53] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:53] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:06:53] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:06:53] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:06: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:06: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-07 02: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-07 02: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-07 02:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:06:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:06:53] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:06:53] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:07:25] local.INFO: TCP Data received {"connection_id":172946,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:25] local.INFO: Processing buffer {"connection_id":172946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:25] local.INFO: Packet analysis {"connection_id":172946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:07:25] local.INFO: Extracted packet for processing {"connection_id":172946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:07: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-07 02: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-07 02: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-07 02:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:07: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-07 02:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:07:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":172946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:07:25] local.INFO: GPS data processed {"connection_id":172946,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:07:25] local.INFO: Acknowledgment sent {"connection_id":172946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:07:46] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:46] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:46] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:07:51] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:51] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:07:51] local.INFO: IMEI packet received {"connection_id":174342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":174342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:07:53] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:53] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0786c5240012d34cbc006aa45580000011e23..."} 
[2026-09-07 02:07:53] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:07:53] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0786c"} 
[2026-09-07 02:07:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457913973504001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:07: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-07 02:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788726760000,"timestamp_ms":1788726760000,"timestamp_seconds":1788726760,"priority":1,"record_length":96,"hex_timestamp":"000001a0786c5240"} 
[2026-09-07 02: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-07 02:07: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:07: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-07 02: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-07 02: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-07 02:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457913973504001,"66":25702,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 02:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457913973504001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:07:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 02:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457913973504001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:07:53] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:07:53] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:08:25] local.INFO: TCP Data received {"connection_id":174342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:25] local.INFO: Processing buffer {"connection_id":174342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:25] local.INFO: Packet analysis {"connection_id":174342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:08:25] local.INFO: Extracted packet for processing {"connection_id":174342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08: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-07 02:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:08: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-07 02:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:08: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-07 02:08: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-07 02:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:08: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-07 02:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":174342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:08:25] local.INFO: GPS data processed {"connection_id":174342,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:08:25] local.INFO: Acknowledgment sent {"connection_id":174342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:08:51] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:51] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:51] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:08:56] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:56] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:08:56] local.INFO: IMEI packet received {"connection_id":174343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":174343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:08:57] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:57] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:08:57] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:08:57] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:08:57] 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-07 02:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:08:57] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:08:57] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:09:08] local.INFO: TCP Data received {"connection_id":172948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:09:08] local.INFO: Processing buffer {"connection_id":172948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:09:08] local.INFO: IMEI packet received {"connection_id":172948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":172948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:09:29] local.INFO: TCP Data received {"connection_id":174343,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:29] local.INFO: Processing buffer {"connection_id":174343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:29] local.INFO: Packet analysis {"connection_id":174343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:09:29] local.INFO: Extracted packet for processing {"connection_id":174343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:09: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-07 02:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:09:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:09: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-07 02:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:09: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-07 02:09: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-07 02:09: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-07 02:09: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-07 02:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:09:29] 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-07 02:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:09:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":174343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:09:29] local.INFO: GPS data processed {"connection_id":174343,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:09:29] local.INFO: Acknowledgment sent {"connection_id":174343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:09:46] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:46] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:46] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:09:51] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:51] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:09:51] local.INFO: IMEI packet received {"connection_id":173179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":173179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:09:53] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:53] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:09:53] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:09:53] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:09:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:09: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-07 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:09: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-07 02: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-07 02: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-07 02:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:09: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-07 02:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:09:53] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:09:53] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:10:24] local.INFO: TCP Data received {"connection_id":173179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:24] local.INFO: Processing buffer {"connection_id":173179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:24] local.INFO: Packet analysis {"connection_id":173179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:10:24] local.INFO: Extracted packet for processing {"connection_id":173179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:10:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:10:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:10: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-07 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:10: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-07 02: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-07 02: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-07 02:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:10: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-07 02:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:10:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":173179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:10:24] local.INFO: GPS data processed {"connection_id":173179,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:10:24] local.INFO: Acknowledgment sent {"connection_id":173179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:10:46] local.INFO: TCP Data received {"connection_id":172949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:46] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:46] local.INFO: IMEI packet received {"connection_id":172949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":172949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:10:51] local.INFO: TCP Data received {"connection_id":172949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:51] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:10:51] local.INFO: IMEI packet received {"connection_id":172949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":172949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:10:52] local.INFO: TCP Data received {"connection_id":172949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:52] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:10:52] local.INFO: Packet analysis {"connection_id":172949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:10:52] local.INFO: Extracted packet for processing {"connection_id":172949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:10:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:10: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-07 02:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:10: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-07 02:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":172949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:10:52] local.INFO: GPS data processed {"connection_id":172949,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:10:52] local.INFO: Acknowledgment sent {"connection_id":172949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:11:24] local.INFO: TCP Data received {"connection_id":172949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:24] local.INFO: Processing buffer {"connection_id":172949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:24] local.INFO: Packet analysis {"connection_id":172949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:11:24] local.INFO: Extracted packet for processing {"connection_id":172949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11: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-07 02:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:11: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-07 02: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":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:11: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-07 02: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-07 02: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-07 02:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:11: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-07 02:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":172949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:11:24] local.INFO: GPS data processed {"connection_id":172949,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:11:24] local.INFO: Acknowledgment sent {"connection_id":172949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:11:46] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:46] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:46] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:11:51] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:51] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:11:51] local.INFO: IMEI packet received {"connection_id":175676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":175676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:11:52] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:53] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:11:53] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:11:53] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:11: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-07 02:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:11: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-07 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:11: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-07 02: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-07 02: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-07 02:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:11: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-07 02:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:11:53] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:11:53] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:12:25] local.INFO: TCP Data received {"connection_id":175676,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:25] local.INFO: Processing buffer {"connection_id":175676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:25] local.INFO: Packet analysis {"connection_id":175676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:12:25] local.INFO: Extracted packet for processing {"connection_id":175676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:12:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12: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-07 02:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:12: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:12: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-07 02:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:12:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":175676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:12:25] local.INFO: GPS data processed {"connection_id":175676,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:12:25] local.INFO: Acknowledgment sent {"connection_id":175676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:12:46] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:46] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:46] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:12:51] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:51] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:12:51] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:12:52] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:52] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07870ea08012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:12:52] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:12:52] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07870"} 
[2026-09-07 02:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914050560001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:12: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-07 02:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727061000,"timestamp_ms":1788727061000,"timestamp_seconds":1788727061,"priority":1,"record_length":96,"hex_timestamp":"000001a07870ea08"} 
[2026-09-07 02: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-07 02:12: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-07 02: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 02:12: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-07 02: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-07 02: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-07 02:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:12: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-07 02:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914050560001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914050560001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914050560001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:12:52] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:12:52] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:13:25] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:25] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:25] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:13:25] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:13:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:13:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02: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-07 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:13: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-07 02: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-07 02: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-07 02:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:13:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:13:25] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:13:25] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:13:51] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:51] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:51] local.INFO: IMEI packet received {"connection_id":172952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":172952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:13:56] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:56] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:13:56] local.INFO: IMEI packet received {"connection_id":172952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":172952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:13:57] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:57] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:13:57] local.INFO: Packet analysis {"connection_id":172952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:13:57] local.INFO: Extracted packet for processing {"connection_id":172952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:13:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:13: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-07 02:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:13:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:13: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-07 02:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:13:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":172952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:13:57] local.INFO: GPS data processed {"connection_id":172952,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:13:57] local.INFO: Acknowledgment sent {"connection_id":172952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:14:29] local.INFO: TCP Data received {"connection_id":172952,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:29] local.INFO: Processing buffer {"connection_id":172952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:29] local.INFO: Packet analysis {"connection_id":172952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:14:29] local.INFO: Extracted packet for processing {"connection_id":172952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:14:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:14: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-07 02:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14: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-07 02:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:14: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-07 02:14: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:14: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-07 02:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:14: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-07 02:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:14:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":172952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:14:29] local.INFO: GPS data processed {"connection_id":172952,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:14:29] local.INFO: Acknowledgment sent {"connection_id":172952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:14:47] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:47] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:47] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:14:48] local.INFO: TCP Data received {"connection_id":172953,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:14:48] local.INFO: Processing buffer {"connection_id":172953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:14:48] local.INFO: IMEI packet received {"connection_id":172953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":172953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:14:51] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:51] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:14:51] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:14:52] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:52] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:14:52] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:14:52] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:14: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-07 02:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02:14: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:14: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-07 02: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-07 02: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-07 02:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:14: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-07 02:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:14:52] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:14:52] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:15:24] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:24] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:24] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:15:24] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:15: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-07 02:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:15:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:15: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-07 02:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:15: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-07 02:15: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-07 02:15: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-07 02:15: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-07 02:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:15: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-07 02:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:15:24] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:15:24] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:15:46] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:46] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:46] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:15:51] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:51] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:15:51] local.INFO: IMEI packet received {"connection_id":174345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":174345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:15:52] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:52] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:15:52] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:15:52] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:15:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02:15: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-07 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:15: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-07 02: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-07 02: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-07 02:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:15: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-07 02:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:15:52] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:15:52] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:16:25] local.INFO: TCP Data received {"connection_id":174345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:25] local.INFO: Processing buffer {"connection_id":174345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:25] local.INFO: Packet analysis {"connection_id":174345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:16:25] local.INFO: Extracted packet for processing {"connection_id":174345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:16:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:16:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02: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-07 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:16: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-07 02: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-07 02: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-07 02:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:16: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-07 02:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:16:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":174345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:16:25] local.INFO: GPS data processed {"connection_id":174345,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:16:25] local.INFO: Acknowledgment sent {"connection_id":174345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:16:46] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:46] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:46] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:16:51] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:51] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:16:51] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:16:52] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:52] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:16:52] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:16:52] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:16:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:16: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-07 02:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02:16: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:16: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-07 02: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-07 02: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-07 02:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:16: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-07 02:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:16:52] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:16:52] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:17:24] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:24] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:24] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:17:24] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:17:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:17: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-07 02:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02:17: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:17: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-07 02: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-07 02: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-07 02:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:17: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-07 02:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:17:24] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:17:24] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:17:46] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:46] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:46] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:17:51] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:51] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:17:51] local.INFO: IMEI packet received {"connection_id":174346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":174346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:17:52] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:52] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787581d0012d34cbc006aa45580000011e1f..."} 
[2026-09-07 02:17:52] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:17:52] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07875"} 
[2026-09-07 02:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914127616001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:17:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727362000,"timestamp_ms":1788727362000,"timestamp_seconds":1788727362,"priority":1,"record_length":96,"hex_timestamp":"000001a0787581d0"} 
[2026-09-07 02: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:17: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-07 02:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914127616001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914127616001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914127616001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:17:52] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:17:52] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:18:27] local.INFO: TCP Data received {"connection_id":174346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:27] local.INFO: Processing buffer {"connection_id":174346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:27] local.INFO: Packet analysis {"connection_id":174346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:18:27] local.INFO: Extracted packet for processing {"connection_id":174346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:18:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18: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-07 02:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:18: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-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:18:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":174346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:18:27] local.INFO: GPS data processed {"connection_id":174346,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:18:27] local.INFO: Acknowledgment sent {"connection_id":174346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:18:51] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:51] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:51] local.INFO: IMEI packet received {"connection_id":172954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":172954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:18:56] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:56] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:18:56] local.INFO: IMEI packet received {"connection_id":172954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":172954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:18:57] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:57] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:18:57] local.INFO: Packet analysis {"connection_id":172954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:18:57] local.INFO: Extracted packet for processing {"connection_id":172954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:18:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":172954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:18:57] local.INFO: GPS data processed {"connection_id":172954,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:18:57] local.INFO: Acknowledgment sent {"connection_id":172954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:19:29] local.INFO: TCP Data received {"connection_id":172954,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:29] local.INFO: Processing buffer {"connection_id":172954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:29] local.INFO: Packet analysis {"connection_id":172954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:19:29] local.INFO: Extracted packet for processing {"connection_id":172954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:19: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-07 02:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19: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-07 02:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:19: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-07 02:19: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:19: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-07 02:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":172954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":172954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:19: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-07 02:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":172954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:19:29] local.INFO: GPS data processed {"connection_id":172954,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:19:29] local.INFO: Acknowledgment sent {"connection_id":172954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:19:46] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:46] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:46] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:19:51] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:51] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:19:51] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:19:52] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:52] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:19:52] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:19:52] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:19: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-07 02:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:19: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-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:19: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-07 02: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-07 02: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-07 02:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:19: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-07 02:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:19:52] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:19:52] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:20:13] local.INFO: TCP Data received {"connection_id":173186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:20:13] local.INFO: Processing buffer {"connection_id":173186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:20:13] local.INFO: IMEI packet received {"connection_id":173186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":173186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:20:24] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:24] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:24] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:20:24] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:20:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:20:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:20: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-07 02:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:20: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-07 02: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:20: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-07 02: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-07 02: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-07 02:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:20: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-07 02:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:20:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:20:24] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:20:24] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:20:46] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:46] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:46] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:20:51] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:51] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:20:51] local.INFO: IMEI packet received {"connection_id":172955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":172955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:20:52] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:52] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:20:52] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:20:52] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:20:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02: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-07 02: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:20: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-07 02: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-07 02: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-07 02:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:20: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-07 02:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:20:52] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:20:52] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:21:23] local.INFO: TCP Data received {"connection_id":172955,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:23] local.INFO: Processing buffer {"connection_id":172955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:23] local.INFO: Packet analysis {"connection_id":172955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:21:23] local.INFO: Extracted packet for processing {"connection_id":172955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:21:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:21: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-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":172955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":172955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:21:23] 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-07 02:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":172955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:21:23] local.INFO: GPS data processed {"connection_id":172955,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:21:23] local.INFO: Acknowledgment sent {"connection_id":172955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:21:51] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:51] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:51] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:21:58] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:58] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:21:58] local.INFO: IMEI packet received {"connection_id":175679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":175679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:21:59] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:59] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:21:59] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:21:59] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:21:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:21:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:21:59] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:21:59] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:22:02] local.INFO: TCP Data received {"connection_id":175679,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:02] local.INFO: Processing buffer {"connection_id":175679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:02] local.INFO: Packet analysis {"connection_id":175679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:22:02] local.INFO: Extracted packet for processing {"connection_id":175679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":175679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:22:02] local.INFO: GPS data processed {"connection_id":175679,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:22:02] local.INFO: Acknowledgment sent {"connection_id":175679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:22:46] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:46] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:46] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:22:51] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:51] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:22:51] local.INFO: IMEI packet received {"connection_id":173187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":173187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:22:52] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:52] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787a1998012d34cbc006aa45580000011e21..."} 
[2026-09-07 02:22:52] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:22:52] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787a"} 
[2026-09-07 02:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:22: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-07 02:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788727663000,"timestamp_ms":1788727663000,"timestamp_seconds":1788727663,"priority":1,"record_length":96,"hex_timestamp":"000001a0787a1998"} 
[2026-09-07 02: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-07 02:22: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-07 02: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:22: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-07 02: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-07 02: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-07 02:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:22: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-07 02:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914204672001,"66":25691,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914204672001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:22:52] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:22:52] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:23:25] local.INFO: TCP Data received {"connection_id":173187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:25] local.INFO: Processing buffer {"connection_id":173187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:25] local.INFO: Packet analysis {"connection_id":173187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:23:25] local.INFO: Extracted packet for processing {"connection_id":173187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:23:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23: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-07 02:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:23: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-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:23: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-07 02: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-07 02: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-07 02:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:23: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-07 02:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":173187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:23:25] local.INFO: GPS data processed {"connection_id":173187,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:23:25] local.INFO: Acknowledgment sent {"connection_id":173187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:23:46] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:46] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:46] local.INFO: IMEI packet received {"connection_id":172956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":172956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:23:52] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:52] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:23:52] local.INFO: IMEI packet received {"connection_id":172956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":172956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:23:53] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:53] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:23:53] local.INFO: Packet analysis {"connection_id":172956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:23:53] local.INFO: Extracted packet for processing {"connection_id":172956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:23: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-07 02:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:23: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-07 02:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:23: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-07 02:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:23: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-07 02:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":172956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:23:53] local.INFO: GPS data processed {"connection_id":172956,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:23:53] local.INFO: Acknowledgment sent {"connection_id":172956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:24:24] local.INFO: TCP Data received {"connection_id":172956,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:24:24] local.INFO: Processing buffer {"connection_id":172956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:24:24] local.INFO: Packet analysis {"connection_id":172956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:24:24] local.INFO: Extracted packet for processing {"connection_id":172956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:24:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:24: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-07 02:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:24: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-07 02: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:24: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-07 02: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-07 02: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-07 02:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":172956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:24:24] local.INFO: GPS data processed {"connection_id":172956,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:24:24] local.INFO: Acknowledgment sent {"connection_id":172956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:24:51] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:51] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:51] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:24:56] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:56] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:24:56] local.INFO: IMEI packet received {"connection_id":175682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":175682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:25:00] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:00] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:00] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:00] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:00] 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-07 02:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:25:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:25:00] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:25:00] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:25:02] local.INFO: TCP Data received {"connection_id":175682,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:02] local.INFO: Processing buffer {"connection_id":175682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:02] local.INFO: Packet analysis {"connection_id":175682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:02] local.INFO: Extracted packet for processing {"connection_id":175682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:02] 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-07 02:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:25:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":175682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:25:02] local.INFO: GPS data processed {"connection_id":175682,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:25:02] local.INFO: Acknowledgment sent {"connection_id":175682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:25:46] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:46] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:46] local.INFO: IMEI packet received {"connection_id":175683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":175683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:25:48] local.INFO: TCP Data received {"connection_id":175684,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:25:48] local.INFO: Processing buffer {"connection_id":175684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:25:48] local.INFO: IMEI packet received {"connection_id":175684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:25:51] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:51] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:25:51] local.INFO: IMEI packet received {"connection_id":175683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":175683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:25:56] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:56] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:25:56] local.INFO: Packet analysis {"connection_id":175683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:56] local.INFO: Extracted packet for processing {"connection_id":175683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:25:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:25: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-07 02:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:25: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:25: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-07 02:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:25:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":175683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:25:56] local.INFO: GPS data processed {"connection_id":175683,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:25:56] local.INFO: Acknowledgment sent {"connection_id":175683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:26:30] local.INFO: TCP Data received {"connection_id":175683,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:30] local.INFO: Processing buffer {"connection_id":175683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:30] local.INFO: Packet analysis {"connection_id":175683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:26:30] local.INFO: Extracted packet for processing {"connection_id":175683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26: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-07 02:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:26: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-07 02:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:26:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":175683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:26:30] local.INFO: GPS data processed {"connection_id":175683,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:26:30] local.INFO: Acknowledgment sent {"connection_id":175683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:26:46] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:46] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:46] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:26:52] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:52] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:26:52] local.INFO: IMEI packet received {"connection_id":174350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":174350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:26:53] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:54] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:26:54] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:26:54] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:26:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:26: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-07 02:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:26: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-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:26:54] 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-07 02:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:26:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:26:54] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:26:54] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:27:26] local.INFO: TCP Data received {"connection_id":174350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:26] local.INFO: Processing buffer {"connection_id":174350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:26] local.INFO: Packet analysis {"connection_id":174350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:27:26] local.INFO: Extracted packet for processing {"connection_id":174350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27: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-07 02:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:27: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-07 02: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":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:27:26] 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-07 02:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:27:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":174350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:27:26] local.INFO: GPS data processed {"connection_id":174350,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:27:26] local.INFO: Acknowledgment sent {"connection_id":174350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:27:51] local.INFO: TCP Data received {"connection_id":172958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:51] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:51] local.INFO: IMEI packet received {"connection_id":172958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":172958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:27:56] local.INFO: TCP Data received {"connection_id":172958,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:56] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:27:56] local.INFO: IMEI packet received {"connection_id":172958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":172958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:27:58] local.INFO: TCP Data received {"connection_id":172958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:58] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:27:58] local.INFO: Packet analysis {"connection_id":172958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:27:58] local.INFO: Extracted packet for processing {"connection_id":172958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02: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-07 02:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":172958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":172958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":172958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":172958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:27:58] local.INFO: GPS data processed {"connection_id":172958,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:27:58] local.INFO: Acknowledgment sent {"connection_id":172958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:28:02] local.INFO: TCP Data received {"connection_id":172958,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:28:02] local.INFO: Processing buffer {"connection_id":172958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0787eb160012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:28:02] local.INFO: Packet analysis {"connection_id":172958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:28:02] local.INFO: Extracted packet for processing {"connection_id":172958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0787e"} 
[2026-09-07 02:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914281728001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788727964000,"timestamp_ms":1788727964000,"timestamp_seconds":1788727964,"priority":1,"record_length":96,"hex_timestamp":"000001a0787eb160"} 
[2026-09-07 02:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 02:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914281728001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914281728001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914281728001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":172958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:28:02] local.INFO: GPS data processed {"connection_id":172958,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:28:02] local.INFO: Acknowledgment sent {"connection_id":172958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:28:46] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:46] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:46] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:28:51] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:51] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:28:51] local.INFO: IMEI packet received {"connection_id":172960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":172960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:28:52] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:28:52] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:28:52] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:28:52] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:28: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-07 02:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:28: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:28: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-07 02: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-07 02: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-07 02:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:28: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-07 02:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:28:52] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:28:52] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:29:24] local.INFO: TCP Data received {"connection_id":172960,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:24] local.INFO: Processing buffer {"connection_id":172960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:24] local.INFO: Packet analysis {"connection_id":172960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:29:24] local.INFO: Extracted packet for processing {"connection_id":172960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:29:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:29: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:29: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-07 02: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-07 02: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-07 02:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:29: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-07 02:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":172960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:29:24] local.INFO: GPS data processed {"connection_id":172960,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:29:24] local.INFO: Acknowledgment sent {"connection_id":172960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:29:51] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:51] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:51] local.INFO: IMEI packet received {"connection_id":173189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":173189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:29:56] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:56] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:29:56] local.INFO: IMEI packet received {"connection_id":173189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":173189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:29:58] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:58] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:29:58] local.INFO: Packet analysis {"connection_id":173189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:29:58] local.INFO: Extracted packet for processing {"connection_id":173189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:29: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-07 02:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:29:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":173189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:29:58] local.INFO: GPS data processed {"connection_id":173189,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:29:58] local.INFO: Acknowledgment sent {"connection_id":173189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:30:02] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:02] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:02] local.INFO: Packet analysis {"connection_id":173189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:30:02] local.INFO: Extracted packet for processing {"connection_id":173189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:30:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":173189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:30:02] local.INFO: GPS data processed {"connection_id":173189,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:30:02] local.INFO: Acknowledgment sent {"connection_id":173189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:30:46] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:46] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:46] local.INFO: IMEI packet received {"connection_id":175686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:30:51] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:51] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:30:51] local.INFO: IMEI packet received {"connection_id":175686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":175686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:30:52] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:52] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:30:52] local.INFO: Packet analysis {"connection_id":175686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:30:52] local.INFO: Extracted packet for processing {"connection_id":175686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:30:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:30: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:30: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-07 02:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:30:52] local.INFO: GPS data processed {"connection_id":175686,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:30:52] local.INFO: Acknowledgment sent {"connection_id":175686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:31:08] local.INFO: TCP Data received {"connection_id":175687,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:08] local.INFO: Processing buffer {"connection_id":175687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:08] local.INFO: IMEI packet received {"connection_id":175687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":175687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:31:26] local.INFO: TCP Data received {"connection_id":175686,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:26] local.INFO: Processing buffer {"connection_id":175686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:26] local.INFO: Packet analysis {"connection_id":175686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:31:26] local.INFO: Extracted packet for processing {"connection_id":175686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:31:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02: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-07 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:31: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-07 02: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-07 02: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-07 02:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:31: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-07 02:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:31:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":175686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:31:26] local.INFO: GPS data processed {"connection_id":175686,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:31:26] local.INFO: Acknowledgment sent {"connection_id":175686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:31:46] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:46] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:46] local.INFO: IMEI packet received {"connection_id":174352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":174352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:31:51] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:51] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:31:51] local.INFO: IMEI packet received {"connection_id":174352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":174352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:31:52] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:52] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:31:52] local.INFO: Packet analysis {"connection_id":174352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:31:52] local.INFO: Extracted packet for processing {"connection_id":174352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:31:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:31: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-07 02:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:31: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:31: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-07 02: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-07 02: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-07 02:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:31: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-07 02:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":174352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:31:52] local.INFO: GPS data processed {"connection_id":174352,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:31:52] local.INFO: Acknowledgment sent {"connection_id":174352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:31:53] local.INFO: TCP Data received {"connection_id":172961,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:53] local.INFO: Processing buffer {"connection_id":172961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:31:53] local.INFO: IMEI packet received {"connection_id":172961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":172961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:32:24] local.INFO: TCP Data received {"connection_id":174352,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:24] local.INFO: Processing buffer {"connection_id":174352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:24] local.INFO: Packet analysis {"connection_id":174352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:32:24] local.INFO: Extracted packet for processing {"connection_id":174352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32: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-07 02:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:32: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:32: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-07 02: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-07 02: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-07 02:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:32: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-07 02:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":174352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:32:24] local.INFO: GPS data processed {"connection_id":174352,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:32:24] local.INFO: Acknowledgment sent {"connection_id":174352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:32:46] local.INFO: TCP Data received {"connection_id":172962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:46] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:46] local.INFO: IMEI packet received {"connection_id":172962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":172962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:32:51] local.INFO: TCP Data received {"connection_id":172962,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:51] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:32:51] local.INFO: IMEI packet received {"connection_id":172962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":172962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:32:53] local.INFO: TCP Data received {"connection_id":172962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:53] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:32:53] local.INFO: Packet analysis {"connection_id":172962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:32:53] local.INFO: Extracted packet for processing {"connection_id":172962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:32: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-07 02:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:32: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-07 02:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:32: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-07 02:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:32: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-07 02:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":172962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:32:53] local.INFO: GPS data processed {"connection_id":172962,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:32:53] local.INFO: Acknowledgment sent {"connection_id":172962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:33:26] local.INFO: TCP Data received {"connection_id":172962,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:33:26] local.INFO: Processing buffer {"connection_id":172962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078834928012d34cbc006aa45580000011e26..."} 
[2026-09-07 02:33:26] local.INFO: Packet analysis {"connection_id":172962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:33:26] local.INFO: Extracted packet for processing {"connection_id":172962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07883"} 
[2026-09-07 02:33:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914358784001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:33:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:33: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-07 02:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788728265000,"timestamp_ms":1788728265000,"timestamp_seconds":1788728265,"priority":1,"record_length":96,"hex_timestamp":"000001a078834928"} 
[2026-09-07 02: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-07 02:33: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-07 02: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:33: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-07 02: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-07 02: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-07 02:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":172962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":172962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":172962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914358784001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914358784001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:33:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914358784001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":172962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:33:26] local.INFO: GPS data processed {"connection_id":172962,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:33:26] local.INFO: Acknowledgment sent {"connection_id":172962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:33:51] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:33:51] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:33:51] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:34:01] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:01] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:01] local.INFO: IMEI packet received {"connection_id":174354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":174354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:34:03] local.INFO: TCP Data received {"connection_id":174354,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:03] local.INFO: Processing buffer {"connection_id":174354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:03] local.INFO: Packet analysis {"connection_id":174354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:34:03] local.INFO: Extracted packet for processing {"connection_id":174354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":174354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":174354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":174354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:34:03] local.INFO: GPS data processed {"connection_id":174354,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:34:03] local.INFO: Acknowledgment sent {"connection_id":174354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:34:46] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:46] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:46] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:34:51] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:51] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:34:51] local.INFO: IMEI packet received {"connection_id":172963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":172963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:34:52] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:52] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:34:52] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:34:52] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:34: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-07 02:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:34: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:34: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-07 02: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-07 02: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-07 02:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:34: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-07 02:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:34:52] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:34:52] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:35:28] local.INFO: TCP Data received {"connection_id":172963,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:28] local.INFO: Processing buffer {"connection_id":172963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:28] local.INFO: Packet analysis {"connection_id":172963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:35:28] local.INFO: Extracted packet for processing {"connection_id":172963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:35:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35: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-07 02:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":172963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":172963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:35:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":172963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:35:28] local.INFO: GPS data processed {"connection_id":172963,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:35:28] local.INFO: Acknowledgment sent {"connection_id":172963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:35:46] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:46] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:46] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:35:54] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:54] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:35:54] local.INFO: IMEI packet received {"connection_id":175690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":175690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:35:56] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:56] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:35:56] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:35:56] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:35:56] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:35:56] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:36:28] local.INFO: TCP Data received {"connection_id":175690,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:28] local.INFO: Processing buffer {"connection_id":175690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:28] local.INFO: Packet analysis {"connection_id":175690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:36:28] local.INFO: Extracted packet for processing {"connection_id":175690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:36:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36: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-07 02:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:36:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":175690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:36:28] local.INFO: GPS data processed {"connection_id":175690,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:36:28] local.INFO: Acknowledgment sent {"connection_id":175690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:36:46] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:46] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:46] local.INFO: IMEI packet received {"connection_id":172965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":172965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:36:51] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:51] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:36:51] local.INFO: IMEI packet received {"connection_id":172965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":172965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:36:53] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:53] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:36:53] local.INFO: Packet analysis {"connection_id":172965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:36:53] local.INFO: Extracted packet for processing {"connection_id":172965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:36: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-07 02:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:36: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:36: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-07 02: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-07 02: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-07 02:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:36:53] 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-07 02:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":172965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:36:53] local.INFO: GPS data processed {"connection_id":172965,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:36:53] local.INFO: Acknowledgment sent {"connection_id":172965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:37:13] local.INFO: TCP Data received {"connection_id":172964,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:13] local.INFO: Processing buffer {"connection_id":172964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:13] local.INFO: IMEI packet received {"connection_id":172964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":172964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:37:25] local.INFO: TCP Data received {"connection_id":172965,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:37:25] local.INFO: Processing buffer {"connection_id":172965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:37:25] local.INFO: Packet analysis {"connection_id":172965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:37:25] local.INFO: Extracted packet for processing {"connection_id":172965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:37:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:37: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-07 02:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:37: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":172965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":172965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:37: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-07 02:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":172965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:37:25] local.INFO: GPS data processed {"connection_id":172965,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:37:25] local.INFO: Acknowledgment sent {"connection_id":172965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:37:49] local.INFO: TCP Data received {"connection_id":172966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:49] local.INFO: Processing buffer {"connection_id":172966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:37:49] local.INFO: IMEI packet received {"connection_id":172966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":172966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:37:53] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:37:53] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:37:53] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:38:00] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:00] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:00] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:38:01] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:01] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:01] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:38:01] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:38:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02: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-07 02:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:38:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:38:01] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:38:01] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:38:02] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:02] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07887e0f0012d34cbc006aa45580000011e1e..."} 
[2026-09-07 02:38:02] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:38:02] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07887"} 
[2026-09-07 02:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788728566000,"timestamp_ms":1788728566000,"timestamp_seconds":1788728566,"priority":1,"record_length":96,"hex_timestamp":"000001a07887e0f0"} 
[2026-09-07 02:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914435840001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914435840001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:38:02] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:38:02] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:38:46] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:46] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:46] local.INFO: IMEI packet received {"connection_id":174356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:38:51] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:51] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:38:51] local.INFO: IMEI packet received {"connection_id":174356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":174356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:38:52] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:38:52] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:38:52] local.INFO: Packet analysis {"connection_id":174356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:38:52] local.INFO: Extracted packet for processing {"connection_id":174356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:38: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-07 02:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02: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-07 02:38: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:38: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-07 02: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-07 02: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-07 02:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:38: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-07 02:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":174356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:38:52] local.INFO: GPS data processed {"connection_id":174356,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:38:52] local.INFO: Acknowledgment sent {"connection_id":174356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:39:26] local.INFO: TCP Data received {"connection_id":174356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:26] local.INFO: Processing buffer {"connection_id":174356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:26] local.INFO: Packet analysis {"connection_id":174356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:39:26] local.INFO: Extracted packet for processing {"connection_id":174356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 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-07 02:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39: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-07 02:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 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-07 02:39: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-07 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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:39: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-07 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-07 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-07 02:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:39: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-07 02:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":174356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:39:26] local.INFO: GPS data processed {"connection_id":174356,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:39:26] local.INFO: Acknowledgment sent {"connection_id":174356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:39:47] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:47] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:47] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:39:51] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:51] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:39:51] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:39:52] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:52] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:39:52] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:39:52] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:39: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-07 02:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02: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-07 02:39: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-07 02:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:39: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-07 02: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-07 02: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-07 02:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:39: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-07 02:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:39:52] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:39:52] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:40:27] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:27] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:27] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:40:27] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:40:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40: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-07 02:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02: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-07 02:40: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:40: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-07 02: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-07 02: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-07 02:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:40:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:40:28] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:40:28] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:40:52] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:52] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:52] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:40:56] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:56] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:40:56] local.INFO: IMEI packet received {"connection_id":174358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":174358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:40:59] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:59] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:40:59] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:40:59] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:40: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-07 02:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:40: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:40: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-07 02:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:40:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:40:59] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:40:59] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:41:01] local.INFO: TCP Data received {"connection_id":174358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:41:01] local.INFO: Processing buffer {"connection_id":174358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:41:01] local.INFO: Packet analysis {"connection_id":174358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:41:01] local.INFO: Extracted packet for processing {"connection_id":174358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:41:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:41:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:41:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":174358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:41:01] local.INFO: GPS data processed {"connection_id":174358,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:41:01] local.INFO: Acknowledgment sent {"connection_id":174358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:42:10] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:10] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:10] local.INFO: IMEI packet received {"connection_id":175693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":175693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:42:13] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:13] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:13] local.INFO: IMEI packet received {"connection_id":175693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":175693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:42:16] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:16] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:16] local.INFO: Packet analysis {"connection_id":175693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:16] local.INFO: Extracted packet for processing {"connection_id":175693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 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-07 02:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 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-07 02:42: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-07 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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:42: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-07 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-07 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-07 02:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":175693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:42:16] local.INFO: GPS data processed {"connection_id":175693,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:42:16] local.INFO: Acknowledgment sent {"connection_id":175693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:42:20] local.INFO: TCP Data received {"connection_id":175693,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:20] local.INFO: Processing buffer {"connection_id":175693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:20] local.INFO: Packet analysis {"connection_id":175693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:20] local.INFO: Extracted packet for processing {"connection_id":175693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02: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-07 02:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02: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-07 02: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:42: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-07 02: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-07 02: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-07 02:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02: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-07 02:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:42:20] local.INFO: GPS data processed {"connection_id":175693,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:42:20] local.INFO: Acknowledgment sent {"connection_id":175693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:42:46] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:46] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:46] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:42:54] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:54] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:42:54] local.INFO: IMEI packet received {"connection_id":172969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":172969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:42:55] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:55] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0788c78b8012d34cbc006aa45580000011e22..."} 
[2026-09-07 02:42:55] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:55] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0788c"} 
[2026-09-07 02:42:55] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914512896001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:42: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-07 02:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788728867000,"timestamp_ms":1788728867000,"timestamp_seconds":1788728867,"priority":1,"record_length":96,"hex_timestamp":"000001a0788c78b8"} 
[2026-09-07 02: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-07 02:42: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:42:55] 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-07 02:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914512896001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914512896001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914512896001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:42:55] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:42:55] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:43:23] local.INFO: TCP Data received {"connection_id":172970,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:23] local.INFO: Processing buffer {"connection_id":172970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:23] local.INFO: IMEI packet received {"connection_id":172970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":172970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:43:30] local.INFO: TCP Data received {"connection_id":172969,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:30] local.INFO: Processing buffer {"connection_id":172969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:30] local.INFO: Packet analysis {"connection_id":172969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:43:30] local.INFO: Extracted packet for processing {"connection_id":172969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43: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-07 02:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:43: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-07 02:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:43:30] 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-07 02:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":172969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:43:30] local.INFO: GPS data processed {"connection_id":172969,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:43:30] local.INFO: Acknowledgment sent {"connection_id":172969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:43:41] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:41] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:41] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:43:47] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:47] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:47] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:43:48] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:48] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:43:48] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:43:51] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:51] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:43:51] local.INFO: IMEI packet received {"connection_id":173194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":173194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:43:53] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:53] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:43:53] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:43:53] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:43:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:43: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-07 02:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02: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-07 02:43: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:43: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-07 02: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-07 02: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-07 02:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:43: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-07 02:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:43:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:43:53] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:43:53] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:44:01] local.INFO: TCP Data received {"connection_id":173194,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:01] local.INFO: Processing buffer {"connection_id":173194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:01] local.INFO: Packet analysis {"connection_id":173194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:44:01] local.INFO: Extracted packet for processing {"connection_id":173194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":173194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:44:01] local.INFO: GPS data processed {"connection_id":173194,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:44:01] local.INFO: Acknowledgment sent {"connection_id":173194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:44:46] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:46] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:46] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:44:51] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:51] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:44:51] local.INFO: IMEI packet received {"connection_id":172971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":172971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:44:53] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:53] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:44:53] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:44:53] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:44: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-07 02:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02: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-07 02:44: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:44: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-07 02: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-07 02: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-07 02:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:44: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-07 02:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:44:53] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:44:53] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:45:27] local.INFO: TCP Data received {"connection_id":172971,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:45:27] local.INFO: Processing buffer {"connection_id":172971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:45:27] local.INFO: Packet analysis {"connection_id":172971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:45:27] local.INFO: Extracted packet for processing {"connection_id":172971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:45:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:45:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:45: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-07 02:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:45: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-07 02:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:45: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-07 02:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":172971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":172971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:45:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":172971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:45:27] local.INFO: GPS data processed {"connection_id":172971,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:45:27] local.INFO: Acknowledgment sent {"connection_id":172971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:45:46] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:46] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:46] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:45:58] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:58] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:45:58] local.INFO: IMEI packet received {"connection_id":174359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":174359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:46:00] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:00] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:00] local.INFO: Packet analysis {"connection_id":174359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:00] local.INFO: Extracted packet for processing {"connection_id":174359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02: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-07 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":174359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:46:00] local.INFO: GPS data processed {"connection_id":174359,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:46:00] local.INFO: Acknowledgment sent {"connection_id":174359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:46:31] local.INFO: TCP Data received {"connection_id":174359,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:31] local.INFO: Processing buffer {"connection_id":174359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:31] local.INFO: Packet analysis {"connection_id":174359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:31] local.INFO: Extracted packet for processing {"connection_id":174359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46: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-07 02:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02: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-07 02:46: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-07 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:46:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":174359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:46:31] local.INFO: GPS data processed {"connection_id":174359,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:46:31] local.INFO: Acknowledgment sent {"connection_id":174359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:46:52] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:52] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:52] local.INFO: IMEI packet received {"connection_id":172974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":172974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:46:56] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:56] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:46:56] local.INFO: IMEI packet received {"connection_id":172974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":172974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:46:57] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:57] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:46:57] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:57] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:46:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:46:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:46:57] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:46:57] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:47:03] local.INFO: TCP Data received {"connection_id":172974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:03] local.INFO: Processing buffer {"connection_id":172974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:03] local.INFO: Packet analysis {"connection_id":172974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:47:03] local.INFO: Extracted packet for processing {"connection_id":172974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":172974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":172974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":172974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:47:03] local.INFO: GPS data processed {"connection_id":172974,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:47:03] local.INFO: Acknowledgment sent {"connection_id":172974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:47:46] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:46] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:46] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:47:51] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:51] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:47:51] local.INFO: IMEI packet received {"connection_id":172975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":172975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:47:52] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:52] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:47:52] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:47:52] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:47: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-07 02:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02: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-07 02:47: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-07 02: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-07 02: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-07 02: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-07 02: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-07 02:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:47: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-07 02:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:47:52] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:47:52] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:48:30] local.INFO: TCP Data received {"connection_id":172975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:48:30] local.INFO: Processing buffer {"connection_id":172975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078911080012d34cbc006aa45580000011e20..."} 
[2026-09-07 02:48:30] local.INFO: Packet analysis {"connection_id":172975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:48:30] local.INFO: Extracted packet for processing {"connection_id":172975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07891"} 
[2026-09-07 02:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":32,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914589952001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48: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-07 02:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788729168000,"timestamp_ms":1788729168000,"timestamp_seconds":1788729168,"priority":1,"record_length":96,"hex_timestamp":"000001a078911080"} 
[2026-09-07 02:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:48: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-07 02:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 02:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:48: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-07 02:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914589952001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914589952001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914589952001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":172975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:48:30] local.INFO: GPS data processed {"connection_id":172975,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:48:30] local.INFO: Acknowledgment sent {"connection_id":172975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:48:46] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:46] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:46] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:48:51] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:51] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:48:51] local.INFO: IMEI packet received {"connection_id":175694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":175694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:48:53] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:48:53] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:48:53] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:48:53] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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":795,"current_offset":40} 
[2026-09-07 02:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:48: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-07 02:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:48: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-07 02:48: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-07 02:48: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-07 02:48: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-07 02:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:48:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:48:53] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:48:53] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:49:03] local.INFO: TCP Data received {"connection_id":174360,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:49:03] local.INFO: Processing buffer {"connection_id":174360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:49:03] local.INFO: IMEI packet received {"connection_id":174360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":174360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:49:25] local.INFO: TCP Data received {"connection_id":175694,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:25] local.INFO: Processing buffer {"connection_id":175694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:25] local.INFO: Packet analysis {"connection_id":175694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:49:25] local.INFO: Extracted packet for processing {"connection_id":175694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49: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-07 02:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02: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-07 02:49: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:49: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-07 02: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-07 02: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-07 02:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:49: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-07 02:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":175694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:49:25] local.INFO: GPS data processed {"connection_id":175694,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:49:25] local.INFO: Acknowledgment sent {"connection_id":175694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:49:46] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:46] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:46] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:49:51] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:51] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:49:51] local.INFO: IMEI packet received {"connection_id":175695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":175695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:49:57] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:57] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:49:57] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:49:57] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02: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-07 02:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02: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-07 02: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-07 02:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:49:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:49:57] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:49:57] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:50:28] local.INFO: TCP Data received {"connection_id":175695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:28] local.INFO: Processing buffer {"connection_id":175695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:28] local.INFO: Packet analysis {"connection_id":175695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:50:28] local.INFO: Extracted packet for processing {"connection_id":175695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:50:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50: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-07 02:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:50:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":175695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:50:28] local.INFO: GPS data processed {"connection_id":175695,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:50:28] local.INFO: Acknowledgment sent {"connection_id":175695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:50:51] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:51] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:51] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:50:56] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:56] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:50:56] local.INFO: IMEI packet received {"connection_id":174361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":174361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:50:58] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:58] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:50:58] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:50:58] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:50:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:50:58] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:50:58] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:51:02] local.INFO: TCP Data received {"connection_id":174361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:02] local.INFO: Processing buffer {"connection_id":174361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:02] local.INFO: Packet analysis {"connection_id":174361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:51:02] local.INFO: Extracted packet for processing {"connection_id":174361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":174361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:51:02] local.INFO: GPS data processed {"connection_id":174361,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:51:02] local.INFO: Acknowledgment sent {"connection_id":174361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:51:46] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:46] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:46] local.INFO: IMEI packet received {"connection_id":173199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:51:52] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:52] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:51:52] local.INFO: IMEI packet received {"connection_id":173199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":173199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:51:54] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:54] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:51:54] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:51:54] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:51: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-07 02:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02: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-07 02:51: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:51: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-07 02: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-07 02: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-07 02:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:51:54] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:51:54] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:52:27] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:27] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:27] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:52:27] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:52:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:52: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-07 02:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52: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-07 02:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:52: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-07 02:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:52: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-07 02:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:52:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:52:27] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:52:27] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:52:51] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:51] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:51] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:52:56] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:56] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:52:56] local.INFO: IMEI packet received {"connection_id":175697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":175697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:52:57] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:57] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:52:57] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:52:57] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:52: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-07 02:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:52: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-07 02:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:52:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:52:57] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:52:57] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:53:02] local.INFO: TCP Data received {"connection_id":175697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:02] local.INFO: Processing buffer {"connection_id":175697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07895a848012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:02] local.INFO: Packet analysis {"connection_id":175697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:53:02] local.INFO: Extracted packet for processing {"connection_id":175697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07895"} 
[2026-09-07 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914667008001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788729469000,"timestamp_ms":1788729469000,"timestamp_seconds":1788729469,"priority":1,"record_length":96,"hex_timestamp":"000001a07895a848"} 
[2026-09-07 02:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 02:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914667008001,"66":25582,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914667008001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914667008001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":175697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:53:02] local.INFO: GPS data processed {"connection_id":175697,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:53:02] local.INFO: Acknowledgment sent {"connection_id":175697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:53:46] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:46] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:46] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:53:51] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:51] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:53:51] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:53:52] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:52] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:53:52] local.INFO: Packet analysis {"connection_id":173200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:53:52] local.INFO: Extracted packet for processing {"connection_id":173200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:53: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-07 02:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:53: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-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:53:52] 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-07 02: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-07 02: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-07 02:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:53: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-07 02:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":173200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:53:52] local.INFO: GPS data processed {"connection_id":173200,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:53:52] local.INFO: Acknowledgment sent {"connection_id":173200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:54:29] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:29] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:29] local.INFO: Packet analysis {"connection_id":173200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:54:29] local.INFO: Extracted packet for processing {"connection_id":173200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:54:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54: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-07 02:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:54: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-07 02:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:54:29] 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-07 02:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:54:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":173200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:54:29] local.INFO: GPS data processed {"connection_id":173200,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:54:29] local.INFO: Acknowledgment sent {"connection_id":173200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:54:46] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:46] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:46] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:54:48] local.INFO: TCP Data received {"connection_id":175698,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:54:48] local.INFO: Processing buffer {"connection_id":175698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 02:54:48] local.INFO: IMEI packet received {"connection_id":175698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 02:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":175698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:54:53] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:53] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:54:53] local.INFO: IMEI packet received {"connection_id":175699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:54:54] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:54] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:54:54] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:54:54] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:54: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-07 02:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:54: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-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:54:54] 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-07 02: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-07 02: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-07 02:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:54:54] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:54:54] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:55:51] local.INFO: TCP Data received {"connection_id":175699,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:55:51] local.INFO: Processing buffer {"connection_id":175699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:55:51] local.INFO: Packet analysis {"connection_id":175699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:55:51] local.INFO: Extracted packet for processing {"connection_id":175699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:55:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:55: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-07 02:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:55: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-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:55: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-07 02: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-07 02: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-07 02:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":175699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:55:51] local.INFO: GPS data processed {"connection_id":175699,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:55:51] local.INFO: Acknowledgment sent {"connection_id":175699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:55:56] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:55:56] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:55:56] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:56:03] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:03] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:03] local.INFO: IMEI packet received {"connection_id":174362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":174362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:56:07] local.INFO: TCP Data received {"connection_id":174362,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:07] local.INFO: Processing buffer {"connection_id":174362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:07] local.INFO: Packet analysis {"connection_id":174362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:56:07] local.INFO: Extracted packet for processing {"connection_id":174362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:56:07] 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-07 02:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":174362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:56:07] local.INFO: GPS data processed {"connection_id":174362,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:56:07] local.INFO: Acknowledgment sent {"connection_id":174362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:56:46] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:46] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:46] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:56:51] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:51] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:56:51] local.INFO: IMEI packet received {"connection_id":172979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":172979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:56:52] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:52] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:56:52] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:56:52] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:56: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-07 02:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:56: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-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:56:52] 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-07 02: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-07 02: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-07 02:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:56: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-07 02:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:56:52] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:56:52] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:57:24] local.INFO: TCP Data received {"connection_id":172979,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:24] local.INFO: Processing buffer {"connection_id":172979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:24] local.INFO: Packet analysis {"connection_id":172979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:57:24] local.INFO: Extracted packet for processing {"connection_id":172979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:57:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57: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-07 02:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:57: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-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:57: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-07 02: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-07 02: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-07 02:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:57: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-07 02:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:57:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":172979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:57:24] local.INFO: GPS data processed {"connection_id":172979,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:57:24] local.INFO: Acknowledgment sent {"connection_id":172979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:57:51] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:51] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:51] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:57:56] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:56] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:57:56] local.INFO: IMEI packet received {"connection_id":172980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":172980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:57:57] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:57] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:57:57] local.INFO: Packet analysis {"connection_id":172980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:57:57] local.INFO: Extracted packet for processing {"connection_id":172980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:57:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 02:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02: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-07 02:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 02: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:57:57] 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-07 02:57: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-07 02: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-07 02:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:57:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":172980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:57:57] local.INFO: GPS data processed {"connection_id":172980,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:57:57] local.INFO: Acknowledgment sent {"connection_id":172980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:58:30] local.INFO: TCP Data received {"connection_id":172980,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:58:30] local.INFO: Processing buffer {"connection_id":172980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789a4010012d34cbc006aa45580000011e25..."} 
[2026-09-07 02:58:30] local.INFO: Packet analysis {"connection_id":172980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:58:30] local.INFO: Extracted packet for processing {"connection_id":172980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789a"} 
[2026-09-07 02:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 02:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914744064001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 02:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58: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-07 02:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788729770000,"timestamp_ms":1788729770000,"timestamp_seconds":1788729770,"priority":1,"record_length":96,"hex_timestamp":"000001a0789a4010"} 
[2026-09-07 02:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 02:58: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-07 02:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 02:58:30] 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-07 02:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 02:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 02:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":172980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":172980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 02:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914744064001,"66":25680,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 02:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914744064001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:58:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914744064001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":172980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:58:30] local.INFO: GPS data processed {"connection_id":172980,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:58:30] local.INFO: Acknowledgment sent {"connection_id":172980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:58:46] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:46] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:46] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:58:51] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:51] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:58:51] local.INFO: IMEI packet received {"connection_id":175701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":175701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:58:52] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:58:52] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:58:52] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:58:52] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 02:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 02: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-07 02: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:58: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-07 02: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-07 02: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-07 02:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:58: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-07 02:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 02:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:58:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 02:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:58:52] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:58:52] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:59:24] local.INFO: TCP Data received {"connection_id":175701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:24] local.INFO: Processing buffer {"connection_id":175701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:24] local.INFO: Packet analysis {"connection_id":175701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:59:24] local.INFO: Extracted packet for processing {"connection_id":175701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 02:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 02: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-07 02:59: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-07 02: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:59: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-07 02: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-07 02: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-07 02:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:59: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-07 02:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 02:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:59:24] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 02:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":175701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:59:24] local.INFO: GPS data processed {"connection_id":175701,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:59:24] local.INFO: Acknowledgment sent {"connection_id":175701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 02:59:46] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:46] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:46] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 02:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 02:59:51] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:51] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 02:59:51] local.INFO: IMEI packet received {"connection_id":175702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 02:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":175702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 02:59:52] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:52] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 02:59:52] local.INFO: Packet analysis {"connection_id":175702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:59:52] local.INFO: Extracted packet for processing {"connection_id":175702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 02:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 02: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-07 02:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 02:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 02:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 02: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-07 02:59: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-07 02: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 02:59: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-07 02: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-07 02: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-07 02:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 02:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 02:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 02:59: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-07 02:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 02:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 02:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 02:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 02:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 02:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 02:59:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 02:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 02:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 02:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 02:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 02:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":175702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 02:59:52] local.INFO: GPS data processed {"connection_id":175702,"processed":1,"errors":0,"total":1} 
[2026-09-07 02:59:52] local.INFO: Acknowledgment sent {"connection_id":175702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:00:18] local.INFO: TCP Data received {"connection_id":172982,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:18] local.INFO: Processing buffer {"connection_id":172982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:18] local.INFO: IMEI packet received {"connection_id":172982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":172982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:00:23] local.INFO: TCP Data received {"connection_id":175702,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:23] local.INFO: Processing buffer {"connection_id":175702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:23] local.INFO: Packet analysis {"connection_id":175702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:00:23] local.INFO: Extracted packet for processing {"connection_id":175702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:00: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:00:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":175702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:00:24] local.INFO: GPS data processed {"connection_id":175702,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:00:24] local.INFO: Acknowledgment sent {"connection_id":175702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:00:48] local.INFO: TCP Data received {"connection_id":175703,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:48] local.INFO: Processing buffer {"connection_id":175703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:00:48] local.INFO: IMEI packet received {"connection_id":175703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":175703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:00:51] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:51] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:51] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:00:56] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:56] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:00:56] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:00:57] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:57] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:00:57] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:00:57] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:00:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:00:57] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:00:57] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:00:57] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:01:01] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:01] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:01] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:01:01] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:01:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:01:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:01:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:01:01] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:01:01] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:01:46] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:46] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:46] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:01:51] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:51] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:01:51] local.INFO: IMEI packet received {"connection_id":174364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":174364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:01:52] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:52] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:01:52] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:01:52] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:01: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-07 03: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-07 03: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-07 03:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:01: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-07 03:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:01:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:01:52] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:01:52] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:02:23] local.INFO: TCP Data received {"connection_id":174364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:23] local.INFO: Processing buffer {"connection_id":174364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:23] local.INFO: Packet analysis {"connection_id":174364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:02:23] local.INFO: Extracted packet for processing {"connection_id":174364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:02: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:02: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-07 03: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-07 03: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-07 03:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:02:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":174364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:02:23] local.INFO: GPS data processed {"connection_id":174364,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:02:23] local.INFO: Acknowledgment sent {"connection_id":174364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:02:46] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:46] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:46] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:02:51] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:51] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:02:51] local.INFO: IMEI packet received {"connection_id":175704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:02:52] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:52] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:02:52] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:02:52] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:02: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:02: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-07 03: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-07 03: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-07 03:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:02: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-07 03:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:02:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:02:52] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:02:52] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:03:23] local.INFO: TCP Data received {"connection_id":175704,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:03:23] local.INFO: Processing buffer {"connection_id":175704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0789ed7d8012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:03:23] local.INFO: Packet analysis {"connection_id":175704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:03:23] local.INFO: Extracted packet for processing {"connection_id":175704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0789e"} 
[2026-09-07 03:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914821120001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788730071000,"timestamp_ms":1788730071000,"timestamp_seconds":1788730071,"priority":1,"record_length":96,"hex_timestamp":"000001a0789ed7d8"} 
[2026-09-07 03: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-07 03:03: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:03: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-07 03: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-07 03: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-07 03:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914821120001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914821120001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:03:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914821120001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":175704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:03:23] local.INFO: GPS data processed {"connection_id":175704,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:03:23] local.INFO: Acknowledgment sent {"connection_id":175704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:03:46] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:46] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:46] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:03:51] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:51] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:03:51] local.INFO: IMEI packet received {"connection_id":175706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":175706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:03:52] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:03:52] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:03:52] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:03:52] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:03: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:03: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-07 03: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-07 03: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-07 03:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:03: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-07 03:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:03:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:03:52] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:03:52] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:04:23] local.INFO: TCP Data received {"connection_id":175706,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:23] local.INFO: Processing buffer {"connection_id":175706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:23] local.INFO: Packet analysis {"connection_id":175706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:04:23] local.INFO: Extracted packet for processing {"connection_id":175706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:04: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:04: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-07 03: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-07 03: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-07 03:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:04:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":175706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:04:23] local.INFO: GPS data processed {"connection_id":175706,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:04:23] local.INFO: Acknowledgment sent {"connection_id":175706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:04:46] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:46] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:46] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:04:51] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:51] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:04:51] local.INFO: IMEI packet received {"connection_id":174367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":174367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:04:52] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:52] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:04:52] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:04:52] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:04: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:04: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-07 03: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-07 03: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-07 03:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:04: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-07 03:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:04:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:04:52] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:04:52] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:05:23] local.INFO: TCP Data received {"connection_id":174367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:23] local.INFO: Processing buffer {"connection_id":174367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:23] local.INFO: Packet analysis {"connection_id":174367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:05:23] local.INFO: Extracted packet for processing {"connection_id":174367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:05: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-07 03: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-07 03: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-07 03:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:05:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":174367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:05:23] local.INFO: GPS data processed {"connection_id":174367,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:05:23] local.INFO: Acknowledgment sent {"connection_id":174367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:05:51] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:51] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:51] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:05:53] local.INFO: TCP Data received {"connection_id":172983,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:05:53] local.INFO: Processing buffer {"connection_id":172983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:05:53] local.INFO: IMEI packet received {"connection_id":172983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":172983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:05:56] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:56] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:05:56] local.INFO: IMEI packet received {"connection_id":172984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":172984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:05:57] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:57] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:05:57] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:05:57] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:05:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:05:57] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:05:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:05:57] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:05:57] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:06:02] local.INFO: TCP Data received {"connection_id":172984,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:02] local.INFO: Processing buffer {"connection_id":172984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:02] local.INFO: Packet analysis {"connection_id":172984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:06:02] local.INFO: Extracted packet for processing {"connection_id":172984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":172984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":172984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:06:02] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":172984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:06:02] local.INFO: GPS data processed {"connection_id":172984,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:06:02] local.INFO: Acknowledgment sent {"connection_id":172984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:06:46] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:46] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:46] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:06:51] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:51] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:06:51] local.INFO: IMEI packet received {"connection_id":175707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":175707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:06:52] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:52] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:06:52] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:06:52] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:06: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-07 03: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-07 03: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-07 03:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:06: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-07 03:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:06:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:06:52] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:06:52] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:07:38] local.INFO: TCP Data received {"connection_id":175707,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:38] local.INFO: Processing buffer {"connection_id":175707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:38] local.INFO: Packet analysis {"connection_id":175707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:07:38] local.INFO: Extracted packet for processing {"connection_id":175707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:07:38] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":175707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:07:38] local.INFO: GPS data processed {"connection_id":175707,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:07:38] local.INFO: Acknowledgment sent {"connection_id":175707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:07:55] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:55] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:55] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:07:56] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:56] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:07:56] local.INFO: IMEI packet received {"connection_id":173204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":173204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:07:59] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:59] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:07:59] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:07:59] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 03: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-07 03:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:07:59] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:07:59] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:07:59] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:08:17] local.INFO: TCP Data received {"connection_id":173204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:08:17] local.INFO: Processing buffer {"connection_id":173204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a36fa0012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:08:17] local.INFO: Packet analysis {"connection_id":173204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:08:17] local.INFO: Extracted packet for processing {"connection_id":173204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a3"} 
[2026-09-07 03:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 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-07 03:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914898176001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788730372000,"timestamp_ms":1788730372000,"timestamp_seconds":1788730372,"priority":1,"record_length":96,"hex_timestamp":"000001a078a36fa0"} 
[2026-09-07 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-07 03:08: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-07 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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:08: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-07 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-07 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-07 03:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:08: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-07 03:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914898176001,"66":25647,"142":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 03:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914898176001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:08:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 03:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914898176001,"power":25647,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":173204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:08:17] local.INFO: GPS data processed {"connection_id":173204,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:08:17] local.INFO: Acknowledgment sent {"connection_id":173204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:10:56] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:10:56] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:10:56] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:11:02] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:02] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:02] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:11:03] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:03] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:03] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:11:03] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 03:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 03:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788730673000,"timestamp_ms":1788730673000,"timestamp_seconds":1788730673,"priority":1,"record_length":96,"hex_timestamp":"000001a078a80768"} 
[2026-09-07 03:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914975232001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914975232001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:11:03] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:11:03] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:11:28] local.INFO: TCP Data received {"connection_id":173205,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:28] local.INFO: Processing buffer {"connection_id":173205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:28] local.INFO: IMEI packet received {"connection_id":173205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":173205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:11:46] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:46] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:46] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:11:48] local.INFO: TCP Data received {"connection_id":174371,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:48] local.INFO: Processing buffer {"connection_id":174371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:11:48] local.INFO: IMEI packet received {"connection_id":174371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":174371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:11:52] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:52] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:11:52] local.INFO: IMEI packet received {"connection_id":174370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":174370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:11:53] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:53] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:11:53] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:11:53] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 03:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:11: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-07 03:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788730673000,"timestamp_ms":1788730673000,"timestamp_seconds":1788730673,"priority":1,"record_length":96,"hex_timestamp":"000001a078a80768"} 
[2026-09-07 03: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-07 03:11: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:11: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-07 03: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-07 03: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-07 03:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:11: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-07 03:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914975232001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914975232001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:11:53] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:11:53] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:12:35] local.INFO: TCP Data received {"connection_id":174370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:35] local.INFO: Processing buffer {"connection_id":174370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:35] local.INFO: Packet analysis {"connection_id":174370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:12:35] local.INFO: Extracted packet for processing {"connection_id":174370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:35] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 03:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 03:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788730673000,"timestamp_ms":1788730673000,"timestamp_seconds":1788730673,"priority":1,"record_length":96,"hex_timestamp":"000001a078a80768"} 
[2026-09-07 03:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:12: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-07 03:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914975232001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914975232001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":174370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:12:35] local.INFO: GPS data processed {"connection_id":174370,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:12:35] local.INFO: Acknowledgment sent {"connection_id":174370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:12:52] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:52] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:52] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:12:56] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:56] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:12:56] local.INFO: IMEI packet received {"connection_id":175710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":175710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:12:57] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:57] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:12:57] local.INFO: Packet analysis {"connection_id":175710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:12:57] local.INFO: Extracted packet for processing {"connection_id":175710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:12:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 03:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 03:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788730673000,"timestamp_ms":1788730673000,"timestamp_seconds":1788730673,"priority":1,"record_length":96,"hex_timestamp":"000001a078a80768"} 
[2026-09-07 03: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-07 03:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914975232001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:12:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914975232001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":175710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:12:57] local.INFO: GPS data processed {"connection_id":175710,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:12:57] local.INFO: Acknowledgment sent {"connection_id":175710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:13:03] local.INFO: TCP Data received {"connection_id":175710,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:13:03] local.INFO: Processing buffer {"connection_id":175710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078a80768012d34cbc006aa45580000011e26..."} 
[2026-09-07 03:13:03] local.INFO: Packet analysis {"connection_id":175710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:13:03] local.INFO: Extracted packet for processing {"connection_id":175710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078a8"} 
[2026-09-07 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457914975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 03:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 03:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788730673000,"timestamp_ms":1788730673000,"timestamp_seconds":1788730673,"priority":1,"record_length":96,"hex_timestamp":"000001a078a80768"} 
[2026-09-07 03:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457914975232001,"66":25647,"200":0,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457914975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457914975232001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":175710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:13:03] local.INFO: GPS data processed {"connection_id":175710,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:13:03] local.INFO: Acknowledgment sent {"connection_id":175710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:13:46] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:46] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:46] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:13:52] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:52] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:13:52] local.INFO: IMEI packet received {"connection_id":175712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":175712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:13:53] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:13:53] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:13:53] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:13:53] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:13: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-07 03:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:13: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-07 03:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:13: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-07 03:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:13:53] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:13:53] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:13:53] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:14:25] local.INFO: TCP Data received {"connection_id":175712,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:25] local.INFO: Processing buffer {"connection_id":175712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:25] local.INFO: Packet analysis {"connection_id":175712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:14:25] local.INFO: Extracted packet for processing {"connection_id":175712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:14: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-07 03:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:14: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-07 03:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03: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-07 03:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":175712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:14:25] local.INFO: GPS data processed {"connection_id":175712,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:14:25] local.INFO: Acknowledgment sent {"connection_id":175712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:14:46] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:46] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:46] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:14:51] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:51] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:14:51] local.INFO: IMEI packet received {"connection_id":174372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":174372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:14:52] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:52] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:14:52] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:14:52] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:14: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:14: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-07 03: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-07 03: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-07 03:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:14: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-07 03:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:14:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:14:52] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:14:52] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:15:25] local.INFO: TCP Data received {"connection_id":174372,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:25] local.INFO: Processing buffer {"connection_id":174372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:25] local.INFO: Packet analysis {"connection_id":174372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:15:25] local.INFO: Extracted packet for processing {"connection_id":174372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:15:25] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:15: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:15: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-07 03: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-07 03: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-07 03:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:15: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-07 03:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:15:25] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:15:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":174372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:15:25] local.INFO: GPS data processed {"connection_id":174372,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:15:25] local.INFO: Acknowledgment sent {"connection_id":174372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:15:46] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:46] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:46] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:15:51] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:51] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:15:51] local.INFO: IMEI packet received {"connection_id":172986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":172986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:15:52] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:52] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:15:52] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:15:52] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:15: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:15: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-07 03: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-07 03: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-07 03:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:15: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-07 03:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:15:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:15:52] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:15:52] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:16:24] local.INFO: TCP Data received {"connection_id":172986,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:24] local.INFO: Processing buffer {"connection_id":172986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:24] local.INFO: Packet analysis {"connection_id":172986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:16:24] local.INFO: Extracted packet for processing {"connection_id":172986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:16:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:16: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:16: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-07 03: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-07 03: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-07 03:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:16: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-07 03:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:16:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:16:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":172986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:16:24] local.INFO: GPS data processed {"connection_id":172986,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:16:24] local.INFO: Acknowledgment sent {"connection_id":172986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:16:46] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:46] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:46] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:16:51] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:51] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:16:51] local.INFO: IMEI packet received {"connection_id":174374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":174374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:16:52] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:52] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:16:52] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:16:52] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:16: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:16: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-07 03: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-07 03: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-07 03:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:16: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-07 03:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:16:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:16:52] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:16:52] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:17:13] local.INFO: TCP Data received {"connection_id":174375,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:17:13] local.INFO: Processing buffer {"connection_id":174375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:17:13] local.INFO: IMEI packet received {"connection_id":174375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":174375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:17:24] local.INFO: TCP Data received {"connection_id":174374,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:24] local.INFO: Processing buffer {"connection_id":174374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:24] local.INFO: Packet analysis {"connection_id":174374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:17:24] local.INFO: Extracted packet for processing {"connection_id":174374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:17: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:17: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-07 03: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-07 03: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-07 03:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:17: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-07 03:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:17:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":174374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:17:24] local.INFO: GPS data processed {"connection_id":174374,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:17:24] local.INFO: Acknowledgment sent {"connection_id":174374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:17:46] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:46] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:46] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:17:51] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:51] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:17:51] local.INFO: IMEI packet received {"connection_id":174376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":174376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:17:52] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:52] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:17:52] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:17:52] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:17: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-07 03:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:17:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:17:52] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:17:52] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:18:24] local.INFO: TCP Data received {"connection_id":174376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:18:24] local.INFO: Processing buffer {"connection_id":174376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ac9f30012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:18:24] local.INFO: Packet analysis {"connection_id":174376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:18:24] local.INFO: Extracted packet for processing {"connection_id":174376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ac"} 
[2026-09-07 03:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915052288001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788730974000,"timestamp_ms":1788730974000,"timestamp_seconds":1788730974,"priority":1,"record_length":96,"hex_timestamp":"000001a078ac9f30"} 
[2026-09-07 03: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-07 03:18: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:18: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-07 03: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-07 03: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-07 03:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:18: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-07 03:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915052288001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915052288001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:18:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915052288001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":174376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:18:24] local.INFO: GPS data processed {"connection_id":174376,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:18:24] local.INFO: Acknowledgment sent {"connection_id":174376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:18:51] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:51] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:51] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:18:56] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:56] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:18:56] local.INFO: IMEI packet received {"connection_id":174378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":174378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:18:57] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:18:57] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:18:57] local.INFO: Packet analysis {"connection_id":174378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:18:57] local.INFO: Extracted packet for processing {"connection_id":174378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:18:57] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:18:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":174378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:18:57] local.INFO: GPS data processed {"connection_id":174378,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:18:57] local.INFO: Acknowledgment sent {"connection_id":174378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:19:29] local.INFO: TCP Data received {"connection_id":174378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:29] local.INFO: Processing buffer {"connection_id":174378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:29] local.INFO: Packet analysis {"connection_id":174378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:19:29] local.INFO: Extracted packet for processing {"connection_id":174378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:19: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-07 03:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:19: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-07 03:19: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:19: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-07 03:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:19:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":174378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:19:29] local.INFO: GPS data processed {"connection_id":174378,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:19:29] local.INFO: Acknowledgment sent {"connection_id":174378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:19:46] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:46] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:46] local.INFO: IMEI packet received {"connection_id":173207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:19:51] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:51] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:19:51] local.INFO: IMEI packet received {"connection_id":173207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":173207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:19:52] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:52] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:19:52] local.INFO: Packet analysis {"connection_id":173207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:19:52] local.INFO: Extracted packet for processing {"connection_id":173207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03:19: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:19: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-07 03: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-07 03: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-07 03:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:19: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-07 03:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:19:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":173207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:19:52] local.INFO: GPS data processed {"connection_id":173207,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:19:52] local.INFO: Acknowledgment sent {"connection_id":173207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:20:23] local.INFO: TCP Data received {"connection_id":173207,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:23] local.INFO: Processing buffer {"connection_id":173207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:23] local.INFO: Packet analysis {"connection_id":173207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:20:23] local.INFO: Extracted packet for processing {"connection_id":173207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03:20: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:20: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-07 03: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-07 03: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-07 03:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:20:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":173207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:20:23] local.INFO: GPS data processed {"connection_id":173207,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:20:23] local.INFO: Acknowledgment sent {"connection_id":173207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:20:46] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:46] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:46] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:20:51] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:51] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:20:51] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:20:52] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:52] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:20:52] local.INFO: Packet analysis {"connection_id":173208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:20:52] local.INFO: Extracted packet for processing {"connection_id":173208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03:20: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:20: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-07 03: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-07 03: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-07 03:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:20: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-07 03:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:20:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":173208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:20:52] local.INFO: GPS data processed {"connection_id":173208,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:20:52] local.INFO: Acknowledgment sent {"connection_id":173208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:21:24] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:24] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:24] local.INFO: Packet analysis {"connection_id":173208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:21:24] local.INFO: Extracted packet for processing {"connection_id":173208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03:21: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:21: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-07 03: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-07 03: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-07 03:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:21: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-07 03:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:21:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:21:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":173208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:21:24] local.INFO: GPS data processed {"connection_id":173208,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:21:24] local.INFO: Acknowledgment sent {"connection_id":173208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:21:46] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:46] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:46] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:21:51] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:51] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:21:51] local.INFO: IMEI packet received {"connection_id":172989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":172989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:21:52] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:52] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:21:52] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:21:52] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:21: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-07 03:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:21: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-07 03:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:21: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-07 03:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:21:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:21:52] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:21:52] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:22:24] local.INFO: TCP Data received {"connection_id":172989,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:22:24] local.INFO: Processing buffer {"connection_id":172989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:22:24] local.INFO: Packet analysis {"connection_id":172989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:22:24] local.INFO: Extracted packet for processing {"connection_id":172989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:22:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:22: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-07 03:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:22:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":172989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:22:24] local.INFO: GPS data processed {"connection_id":172989,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:22:24] local.INFO: Acknowledgment sent {"connection_id":172989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:22:48] local.INFO: TCP Data received {"connection_id":175715,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:22:48] local.INFO: Processing buffer {"connection_id":175715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:22:48] local.INFO: IMEI packet received {"connection_id":175715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":175715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:22:53] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:22:53] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:22:53] local.INFO: IMEI packet received {"connection_id":174380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":174380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:23:00] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:00] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:00] local.INFO: IMEI packet received {"connection_id":174380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":174380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:23:01] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:01] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:01] local.INFO: Packet analysis {"connection_id":174380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:23:01] local.INFO: Extracted packet for processing {"connection_id":174380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:23:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:23:01] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:23:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":174380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:23:01] local.INFO: GPS data processed {"connection_id":174380,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:23:01] local.INFO: Acknowledgment sent {"connection_id":174380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:23:02] local.INFO: TCP Data received {"connection_id":174380,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:02] local.INFO: Processing buffer {"connection_id":174380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b136f8012d34cbc006aa45580000011e21..."} 
[2026-09-07 03:23:02] local.INFO: Packet analysis {"connection_id":174380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:23:02] local.INFO: Extracted packet for processing {"connection_id":174380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b1"} 
[2026-09-07 03:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":33,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915129344001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788731275000,"timestamp_ms":1788731275000,"timestamp_seconds":1788731275,"priority":1,"record_length":96,"hex_timestamp":"000001a078b136f8"} 
[2026-09-07 03:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915129344001,"66":25647,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915129344001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:23:02] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915129344001,"power":25647,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":174380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:23:02] local.INFO: GPS data processed {"connection_id":174380,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:23:02] local.INFO: Acknowledgment sent {"connection_id":174380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:23:46] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:46] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:46] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:23:51] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:51] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:23:51] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:23:52] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:23:52] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:23:52] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:23:52] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03: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-07 03:23: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:23: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-07 03: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-07 03: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-07 03:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:23: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-07 03:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:23:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:23:52] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:23:52] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:24:24] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:24] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:24] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:24:24] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:24:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03: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-07 03:24: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:24: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-07 03: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-07 03: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-07 03:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:24: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-07 03:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:24:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:24:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:24:24] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:24:24] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:24:51] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:51] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:51] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:24:56] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:56] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:24:56] local.INFO: IMEI packet received {"connection_id":174381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":174381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:24:57] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:57] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:24:57] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:24:57] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:24:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03: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-07 03:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:24:57] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:24:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:24:57] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:24:57] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:25:29] local.INFO: TCP Data received {"connection_id":174381,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:25:29] local.INFO: Processing buffer {"connection_id":174381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:25:29] local.INFO: Packet analysis {"connection_id":174381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:25:29] local.INFO: Extracted packet for processing {"connection_id":174381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:25:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:25: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-07 03:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:25: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-07 03:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:25: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-07 03:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:25:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:25:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":174381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:25:29] local.INFO: GPS data processed {"connection_id":174381,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:25:29] local.INFO: Acknowledgment sent {"connection_id":174381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:25:46] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:25:46] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:25:46] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:26:03] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:03] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:03] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:26:04] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:04] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:04] local.INFO: Packet analysis {"connection_id":173211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:26:04] local.INFO: Extracted packet for processing {"connection_id":173211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:26:04] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:26:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:26:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":173211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:26:04] local.INFO: GPS data processed {"connection_id":173211,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:26:04] local.INFO: Acknowledgment sent {"connection_id":173211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:26:46] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:46] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:46] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:26:58] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:58] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:26:58] local.INFO: IMEI packet received {"connection_id":175717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":175717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:26:59] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:59] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:26:59] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:26:59] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:26: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-07 03:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:26: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:26: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-07 03:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:26:59] 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-07 03:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:26:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:26:59] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:26:59] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:27:35] local.INFO: TCP Data received {"connection_id":175717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:35] local.INFO: Processing buffer {"connection_id":175717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:35] local.INFO: Packet analysis {"connection_id":175717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:27:35] local.INFO: Extracted packet for processing {"connection_id":175717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:27:35] 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-07 03:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:27:35] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":175717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:27:35] local.INFO: GPS data processed {"connection_id":175717,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:27:35] local.INFO: Acknowledgment sent {"connection_id":175717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:27:46] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:46] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:46] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:27:51] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:51] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:27:51] local.INFO: IMEI packet received {"connection_id":174383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":174383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:27:52] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:52] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:27:52] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:27:52] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03: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-07 03:27: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:27: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-07 03: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-07 03: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-07 03:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:27: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-07 03:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:27:52] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:27:52] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:27:52] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:28:18] local.INFO: TCP Data received {"connection_id":175718,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:18] local.INFO: Processing buffer {"connection_id":175718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:18] local.INFO: IMEI packet received {"connection_id":175718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":175718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:28:23] local.INFO: TCP Data received {"connection_id":174383,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:28:23] local.INFO: Processing buffer {"connection_id":174383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078b5cec0012d34cbc006aa45580000011e23..."} 
[2026-09-07 03:28:23] local.INFO: Packet analysis {"connection_id":174383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:28:23] local.INFO: Extracted packet for processing {"connection_id":174383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078b5"} 
[2026-09-07 03:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915206400001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788731576000,"timestamp_ms":1788731576000,"timestamp_seconds":1788731576,"priority":1,"record_length":96,"hex_timestamp":"000001a078b5cec0"} 
[2026-09-07 03: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-07 03:28: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:28: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-07 03: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-07 03: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-07 03:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:28: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-07 03:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915206400001,"66":25615,"30":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,81,24,16,45]} 
[2026-09-07 03:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915206400001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:28:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 03:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915206400001,"power":25615,"unknown_30":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":174383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:28:23] local.INFO: GPS data processed {"connection_id":174383,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:28:23] local.INFO: Acknowledgment sent {"connection_id":174383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:28:46] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:46] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:46] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:28:51] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:51] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:28:51] local.INFO: IMEI packet received {"connection_id":175719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":175719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:28:52] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:28:52] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:28:52] local.INFO: Packet analysis {"connection_id":175719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:28:52] local.INFO: Extracted packet for processing {"connection_id":175719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:28: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-07 03:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:28: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:28: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-07 03: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-07 03: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-07 03:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:28: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-07 03:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":175719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:28:52] local.INFO: GPS data processed {"connection_id":175719,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:28:52] local.INFO: Acknowledgment sent {"connection_id":175719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:28:58] local.INFO: TCP Data received {"connection_id":175720,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:58] local.INFO: Processing buffer {"connection_id":175720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:28:58] local.INFO: IMEI packet received {"connection_id":175720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":175720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:29:23] local.INFO: TCP Data received {"connection_id":175719,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:23] local.INFO: Processing buffer {"connection_id":175719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:23] local.INFO: Packet analysis {"connection_id":175719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:29:23] local.INFO: Extracted packet for processing {"connection_id":175719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:29: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-07 03:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:29: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:29: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-07 03: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-07 03: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-07 03:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":175719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:29:23] local.INFO: GPS data processed {"connection_id":175719,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:29:23] local.INFO: Acknowledgment sent {"connection_id":175719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:29:46] local.INFO: TCP Data received {"connection_id":172991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:46] local.INFO: Processing buffer {"connection_id":172991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:46] local.INFO: IMEI packet received {"connection_id":172991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":172991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:29:51] local.INFO: TCP Data received {"connection_id":172991,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:51] local.INFO: Processing buffer {"connection_id":172991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:29:51] local.INFO: IMEI packet received {"connection_id":172991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":172991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:29:52] local.INFO: TCP Data received {"connection_id":172991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:52] local.INFO: Processing buffer {"connection_id":172991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:29:52] local.INFO: Packet analysis {"connection_id":172991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:29:52] local.INFO: Extracted packet for processing {"connection_id":172991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:29: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-07 03: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:29: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-07 03: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-07 03: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-07 03:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:29: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-07 03:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":172991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:29:52] local.INFO: GPS data processed {"connection_id":172991,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:29:52] local.INFO: Acknowledgment sent {"connection_id":172991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:30:24] local.INFO: TCP Data received {"connection_id":172991,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:24] local.INFO: Processing buffer {"connection_id":172991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:24] local.INFO: Packet analysis {"connection_id":172991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:30:24] local.INFO: Extracted packet for processing {"connection_id":172991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:30:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:30: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03: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-07 03:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:30:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:30:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":172991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:30:24] local.INFO: GPS data processed {"connection_id":172991,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:30:24] local.INFO: Acknowledgment sent {"connection_id":172991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:30:46] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:46] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:46] local.INFO: IMEI packet received {"connection_id":174384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":174384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:30:51] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:51] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:30:51] local.INFO: IMEI packet received {"connection_id":174384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":174384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:30:52] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:52] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:30:52] local.INFO: Packet analysis {"connection_id":174384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:30:52] local.INFO: Extracted packet for processing {"connection_id":174384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:30: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-07 03: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:30: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-07 03: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-07 03: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-07 03:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:30: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-07 03:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":174384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:30:52] local.INFO: GPS data processed {"connection_id":174384,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:30:52] local.INFO: Acknowledgment sent {"connection_id":174384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:31:23] local.INFO: TCP Data received {"connection_id":174384,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:23] local.INFO: Processing buffer {"connection_id":174384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:23] local.INFO: Packet analysis {"connection_id":174384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:31:23] local.INFO: Extracted packet for processing {"connection_id":174384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31: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-07 03:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:31: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:31: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-07 03: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-07 03: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-07 03:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:31: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-07 03:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":174384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:31:23] local.INFO: GPS data processed {"connection_id":174384,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:31:23] local.INFO: Acknowledgment sent {"connection_id":174384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:31:46] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:46] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:46] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:31:52] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:52] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:31:52] local.INFO: IMEI packet received {"connection_id":172992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":172992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:31:53] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:53] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:31:53] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:31:53] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:31:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:31: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-07 03:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:31: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-07 03:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:31:53] 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-07 03:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:31: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-07 03:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:31:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:31:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:31:53] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:31:53] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:32:24] local.INFO: TCP Data received {"connection_id":172992,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:24] local.INFO: Processing buffer {"connection_id":172992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:24] local.INFO: Packet analysis {"connection_id":172992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:32:24] local.INFO: Extracted packet for processing {"connection_id":172992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:32:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32: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-07 03:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:32: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:32: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-07 03: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-07 03: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-07 03:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:32: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-07 03:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:32:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:32:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":172992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:32:25] local.INFO: GPS data processed {"connection_id":172992,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:32:25] local.INFO: Acknowledgment sent {"connection_id":172992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:32:46] local.INFO: TCP Data received {"connection_id":175722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:46] local.INFO: Processing buffer {"connection_id":175722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:46] local.INFO: IMEI packet received {"connection_id":175722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":175722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:32:51] local.INFO: TCP Data received {"connection_id":175722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:51] local.INFO: Processing buffer {"connection_id":175722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:32:51] local.INFO: IMEI packet received {"connection_id":175722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":175722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:32:52] local.INFO: TCP Data received {"connection_id":175722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:52] local.INFO: Processing buffer {"connection_id":175722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:32:52] local.INFO: Packet analysis {"connection_id":175722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:32:52] local.INFO: Extracted packet for processing {"connection_id":175722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:32: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-07 03:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:32: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:32: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-07 03: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-07 03: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-07 03:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:32: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-07 03:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:32:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":175722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:32:52] local.INFO: GPS data processed {"connection_id":175722,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:32:52] local.INFO: Acknowledgment sent {"connection_id":175722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:33:23] local.INFO: TCP Data received {"connection_id":175722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:33:23] local.INFO: Processing buffer {"connection_id":175722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ba6688012d34cbc006aa45580000011e24..."} 
[2026-09-07 03:33:23] local.INFO: Packet analysis {"connection_id":175722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:33:23] local.INFO: Extracted packet for processing {"connection_id":175722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ba"} 
[2026-09-07 03:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:33: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-07 03:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788731877000,"timestamp_ms":1788731877000,"timestamp_seconds":1788731877,"priority":1,"record_length":96,"hex_timestamp":"000001a078ba6688"} 
[2026-09-07 03: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-07 03:33: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-07 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 03:33: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-07 03: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-07 03: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-07 03:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:33: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-07 03:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915283456001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:33:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915283456001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":175722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:33:23] local.INFO: GPS data processed {"connection_id":175722,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:33:23] local.INFO: Acknowledgment sent {"connection_id":175722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:33:46] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:46] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:46] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:33:51] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:51] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:33:51] local.INFO: IMEI packet received {"connection_id":173213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":173213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:33:52] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:33:52] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:33:52] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:33:52] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:33: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:33: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-07 03: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-07 03: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-07 03:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:33: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-07 03:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:33:52] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:33:52] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:34:23] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:23] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:23] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:34:24] local.INFO: TCP Data received {"connection_id":173213,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:24] local.INFO: Processing buffer {"connection_id":173213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:24] local.INFO: Packet analysis {"connection_id":173213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:34:24] local.INFO: Extracted packet for processing {"connection_id":173213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34: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-07 03:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:34: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:34: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-07 03: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-07 03: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-07 03:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:34: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-07 03:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:34:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":173213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:34:24] local.INFO: GPS data processed {"connection_id":173213,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:34:24] local.INFO: Acknowledgment sent {"connection_id":173213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:34:46] local.INFO: TCP Data received {"connection_id":172994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:46] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:46] local.INFO: IMEI packet received {"connection_id":172994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":172994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:34:51] local.INFO: TCP Data received {"connection_id":172994,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:51] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:34:51] local.INFO: IMEI packet received {"connection_id":172994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":172994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:34:53] local.INFO: TCP Data received {"connection_id":172994,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:53] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:34:53] local.INFO: Packet analysis {"connection_id":172994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:34:53] local.INFO: Extracted packet for processing {"connection_id":172994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:34: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-07 03:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:34: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:34: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-07 03: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-07 03: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-07 03:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":172994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":172994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":172994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:34: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-07 03:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":172994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:34:53] local.INFO: GPS data processed {"connection_id":172994,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:34:53] local.INFO: Acknowledgment sent {"connection_id":172994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:34:53] local.INFO: TCP Data received {"connection_id":175723,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:53] local.INFO: Processing buffer {"connection_id":175723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:34:53] local.INFO: IMEI packet received {"connection_id":175723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":175723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:35:24] local.INFO: TCP Data received {"connection_id":172994,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:24] local.INFO: Processing buffer {"connection_id":172994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:24] local.INFO: Packet analysis {"connection_id":172994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:35:24] local.INFO: Extracted packet for processing {"connection_id":172994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:35: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:35: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-07 03: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-07 03: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-07 03:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:35: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-07 03:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":172994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:35:24] local.INFO: GPS data processed {"connection_id":172994,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:35:24] local.INFO: Acknowledgment sent {"connection_id":172994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:35:46] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:46] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:46] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:35:51] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:51] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:35:51] local.INFO: IMEI packet received {"connection_id":175724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":175724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:35:52] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:52] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:35:52] local.INFO: Packet analysis {"connection_id":175724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:35:52] local.INFO: Extracted packet for processing {"connection_id":175724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:35: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:35: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-07 03: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-07 03: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-07 03:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:35: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-07 03:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:35:52] local.INFO: GPS data processed {"connection_id":175724,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:35:52] local.INFO: Acknowledgment sent {"connection_id":175724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:36:23] local.INFO: TCP Data received {"connection_id":175724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:23] local.INFO: Processing buffer {"connection_id":175724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:23] local.INFO: Packet analysis {"connection_id":175724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:36:23] local.INFO: Extracted packet for processing {"connection_id":175724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36: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-07 03:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:36: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:36: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-07 03: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-07 03: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-07 03:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:36: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-07 03:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":175724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:36:23] local.INFO: GPS data processed {"connection_id":175724,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:36:23] local.INFO: Acknowledgment sent {"connection_id":175724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:36:46] local.INFO: TCP Data received {"connection_id":172996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:46] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:46] local.INFO: IMEI packet received {"connection_id":172996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":172996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:36:51] local.INFO: TCP Data received {"connection_id":172996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:51] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:36:51] local.INFO: IMEI packet received {"connection_id":172996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":172996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:36:52] local.INFO: TCP Data received {"connection_id":172996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:52] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:36:52] local.INFO: Packet analysis {"connection_id":172996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:36:52] local.INFO: Extracted packet for processing {"connection_id":172996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:36: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-07 03:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:36: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:36: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-07 03: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-07 03: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-07 03:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":172996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":172996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":172996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:36: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-07 03:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":172996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:36:52] local.INFO: GPS data processed {"connection_id":172996,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:36:52] local.INFO: Acknowledgment sent {"connection_id":172996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:37:24] local.INFO: TCP Data received {"connection_id":172996,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":172996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:24] local.INFO: Processing buffer {"connection_id":172996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:24] local.INFO: Packet analysis {"connection_id":172996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:37:24] local.INFO: Extracted packet for processing {"connection_id":172996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:37:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37: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-07 03:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:37: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:37: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-07 03: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-07 03: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-07 03:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":172996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":172996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":172996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:37: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-07 03:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:37:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:37:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":172996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:37:24] local.INFO: GPS data processed {"connection_id":172996,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:37:24] local.INFO: Acknowledgment sent {"connection_id":172996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:37:46] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:46] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:46] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:37:51] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:51] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:37:51] local.INFO: IMEI packet received {"connection_id":175725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":175725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:37:52] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:52] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:37:52] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:37:52] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:37: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-07 03:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:37: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:37: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-07 03: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-07 03: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-07 03:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:37: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-07 03:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:37:52] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:37:52] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:38:23] local.INFO: TCP Data received {"connection_id":175725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:38:23] local.INFO: Processing buffer {"connection_id":175725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078befe50012d34cbc006aa45580000011e22..."} 
[2026-09-07 03:38:23] local.INFO: Packet analysis {"connection_id":175725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:38:23] local.INFO: Extracted packet for processing {"connection_id":175725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078be"} 
[2026-09-07 03:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":34,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915360512001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:38: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-07 03:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732178000,"timestamp_ms":1788732178000,"timestamp_seconds":1788732178,"priority":1,"record_length":96,"hex_timestamp":"000001a078befe50"} 
[2026-09-07 03: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-07 03:38: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:38: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-07 03: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-07 03: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-07 03:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:38:23] 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-07 03:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915360512001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915360512001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915360512001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":175725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:38:23] local.INFO: GPS data processed {"connection_id":175725,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:38:23] local.INFO: Acknowledgment sent {"connection_id":175725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:38:46] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:46] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:46] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:38:51] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:51] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:38:51] local.INFO: IMEI packet received {"connection_id":174387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":174387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:38:52] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:38:52] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:38:52] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:38:52] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:38: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-07 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:38: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-07 03: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-07 03: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-07 03:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:38: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-07 03:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:38:52] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:38:52] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:39:23] local.INFO: TCP Data received {"connection_id":174387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:23] local.INFO: Processing buffer {"connection_id":174387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:23] local.INFO: Packet analysis {"connection_id":174387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:39:23] local.INFO: Extracted packet for processing {"connection_id":174387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39: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-07 03:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:39: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:39: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-07 03: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-07 03: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-07 03:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:39:23] 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-07 03:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":174387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:39:23] local.INFO: GPS data processed {"connection_id":174387,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:39:23] local.INFO: Acknowledgment sent {"connection_id":174387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:39:46] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:46] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:46] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:39:51] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:51] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:39:51] local.INFO: IMEI packet received {"connection_id":175727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":175727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:39:52] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:52] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:39:52] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:39:52] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:39: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-07 03:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:39: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-07 03:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:39: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-07 03: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-07 03: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-07 03:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:39: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-07 03:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:39:52] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:39:52] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:40:23] local.INFO: TCP Data received {"connection_id":175727,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:23] local.INFO: Processing buffer {"connection_id":175727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:23] local.INFO: Packet analysis {"connection_id":175727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:40:23] local.INFO: Extracted packet for processing {"connection_id":175727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:40: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-07 03:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:40: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:40: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-07 03: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-07 03: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-07 03:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:40: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-07 03:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":175727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:40:23] local.INFO: GPS data processed {"connection_id":175727,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:40:23] local.INFO: Acknowledgment sent {"connection_id":175727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:40:23] local.INFO: TCP Data received {"connection_id":175728,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:23] local.INFO: Processing buffer {"connection_id":175728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:23] local.INFO: IMEI packet received {"connection_id":175728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":175728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:40:46] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:46] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:46] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:40:48] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:48] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:40:48] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:40:51] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:51] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:40:51] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:40:52] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:52] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:40:52] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:40:52] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:40: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-07 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:40: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-07 03: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-07 03: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-07 03:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:40: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-07 03:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:40:52] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:40:52] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:41:23] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:23] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:23] local.INFO: Packet analysis {"connection_id":173215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:41:23] local.INFO: Extracted packet for processing {"connection_id":173215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41: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-07 03:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:41: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:41: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-07 03: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-07 03: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-07 03:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":173215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:41:23] local.INFO: GPS data processed {"connection_id":173215,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:41:23] local.INFO: Acknowledgment sent {"connection_id":173215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:41:46] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:46] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:46] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:41:51] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:51] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:41:51] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:41:52] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:52] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:41:52] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:41:52] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:41: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-07 03:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:41: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:41: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-07 03: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-07 03: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-07 03:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:41: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-07 03:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:41:52] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:41:52] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:42:24] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:24] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:24] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:42:24] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42: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-07 03:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:42: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-07 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:42: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-07 03: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-07 03: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-07 03:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:42: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-07 03:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:42:24] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:42:24] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:42:46] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:46] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:46] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:42:51] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:51] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:42:51] local.INFO: IMEI packet received {"connection_id":175729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":175729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:42:52] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:52] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:42:52] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:42:52] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:42: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-07 03:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:42: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:42: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-07 03: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-07 03: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-07 03:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:42: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-07 03:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:42:52] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:42:52] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:43:24] local.INFO: TCP Data received {"connection_id":175729,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:43:24] local.INFO: Processing buffer {"connection_id":175729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c39618012d34cbc006aa45580000011e25..."} 
[2026-09-07 03:43:24] local.INFO: Packet analysis {"connection_id":175729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:43:24] local.INFO: Extracted packet for processing {"connection_id":175729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c3"} 
[2026-09-07 03:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43: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-07 03:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732479000,"timestamp_ms":1788732479000,"timestamp_seconds":1788732479,"priority":1,"record_length":96,"hex_timestamp":"000001a078c39618"} 
[2026-09-07 03: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-07 03:43: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:43: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-07 03: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-07 03: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-07 03:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:43:24] 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-07 03:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915437568001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:43:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:43:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915437568001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":175729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:43:24] local.INFO: GPS data processed {"connection_id":175729,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:43:24] local.INFO: Acknowledgment sent {"connection_id":175729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:43:51] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:51] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:51] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:43:56] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:56] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:43:56] local.INFO: IMEI packet received {"connection_id":174388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":174388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:43:57] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:43:57] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:43:57] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:43:57] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:43: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-07 03:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:43: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-07 03:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:43:57] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:43:57] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:44:01] local.INFO: TCP Data received {"connection_id":174388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:01] local.INFO: Processing buffer {"connection_id":174388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:01] local.INFO: Packet analysis {"connection_id":174388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:44:01] local.INFO: Extracted packet for processing {"connection_id":174388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:44:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:44:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":174388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:44:01] local.INFO: GPS data processed {"connection_id":174388,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:44:01] local.INFO: Acknowledgment sent {"connection_id":174388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:44:46] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:46] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:46] local.INFO: IMEI packet received {"connection_id":173001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:44:51] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:51] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:44:51] local.INFO: IMEI packet received {"connection_id":173001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:44:52] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:52] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:44:52] local.INFO: Packet analysis {"connection_id":173001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:44:52] local.INFO: Extracted packet for processing {"connection_id":173001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:44: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-07 03: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-07 03: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-07 03:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:44: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-07 03:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":173001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:44:52] local.INFO: GPS data processed {"connection_id":173001,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:44:52] local.INFO: Acknowledgment sent {"connection_id":173001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:45:23] local.INFO: TCP Data received {"connection_id":173001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:23] local.INFO: Processing buffer {"connection_id":173001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:23] local.INFO: Packet analysis {"connection_id":173001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:45:23] local.INFO: Extracted packet for processing {"connection_id":173001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:45: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-07 03:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:45: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-07 03: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-07 03: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-07 03:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":173001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:45:23] local.INFO: GPS data processed {"connection_id":173001,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:45:23] local.INFO: Acknowledgment sent {"connection_id":173001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:45:46] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:46] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:46] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:45:51] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:51] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:45:51] local.INFO: IMEI packet received {"connection_id":174389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":174389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:45:52] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:52] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:45:52] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:45:52] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:45: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-07 03: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-07 03: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-07 03:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:45: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-07 03:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:45:52] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:45:52] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:46:13] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:46:13] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:46:13] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:46:23] local.INFO: TCP Data received {"connection_id":174389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:23] local.INFO: Processing buffer {"connection_id":174389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:23] local.INFO: Packet analysis {"connection_id":174389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:46:23] local.INFO: Extracted packet for processing {"connection_id":174389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46: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-07 03:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03:46: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:46: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-07 03: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-07 03: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-07 03:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":174389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:46:23] local.INFO: GPS data processed {"connection_id":174389,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:46:23] local.INFO: Acknowledgment sent {"connection_id":174389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:46:46] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:46] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:46] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:46:51] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:51] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:46:51] local.INFO: IMEI packet received {"connection_id":174390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":174390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:46:52] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:52] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:46:52] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:46:52] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:46: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-07 03:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03:46: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:46: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-07 03: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-07 03: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-07 03:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:46: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-07 03:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:46:52] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:46:52] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:47:24] local.INFO: TCP Data received {"connection_id":174390,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:24] local.INFO: Processing buffer {"connection_id":174390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:24] local.INFO: Packet analysis {"connection_id":174390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:47:24] local.INFO: Extracted packet for processing {"connection_id":174390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:47: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-07 03:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:47: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-07 03:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:47: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-07 03:47: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-07 03:47: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-07 03:47: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-07 03:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:47: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-07 03:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":174390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:47:24] local.INFO: GPS data processed {"connection_id":174390,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:47:24] local.INFO: Acknowledgment sent {"connection_id":174390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:47:46] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:46] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:46] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:47:51] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:51] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:47:51] local.INFO: IMEI packet received {"connection_id":175730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":175730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:47:52] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:52] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:47:52] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:47:52] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03:47: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:47: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-07 03:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:47:52] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:47:52] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:48:23] local.INFO: TCP Data received {"connection_id":175730,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:48:23] local.INFO: Processing buffer {"connection_id":175730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078c82de0012d34cbc006aa45580000011e28..."} 
[2026-09-07 03:48:23] local.INFO: Packet analysis {"connection_id":175730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:48:23] local.INFO: Extracted packet for processing {"connection_id":175730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078c8"} 
[2026-09-07 03:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915514624001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48: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-07 03:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788732780000,"timestamp_ms":1788732780000,"timestamp_seconds":1788732780,"priority":1,"record_length":96,"hex_timestamp":"000001a078c82de0"} 
[2026-09-07 03: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-07 03:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:48: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-07 03: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-07 03: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-07 03:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:48:23] 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-07 03:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915514624001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915514624001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915514624001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":175730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:48:23] local.INFO: GPS data processed {"connection_id":175730,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:48:23] local.INFO: Acknowledgment sent {"connection_id":175730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:48:51] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:51] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:51] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:48:56] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:56] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:48:56] local.INFO: IMEI packet received {"connection_id":174391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":174391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:48:57] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:48:57] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:48:57] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:48:57] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:48:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:48:57] 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-07 03:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:48:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:48:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:48:57] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:48:57] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:49:01] local.INFO: TCP Data received {"connection_id":174391,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:01] local.INFO: Processing buffer {"connection_id":174391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:01] local.INFO: Packet analysis {"connection_id":174391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:49:01] local.INFO: Extracted packet for processing {"connection_id":174391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 03:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 03:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 03:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 03:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 03:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:49:01] 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-07 03:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:49:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:49:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":174391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:49:01] local.INFO: GPS data processed {"connection_id":174391,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:49:01] local.INFO: Acknowledgment sent {"connection_id":174391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:49:46] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:46] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:46] local.INFO: IMEI packet received {"connection_id":173225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:49:51] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:51] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:49:51] local.INFO: IMEI packet received {"connection_id":173225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":173225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:49:52] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:52] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:49:52] local.INFO: Packet analysis {"connection_id":173225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:49:52] local.INFO: Extracted packet for processing {"connection_id":173225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:49: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-07 03:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:49: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:49: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-07 03: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-07 03: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-07 03:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:49: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-07 03:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":173225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:49:52] local.INFO: GPS data processed {"connection_id":173225,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:49:52] local.INFO: Acknowledgment sent {"connection_id":173225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:50:23] local.INFO: TCP Data received {"connection_id":173225,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:23] local.INFO: Processing buffer {"connection_id":173225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:23] local.INFO: Packet analysis {"connection_id":173225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:50:23] local.INFO: Extracted packet for processing {"connection_id":173225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:50: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-07 03:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:50: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:50: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-07 03: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-07 03: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-07 03:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:50: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-07 03:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":173225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:50:23] local.INFO: GPS data processed {"connection_id":173225,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:50:23] local.INFO: Acknowledgment sent {"connection_id":173225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:50:46] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:46] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:46] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:50:51] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:51] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:50:51] local.INFO: IMEI packet received {"connection_id":173002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:50:52] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:52] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:50:52] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:50:52] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:50: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:50: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-07 03: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-07 03: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-07 03:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:50: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-07 03:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:50:52] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:50:52] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:51:23] local.INFO: TCP Data received {"connection_id":173002,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:23] local.INFO: Processing buffer {"connection_id":173002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:23] local.INFO: Packet analysis {"connection_id":173002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:51:23] local.INFO: Extracted packet for processing {"connection_id":173002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51: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-07 03:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:51: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-07 03: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-07 03: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-07 03:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:51:23] 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-07 03:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":173002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:51:23] local.INFO: GPS data processed {"connection_id":173002,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:51:23] local.INFO: Acknowledgment sent {"connection_id":173002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:51:46] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:46] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:46] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:51:51] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:51] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:51:51] local.INFO: IMEI packet received {"connection_id":175732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":175732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:51:52] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:52] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:51:52] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:51:52] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:51: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-07 03:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:51: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-07 03: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-07 03: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-07 03:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:51: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-07 03:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:51:52] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:51:52] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:51:53] local.INFO: TCP Data received {"connection_id":175733,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:51:53] local.INFO: Processing buffer {"connection_id":175733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:51:53] local.INFO: IMEI packet received {"connection_id":175733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:52:23] local.INFO: TCP Data received {"connection_id":175732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:23] local.INFO: Processing buffer {"connection_id":175732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:23] local.INFO: Packet analysis {"connection_id":175732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:52:23] local.INFO: Extracted packet for processing {"connection_id":175732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:52: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-07 03:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:52: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-07 03: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-07 03: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-07 03:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:52: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-07 03:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":175732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:52:23] local.INFO: GPS data processed {"connection_id":175732,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:52:23] local.INFO: Acknowledgment sent {"connection_id":175732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:52:46] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:46] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:46] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:52:51] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:51] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:52:51] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:52:52] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:52] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:52:52] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:52:52] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:52: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:52: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-07 03:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:52:52] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:52:52] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:53:23] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:53:23] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ccc5a8012d34cbc006aa45580000011e2a..."} 
[2026-09-07 03:53:23] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:53:23] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078cc"} 
[2026-09-07 03:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915591680001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53: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-07 03:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733081000,"timestamp_ms":1788733081000,"timestamp_seconds":1788733081,"priority":1,"record_length":96,"hex_timestamp":"000001a078ccc5a8"} 
[2026-09-07 03: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-07 03:53: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:53: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-07 03: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-07 03: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-07 03:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:53: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-07 03:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915591680001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915591680001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:53:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915591680001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:53:24] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:53:24] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:53:46] local.INFO: TCP Data received {"connection_id":174392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:46] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:46] local.INFO: IMEI packet received {"connection_id":174392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:53:51] local.INFO: TCP Data received {"connection_id":174392,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:51] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:53:51] local.INFO: IMEI packet received {"connection_id":174392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":174392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:53:52] local.INFO: TCP Data received {"connection_id":174392,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:53:52] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:53:52] local.INFO: Packet analysis {"connection_id":174392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:53:52] local.INFO: Extracted packet for processing {"connection_id":174392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:53: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-07 03:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:53: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-07 03:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:53: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-07 03: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-07 03: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-07 03:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:53: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-07 03:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":174392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:53:52] local.INFO: GPS data processed {"connection_id":174392,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:53:52] local.INFO: Acknowledgment sent {"connection_id":174392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:54:23] local.INFO: TCP Data received {"connection_id":174392,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:23] local.INFO: Processing buffer {"connection_id":174392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:23] local.INFO: Packet analysis {"connection_id":174392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:54:23] local.INFO: Extracted packet for processing {"connection_id":174392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54: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-07 03:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:54: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:54: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-07 03: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-07 03: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-07 03:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:54: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-07 03:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":174392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:54:23] local.INFO: GPS data processed {"connection_id":174392,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:54:23] local.INFO: Acknowledgment sent {"connection_id":174392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:54:46] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:46] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:46] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:54:51] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:51] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:54:51] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:54:52] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:52] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:54:52] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:54:52] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:54: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-07 03:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:54: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:54: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-07 03: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-07 03: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-07 03:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:54: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-07 03:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:54:52] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:54:52] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:55:24] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:24] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:24] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:55:24] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:55:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:55: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:55: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-07 03: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-07 03: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-07 03:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:55: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-07 03:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:55:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:55:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:55:24] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:55:24] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:55:46] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:46] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:46] local.INFO: IMEI packet received {"connection_id":175735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":175735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:55:51] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:51] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:55:51] local.INFO: IMEI packet received {"connection_id":175735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":175735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:55:52] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:52] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:55:52] local.INFO: Packet analysis {"connection_id":175735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:55:52] local.INFO: Extracted packet for processing {"connection_id":175735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:55: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-07 03:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03: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-07 03:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 03: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-07 03: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-07 03:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:55: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-07 03:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":175735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:55:52] local.INFO: GPS data processed {"connection_id":175735,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:55:52] local.INFO: Acknowledgment sent {"connection_id":175735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:56:24] local.INFO: TCP Data received {"connection_id":175735,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:24] local.INFO: Processing buffer {"connection_id":175735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:24] local.INFO: Packet analysis {"connection_id":175735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:56:24] local.INFO: Extracted packet for processing {"connection_id":175735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:56:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:56: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-07 03: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-07 03: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-07 03: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-07 03: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-07 03:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:56: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-07 03:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:56:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:56:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":175735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:56:24] local.INFO: GPS data processed {"connection_id":175735,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:56:24] local.INFO: Acknowledgment sent {"connection_id":175735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:56:46] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:46] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:46] local.INFO: IMEI packet received {"connection_id":174393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":174393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:56:51] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:51] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:56:51] local.INFO: IMEI packet received {"connection_id":174393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":174393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:56:52] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:52] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:56:52] local.INFO: Packet analysis {"connection_id":174393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:56:52] local.INFO: Extracted packet for processing {"connection_id":174393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:56: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-07 03:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:56: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:56: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-07 03: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-07 03: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-07 03:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:56: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-07 03:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":174393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:56:52] local.INFO: GPS data processed {"connection_id":174393,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:56:52] local.INFO: Acknowledgment sent {"connection_id":174393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:57:13] local.INFO: TCP Data received {"connection_id":174394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:57:13] local.INFO: Processing buffer {"connection_id":174394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 03:57:13] local.INFO: IMEI packet received {"connection_id":174394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 03:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":174394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:57:23] local.INFO: TCP Data received {"connection_id":174393,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:23] local.INFO: Processing buffer {"connection_id":174393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:23] local.INFO: Packet analysis {"connection_id":174393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:57:23] local.INFO: Extracted packet for processing {"connection_id":174393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:57: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-07 03:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:57: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-07 03: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:57: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-07 03: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-07 03: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-07 03:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 03:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":174393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:57:23] local.INFO: GPS data processed {"connection_id":174393,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:57:23] local.INFO: Acknowledgment sent {"connection_id":174393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:57:46] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:46] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:46] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:57:51] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:51] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:57:51] local.INFO: IMEI packet received {"connection_id":173004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":173004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:57:52] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:52] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:57:52] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:57:52] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03: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-07 03:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:57: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:57: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-07 03: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-07 03: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-07 03:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:57: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-07 03:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:57:52] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:57:52] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:58:23] local.INFO: TCP Data received {"connection_id":173004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:58:23] local.INFO: Processing buffer {"connection_id":173004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d15d70012d34cbc006aa45580000011e2c..."} 
[2026-09-07 03:58:23] local.INFO: Packet analysis {"connection_id":173004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:58:23] local.INFO: Extracted packet for processing {"connection_id":173004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d1"} 
[2026-09-07 03:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915668736001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58: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-07 03:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733382000,"timestamp_ms":1788733382000,"timestamp_seconds":1788733382,"priority":1,"record_length":96,"hex_timestamp":"000001a078d15d70"} 
[2026-09-07 03: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-07 03:58: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-07 03: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 03:58: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-07 03: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-07 03: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-07 03:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:58:23] 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-07 03:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915668736001,"66":25680,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915668736001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915668736001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":173004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:58:23] local.INFO: GPS data processed {"connection_id":173004,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:58:23] local.INFO: Acknowledgment sent {"connection_id":173004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:58:46] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:46] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:46] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:58:51] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:51] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:58:51] local.INFO: IMEI packet received {"connection_id":174395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":174395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:58:52] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:58:52] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:58:52] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:58:52] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:58: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-07 03:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 03: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-07 03:58: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-07 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:58: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-07 03: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-07 03: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-07 03:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:58: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-07 03:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:58:52] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:58:52] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:59:23] local.INFO: TCP Data received {"connection_id":174395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:23] local.INFO: Processing buffer {"connection_id":174395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:23] local.INFO: Packet analysis {"connection_id":174395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:59:23] local.INFO: Extracted packet for processing {"connection_id":174395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:59:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59: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-07 03:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 03: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-07 03:59: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-07 03: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:59: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-07 03: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-07 03: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-07 03:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:59: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-07 03:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 03:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:59:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":174395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:59:23] local.INFO: GPS data processed {"connection_id":174395,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:59:23] local.INFO: Acknowledgment sent {"connection_id":174395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 03:59:46] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:46] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:46] local.INFO: IMEI packet received {"connection_id":173232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 03:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":173232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 03:59:51] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:51] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 03:59:51] local.INFO: IMEI packet received {"connection_id":173232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 03:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":173232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 03:59:52] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:52] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 03:59:52] local.INFO: Packet analysis {"connection_id":173232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:59:52] local.INFO: Extracted packet for processing {"connection_id":173232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 03:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 03: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-07 03:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 03:59: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-07 03:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 03: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-07 03: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-07 03: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 03:59: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-07 03: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-07 03: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-07 03:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 03:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 03:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 03:59: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-07 03:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 03:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 03:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 03:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 03:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 03:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 03:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 03:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 03:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 03:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 03:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 03:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":173232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 03:59:52] local.INFO: GPS data processed {"connection_id":173232,"processed":1,"errors":0,"total":1} 
[2026-09-07 03:59:52] local.INFO: Acknowledgment sent {"connection_id":173232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:00:23] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:23] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:23] local.INFO: Packet analysis {"connection_id":173232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:00:23] local.INFO: Extracted packet for processing {"connection_id":173232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:00:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:00: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-07 04:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:00:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":173232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:00:23] local.INFO: GPS data processed {"connection_id":173232,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:00:23] local.INFO: Acknowledgment sent {"connection_id":173232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:00:46] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:46] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:46] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:00:51] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:51] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:00:51] local.INFO: IMEI packet received {"connection_id":175737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":175737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:00:53] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:53] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:00:53] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:00:53] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:00: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-07 04:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:00: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-07 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:00: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-07 04: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-07 04: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-07 04:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04: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-07 04:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:00:53] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:00:53] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:01:24] local.INFO: TCP Data received {"connection_id":175737,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:24] local.INFO: Processing buffer {"connection_id":175737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:24] local.INFO: Packet analysis {"connection_id":175737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:01:24] local.INFO: Extracted packet for processing {"connection_id":175737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:01:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:01: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-07 04: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":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:01: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-07 04: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-07 04: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-07 04:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:01: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-07 04:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:01:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":175737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:01:24] local.INFO: GPS data processed {"connection_id":175737,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:01:24] local.INFO: Acknowledgment sent {"connection_id":175737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:01:46] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:46] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:46] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:01:51] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:51] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:01:51] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:01:52] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:52] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:01:52] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:01:52] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:01: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-07 04:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:01: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-07 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:01: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-07 04: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-07 04: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-07 04:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:01: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-07 04:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:01:52] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:01:52] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:02:23] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:23] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:23] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:02:23] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02: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-07 04:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:02: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-07 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:02: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-07 04: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-07 04: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-07 04:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:02:23] 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-07 04:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:02:23] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:02:23] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:02:46] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:46] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:46] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:02:48] local.INFO: TCP Data received {"connection_id":173005,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:02:48] local.INFO: Processing buffer {"connection_id":173005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:02:48] local.INFO: IMEI packet received {"connection_id":173005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:02:51] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:51] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:02:51] local.INFO: IMEI packet received {"connection_id":175739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:02:52] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:52] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:02:52] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:02:52] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:02: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-07 04:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:02: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-07 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:02: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-07 04: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-07 04: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-07 04:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:02: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-07 04:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:02:52] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:02:52] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:03:23] local.INFO: TCP Data received {"connection_id":175739,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:03:23] local.INFO: Processing buffer {"connection_id":175739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078d5f538012d34cbc006aa45580004011e2c..."} 
[2026-09-07 04:03:23] local.INFO: Packet analysis {"connection_id":175739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:03:23] local.INFO: Extracted packet for processing {"connection_id":175739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078d5"} 
[2026-09-07 04:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915745792001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03: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-07 04:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733683000,"timestamp_ms":1788733683000,"timestamp_seconds":1788733683,"priority":1,"record_length":96,"hex_timestamp":"000001a078d5f538"} 
[2026-09-07 04: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-07 04:03: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-07 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 04:03: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-07 04: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-07 04: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-07 04:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:03: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-07 04:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915745792001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915745792001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915745792001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":175739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:03:23] local.INFO: GPS data processed {"connection_id":175739,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:03:23] local.INFO: Acknowledgment sent {"connection_id":175739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:03:51] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:51] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:51] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:03:56] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:56] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:03:56] local.INFO: IMEI packet received {"connection_id":173006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":173006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:03:57] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:03:57] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:03:57] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:03:57] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:03:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:03: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-07 04:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:03: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-07 04:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:03:57] 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-07 04:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:03:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:03:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:03:57] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:03:57] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:04:01] local.INFO: TCP Data received {"connection_id":173006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:02] local.INFO: Processing buffer {"connection_id":173006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:02] local.INFO: Packet analysis {"connection_id":173006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:04:02] local.INFO: Extracted packet for processing {"connection_id":173006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:04:02] 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-07 04:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:04:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":173006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:04:02] local.INFO: GPS data processed {"connection_id":173006,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:04:02] local.INFO: Acknowledgment sent {"connection_id":173006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:04:46] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:46] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:46] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:04:51] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:51] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:04:51] local.INFO: IMEI packet received {"connection_id":174396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":174396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:04:52] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:52] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:04:52] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:04:52] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:04: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-07 04:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:04: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:04: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-07 04: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-07 04: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-07 04:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:04: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-07 04:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:04:52] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:04:52] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:05:24] local.INFO: TCP Data received {"connection_id":174396,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:24] local.INFO: Processing buffer {"connection_id":174396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:24] local.INFO: Packet analysis {"connection_id":174396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:05:24] local.INFO: Extracted packet for processing {"connection_id":174396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05: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-07 04:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:05: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:05: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-07 04: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-07 04: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-07 04:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:05: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-07 04:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:05:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:05:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":174396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:05:24] local.INFO: GPS data processed {"connection_id":174396,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:05:24] local.INFO: Acknowledgment sent {"connection_id":174396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:05:46] local.INFO: TCP Data received {"connection_id":173008,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:46] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:46] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:05:51] local.INFO: TCP Data received {"connection_id":173008,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:51] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:05:51] local.INFO: IMEI packet received {"connection_id":173008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":173008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:05:52] local.INFO: TCP Data received {"connection_id":173008,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:52] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:05:52] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:05:52] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:05: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-07 04:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:05: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:05: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-07 04: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-07 04: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-07 04:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:05: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-07 04:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:05:52] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:05:52] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:06:24] local.INFO: TCP Data received {"connection_id":173008,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:24] local.INFO: Processing buffer {"connection_id":173008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:24] local.INFO: Packet analysis {"connection_id":173008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:06:24] local.INFO: Extracted packet for processing {"connection_id":173008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:06:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:06: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-07 04:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:06: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:06: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-07 04: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-07 04: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-07 04:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:06: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-07 04:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:06:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":173008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:06:24] local.INFO: GPS data processed {"connection_id":173008,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:06:24] local.INFO: Acknowledgment sent {"connection_id":173008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:06:46] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:46] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:46] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:06:51] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:51] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:06:51] local.INFO: IMEI packet received {"connection_id":175740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":175740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:06:52] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:52] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:06:52] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:06:52] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:06: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:06: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-07 04: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-07 04: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-07 04:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:06: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-07 04:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:06:52] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:06:52] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:07:23] local.INFO: TCP Data received {"connection_id":175740,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:23] local.INFO: Processing buffer {"connection_id":175740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:23] local.INFO: Packet analysis {"connection_id":175740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:07:23] local.INFO: Extracted packet for processing {"connection_id":175740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07: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-07 04:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:07: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:07: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-07 04: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-07 04: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-07 04:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:07:23] 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-07 04:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":175740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:07:23] local.INFO: GPS data processed {"connection_id":175740,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:07:23] local.INFO: Acknowledgment sent {"connection_id":175740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:07:46] local.INFO: TCP Data received {"connection_id":174397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:46] local.INFO: Processing buffer {"connection_id":174397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:46] local.INFO: IMEI packet received {"connection_id":174397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":174397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:07:51] local.INFO: TCP Data received {"connection_id":174397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:51] local.INFO: Processing buffer {"connection_id":174397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:07:51] local.INFO: IMEI packet received {"connection_id":174397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":174397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:07:52] local.INFO: TCP Data received {"connection_id":174397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:52] local.INFO: Processing buffer {"connection_id":174397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:07:52] local.INFO: Packet analysis {"connection_id":174397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:07:52] local.INFO: Extracted packet for processing {"connection_id":174397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:07: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-07 04:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:07: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:07: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-07 04: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-07 04: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-07 04:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:07: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-07 04:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":174397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:07:52] local.INFO: GPS data processed {"connection_id":174397,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:07:52] local.INFO: Acknowledgment sent {"connection_id":174397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:08:08] local.INFO: TCP Data received {"connection_id":175741,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:08:08] local.INFO: Processing buffer {"connection_id":175741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:08:08] local.INFO: IMEI packet received {"connection_id":175741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":175741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:08:23] local.INFO: TCP Data received {"connection_id":174397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:08:23] local.INFO: Processing buffer {"connection_id":174397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078da8d00012d34cbc006aa45580000011e27..."} 
[2026-09-07 04:08:23] local.INFO: Packet analysis {"connection_id":174397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:08:23] local.INFO: Extracted packet for processing {"connection_id":174397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078da"} 
[2026-09-07 04:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915822848001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08: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-07 04:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788733984000,"timestamp_ms":1788733984000,"timestamp_seconds":1788733984,"priority":1,"record_length":96,"hex_timestamp":"000001a078da8d00"} 
[2026-09-07 04: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-07 04:08: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:08: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-07 04: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-07 04: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-07 04:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915822848001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915822848001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915822848001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:08:23] local.INFO: GPS data processed {"connection_id":174397,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:08:23] local.INFO: Acknowledgment sent {"connection_id":174397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:08:51] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:51] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:51] local.INFO: IMEI packet received {"connection_id":173011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":173011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:08:56] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:56] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:08:56] local.INFO: IMEI packet received {"connection_id":173011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":173011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:08:57] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:08:57] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:08:57] local.INFO: Packet analysis {"connection_id":173011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:08:57] local.INFO: Extracted packet for processing {"connection_id":173011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04: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-07 04: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-07 04:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:08:57] 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-07 04:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":173011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:08:57] local.INFO: GPS data processed {"connection_id":173011,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:08:57] local.INFO: Acknowledgment sent {"connection_id":173011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:09:03] local.INFO: TCP Data received {"connection_id":173011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:03] local.INFO: Processing buffer {"connection_id":173011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:03] local.INFO: Packet analysis {"connection_id":173011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:09:03] local.INFO: Extracted packet for processing {"connection_id":173011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:09:03] 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-07 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":173011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:09:03] local.INFO: GPS data processed {"connection_id":173011,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:09:03] local.INFO: Acknowledgment sent {"connection_id":173011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:09:46] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:46] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:46] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:09:51] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:51] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:09:51] local.INFO: IMEI packet received {"connection_id":174398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":174398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:09:52] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:52] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:09:52] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:09:52] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:09: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-07 04: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-07 04: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-07 04:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:09: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-07 04:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:09:52] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:09:52] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:10:23] local.INFO: TCP Data received {"connection_id":174398,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:23] local.INFO: Processing buffer {"connection_id":174398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:23] local.INFO: Packet analysis {"connection_id":174398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:10:23] local.INFO: Extracted packet for processing {"connection_id":174398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10: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-07 04:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:10: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:10: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-07 04: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-07 04: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-07 04:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:10:23] 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-07 04:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":174398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:10:23] local.INFO: GPS data processed {"connection_id":174398,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:10:23] local.INFO: Acknowledgment sent {"connection_id":174398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:10:46] local.INFO: TCP Data received {"connection_id":173012,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:46] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:46] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:10:51] local.INFO: TCP Data received {"connection_id":173012,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:51] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:10:51] local.INFO: IMEI packet received {"connection_id":173012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":173012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:10:53] local.INFO: TCP Data received {"connection_id":173012,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:53] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:10:53] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:10:53] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:10: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-07 04:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:10: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:10: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-07 04: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-07 04: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-07 04:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:10:53] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:10:53] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:11:24] local.INFO: TCP Data received {"connection_id":173012,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:24] local.INFO: Processing buffer {"connection_id":173012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:24] local.INFO: Packet analysis {"connection_id":173012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:11:24] local.INFO: Extracted packet for processing {"connection_id":173012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:11:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:11: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:11: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-07 04: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-07 04: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-07 04:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:11: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-07 04:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:11:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":173012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:11:24] local.INFO: GPS data processed {"connection_id":173012,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:11:24] local.INFO: Acknowledgment sent {"connection_id":173012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:11:46] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:46] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:46] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:11:51] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:51] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:11:51] local.INFO: IMEI packet received {"connection_id":174400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":174400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:11:52] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:52] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:11:52] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:11:52] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:11: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-07 04:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:11: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:11: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-07 04: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-07 04: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-07 04:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:11: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-07 04:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:11:52] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:11:52] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:12:23] local.INFO: TCP Data received {"connection_id":174400,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:23] local.INFO: Processing buffer {"connection_id":174400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:23] local.INFO: Packet analysis {"connection_id":174400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:12:23] local.INFO: Extracted packet for processing {"connection_id":174400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12: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-07 04:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:12: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:12: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-07 04: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-07 04: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-07 04:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:12: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-07 04:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":174400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:12:23] local.INFO: GPS data processed {"connection_id":174400,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:12:23] local.INFO: Acknowledgment sent {"connection_id":174400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:12:46] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:46] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:46] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:12:51] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:51] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:12:51] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:12:52] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:52] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:12:52] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:12:52] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:12: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-07 04:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:12: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:12: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-07 04: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-07 04: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-07 04:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:12: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-07 04:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:12:52] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:12:52] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:13:23] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:13:23] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078df24c8012d34cbc006aa45580000011e2c..."} 
[2026-09-07 04:13:23] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:13:23] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078df"} 
[2026-09-07 04:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915899904001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13: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-07 04:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734285000,"timestamp_ms":1788734285000,"timestamp_seconds":1788734285,"priority":1,"record_length":96,"hex_timestamp":"000001a078df24c8"} 
[2026-09-07 04: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-07 04:13: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:13: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-07 04: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-07 04: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-07 04:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:13: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-07 04:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915899904001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915899904001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915899904001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:13:23] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:13:23] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:13:48] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:13:48] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:13:48] local.INFO: IMEI packet received {"connection_id":173239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:13:51] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:51] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:51] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:13:56] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:56] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:13:56] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:13:57] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:13:57] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:13:57] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:13:57] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:13:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:13: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-07 04:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:13: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-07 04:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:13:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:13:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:13:57] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:13:57] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:14:02] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:02] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:02] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:14:02] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:14:02] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:14:02] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:14:46] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:46] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:46] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:14:51] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:51] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:14:51] local.INFO: IMEI packet received {"connection_id":174401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":174401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:14:52] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:52] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:14:52] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:14:52] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:14: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-07 04:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:14: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:14: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-07 04: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-07 04: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-07 04:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:14: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-07 04:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:14:52] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:14:52] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:15:23] local.INFO: TCP Data received {"connection_id":174401,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:23] local.INFO: Processing buffer {"connection_id":174401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:23] local.INFO: Packet analysis {"connection_id":174401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:15:23] local.INFO: Extracted packet for processing {"connection_id":174401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15: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-07 04:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:15: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:15: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-07 04: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-07 04: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-07 04:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:15: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-07 04:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":174401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:15:23] local.INFO: GPS data processed {"connection_id":174401,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:15:23] local.INFO: Acknowledgment sent {"connection_id":174401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:15:46] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:46] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:46] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:15:51] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:51] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:15:51] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:15:52] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:52] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:15:52] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:15:52] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:15: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-07 04:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:15: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:15: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-07 04: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-07 04: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-07 04:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:15: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-07 04:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:15:52] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:15:52] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:16:23] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:23] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:23] local.INFO: Packet analysis {"connection_id":173241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:16:23] local.INFO: Extracted packet for processing {"connection_id":173241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16: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-07 04:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:16: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:16: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-07 04: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-07 04: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-07 04:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:16:23] 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-07 04:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":173241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:16:23] local.INFO: GPS data processed {"connection_id":173241,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:16:23] local.INFO: Acknowledgment sent {"connection_id":173241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:16:46] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:46] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:46] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:16:51] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:51] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:16:51] local.INFO: IMEI packet received {"connection_id":175746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":175746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:16:52] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:52] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:16:52] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:16:52] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:16: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-07 04:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:16: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:16: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-07 04: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-07 04: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-07 04:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:16: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-07 04:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:16:52] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:16:52] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:17:24] local.INFO: TCP Data received {"connection_id":175746,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:24] local.INFO: Processing buffer {"connection_id":175746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:24] local.INFO: Packet analysis {"connection_id":175746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:17:24] local.INFO: Extracted packet for processing {"connection_id":175746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:17: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-07 04:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:17: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:17: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-07 04: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-07 04: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-07 04:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:17: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-07 04:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":175746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:17:24] local.INFO: GPS data processed {"connection_id":175746,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:17:24] local.INFO: Acknowledgment sent {"connection_id":175746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:17:46] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:46] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:46] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:17:51] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:51] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:17:51] local.INFO: IMEI packet received {"connection_id":174403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":174403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:17:52] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:52] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:17:52] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:17:52] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:17: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:17: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-07 04:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:17:52] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:17:52] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:18:23] local.INFO: TCP Data received {"connection_id":174403,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:18:23] local.INFO: Processing buffer {"connection_id":174403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e3bc90012d34cbc006aa45580000011e29..."} 
[2026-09-07 04:18:23] local.INFO: Packet analysis {"connection_id":174403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:18:23] local.INFO: Extracted packet for processing {"connection_id":174403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e3"} 
[2026-09-07 04:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457915976960001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18: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-07 04:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734586000,"timestamp_ms":1788734586000,"timestamp_seconds":1788734586,"priority":1,"record_length":96,"hex_timestamp":"000001a078e3bc90"} 
[2026-09-07 04: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-07 04:18: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:18: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-07 04: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-07 04: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-07 04:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:18:23] 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-07 04:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457915976960001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457915976960001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457915976960001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":174403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:18:23] local.INFO: GPS data processed {"connection_id":174403,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:18:23] local.INFO: Acknowledgment sent {"connection_id":174403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:18:51] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:51] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:51] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:18:56] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:56] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:18:56] local.INFO: IMEI packet received {"connection_id":175747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":175747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:18:57] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:18:57] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:18:57] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:18:57] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04: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-07 04: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-07 04:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:18:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:18:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:18:57] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:18:57] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:19:01] local.INFO: TCP Data received {"connection_id":175747,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:01] local.INFO: Processing buffer {"connection_id":175747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:01] local.INFO: Packet analysis {"connection_id":175747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:19:01] local.INFO: Extracted packet for processing {"connection_id":175747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:19:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:19:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:19:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":175747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:19:01] local.INFO: GPS data processed {"connection_id":175747,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:19:01] local.INFO: Acknowledgment sent {"connection_id":175747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:19:08] local.INFO: TCP Data received {"connection_id":173014,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:19:08] local.INFO: Processing buffer {"connection_id":173014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:19:08] local.INFO: IMEI packet received {"connection_id":173014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":173014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:19:46] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:46] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:46] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:19:51] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:51] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:19:51] local.INFO: IMEI packet received {"connection_id":173015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":173015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:19:52] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:52] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:19:52] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:19:52] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:19: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-07 04:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:19: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:19: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-07 04: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-07 04: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-07 04:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:19: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-07 04:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:19:52] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:19:52] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:20:23] local.INFO: TCP Data received {"connection_id":173015,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:23] local.INFO: Processing buffer {"connection_id":173015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:23] local.INFO: Packet analysis {"connection_id":173015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:20:23] local.INFO: Extracted packet for processing {"connection_id":173015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20: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-07 04:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:20: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:20: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-07 04: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-07 04: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-07 04:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:20: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-07 04:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":173015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:20:23] local.INFO: GPS data processed {"connection_id":173015,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:20:23] local.INFO: Acknowledgment sent {"connection_id":173015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:20:46] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:46] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:46] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:20:51] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:51] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:20:51] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:20:52] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:52] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:20:52] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:20:52] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:20: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-07 04:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:20: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:20: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-07 04: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-07 04: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-07 04:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:20: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-07 04:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:20:52] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:20:52] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:21:23] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:23] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:23] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:21:23] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21: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-07 04:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:21: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-07 04:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:21: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-07 04:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:21:23] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:21:23] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:21:46] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:46] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:46] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:21:51] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:51] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:21:51] local.INFO: IMEI packet received {"connection_id":174405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":174405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:21:52] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:52] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:21:52] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:21:52] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:21: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-07 04:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:21: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:21: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-07 04: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-07 04: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-07 04:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:21: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-07 04:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:21:52] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:21:52] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:22:23] local.INFO: TCP Data received {"connection_id":174405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:23] local.INFO: Processing buffer {"connection_id":174405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:23] local.INFO: Packet analysis {"connection_id":174405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:22:23] local.INFO: Extracted packet for processing {"connection_id":174405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:22: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-07 04:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":174405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:22:23] local.INFO: GPS data processed {"connection_id":174405,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:22:23] local.INFO: Acknowledgment sent {"connection_id":174405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:22:46] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:46] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:46] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:22:51] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:51] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:22:51] local.INFO: IMEI packet received {"connection_id":175751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":175751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:22:52] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:52] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:22:52] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:22:52] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:22: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:22: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-07 04: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-07 04: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-07 04:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:22: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-07 04:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:22:52] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:22:52] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:23:23] local.INFO: TCP Data received {"connection_id":175751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:23:23] local.INFO: Processing buffer {"connection_id":175751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078e85458012d34cbc006aa45580000011e26..."} 
[2026-09-07 04:23:23] local.INFO: Packet analysis {"connection_id":175751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:23:23] local.INFO: Extracted packet for processing {"connection_id":175751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078e8"} 
[2026-09-07 04:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916054016001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23: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-07 04:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788734887000,"timestamp_ms":1788734887000,"timestamp_seconds":1788734887,"priority":1,"record_length":96,"hex_timestamp":"000001a078e85458"} 
[2026-09-07 04: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-07 04:23: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:23: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-07 04: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-07 04: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-07 04:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:23:23] 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-07 04:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916054016001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916054016001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916054016001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":175751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:23:23] local.INFO: GPS data processed {"connection_id":175751,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:23:23] local.INFO: Acknowledgment sent {"connection_id":175751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:23:51] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:51] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:51] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:23:56] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:56] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:23:56] local.INFO: IMEI packet received {"connection_id":174407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":174407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:23:57] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:23:57] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:23:57] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:23:57] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:23:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04: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-07 04: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-07 04:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:23:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:23:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:23:57] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:23:57] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:24:01] local.INFO: TCP Data received {"connection_id":174407,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:01] local.INFO: Processing buffer {"connection_id":174407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:01] local.INFO: Packet analysis {"connection_id":174407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:24:01] local.INFO: Extracted packet for processing {"connection_id":174407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:24:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04: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-07 04: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-07 04:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:24:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:24:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":174407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:24:01] local.INFO: GPS data processed {"connection_id":174407,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:24:01] local.INFO: Acknowledgment sent {"connection_id":174407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:24:46] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:46] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:46] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:24:48] local.INFO: TCP Data received {"connection_id":173244,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:24:48] local.INFO: Processing buffer {"connection_id":173244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:24:48] local.INFO: IMEI packet received {"connection_id":173244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":173244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:24:51] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:51] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:24:51] local.INFO: IMEI packet received {"connection_id":175752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":175752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:24:52] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:52] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:24:52] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:24:52] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:24: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-07 04: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-07 04: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-07 04:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04: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-07 04:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:24:52] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:24:52] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:25:23] local.INFO: TCP Data received {"connection_id":175752,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:23] local.INFO: Processing buffer {"connection_id":175752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:23] local.INFO: Packet analysis {"connection_id":175752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:25:23] local.INFO: Extracted packet for processing {"connection_id":175752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:25:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25: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-07 04:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:25: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:25: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-07 04: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-07 04: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-07 04:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:25: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-07 04:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:25:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":175752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:25:23] local.INFO: GPS data processed {"connection_id":175752,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:25:23] local.INFO: Acknowledgment sent {"connection_id":175752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:25:46] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:46] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:46] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:25:51] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:51] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:25:51] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:25:52] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:52] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:25:52] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:25:52] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:25: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-07 04:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:25: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-07 04: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-07 04: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-07 04:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:25: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-07 04:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:25:52] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:25:52] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:26:24] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:24] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:24] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:26:24] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:26:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26: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-07 04:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:26: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-07 04:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:26: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-07 04: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-07 04: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-07 04:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:26: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-07 04:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:26:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:26:24] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:26:24] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:26:46] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:46] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:46] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:26:51] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:51] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:26:51] local.INFO: IMEI packet received {"connection_id":175753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":175753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:26:52] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:52] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:26:52] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:26:52] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:26: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-07 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:26: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-07 04:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:26: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-07 04: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-07 04: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-07 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:26: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-07 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:26:52] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:26:52] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:27:23] local.INFO: TCP Data received {"connection_id":175753,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:23] local.INFO: Processing buffer {"connection_id":175753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:23] local.INFO: Packet analysis {"connection_id":175753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:27:23] local.INFO: Extracted packet for processing {"connection_id":175753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27: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-07 04:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:27: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:27: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-07 04: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-07 04: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-07 04:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:27:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":175753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:27:23] local.INFO: GPS data processed {"connection_id":175753,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:27:23] local.INFO: Acknowledgment sent {"connection_id":175753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:27:46] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:46] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:46] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:27:51] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:51] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:27:51] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:27:52] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:52] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:27:52] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:27:52] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:27:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:27: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-07 04:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04: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-07 04:27: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:27: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-07 04: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-07 04: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-07 04:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:27: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-07 04:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:27:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:27:52] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:27:52] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:28:23] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:28:23] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ecec20012d34cbc006aa45580000011e2a..."} 
[2026-09-07 04:28:23] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:28:23] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ec"} 
[2026-09-07 04:28:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916131072001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28: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-07 04:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735188000,"timestamp_ms":1788735188000,"timestamp_seconds":1788735188,"priority":1,"record_length":96,"hex_timestamp":"000001a078ecec20"} 
[2026-09-07 04:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:28: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-07 04:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:28: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-07 04:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:28:23] 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-07 04:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916131072001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916131072001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916131072001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:28:23] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:28:23] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:28:47] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:47] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:47] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:28:51] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:51] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:51] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:28:56] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:56] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:28:56] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:28:57] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:28:57] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:28:57] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:28:57] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:28:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:28:57] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:28:57] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:29:01] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:01] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:01] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:29:01] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:29:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:29:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:29:01] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:29:01] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:29:46] local.INFO: TCP Data received {"connection_id":173018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:46] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:46] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:29:51] local.INFO: TCP Data received {"connection_id":173018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:51] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:29:51] local.INFO: IMEI packet received {"connection_id":173018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":173018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:29:52] local.INFO: TCP Data received {"connection_id":173018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:52] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:29:52] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:29:52] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:29: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-07 04: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-07 04: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-07 04:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04: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-07 04:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:29:52] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:29:52] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:30:18] local.INFO: TCP Data received {"connection_id":173249,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:18] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:18] local.INFO: IMEI packet received {"connection_id":173249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":173249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:30:23] local.INFO: TCP Data received {"connection_id":173018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:23] local.INFO: Processing buffer {"connection_id":173018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:23] local.INFO: Packet analysis {"connection_id":173018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:30:23] local.INFO: Extracted packet for processing {"connection_id":173018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:30: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-07 04:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04:30: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:30: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-07 04: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-07 04: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-07 04:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:30:23] 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-07 04:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":173018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:30:23] local.INFO: GPS data processed {"connection_id":173018,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:30:23] local.INFO: Acknowledgment sent {"connection_id":173018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:30:46] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:46] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:46] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:30:51] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:51] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:30:51] local.INFO: IMEI packet received {"connection_id":174408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":174408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:30:52] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:52] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:30:52] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:30:52] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:30: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-07 04:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:30:52] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:30:52] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:30:53] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:53] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:30:53] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:31:24] local.INFO: TCP Data received {"connection_id":174408,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:24] local.INFO: Processing buffer {"connection_id":174408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:24] local.INFO: Packet analysis {"connection_id":174408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:31:24] local.INFO: Extracted packet for processing {"connection_id":174408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:31:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04:31: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:31: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-07 04: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-07 04: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-07 04:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:31: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-07 04:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:31:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:31:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":174408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:31:24] local.INFO: GPS data processed {"connection_id":174408,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:31:24] local.INFO: Acknowledgment sent {"connection_id":174408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:31:46] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:46] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:46] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:31:51] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:51] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:31:51] local.INFO: IMEI packet received {"connection_id":173020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":173020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:31:52] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:52] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:31:52] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:31:52] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:31: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-07 04:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04:31: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:31: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-07 04: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-07 04: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-07 04:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:31: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-07 04:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:31:52] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:31:52] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:32:23] local.INFO: TCP Data received {"connection_id":173020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:23] local.INFO: Processing buffer {"connection_id":173020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:23] local.INFO: Packet analysis {"connection_id":173020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:32:23] local.INFO: Extracted packet for processing {"connection_id":173020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:32:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32: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-07 04:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04: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-07 04:32: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:32: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-07 04: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-07 04: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-07 04:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:32:23] 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-07 04:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:32:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:32:23] local.INFO: GPS data processed {"connection_id":173020,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:32:23] local.INFO: Acknowledgment sent {"connection_id":173020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:32:51] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:51] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:51] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:32:56] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:56] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:32:56] local.INFO: IMEI packet received {"connection_id":173022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":173022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:32:57] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:57] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:32:57] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:32:57] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:32:57] 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-07 04:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:32:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:32:57] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:32:57] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:33:01] local.INFO: TCP Data received {"connection_id":173022,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:33:01] local.INFO: Processing buffer {"connection_id":173022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f183e8012d34cbc006aa45580000011e28..."} 
[2026-09-07 04:33:01] local.INFO: Packet analysis {"connection_id":173022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:33:01] local.INFO: Extracted packet for processing {"connection_id":173022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f1"} 
[2026-09-07 04:33:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":40,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788735489000,"timestamp_ms":1788735489000,"timestamp_seconds":1788735489,"priority":1,"record_length":96,"hex_timestamp":"000001a078f183e8"} 
[2026-09-07 04:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:33:01] 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-07 04:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916208128001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:33:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:33:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916208128001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":173022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:33:01] local.INFO: GPS data processed {"connection_id":173022,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:33:01] local.INFO: Acknowledgment sent {"connection_id":173022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:33:45] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:45] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:45] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:33:48] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:48] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:33:48] local.INFO: IMEI packet received {"connection_id":174409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":174409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:33:49] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:33:49] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:33:49] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:33:49] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:33: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-07 04:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:33: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:33:49] 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-07 04: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-07 04: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-07 04:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:33: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-07 04:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:33:49] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:33:49] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:34:20] local.INFO: TCP Data received {"connection_id":174409,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:20] local.INFO: Processing buffer {"connection_id":174409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:20] local.INFO: Packet analysis {"connection_id":174409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:34:20] local.INFO: Extracted packet for processing {"connection_id":174409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:34:20] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34: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-07 04:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:34: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-07 04: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-07 04: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-07 04:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:34: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-07 04:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:34:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":174409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:34:20] local.INFO: GPS data processed {"connection_id":174409,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:34:20] local.INFO: Acknowledgment sent {"connection_id":174409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:34:46] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:46] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:46] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:34:51] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:51] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:34:51] local.INFO: IMEI packet received {"connection_id":173251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":173251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:34:52] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:52] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:34:52] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:34:52] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:34: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-07 04:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:34: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:34: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-07 04: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-07 04: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-07 04:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:34: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-07 04:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:34:52] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:34:52] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:35:24] local.INFO: TCP Data received {"connection_id":173251,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:24] local.INFO: Processing buffer {"connection_id":173251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:24] local.INFO: Packet analysis {"connection_id":173251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:35:24] local.INFO: Extracted packet for processing {"connection_id":173251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:35: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:35: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-07 04: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-07 04: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-07 04:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:35: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-07 04:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":173251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:35:24] local.INFO: GPS data processed {"connection_id":173251,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:35:24] local.INFO: Acknowledgment sent {"connection_id":173251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:35:46] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:46] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:46] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:35:51] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:51] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:35:51] local.INFO: IMEI packet received {"connection_id":173023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":173023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:35:52] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:52] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:35:52] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:35:52] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:35: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-07 04: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-07 04: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-07 04:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:35: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-07 04:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:35:52] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:35:52] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:35:58] local.INFO: TCP Data received {"connection_id":175757,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:35:58] local.INFO: Processing buffer {"connection_id":175757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:35:58] local.INFO: IMEI packet received {"connection_id":175757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":175757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:36:23] local.INFO: TCP Data received {"connection_id":173023,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:23] local.INFO: Processing buffer {"connection_id":173023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:23] local.INFO: Packet analysis {"connection_id":173023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:36:23] local.INFO: Extracted packet for processing {"connection_id":173023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:36:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36: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-07 04:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:36: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:36: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-07 04: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-07 04: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-07 04:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:36: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-07 04:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:36:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:36:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":173023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:36:23] local.INFO: GPS data processed {"connection_id":173023,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:36:23] local.INFO: Acknowledgment sent {"connection_id":173023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:36:51] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:36:51] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:36:51] local.INFO: IMEI packet received {"connection_id":175758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:36:52] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:52] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:36:52] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:36:52] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:36: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-07 04:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:36: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-07 04: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-07 04: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-07 04:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:36: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-07 04:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:36:52] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:36:52] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:37:23] local.INFO: TCP Data received {"connection_id":175758,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:23] local.INFO: Processing buffer {"connection_id":175758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:23] local.INFO: Packet analysis {"connection_id":175758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:37:23] local.INFO: Extracted packet for processing {"connection_id":175758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37: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-07 04:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:37: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:37: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-07 04: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-07 04: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-07 04:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:37: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-07 04:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":175758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:37:23] local.INFO: GPS data processed {"connection_id":175758,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:37:23] local.INFO: Acknowledgment sent {"connection_id":175758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:37:46] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:46] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:46] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:37:51] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:51] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:37:51] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:37:52] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:52] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:37:52] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:37:52] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:37: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-07 04:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:37: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:37: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-07 04: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-07 04: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-07 04:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:37: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-07 04:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:37:52] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:37:52] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:38:23] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:23] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f61bb0012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:23] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:38:23] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f6"} 
[2026-09-07 04:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916285184001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38: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-07 04:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788735790000,"timestamp_ms":1788735790000,"timestamp_seconds":1788735790,"priority":1,"record_length":96,"hex_timestamp":"000001a078f61bb0"} 
[2026-09-07 04: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-07 04:38: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:38: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-07 04: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-07 04: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-07 04:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:38: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-07 04:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916285184001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916285184001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916285184001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:38:23] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:38:23] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:38:46] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:46] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:46] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:38:49] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:49] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:38:49] local.INFO: IMEI packet received {"connection_id":175759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":175759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:38:50] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:50] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:38:50] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:38:50] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:38: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-07 04:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:38: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-07 04:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:38: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-07 04:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:38: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-07 04:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:38:50] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:38:50] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:39:21] local.INFO: TCP Data received {"connection_id":175759,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:21] local.INFO: Processing buffer {"connection_id":175759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:21] local.INFO: Packet analysis {"connection_id":175759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:39:21] local.INFO: Extracted packet for processing {"connection_id":175759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:39: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-07 04: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-07 04: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-07 04:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:39: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-07 04:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":175759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:39:21] local.INFO: GPS data processed {"connection_id":175759,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:39:21] local.INFO: Acknowledgment sent {"connection_id":175759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:39:46] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:46] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:46] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:39:51] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:51] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:39:51] local.INFO: IMEI packet received {"connection_id":174411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":174411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:39:53] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:53] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:39:53] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:39:53] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:39:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:39: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-07 04: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-07 04: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-07 04:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:39: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-07 04:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:39:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:39:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:39:53] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:39:53] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:40:24] local.INFO: TCP Data received {"connection_id":174411,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:40:24] local.INFO: Processing buffer {"connection_id":174411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:40:24] local.INFO: Packet analysis {"connection_id":174411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:40:24] local.INFO: Extracted packet for processing {"connection_id":174411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04:40: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:40: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-07 04: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-07 04: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-07 04:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:40: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-07 04:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:40:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":174411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:40:24] local.INFO: GPS data processed {"connection_id":174411,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:40:24] local.INFO: Acknowledgment sent {"connection_id":174411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:41:21] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:21] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:21] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:41:26] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:26] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:26] local.INFO: IMEI packet received {"connection_id":175760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":175760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:41:27] local.INFO: TCP Data received {"connection_id":175760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:27] local.INFO: Processing buffer {"connection_id":175760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:27] local.INFO: Packet analysis {"connection_id":175760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:41:27] local.INFO: Extracted packet for processing {"connection_id":175760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41: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-07 04:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04:41: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:41: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-07 04: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-07 04: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-07 04:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:41:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:41:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":175760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:41:27] local.INFO: GPS data processed {"connection_id":175760,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:41:27] local.INFO: Acknowledgment sent {"connection_id":175760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:41:49] local.INFO: TCP Data received {"connection_id":175761,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:41:49] local.INFO: Processing buffer {"connection_id":175761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:41:49] local.INFO: IMEI packet received {"connection_id":175761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":175761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:41:51] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:51] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:51] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:41:56] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:56] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:41:56] local.INFO: IMEI packet received {"connection_id":174412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:41:57] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:57] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:41:57] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:41:57] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:41:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:41:57] 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-07 04:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:41:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:41:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:41:57] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:41:57] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:42:28] local.INFO: TCP Data received {"connection_id":174412,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:28] local.INFO: Processing buffer {"connection_id":174412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:28] local.INFO: Packet analysis {"connection_id":174412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:42:28] local.INFO: Extracted packet for processing {"connection_id":174412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:42:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 04:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:42:28] 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-07 04:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:42:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:42:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":174412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:42:28] local.INFO: GPS data processed {"connection_id":174412,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:42:28] local.INFO: Acknowledgment sent {"connection_id":174412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:42:45] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:45] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:45] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:42:51] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:51] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:42:51] local.INFO: IMEI packet received {"connection_id":175763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":175763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:42:52] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:52] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:42:52] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:42:52] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:42: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-07 04:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04:42: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-07 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:42: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-07 04: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-07 04: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-07 04:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:42: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-07 04:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:42:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:42:52] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:42:52] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:43:23] local.INFO: TCP Data received {"connection_id":175763,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:43:23] local.INFO: Processing buffer {"connection_id":175763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078fab378012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:43:23] local.INFO: Packet analysis {"connection_id":175763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:43:23] local.INFO: Extracted packet for processing {"connection_id":175763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078fa"} 
[2026-09-07 04:43:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916362240001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43: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-07 04:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736091000,"timestamp_ms":1788736091000,"timestamp_seconds":1788736091,"priority":1,"record_length":96,"hex_timestamp":"000001a078fab378"} 
[2026-09-07 04: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-07 04: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-07 04: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 04:43: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-07 04: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-07 04: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-07 04:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:43: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-07 04:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916362240001,"66":25604,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916362240001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:43:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:43:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916362240001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":175763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:43:23] local.INFO: GPS data processed {"connection_id":175763,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:43:23] local.INFO: Acknowledgment sent {"connection_id":175763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:43:50] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:50] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:50] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:43:51] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:51] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:51] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:43:56] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:56] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:43:56] local.INFO: IMEI packet received {"connection_id":175764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":175764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:43:57] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:43:57] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:43:57] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:43:57] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:43: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-07 04:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:43:57] 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-07 04:43: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-07 04:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:43:57] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:43:57] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:44:28] local.INFO: TCP Data received {"connection_id":175764,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:28] local.INFO: Processing buffer {"connection_id":175764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:28] local.INFO: Packet analysis {"connection_id":175764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:44:28] local.INFO: Extracted packet for processing {"connection_id":175764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:44:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:44:28] 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-07 04:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:44:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:44:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":175764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:44:28] local.INFO: GPS data processed {"connection_id":175764,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:44:28] local.INFO: Acknowledgment sent {"connection_id":175764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:44:46] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:46] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:46] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:44:51] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:51] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:44:51] local.INFO: IMEI packet received {"connection_id":173025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:44:52] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:52] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:44:52] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:44:52] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:44: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:44: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-07 04: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-07 04: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-07 04:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04: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-07 04:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:44:52] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:44:52] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:45:23] local.INFO: TCP Data received {"connection_id":173025,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:23] local.INFO: Processing buffer {"connection_id":173025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:23] local.INFO: Packet analysis {"connection_id":173025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:45:23] local.INFO: Extracted packet for processing {"connection_id":173025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:45: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-07 04:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:45: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:45: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-07 04: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-07 04: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-07 04:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:45: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-07 04:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":173025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:45:23] local.INFO: GPS data processed {"connection_id":173025,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:45:23] local.INFO: Acknowledgment sent {"connection_id":173025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:45:45] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:45] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:45] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:45:51] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:51] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:45:51] local.INFO: IMEI packet received {"connection_id":175765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":175765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:45:52] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:52] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:45:52] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:45:52] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:45: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:45: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-07 04: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-07 04: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-07 04:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:45: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-07 04:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:45:52] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:45:52] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:46:23] local.INFO: TCP Data received {"connection_id":175765,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:23] local.INFO: Processing buffer {"connection_id":175765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:23] local.INFO: Packet analysis {"connection_id":175765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:46:23] local.INFO: Extracted packet for processing {"connection_id":175765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46: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-07 04:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:46: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-07 04: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:46: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-07 04: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-07 04: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-07 04:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:46: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-07 04:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":175765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:46:23] local.INFO: GPS data processed {"connection_id":175765,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:46:23] local.INFO: Acknowledgment sent {"connection_id":175765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:46:45] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:45] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:45] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:46:51] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:51] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:46:51] local.INFO: IMEI packet received {"connection_id":173259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":173259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:46:52] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:52] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:46:52] local.INFO: Packet analysis {"connection_id":173259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:46:52] local.INFO: Extracted packet for processing {"connection_id":173259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:46: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-07 04:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:46: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-07 04: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-07 04: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-07 04:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:46: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-07 04:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":173259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:46:52] local.INFO: GPS data processed {"connection_id":173259,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:46:52] local.INFO: Acknowledgment sent {"connection_id":173259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:47:08] local.INFO: TCP Data received {"connection_id":173258,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:47:08] local.INFO: Processing buffer {"connection_id":173258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:47:08] local.INFO: IMEI packet received {"connection_id":173258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":173258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:47:24] local.INFO: TCP Data received {"connection_id":173259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:24] local.INFO: Processing buffer {"connection_id":173259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:24] local.INFO: Packet analysis {"connection_id":173259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:47:24] local.INFO: Extracted packet for processing {"connection_id":173259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:47: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-07 04:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:47: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-07 04:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:47: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-07 04:47: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-07 04:47: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-07 04:47: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-07 04:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:47: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-07 04:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":173259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:47:24] local.INFO: GPS data processed {"connection_id":173259,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:47:24] local.INFO: Acknowledgment sent {"connection_id":173259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:47:45] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:45] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:45] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:47:51] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:51] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:47:51] local.INFO: IMEI packet received {"connection_id":175766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":175766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:47:52] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:52] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:47:52] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:47:52] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:47: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-07 04: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 04:47: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-07 04: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-07 04: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-07 04:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:47: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-07 04:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:47:52] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:47:52] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:48:23] local.INFO: TCP Data received {"connection_id":175766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:48:23] local.INFO: Processing buffer {"connection_id":175766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078ff4b40012d34cbc006aa45580000011e25..."} 
[2026-09-07 04:48:23] local.INFO: Packet analysis {"connection_id":175766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:48:23] local.INFO: Extracted packet for processing {"connection_id":175766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078ff"} 
[2026-09-07 04:48:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916439296001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48: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-07 04:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736392000,"timestamp_ms":1788736392000,"timestamp_seconds":1788736392,"priority":1,"record_length":96,"hex_timestamp":"000001a078ff4b40"} 
[2026-09-07 04: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-07 04:48: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:48: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-07 04:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916439296001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916439296001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:48:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:48:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916439296001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":175766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:48:23] local.INFO: GPS data processed {"connection_id":175766,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:48:23] local.INFO: Acknowledgment sent {"connection_id":175766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:48:51] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:48:51] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:51] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:48:56] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:56] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:48:56] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:48:57] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:48:57] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:48:57] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:48:57] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:48:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:48:57] 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-07 04:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:48:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:48:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:48:57] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:48:57] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:49:01] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:01] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:01] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:49:01] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:49:01] 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-07 04:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:49:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:49:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:49:01] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:49:01] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:49:46] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:46] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:46] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:49:51] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:51] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:49:51] local.INFO: IMEI packet received {"connection_id":174415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":174415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:49:52] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:52] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:49:52] local.INFO: Packet analysis {"connection_id":174415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:49:52] local.INFO: Extracted packet for processing {"connection_id":174415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:49: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-07 04:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:49: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:49: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-07 04: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-07 04: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-07 04:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:49: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-07 04:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":174415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:49:52] local.INFO: GPS data processed {"connection_id":174415,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:49:52] local.INFO: Acknowledgment sent {"connection_id":174415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:50:23] local.INFO: TCP Data received {"connection_id":174415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:23] local.INFO: Processing buffer {"connection_id":174415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:23] local.INFO: Packet analysis {"connection_id":174415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:50:23] local.INFO: Extracted packet for processing {"connection_id":174415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:50: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-07 04:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:50: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:50: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-07 04: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-07 04: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-07 04:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:50:23] 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-07 04:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":174415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:50:23] local.INFO: GPS data processed {"connection_id":174415,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:50:23] local.INFO: Acknowledgment sent {"connection_id":174415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:50:46] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:46] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:46] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:50:51] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:51] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:50:51] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:50:52] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:52] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:50:52] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:50:52] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:50: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-07 04: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-07 04: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-07 04:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:50: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-07 04:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:50:52] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:50:52] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:51:23] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:23] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:23] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:51:23] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51: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-07 04:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:51: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:51: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-07 04: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-07 04: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-07 04:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:51: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-07 04:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:51:23] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:51:23] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:51:46] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:46] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:46] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:51:51] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:51] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:51:51] local.INFO: IMEI packet received {"connection_id":174417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":174417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:51:52] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:52] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:51:52] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:51:52] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:51: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-07 04:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:51: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:51: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-07 04: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-07 04: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-07 04:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:51: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-07 04:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:51:52] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:51:52] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:52:23] local.INFO: TCP Data received {"connection_id":174417,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:23] local.INFO: Processing buffer {"connection_id":174417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:23] local.INFO: Packet analysis {"connection_id":174417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:52:23] local.INFO: Extracted packet for processing {"connection_id":174417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:52: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-07 04:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:52: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:52: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-07 04: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-07 04: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-07 04:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:52:23] 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-07 04:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":174417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:52:23] local.INFO: GPS data processed {"connection_id":174417,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:52:23] local.INFO: Acknowledgment sent {"connection_id":174417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:52:46] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:46] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:46] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:52:48] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:52:48] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:52:48] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:52:51] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:51] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:52:51] local.INFO: IMEI packet received {"connection_id":174418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":174418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:52:52] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:52] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:52:52] local.INFO: Packet analysis {"connection_id":174418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:52:52] local.INFO: Extracted packet for processing {"connection_id":174418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:52: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:52: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-07 04: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-07 04: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-07 04:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:52: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-07 04:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":174418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:52:52] local.INFO: GPS data processed {"connection_id":174418,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:52:52] local.INFO: Acknowledgment sent {"connection_id":174418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:53:23] local.INFO: TCP Data received {"connection_id":174418,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:53:23] local.INFO: Processing buffer {"connection_id":174418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07903e308012d34cbc006aa45580000011e24..."} 
[2026-09-07 04:53:23] local.INFO: Packet analysis {"connection_id":174418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:53:23] local.INFO: Extracted packet for processing {"connection_id":174418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07903"} 
[2026-09-07 04:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916516352001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53: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-07 04:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736693000,"timestamp_ms":1788736693000,"timestamp_seconds":1788736693,"priority":1,"record_length":96,"hex_timestamp":"000001a07903e308"} 
[2026-09-07 04: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-07 04:53: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:53: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-07 04: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-07 04: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-07 04:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53: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-07 04:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916516352001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916516352001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:53:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916516352001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":174418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:53:23] local.INFO: GPS data processed {"connection_id":174418,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:53:23] local.INFO: Acknowledgment sent {"connection_id":174418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:53:51] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:53:51] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:53:51] local.INFO: IMEI packet received {"connection_id":175767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":175767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:53:52] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:52] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:52] local.INFO: Packet analysis {"connection_id":175767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:53:52] local.INFO: Extracted packet for processing {"connection_id":175767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53: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-07 04:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:53: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-07 04:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:53: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-07 04: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-07 04: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-07 04:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53: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-07 04:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":175767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:53:52] local.INFO: GPS data processed {"connection_id":175767,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:53:52] local.INFO: Acknowledgment sent {"connection_id":175767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:53:56] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:56] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:53:56] local.INFO: Packet analysis {"connection_id":175767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:53:56] local.INFO: Extracted packet for processing {"connection_id":175767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04: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-07 04: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-07 04:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:53:56] 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-07 04:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:53:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":175767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":776999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:53:56] local.INFO: GPS data processed {"connection_id":175767,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:53:56] local.INFO: Acknowledgment sent {"connection_id":175767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:54:28] local.INFO: TCP Data received {"connection_id":175767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:28] local.INFO: Processing buffer {"connection_id":175767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:28] local.INFO: Packet analysis {"connection_id":175767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:54:28] local.INFO: Extracted packet for processing {"connection_id":175767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 04: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-07 04: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-07 04:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:54:28] 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-07 04:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:54:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:54:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":175767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:54:28] local.INFO: GPS data processed {"connection_id":175767,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:54:28] local.INFO: Acknowledgment sent {"connection_id":175767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:54:46] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:46] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:46] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:54:51] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:51] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:54:51] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:54:52] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:52] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:54:52] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:54:52] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:54: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-07 04:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:54: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:54: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-07 04: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-07 04: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-07 04:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:54: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-07 04:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:54:52] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:54:52] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:55:23] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:23] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:23] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:55:23] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55: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-07 04:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:55: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:55: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-07 04: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-07 04: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-07 04:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:55: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-07 04:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:55:23] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:55:23] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:55:46] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:46] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:46] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:55:51] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:51] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:55:51] local.INFO: IMEI packet received {"connection_id":173267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":173267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:55:52] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:52] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:55:52] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:55:52] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:55:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:55: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-07 04:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:55: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:55: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-07 04: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-07 04: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-07 04:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:55: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-07 04:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:55:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:55:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:55:52] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:55:52] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:56:23] local.INFO: TCP Data received {"connection_id":173267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:23] local.INFO: Processing buffer {"connection_id":173267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:23] local.INFO: Packet analysis {"connection_id":173267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:56:23] local.INFO: Extracted packet for processing {"connection_id":173267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56: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-07 04:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:56: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:56: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-07 04: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-07 04: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-07 04:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:56: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-07 04:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":173267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:56:23] local.INFO: GPS data processed {"connection_id":173267,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:56:23] local.INFO: Acknowledgment sent {"connection_id":173267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:56:45] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:45] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:45] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:56:51] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:51] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:56:51] local.INFO: IMEI packet received {"connection_id":174419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":174419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:56:52] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:52] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:56:52] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:56:52] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:56: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-07 04:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:56: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:56: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-07 04: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-07 04: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-07 04:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:56: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-07 04:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:56:52] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:56:52] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:57:23] local.INFO: TCP Data received {"connection_id":174419,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:23] local.INFO: Processing buffer {"connection_id":174419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:23] local.INFO: Packet analysis {"connection_id":174419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:57:23] local.INFO: Extracted packet for processing {"connection_id":174419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:57:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:57: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-07 04:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:57: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-07 04: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:57: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-07 04: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-07 04: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-07 04:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:57: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-07 04:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 04:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:57:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:57:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":174419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:57:23] local.INFO: GPS data processed {"connection_id":174419,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:57:23] local.INFO: Acknowledgment sent {"connection_id":174419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:57:45] local.INFO: TCP Data received {"connection_id":173029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:45] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:45] local.INFO: IMEI packet received {"connection_id":173029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:57:51] local.INFO: TCP Data received {"connection_id":173029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:51] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:57:51] local.INFO: IMEI packet received {"connection_id":173029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":173029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:57:52] local.INFO: TCP Data received {"connection_id":173029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:52] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:57:52] local.INFO: Packet analysis {"connection_id":173029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:57:52] local.INFO: Extracted packet for processing {"connection_id":173029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04: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-07 04:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:57: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-07 04: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-07 04: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-07 04: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-07 04: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-07 04:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:57: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-07 04:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":173029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:57:52] local.INFO: GPS data processed {"connection_id":173029,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:57:52] local.INFO: Acknowledgment sent {"connection_id":173029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:58:13] local.INFO: TCP Data received {"connection_id":173030,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:58:13] local.INFO: Processing buffer {"connection_id":173030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 04:58:13] local.INFO: IMEI packet received {"connection_id":173030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 04:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":173030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:58:23] local.INFO: TCP Data received {"connection_id":173029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:58:23] local.INFO: Processing buffer {"connection_id":173029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079087ad0012d34cbc006aa45580004011e24..."} 
[2026-09-07 04:58:23] local.INFO: Packet analysis {"connection_id":173029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:58:23] local.INFO: Extracted packet for processing {"connection_id":173029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07908"} 
[2026-09-07 04:58:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":4,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916593408001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58: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-07 04:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788736994000,"timestamp_ms":1788736994000,"timestamp_seconds":1788736994,"priority":1,"record_length":96,"hex_timestamp":"000001a079087ad0"} 
[2026-09-07 04: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-07 04:58: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-07 04: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 04:58: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-07 04: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-07 04: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-07 04:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58: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-07 04:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916593408001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916593408001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:58:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:58:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916593408001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":173029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:58:23] local.INFO: GPS data processed {"connection_id":173029,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:58:23] local.INFO: Acknowledgment sent {"connection_id":173029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:58:51] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:51] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:51] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:58:52] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:52] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:58:52] local.INFO: IMEI packet received {"connection_id":175768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":175768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:58:54] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:54] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:54] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:58:54] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58: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-07 04:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 04: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-07 04:58: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-07 04: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 04:58:54] 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-07 04: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-07 04: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-07 04:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:58:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:58:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:58:54] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:58:54] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:58:56] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:56] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:58:56] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:58:56] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:58:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 04:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 04:58:56] 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-07 04:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:58:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:58:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:58:56] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:58:56] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:59:28] local.INFO: TCP Data received {"connection_id":175768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:28] local.INFO: Processing buffer {"connection_id":175768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:28] local.INFO: Packet analysis {"connection_id":175768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:59:28] local.INFO: Extracted packet for processing {"connection_id":175768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:59:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 04:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 04:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 04:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 04:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 04:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 04:59:28] 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-07 04:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 04:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 04:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 04:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:59:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:59:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":175768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:59:28] local.INFO: GPS data processed {"connection_id":175768,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:59:28] local.INFO: Acknowledgment sent {"connection_id":175768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 04:59:46] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:46] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:46] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 04:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 04:59:51] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:51] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 04:59:51] local.INFO: IMEI packet received {"connection_id":173269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 04:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":173269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 04:59:52] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:52] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 04:59:52] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:59:52] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 04:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 04: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-07 04:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 04:59: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-07 04:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 04: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-07 04:59: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-07 04: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 04:59: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-07 04: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-07 04: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-07 04:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 04:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 04:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 04:59: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-07 04:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 04:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 04:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 04:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 04:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 04:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 04:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 04:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 04:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 04:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 04:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 04:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 04:59:52] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-07 04:59:52] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:00:24] local.INFO: TCP Data received {"connection_id":173269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:24] local.INFO: Processing buffer {"connection_id":173269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:24] local.INFO: Packet analysis {"connection_id":173269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:00:24] local.INFO: Extracted packet for processing {"connection_id":173269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:00: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-07 05:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":173269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:00:24] local.INFO: GPS data processed {"connection_id":173269,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:00:24] local.INFO: Acknowledgment sent {"connection_id":173269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:00:46] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:46] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:46] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:00:51] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:51] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:00:51] local.INFO: IMEI packet received {"connection_id":173032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:00:52] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:52] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:00:52] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:00:52] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:00: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-07 05:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05: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-07 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:00: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-07 05: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-07 05: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-07 05:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:00: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-07 05:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:00:52] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:00:52] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:01:23] local.INFO: TCP Data received {"connection_id":173032,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:23] local.INFO: Processing buffer {"connection_id":173032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:23] local.INFO: Packet analysis {"connection_id":173032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:01:23] local.INFO: Extracted packet for processing {"connection_id":173032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:01:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01: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-07 05:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05:01: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:01: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-07 05: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-07 05: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-07 05:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:01:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":173032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:01:23] local.INFO: GPS data processed {"connection_id":173032,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:01:23] local.INFO: Acknowledgment sent {"connection_id":173032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:01:46] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:46] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:46] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:01:51] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:51] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:01:51] local.INFO: IMEI packet received {"connection_id":173271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":173271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:01:52] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:52] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:01:52] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:01:52] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:01: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-07 05:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:01: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-07 05: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-07 05: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-07 05:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:01: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-07 05:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:01:52] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:01:52] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:02:23] local.INFO: TCP Data received {"connection_id":173271,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:23] local.INFO: Processing buffer {"connection_id":173271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:23] local.INFO: Packet analysis {"connection_id":173271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:02:23] local.INFO: Extracted packet for processing {"connection_id":173271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02: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-07 05:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05:02: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:02: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-07 05: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-07 05: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-07 05:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:02: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-07 05:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:02:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":173271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:02:23] local.INFO: GPS data processed {"connection_id":173271,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:02:23] local.INFO: Acknowledgment sent {"connection_id":173271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:02:45] local.INFO: TCP Data received {"connection_id":174420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:45] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:45] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:02:51] local.INFO: TCP Data received {"connection_id":174420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:51] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:02:51] local.INFO: IMEI packet received {"connection_id":174420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":174420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:02:52] local.INFO: TCP Data received {"connection_id":174420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:52] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:02:52] local.INFO: Packet analysis {"connection_id":174420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:02:52] local.INFO: Extracted packet for processing {"connection_id":174420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:02:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:02: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-07 05:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05:02: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:02: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-07 05: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-07 05: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-07 05:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:02: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-07 05:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:02:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:02:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":174420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:02:52] local.INFO: GPS data processed {"connection_id":174420,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:02:52] local.INFO: Acknowledgment sent {"connection_id":174420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:03:23] local.INFO: TCP Data received {"connection_id":174420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:03:23] local.INFO: Processing buffer {"connection_id":174420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0790d1298012d34cbc006aa45580005011e26..."} 
[2026-09-07 05:03:23] local.INFO: Packet analysis {"connection_id":174420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:03:23] local.INFO: Extracted packet for processing {"connection_id":174420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0790d"} 
[2026-09-07 05:03:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":5,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916670464001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03: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-07 05:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737295000,"timestamp_ms":1788737295000,"timestamp_seconds":1788737295,"priority":1,"record_length":96,"hex_timestamp":"000001a0790d1298"} 
[2026-09-07 05: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-07 05:03: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:03: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-07 05: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-07 05: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-07 05:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916670464001,"66":25582,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916670464001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:03:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:03:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916670464001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":174420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:03:23] local.INFO: GPS data processed {"connection_id":174420,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:03:23] local.INFO: Acknowledgment sent {"connection_id":174420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:03:45] local.INFO: TCP Data received {"connection_id":173033,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:03:45] local.INFO: Processing buffer {"connection_id":173033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:03:45] local.INFO: IMEI packet received {"connection_id":173033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:03:51] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:51] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:51] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:03:54] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:54] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:03:54] local.INFO: IMEI packet received {"connection_id":174422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":174422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:03:55] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:55] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:55] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:03:55] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:03:55] 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-07 05: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-07 05: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-07 05:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:03:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:03:55] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:03:55] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:03:56] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:56] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:03:56] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:03:56] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:03:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:03: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-07 05:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:03:56] 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-07 05:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:03:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:03:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:03:56] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:03:56] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:04:28] local.INFO: TCP Data received {"connection_id":174422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:28] local.INFO: Processing buffer {"connection_id":174422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:28] local.INFO: Packet analysis {"connection_id":174422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:04:28] local.INFO: Extracted packet for processing {"connection_id":174422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:04:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:04:28] 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-07 05: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-07 05: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-07 05:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:04:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:04:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":174422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:04:28] local.INFO: GPS data processed {"connection_id":174422,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:04:28] local.INFO: Acknowledgment sent {"connection_id":174422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:04:46] local.INFO: TCP Data received {"connection_id":173034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:46] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:46] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:04:51] local.INFO: TCP Data received {"connection_id":173034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:51] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:04:51] local.INFO: IMEI packet received {"connection_id":173034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":173034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:04:52] local.INFO: TCP Data received {"connection_id":173034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:52] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:04:52] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:04:52] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:04: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-07 05:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:04: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-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:04:52] 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-07 05: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-07 05: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-07 05:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:04: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-07 05:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:04:52] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:04:52] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:05:23] local.INFO: TCP Data received {"connection_id":173034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:23] local.INFO: Processing buffer {"connection_id":173034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:23] local.INFO: Packet analysis {"connection_id":173034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:05:23] local.INFO: Extracted packet for processing {"connection_id":173034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05: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-07 05:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:05: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-07 05:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:05: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-07 05: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-07 05: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-07 05:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:05: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-07 05:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:05:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":173034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:05:23] local.INFO: GPS data processed {"connection_id":173034,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:05:23] local.INFO: Acknowledgment sent {"connection_id":173034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:05:45] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:45] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:45] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:05:51] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:51] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:05:51] local.INFO: IMEI packet received {"connection_id":174424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":174424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:05:52] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:52] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:05:52] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:05:52] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:05: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-07 05:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:05: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-07 05:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:05:52] 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-07 05: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-07 05: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-07 05:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:05: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-07 05:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:05:52] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:05:52] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:06:23] local.INFO: TCP Data received {"connection_id":174424,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:23] local.INFO: Processing buffer {"connection_id":174424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:23] local.INFO: Packet analysis {"connection_id":174424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:06:23] local.INFO: Extracted packet for processing {"connection_id":174424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:06: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-07 05:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:06: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-07 05: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-07 05: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-07 05:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:06: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-07 05:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":174424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:06:23] local.INFO: GPS data processed {"connection_id":174424,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:06:23] local.INFO: Acknowledgment sent {"connection_id":174424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:06:46] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:46] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:46] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:06:51] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:51] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:06:51] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:06:52] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:52] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:06:52] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:06:52] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:06:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:06: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-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:06:52] 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-07 05: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-07 05: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-07 05:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:06: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-07 05:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:06:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:06:52] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:06:52] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:07:23] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:23] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:23] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:07:23] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07: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-07 05:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:07: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-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:07: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-07 05: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-07 05: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-07 05:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:07:23] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:07:23] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:07:45] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:45] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:45] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:07:51] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:51] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:07:51] local.INFO: IMEI packet received {"connection_id":174425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":174425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:07:52] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:52] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:07:52] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:07:52] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:07: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-07 05:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:07: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-07 05: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 05:07:52] 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-07 05: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-07 05: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-07 05:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:07: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-07 05:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:07:52] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:07:52] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:08:23] local.INFO: TCP Data received {"connection_id":174425,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:08:23] local.INFO: Processing buffer {"connection_id":174425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07911aa60012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:08:23] local.INFO: Packet analysis {"connection_id":174425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:08:23] local.INFO: Extracted packet for processing {"connection_id":174425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07911"} 
[2026-09-07 05:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916747520001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08: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-07 05:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737596000,"timestamp_ms":1788737596000,"timestamp_seconds":1788737596,"priority":1,"record_length":96,"hex_timestamp":"000001a07911aa60"} 
[2026-09-07 05: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-07 05:08: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05: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-07 05:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916747520001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916747520001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916747520001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:08:23] local.INFO: GPS data processed {"connection_id":174425,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:08:23] local.INFO: Acknowledgment sent {"connection_id":174425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:08:51] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:51] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:51] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:08:55] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:55] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:08:55] local.INFO: IMEI packet received {"connection_id":173036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":173036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:08:56] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:56] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:56] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:08:56] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:08: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-07 05:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:08: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:08: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-07 05:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:08:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:08:56] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:08:56] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:08:57] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:57] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:08:57] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:08:57] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:08:57] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:08:57] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:09:13] local.INFO: TCP Data received {"connection_id":174426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:09:13] local.INFO: Processing buffer {"connection_id":174426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:09:13] local.INFO: IMEI packet received {"connection_id":174426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":174426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:09:28] local.INFO: TCP Data received {"connection_id":173036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:28] local.INFO: Processing buffer {"connection_id":173036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:28] local.INFO: Packet analysis {"connection_id":173036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:09:28] local.INFO: Extracted packet for processing {"connection_id":173036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:09:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":173036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:09:28] local.INFO: GPS data processed {"connection_id":173036,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:09:28] local.INFO: Acknowledgment sent {"connection_id":173036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:09:46] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:46] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:46] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:09:50] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:50] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:09:50] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:09:51] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:51] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:09:51] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:09:51] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:09:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:09: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-07 05:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:09: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:09: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-07 05: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-07 05: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-07 05:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:09: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-07 05:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:09:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:09:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:09:51] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:09:51] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:10:23] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:23] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:23] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:10:23] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10: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-07 05:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:10: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:10: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-07 05: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-07 05: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-07 05:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:10: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-07 05:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:10:23] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:10:23] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:10:45] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:45] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:45] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:10:51] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:51] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:10:51] local.INFO: IMEI packet received {"connection_id":174427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":174427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:10:52] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:52] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:10:52] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:10:52] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:10: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-07 05:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:10: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-07 05: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-07 05: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-07 05:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:10: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-07 05:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:10:52] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:10:52] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:11:23] local.INFO: TCP Data received {"connection_id":174427,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:23] local.INFO: Processing buffer {"connection_id":174427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:23] local.INFO: Packet analysis {"connection_id":174427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:11:23] local.INFO: Extracted packet for processing {"connection_id":174427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:11:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11: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-07 05:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:11: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:11: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-07 05: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-07 05: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-07 05:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:11:23] 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-07 05:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:11:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":174427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:11:23] local.INFO: GPS data processed {"connection_id":174427,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:11:23] local.INFO: Acknowledgment sent {"connection_id":174427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:11:46] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:46] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:46] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:11:51] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:51] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:11:51] local.INFO: IMEI packet received {"connection_id":175773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":175773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:11:52] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:52] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:11:52] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:11:52] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:11: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-07 05:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:11: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-07 05:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:11:52] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:11:52] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:12:23] local.INFO: TCP Data received {"connection_id":175773,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:23] local.INFO: Processing buffer {"connection_id":175773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:23] local.INFO: Packet analysis {"connection_id":175773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:12:23] local.INFO: Extracted packet for processing {"connection_id":175773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12: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-07 05:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:12: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:12: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-07 05: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-07 05: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-07 05:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:12: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-07 05:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":175773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:12:23] local.INFO: GPS data processed {"connection_id":175773,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:12:23] local.INFO: Acknowledgment sent {"connection_id":175773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:12:46] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:46] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:46] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:12:51] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:51] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:12:51] local.INFO: IMEI packet received {"connection_id":174429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":174429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:12:52] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:52] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:12:52] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:12:52] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:12: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-07 05:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:12: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:12: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-07 05: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-07 05: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-07 05:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:12: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-07 05:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:12:52] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:12:52] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:13:24] local.INFO: TCP Data received {"connection_id":174429,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:24] local.INFO: Processing buffer {"connection_id":174429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:24] local.INFO: Packet analysis {"connection_id":174429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:13:24] local.INFO: Extracted packet for processing {"connection_id":174429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:13:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:13: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-07 05:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:13: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-07 05:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:13: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-07 05:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:13:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:13:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":174429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:13:24] local.INFO: GPS data processed {"connection_id":174429,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:13:24] local.INFO: Acknowledgment sent {"connection_id":174429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:13:46] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:46] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:46] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:13:51] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:51] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:13:51] local.INFO: IMEI packet received {"connection_id":174430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":174430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:13:52] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:52] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079164228012d34cbc006aa45580000011e24..."} 
[2026-09-07 05:13:52] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:13:52] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07916"} 
[2026-09-07 05:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788737897000,"timestamp_ms":1788737897000,"timestamp_seconds":1788737897,"priority":1,"record_length":96,"hex_timestamp":"000001a079164228"} 
[2026-09-07 05: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-07 05:13: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:13: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-07 05:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916824576001,"66":25615,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916824576001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:13:52] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:13:52] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:14:23] local.INFO: TCP Data received {"connection_id":174430,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:23] local.INFO: Processing buffer {"connection_id":174430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:23] local.INFO: Packet analysis {"connection_id":174430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:14:23] local.INFO: Extracted packet for processing {"connection_id":174430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14: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-07 05:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:14: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:14: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-07 05: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-07 05: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-07 05:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:14:23] 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-07 05:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":174430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:14:23] local.INFO: GPS data processed {"connection_id":174430,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:14:23] local.INFO: Acknowledgment sent {"connection_id":174430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:14:46] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:46] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:46] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:14:48] local.INFO: TCP Data received {"connection_id":173276,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:14:48] local.INFO: Processing buffer {"connection_id":173276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:14:48] local.INFO: IMEI packet received {"connection_id":173276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:14:51] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:51] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:14:51] local.INFO: IMEI packet received {"connection_id":175776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":175776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:14:52] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:52] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:14:52] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:14:52] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:14: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-07 05:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:14: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:14: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-07 05: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-07 05: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-07 05:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:14: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-07 05:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:14:52] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:14:52] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:15:23] local.INFO: TCP Data received {"connection_id":175776,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:23] local.INFO: Processing buffer {"connection_id":175776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:23] local.INFO: Packet analysis {"connection_id":175776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:15:23] local.INFO: Extracted packet for processing {"connection_id":175776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15: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-07 05:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:15: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-07 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:15: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-07 05: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-07 05: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-07 05:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:15: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-07 05:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":175776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:15:23] local.INFO: GPS data processed {"connection_id":175776,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:15:23] local.INFO: Acknowledgment sent {"connection_id":175776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:15:46] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:46] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:46] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:15:51] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:51] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:15:51] local.INFO: IMEI packet received {"connection_id":173277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":173277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:15:52] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:52] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:15:52] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:15:52] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:15: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-07 05:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:15: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-07 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:15: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-07 05: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-07 05: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-07 05:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:15: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-07 05:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:15:52] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:15:52] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:16:23] local.INFO: TCP Data received {"connection_id":173277,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:23] local.INFO: Processing buffer {"connection_id":173277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:23] local.INFO: Packet analysis {"connection_id":173277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:16:23] local.INFO: Extracted packet for processing {"connection_id":173277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:16:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:16: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-07 05:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:16: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:16: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-07 05: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-07 05: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-07 05:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:16: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-07 05:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:16:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":173277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:16:23] local.INFO: GPS data processed {"connection_id":173277,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:16:23] local.INFO: Acknowledgment sent {"connection_id":173277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:16:46] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:46] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:46] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:16:51] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:51] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:16:51] local.INFO: IMEI packet received {"connection_id":175777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":175777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:16:53] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:53] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:16:53] local.INFO: Packet analysis {"connection_id":175777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:16:53] local.INFO: Extracted packet for processing {"connection_id":175777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:16: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-07 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:16:53] 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-07 05: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-07 05: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-07 05:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:16:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:16:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":175777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:16:53] local.INFO: GPS data processed {"connection_id":175777,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:16:53] local.INFO: Acknowledgment sent {"connection_id":175777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:17:24] local.INFO: TCP Data received {"connection_id":175777,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:24] local.INFO: Processing buffer {"connection_id":175777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:24] local.INFO: Packet analysis {"connection_id":175777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:17:24] local.INFO: Extracted packet for processing {"connection_id":175777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:17: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-07 05:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:17: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:17: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-07 05: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-07 05: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-07 05:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:17: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-07 05:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":175777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:17:24] local.INFO: GPS data processed {"connection_id":175777,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:17:24] local.INFO: Acknowledgment sent {"connection_id":175777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:17:45] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:45] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:45] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:17:51] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:51] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:17:51] local.INFO: IMEI packet received {"connection_id":173280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:17:52] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:52] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:17:52] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:17:52] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:17: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-07 05: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:17: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-07 05: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-07 05: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-07 05:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:17: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-07 05:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:17:52] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:17:52] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:18:23] local.INFO: TCP Data received {"connection_id":173280,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:23] local.INFO: Processing buffer {"connection_id":173280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:23] local.INFO: Packet analysis {"connection_id":173280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:18:23] local.INFO: Extracted packet for processing {"connection_id":173280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:18:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18: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-07 05:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:18: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-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:18: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-07 05: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-07 05: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-07 05:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:18:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":173280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:18:23] local.INFO: GPS data processed {"connection_id":173280,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:18:23] local.INFO: Acknowledgment sent {"connection_id":173280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:18:51] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:51] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:51] local.INFO: IMEI packet received {"connection_id":174431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":174431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:18:56] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:56] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:18:56] local.INFO: IMEI packet received {"connection_id":174431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":174431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:18:57] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:57] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791ad9f0012d34cbc006aa45580002011e23..."} 
[2026-09-07 05:18:57] local.INFO: Packet analysis {"connection_id":174431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:18:57] local.INFO: Extracted packet for processing {"connection_id":174431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791a"} 
[2026-09-07 05:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":2,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788738198000,"timestamp_ms":1788738198000,"timestamp_seconds":1788738198,"priority":1,"record_length":96,"hex_timestamp":"000001a0791ad9f0"} 
[2026-09-07 05: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-07 05:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 05:18:57] 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-07 05: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-07 05: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-07 05:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916901632001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:18:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:18:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916901632001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":174431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:18:57] local.INFO: GPS data processed {"connection_id":174431,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:18:57] local.INFO: Acknowledgment sent {"connection_id":174431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:18:58] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:18:58] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:18:58] local.INFO: Packet analysis {"connection_id":174431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:18:58] local.INFO: Extracted packet for processing {"connection_id":174431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05: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-07 05: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-07 05:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:18:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:18:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":174431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:18:58] local.INFO: GPS data processed {"connection_id":174431,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:18:58] local.INFO: Acknowledgment sent {"connection_id":174431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:19:29] local.INFO: TCP Data received {"connection_id":174431,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:29] local.INFO: Processing buffer {"connection_id":174431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:29] local.INFO: Packet analysis {"connection_id":174431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:19:29] local.INFO: Extracted packet for processing {"connection_id":174431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:19: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-07 05:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19: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-07 05:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:19: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-07 05:19: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:19: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-07 05:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:19: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-07 05:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:19:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":174431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:19:29] local.INFO: GPS data processed {"connection_id":174431,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:19:29] local.INFO: Acknowledgment sent {"connection_id":174431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:19:45] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:45] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:45] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:19:51] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:51] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:19:51] local.INFO: IMEI packet received {"connection_id":175779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":175779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:19:52] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:52] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:19:52] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:19:52] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:19: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-07 05:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:19: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:19: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-07 05: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-07 05: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-07 05:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:19: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-07 05:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:19:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:19:52] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:19:52] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:20:08] local.INFO: TCP Data received {"connection_id":174432,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:20:08] local.INFO: Processing buffer {"connection_id":174432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:20:08] local.INFO: IMEI packet received {"connection_id":174432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":174432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:20:23] local.INFO: TCP Data received {"connection_id":175779,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:23] local.INFO: Processing buffer {"connection_id":175779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:23] local.INFO: Packet analysis {"connection_id":175779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:20:23] local.INFO: Extracted packet for processing {"connection_id":175779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20: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-07 05:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:20: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:20: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-07 05: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-07 05: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-07 05:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:20: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-07 05:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":175779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:20:23] local.INFO: GPS data processed {"connection_id":175779,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:20:23] local.INFO: Acknowledgment sent {"connection_id":175779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:20:45] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:45] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:45] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:20:51] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:51] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:20:51] local.INFO: IMEI packet received {"connection_id":173037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:20:52] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:52] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:20:52] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:20:52] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:20: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-07 05:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:20: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:20: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-07 05: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-07 05: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-07 05:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:20: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-07 05:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:20:52] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:20:52] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:21:23] local.INFO: TCP Data received {"connection_id":173037,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:23] local.INFO: Processing buffer {"connection_id":173037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:23] local.INFO: Packet analysis {"connection_id":173037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:21:23] local.INFO: Extracted packet for processing {"connection_id":173037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:21:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21: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-07 05:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:21: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:21: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-07 05: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-07 05: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-07 05:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:21:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":173037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:21:23] local.INFO: GPS data processed {"connection_id":173037,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:21:23] local.INFO: Acknowledgment sent {"connection_id":173037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:21:45] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:45] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:45] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:21:51] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:51] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:21:51] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:21:52] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:52] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:21:52] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:21:52] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:21: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-07 05:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:21: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:21: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-07 05: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-07 05: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-07 05:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:21: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-07 05:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:21:52] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:21:52] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:22:23] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:23] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:23] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:22:23] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22: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-07 05:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:22:23] 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-07 05:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:22:23] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:22:23] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:22:51] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:51] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:51] local.INFO: IMEI packet received {"connection_id":174434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":174434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:22:56] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:56] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:22:56] local.INFO: IMEI packet received {"connection_id":174434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":174434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:22:57] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:57] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:22:57] local.INFO: Packet analysis {"connection_id":174434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:22:57] local.INFO: Extracted packet for processing {"connection_id":174434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:22:57] 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-07 05:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:22:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":174434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:22:57] local.INFO: GPS data processed {"connection_id":174434,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:22:57] local.INFO: Acknowledgment sent {"connection_id":174434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:23:01] local.INFO: TCP Data received {"connection_id":174434,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:01] local.INFO: Processing buffer {"connection_id":174434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:01] local.INFO: Packet analysis {"connection_id":174434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:23:01] local.INFO: Extracted packet for processing {"connection_id":174434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:23:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:23:01] 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-07 05:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:23:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:23:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":174434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:23:01] local.INFO: GPS data processed {"connection_id":174434,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:23:01] local.INFO: Acknowledgment sent {"connection_id":174434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:23:45] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:45] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:45] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:23:51] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:51] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:23:51] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:23:52] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:52] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0791f71b8012d34cbc006aa45580000011e1f..."} 
[2026-09-07 05:23:52] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:23:52] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0791f"} 
[2026-09-07 05:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":31,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916978688001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:23: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-07 05:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738499000,"timestamp_ms":1788738499000,"timestamp_seconds":1788738499,"priority":1,"record_length":96,"hex_timestamp":"000001a0791f71b8"} 
[2026-09-07 05: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-07 05:23: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:23: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-07 05: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-07 05: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-07 05:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:23: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-07 05:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916978688001,"66":25549,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916978688001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916978688001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:23:52] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:23:52] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:24:23] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:23] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:23] local.INFO: Packet analysis {"connection_id":173283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:24:23] local.INFO: Extracted packet for processing {"connection_id":173283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:24:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:24: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-07 05:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:24: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:24: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-07 05: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-07 05: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-07 05:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:24: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-07 05:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:24:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":173283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:24:23] local.INFO: GPS data processed {"connection_id":173283,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:24:23] local.INFO: Acknowledgment sent {"connection_id":173283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:24:45] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:45] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:45] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:24:51] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:51] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:24:51] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:24:52] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:52] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:24:52] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:24:52] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:24:52] 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-07 05: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-07 05: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-07 05:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:24: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-07 05:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:24:52] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:24:52] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:25:24] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:24] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:24] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:25:24] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:25:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25: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-07 05:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:25: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:25:24] 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-07 05: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-07 05: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-07 05:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:25: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-07 05:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:25:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:25:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:25:24] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:25:24] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:25:45] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:45] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:45] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:25:48] local.INFO: TCP Data received {"connection_id":175782,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:48] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:48] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:25:51] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:51] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:25:51] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:25:52] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:52] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:25:52] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:25:52] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25: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-07 05:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:25:52] 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-07 05: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-07 05: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-07 05:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:25: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-07 05:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:25:52] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:25:52] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:25:53] local.INFO: TCP Data received {"connection_id":175782,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:53] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:25:53] local.INFO: IMEI packet received {"connection_id":175782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-07 05:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":175782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:25:54] local.INFO: TCP Data received {"connection_id":175782,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a078f5f888012b882dc00b7c84f0001000521f..."} 
[2026-09-07 05:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a078f5f888012b882dc00b7c84f0001000521f..."} 
[2026-09-07 05:25:54] local.INFO: Processing buffer {"connection_id":175782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a078f5f888012b882dc00b7c84f0001000521f..."} 
[2026-09-07 05:25:54] local.INFO: Packet analysis {"connection_id":175782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a078f5"} 
[2026-09-07 05:25:54] local.INFO: Extracted packet for processing {"connection_id":175782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a078f5"} 
[2026-09-07 05:25:54] local.INFO: GPS Element Parsed {"raw_longitude":730344896,"raw_latitude":192709872,"longitude_deg":73.0344896,"latitude_deg":19.2709872,"altitude":16,"angle":82,"satellites":31,"speed":0,"hex_longitude":"2b882dc0","hex_latitude":"0b7c84f0","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457916282880001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3887576763072512,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:54] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8634033755033112576,"note":"Value kept but may cause issues"} 
[2026-09-07 05:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788735781000,"timestamp_ms":1788735781000,"timestamp_seconds":1788735781,"priority":1,"record_length":96,"hex_timestamp":"000001a078f5f888"} 
[2026-09-07 05: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-07 05:25: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-07 05: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 05:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05: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-07 05: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-07 05:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 05:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 05:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-07 05:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-07 05:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457916282880001,"66":25125,"27":206,"234":55296,"24":0,"16":3887576763072512,"43":-8634033755033112576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-07 05:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-07 05:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-07 05:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457916282880001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 05:25:54] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-07 05:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3887576763072512,"km_value":3887576763072.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:25:54] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8634033755033112576,"description":"Unknown IO ID 43"} 
[2026-09-07 05:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457916282880001,"power":25125,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8634033755033112576}} 
[2026-09-07 05:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":175782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:25:54] local.INFO: GPS data processed {"connection_id":175782,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:25:54] local.INFO: Acknowledgment sent {"connection_id":175782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:26:23] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:23] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:23] local.INFO: Packet analysis {"connection_id":173285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:26:23] local.INFO: Extracted packet for processing {"connection_id":173285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:26:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26: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-07 05:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:26: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-07 05:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:26: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-07 05: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-07 05: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-07 05:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:26:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":173285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:26:23] local.INFO: GPS data processed {"connection_id":173285,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:26:23] local.INFO: Acknowledgment sent {"connection_id":173285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:26:38] local.INFO: TCP Data received {"connection_id":175783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:26:38] local.INFO: Processing buffer {"connection_id":175783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:26:38] local.INFO: IMEI packet received {"connection_id":175783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":175783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:26:45] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:45] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:45] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:26:51] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:51] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:26:51] local.INFO: IMEI packet received {"connection_id":173040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":173040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:26:53] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:53] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:26:53] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:26:53] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:26: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-07 05:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:26: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-07 05:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:26: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-07 05:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:26: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-07 05:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:26:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:26:53] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:26:53] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:27:24] local.INFO: TCP Data received {"connection_id":173040,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:24] local.INFO: Processing buffer {"connection_id":173040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:24] local.INFO: Packet analysis {"connection_id":173040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:27:24] local.INFO: Extracted packet for processing {"connection_id":173040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:27:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:27: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:27:24] 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-07 05: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-07 05: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-07 05:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:27: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-07 05:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:27:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:27:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":173040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:27:24] local.INFO: GPS data processed {"connection_id":173040,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:27:24] local.INFO: Acknowledgment sent {"connection_id":173040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:27:51] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:51] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:51] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:27:56] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:56] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:27:56] local.INFO: IMEI packet received {"connection_id":174436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":174436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:27:57] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:57] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:27:57] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:27:57] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:27:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:27:57] 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-07 05: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-07 05: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-07 05:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:27:57] 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-07 05:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:27:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:27:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:27:57] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:27:57] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:28:01] local.INFO: TCP Data received {"connection_id":174436,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:01] local.INFO: Processing buffer {"connection_id":174436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:01] local.INFO: Packet analysis {"connection_id":174436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:28:01] local.INFO: Extracted packet for processing {"connection_id":174436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:28:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:28:01] 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-07 05:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:28:01] 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-07 05:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:28:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:28:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":174436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:28:01] local.INFO: GPS data processed {"connection_id":174436,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:28:01] local.INFO: Acknowledgment sent {"connection_id":174436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:28:46] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:46] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:46] local.INFO: IMEI packet received {"connection_id":174437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":174437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:28:51] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:51] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:28:51] local.INFO: IMEI packet received {"connection_id":174437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":174437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:28:52] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:52] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079240980012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:28:52] local.INFO: Packet analysis {"connection_id":174437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:28:52] local.INFO: Extracted packet for processing {"connection_id":174437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07924"} 
[2026-09-07 05:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:28: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-07 05:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788738800000,"timestamp_ms":1788738800000,"timestamp_seconds":1788738800,"priority":1,"record_length":96,"hex_timestamp":"000001a079240980"} 
[2026-09-07 05: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-07 05:28: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-07 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 05:28:52] 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-07 05: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-07 05: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-07 05:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:28: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-07 05:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917055744001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917055744001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":174437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:28:52] local.INFO: GPS data processed {"connection_id":174437,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:28:52] local.INFO: Acknowledgment sent {"connection_id":174437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:29:23] local.INFO: TCP Data received {"connection_id":174437,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:23] local.INFO: Processing buffer {"connection_id":174437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:23] local.INFO: Packet analysis {"connection_id":174437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:29:23] local.INFO: Extracted packet for processing {"connection_id":174437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:29: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-07 05:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05:29: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:29: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-07 05: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-07 05: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-07 05:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:29:23] 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-07 05:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:29:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":174437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:29:23] local.INFO: GPS data processed {"connection_id":174437,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:29:23] local.INFO: Acknowledgment sent {"connection_id":174437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:29:45] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:45] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:45] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:29:51] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:51] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:29:51] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:29:52] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:52] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:29:52] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:29:52] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:29:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:29: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-07 05:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:29:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:29:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:29:52] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:29:52] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:30:23] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:23] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:23] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:30:23] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:30:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:30: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-07 05:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05:30: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:30: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-07 05: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-07 05: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-07 05:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:30: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-07 05:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:30:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:30:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:30:23] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:30:23] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:30:45] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:45] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:45] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:30:51] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:51] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:30:51] local.INFO: IMEI packet received {"connection_id":173041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":173041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:30:52] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:52] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:30:52] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:30:52] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:30: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-07 05:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:30:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:30:52] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:30:52] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:31:23] local.INFO: TCP Data received {"connection_id":173041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:23] local.INFO: Processing buffer {"connection_id":173041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:23] local.INFO: Packet analysis {"connection_id":173041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:31:23] local.INFO: Extracted packet for processing {"connection_id":173041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:31:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31: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-07 05:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05:31: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:31: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-07 05: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-07 05: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-07 05:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:31:23] 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-07 05:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:31:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":173041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:31:23] local.INFO: GPS data processed {"connection_id":173041,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:31:23] local.INFO: Acknowledgment sent {"connection_id":173041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:31:45] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:45] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:45] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:31:51] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:51] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:31:51] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:31:52] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:52] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:31:52] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:31:52] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:31: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-07 05:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05:31: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:31: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-07 05: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-07 05: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-07 05:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:31: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-07 05:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:31:52] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:31:52] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:32:08] local.INFO: TCP Data received {"connection_id":174439,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:32:08] local.INFO: Processing buffer {"connection_id":174439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:32:08] local.INFO: IMEI packet received {"connection_id":174439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":174439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:32:29] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:29] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:29] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:32:29] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32: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-07 05:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:32: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-07 05:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:32:29] 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-07 05:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:32:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:32:29] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:32:29] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:32:51] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:51] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:51] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:32:56] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:56] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:32:56] local.INFO: IMEI packet received {"connection_id":174441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":174441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:32:57] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:57] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:32:57] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:32:57] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:32:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:32:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:32:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:32:57] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:32:57] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:33:01] local.INFO: TCP Data received {"connection_id":174441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:01] local.INFO: Processing buffer {"connection_id":174441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:01] local.INFO: Packet analysis {"connection_id":174441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:33:01] local.INFO: Extracted packet for processing {"connection_id":174441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:33:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:33:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:33:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":174441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:33:01] local.INFO: GPS data processed {"connection_id":174441,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:33:01] local.INFO: Acknowledgment sent {"connection_id":174441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:33:45] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:45] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:45] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:33:51] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:51] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:33:51] local.INFO: IMEI packet received {"connection_id":174442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":174442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:33:52] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:52] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07928a148012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:33:52] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:33:52] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07928"} 
[2026-09-07 05:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917132800001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739101000,"timestamp_ms":1788739101000,"timestamp_seconds":1788739101,"priority":1,"record_length":96,"hex_timestamp":"000001a07928a148"} 
[2026-09-07 05: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-07 05:33: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:33: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-07 05: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-07 05: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-07 05:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:33: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-07 05:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917132800001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917132800001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917132800001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:33:52] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:33:52] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:34:23] local.INFO: TCP Data received {"connection_id":174442,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:23] local.INFO: Processing buffer {"connection_id":174442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:23] local.INFO: Packet analysis {"connection_id":174442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:34:23] local.INFO: Extracted packet for processing {"connection_id":174442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:34:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34: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-07 05:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:34: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:34: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-07 05: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-07 05: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-07 05:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:34: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-07 05:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:34:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":174442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:34:23] local.INFO: GPS data processed {"connection_id":174442,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:34:23] local.INFO: Acknowledgment sent {"connection_id":174442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:34:46] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:46] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:46] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:34:51] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:51] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:34:51] local.INFO: IMEI packet received {"connection_id":173042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":173042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:34:52] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:52] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:34:52] local.INFO: Packet analysis {"connection_id":173042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:34:52] local.INFO: Extracted packet for processing {"connection_id":173042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:34: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-07 05:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:34: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:34: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-07 05: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-07 05: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-07 05:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:34: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-07 05:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":173042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:34:52] local.INFO: GPS data processed {"connection_id":173042,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:34:52] local.INFO: Acknowledgment sent {"connection_id":173042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:35:24] local.INFO: TCP Data received {"connection_id":173042,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:24] local.INFO: Processing buffer {"connection_id":173042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:24] local.INFO: Packet analysis {"connection_id":173042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:35:24] local.INFO: Extracted packet for processing {"connection_id":173042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:35:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:35: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:35: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-07 05: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-07 05: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-07 05:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:35: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-07 05:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:35:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:35:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":173042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:35:24] local.INFO: GPS data processed {"connection_id":173042,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:35:24] local.INFO: Acknowledgment sent {"connection_id":173042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:35:45] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:45] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:45] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:35:51] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:51] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:35:51] local.INFO: IMEI packet received {"connection_id":175787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":175787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:35:52] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:52] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:35:52] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:35:52] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:35: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-07 05: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-07 05: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-07 05:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:35: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-07 05:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:35:52] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:35:52] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:36:24] local.INFO: TCP Data received {"connection_id":175787,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:24] local.INFO: Processing buffer {"connection_id":175787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:24] local.INFO: Packet analysis {"connection_id":175787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:36:24] local.INFO: Extracted packet for processing {"connection_id":175787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:36:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36: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-07 05:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:36: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:36: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-07 05: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-07 05: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-07 05:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:36: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-07 05:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:36:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:36:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":175787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:36:24] local.INFO: GPS data processed {"connection_id":175787,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:36:24] local.INFO: Acknowledgment sent {"connection_id":175787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:36:45] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:45] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:45] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:36:51] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:51] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:36:51] local.INFO: IMEI packet received {"connection_id":175788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":175788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:36:52] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:52] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:36:52] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:36:52] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:36: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-07 05:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:36: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-07 05: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-07 05: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-07 05:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:36: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-07 05:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:36:52] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:36:52] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:37:23] local.INFO: TCP Data received {"connection_id":175788,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:23] local.INFO: Processing buffer {"connection_id":175788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:23] local.INFO: Packet analysis {"connection_id":175788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:37:23] local.INFO: Extracted packet for processing {"connection_id":175788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:37: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-07 05:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:37: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:37: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-07 05: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-07 05: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-07 05:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:37:23] 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-07 05:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:37:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":175788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:37:23] local.INFO: GPS data processed {"connection_id":175788,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:37:23] local.INFO: Acknowledgment sent {"connection_id":175788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:37:45] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:45] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:45] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:37:48] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:37:48] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:37:48] local.INFO: IMEI packet received {"connection_id":173288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:37:51] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:51] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:37:51] local.INFO: IMEI packet received {"connection_id":173043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":173043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:37:51] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:51] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:37:51] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:37:51] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:37: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-07 05: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-07 05: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-07 05:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:37: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-07 05:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:37:51] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:37:51] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:38:23] local.INFO: TCP Data received {"connection_id":173043,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:23] local.INFO: Processing buffer {"connection_id":173043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:23] local.INFO: Packet analysis {"connection_id":173043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:38:23] local.INFO: Extracted packet for processing {"connection_id":173043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:38:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:38: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-07 05:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:38: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:38: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-07 05: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-07 05: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-07 05:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:38:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:38:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":173043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:38:23] local.INFO: GPS data processed {"connection_id":173043,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:38:23] local.INFO: Acknowledgment sent {"connection_id":173043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:38:46] local.INFO: TCP Data received {"connection_id":173289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:46] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:46] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:38:51] local.INFO: TCP Data received {"connection_id":173289,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:51] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:38:51] local.INFO: IMEI packet received {"connection_id":173289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":173289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:38:52] local.INFO: TCP Data received {"connection_id":173289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:52] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0792d3910012d34cbc006aa45580000011e1e..."} 
[2026-09-07 05:38:52] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:38:52] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0792d"} 
[2026-09-07 05:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":30,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917209856001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739402000,"timestamp_ms":1788739402000,"timestamp_seconds":1788739402,"priority":1,"record_length":96,"hex_timestamp":"000001a0792d3910"} 
[2026-09-07 05: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-07 05:38: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:38: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-07 05: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-07 05: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-07 05:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:38: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-07 05:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917209856001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917209856001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917209856001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:38:52] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:38:52] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:39:23] local.INFO: TCP Data received {"connection_id":173289,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:23] local.INFO: Processing buffer {"connection_id":173289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:23] local.INFO: Packet analysis {"connection_id":173289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:39:23] local.INFO: Extracted packet for processing {"connection_id":173289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39: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-07 05:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:39: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:39: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-07 05: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-07 05: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-07 05:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:39: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-07 05:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:39:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":173289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:39:23] local.INFO: GPS data processed {"connection_id":173289,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:39:23] local.INFO: Acknowledgment sent {"connection_id":173289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:39:45] local.INFO: TCP Data received {"connection_id":174447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:45] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:45] local.INFO: IMEI packet received {"connection_id":174447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:39:51] local.INFO: TCP Data received {"connection_id":174447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:51] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:39:51] local.INFO: IMEI packet received {"connection_id":174447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":174447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:39:52] local.INFO: TCP Data received {"connection_id":174447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:52] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:39:52] local.INFO: Packet analysis {"connection_id":174447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:39:52] local.INFO: Extracted packet for processing {"connection_id":174447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:39:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:39: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-07 05:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:39: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-07 05:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05: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-07 05: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-07 05:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:39: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-07 05:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:39:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:39:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":174447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:39:52] local.INFO: GPS data processed {"connection_id":174447,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:39:52] local.INFO: Acknowledgment sent {"connection_id":174447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:40:23] local.INFO: TCP Data received {"connection_id":174447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:23] local.INFO: Processing buffer {"connection_id":174447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:23] local.INFO: Packet analysis {"connection_id":174447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:40:23] local.INFO: Extracted packet for processing {"connection_id":174447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:40:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:40: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-07 05:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:40: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:40: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-07 05: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-07 05: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-07 05:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:40: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-07 05:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:40:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:40:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":174447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:40:23] local.INFO: GPS data processed {"connection_id":174447,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:40:23] local.INFO: Acknowledgment sent {"connection_id":174447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:40:45] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:45] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:45] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:40:51] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:51] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:40:51] local.INFO: IMEI packet received {"connection_id":173044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":173044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:40:52] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:52] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:40:52] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:40:52] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:40: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-07 05: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-07 05: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-07 05:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:40: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-07 05:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:40:52] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:40:52] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:41:23] local.INFO: TCP Data received {"connection_id":173044,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:23] local.INFO: Processing buffer {"connection_id":173044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:23] local.INFO: Packet analysis {"connection_id":173044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:41:23] local.INFO: Extracted packet for processing {"connection_id":173044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:41:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41: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-07 05:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:41: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:41: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-07 05: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-07 05: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-07 05:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:41:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":173044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:41:23] local.INFO: GPS data processed {"connection_id":173044,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:41:23] local.INFO: Acknowledgment sent {"connection_id":173044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:41:45] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:45] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:45] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:41:51] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:51] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:41:51] local.INFO: IMEI packet received {"connection_id":173045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":173045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:41:51] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:51] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:41:51] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:41:51] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:41:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:41: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-07 05:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:41: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:41: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-07 05: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-07 05: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-07 05:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:41: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-07 05:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:41:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:41:51] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:41:51] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:42:23] local.INFO: TCP Data received {"connection_id":173045,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:23] local.INFO: Processing buffer {"connection_id":173045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:23] local.INFO: Packet analysis {"connection_id":173045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:42:23] local.INFO: Extracted packet for processing {"connection_id":173045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:42:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42: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-07 05:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:42: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:42: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-07 05: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-07 05: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-07 05:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:42:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:42:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":173045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:42:23] local.INFO: GPS data processed {"connection_id":173045,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:42:23] local.INFO: Acknowledgment sent {"connection_id":173045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:42:51] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:51] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:51] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:42:56] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:56] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:42:56] local.INFO: IMEI packet received {"connection_id":173292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":173292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:42:57] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:57] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:42:57] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:42:57] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:42:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:42:57] 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-07 05:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:42:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:42:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:42:57] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:42:57] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:43:01] local.INFO: TCP Data received {"connection_id":173292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:01] local.INFO: Processing buffer {"connection_id":173292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:01] local.INFO: Packet analysis {"connection_id":173292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:43:01] local.INFO: Extracted packet for processing {"connection_id":173292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:43:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:43:01] 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-07 05:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:43:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:43:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":173292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:43:01] local.INFO: GPS data processed {"connection_id":173292,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:43:01] local.INFO: Acknowledgment sent {"connection_id":173292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:43:08] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:08] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:08] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:43:45] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:45] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:45] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:43:48] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:48] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:43:48] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:43:51] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:51] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:43:51] local.INFO: IMEI packet received {"connection_id":173047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":173047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:43:52] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:52] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07931d0d8012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:43:52] local.INFO: Packet analysis {"connection_id":173047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:43:52] local.INFO: Extracted packet for processing {"connection_id":173047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07931"} 
[2026-09-07 05:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917286912001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:43: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-07 05:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788739703000,"timestamp_ms":1788739703000,"timestamp_seconds":1788739703,"priority":1,"record_length":96,"hex_timestamp":"000001a07931d0d8"} 
[2026-09-07 05: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-07 05:43: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-07 05:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:43: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-07 05: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-07 05: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-07 05:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:43: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-07 05:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917286912001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917286912001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:43:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:43:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917286912001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":173047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:43:52] local.INFO: GPS data processed {"connection_id":173047,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:43:52] local.INFO: Acknowledgment sent {"connection_id":173047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:44:22] local.INFO: TCP Data received {"connection_id":173047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:22] local.INFO: Processing buffer {"connection_id":173047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:22] local.INFO: Packet analysis {"connection_id":173047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:44:22] local.INFO: Extracted packet for processing {"connection_id":173047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:44: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:44: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-07 05: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-07 05: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-07 05:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:44: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-07 05:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:44:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":173047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:44:22] local.INFO: GPS data processed {"connection_id":173047,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:44:22] local.INFO: Acknowledgment sent {"connection_id":173047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:44:45] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:45] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:45] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:44:51] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:51] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:44:51] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:44:52] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:52] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:44:52] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:44:52] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:44: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:44: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-07 05: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-07 05: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-07 05:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:44: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-07 05:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:44:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:44:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:44:52] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:44:52] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:45:23] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:23] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:23] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:45:23] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:45:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:45: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-07 05:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:45: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:45: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-07 05: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-07 05: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-07 05:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:45: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-07 05:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:45:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:45:23] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:45:23] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:45:45] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:45] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:45] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:45:51] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:51] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:45:51] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:45:51] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:51] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:45:51] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:45:51] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:45:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:45: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-07 05: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-07 05: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-07 05:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:45: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-07 05:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:45:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:45:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:45:52] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:45:52] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:46:23] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:23] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:23] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:46:23] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46: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-07 05:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:46: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-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:46: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-07 05: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-07 05: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-07 05:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:46: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-07 05:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:46:23] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:46:23] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:46:45] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:45] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:45] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:46:51] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:51] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:46:51] local.INFO: IMEI packet received {"connection_id":173048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":173048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:46:52] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:52] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:46:52] local.INFO: Packet analysis {"connection_id":173048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:46:52] local.INFO: Extracted packet for processing {"connection_id":173048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:46: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-07 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05: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-07 05: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:46: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-07 05: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-07 05: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-07 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:46: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-07 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":173048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:46:52] local.INFO: GPS data processed {"connection_id":173048,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:46:52] local.INFO: Acknowledgment sent {"connection_id":173048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:47:24] local.INFO: TCP Data received {"connection_id":173048,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:24] local.INFO: Processing buffer {"connection_id":173048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:24] local.INFO: Packet analysis {"connection_id":173048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:47:24] local.INFO: Extracted packet for processing {"connection_id":173048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:47:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:47: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-07 05:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47: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-07 05:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:47: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-07 05:47: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-07 05:47: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-07 05:47: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-07 05:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:47:24] 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-07 05:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:47:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:47:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":173048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:47:24] local.INFO: GPS data processed {"connection_id":173048,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:47:24] local.INFO: Acknowledgment sent {"connection_id":173048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:47:51] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:51] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:51] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:47:56] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:56] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:47:56] local.INFO: IMEI packet received {"connection_id":175792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":175792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:47:56] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:56] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:47:56] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:47:56] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:47:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05: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-07 05: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-07 05:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:47:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:47:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:47:56] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:47:56] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:48:01] local.INFO: TCP Data received {"connection_id":175792,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:01] local.INFO: Processing buffer {"connection_id":175792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:01] local.INFO: Packet analysis {"connection_id":175792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:48:01] local.INFO: Extracted packet for processing {"connection_id":175792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:48:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:48:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:48:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":175792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:48:01] local.INFO: GPS data processed {"connection_id":175792,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:48:01] local.INFO: Acknowledgment sent {"connection_id":175792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:48:46] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:46] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:46] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:48:51] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:51] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:48:51] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:48:52] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:52] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793668a0012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:48:52] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:48:52] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07936"} 
[2026-09-07 05:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917363968001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:48: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-07 05:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740004000,"timestamp_ms":1788740004000,"timestamp_seconds":1788740004,"priority":1,"record_length":96,"hex_timestamp":"000001a0793668a0"} 
[2026-09-07 05: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-07 05:48: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-07 05:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 05:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 05: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-07 05: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-07 05:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:48: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-07 05:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917363968001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917363968001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:48:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917363968001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:48:52] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:48:52] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:49:13] local.INFO: TCP Data received {"connection_id":174449,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:49:13] local.INFO: Processing buffer {"connection_id":174449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:49:13] local.INFO: IMEI packet received {"connection_id":174449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":174449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:49:22] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:22] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:22] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:49:22] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49: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-07 05:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:49:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:49:22] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:49:22] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:49:46] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:46] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:46] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:49:51] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:51] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:49:51] local.INFO: IMEI packet received {"connection_id":174450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":174450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:49:52] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:52] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:49:52] local.INFO: Packet analysis {"connection_id":174450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:49:52] local.INFO: Extracted packet for processing {"connection_id":174450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:49: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-07 05:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:49: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:49: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-07 05: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-07 05: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-07 05:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:49: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-07 05:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:49:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:49:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":174450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:49:52] local.INFO: GPS data processed {"connection_id":174450,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:49:52] local.INFO: Acknowledgment sent {"connection_id":174450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:50:23] local.INFO: TCP Data received {"connection_id":174450,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:23] local.INFO: Processing buffer {"connection_id":174450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:23] local.INFO: Packet analysis {"connection_id":174450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:50:23] local.INFO: Extracted packet for processing {"connection_id":174450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:50:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:50: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-07 05:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:50: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:50: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-07 05: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-07 05: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-07 05:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:50: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-07 05:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:50:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:50:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":174450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:50:23] local.INFO: GPS data processed {"connection_id":174450,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:50:23] local.INFO: Acknowledgment sent {"connection_id":174450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:50:45] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:45] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:45] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:50:51] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:51] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:50:51] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:50:52] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:52] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:50:52] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:50:52] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:50: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-07 05: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-07 05: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-07 05:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:50: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-07 05:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:50:52] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:50:52] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:51:23] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:23] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:23] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:51:23] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51: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-07 05:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:51: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:51: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-07 05: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-07 05: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-07 05:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:51:23] 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-07 05:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:51:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:51:23] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:51:23] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:51:45] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:45] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:45] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:51:51] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:51] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:51:51] local.INFO: IMEI packet received {"connection_id":174452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":174452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:51:52] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:52] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:51:52] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:51:52] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:51: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-07 05:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:51: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:51: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-07 05: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-07 05: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-07 05:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:51: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-07 05:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:51:52] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:51:52] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:52:23] local.INFO: TCP Data received {"connection_id":174452,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:23] local.INFO: Processing buffer {"connection_id":174452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:23] local.INFO: Packet analysis {"connection_id":174452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:52:23] local.INFO: Extracted packet for processing {"connection_id":174452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:52:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52: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-07 05:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:52: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:52: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-07 05: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-07 05: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-07 05:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:52:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":174452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:52:23] local.INFO: GPS data processed {"connection_id":174452,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:52:23] local.INFO: Acknowledgment sent {"connection_id":174452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:52:51] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:51] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:51] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:52:56] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:56] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:52:56] local.INFO: IMEI packet received {"connection_id":173300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":173300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:52:57] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:57] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:52:57] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:52:57] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:52: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-07 05:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:52: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-07 05:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:52:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:52:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:52:57] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:52:57] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:53:01] local.INFO: TCP Data received {"connection_id":173300,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:02] local.INFO: Processing buffer {"connection_id":173300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:02] local.INFO: Packet analysis {"connection_id":173300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:53:02] local.INFO: Extracted packet for processing {"connection_id":173300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:53:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":173300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:53:02] local.INFO: GPS data processed {"connection_id":173300,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:53:02] local.INFO: Acknowledgment sent {"connection_id":173300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:53:45] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:45] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:45] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:53:51] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:51] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:53:51] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:53:52] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:52] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793b0068012d34cbc006aa45580000011e23..."} 
[2026-09-07 05:53:52] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:53:52] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793b"} 
[2026-09-07 05:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:53: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-07 05:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740305000,"timestamp_ms":1788740305000,"timestamp_seconds":1788740305,"priority":1,"record_length":96,"hex_timestamp":"000001a0793b0068"} 
[2026-09-07 05: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-07 05:53: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-07 05:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:53: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-07 05: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-07 05: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-07 05:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:53: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-07 05:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917441024001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917441024001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:53:52] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:53:52] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:54:23] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:23] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:23] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:54:23] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:54:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54: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-07 05:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:54: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:54: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-07 05: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-07 05: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-07 05:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:54: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-07 05:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:54:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:54:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:54:23] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:54:23] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:54:45] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:45] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:45] local.INFO: IMEI packet received {"connection_id":173302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:54:48] local.INFO: TCP Data received {"connection_id":174453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:54:48] local.INFO: Processing buffer {"connection_id":174453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 05:54:48] local.INFO: IMEI packet received {"connection_id":174453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 05:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":174453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:54:51] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:51] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:54:51] local.INFO: IMEI packet received {"connection_id":173302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":173302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:54:52] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:52] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:54:52] local.INFO: Packet analysis {"connection_id":173302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:54:52] local.INFO: Extracted packet for processing {"connection_id":173302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:54:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:54: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-07 05:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:54: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:54: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-07 05: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-07 05: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-07 05:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:54: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-07 05:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:54:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":173302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:54:52] local.INFO: GPS data processed {"connection_id":173302,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:54:52] local.INFO: Acknowledgment sent {"connection_id":173302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:55:23] local.INFO: TCP Data received {"connection_id":173302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:23] local.INFO: Processing buffer {"connection_id":173302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:23] local.INFO: Packet analysis {"connection_id":173302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:55:23] local.INFO: Extracted packet for processing {"connection_id":173302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:55:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55: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-07 05:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:55: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:55: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-07 05: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-07 05: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-07 05:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:55:23] 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-07 05:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:55:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:55:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":173302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:55:23] local.INFO: GPS data processed {"connection_id":173302,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:55:23] local.INFO: Acknowledgment sent {"connection_id":173302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:55:46] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:46] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:46] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:55:51] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:51] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:55:51] local.INFO: IMEI packet received {"connection_id":173053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":173053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:55:51] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:51] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:55:51] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:55:51] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:55: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-07 05:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:55: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:55: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-07 05: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-07 05: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-07 05:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:55: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-07 05:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:55:52] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:55:52] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:56:23] local.INFO: TCP Data received {"connection_id":173053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:23] local.INFO: Processing buffer {"connection_id":173053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:23] local.INFO: Packet analysis {"connection_id":173053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:56:23] local.INFO: Extracted packet for processing {"connection_id":173053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:56:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56: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-07 05:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:56: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:56: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-07 05: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-07 05: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-07 05:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:56:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":173053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:56:23] local.INFO: GPS data processed {"connection_id":173053,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:56:23] local.INFO: Acknowledgment sent {"connection_id":173053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:56:51] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:51] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:51] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:56:56] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:56] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:56:56] local.INFO: IMEI packet received {"connection_id":174454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":174454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:56:56] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:56] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:56:56] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:56:56] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:56:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:56: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-07 05:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:56: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:56: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-07 05:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:56:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:56:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:56:56] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:56:56] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:57:01] local.INFO: TCP Data received {"connection_id":174454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:01] local.INFO: Processing buffer {"connection_id":174454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:01] local.INFO: Packet analysis {"connection_id":174454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:01] local.INFO: Extracted packet for processing {"connection_id":174454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:57:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":174454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:57:01] local.INFO: GPS data processed {"connection_id":174454,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:57:01] local.INFO: Acknowledgment sent {"connection_id":174454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:57:46] local.INFO: TCP Data received {"connection_id":173305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:46] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:46] local.INFO: IMEI packet received {"connection_id":173305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:57:51] local.INFO: TCP Data received {"connection_id":173305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:51] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:57:51] local.INFO: IMEI packet received {"connection_id":173305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":173305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:57:52] local.INFO: TCP Data received {"connection_id":173305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:52] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:52] local.INFO: Packet analysis {"connection_id":173305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:52] local.INFO: Extracted packet for processing {"connection_id":173305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05: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-07 05:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:57: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-07 05: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-07 05: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-07 05: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-07 05: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-07 05:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57: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-07 05:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":173305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:57:52] local.INFO: GPS data processed {"connection_id":173305,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:57:52] local.INFO: Acknowledgment sent {"connection_id":173305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:57:56] local.INFO: TCP Data received {"connection_id":173305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:56] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:57:56] local.INFO: Packet analysis {"connection_id":173305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:56] local.INFO: Extracted packet for processing {"connection_id":173305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 05:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 05:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 05:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 05:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:57:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:57:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:57:56] local.INFO: GPS data processed {"connection_id":173305,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:57:56] local.INFO: Acknowledgment sent {"connection_id":173305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:58:28] local.INFO: TCP Data received {"connection_id":173305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:28] local.INFO: Processing buffer {"connection_id":173305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:28] local.INFO: Packet analysis {"connection_id":173305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:58:28] local.INFO: Extracted packet for processing {"connection_id":173305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:58:28] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 05:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 05: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-07 05: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-07 05:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 05:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:58:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:58:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":173305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:58:28] local.INFO: GPS data processed {"connection_id":173305,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:58:28] local.INFO: Acknowledgment sent {"connection_id":173305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:58:46] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:46] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:46] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:58:51] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:51] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:58:51] local.INFO: IMEI packet received {"connection_id":173054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":173054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:58:52] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:52] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0793f9830012d34cbc006aa45580000011e26..."} 
[2026-09-07 05:58:52] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:58:52] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0793f"} 
[2026-09-07 05:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917518080001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:58: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-07 05:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740606000,"timestamp_ms":1788740606000,"timestamp_seconds":1788740606,"priority":1,"record_length":96,"hex_timestamp":"000001a0793f9830"} 
[2026-09-07 05: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-07 05: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:58: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-07 05: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-07 05: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-07 05:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:58: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-07 05:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917518080001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917518080001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917518080001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:58:52] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:58:52] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:59:24] local.INFO: TCP Data received {"connection_id":173054,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:24] local.INFO: Processing buffer {"connection_id":173054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:24] local.INFO: Packet analysis {"connection_id":173054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 05:59:24] local.INFO: Extracted packet for processing {"connection_id":173054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 05:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59: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-07 05:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 05: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-07 05:59: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-07 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:59: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-07 05: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-07 05: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-07 05:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:59: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-07 05:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 05:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:59:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:59:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":173054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:59:24] local.INFO: GPS data processed {"connection_id":173054,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:59:24] local.INFO: Acknowledgment sent {"connection_id":173054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 05:59:45] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:45] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:45] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 05:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 05:59:51] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:51] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 05:59:51] local.INFO: IMEI packet received {"connection_id":174455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 05:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":174455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 05:59:52] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:52] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 05:59:52] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 05:59:52] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 05:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 05: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-07 05:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 05:59: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-07 05:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 05: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-07 05:59: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-07 05: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 05:59: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-07 05: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-07 05: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-07 05:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 05:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 05:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 05:59: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-07 05:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 05:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 05:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 05:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 05:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 05:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 05:59:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 05:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 05:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 05:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 05:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 05:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 05:59:52] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-07 05:59:52] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:00:08] local.INFO: TCP Data received {"connection_id":174456,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:08] local.INFO: Processing buffer {"connection_id":174456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:08] local.INFO: IMEI packet received {"connection_id":174456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":174456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:00:24] local.INFO: TCP Data received {"connection_id":174455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:24] local.INFO: Processing buffer {"connection_id":174455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:24] local.INFO: Packet analysis {"connection_id":174455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:00:24] local.INFO: Extracted packet for processing {"connection_id":174455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06: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-07 06: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:00: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-07 06: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-07 06: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-07 06:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:00:24] 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-07 06:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:00:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":174455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:00:24] local.INFO: GPS data processed {"connection_id":174455,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:00:24] local.INFO: Acknowledgment sent {"connection_id":174455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:00:51] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:51] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:51] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:00:53] local.INFO: TCP Data received {"connection_id":173309,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:53] local.INFO: Processing buffer {"connection_id":173309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:00:53] local.INFO: IMEI packet received {"connection_id":173309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:00:56] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:56] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:00:56] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:00:57] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:57] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:00:57] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:00:57] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:00:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06: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-07 06: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-07 06:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:00:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:00:57] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:00:57] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:01:01] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:01] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:01] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:01:01] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:01:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06: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-07 06: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-07 06:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:01:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:01:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:01:01] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:01:01] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:01:46] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:46] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:46] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:01:51] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:51] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:01:51] local.INFO: IMEI packet received {"connection_id":173055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":173055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:01:51] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:51] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:01:51] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:01:51] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:01: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-07 06: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-07 06: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-07 06: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-07 06: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-07 06:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:01: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-07 06:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:01:52] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:01:52] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:02:24] local.INFO: TCP Data received {"connection_id":173055,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:24] local.INFO: Processing buffer {"connection_id":173055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:24] local.INFO: Packet analysis {"connection_id":173055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:02:24] local.INFO: Extracted packet for processing {"connection_id":173055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:02:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02: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-07 06:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:02: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:02: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-07 06: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-07 06: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-07 06:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:02: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-07 06:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:02:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:02:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":173055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:02:24] local.INFO: GPS data processed {"connection_id":173055,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:02:24] local.INFO: Acknowledgment sent {"connection_id":173055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:02:46] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:46] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:46] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:02:51] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:51] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:02:51] local.INFO: IMEI packet received {"connection_id":175793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":175793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:02:51] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:51] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:02:51] local.INFO: Packet analysis {"connection_id":175793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:02:51] local.INFO: Extracted packet for processing {"connection_id":175793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:02: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-07 06:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:02: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:02: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-07 06: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-07 06: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-07 06:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:02: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-07 06:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":175793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:02:51] local.INFO: GPS data processed {"connection_id":175793,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:02:51] local.INFO: Acknowledgment sent {"connection_id":175793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:03:24] local.INFO: TCP Data received {"connection_id":175793,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:24] local.INFO: Processing buffer {"connection_id":175793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:24] local.INFO: Packet analysis {"connection_id":175793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:03:24] local.INFO: Extracted packet for processing {"connection_id":175793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:03:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03: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-07 06:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:03: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:03: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-07 06: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-07 06: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-07 06:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:03: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-07 06:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:03:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:03:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":175793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:03:24] local.INFO: GPS data processed {"connection_id":175793,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:03:24] local.INFO: Acknowledgment sent {"connection_id":175793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:03:45] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:45] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:45] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:03:51] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:51] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:03:51] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:03:52] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:52] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079442ff8012d34cbc006aa45580000011e25..."} 
[2026-09-07 06:03:52] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:03:52] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07944"} 
[2026-09-07 06:03:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":37,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917595136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:03: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-07 06:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788740907000,"timestamp_ms":1788740907000,"timestamp_seconds":1788740907,"priority":1,"record_length":96,"hex_timestamp":"000001a079442ff8"} 
[2026-09-07 06: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-07 06:03: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:03: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-07 06: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-07 06: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-07 06:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:03: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-07 06:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917595136001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917595136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:03:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917595136001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:03:52] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:03:52] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:04:23] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:04:23] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:04:23] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:04:23] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:04:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:04: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-07 06:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:04: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:04: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-07 06: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-07 06: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-07 06:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:04: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-07 06:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:04:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:04:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:04:23] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:04:23] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:04:51] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:51] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:51] local.INFO: IMEI packet received {"connection_id":173058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":173058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:04:59] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:59] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:04:59] local.INFO: IMEI packet received {"connection_id":173058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:05:00] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:00] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:00] local.INFO: Packet analysis {"connection_id":173058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:00] local.INFO: Extracted packet for processing {"connection_id":173058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06: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-07 06: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-07 06:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:05:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:05:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":173058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:05:00] local.INFO: GPS data processed {"connection_id":173058,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:05:00] local.INFO: Acknowledgment sent {"connection_id":173058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:05:01] local.INFO: TCP Data received {"connection_id":173058,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:01] local.INFO: Processing buffer {"connection_id":173058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:01] local.INFO: Packet analysis {"connection_id":173058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:01] local.INFO: Extracted packet for processing {"connection_id":173058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06: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-07 06: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-07 06:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:05:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:05:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":173058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:05:01] local.INFO: GPS data processed {"connection_id":173058,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:05:01] local.INFO: Acknowledgment sent {"connection_id":173058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:05:45] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:45] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:45] local.INFO: IMEI packet received {"connection_id":174458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:05:51] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:51] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:05:51] local.INFO: IMEI packet received {"connection_id":174458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":174458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:05:51] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:51] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:05:51] local.INFO: Packet analysis {"connection_id":174458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:51] local.INFO: Extracted packet for processing {"connection_id":174458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:05:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:05: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-07 06:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:05: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-07 06:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:05: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-07 06:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:05: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-07 06:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:05:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:05:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:05:51] local.INFO: GPS data processed {"connection_id":174458,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:05:51] local.INFO: Acknowledgment sent {"connection_id":174458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:06:23] local.INFO: TCP Data received {"connection_id":174458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:23] local.INFO: Processing buffer {"connection_id":174458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:23] local.INFO: Packet analysis {"connection_id":174458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:06:23] local.INFO: Extracted packet for processing {"connection_id":174458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:06:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:06: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-07 06: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-07 06: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-07 06: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-07 06: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-07 06:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06: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-07 06:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:06:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:06:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":174458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:06:23] local.INFO: GPS data processed {"connection_id":174458,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:06:23] local.INFO: Acknowledgment sent {"connection_id":174458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:06:23] local.INFO: TCP Data received {"connection_id":174459,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:23] local.INFO: Processing buffer {"connection_id":174459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:23] local.INFO: IMEI packet received {"connection_id":174459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":174459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:06:46] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:46] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:46] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:06:49] local.INFO: TCP Data received {"connection_id":173060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:49] local.INFO: Processing buffer {"connection_id":173060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:06:49] local.INFO: IMEI packet received {"connection_id":173060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:06:51] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:51] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:06:51] local.INFO: IMEI packet received {"connection_id":174460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":174460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:06:51] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:51] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:06:51] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:06:51] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:06: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-07 06:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:06: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:06: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-07 06: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-07 06: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-07 06:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:06:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:06:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:06:51] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:06:51] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:07:23] local.INFO: TCP Data received {"connection_id":174460,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:23] local.INFO: Processing buffer {"connection_id":174460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:23] local.INFO: Packet analysis {"connection_id":174460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:07:23] local.INFO: Extracted packet for processing {"connection_id":174460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:07:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07: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-07 06:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:07: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:07: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-07 06: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-07 06: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-07 06:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:07: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-07 06:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:07:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":174460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:07:23] local.INFO: GPS data processed {"connection_id":174460,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:07:23] local.INFO: Acknowledgment sent {"connection_id":174460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:07:45] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:45] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:45] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:07:51] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:51] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:07:51] local.INFO: IMEI packet received {"connection_id":174461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":174461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:07:52] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:52] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:07:52] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:07:52] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:07: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-07 06:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:07: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:07: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-07 06: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-07 06: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-07 06:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:07: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-07 06:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:07:52] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:07:52] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:08:23] local.INFO: TCP Data received {"connection_id":174461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:23] local.INFO: Processing buffer {"connection_id":174461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:23] local.INFO: Packet analysis {"connection_id":174461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:08:23] local.INFO: Extracted packet for processing {"connection_id":174461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:08:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08: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-07 06:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:08: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:08: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-07 06: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-07 06: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-07 06:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:08:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:08:23] local.INFO: GPS data processed {"connection_id":174461,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:08:23] local.INFO: Acknowledgment sent {"connection_id":174461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:08:45] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:45] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:45] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:08:51] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:51] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:08:51] local.INFO: IMEI packet received {"connection_id":175794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":175794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:08:52] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:52] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07948c7c0012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:08:52] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:08:52] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07948"} 
[2026-09-07 06:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917672192001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:08: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-07 06:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741208000,"timestamp_ms":1788741208000,"timestamp_seconds":1788741208,"priority":1,"record_length":96,"hex_timestamp":"000001a07948c7c0"} 
[2026-09-07 06: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-07 06:08: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:08: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-07 06: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-07 06: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-07 06:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:08: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-07 06:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917672192001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917672192001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917672192001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:08:52] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:08:52] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:09:23] local.INFO: TCP Data received {"connection_id":175794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:23] local.INFO: Processing buffer {"connection_id":175794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:23] local.INFO: Packet analysis {"connection_id":175794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:09:23] local.INFO: Extracted packet for processing {"connection_id":175794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:09:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:09: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-07 06:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:09: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:09: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-07 06: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-07 06: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-07 06:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:09:23] 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-07 06:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:09:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":175794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:09:23] local.INFO: GPS data processed {"connection_id":175794,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:09:23] local.INFO: Acknowledgment sent {"connection_id":175794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:09:45] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:45] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:45] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:09:51] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:51] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:09:51] local.INFO: IMEI packet received {"connection_id":175795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":175795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:09:52] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:52] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:09:52] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:09:52] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06: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-07 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:09: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-07 06: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-07 06: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-07 06:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06: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-07 06:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:09:52] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:09:52] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:10:23] local.INFO: TCP Data received {"connection_id":175795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:23] local.INFO: Processing buffer {"connection_id":175795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:23] local.INFO: Packet analysis {"connection_id":175795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:10:23] local.INFO: Extracted packet for processing {"connection_id":175795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:10:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10: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-07 06:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:10: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:10: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-07 06: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-07 06: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-07 06:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:10: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-07 06:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:10:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":175795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:10:23] local.INFO: GPS data processed {"connection_id":175795,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:10:23] local.INFO: Acknowledgment sent {"connection_id":175795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:10:51] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:51] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:51] local.INFO: IMEI packet received {"connection_id":173064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":173064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:10:56] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:56] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:10:56] local.INFO: IMEI packet received {"connection_id":173064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":173064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:10:56] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:56] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:10:56] local.INFO: Packet analysis {"connection_id":173064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:10:56] local.INFO: Extracted packet for processing {"connection_id":173064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:10:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:10:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:10:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":173064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:10:56] local.INFO: GPS data processed {"connection_id":173064,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:10:56] local.INFO: Acknowledgment sent {"connection_id":173064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:11:01] local.INFO: TCP Data received {"connection_id":173064,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:01] local.INFO: Processing buffer {"connection_id":173064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:01] local.INFO: Packet analysis {"connection_id":173064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:11:01] local.INFO: Extracted packet for processing {"connection_id":173064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:11:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:11:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":173064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:11:01] local.INFO: GPS data processed {"connection_id":173064,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:11:01] local.INFO: Acknowledgment sent {"connection_id":173064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:11:45] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:45] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:45] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:11:51] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:51] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:11:51] local.INFO: IMEI packet received {"connection_id":173065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":173065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:11:52] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:52] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:11:52] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:11:52] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:11:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:11: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-07 06:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06: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-07 06:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:11: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-07 06:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:11: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-07 06:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:11:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:11:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:11:52] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:11:52] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:12:08] local.INFO: TCP Data received {"connection_id":173066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:12:08] local.INFO: Processing buffer {"connection_id":173066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:12:08] local.INFO: IMEI packet received {"connection_id":173066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":173066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:12:23] local.INFO: TCP Data received {"connection_id":173065,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:23] local.INFO: Processing buffer {"connection_id":173065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:23] local.INFO: Packet analysis {"connection_id":173065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:12:23] local.INFO: Extracted packet for processing {"connection_id":173065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:12:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12: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-07 06:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:12: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:12: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-07 06: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-07 06: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-07 06:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:12: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-07 06:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:12:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:12:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":173065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:12:23] local.INFO: GPS data processed {"connection_id":173065,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:12:23] local.INFO: Acknowledgment sent {"connection_id":173065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:12:46] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:46] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:46] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:12:51] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:51] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:12:51] local.INFO: IMEI packet received {"connection_id":175796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":175796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:12:51] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:51] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:12:51] local.INFO: Packet analysis {"connection_id":175796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:12:51] local.INFO: Extracted packet for processing {"connection_id":175796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:12: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-07 06:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:12: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:12: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-07 06: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-07 06: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-07 06:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":175796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:12:51] local.INFO: GPS data processed {"connection_id":175796,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:12:51] local.INFO: Acknowledgment sent {"connection_id":175796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:13:23] local.INFO: TCP Data received {"connection_id":175796,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:23] local.INFO: Processing buffer {"connection_id":175796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:23] local.INFO: Packet analysis {"connection_id":175796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:13:23] local.INFO: Extracted packet for processing {"connection_id":175796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:13:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:13: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-07 06:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:13: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:13: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-07 06: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-07 06: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-07 06:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:13: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-07 06:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:13:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":175796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:13:23] local.INFO: GPS data processed {"connection_id":175796,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:13:23] local.INFO: Acknowledgment sent {"connection_id":175796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:13:45] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:45] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:45] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:13:51] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:51] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:13:51] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:13:52] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:52] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0794d5f88012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:13:52] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:13:52] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0794d"} 
[2026-09-07 06:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917749248001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741509000,"timestamp_ms":1788741509000,"timestamp_seconds":1788741509,"priority":1,"record_length":96,"hex_timestamp":"000001a0794d5f88"} 
[2026-09-07 06: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-07 06:13: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-07 06: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":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:13: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-07 06: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-07 06: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-07 06:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:13: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-07 06:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917749248001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917749248001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917749248001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:13:52] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:13:52] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:14:23] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:23] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:23] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:14:23] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14: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-07 06:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:14: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:14: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-07 06: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-07 06: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-07 06:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:14:23] 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-07 06:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:14:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:14:23] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:14:23] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:14:45] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:45] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:45] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:14:51] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:51] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:14:51] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:14:52] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:52] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:14:52] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:14:52] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:14: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-07 06:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:14: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:14: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-07 06: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-07 06: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-07 06:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:14: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-07 06:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:14:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:14:52] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:14:52] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:15:24] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:24] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:24] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:15:24] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:15:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:15: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-07 06:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15: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-07 06:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:15: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-07 06:15: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-07 06:15: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-07 06:15: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-07 06:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:15:24] 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-07 06:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:15:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:15:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:15:24] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:15:24] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:15:51] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:51] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:51] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:15:56] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:56] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:15:56] local.INFO: IMEI packet received {"connection_id":175797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":175797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:15:56] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:56] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:15:56] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:15:56] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:15:56] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06: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-07 06: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-07 06:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:15:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:15:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:15:56] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:15:56] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:16:01] local.INFO: TCP Data received {"connection_id":175797,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:01] local.INFO: Processing buffer {"connection_id":175797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:01] local.INFO: Packet analysis {"connection_id":175797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:16:01] local.INFO: Extracted packet for processing {"connection_id":175797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:16:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 06:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:16:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:16:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":175797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:16:01] local.INFO: GPS data processed {"connection_id":175797,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:16:01] local.INFO: Acknowledgment sent {"connection_id":175797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:16:46] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:46] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:46] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:16:51] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:51] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:16:51] local.INFO: IMEI packet received {"connection_id":175798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":175798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:16:52] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:52] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:16:52] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:16:52] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:16: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-07 06:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:16: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:16: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-07 06: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-07 06: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-07 06:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:16: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-07 06:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:16:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:16:52] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:16:52] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:17:23] local.INFO: TCP Data received {"connection_id":175798,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:23] local.INFO: Processing buffer {"connection_id":175798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:23] local.INFO: Packet analysis {"connection_id":175798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:17:23] local.INFO: Extracted packet for processing {"connection_id":175798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:17:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:17: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-07 06:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:17: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:17: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-07 06: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-07 06: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-07 06:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:17:23] 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-07 06:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"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-07 06:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:17:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":175798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:17:23] local.INFO: GPS data processed {"connection_id":175798,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:17:23] local.INFO: Acknowledgment sent {"connection_id":175798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:17:45] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:45] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:45] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:17:47] local.INFO: TCP Data received {"connection_id":174465,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:17:47] local.INFO: Processing buffer {"connection_id":174465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:17:47] local.INFO: IMEI packet received {"connection_id":174465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":174465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:17:51] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:51] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:17:51] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:17:52] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:52] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:17:52] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:17:52] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:17: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-07 06: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:17: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-07 06: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-07 06: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-07 06:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:17: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-07 06:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:17:52] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:17:52] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:18:24] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:24] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:24] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:18:24] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:18:24] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:18: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-07 06:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:18: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:18: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-07 06: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-07 06: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-07 06:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:18: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-07 06:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:18:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:18:24] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:18:24] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:18:46] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:46] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:46] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:18:51] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:51] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:18:51] local.INFO: IMEI packet received {"connection_id":174466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":174466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:18:52] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:52] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07951f750012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:18:52] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:18:52] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07951"} 
[2026-09-07 06:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917826304001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788741810000,"timestamp_ms":1788741810000,"timestamp_seconds":1788741810,"priority":1,"record_length":96,"hex_timestamp":"000001a07951f750"} 
[2026-09-07 06: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-07 06:18: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-07 06: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:18: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-07 06: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-07 06: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-07 06:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:18: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-07 06:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917826304001,"66":25647,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917826304001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917826304001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:18:52] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:18:52] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:19:23] local.INFO: TCP Data received {"connection_id":174466,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:23] local.INFO: Processing buffer {"connection_id":174466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:23] local.INFO: Packet analysis {"connection_id":174466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:19:23] local.INFO: Extracted packet for processing {"connection_id":174466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917903360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19: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-07 06:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788742111000,"timestamp_ms":1788742111000,"timestamp_seconds":1788742111,"priority":1,"record_length":96,"hex_timestamp":"000001a079568f18"} 
[2026-09-07 06: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-07 06:19: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:19: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-07 06: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-07 06: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-07 06:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:19: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-07 06:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917903360001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917903360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917903360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":174466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:19:23] local.INFO: GPS data processed {"connection_id":174466,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:19:23] local.INFO: Acknowledgment sent {"connection_id":174466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:19:45] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:45] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:45] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:19:51] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:51] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:19:51] local.INFO: IMEI packet received {"connection_id":174467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":174467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:19:51] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:51] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:19:51] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:19:51] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:19:51] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917903360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:19: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-07 06:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788742111000,"timestamp_ms":1788742111000,"timestamp_seconds":1788742111,"priority":1,"record_length":96,"hex_timestamp":"000001a079568f18"} 
[2026-09-07 06:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:19: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-07 06:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:19: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-07 06:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:19: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-07 06:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917903360001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917903360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:19:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917903360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:19:51] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:19:51] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:20:23] local.INFO: TCP Data received {"connection_id":174467,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:23] local.INFO: Processing buffer {"connection_id":174467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:23] local.INFO: Packet analysis {"connection_id":174467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:20:23] local.INFO: Extracted packet for processing {"connection_id":174467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917903360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20: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-07 06:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788742111000,"timestamp_ms":1788742111000,"timestamp_seconds":1788742111,"priority":1,"record_length":96,"hex_timestamp":"000001a079568f18"} 
[2026-09-07 06: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-07 06:20: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-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:20: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-07 06: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-07 06: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-07 06:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:20: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-07 06:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917903360001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917903360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:20:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917903360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":174467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:20:23] local.INFO: GPS data processed {"connection_id":174467,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:20:23] local.INFO: Acknowledgment sent {"connection_id":174467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:20:51] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:51] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:51] local.INFO: IMEI packet received {"connection_id":173069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:20:56] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:56] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:20:56] local.INFO: IMEI packet received {"connection_id":173069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":173069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:20:57] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:57] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:20:57] local.INFO: Packet analysis {"connection_id":173069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:20:57] local.INFO: Extracted packet for processing {"connection_id":173069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:20:57] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917903360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788742111000,"timestamp_ms":1788742111000,"timestamp_seconds":1788742111,"priority":1,"record_length":96,"hex_timestamp":"000001a079568f18"} 
[2026-09-07 06: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-07 06:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917903360001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917903360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:20:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:20:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917903360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":173069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:20:57] local.INFO: GPS data processed {"connection_id":173069,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:20:57] local.INFO: Acknowledgment sent {"connection_id":173069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:21:01] local.INFO: TCP Data received {"connection_id":173069,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:21:01] local.INFO: Processing buffer {"connection_id":173069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079568f18012d34cbc006aa45580000011e27..."} 
[2026-09-07 06:21:01] local.INFO: Packet analysis {"connection_id":173069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:21:01] local.INFO: Extracted packet for processing {"connection_id":173069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07956"} 
[2026-09-07 06:21:01] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917903360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685826985426944,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788742111000,"timestamp_ms":1788742111000,"timestamp_seconds":1788742111,"priority":1,"record_length":96,"hex_timestamp":"000001a079568f18"} 
[2026-09-07 06:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 06:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 06:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917903360001,"66":25625,"97":206,"81":23296,"24":0,"16":400685826985426944,"45":3804345445103523840},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917903360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:21:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:21:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685826985426944,"km_value":400685826985426.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917903360001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":173069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:21:01] local.INFO: GPS data processed {"connection_id":173069,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:21:01] local.INFO: Acknowledgment sent {"connection_id":173069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:21:46] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:46] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:46] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:21:51] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:51] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:21:51] local.INFO: IMEI packet received {"connection_id":174468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":174468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:21:52] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07958c198012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07958c198012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:21:52] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07958c198012d34cbc006aa45580000011e29..."} 
[2026-09-07 06:21:52] local.INFO: Packet analysis {"connection_id":174468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07958"} 
[2026-09-07 06:21:52] local.INFO: Extracted packet for processing {"connection_id":174468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07958"} 
[2026-09-07 06:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758434752,"raw_latitude":111822168,"longitude_deg":75.8434752,"latitude_deg":11.1822168,"altitude":0,"angle":286,"satellites":41,"speed":0,"hex_longitude":"2d34cbc0","hex_latitude":"06aa4558","is_valid_coordinates":true} 
[2026-09-07 06:21: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-07 06:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457917980416001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685831280394240,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:21: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-07 06:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788742255000,"timestamp_ms":1788742255000,"timestamp_seconds":1788742255,"priority":1,"record_length":96,"hex_timestamp":"000001a07958c198"} 
[2026-09-07 06: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-07 06:21: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-07 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:21: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-07 06: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-07 06: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-07 06:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:21: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-07 06:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457917980416001,"66":25625,"97":206,"81":23296,"24":0,"16":400685831280394240,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457917980416001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685831280394240,"km_value":400685831280394.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457917980416001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":174468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:21:52] local.INFO: GPS data processed {"connection_id":174468,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:21:52] local.INFO: Acknowledgment sent {"connection_id":174468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:22:23] local.INFO: TCP Data received {"connection_id":174468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07958cd50012d34c90006aa44400000005229..."} 
[2026-09-07 06:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07958cd50012d34c90006aa44400000005229..."} 
[2026-09-07 06:22:23] local.INFO: Processing buffer {"connection_id":174468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07958cd50012d34c90006aa44400000005229..."} 
[2026-09-07 06:22:23] local.INFO: Packet analysis {"connection_id":174468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07958"} 
[2026-09-07 06:22:23] local.INFO: Extracted packet for processing {"connection_id":174468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07958"} 
[2026-09-07 06:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821888,"longitude_deg":75.8434048,"latitude_deg":11.1821888,"altitude":0,"angle":82,"satellites":41,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa4440","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918017280001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685831280394240,"note":"Value kept but may cause issues"} 
[2026-09-07 06:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804345445103523840,"note":"Value kept but may cause issues"} 
[2026-09-07 06:22: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-07 06:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788742258000,"timestamp_ms":1788742258000,"timestamp_seconds":1788742258,"priority":1,"record_length":96,"hex_timestamp":"000001a07958cd50"} 
[2026-09-07 06: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-07 06: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-07 06: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":25,"data_length":795,"current_offset":136} 
[2026-09-07 06:22: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-07 06: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-07 06: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-07 06:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:22: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-07 06:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918017280001,"66":27397,"97":206,"81":23296,"24":0,"16":400685831280394240,"45":3804345445103523840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918017280001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:22:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685831280394240,"km_value":400685831280394.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804345445103523840,"description":"Unknown IO ID 45"} 
[2026-09-07 06:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918017280001,"power":27397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804345445103523840}} 
[2026-09-07 06:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":174468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:22:23] local.INFO: GPS data processed {"connection_id":174468,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:22:23] local.INFO: Acknowledgment sent {"connection_id":174468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:22:44] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:44] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:44] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:22:45] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:45] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:45] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:22:46] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:46] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:46] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:22:51] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:51] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:22:51] local.INFO: IMEI packet received {"connection_id":173070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":173070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:22:52] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079590400012d34c9c006aa44300000006229..."} 
[2026-09-07 06:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079590400012d34c9c006aa44300000006229..."} 
[2026-09-07 06:22:52] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079590400012d34c9c006aa44300000006229..."} 
[2026-09-07 06:22:52] local.INFO: Packet analysis {"connection_id":173070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07959"} 
[2026-09-07 06:22:52] local.INFO: Extracted packet for processing {"connection_id":173070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07959"} 
[2026-09-07 06:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758434240,"raw_latitude":111821872,"longitude_deg":75.843424,"latitude_deg":11.1821872,"altitude":0,"angle":98,"satellites":41,"speed":1,"hex_longitude":"2d34c9c0","hex_latitude":"06aa4430","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918018048001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685839870328832,"note":"Value kept but may cause issues"} 
[2026-09-07 06:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917497856,"note":"Value kept but may cause issues"} 
[2026-09-07 06: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-07 06:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788742272000,"timestamp_ms":1788742272000,"timestamp_seconds":1788742272,"priority":1,"record_length":96,"hex_timestamp":"000001a079590400"} 
[2026-09-07 06: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-07 06:22: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-07 06: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 06:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:22: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-07 06:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918018048001,"66":27843,"97":206,"81":23296,"24":1,"16":400685839870328832,"45":3803571388917497856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918018048001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685839870328832,"km_value":400685839870328.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917497856,"description":"Unknown IO ID 45"} 
[2026-09-07 06:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918018048001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3803571388917497856}} 
[2026-09-07 06:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:22:52] local.INFO: GPS data processed {"connection_id":173070,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:22:52] local.INFO: Acknowledgment sent {"connection_id":173070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:23:08] local.INFO: TCP Data received {"connection_id":175801,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:08] local.INFO: Processing buffer {"connection_id":175801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:08] local.INFO: IMEI packet received {"connection_id":175801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":175801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:23:23] local.INFO: TCP Data received {"connection_id":173070,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07959e2a8012d34cac006aa42880000007f27..."} 
[2026-09-07 06:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07959e2a8012d34cac006aa42880000007f27..."} 
[2026-09-07 06:23:23] local.INFO: Processing buffer {"connection_id":173070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07959e2a8012d34cac006aa42880000007f27..."} 
[2026-09-07 06:23:23] local.INFO: Packet analysis {"connection_id":173070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07959"} 
[2026-09-07 06:23:23] local.INFO: Extracted packet for processing {"connection_id":173070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07959"} 
[2026-09-07 06:23:23] local.INFO: GPS Element Parsed {"raw_longitude":758434496,"raw_latitude":111821448,"longitude_deg":75.8434496,"latitude_deg":11.1821448,"altitude":0,"angle":127,"satellites":39,"speed":1,"hex_longitude":"2d34cac0","hex_latitude":"06aa4288","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918035712001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400685899999870976,"note":"Value kept but may cause issues"} 
[2026-09-07 06:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804063970126641152,"note":"Value kept but may cause issues"} 
[2026-09-07 06:23: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-07 06:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788742329000,"timestamp_ms":1788742329000,"timestamp_seconds":1788742329,"priority":1,"record_length":96,"hex_timestamp":"000001a07959e2a8"} 
[2026-09-07 06: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-07 06:23: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-07 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 06:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:23: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-07 06:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918035712001,"66":27767,"97":206,"81":23296,"24":1,"16":400685899999870976,"45":3804063970126641152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-07 06:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918035712001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:23:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 06:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400685899999870976,"km_value":400685899999871.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804063970126641152,"description":"Unknown IO ID 45"} 
[2026-09-07 06:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918035712001,"power":27767,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3804063970126641152}} 
[2026-09-07 06:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":173070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:23:23] local.INFO: GPS data processed {"connection_id":173070,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:23:23] local.INFO: Acknowledgment sent {"connection_id":173070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:23:45] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:45] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:45] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:23:46] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:46] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:46] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:23:47] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:47] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:47] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:23:47] local.INFO: TCP Data received {"connection_id":175803,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:47] local.INFO: Processing buffer {"connection_id":175803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:23:47] local.INFO: IMEI packet received {"connection_id":175803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":175803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:23:48] local.INFO: TCP Data received {"connection_id":175802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:48] local.INFO: Processing buffer {"connection_id":175802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:23:48] local.INFO: IMEI packet received {"connection_id":175802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":175802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:28:51] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:28:51] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:28:51] local.INFO: IMEI packet received {"connection_id":174471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":174471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:28:53] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:28:53] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:28:53] local.INFO: Packet analysis {"connection_id":174471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:28:53] local.INFO: Extracted packet for processing {"connection_id":174471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:28:53] local.INFO: GPS Element Parsed {"raw_longitude":758415168,"raw_latitude":111843528,"longitude_deg":75.8415168,"latitude_deg":11.1843528,"altitude":15,"angle":277,"satellites":45,"speed":35,"hex_longitude":"2d347f40","hex_latitude":"06aa98c8","is_valid_coordinates":true} 
[2026-09-07 06:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918090752001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400689035325997056,"note":"Value kept but may cause issues"} 
[2026-09-07 06:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793156814784131072,"note":"Value kept but may cause issues"} 
[2026-09-07 06:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788742553000,"timestamp_ms":1788742553000,"timestamp_seconds":1788742553,"priority":1,"record_length":96,"hex_timestamp":"000001a0795d4da8"} 
[2026-09-07 06:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:28: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-07 06:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 06:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918090752001,"66":27745,"34":206,"81":23296,"24":35,"16":400689035325997056,"45":3793156814784131072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918090752001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:28:53] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:28:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400689035325997056,"km_value":400689035325997.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793156814784131072,"description":"Unknown IO ID 45"} 
[2026-09-07 06:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918090752001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3793156814784131072}} 
[2026-09-07 06:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":174471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:28:53] local.INFO: GPS data processed {"connection_id":174471,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:28:53] local.INFO: Acknowledgment sent {"connection_id":174471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:29:13] local.INFO: TCP Data received {"connection_id":174472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:13] local.INFO: Processing buffer {"connection_id":174472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:13] local.INFO: IMEI packet received {"connection_id":174472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":174472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:29:24] local.INFO: TCP Data received {"connection_id":174471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:29:24] local.INFO: Processing buffer {"connection_id":174471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795d4da8012d347f4006aa98c8000f01152d..."} 
[2026-09-07 06:29:24] local.INFO: Packet analysis {"connection_id":174471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:29:24] local.INFO: Extracted packet for processing {"connection_id":174471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":758415168,"raw_latitude":111843528,"longitude_deg":75.8415168,"latitude_deg":11.1843528,"altitude":15,"angle":277,"satellites":45,"speed":35,"hex_longitude":"2d347f40","hex_latitude":"06aa98c8","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918093568001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400689035325997056,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3782812609390626816,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788742553000,"timestamp_ms":1788742553000,"timestamp_seconds":1788742553,"priority":1,"record_length":96,"hex_timestamp":"000001a0795d4da8"} 
[2026-09-07 06: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-07 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:29:24] 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-07 06: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-07 06: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-07 06:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:29: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-07 06:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918093568001,"66":27745,"34":206,"81":23296,"24":35,"16":400689035325997056,"45":3782812609390626816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918093568001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:29:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:29:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400689035325997056,"km_value":400689035325997.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3782812609390626816,"description":"Unknown IO ID 45"} 
[2026-09-07 06:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918093568001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3782812609390626816}} 
[2026-09-07 06:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":174471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:29:24] local.INFO: GPS data processed {"connection_id":174471,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:29:24] local.INFO: Acknowledgment sent {"connection_id":174471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:29:46] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:46] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:46] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:29:49] local.INFO: TCP Data received {"connection_id":173072,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:49] local.INFO: Processing buffer {"connection_id":173072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:29:49] local.INFO: IMEI packet received {"connection_id":173072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:29:51] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:51] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:29:51] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:29:53] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0795d6900012d34664006aa9918001001082f..."} 
[2026-09-07 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795d6900012d34664006aa9918001001082f..."} 
[2026-09-07 06:29:53] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795d6900012d34664006aa9918001001082f..."} 
[2026-09-07 06:29:53] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:29:53] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758408768,"raw_latitude":111843608,"longitude_deg":75.8408768,"latitude_deg":11.1843608,"altitude":16,"angle":264,"satellites":47,"speed":36,"hex_longitude":"2d346640","hex_latitude":"06aa9918","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918093568001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400689340268675072,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3782812609390626816,"note":"Value kept but may cause issues"} 
[2026-09-07 06:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788742560000,"timestamp_ms":1788742560000,"timestamp_seconds":1788742560,"priority":1,"record_length":96,"hex_timestamp":"000001a0795d6900"} 
[2026-09-07 06: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-07 06:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:29:53] 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-07 06: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-07 06: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-07 06:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:29: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-07 06:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918093568001,"66":27767,"34":206,"81":23296,"24":36,"16":400689340268675072,"45":3782812609390626816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918093568001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:29:53] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400689340268675072,"km_value":400689340268675.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3782812609390626816,"description":"Unknown IO ID 45"} 
[2026-09-07 06:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918093568001,"power":27767,"unknown_34":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3782812609390626816}} 
[2026-09-07 06:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:29:53] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:29:53] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:30:25] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0795d78a0012d34580006aa9610001000fb2c..."} 
[2026-09-07 06:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795d78a0012d34580006aa9610001000fb2c..."} 
[2026-09-07 06:30:25] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795d78a0012d34580006aa9610001000fb2c..."} 
[2026-09-07 06:30:25] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:30:25] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:30:25] local.INFO: GPS Element Parsed {"raw_longitude":758405120,"raw_latitude":111842832,"longitude_deg":75.840512,"latitude_deg":11.1842832,"altitude":16,"angle":251,"satellites":44,"speed":35,"hex_longitude":"2d345800","hex_latitude":"06aa9610","is_valid_coordinates":true} 
[2026-09-07 06:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918095360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400689516362334208,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3775775734972880896,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788742564000,"timestamp_ms":1788742564000,"timestamp_seconds":1788742564,"priority":1,"record_length":96,"hex_timestamp":"000001a0795d78a0"} 
[2026-09-07 06:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:30: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-07 06:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918095360001,"66":27713,"34":206,"81":23296,"24":35,"16":400689516362334208,"45":3775775734972880896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918095360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:30:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400689516362334208,"km_value":400689516362334.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3775775734972880896,"description":"Unknown IO ID 45"} 
[2026-09-07 06:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918095360001,"power":27713,"unknown_34":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3775775734972880896}} 
[2026-09-07 06:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:30:25] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:30:25] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:30:45] local.INFO: TCP Data received {"connection_id":173074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:45] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:45] local.INFO: IMEI packet received {"connection_id":173074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:30:51] local.INFO: TCP Data received {"connection_id":173074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:51] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:30:51] local.INFO: IMEI packet received {"connection_id":173074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":173074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:30:52] local.INFO: TCP Data received {"connection_id":173074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0795d9fb0012d3435c006aa8a68000e00fe2d..."} 
[2026-09-07 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795d9fb0012d3435c006aa8a68000e00fe2d..."} 
[2026-09-07 06:30:52] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795d9fb0012d3435c006aa8a68000e00fe2d..."} 
[2026-09-07 06:30:52] local.INFO: Packet analysis {"connection_id":173074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:30:52] local.INFO: Extracted packet for processing {"connection_id":173074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:30:52] local.INFO: GPS Element Parsed {"raw_longitude":758396352,"raw_latitude":111839848,"longitude_deg":75.8396352,"latitude_deg":11.1839848,"altitude":14,"angle":254,"satellites":45,"speed":32,"hex_longitude":"2d3435c0","hex_latitude":"06aa8a68","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918096384001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400689958743965696,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3771764716554555392,"note":"Value kept but may cause issues"} 
[2026-09-07 06:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788742574000,"timestamp_ms":1788742574000,"timestamp_seconds":1788742574,"priority":1,"record_length":96,"hex_timestamp":"000001a0795d9fb0"} 
[2026-09-07 06: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-07 06:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 06:30:52] 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-07 06: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-07 06: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-07 06:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:30: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-07 06:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918096384001,"66":27626,"34":206,"81":23296,"24":32,"16":400689958743965696,"45":3771764716554555392},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918096384001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:30:52] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400689958743965696,"km_value":400689958743965.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3771764716554555392,"description":"Unknown IO ID 45"} 
[2026-09-07 06:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918096384001,"power":27626,"unknown_34":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3771764716554555392}} 
[2026-09-07 06:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":173074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:30:52] local.INFO: GPS data processed {"connection_id":173074,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:30:52] local.INFO: Acknowledgment sent {"connection_id":173074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:31:25] local.INFO: TCP Data received {"connection_id":173074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0795dcaa8012d34134006aa81a0001000fd2e..."} 
[2026-09-07 06:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795dcaa8012d34134006aa81a0001000fd2e..."} 
[2026-09-07 06:31:25] local.INFO: Processing buffer {"connection_id":173074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795dcaa8012d34134006aa81a0001000fd2e..."} 
[2026-09-07 06:31:25] local.INFO: Packet analysis {"connection_id":173074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:31:25] local.INFO: Extracted packet for processing {"connection_id":173074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758387520,"raw_latitude":111837600,"longitude_deg":75.838752,"latitude_deg":11.18376,"altitude":16,"angle":253,"satellites":46,"speed":33,"hex_longitude":"2d341340","hex_latitude":"06aa81a0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918098944001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400690392535662592,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3762124198601451520,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788742585000,"timestamp_ms":1788742585000,"timestamp_seconds":1788742585,"priority":1,"record_length":96,"hex_timestamp":"000001a0795dcaa8"} 
[2026-09-07 06: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-07 06:31: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-07 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 06:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:31: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-07 06:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918098944001,"66":27647,"34":206,"81":23296,"24":33,"16":400690392535662592,"45":3762124198601451520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918098944001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:31:25] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:31:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400690392535662592,"km_value":400690392535662.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3762124198601451520,"description":"Unknown IO ID 45"} 
[2026-09-07 06:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918098944001,"power":27647,"unknown_34":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3762124198601451520}} 
[2026-09-07 06:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":173074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:31:25] local.INFO: GPS data processed {"connection_id":173074,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:31:25] local.INFO: Acknowledgment sent {"connection_id":173074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:31:50] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:50] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:50] local.INFO: IMEI packet received {"connection_id":173075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:31:56] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:56] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:31:56] local.INFO: IMEI packet received {"connection_id":173075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":173075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:31:57] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0795df5a0012d33f2c006aa74f0001000ee2f..."} 
[2026-09-07 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795df5a0012d33f2c006aa74f0001000ee2f..."} 
[2026-09-07 06:31:57] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795df5a0012d33f2c006aa74f0001000ee2f..."} 
[2026-09-07 06:31:57] local.INFO: Packet analysis {"connection_id":173075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:31:57] local.INFO: Extracted packet for processing {"connection_id":173075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795d"} 
[2026-09-07 06:31:57] local.INFO: GPS Element Parsed {"raw_longitude":758379200,"raw_latitude":111834352,"longitude_deg":75.83792,"latitude_deg":11.1834352,"altitude":16,"angle":238,"satellites":47,"speed":32,"hex_longitude":"2d33f2c0","hex_latitude":"06aa74f0","is_valid_coordinates":true} 
[2026-09-07 06:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918101760001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400690822032392192,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752413311904358400,"note":"Value kept but may cause issues"} 
[2026-09-07 06:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788742596000,"timestamp_ms":1788742596000,"timestamp_seconds":1788742596,"priority":1,"record_length":96,"hex_timestamp":"000001a0795df5a0"} 
[2026-09-07 06:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 06:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918101760001,"66":27745,"34":206,"81":23296,"24":32,"16":400690822032392192,"45":3752413311904358400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918101760001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:31:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:31:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400690822032392192,"km_value":400690822032392.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752413311904358400,"description":"Unknown IO ID 45"} 
[2026-09-07 06:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918101760001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3752413311904358400}} 
[2026-09-07 06:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":173075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:31:57] local.INFO: GPS data processed {"connection_id":173075,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:31:57] local.INFO: Acknowledgment sent {"connection_id":173075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:32:01] local.INFO: TCP Data received {"connection_id":173075,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0795e0158012d33eac006aa6ee8001000e22f..."} 
[2026-09-07 06:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795e0158012d33eac006aa6ee8001000e22f..."} 
[2026-09-07 06:32:01] local.INFO: Processing buffer {"connection_id":173075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795e0158012d33eac006aa6ee8001000e22f..."} 
[2026-09-07 06:32:01] local.INFO: Packet analysis {"connection_id":173075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795e"} 
[2026-09-07 06:32:01] local.INFO: Extracted packet for processing {"connection_id":173075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795e"} 
[2026-09-07 06:32:01] local.INFO: GPS Element Parsed {"raw_longitude":758377152,"raw_latitude":111832808,"longitude_deg":75.8377152,"latitude_deg":11.1832808,"altitude":16,"angle":226,"satellites":47,"speed":33,"hex_longitude":"2d33eac0","hex_latitude":"06aa6ee8","is_valid_coordinates":true} 
[2026-09-07 06:32: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-07 06:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918104576001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400690942291476480,"note":"Value kept but may cause issues"} 
[2026-09-07 06:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3743265375160430592,"note":"Value kept but may cause issues"} 
[2026-09-07 06:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788742599000,"timestamp_ms":1788742599000,"timestamp_seconds":1788742599,"priority":1,"record_length":96,"hex_timestamp":"000001a0795e0158"} 
[2026-09-07 06:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:32:01] 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-07 06:32: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-07 06:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918104576001,"66":27800,"34":206,"81":23296,"24":33,"16":400690942291476480,"45":3743265375160430592},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918104576001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:32:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:32:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400690942291476480,"km_value":400690942291476.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3743265375160430592,"description":"Unknown IO ID 45"} 
[2026-09-07 06:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918104576001,"power":27800,"unknown_34":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3743265375160430592}} 
[2026-09-07 06:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":173075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:32:01] local.INFO: GPS data processed {"connection_id":173075,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:32:01] local.INFO: Acknowledgment sent {"connection_id":173075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:32:55] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:32:55] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:32:55] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:33:01] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:01] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:01] local.INFO: IMEI packet received {"connection_id":175808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":175808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:33:01] local.INFO: TCP Data received {"connection_id":175808,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0795e2c50012d33d0c006aa5708000c00e12f..."} 
[2026-09-07 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0795e2c50012d33d0c006aa5708000c00e12f..."} 
[2026-09-07 06:33:01] local.INFO: Processing buffer {"connection_id":175808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0795e2c50012d33d0c006aa5708000c00e12f..."} 
[2026-09-07 06:33:01] local.INFO: Packet analysis {"connection_id":175808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0795e"} 
[2026-09-07 06:33:01] local.INFO: Extracted packet for processing {"connection_id":175808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0795e"} 
[2026-09-07 06:33:01] local.INFO: GPS Element Parsed {"raw_longitude":758370496,"raw_latitude":111826696,"longitude_deg":75.8370496,"latitude_deg":11.1826696,"altitude":12,"angle":225,"satellites":47,"speed":32,"hex_longitude":"2d33d0c0","hex_latitude":"06aa5708","is_valid_coordinates":true} 
[2026-09-07 06:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918105344001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400691376083173376,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741013575346350080,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788742610000,"timestamp_ms":1788742610000,"timestamp_seconds":1788742610,"priority":1,"record_length":96,"hex_timestamp":"000001a0795e2c50"} 
[2026-09-07 06:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:33: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-07 06:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 06:33:01] 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-07 06:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918105344001,"66":27767,"34":206,"81":23296,"24":32,"16":400691376083173376,"45":3741013575346350080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918105344001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:33:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:33:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400691376083173376,"km_value":400691376083173.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3741013575346350080,"description":"Unknown IO ID 45"} 
[2026-09-07 06:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918105344001,"power":27767,"unknown_34":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3741013575346350080}} 
[2026-09-07 06:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":175808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:33:01] local.INFO: GPS data processed {"connection_id":175808,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:33:01] local.INFO: Acknowledgment sent {"connection_id":175808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:33:45] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:45] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:45] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:33:48] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:48] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:48] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:33:52] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:52] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:33:52] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:33:53] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079638f38012d33a9c006aa20e00000001c2c..."} 
[2026-09-07 06:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079638f38012d33a9c006aa20e00000001c2c..."} 
[2026-09-07 06:33:53] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079638f38012d33a9c006aa20e00000001c2c..."} 
[2026-09-07 06:33:53] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:33:53] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758360512,"raw_latitude":111812832,"longitude_deg":75.8360512,"latitude_deg":11.1812832,"altitude":0,"angle":28,"satellites":44,"speed":13,"hex_longitude":"2d33a9c0","hex_latitude":"06aa20e0","is_valid_coordinates":true} 
[2026-09-07 06:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918198016001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400691981673562112,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722365858134030336,"note":"Value kept but may cause issues"} 
[2026-09-07 06:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788742963000,"timestamp_ms":1788742963000,"timestamp_seconds":1788742963,"priority":1,"record_length":96,"hex_timestamp":"000001a079638f38"} 
[2026-09-07 06:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:33: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-07 06:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 06:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:33: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-07 06:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918198016001,"66":27691,"34":206,"81":23296,"24":13,"16":400691981673562112,"45":3722365858134030336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918198016001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:33:53] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:33:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400691981673562112,"km_value":400691981673562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722365858134030336,"description":"Unknown IO ID 45"} 
[2026-09-07 06:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918198016001,"power":27691,"unknown_34":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":3722365858134030336}} 
[2026-09-07 06:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:33:53] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:33:53] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:34:24] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079639af0012d33acc006aa24f00000002a2a..."} 
[2026-09-07 06:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079639af0012d33acc006aa24f00000002a2a..."} 
[2026-09-07 06:34:24] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079639af0012d33acc006aa24f00000002a2a..."} 
[2026-09-07 06:34:24] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:34:24] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:34:24] local.INFO: GPS Element Parsed {"raw_longitude":758361280,"raw_latitude":111813872,"longitude_deg":75.836128,"latitude_deg":11.1813872,"altitude":0,"angle":42,"satellites":42,"speed":16,"hex_longitude":"2d33acc0","hex_latitude":"06aa24f0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918198528001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400692046098071552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722717701855043584,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788742966000,"timestamp_ms":1788742966000,"timestamp_seconds":1788742966,"priority":1,"record_length":96,"hex_timestamp":"000001a079639af0"} 
[2026-09-07 06: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-07 06:34: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-07 06:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 06:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:34: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-07 06:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918198528001,"66":27745,"34":206,"81":23296,"24":16,"16":400692046098071552,"45":3722717701855043584},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918198528001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:34:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:34:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400692046098071552,"km_value":400692046098071.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722717701855043584,"description":"Unknown IO ID 45"} 
[2026-09-07 06:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918198528001,"power":27745,"unknown_34":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":3722717701855043584}} 
[2026-09-07 06:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:34:24] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:34:24] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:34:45] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:45] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:45] local.INFO: IMEI packet received {"connection_id":175809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":175809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:34:46] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:46] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:46] local.INFO: IMEI packet received {"connection_id":175809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":175809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:34:51] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:51] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:34:51] local.INFO: IMEI packet received {"connection_id":175809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":175809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:34:52] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07963a6a8012d33afc006aa29000000001e2c..."} 
[2026-09-07 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07963a6a8012d33afc006aa29000000001e2c..."} 
[2026-09-07 06:34:52] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07963a6a8012d33afc006aa29000000001e2c..."} 
[2026-09-07 06:34:52] local.INFO: Packet analysis {"connection_id":175809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:34:52] local.INFO: Extracted packet for processing {"connection_id":175809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758362048,"raw_latitude":111814912,"longitude_deg":75.8362048,"latitude_deg":11.1814912,"altitude":0,"angle":30,"satellites":44,"speed":16,"hex_longitude":"2d33afc0","hex_latitude":"06aa2900","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918199296001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400692106227613696,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723562126785441792,"note":"Value kept but may cause issues"} 
[2026-09-07 06:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788742969000,"timestamp_ms":1788742969000,"timestamp_seconds":1788742969,"priority":1,"record_length":96,"hex_timestamp":"000001a07963a6a8"} 
[2026-09-07 06: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-07 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:34: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-07 06:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918199296001,"66":27713,"34":206,"81":23296,"24":16,"16":400692106227613696,"45":3723562126785441792},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918199296001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:34:52] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400692106227613696,"km_value":400692106227613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723562126785441792,"description":"Unknown IO ID 45"} 
[2026-09-07 06:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918199296001,"power":27713,"unknown_34":206,"unknown_81":23296,"ignition":16,"odometer":null,"unknown_45":3723562126785441792}} 
[2026-09-07 06:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":175809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:34:52] local.INFO: GPS data processed {"connection_id":175809,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:34:52] local.INFO: Acknowledgment sent {"connection_id":175809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:35:08] local.INFO: TCP Data received {"connection_id":174475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:08] local.INFO: Processing buffer {"connection_id":174475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:08] local.INFO: IMEI packet received {"connection_id":174475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":174475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:35:23] local.INFO: TCP Data received {"connection_id":175809,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07963e140012d33c10006aa47500002002429..."} 
[2026-09-07 06:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07963e140012d33c10006aa47500002002429..."} 
[2026-09-07 06:35:23] local.INFO: Processing buffer {"connection_id":175809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07963e140012d33c10006aa47500002002429..."} 
[2026-09-07 06:35:23] local.INFO: Packet analysis {"connection_id":175809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:35:23] local.INFO: Extracted packet for processing {"connection_id":175809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:35:23] local.INFO: GPS Element Parsed {"raw_longitude":758366464,"raw_latitude":111822672,"longitude_deg":75.8366464,"latitude_deg":11.1822672,"altitude":2,"angle":36,"satellites":41,"speed":25,"hex_longitude":"2d33c100","hex_latitude":"06aa4750","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918200064001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400692540019310592,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724406551715840000,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788742984000,"timestamp_ms":1788742984000,"timestamp_seconds":1788742984,"priority":1,"record_length":96,"hex_timestamp":"000001a07963e140"} 
[2026-09-07 06: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-07 06:35: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-07 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 06:35:23] 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-07 06: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-07 06: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-07 06:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918200064001,"66":27767,"34":206,"81":23296,"24":25,"16":400692540019310592,"45":3724406551715840000},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918200064001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:35:23] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:35:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400692540019310592,"km_value":400692540019310.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724406551715840000,"description":"Unknown IO ID 45"} 
[2026-09-07 06:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918200064001,"power":27767,"unknown_34":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3724406551715840000}} 
[2026-09-07 06:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":175809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:35:23] local.INFO: GPS data processed {"connection_id":175809,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:35:23] local.INFO: Acknowledgment sent {"connection_id":175809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:35:47] local.INFO: TCP Data received {"connection_id":174476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:47] local.INFO: Processing buffer {"connection_id":174476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:35:47] local.INFO: IMEI packet received {"connection_id":174476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:35:53] local.INFO: TCP Data received {"connection_id":173078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:53] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:53] local.INFO: IMEI packet received {"connection_id":173078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:35:55] local.INFO: TCP Data received {"connection_id":173078,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:55] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:35:55] local.INFO: IMEI packet received {"connection_id":173078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":173078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:35:56] local.INFO: TCP Data received {"connection_id":173078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07963f8b0012d33cb4006aa5220000400322a..."} 
[2026-09-07 06:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07963f8b0012d33cb4006aa5220000400322a..."} 
[2026-09-07 06:35:56] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07963f8b0012d33cb4006aa5220000400322a..."} 
[2026-09-07 06:35:56] local.INFO: Packet analysis {"connection_id":173078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:35:56] local.INFO: Extracted packet for processing {"connection_id":173078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07963"} 
[2026-09-07 06:35:56] local.INFO: GPS Element Parsed {"raw_longitude":758369088,"raw_latitude":111825440,"longitude_deg":75.8369088,"latitude_deg":11.182544,"altitude":4,"angle":50,"satellites":42,"speed":25,"hex_longitude":"2d33cb40","hex_latitude":"06aa5220","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918203904001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400692720407937024,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729261995066085376,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788742990000,"timestamp_ms":1788742990000,"timestamp_seconds":1788742990,"priority":1,"record_length":96,"hex_timestamp":"000001a07963f8b0"} 
[2026-09-07 06: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-07 06: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-07 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918203904001,"66":27626,"34":206,"81":23296,"24":25,"16":400692720407937024,"45":3729261995066085376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918203904001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:35:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:35:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400692720407937024,"km_value":400692720407937.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729261995066085376,"description":"Unknown IO ID 45"} 
[2026-09-07 06:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918203904001,"power":27626,"unknown_34":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":3729261995066085376}} 
[2026-09-07 06:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":173078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:35:56] local.INFO: GPS data processed {"connection_id":173078,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:35:56] local.INFO: Acknowledgment sent {"connection_id":173078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:35:57] local.INFO: TCP Data received {"connection_id":173078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079643730012d33e84006aa6cd0000b00322b..."} 
[2026-09-07 06:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079643730012d33e84006aa6cd0000b00322b..."} 
[2026-09-07 06:35:57] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079643730012d33e84006aa6cd0000b00322b..."} 
[2026-09-07 06:35:57] local.INFO: Packet analysis {"connection_id":173078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07964"} 
[2026-09-07 06:35:57] local.INFO: Extracted packet for processing {"connection_id":173078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07964"} 
[2026-09-07 06:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758376512,"raw_latitude":111832272,"longitude_deg":75.8376512,"latitude_deg":11.1832272,"altitude":11,"angle":50,"satellites":43,"speed":24,"hex_longitude":"2d33e840","hex_latitude":"06aa6cd0","is_valid_coordinates":true} 
[2026-09-07 06:35: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-07 06:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918205440001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400693210034208768,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3732147113578078208,"note":"Value kept but may cause issues"} 
[2026-09-07 06:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788743006000,"timestamp_ms":1788743006000,"timestamp_seconds":1788743006,"priority":1,"record_length":96,"hex_timestamp":"000001a079643730"} 
[2026-09-07 06:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 06:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:35: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-07 06:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918205440001,"66":27767,"34":206,"81":23296,"24":24,"16":400693210034208768,"45":3732147113578078208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-09-07 06:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918205440001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:35:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 06:35:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400693210034208768,"km_value":400693210034208.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3732147113578078208,"description":"Unknown IO ID 45"} 
[2026-09-07 06:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918205440001,"power":27767,"unknown_34":206,"unknown_81":23296,"ignition":24,"odometer":null,"unknown_45":3732147113578078208}} 
[2026-09-07 06:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":173078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:35:57] local.INFO: GPS data processed {"connection_id":173078,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:35:57] local.INFO: Acknowledgment sent {"connection_id":173078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:36:30] local.INFO: TCP Data received {"connection_id":173078,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079660fd8012d355d4006aa4658001300712d..."} 
[2026-09-07 06:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079660fd8012d355d4006aa4658001300712d..."} 
[2026-09-07 06:36:30] local.INFO: Processing buffer {"connection_id":173078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079660fd8012d355d4006aa4658001300712d..."} 
[2026-09-07 06:36:30] local.INFO: Packet analysis {"connection_id":173078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:36:30] local.INFO: Extracted packet for processing {"connection_id":173078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758472000,"raw_latitude":111822424,"longitude_deg":75.8472,"latitude_deg":11.1822424,"altitude":19,"angle":113,"satellites":45,"speed":38,"hex_longitude":"2d355d40","hex_latitude":"06aa4658","is_valid_coordinates":true} 
[2026-09-07 06:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918237952001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400698046167384064,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3836152117472788480,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788743127000,"timestamp_ms":1788743127000,"timestamp_seconds":1788743127,"priority":1,"record_length":96,"hex_timestamp":"000001a079660fd8"} 
[2026-09-07 06:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918237952001,"66":27745,"142":206,"81":23296,"24":38,"16":400698046167384064,"45":3836152117472788480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 06:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918237952001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:36:30] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 06:36:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400698046167384064,"km_value":400698046167384.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3836152117472788480,"description":"Unknown IO ID 45"} 
[2026-09-07 06:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918237952001,"power":27745,"unknown_142":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3836152117472788480}} 
[2026-09-07 06:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":173078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:36:30] local.INFO: GPS data processed {"connection_id":173078,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:36:30] local.INFO: Acknowledgment sent {"connection_id":173078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:36:46] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:46] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:46] local.INFO: IMEI packet received {"connection_id":174478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:36:51] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:51] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:36:51] local.INFO: IMEI packet received {"connection_id":174478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":174478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:36:52] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079663300012d357dc006aa38c0001400702c..."} 
[2026-09-07 06:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079663300012d357dc006aa38c0001400702c..."} 
[2026-09-07 06:36:52] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079663300012d357dc006aa38c0001400702c..."} 
[2026-09-07 06:36:52] local.INFO: Packet analysis {"connection_id":174478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:36:52] local.INFO: Extracted packet for processing {"connection_id":174478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758480320,"raw_latitude":111818944,"longitude_deg":75.848032,"latitude_deg":11.1818944,"altitude":20,"angle":112,"satellites":44,"speed":39,"hex_longitude":"2d357dc0","hex_latitude":"06aa38c0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918240512001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400698475664113664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3845300054214989824,"note":"Value kept but may cause issues"} 
[2026-09-07 06:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788743136000,"timestamp_ms":1788743136000,"timestamp_seconds":1788743136,"priority":1,"record_length":96,"hex_timestamp":"000001a079663300"} 
[2026-09-07 06: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-07 06:36: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-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:36: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-07 06:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918240512001,"66":27745,"142":206,"81":23296,"24":39,"16":400698475664113664,"45":3845300054214989824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 06:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918240512001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:36:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 06:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400698475664113664,"km_value":400698475664113.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3845300054214989824,"description":"Unknown IO ID 45"} 
[2026-09-07 06:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918240512001,"power":27745,"unknown_142":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3845300054214989824}} 
[2026-09-07 06:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":174478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:36:52] local.INFO: GPS data processed {"connection_id":174478,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:36:52] local.INFO: Acknowledgment sent {"connection_id":174478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:37:23] local.INFO: TCP Data received {"connection_id":174478,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079665a10012d35a18006aa2998001200712c..."} 
[2026-09-07 06:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079665a10012d35a18006aa2998001200712c..."} 
[2026-09-07 06:37:23] local.INFO: Processing buffer {"connection_id":174478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079665a10012d35a18006aa2998001200712c..."} 
[2026-09-07 06:37:23] local.INFO: Packet analysis {"connection_id":174478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:37:23] local.INFO: Extracted packet for processing {"connection_id":174478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:37:23] local.INFO: GPS Element Parsed {"raw_longitude":758489472,"raw_latitude":111815064,"longitude_deg":75.8489472,"latitude_deg":11.1815064,"altitude":18,"angle":113,"satellites":44,"speed":39,"hex_longitude":"2d35a180","hex_latitude":"06aa2998","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918242816001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400698952405483520,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3854447990957195264,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788743146000,"timestamp_ms":1788743146000,"timestamp_seconds":1788743146,"priority":1,"record_length":96,"hex_timestamp":"000001a079665a10"} 
[2026-09-07 06: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-07 06:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:37:23] 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-07 06: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-07 06: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-07 06:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918242816001,"66":27767,"142":206,"81":23296,"24":39,"16":400698952405483520,"45":3854447990957195264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 06:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918242816001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:37:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 06:37:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400698952405483520,"km_value":400698952405483.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3854447990957195264,"description":"Unknown IO ID 45"} 
[2026-09-07 06:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918242816001,"power":27767,"unknown_142":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3854447990957195264}} 
[2026-09-07 06:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":174478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:37:23] local.INFO: GPS data processed {"connection_id":174478,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:37:23] local.INFO: Acknowledgment sent {"connection_id":174478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:37:44] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:44] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:44] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:37:45] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:45] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:45] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:37:51] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:51] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:37:51] local.INFO: IMEI packet received {"connection_id":173079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":173079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:37:52] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079667d38012d35c38006aa1b80001200702b..."} 
[2026-09-07 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079667d38012d35c38006aa1b80001200702b..."} 
[2026-09-07 06:37:52] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079667d38012d35c38006aa1b80001200702b..."} 
[2026-09-07 06:37:52] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:37:52] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07966"} 
[2026-09-07 06:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758498176,"raw_latitude":111811456,"longitude_deg":75.8498176,"latitude_deg":11.1811456,"altitude":18,"angle":112,"satellites":43,"speed":41,"hex_longitude":"2d35c380","hex_latitude":"06aa1b80","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918245376001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400699399082082304,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3864510721373607936,"note":"Value kept but may cause issues"} 
[2026-09-07 06:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788743155000,"timestamp_ms":1788743155000,"timestamp_seconds":1788743155,"priority":1,"record_length":96,"hex_timestamp":"000001a079667d38"} 
[2026-09-07 06: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-07 06:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:37: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-07 06:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918245376001,"66":27767,"142":206,"81":23296,"24":41,"16":400699399082082304,"45":3864510721373607936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-09-07 06:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918245376001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:37:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-09-07 06:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400699399082082304,"km_value":400699399082082.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3864510721373607936,"description":"Unknown IO ID 45"} 
[2026-09-07 06:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918245376001,"power":27767,"unknown_142":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3864510721373607936}} 
[2026-09-07 06:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:37:52] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:37:52] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:38:25] local.INFO: TCP Data received {"connection_id":173079,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07967d4f8012d371a8006a995b8001100642e..."} 
[2026-09-07 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07967d4f8012d371a8006a995b8001100642e..."} 
[2026-09-07 06:38:25] local.INFO: Processing buffer {"connection_id":173079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07967d4f8012d371a8006a995b8001100642e..."} 
[2026-09-07 06:38:25] local.INFO: Packet analysis {"connection_id":173079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07967"} 
[2026-09-07 06:38:25] local.INFO: Extracted packet for processing {"connection_id":173079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07967"} 
[2026-09-07 06:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758585984,"raw_latitude":111777208,"longitude_deg":75.8585984,"latitude_deg":11.1777208,"altitude":17,"angle":100,"satellites":46,"speed":46,"hex_longitude":"2d371a80","hex_latitude":"06a995b8","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918268160001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400703943157481472,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3960141844701825024,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788743243000,"timestamp_ms":1788743243000,"timestamp_seconds":1788743243,"priority":1,"record_length":96,"hex_timestamp":"000001a07967d4f8"} 
[2026-09-07 06: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-07 06:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 06:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:38: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-07 06:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918268160001,"66":27745,"77":206,"81":23296,"24":46,"16":400703943157481472,"45":3960141844701825024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-07 06:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918268160001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:38:25] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-07 06:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400703943157481472,"km_value":400703943157481.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3960141844701825024,"description":"Unknown IO ID 45"} 
[2026-09-07 06:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918268160001,"power":27745,"unknown_77":206,"unknown_81":23296,"ignition":46,"odometer":null,"unknown_45":3960141844701825024}} 
[2026-09-07 06:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":173079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:38:25] local.INFO: GPS data processed {"connection_id":173079,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:38:25] local.INFO: Acknowledgment sent {"connection_id":173079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:38:45] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:45] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:45] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:38:51] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:51] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:38:51] local.INFO: IMEI packet received {"connection_id":175811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":175811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:38:51] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07967f820012d37404006a98e88001100642b..."} 
[2026-09-07 06:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07967f820012d37404006a98e88001100642b..."} 
[2026-09-07 06:38:51] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07967f820012d37404006a98e88001100642b..."} 
[2026-09-07 06:38:51] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07967"} 
[2026-09-07 06:38:51] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07967"} 
[2026-09-07 06:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758595648,"raw_latitude":111775368,"longitude_deg":75.8595648,"latitude_deg":11.1775368,"altitude":17,"angle":100,"satellites":43,"speed":40,"hex_longitude":"2d374040","hex_latitude":"06a98e88","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918270208001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400704411308916736,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3970626787583834112,"note":"Value kept but may cause issues"} 
[2026-09-07 06:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788743252000,"timestamp_ms":1788743252000,"timestamp_seconds":1788743252,"priority":1,"record_length":96,"hex_timestamp":"000001a07967f820"} 
[2026-09-07 06: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-07 06:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:38:51] 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-07 06: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-07 06: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-07 06:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:38: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-07 06:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918270208001,"66":27745,"201":206,"81":23296,"24":40,"16":400704411308916736,"45":3970626787583834112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-07 06:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918270208001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:38:51] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 06:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400704411308916736,"km_value":400704411308916.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3970626787583834112,"description":"Unknown IO ID 45"} 
[2026-09-07 06:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918270208001,"power":27745,"unknown_201":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":3970626787583834112}} 
[2026-09-07 06:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:38:51] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:38:51] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:39:23] local.INFO: TCP Data received {"connection_id":175811,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079681b48012d37650006a989800011005b2d..."} 
[2026-09-07 06:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079681b48012d37650006a989800011005b2d..."} 
[2026-09-07 06:39:23] local.INFO: Processing buffer {"connection_id":175811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079681b48012d37650006a989800011005b2d..."} 
[2026-09-07 06:39:23] local.INFO: Packet analysis {"connection_id":175811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:23] local.INFO: Extracted packet for processing {"connection_id":175811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758605056,"raw_latitude":111774080,"longitude_deg":75.8605056,"latitude_deg":11.177408,"altitude":17,"angle":91,"satellites":45,"speed":42,"hex_longitude":"2d376500","hex_latitude":"06a98980","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918272512001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400704862280482816,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3981252467954190336,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788743261000,"timestamp_ms":1788743261000,"timestamp_seconds":1788743261,"priority":1,"record_length":96,"hex_timestamp":"000001a079681b48"} 
[2026-09-07 06: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-07 06:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:39:23] 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-07 06: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-07 06: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-07 06:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918272512001,"66":27767,"77":206,"81":23296,"24":42,"16":400704862280482816,"45":3981252467954190336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-07 06:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918272512001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:39:23] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-07 06:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400704862280482816,"km_value":400704862280482.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3981252467954190336,"description":"Unknown IO ID 45"} 
[2026-09-07 06:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918272512001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":42,"odometer":null,"unknown_45":3981252467954190336}} 
[2026-09-07 06:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":175811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:39:23] local.INFO: GPS data processed {"connection_id":175811,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:39:23] local.INFO: Acknowledgment sent {"connection_id":175811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:39:52] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:52] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:52] local.INFO: IMEI packet received {"connection_id":173081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":173081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:39:54] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:54] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:39:54] local.INFO: IMEI packet received {"connection_id":173081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":173081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:39:57] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079683e70012d378b0006a98cb0001100532c..."} 
[2026-09-07 06:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079683e70012d378b0006a98cb0001100532c..."} 
[2026-09-07 06:39:57] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079683e70012d378b0006a98cb0001100532c..."} 
[2026-09-07 06:39:57] local.INFO: Packet analysis {"connection_id":173081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:57] local.INFO: Extracted packet for processing {"connection_id":173081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758614784,"raw_latitude":111774896,"longitude_deg":75.8614784,"latitude_deg":11.1774896,"altitude":17,"angle":83,"satellites":44,"speed":43,"hex_longitude":"2d378b00","hex_latitude":"06a98cb0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918274816001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400705330431918080,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3991596673347977216,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788743270000,"timestamp_ms":1788743270000,"timestamp_seconds":1788743270,"priority":1,"record_length":96,"hex_timestamp":"000001a079683e70"} 
[2026-09-07 06: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-07 06:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918274816001,"66":27463,"77":206,"81":23296,"24":43,"16":400705330431918080,"45":3991596673347977216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-07 06:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918274816001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:39:57] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-07 06:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400705330431918080,"km_value":400705330431918.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3991596673347977216,"description":"Unknown IO ID 45"} 
[2026-09-07 06:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918274816001,"power":27463,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3991596673347977216}} 
[2026-09-07 06:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":173081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:39:57] local.INFO: GPS data processed {"connection_id":173081,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:39:57] local.INFO: Acknowledgment sent {"connection_id":173081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:39:58] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079685db0012d37af8006a99060001000542d..."} 
[2026-09-07 06:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079685db0012d37af8006a99060001000542d..."} 
[2026-09-07 06:39:58] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079685db0012d37af8006a99060001000542d..."} 
[2026-09-07 06:39:58] local.INFO: Packet analysis {"connection_id":173081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:58] local.INFO: Extracted packet for processing {"connection_id":173081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758624128,"raw_latitude":111775840,"longitude_deg":75.8624128,"latitude_deg":11.177584,"altitude":16,"angle":84,"satellites":45,"speed":45,"hex_longitude":"2d37af80","hex_latitude":"06a99060","is_valid_coordinates":true} 
[2026-09-07 06:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918277120001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400705772813549568,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4002292722463191040,"note":"Value kept but may cause issues"} 
[2026-09-07 06:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788743278000,"timestamp_ms":1788743278000,"timestamp_seconds":1788743278,"priority":1,"record_length":96,"hex_timestamp":"000001a079685db0"} 
[2026-09-07 06:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 06:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918277120001,"66":27745,"77":206,"81":23296,"24":45,"16":400705772813549568,"45":4002292722463191040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-09-07 06:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918277120001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:39:58] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-09-07 06:39:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400705772813549568,"km_value":400705772813549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4002292722463191040,"description":"Unknown IO ID 45"} 
[2026-09-07 06:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918277120001,"power":27745,"unknown_77":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":4002292722463191040}} 
[2026-09-07 06:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":173081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:39:58] local.INFO: GPS data processed {"connection_id":173081,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:39:58] local.INFO: Acknowledgment sent {"connection_id":173081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:40:30] local.INFO: TCP Data received {"connection_id":173081,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0796880d8012d37d6c006a99418000f00562c..."} 
[2026-09-07 06:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796880d8012d37d6c006a99418000f00562c..."} 
[2026-09-07 06:40:30] local.INFO: Processing buffer {"connection_id":173081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796880d8012d37d6c006a99418000f00562c..."} 
[2026-09-07 06:40:30] local.INFO: Packet analysis {"connection_id":173081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:40:30] local.INFO: Extracted packet for processing {"connection_id":173081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07968"} 
[2026-09-07 06:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758634176,"raw_latitude":111776792,"longitude_deg":75.8634176,"latitude_deg":11.1776792,"altitude":15,"angle":86,"satellites":44,"speed":44,"hex_longitude":"2d37d6c0","hex_latitude":"06a99418","is_valid_coordinates":true} 
[2026-09-07 06:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918279168001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400706258144854016,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4012566559113371648,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788743287000,"timestamp_ms":1788743287000,"timestamp_seconds":1788743287,"priority":1,"record_length":96,"hex_timestamp":"000001a0796880d8"} 
[2026-09-07 06:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:40:30] 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-07 06:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918279168001,"66":27745,"48":206,"81":23296,"24":44,"16":400706258144854016,"45":4012566559113371648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-09-07 06:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918279168001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:40:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-09-07 06:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400706258144854016,"km_value":400706258144854.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4012566559113371648,"description":"Unknown IO ID 45"} 
[2026-09-07 06:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918279168001,"power":27745,"unknown_48":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":4012566559113371648}} 
[2026-09-07 06:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":173081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:40:30] local.INFO: GPS data processed {"connection_id":173081,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:40:30] local.INFO: Acknowledgment sent {"connection_id":173081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:40:46] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:46] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:46] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:40:51] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:51] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:40:51] local.INFO: IMEI packet received {"connection_id":175812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":175812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:40:52] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0796a2aa0012d39540006a956180012005a30..."} 
[2026-09-07 06:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796a2aa0012d39540006a956180012005a30..."} 
[2026-09-07 06:40:52] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796a2aa0012d39540006a956180012005a30..."} 
[2026-09-07 06:40:52] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:40:52] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758731776,"raw_latitude":111760920,"longitude_deg":75.8731776,"latitude_deg":11.176092,"altitude":18,"angle":90,"satellites":48,"speed":11,"hex_longitude":"2d395400","hex_latitude":"06a95618","is_valid_coordinates":true} 
[2026-09-07 06:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918309376001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130926786816382976,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400710999788748800,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 06:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788743396000,"timestamp_ms":1788743396000,"timestamp_seconds":1788743396,"priority":1,"record_length":96,"hex_timestamp":"000001a0796a2aa0"} 
[2026-09-07 06:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40: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-07 06:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918309376001,"66":27658,"45":4130926786816382976,"81":23296,"24":11,"16":400710999788748800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-07 06:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918309376001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130926786816382976,"description":"Unknown IO ID 45"} 
[2026-09-07 06:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400710999788748800,"km_value":400710999788748.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:40:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457918309376001,"power":27658,"unknown_45":4130926786816382976,"unknown_81":23296,"ignition":11,"odometer":null}} 
[2026-09-07 06:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:40:52] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:40:52] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:40:54] local.INFO: TCP Data received {"connection_id":175812,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0796a2e88012d3954c006a956500012004d30..."} 
[2026-09-07 06:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796a2e88012d3954c006a956500012004d30..."} 
[2026-09-07 06:40:54] local.INFO: Processing buffer {"connection_id":175812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796a2e88012d3954c006a956500012004d30..."} 
[2026-09-07 06:40:54] local.INFO: Packet analysis {"connection_id":175812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:40:54] local.INFO: Extracted packet for processing {"connection_id":175812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758731968,"raw_latitude":111760976,"longitude_deg":75.8731968,"latitude_deg":11.1760976,"altitude":18,"angle":77,"satellites":48,"speed":13,"hex_longitude":"2d3954c0","hex_latitude":"06a95650","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918309376001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4130926786816382976,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400711012673650688,"note":"Value kept but may cause issues"} 
[2026-09-07 06:40:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 06:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788743397000,"timestamp_ms":1788743397000,"timestamp_seconds":1788743397,"priority":1,"record_length":96,"hex_timestamp":"000001a0796a2e88"} 
[2026-09-07 06: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-07 06:40: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-07 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:40: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-07 06:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918309376001,"66":27658,"45":4130926786816382976,"81":23296,"24":13,"16":400711012673650688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-07 06:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918309376001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4130926786816382976,"description":"Unknown IO ID 45"} 
[2026-09-07 06:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400711012673650688,"km_value":400711012673650.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:40:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457918309376001,"power":27658,"unknown_45":4130926786816382976,"unknown_81":23296,"ignition":13,"odometer":null}} 
[2026-09-07 06:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:40:54] local.INFO: GPS data processed {"connection_id":175812,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:40:54] local.INFO: Acknowledgment sent {"connection_id":175812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:41:13] local.INFO: TCP Data received {"connection_id":174479,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:13] local.INFO: Processing buffer {"connection_id":174479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:13] local.INFO: IMEI packet received {"connection_id":174479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":174479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:41:47] local.INFO: TCP Data received {"connection_id":174480,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:47] local.INFO: Processing buffer {"connection_id":174480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:41:47] local.INFO: IMEI packet received {"connection_id":174480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":174480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:42:11] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:11] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:11] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:42:12] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:12] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:12] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:42:16] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:16] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:16] local.INFO: IMEI packet received {"connection_id":173083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":173083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:42:17] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796aea08012d392f4006a9e728000c015930..."} 
[2026-09-07 06:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796aea08012d392f4006a9e728000c015930..."} 
[2026-09-07 06:42:17] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796aea08012d392f4006a9e728000c015930..."} 
[2026-09-07 06:42:17] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:42:17] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796a"} 
[2026-09-07 06:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758722368,"raw_latitude":111798056,"longitude_deg":75.8722368,"latitude_deg":11.1798056,"altitude":12,"angle":345,"satellites":48,"speed":30,"hex_longitude":"2d392f40","hex_latitude":"06a9e728","is_valid_coordinates":true} 
[2026-09-07 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-07 06:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918319360001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400712889574359040,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4123115856219887616,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788743445000,"timestamp_ms":1788743445000,"timestamp_seconds":1788743445,"priority":1,"record_length":96,"hex_timestamp":"000001a0796aea08"} 
[2026-09-07 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-07 06:42: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-07 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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 06:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 06:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42: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-07 06:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918319360001,"66":27713,"237":206,"81":49664,"24":30,"16":400712889574359040,"45":4123115856219887616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-07 06:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918319360001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:42:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-07 06:42:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 06:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400712889574359040,"km_value":400712889574359.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4123115856219887616,"description":"Unknown IO ID 45"} 
[2026-09-07 06:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918319360001,"power":27713,"unknown_237":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4123115856219887616}} 
[2026-09-07 06:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:42:17] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:42:17] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:42:21] local.INFO: TCP Data received {"connection_id":173083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796b3440012d3927c006aa0aa0000d01602f..."} 
[2026-09-07 06:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796b3440012d3927c006aa0aa0000d01602f..."} 
[2026-09-07 06:42:21] local.INFO: Processing buffer {"connection_id":173083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796b3440012d3927c006aa0aa0000d01602f..."} 
[2026-09-07 06:42:21] local.INFO: Packet analysis {"connection_id":173083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:42:21] local.INFO: Extracted packet for processing {"connection_id":173083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:42:21] local.INFO: GPS Element Parsed {"raw_longitude":758720448,"raw_latitude":111807136,"longitude_deg":75.8720448,"latitude_deg":11.1807136,"altitude":13,"angle":352,"satellites":47,"speed":21,"hex_longitude":"2d3927c0","hex_latitude":"06aa0aa0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918321920001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400713340545925120,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120582581431773184,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788743464000,"timestamp_ms":1788743464000,"timestamp_seconds":1788743464,"priority":1,"record_length":96,"hex_timestamp":"000001a0796b3440"} 
[2026-09-07 06: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-07 06:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 06:42:21] 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-07 06: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-07 06: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-07 06:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42: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-07 06:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918321920001,"66":27691,"237":206,"81":49664,"24":21,"16":400713340545925120,"45":4120582581431773184},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,81,24,16,45]} 
[2026-09-07 06:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918321920001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:42:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-07 06:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 06:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400713340545925120,"km_value":400713340545925.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120582581431773184,"description":"Unknown IO ID 45"} 
[2026-09-07 06:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918321920001,"power":27691,"unknown_237":206,"unknown_81":49664,"ignition":21,"odometer":null,"unknown_45":4120582581431773184}} 
[2026-09-07 06:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":173083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:42:21] local.INFO: GPS data processed {"connection_id":173083,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:42:21] local.INFO: Acknowledgment sent {"connection_id":173083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:42:50] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:50] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:50] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:42:52] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:52] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:52] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:42:56] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:56] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:42:56] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:42:57] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796b6320012d39208006aa2c70000c015b30..."} 
[2026-09-07 06:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796b6320012d39208006aa2c70000c015b30..."} 
[2026-09-07 06:42:57] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796b6320012d39208006aa2c70000c015b30..."} 
[2026-09-07 06:42:57] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:42:57] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:42:57] local.INFO: GPS Element Parsed {"raw_longitude":758718592,"raw_latitude":111815792,"longitude_deg":75.8718592,"latitude_deg":11.1815792,"altitude":12,"angle":347,"satellites":48,"speed":37,"hex_longitude":"2d392080","hex_latitude":"06aa2c70","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918326784001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400713770042654720,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118471519108767744,"note":"Value kept but may cause issues"} 
[2026-09-07 06:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788743476000,"timestamp_ms":1788743476000,"timestamp_seconds":1788743476,"priority":1,"record_length":96,"hex_timestamp":"000001a0796b6320"} 
[2026-09-07 06: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-07 06:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 06:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:42:57] 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-07 06:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918326784001,"66":27767,"163":206,"81":23296,"24":37,"16":400713770042654720,"45":4118471519108767744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 06:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918326784001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:42:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 06:42:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400713770042654720,"km_value":400713770042654.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118471519108767744,"description":"Unknown IO ID 45"} 
[2026-09-07 06:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918326784001,"power":27767,"unknown_163":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":4118471519108767744}} 
[2026-09-07 06:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:42:58] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:42:58] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:43:02] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796b8648012d39174006aa4f20000c015931..."} 
[2026-09-07 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796b8648012d39174006aa4f20000c015931..."} 
[2026-09-07 06:43:02] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796b8648012d39174006aa4f20000c015931..."} 
[2026-09-07 06:43:02] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:43:02] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796b"} 
[2026-09-07 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758716224,"raw_latitude":111824672,"longitude_deg":75.8716224,"latitude_deg":11.1824672,"altitude":12,"angle":345,"satellites":49,"speed":41,"hex_longitude":"2d391740","hex_latitude":"06aa4f20","is_valid_coordinates":true} 
[2026-09-07 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918329856001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400714216719253504,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4116430825529831424,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788743485000,"timestamp_ms":1788743485000,"timestamp_seconds":1788743485,"priority":1,"record_length":96,"hex_timestamp":"000001a0796b8648"} 
[2026-09-07 06:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:43:02] 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-07 06:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918329856001,"66":27767,"163":206,"81":23296,"24":41,"16":400714216719253504,"45":4116430825529831424},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 06:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918329856001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:43:02] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 06:43:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 06:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400714216719253504,"km_value":400714216719253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4116430825529831424,"description":"Unknown IO ID 45"} 
[2026-09-07 06:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918329856001,"power":27767,"unknown_163":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":4116430825529831424}} 
[2026-09-07 06:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:43:02] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:43:02] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:43:46] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:46] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:46] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:43:47] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:47] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:47] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:43:51] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:51] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:43:51] local.INFO: IMEI packet received {"connection_id":173084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":173084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:43:51] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796ce1f0012d38ac4006abe1b0000e01592e..."} 
[2026-09-07 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796ce1f0012d38ac4006abe1b0000e01592e..."} 
[2026-09-07 06:43:51] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796ce1f0012d38ac4006abe1b0000e01592e..."} 
[2026-09-07 06:43:51] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796c"} 
[2026-09-07 06:43:51] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796c"} 
[2026-09-07 06:43:51] local.INFO: GPS Element Parsed {"raw_longitude":758688832,"raw_latitude":111927728,"longitude_deg":75.8688832,"latitude_deg":11.1927728,"altitude":14,"angle":345,"satellites":46,"speed":49,"hex_longitude":"2d38ac40","hex_latitude":"06abe1b0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918352896001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400719379269943296,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4086524109280573440,"note":"Value kept but may cause issues"} 
[2026-09-07 06:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788743574000,"timestamp_ms":1788743574000,"timestamp_seconds":1788743574,"priority":1,"record_length":96,"hex_timestamp":"000001a0796ce1f0"} 
[2026-09-07 06: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-07 06: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-07 06:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:43:51] 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-07 06:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918352896001,"66":27800,"186":206,"81":49664,"24":49,"16":400719379269943296,"45":4086524109280573440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 06:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918352896001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:43:51] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 06:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 06:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400719379269943296,"km_value":400719379269943.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4086524109280573440,"description":"Unknown IO ID 45"} 
[2026-09-07 06:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918352896001,"power":27800,"unknown_186":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4086524109280573440}} 
[2026-09-07 06:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:43:51] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:43:51] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:44:22] local.INFO: TCP Data received {"connection_id":173084,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0796d0130012d38a24006ac0788000d01592d..."} 
[2026-09-07 06:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0796d0130012d38a24006ac0788000d01592d..."} 
[2026-09-07 06:44:22] local.INFO: Processing buffer {"connection_id":173084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0796d0130012d38a24006ac0788000d01592d..."} 
[2026-09-07 06:44:22] local.INFO: Packet analysis {"connection_id":173084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0796d"} 
[2026-09-07 06:44:22] local.INFO: Extracted packet for processing {"connection_id":173084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0796d"} 
[2026-09-07 06:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758686272,"raw_latitude":111937416,"longitude_deg":75.8686272,"latitude_deg":11.1937416,"altitude":13,"angle":345,"satellites":45,"speed":49,"hex_longitude":"2d38a240","hex_latitude":"06ac0788","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918354944001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400719864601247744,"note":"Value kept but may cause issues"} 
[2026-09-07 06:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4083709359515873280,"note":"Value kept but may cause issues"} 
[2026-09-07 06:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788743582000,"timestamp_ms":1788743582000,"timestamp_seconds":1788743582,"priority":1,"record_length":96,"hex_timestamp":"000001a0796d0130"} 
[2026-09-07 06: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-07 06:44: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-07 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 06:44:22] 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-07 06: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-07 06: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-07 06:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:44:22] 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-07 06:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918354944001,"66":27800,"186":206,"81":49664,"24":49,"16":400719864601247744,"45":4083709359515873280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 06:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918354944001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:44:22] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 06:44:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 06:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400719864601247744,"km_value":400719864601247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4083709359515873280,"description":"Unknown IO ID 45"} 
[2026-09-07 06:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918354944001,"power":27800,"unknown_186":206,"unknown_81":49664,"ignition":49,"odometer":null,"unknown_45":4083709359515873280}} 
[2026-09-07 06:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":173084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:44:22] local.INFO: GPS data processed {"connection_id":173084,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:44:22] local.INFO: Acknowledgment sent {"connection_id":173084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:44:48] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:48] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:48] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:44:54] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:54] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:54] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:44:55] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:55] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:55] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:44:56] local.INFO: TCP Data received {"connection_id":173086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:56] local.INFO: Processing buffer {"connection_id":173086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:44:56] local.INFO: IMEI packet received {"connection_id":173086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":173086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:46:43] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:43] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:43] local.INFO: IMEI packet received {"connection_id":174482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 06:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":174482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:46:48] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:48] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:46:48] local.INFO: IMEI packet received {"connection_id":174482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":174482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:46:51] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 06:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 06:46:51] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 06:46:51] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 06:46:51] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 06:46: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-07 06: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-07 06:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154077522132992,"note":"Value kept but may cause issues"} 
[2026-09-07 06:46:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 06:46:51] 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-07 06:46:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 06:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 06:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 06:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 06:46:51] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 06:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 06:46:51] local.ERROR: GPS data processing failed {"connection_id":174482,"error":"No valid data to process"} 
[2026-09-07 06:46:51] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 06:46:52] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079701258012d7e3b4005d34ba00000000006..."} 
[2026-09-07 06:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079701258012d7e3b4005d34ba00000000006..."} 
[2026-09-07 06:46:52] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079701258012d7e3b4005d34ba00000000006..."} 
[2026-09-07 06:46:52] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:46:52] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97733536,"longitude_deg":76.3247424,"latitude_deg":9.7733536,"altitude":0,"angle":0,"satellites":6,"speed":0,"hex_longitude":"2d7e3b40","hex_latitude":"05d34ba0","is_valid_coordinates":true} 
[2026-09-07 06:46:52] 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-07 06:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154077522132992,"note":"Value kept but may cause issues"} 
[2026-09-07 06:46:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 06:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788743783000,"timestamp_ms":1788743783000,"timestamp_seconds":1788743783,"priority":1,"record_length":96,"hex_timestamp":"000001a079701258"} 
[2026-09-07 06: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-07 06:46: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 06:46: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-07 06: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-07 06: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-07 06:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13722,"81":206,"85":15104,"24":0,"16":129154077522132992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16]} 
[2026-09-07 06:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-07 06:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154077522132992,"km_value":129154077522132.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:46:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13722,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-09-07 06:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:46:52] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:46:52] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:47:03] local.INFO: TCP Data received {"connection_id":173088,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:47:03] local.INFO: Processing buffer {"connection_id":173088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:47:03] local.INFO: IMEI packet received {"connection_id":173088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":173088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:47:23] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797025e0012d7e388005d34c980000000007..."} 
[2026-09-07 06:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797025e0012d7e388005d34c980000000007..."} 
[2026-09-07 06:47:23] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797025e0012d7e388005d34c980000000007..."} 
[2026-09-07 06:47:23] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:47:23] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733784,"longitude_deg":76.324672,"latitude_deg":9.7733784,"altitude":0,"angle":0,"satellites":7,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918408448001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154111881871360,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266168811520,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788743788000,"timestamp_ms":1788743788000,"timestamp_seconds":1788743788,"priority":1,"record_length":96,"hex_timestamp":"000001a0797025e0"} 
[2026-09-07 06: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-07 06:47:23] 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-07 06: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 06:47:23] 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-07 06: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-07 06: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-07 06:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918408448001,"66":13993,"81":206,"85":15104,"24":0,"16":129154111881871360,"45":9095934266168811520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918408448001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:47:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154111881871360,"km_value":129154111881871.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266168811520,"description":"Unknown IO ID 45"} 
[2026-09-07 06:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918408448001,"power":13993,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095934266168811520}} 
[2026-09-07 06:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:47:23] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:47:23] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:47:54] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797077e8012d7e380005d34c48000000000b..."} 
[2026-09-07 06:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797077e8012d7e380005d34c48000000000b..."} 
[2026-09-07 06:47:54] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797077e8012d7e380005d34c48000000000b..."} 
[2026-09-07 06:47:54] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:47:54] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07970"} 
[2026-09-07 06:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733704,"longitude_deg":76.3246592,"latitude_deg":9.7733704,"altitude":0,"angle":0,"satellites":11,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c48","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918409728001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154146241609728,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982920704,"note":"Value kept but may cause issues"} 
[2026-09-07 06:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788743809000,"timestamp_ms":1788743809000,"timestamp_seconds":1788743809,"priority":1,"record_length":96,"hex_timestamp":"000001a0797077e8"} 
[2026-09-07 06: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-07 06:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 06:47:54] 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-07 06: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-07 06: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-07 06:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918409728001,"66":13906,"81":206,"85":15104,"24":0,"16":129154146241609728,"45":9095160209982920704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918409728001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154146241609728,"km_value":129154146241609.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982920704,"description":"Unknown IO ID 45"} 
[2026-09-07 06:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918409728001,"power":13906,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982920704}} 
[2026-09-07 06:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:47:54] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:47:54] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:48:25] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07971b450012d7e37c005d359000002005b0e..."} 
[2026-09-07 06:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07971b450012d7e37c005d359000002005b0e..."} 
[2026-09-07 06:48:25] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07971b450012d7e37c005d359000002005b0e..."} 
[2026-09-07 06:48:25] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:48:25] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97736960,"longitude_deg":76.3246528,"latitude_deg":9.773696,"altitude":2,"angle":91,"satellites":14,"speed":17,"hex_longitude":"2d7e37c0","hex_latitude":"05d35900","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918435072001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154408234614784,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097611773952,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788743890000,"timestamp_ms":1788743890000,"timestamp_seconds":1788743890,"priority":1,"record_length":96,"hex_timestamp":"000001a07971b450"} 
[2026-09-07 06: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-07 06:48:25] 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-07 06: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 06:48:25] 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-07 06: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-07 06: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-07 06:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918435072001,"66":13765,"81":206,"85":15104,"24":17,"16":129154408234614784,"45":9093612097611773952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918435072001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154408234614784,"km_value":129154408234614.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097611773952,"description":"Unknown IO ID 45"} 
[2026-09-07 06:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918435072001,"power":13765,"unknown_81":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9093612097611773952}} 
[2026-09-07 06:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:48:25] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:48:25] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:48:57] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07971c008012d7e3c0005d358b0000300660e..."} 
[2026-09-07 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07971c008012d7e3c0005d358b0000300660e..."} 
[2026-09-07 06:48:57] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07971c008012d7e3c0005d358b0000300660e..."} 
[2026-09-07 06:48:57] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:48:57] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763247616,"raw_latitude":97736880,"longitude_deg":76.3247616,"latitude_deg":9.773688,"altitude":3,"angle":102,"satellites":14,"speed":12,"hex_longitude":"2d7e3c00","hex_latitude":"05d358b0","is_valid_coordinates":true} 
[2026-09-07 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918435840001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154459774222336,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094949103751200768,"note":"Value kept but may cause issues"} 
[2026-09-07 06:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788743893000,"timestamp_ms":1788743893000,"timestamp_seconds":1788743893,"priority":1,"record_length":96,"hex_timestamp":"000001a07971c008"} 
[2026-09-07 06:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:48:57] 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-07 06:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 06:48:57] 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-07 06:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918435840001,"66":13961,"81":206,"85":15104,"24":12,"16":129154459774222336,"45":9094949103751200768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918435840001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:48:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154459774222336,"km_value":129154459774222.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094949103751200768,"description":"Unknown IO ID 45"} 
[2026-09-07 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918435840001,"power":13961,"unknown_81":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9094949103751200768}} 
[2026-09-07 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:48:57] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:48:57] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:49:27] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07971d390012d7e40c005d35758000300720e..."} 
[2026-09-07 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07971d390012d7e40c005d35758000300720e..."} 
[2026-09-07 06:49:27] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07971d390012d7e40c005d35758000300720e..."} 
[2026-09-07 06:49:27] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:49:27] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07971"} 
[2026-09-07 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763248832,"raw_latitude":97736536,"longitude_deg":76.3248832,"latitude_deg":9.7736536,"altitude":3,"angle":114,"satellites":14,"speed":6,"hex_longitude":"2d7e40c0","hex_latitude":"05d35758","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918436608001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154519903764480,"note":"Value kept but may cause issues"} 
[2026-09-07 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096145372402200576,"note":"Value kept but may cause issues"} 
[2026-09-07 06:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788743898000,"timestamp_ms":1788743898000,"timestamp_seconds":1788743898,"priority":1,"record_length":96,"hex_timestamp":"000001a07971d390"} 
[2026-09-07 06: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-07 06:49:27] 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-07 06: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 06:49:27] 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-07 06: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-07 06: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-07 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918436608001,"66":13656,"81":206,"85":15104,"24":6,"16":129154519903764480,"45":9096145372402200576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918436608001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154519903764480,"km_value":129154519903764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096145372402200576,"description":"Unknown IO ID 45"} 
[2026-09-07 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918436608001,"power":13656,"unknown_81":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9096145372402200576}} 
[2026-09-07 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:49:27] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:49:27] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:50:05] local.INFO: TCP Data received {"connection_id":174482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797221b0012d7e414005d35768000300720f..."} 
[2026-09-07 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797221b0012d7e414005d35768000300720f..."} 
[2026-09-07 06:50:05] local.INFO: Processing buffer {"connection_id":174482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797221b0012d7e414005d35768000300720f..."} 
[2026-09-07 06:50:05] local.INFO: Packet analysis {"connection_id":174482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:05] local.INFO: Extracted packet for processing {"connection_id":174482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":15,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918437888001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097482378541488128,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788743918000,"timestamp_ms":1788743918000,"timestamp_seconds":1788743918,"priority":1,"record_length":96,"hex_timestamp":"000001a0797221b0"} 
[2026-09-07 06:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:50:05] 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-07 06:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 06:50:05] 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-07 06:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918437888001,"66":13993,"109":206,"85":15104,"24":0,"16":129154537083633664,"45":9097482378541488128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 06:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918437888001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:50:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 06:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097482378541488128,"description":"Unknown IO ID 45"} 
[2026-09-07 06:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918437888001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097482378541488128}} 
[2026-09-07 06:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":174482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:50:05] local.INFO: GPS data processed {"connection_id":174482,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:50:05] local.INFO: Acknowledgment sent {"connection_id":174482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:50:13] local.INFO: TCP Data received {"connection_id":175815,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:13] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:13] local.INFO: IMEI packet received {"connection_id":175815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":175815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:50:14] local.INFO: TCP Data received {"connection_id":175815,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079721210012d361e4006b17e300011015330..."} 
[2026-09-07 06:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079721210012d361e4006b17e300011015330..."} 
[2026-09-07 06:50:14] local.INFO: Processing buffer {"connection_id":175815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079721210012d361e4006b17e300011015330..."} 
[2026-09-07 06:50:14] local.INFO: Packet analysis {"connection_id":175815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:14] local.INFO: Extracted packet for processing {"connection_id":175815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758521408,"raw_latitude":112295472,"longitude_deg":75.8521408,"latitude_deg":11.2295472,"altitude":17,"angle":339,"satellites":48,"speed":39,"hex_longitude":"2d361e40","hex_latitude":"06b17e30","is_valid_coordinates":true} 
[2026-09-07 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918439680001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400739028745322496,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3903354268280487936,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788743914000,"timestamp_ms":1788743914000,"timestamp_seconds":1788743914,"priority":1,"record_length":96,"hex_timestamp":"000001a079721210"} 
[2026-09-07 06:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 06:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:50: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-07 06:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918439680001,"66":27658,"222":206,"81":23552,"24":39,"16":400739028745322496,"45":3903354268280487936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-07 06:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918439680001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:50:14] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-07 06:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400739028745322496,"km_value":400739028745322.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3903354268280487936,"description":"Unknown IO ID 45"} 
[2026-09-07 06:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918439680001,"power":27658,"unknown_222":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3903354268280487936}} 
[2026-09-07 06:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":175815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:50:14] local.INFO: GPS data processed {"connection_id":175815,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:50:14] local.INFO: Acknowledgment sent {"connection_id":175815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:50:45] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:45] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:45] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 06:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:50:46] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:50:46] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:46] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:50:49] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:49] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:49] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:50:51] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:51] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:50:51] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:50:51] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079723538012d36118006b19e70001201502f..."} 
[2026-09-07 06:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079723538012d36118006b19e70001201502f..."} 
[2026-09-07 06:50:51] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079723538012d36118006b19e70001201502f..."} 
[2026-09-07 06:50:51] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:51] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:51] local.INFO: GPS Element Parsed {"raw_longitude":758518144,"raw_latitude":112303728,"longitude_deg":75.8518144,"latitude_deg":11.2303728,"altitude":18,"angle":336,"satellites":47,"speed":39,"hex_longitude":"2d361180","hex_latitude":"06b19e70","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918441984001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400739458242052096,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3899624724841246720,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788743923000,"timestamp_ms":1788743923000,"timestamp_seconds":1788743923,"priority":1,"record_length":96,"hex_timestamp":"000001a079723538"} 
[2026-09-07 06: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-07 06:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:50:51] 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-07 06:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918441984001,"66":27745,"222":206,"81":23552,"24":39,"16":400739458242052096,"45":3899624724841246720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,81,24,16,45]} 
[2026-09-07 06:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918441984001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:50:52] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-09-07 06:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400739458242052096,"km_value":400739458242052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3899624724841246720,"description":"Unknown IO ID 45"} 
[2026-09-07 06:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918441984001,"power":27745,"unknown_222":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3899624724841246720}} 
[2026-09-07 06:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:50:52] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:50:52] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:50:53] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:53] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:50:53] local.INFO: IMEI packet received {"connection_id":173092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:50:55] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797273b8012d7e414005d357680003007213..."} 
[2026-09-07 06:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797273b8012d7e414005d357680003007213..."} 
[2026-09-07 06:50:55] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797273b8012d7e414005d357680003007213..."} 
[2026-09-07 06:50:55] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:55] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":19,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918443008001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029847552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788743939000,"timestamp_ms":1788743939000,"timestamp_seconds":1788743939,"priority":1,"record_length":96,"hex_timestamp":"000001a0797273b8"} 
[2026-09-07 06: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-07 06:50:55] 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-07 06: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":169,"data_length":795,"current_offset":136} 
[2026-09-07 06:50: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-07 06: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-07 06: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-07 06:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918443008001,"66":14135,"81":206,"85":15104,"24":0,"16":129154537083633664,"45":9097623116029847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918443008001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:50:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029847552,"description":"Unknown IO ID 45"} 
[2026-09-07 06:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918443008001,"power":14135,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029847552}} 
[2026-09-07 06:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:50:55] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:50:55] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:51:00] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07972c5c0012d7e414005d357680003007216..."} 
[2026-09-07 06:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07972c5c0012d7e414005d357680003007216..."} 
[2026-09-07 06:51:00] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07972c5c0012d7e414005d357680003007216..."} 
[2026-09-07 06:51:00] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:51:00] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07972"} 
[2026-09-07 06:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":22,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918448384001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029847552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788743960000,"timestamp_ms":1788743960000,"timestamp_seconds":1788743960,"priority":1,"record_length":96,"hex_timestamp":"000001a07972c5c0"} 
[2026-09-07 06: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-07 06:51:00] 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-07 06: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 06:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918448384001,"66":14004,"81":206,"85":15104,"24":0,"16":129154537083633664,"45":9097623116029847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918448384001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:51:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029847552,"description":"Unknown IO ID 45"} 
[2026-09-07 06:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918448384001,"power":14004,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029847552}} 
[2026-09-07 06:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:51:00] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:51:00] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:51:23] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079737d58012d34d78006b286b0000c012e31..."} 
[2026-09-07 06:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079737d58012d34d78006b286b0000c012e31..."} 
[2026-09-07 06:51:23] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079737d58012d34d78006b286b0000c012e31..."} 
[2026-09-07 06:51:23] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:23] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:23] local.INFO: GPS Element Parsed {"raw_longitude":758437760,"raw_latitude":112363184,"longitude_deg":75.843776,"latitude_deg":11.2363184,"altitude":12,"angle":302,"satellites":49,"speed":46,"hex_longitude":"2d34d780","hex_latitude":"06b286b0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918463744001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400744302965161984,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3816167394262638592,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788744007000,"timestamp_ms":1788744007000,"timestamp_seconds":1788744007,"priority":1,"record_length":96,"hex_timestamp":"000001a079737d58"} 
[2026-09-07 06: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-07 06:51: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-07 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 06:51: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-07 06: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-07 06: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-07 06:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:51:23] 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-07 06:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918463744001,"66":27843,"80":206,"81":23552,"24":46,"16":400744302965161984,"45":3816167394262638592},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918463744001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:51:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:51:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400744302965161984,"km_value":400744302965162.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3816167394262638592,"description":"Unknown IO ID 45"} 
[2026-09-07 06:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918463744001,"power":27843,"unknown_80":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3816167394262638592}} 
[2026-09-07 06:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:51:23] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:51:23] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:51:32] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797317c8012d7e414005d357680003007217..."} 
[2026-09-07 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797317c8012d7e414005d357680003007217..."} 
[2026-09-07 06:51:32] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797317c8012d7e414005d357680003007217..."} 
[2026-09-07 06:51:32] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:32] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":23,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918453760001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029847552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788743981000,"timestamp_ms":1788743981000,"timestamp_seconds":1788743981,"priority":1,"record_length":96,"hex_timestamp":"000001a0797317c8"} 
[2026-09-07 06:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:51:32] 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-07 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 06:51: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-07 06:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918453760001,"66":14135,"81":206,"85":15104,"24":0,"16":129154537083633664,"45":9097623116029847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918453760001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029847552,"description":"Unknown IO ID 45"} 
[2026-09-07 06:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918453760001,"power":14135,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029847552}} 
[2026-09-07 06:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:51:32] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:51:32] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:51:46] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:51:46] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:46] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:51:51] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:51] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:51:51] local.INFO: IMEI packet received {"connection_id":175816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":175816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:51:53] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079739c98012d34b90006b29a08000b013031..."} 
[2026-09-07 06:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079739c98012d34b90006b29a08000b013031..."} 
[2026-09-07 06:51:53] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079739c98012d34b90006b29a08000b013031..."} 
[2026-09-07 06:51:53] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:53] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758429952,"raw_latitude":112368136,"longitude_deg":75.8429952,"latitude_deg":11.2368136,"altitude":11,"angle":304,"satellites":49,"speed":43,"hex_longitude":"2d34b900","hex_latitude":"06b29a08","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918465792001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400744745346793472,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3807652776218374144,"note":"Value kept but may cause issues"} 
[2026-09-07 06:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788744015000,"timestamp_ms":1788744015000,"timestamp_seconds":1788744015,"priority":1,"record_length":96,"hex_timestamp":"000001a079739c98"} 
[2026-09-07 06: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-07 06:51: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-07 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 06:51:53] 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-07 06: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-07 06: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-07 06:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:51:53] 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-07 06:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918465792001,"66":27647,"80":206,"81":23552,"24":43,"16":400744745346793472,"45":3807652776218374144},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918465792001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:51:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400744745346793472,"km_value":400744745346793.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3807652776218374144,"description":"Unknown IO ID 45"} 
[2026-09-07 06:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918465792001,"power":27647,"unknown_80":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3807652776218374144}} 
[2026-09-07 06:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:51:53] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:51:53] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:52:03] local.INFO: TCP Data received {"connection_id":173092,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0797369d0012d7e414005d357680003007219..."} 
[2026-09-07 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797369d0012d7e414005d357680003007219..."} 
[2026-09-07 06:52:03] local.INFO: Processing buffer {"connection_id":173092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797369d0012d7e414005d357680003007219..."} 
[2026-09-07 06:52:03] local.INFO: Packet analysis {"connection_id":173092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:52:03] local.INFO: Extracted packet for processing {"connection_id":173092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":25,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918459136001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029847552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788744002000,"timestamp_ms":1788744002000,"timestamp_seconds":1788744002,"priority":1,"record_length":96,"hex_timestamp":"000001a0797369d0"} 
[2026-09-07 06: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-07 06:52:03] 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-07 06:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 06:52:03] 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-07 06: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-07 06: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-07 06:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918459136001,"66":13972,"81":206,"85":15104,"24":0,"16":129154537083633664,"45":9097623116029847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918459136001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029847552,"description":"Unknown IO ID 45"} 
[2026-09-07 06:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918459136001,"power":13972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029847552}} 
[2026-09-07 06:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":173092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:52:03] local.INFO: GPS data processed {"connection_id":173092,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:52:03] local.INFO: Acknowledgment sent {"connection_id":173092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:52:24] local.INFO: TCP Data received {"connection_id":175816,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07973c3a8012d349b4006b2ad20000a013030..."} 
[2026-09-07 06:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07973c3a8012d349b4006b2ad20000a013030..."} 
[2026-09-07 06:52:24] local.INFO: Processing buffer {"connection_id":175816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07973c3a8012d349b4006b2ad20000a013030..."} 
[2026-09-07 06:52:24] local.INFO: Packet analysis {"connection_id":175816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:52:24] local.INFO: Extracted packet for processing {"connection_id":175816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758422336,"raw_latitude":112373024,"longitude_deg":75.8422336,"latitude_deg":11.2373024,"altitude":10,"angle":304,"satellites":48,"speed":22,"hex_longitude":"2d349b40","hex_latitude":"06b2ad20","is_valid_coordinates":true} 
[2026-09-07 06:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918467840001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400745179138490368,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799067789429966848,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788744025000,"timestamp_ms":1788744025000,"timestamp_seconds":1788744025,"priority":1,"record_length":96,"hex_timestamp":"000001a07973c3a8"} 
[2026-09-07 06:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 06:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52: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-07 06:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918467840001,"66":27767,"80":206,"81":23552,"24":22,"16":400745179138490368,"45":3799067789429966848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918467840001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:52:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400745179138490368,"km_value":400745179138490.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799067789429966848,"description":"Unknown IO ID 45"} 
[2026-09-07 06:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918467840001,"power":27767,"unknown_80":206,"unknown_81":23552,"ignition":22,"odometer":null,"unknown_45":3799067789429966848}} 
[2026-09-07 06:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":175816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:52:24] local.INFO: GPS data processed {"connection_id":175816,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:52:24] local.INFO: Acknowledgment sent {"connection_id":175816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:52:46] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:46] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:46] local.INFO: IMEI packet received {"connection_id":173093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:52:48] local.INFO: TCP Data received {"connection_id":173094,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:52:48] local.INFO: Processing buffer {"connection_id":173094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:52:48] local.INFO: IMEI packet received {"connection_id":173094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:52:48] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:48] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:48] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 06:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:52:50] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:50] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:52:50] local.INFO: IMEI packet received {"connection_id":173093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":173093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:52:51] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797415b0012d348b0006b2b7d80009012930..."} 
[2026-09-07 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797415b0012d348b0006b2b7d80009012930..."} 
[2026-09-07 06:52:51] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797415b0012d348b0006b2b7d80009012930..."} 
[2026-09-07 06:52:51] local.INFO: Packet analysis {"connection_id":173093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:52:51] local.INFO: Extracted packet for processing {"connection_id":173093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":758418176,"raw_latitude":112375768,"longitude_deg":75.8418176,"latitude_deg":11.2375768,"altitude":9,"angle":297,"satellites":48,"speed":0,"hex_longitude":"2d348b00","hex_latitude":"06b2b7d8","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918470400001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400745415361691648,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790693908874076160,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788744046000,"timestamp_ms":1788744046000,"timestamp_seconds":1788744046,"priority":1,"record_length":96,"hex_timestamp":"000001a0797415b0"} 
[2026-09-07 06: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-07 06:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52:51] 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-07 06:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918470400001,"66":27593,"80":206,"81":23552,"24":0,"16":400745415361691648,"45":3790693908874076160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918470400001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:52:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:52:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400745415361691648,"km_value":400745415361691.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790693908874076160,"description":"Unknown IO ID 45"} 
[2026-09-07 06:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918470400001,"power":27593,"unknown_80":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3790693908874076160}} 
[2026-09-07 06:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":173093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:52:51] local.INFO: GPS data processed {"connection_id":173093,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:52:51] local.INFO: Acknowledgment sent {"connection_id":173093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:52:52] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797467b8012d348b0006b2b7e00009012931..."} 
[2026-09-07 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797467b8012d348b0006b2b7e00009012931..."} 
[2026-09-07 06:52:52] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797467b8012d348b0006b2b7e00009012931..."} 
[2026-09-07 06:52:52] local.INFO: Packet analysis {"connection_id":173093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:52:52] local.INFO: Extracted packet for processing {"connection_id":173093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758418176,"raw_latitude":112375776,"longitude_deg":75.8418176,"latitude_deg":11.2375776,"altitude":9,"angle":297,"satellites":49,"speed":0,"hex_longitude":"2d348b00","hex_latitude":"06b2b7e0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918475776001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400745415361691648,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3786119940503230464,"note":"Value kept but may cause issues"} 
[2026-09-07 06:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788744067000,"timestamp_ms":1788744067000,"timestamp_seconds":1788744067,"priority":1,"record_length":96,"hex_timestamp":"000001a0797467b8"} 
[2026-09-07 06: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-07 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 06:52:52] 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-07 06: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-07 06: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-07 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918475776001,"66":27767,"80":206,"81":23552,"24":0,"16":400745415361691648,"45":3786119940503230464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918475776001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:52:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400745415361691648,"km_value":400745415361691.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3786119940503230464,"description":"Unknown IO ID 45"} 
[2026-09-07 06:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918475776001,"power":27767,"unknown_80":206,"unknown_81":23552,"ignition":0,"odometer":null,"unknown_45":3786119940503230464}} 
[2026-09-07 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":173093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:52:52] local.INFO: GPS data processed {"connection_id":173093,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:52:52] local.INFO: Acknowledgment sent {"connection_id":173093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:52:53] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:53] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:52:53] local.INFO: IMEI packet received {"connection_id":174483,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":174483,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:53:05] local.INFO: TCP Data received {"connection_id":174483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07973bbd8012d7e414005d35768000300721b..."} 
[2026-09-07 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07973bbd8012d7e414005d35768000300721b..."} 
[2026-09-07 06:53:05] local.INFO: Processing buffer {"connection_id":174483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07973bbd8012d7e414005d35768000300721b..."} 
[2026-09-07 06:53:05] local.INFO: Packet analysis {"connection_id":174483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:53:05] local.INFO: Extracted packet for processing {"connection_id":174483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07973"} 
[2026-09-07 06:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763248960,"raw_latitude":97736552,"longitude_deg":76.324896,"latitude_deg":9.7736552,"altitude":3,"angle":114,"satellites":27,"speed":0,"hex_longitude":"2d7e4140","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-09-07 06:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918464512001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129154537083633664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029847552,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788744023000,"timestamp_ms":1788744023000,"timestamp_seconds":1788744023,"priority":1,"record_length":96,"hex_timestamp":"000001a07973bbd8"} 
[2026-09-07 06:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:53:05] 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-07 06:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 06:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174483,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 06:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 06:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 06:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918464512001,"66":14070,"81":206,"85":15104,"24":0,"16":129154537083633664,"45":9097623116029847552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-09-07 06:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 06:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 06:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918464512001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 06:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 06:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129154537083633664,"km_value":129154537083633.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029847552,"description":"Unknown IO ID 45"} 
[2026-09-07 06:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918464512001,"power":14070,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9097623116029847552}} 
[2026-09-07 06:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":174483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:53:05] local.INFO: GPS data processed {"connection_id":174483,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:53:05] local.INFO: Acknowledgment sent {"connection_id":174483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:53:23] local.INFO: TCP Data received {"connection_id":173093,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07974b9c0012d34880006b2b9300007012930..."} 
[2026-09-07 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07974b9c0012d34880006b2b9300007012930..."} 
[2026-09-07 06:53:23] local.INFO: Processing buffer {"connection_id":173093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07974b9c0012d34880006b2b9300007012930..."} 
[2026-09-07 06:53:23] local.INFO: Packet analysis {"connection_id":173093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:53:23] local.INFO: Extracted packet for processing {"connection_id":173093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07974"} 
[2026-09-07 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":758417408,"raw_latitude":112376112,"longitude_deg":75.8417408,"latitude_deg":11.2376112,"altitude":7,"angle":297,"satellites":48,"speed":4,"hex_longitude":"2d348800","hex_latitude":"06b2b930","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918481152001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400745458311364608,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3786119940503232512,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788744088000,"timestamp_ms":1788744088000,"timestamp_seconds":1788744088,"priority":1,"record_length":96,"hex_timestamp":"000001a07974b9c0"} 
[2026-09-07 06: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-07 06:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:53:23] 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-07 06:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918481152001,"66":27767,"80":206,"81":23552,"24":4,"16":400745458311364608,"45":3786119940503232512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 06:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918481152001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:53:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 06:53:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400745458311364608,"km_value":400745458311364.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3786119940503232512,"description":"Unknown IO ID 45"} 
[2026-09-07 06:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918481152001,"power":27767,"unknown_80":206,"unknown_81":23552,"ignition":4,"odometer":null,"unknown_45":3786119940503232512}} 
[2026-09-07 06:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":173093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:53:23] local.INFO: GPS data processed {"connection_id":173093,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:53:23] local.INFO: Acknowledgment sent {"connection_id":173093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:53:45] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:45] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:45] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:53:47] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:47] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:47] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:53:49] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:53:49] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:53:49] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 06:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:53:49] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 06:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 06:53:49] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 06:53:49] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:53:50] local.INFO: TCP Data received {"connection_id":175820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 06:53:50] local.INFO: Processing buffer {"connection_id":175820,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 06:53:50] local.INFO: IMEI packet received {"connection_id":175820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 06:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":175820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:53:51] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:51] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:53:51] local.INFO: IMEI packet received {"connection_id":175818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":175818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:53:52] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797609b0012d33b48006b38db00010015f2b..."} 
[2026-09-07 06:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797609b0012d33b48006b38db00010015f2b..."} 
[2026-09-07 06:53:52] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797609b0012d33b48006b38db00010015f2b..."} 
[2026-09-07 06:53:52] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:53:52] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758363264,"raw_latitude":112430512,"longitude_deg":75.8363264,"latitude_deg":11.2430512,"altitude":16,"angle":351,"satellites":43,"speed":53,"hex_longitude":"2d33b480","hex_latitude":"06b38db0","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918508544001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400749267947356160,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743558012809216,"note":"Value kept but may cause issues"} 
[2026-09-07 06:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788744174000,"timestamp_ms":1788744174000,"timestamp_seconds":1788744174,"priority":1,"record_length":96,"hex_timestamp":"000001a0797609b0"} 
[2026-09-07 06: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-07 06:53: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-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06: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-07 06: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-07 06:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918508544001,"66":27745,"227":206,"81":23552,"24":53,"16":400749267947356160,"45":3725743558012809216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-07 06:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918508544001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:53:52] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 06:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400749267947356160,"km_value":400749267947356.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743558012809216,"description":"Unknown IO ID 45"} 
[2026-09-07 06:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918508544001,"power":27745,"unknown_227":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3725743558012809216}} 
[2026-09-07 06:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:53:52] local.INFO: GPS data processed {"connection_id":175818,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:53:52] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:54:28] local.INFO: TCP Data received {"connection_id":175818,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:28] local.INFO: Processing buffer {"connection_id":175818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:28] local.INFO: Packet analysis {"connection_id":175818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:28] local.INFO: Extracted packet for processing {"connection_id":175818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758362816,"raw_latitude":112441304,"longitude_deg":75.8362816,"latitude_deg":11.2441304,"altitude":16,"angle":2,"satellites":43,"speed":53,"hex_longitude":"2d33b2c0","hex_latitude":"06b3b7d8","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918508544001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400749791933366272,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725743558012809216,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788744182000,"timestamp_ms":1788744182000,"timestamp_seconds":1788744182,"priority":1,"record_length":96,"hex_timestamp":"000001a0797628f0"} 
[2026-09-07 06: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-07 06: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-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:54:28] 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-07 06: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-07 06: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-07 06:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:28] 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-07 06:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918508544001,"66":27658,"227":206,"81":23552,"24":53,"16":400749791933366272,"45":3725743558012809216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-07 06:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918508544001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:54:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 06:54:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400749791933366272,"km_value":400749791933366.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725743558012809216,"description":"Unknown IO ID 45"} 
[2026-09-07 06:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918508544001,"power":27658,"unknown_227":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3725743558012809216}} 
[2026-09-07 06:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":175818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:54:28] local.INFO: GPS data processed {"connection_id":175818,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:54:28] local.INFO: Acknowledgment sent {"connection_id":175818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:54:45] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:45] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:45] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:54:49] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:49] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:49] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:54:50] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:50] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:54:50] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:54:51] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:51] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797628f0012d33b2c006b3b7d8001000022b..."} 
[2026-09-07 06:54:51] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:51] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758362816,"raw_latitude":112441304,"longitude_deg":75.8362816,"latitude_deg":11.2441304,"altitude":16,"angle":2,"satellites":43,"speed":53,"hex_longitude":"2d33b2c0","hex_latitude":"06b3b7d8","is_valid_coordinates":true} 
[2026-09-07 06:54: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-07 06:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918510592001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400749791933366272,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725250976806328320,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788744182000,"timestamp_ms":1788744182000,"timestamp_seconds":1788744182,"priority":1,"record_length":96,"hex_timestamp":"000001a0797628f0"} 
[2026-09-07 06:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:54: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-07 06:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:54: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-07 06:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:51] 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-07 06:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918510592001,"66":27658,"227":206,"81":23552,"24":53,"16":400749791933366272,"45":3725250976806328320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-07 06:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918510592001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:54:51] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 06:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400749791933366272,"km_value":400749791933366.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725250976806328320,"description":"Unknown IO ID 45"} 
[2026-09-07 06:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918510592001,"power":27658,"unknown_227":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3725250976806328320}} 
[2026-09-07 06:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:54:51] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:54:51] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:54:56] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079764448012d33b58006b3db20001000032b..."} 
[2026-09-07 06:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079764448012d33b58006b3db20001000032b..."} 
[2026-09-07 06:54:56] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079764448012d33b58006b3db20001000032b..."} 
[2026-09-07 06:54:56] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:56] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07976"} 
[2026-09-07 06:54:56] local.INFO: GPS Element Parsed {"raw_longitude":758363520,"raw_latitude":112450336,"longitude_deg":75.836352,"latitude_deg":11.2450336,"altitude":16,"angle":3,"satellites":43,"speed":50,"hex_longitude":"2d33b580","hex_latitude":"06b3db20","is_valid_coordinates":true} 
[2026-09-07 06:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918510592001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400750230020030464,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725250976806328320,"note":"Value kept but may cause issues"} 
[2026-09-07 06:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788744189000,"timestamp_ms":1788744189000,"timestamp_seconds":1788744189,"priority":1,"record_length":96,"hex_timestamp":"000001a079764448"} 
[2026-09-07 06:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 06:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:54:56] 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-07 06:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918510592001,"66":27767,"228":206,"81":23552,"24":50,"16":400750230020030464,"45":3725250976806328320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-07 06:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918510592001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:54:56] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-07 06:54:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400750230020030464,"km_value":400750230020030.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725250976806328320,"description":"Unknown IO ID 45"} 
[2026-09-07 06:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918510592001,"power":27767,"unknown_228":206,"unknown_81":23552,"ignition":50,"odometer":null,"unknown_45":3725250976806328320}} 
[2026-09-07 06:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:54:56] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:54:56] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:55:28] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079778498012d32a60006b4e4b8001001272a..."} 
[2026-09-07 06:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079778498012d32a60006b4e4b8001001272a..."} 
[2026-09-07 06:55:28] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079778498012d32a60006b4e4b8001001272a..."} 
[2026-09-07 06:55:28] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:55:28] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:55:28] local.INFO: GPS Element Parsed {"raw_longitude":758294016,"raw_latitude":112518328,"longitude_deg":75.8294016,"latitude_deg":11.2518328,"altitude":16,"angle":295,"satellites":42,"speed":51,"hex_longitude":"2d32a600","hex_latitude":"06b4e4b8","is_valid_coordinates":true} 
[2026-09-07 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918531584001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400755328146210816,"note":"Value kept but may cause issues"} 
[2026-09-07 06:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3658752513577164800,"note":"Value kept but may cause issues"} 
[2026-09-07 06:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788744271000,"timestamp_ms":1788744271000,"timestamp_seconds":1788744271,"priority":1,"record_length":96,"hex_timestamp":"000001a079778498"} 
[2026-09-07 06:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:55: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-07 06:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 06:55:28] 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-07 06:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:55:28] 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-07 06:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918531584001,"66":27745,"170":206,"81":23552,"24":51,"16":400755328146210816,"45":3658752513577164800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 06:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918531584001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:55:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 06:55:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400755328146210816,"km_value":400755328146210.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3658752513577164800,"description":"Unknown IO ID 45"} 
[2026-09-07 06:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918531584001,"power":27745,"unknown_170":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3658752513577164800}} 
[2026-09-07 06:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:55:29] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:55:29] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:55:55] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:55:55] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:55:55] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:56:04] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:04] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:04] local.INFO: IMEI packet received {"connection_id":175823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":175823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:56:13] local.INFO: TCP Data received {"connection_id":175823,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079779ff0012d32858006b4f3c8000e01272e..."} 
[2026-09-07 06:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079779ff0012d32858006b4f3c8000e01272e..."} 
[2026-09-07 06:56:13] local.INFO: Processing buffer {"connection_id":175823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079779ff0012d32858006b4f3c8000e01272e..."} 
[2026-09-07 06:56:13] local.INFO: Packet analysis {"connection_id":175823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:56:13] local.INFO: Extracted packet for processing {"connection_id":175823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758285696,"raw_latitude":112522184,"longitude_deg":75.8285696,"latitude_deg":11.2522184,"altitude":14,"angle":295,"satellites":46,"speed":51,"hex_longitude":"2d328580","hex_latitude":"06b4f3c8","is_valid_coordinates":true} 
[2026-09-07 06:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918533376001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400755766232875008,"note":"Value kept but may cause issues"} 
[2026-09-07 06:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3649604576835057664,"note":"Value kept but may cause issues"} 
[2026-09-07 06:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788744278000,"timestamp_ms":1788744278000,"timestamp_seconds":1788744278,"priority":1,"record_length":96,"hex_timestamp":"000001a079779ff0"} 
[2026-09-07 06:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 06:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918533376001,"66":27745,"170":206,"81":23552,"24":51,"16":400755766232875008,"45":3649604576835057664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 06:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918533376001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:56:13] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 06:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400755766232875008,"km_value":400755766232875.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3649604576835057664,"description":"Unknown IO ID 45"} 
[2026-09-07 06:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918533376001,"power":27745,"unknown_170":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3649604576835057664}} 
[2026-09-07 06:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":175823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:56:13] local.INFO: GPS data processed {"connection_id":175823,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:56:13] local.INFO: Acknowledgment sent {"connection_id":175823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:56:45] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:45] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:45] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:56:49] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:49] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:49] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:56:59] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:59] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:56:59] local.INFO: IMEI packet received {"connection_id":174485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":174485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:57:00] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07977bb48012d3264c006b50340000c01282d..."} 
[2026-09-07 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07977bb48012d3264c006b50340000c01282d..."} 
[2026-09-07 06:57:00] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07977bb48012d3264c006b50340000c01282d..."} 
[2026-09-07 06:57:00] local.INFO: Packet analysis {"connection_id":174485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:57:00] local.INFO: Extracted packet for processing {"connection_id":174485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758277312,"raw_latitude":112526144,"longitude_deg":75.8277312,"latitude_deg":11.2526144,"altitude":12,"angle":296,"satellites":45,"speed":52,"hex_longitude":"2d3264c0","hex_latitude":"06b50340","is_valid_coordinates":true} 
[2026-09-07 06:57: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-07 06:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918535168001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400756208614506496,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3640456640092948480,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788744285000,"timestamp_ms":1788744285000,"timestamp_seconds":1788744285,"priority":1,"record_length":96,"hex_timestamp":"000001a07977bb48"} 
[2026-09-07 06:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:57:00] 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-07 06:57: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-07 06:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:00] 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-07 06:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918535168001,"66":27767,"170":206,"81":23552,"24":52,"16":400756208614506496,"45":3640456640092948480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 06:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918535168001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:57:00] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 06:57:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400756208614506496,"km_value":400756208614506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3640456640092948480,"description":"Unknown IO ID 45"} 
[2026-09-07 06:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918535168001,"power":27767,"unknown_170":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3640456640092948480}} 
[2026-09-07 06:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":174485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:57:00] local.INFO: GPS data processed {"connection_id":174485,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:57:00] local.INFO: Acknowledgment sent {"connection_id":174485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:57:01] local.INFO: TCP Data received {"connection_id":174485,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07977d6a0012d32438006b51420000a012b2b..."} 
[2026-09-07 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07977d6a0012d32438006b51420000a012b2b..."} 
[2026-09-07 06:57:01] local.INFO: Processing buffer {"connection_id":174485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07977d6a0012d32438006b51420000a012b2b..."} 
[2026-09-07 06:57:01] local.INFO: Packet analysis {"connection_id":174485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:57:01] local.INFO: Extracted packet for processing {"connection_id":174485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07977"} 
[2026-09-07 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758268800,"raw_latitude":112530464,"longitude_deg":75.82688,"latitude_deg":11.2530464,"altitude":10,"angle":299,"satellites":43,"speed":53,"hex_longitude":"2d324380","hex_latitude":"06b51420","is_valid_coordinates":true} 
[2026-09-07 06:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918536960001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400756659586072576,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3631238334606688256,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788744292000,"timestamp_ms":1788744292000,"timestamp_seconds":1788744292,"priority":1,"record_length":96,"hex_timestamp":"000001a07977d6a0"} 
[2026-09-07 06:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 06:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 06:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:01] 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-07 06:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918536960001,"66":27767,"170":206,"81":23552,"24":53,"16":400756659586072576,"45":3631238334606688256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 06:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918536960001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400756659586072576,"km_value":400756659586072.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3631238334606688256,"description":"Unknown IO ID 45"} 
[2026-09-07 06:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918536960001,"power":27767,"unknown_170":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3631238334606688256}} 
[2026-09-07 06:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":174485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:57:01] local.INFO: GPS data processed {"connection_id":174485,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:57:01] local.INFO: Acknowledgment sent {"connection_id":174485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:57:50] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:57:50] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:50] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:57:55] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:55] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:57:55] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:57:56] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797974b0012d30e68006b68f100010012629..."} 
[2026-09-07 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797974b0012d30e68006b68f100010012629..."} 
[2026-09-07 06:57:56] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797974b0012d30e68006b68f100010012629..."} 
[2026-09-07 06:57:56] local.INFO: Packet analysis {"connection_id":173333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07979"} 
[2026-09-07 06:57:56] local.INFO: Extracted packet for processing {"connection_id":173333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07979"} 
[2026-09-07 06:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758179456,"raw_latitude":112627472,"longitude_deg":75.8179456,"latitude_deg":11.2627472,"altitude":16,"angle":294,"satellites":41,"speed":53,"hex_longitude":"2d30e680","hex_latitude":"06b68f10","is_valid_coordinates":true} 
[2026-09-07 06:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918564096001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400763114921918464,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3533144305247875072,"note":"Value kept but may cause issues"} 
[2026-09-07 06:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788744398000,"timestamp_ms":1788744398000,"timestamp_seconds":1788744398,"priority":1,"record_length":96,"hex_timestamp":"000001a0797974b0"} 
[2026-09-07 06:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 06:57:56] 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-07 06:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:57:56] 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-07 06:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918564096001,"66":27832,"201":206,"81":23552,"24":53,"16":400763114921918464,"45":3533144305247875072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-07 06:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918564096001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:57:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 06:57:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400763114921918464,"km_value":400763114921918.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3533144305247875072,"description":"Unknown IO ID 45"} 
[2026-09-07 06:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918564096001,"power":27832,"unknown_201":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3533144305247875072}} 
[2026-09-07 06:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:57:56] local.INFO: GPS data processed {"connection_id":173333,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:57:56] local.INFO: Acknowledgment sent {"connection_id":173333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:58:17] local.INFO: TCP Data received {"connection_id":173097,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:17] local.INFO: Processing buffer {"connection_id":173097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:17] local.INFO: IMEI packet received {"connection_id":173097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":173097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:58:27] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079798c20012d30c84006b69840000f011a2c..."} 
[2026-09-07 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079798c20012d30c84006b69840000f011a2c..."} 
[2026-09-07 06:58:27] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079798c20012d30c84006b69840000f011a2c..."} 
[2026-09-07 06:58:27] local.INFO: Packet analysis {"connection_id":173333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07979"} 
[2026-09-07 06:58:27] local.INFO: Extracted packet for processing {"connection_id":173333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07979"} 
[2026-09-07 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758171712,"raw_latitude":112629824,"longitude_deg":75.8171712,"latitude_deg":11.2629824,"altitude":15,"angle":282,"satellites":44,"speed":54,"hex_longitude":"2d30c840","hex_latitude":"06b69840","is_valid_coordinates":true} 
[2026-09-07 06:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 06:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918565888001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400763501468975104,"note":"Value kept but may cause issues"} 
[2026-09-07 06:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3523644524784979968,"note":"Value kept but may cause issues"} 
[2026-09-07 06:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788744404000,"timestamp_ms":1788744404000,"timestamp_seconds":1788744404,"priority":1,"record_length":96,"hex_timestamp":"000001a079798c20"} 
[2026-09-07 06:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 06:58:27] 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-07 06:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 06:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:58:27] 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-07 06:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918565888001,"66":27050,"201":206,"81":23552,"24":54,"16":400763501468975104,"45":3523644524784979968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-09-07 06:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918565888001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:58:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 06:58:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400763501468975104,"km_value":400763501468975.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3523644524784979968,"description":"Unknown IO ID 45"} 
[2026-09-07 06:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918565888001,"power":27050,"unknown_201":206,"unknown_81":23552,"ignition":54,"odometer":null,"unknown_45":3523644524784979968}} 
[2026-09-07 06:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":173333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:58:27] local.INFO: GPS data processed {"connection_id":173333,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:58:27] local.INFO: Acknowledgment sent {"connection_id":173333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 06:58:47] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:58:47] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:58:47] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:58:47] local.INFO: TCP Data received {"connection_id":174487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:47] local.INFO: Processing buffer {"connection_id":174487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 06:58:47] local.INFO: IMEI packet received {"connection_id":174487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 06:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":174487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:59:29] local.INFO: TCP Data received {"connection_id":174486,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:29] local.INFO: Processing buffer {"connection_id":174486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:29] local.INFO: IMEI packet received {"connection_id":174486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":174486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:59:45] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:45] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:45] local.INFO: IMEI packet received {"connection_id":173098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 06:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 06:59:50] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:50] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 06:59:50] local.INFO: IMEI packet received {"connection_id":173098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 06:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 06:59:51] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797b0af0012d2f8f0006b7d720000701502d..."} 
[2026-09-07 06:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797b0af0012d2f8f0006b7d720000701502d..."} 
[2026-09-07 06:59:51] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797b0af0012d2f8f0006b7d720000701502d..."} 
[2026-09-07 06:59:51] local.INFO: Packet analysis {"connection_id":173098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797b"} 
[2026-09-07 06:59:51] local.INFO: Extracted packet for processing {"connection_id":173098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797b"} 
[2026-09-07 06:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758091520,"raw_latitude":112711456,"longitude_deg":75.809152,"latitude_deg":11.2711456,"altitude":7,"angle":336,"satellites":45,"speed":52,"hex_longitude":"2d2f8f00","hex_latitude":"06b7d720","is_valid_coordinates":true} 
[2026-09-07 06: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-07 06:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918590720001,"note":"Value kept but may cause issues"} 
[2026-09-07 06:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400769694811815936,"note":"Value kept but may cause issues"} 
[2026-09-07 06:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3430687413745594368,"note":"Value kept but may cause issues"} 
[2026-09-07 06:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 06:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788744502000,"timestamp_ms":1788744502000,"timestamp_seconds":1788744502,"priority":1,"record_length":96,"hex_timestamp":"000001a0797b0af0"} 
[2026-09-07 06: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-07 06:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 06:59:51] 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-07 06:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 06: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-07 06:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 06:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 06:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 06:59:51] 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-07 06:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 06:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 06:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918590720001,"66":27713,"230":206,"81":23552,"24":52,"16":400769694811815936,"45":3430687413745594368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-07 06:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 06:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 06:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918590720001,"description":"Unknown IO ID 0"} 
[2026-09-07 06:59:51] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 06:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 06:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400769694811815936,"km_value":400769694811815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 06:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3430687413745594368,"description":"Unknown IO ID 45"} 
[2026-09-07 06:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918590720001,"power":27713,"unknown_230":206,"unknown_81":23552,"ignition":52,"odometer":null,"unknown_45":3430687413745594368}} 
[2026-09-07 06:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":173098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 06:59:51] local.INFO: GPS data processed {"connection_id":173098,"processed":1,"errors":0,"total":1} 
[2026-09-07 06:59:51] local.INFO: Acknowledgment sent {"connection_id":173098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:00:22] local.INFO: TCP Data received {"connection_id":173098,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797b2648012d2f7fc006b7f8900008014f2a..."} 
[2026-09-07 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797b2648012d2f7fc006b7f8900008014f2a..."} 
[2026-09-07 07:00:22] local.INFO: Processing buffer {"connection_id":173098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797b2648012d2f7fc006b7f8900008014f2a..."} 
[2026-09-07 07:00:22] local.INFO: Packet analysis {"connection_id":173098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797b"} 
[2026-09-07 07:00:22] local.INFO: Extracted packet for processing {"connection_id":173098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797b"} 
[2026-09-07 07:00:22] local.INFO: GPS Element Parsed {"raw_longitude":758087616,"raw_latitude":112720016,"longitude_deg":75.8087616,"latitude_deg":11.2720016,"altitude":8,"angle":335,"satellites":42,"speed":53,"hex_longitude":"2d2f7fc0","hex_latitude":"06b7f890","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918592512001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400770145783382016,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3426957870306369536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788744509000,"timestamp_ms":1788744509000,"timestamp_seconds":1788744509,"priority":1,"record_length":96,"hex_timestamp":"000001a0797b2648"} 
[2026-09-07 07: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-07 07:00: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-07 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 07:00:22] 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-07 07: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-07 07: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-07 07:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:00:22] 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-07 07:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918592512001,"66":27713,"230":206,"81":23552,"24":53,"16":400770145783382016,"45":3426957870306369536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-07 07:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918592512001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:00:22] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 07:00:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 07:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400770145783382016,"km_value":400770145783382.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3426957870306369536,"description":"Unknown IO ID 45"} 
[2026-09-07 07:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918592512001,"power":27713,"unknown_230":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3426957870306369536}} 
[2026-09-07 07:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":173098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:00:22] local.INFO: GPS data processed {"connection_id":173098,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:00:22] local.INFO: Acknowledgment sent {"connection_id":173098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:00:46] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:46] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:46] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:00:53] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:53] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:00:53] local.INFO: IMEI packet received {"connection_id":173335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:00:53] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797c56f8012d2ebb0006b95ad0000d014b2d..."} 
[2026-09-07 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797c56f8012d2ebb0006b95ad0000d014b2d..."} 
[2026-09-07 07:00:53] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797c56f8012d2ebb0006b95ad0000d014b2d..."} 
[2026-09-07 07:00:53] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:00:53] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758037248,"raw_latitude":112810704,"longitude_deg":75.8037248,"latitude_deg":11.2810704,"altitude":13,"angle":331,"satellites":45,"speed":48,"hex_longitude":"2d2ebb00","hex_latitude":"06b95ad0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918612224001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400775158010216448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372773937312770048,"note":"Value kept but may cause issues"} 
[2026-09-07 07:00:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788744587000,"timestamp_ms":1788744587000,"timestamp_seconds":1788744587,"priority":1,"record_length":96,"hex_timestamp":"000001a0797c56f8"} 
[2026-09-07 07: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-07 07:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 07:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:00:53] 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-07 07:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918612224001,"66":27691,"81":21760,"24":48,"16":400775158010216448,"45":3372773937312770048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 07:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918612224001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 07:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400775158010216448,"km_value":400775158010216.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3372773937312770048,"description":"Unknown IO ID 45"} 
[2026-09-07 07:00:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457918612224001,"power":27691,"unknown_81":21760,"ignition":48,"odometer":null,"unknown_45":3372773937312770048}} 
[2026-09-07 07:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:00:53] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:00:53] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:01:00] local.INFO: TCP Data received {"connection_id":173335,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797c7638012d2eaac006b97bc00010014f2e..."} 
[2026-09-07 07:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797c7638012d2eaac006b97bc00010014f2e..."} 
[2026-09-07 07:01:00] local.INFO: Processing buffer {"connection_id":173335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797c7638012d2eaac006b97bc00010014f2e..."} 
[2026-09-07 07:01:00] local.INFO: Packet analysis {"connection_id":173335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:01:00] local.INFO: Extracted packet for processing {"connection_id":173335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758033088,"raw_latitude":112819136,"longitude_deg":75.8033088,"latitude_deg":11.2819136,"altitude":16,"angle":335,"satellites":46,"speed":46,"hex_longitude":"2d2eaac0","hex_latitude":"06b97bc0","is_valid_coordinates":true} 
[2026-09-07 07:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918614272001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400775613276749824,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3367285175269117952,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788744595000,"timestamp_ms":1788744595000,"timestamp_seconds":1788744595,"priority":1,"record_length":96,"hex_timestamp":"000001a0797c7638"} 
[2026-09-07 07:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 07:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:01:00] 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-07 07:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918614272001,"66":27745,"1":206,"81":21760,"24":46,"16":400775613276749824,"45":3367285175269117952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-09-07 07:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918614272001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:01:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 07:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400775613276749824,"km_value":400775613276749.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3367285175269117952,"description":"Unknown IO ID 45"} 
[2026-09-07 07:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918614272001,"power":27745,"imei":206,"unknown_81":21760,"ignition":46,"odometer":null,"unknown_45":3367285175269117952}} 
[2026-09-07 07:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":173335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:01:00] local.INFO: GPS data processed {"connection_id":173335,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:01:00] local.INFO: Acknowledgment sent {"connection_id":173335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:01:46] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:46] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:46] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:01:51] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:51] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:01:51] local.INFO: IMEI packet received {"connection_id":175825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":175825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:01:51] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797c9578012d2e9ac006b99ba80013014c2d..."} 
[2026-09-07 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797c9578012d2e9ac006b99ba80013014c2d..."} 
[2026-09-07 07:01:51] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797c9578012d2e9ac006b99ba80013014c2d..."} 
[2026-09-07 07:01:51] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:01:51] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758028992,"raw_latitude":112827304,"longitude_deg":75.8028992,"latitude_deg":11.2827304,"altitude":19,"angle":332,"satellites":45,"speed":44,"hex_longitude":"2d2e9ac0","hex_latitude":"06b99ba8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918616320001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400776055658381312,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3362711206899728384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788744603000,"timestamp_ms":1788744603000,"timestamp_seconds":1788744603,"priority":1,"record_length":96,"hex_timestamp":"000001a0797c9578"} 
[2026-09-07 07: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-07 07:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:01:51] 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-07 07: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-07 07: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-07 07:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:01:51] 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-07 07:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918616320001,"66":27745,"1":206,"81":21760,"24":44,"16":400776055658381312,"45":3362711206899728384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-09-07 07:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918616320001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 07:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400776055658381312,"km_value":400776055658381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3362711206899728384,"description":"Unknown IO ID 45"} 
[2026-09-07 07:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918616320001,"power":27745,"imei":206,"unknown_81":21760,"ignition":44,"odometer":null,"unknown_45":3362711206899728384}} 
[2026-09-07 07:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:01:51] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:01:51] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:02:23] local.INFO: TCP Data received {"connection_id":175825,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797cb8a0012d2e888006b9bd08001601492d..."} 
[2026-09-07 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797cb8a0012d2e888006b9bd08001601492d..."} 
[2026-09-07 07:02:23] local.INFO: Processing buffer {"connection_id":175825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797cb8a0012d2e888006b9bd08001601492d..."} 
[2026-09-07 07:02:23] local.INFO: Packet analysis {"connection_id":175825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:02:23] local.INFO: Extracted packet for processing {"connection_id":175825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797c"} 
[2026-09-07 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":758024320,"raw_latitude":112835848,"longitude_deg":75.802432,"latitude_deg":11.2835848,"altitude":22,"angle":329,"satellites":45,"speed":42,"hex_longitude":"2d2e8880","hex_latitude":"06b9bd08","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918618368001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400776528104783872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3358207607274448896,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788744612000,"timestamp_ms":1788744612000,"timestamp_seconds":1788744612,"priority":1,"record_length":96,"hex_timestamp":"000001a0797cb8a0"} 
[2026-09-07 07: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-07 07:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:02:23] 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-07 07: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-07 07: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-07 07:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:23] 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-07 07:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918618368001,"66":27745,"1":206,"81":21760,"24":42,"16":400776528104783872,"45":3358207607274448896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,81,24,16,45]} 
[2026-09-07 07:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918618368001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:02:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 07:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400776528104783872,"km_value":400776528104783.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3358207607274448896,"description":"Unknown IO ID 45"} 
[2026-09-07 07:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918618368001,"power":27745,"imei":206,"unknown_81":21760,"ignition":42,"odometer":null,"unknown_45":3358207607274448896}} 
[2026-09-07 07:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":175825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:02:23] local.INFO: GPS data processed {"connection_id":175825,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:02:23] local.INFO: Acknowledgment sent {"connection_id":175825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:02:51] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:51] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:51] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:02:52] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:52] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:52] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:02:56] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:56] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:02:56] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:02:56] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797e04a8012d2ddbc006bb34b0001001502c..."} 
[2026-09-07 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797e04a8012d2ddbc006bb34b0001001502c..."} 
[2026-09-07 07:02:56] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797e04a8012d2ddbc006bb34b0001001502c..."} 
[2026-09-07 07:02:56] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:02:56] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:02:56] local.INFO: GPS Element Parsed {"raw_longitude":757980096,"raw_latitude":112932016,"longitude_deg":75.7980096,"latitude_deg":11.2932016,"altitude":16,"angle":336,"satellites":44,"speed":52,"hex_longitude":"2d2ddbc0","hex_latitude":"06bb34b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918640384001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400781643410833408,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3309160592607051776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788744697000,"timestamp_ms":1788744697000,"timestamp_seconds":1788744697,"priority":1,"record_length":96,"hex_timestamp":"000001a0797e04a8"} 
[2026-09-07 07: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-07 07: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-07 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:56] 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-07 07:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918640384001,"66":27745,"18":206,"81":20992,"24":52,"16":400781643410833408,"45":3309160592607051776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918640384001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:02:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:02:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400781643410833408,"km_value":400781643410833.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3309160592607051776,"description":"Unknown IO ID 45"} 
[2026-09-07 07:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918640384001,"power":27745,"unknown_18":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":3309160592607051776}} 
[2026-09-07 07:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:02:56] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:02:56] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:02:57] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797e2000012d2dcd0006bb55f0000f01502a..."} 
[2026-09-07 07:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797e2000012d2dcd0006bb55f0000f01502a..."} 
[2026-09-07 07:02:57] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797e2000012d2dcd0006bb55f0000f01502a..."} 
[2026-09-07 07:02:57] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:02:57] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:02:57] local.INFO: GPS Element Parsed {"raw_longitude":757976320,"raw_latitude":112940528,"longitude_deg":75.797632,"latitude_deg":11.2940528,"altitude":15,"angle":336,"satellites":42,"speed":53,"hex_longitude":"2d2dcd00","hex_latitude":"06bb55f0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918642432001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400782094382399488,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3304445886749519872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788744704000,"timestamp_ms":1788744704000,"timestamp_seconds":1788744704,"priority":1,"record_length":96,"hex_timestamp":"000001a0797e2000"} 
[2026-09-07 07: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-07 07:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:02:57] 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-07 07: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-07 07: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-07 07:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:02:57] 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-07 07:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918642432001,"66":27800,"18":206,"81":20992,"24":53,"16":400782094382399488,"45":3304445886749519872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918642432001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:02:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:02:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400782094382399488,"km_value":400782094382399.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3304445886749519872,"description":"Unknown IO ID 45"} 
[2026-09-07 07:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918642432001,"power":27800,"unknown_18":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3304445886749519872}} 
[2026-09-07 07:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:02:57] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:02:57] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:03:01] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797e3b58012d2dbd8006bb7780000f01502a..."} 
[2026-09-07 07:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797e3b58012d2dbd8006bb7780000f01502a..."} 
[2026-09-07 07:03:01] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797e3b58012d2dbd8006bb7780000f01502a..."} 
[2026-09-07 07:03:01] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:01] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:01] local.INFO: GPS Element Parsed {"raw_longitude":757972352,"raw_latitude":112949120,"longitude_deg":75.7972352,"latitude_deg":11.294912,"altitude":15,"angle":336,"satellites":42,"speed":53,"hex_longitude":"2d2dbd80","hex_latitude":"06bb7780","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918644224001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400782549648932864,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3300294130845216768,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788744711000,"timestamp_ms":1788744711000,"timestamp_seconds":1788744711,"priority":1,"record_length":96,"hex_timestamp":"000001a0797e3b58"} 
[2026-09-07 07: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-07 07:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:03:01] 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-07 07: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-07 07: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-07 07:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:01] 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-07 07:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918644224001,"66":27745,"18":206,"81":20992,"24":53,"16":400782549648932864,"45":3300294130845216768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918644224001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:03:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:03:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400782549648932864,"km_value":400782549648932.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3300294130845216768,"description":"Unknown IO ID 45"} 
[2026-09-07 07:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918644224001,"power":27745,"unknown_18":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3300294130845216768}} 
[2026-09-07 07:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:03:01] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:03:01] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:03:45] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:45] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:45] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:03:48] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:48] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:48] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:03:51] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:51] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:03:51] local.INFO: IMEI packet received {"connection_id":174490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":174490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:03:52] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797e56b0012d2dae0006bb9938000e014e2d..."} 
[2026-09-07 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797e56b0012d2dae0006bb9938000e014e2d..."} 
[2026-09-07 07:03:52] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797e56b0012d2dae0006bb9938000e014e2d..."} 
[2026-09-07 07:03:52] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:52] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":757968384,"raw_latitude":112957752,"longitude_deg":75.7968384,"latitude_deg":11.2957752,"altitude":14,"angle":334,"satellites":45,"speed":54,"hex_longitude":"2d2dae00","hex_latitude":"06bb9938","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918646016001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400783009210433536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3295931268708401152,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788744718000,"timestamp_ms":1788744718000,"timestamp_seconds":1788744718,"priority":1,"record_length":96,"hex_timestamp":"000001a0797e56b0"} 
[2026-09-07 07: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-07 07:03: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-07 07:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918646016001,"66":27658,"18":206,"81":20992,"24":54,"16":400783009210433536,"45":3295931268708401152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918646016001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:03:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:03:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400783009210433536,"km_value":400783009210433.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3295931268708401152,"description":"Unknown IO ID 45"} 
[2026-09-07 07:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918646016001,"power":27658,"unknown_18":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3295931268708401152}} 
[2026-09-07 07:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:03:52] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:03:52] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:03:53] local.INFO: TCP Data received {"connection_id":173101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:03:53] local.INFO: Processing buffer {"connection_id":173101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:03:53] local.INFO: IMEI packet received {"connection_id":173101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":173101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:03:55] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797e6e20012d2d9d4006bbb488000e01432e..."} 
[2026-09-07 07:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797e6e20012d2d9d4006bbb488000e01432e..."} 
[2026-09-07 07:03:55] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797e6e20012d2d9d4006bbb488000e01432e..."} 
[2026-09-07 07:03:55] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:55] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797e"} 
[2026-09-07 07:03:55] local.INFO: GPS Element Parsed {"raw_longitude":757964096,"raw_latitude":112964744,"longitude_deg":75.7964096,"latitude_deg":11.2964744,"altitude":14,"angle":323,"satellites":46,"speed":54,"hex_longitude":"2d2d9d40","hex_latitude":"06bbb488","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918647808001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400783404347424768,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3291568406571595776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788744724000,"timestamp_ms":1788744724000,"timestamp_seconds":1788744724,"priority":1,"record_length":96,"hex_timestamp":"000001a0797e6e20"} 
[2026-09-07 07: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-07 07:03: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-07 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 07:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:03:55] 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-07 07:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918647808001,"66":27767,"18":206,"81":20992,"24":54,"16":400783404347424768,"45":3291568406571595776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918647808001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:03:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400783404347424768,"km_value":400783404347424.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3291568406571595776,"description":"Unknown IO ID 45"} 
[2026-09-07 07:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918647808001,"power":27767,"unknown_18":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3291568406571595776}} 
[2026-09-07 07:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:03:55] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:03:55] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:04:26] local.INFO: TCP Data received {"connection_id":174490,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797fbe10012d2c77c006bd05b80013013d2b..."} 
[2026-09-07 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797fbe10012d2c77c006bd05b80013013d2b..."} 
[2026-09-07 07:04:26] local.INFO: Processing buffer {"connection_id":174490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797fbe10012d2c77c006bd05b80013013d2b..."} 
[2026-09-07 07:04:26] local.INFO: Packet analysis {"connection_id":174490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797f"} 
[2026-09-07 07:04:26] local.INFO: Extracted packet for processing {"connection_id":174490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797f"} 
[2026-09-07 07:04:26] local.INFO: GPS Element Parsed {"raw_longitude":757888960,"raw_latitude":113051064,"longitude_deg":75.788896,"latitude_deg":11.3051064,"altitude":19,"angle":317,"satellites":43,"speed":53,"hex_longitude":"2d2c77c0","hex_latitude":"06bd05b8","is_valid_coordinates":true} 
[2026-09-07 07:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918669568001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400788910495498240,"note":"Value kept but may cause issues"} 
[2026-09-07 07:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3211559144463628288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788744810000,"timestamp_ms":1788744810000,"timestamp_seconds":1788744810,"priority":1,"record_length":96,"hex_timestamp":"000001a0797fbe10"} 
[2026-09-07 07:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:04: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-07 07:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:04: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-07 07:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918669568001,"66":27843,"124":206,"81":20992,"24":53,"16":400788910495498240,"45":3211559144463628288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-07 07:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918669568001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:04:26] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-07 07:04:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400788910495498240,"km_value":400788910495498.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3211559144463628288,"description":"Unknown IO ID 45"} 
[2026-09-07 07:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918669568001,"power":27843,"unknown_124":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3211559144463628288}} 
[2026-09-07 07:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":174490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:04:26] local.INFO: GPS data processed {"connection_id":174490,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:04:26] local.INFO: Acknowledgment sent {"connection_id":174490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:05:20] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:05:20] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:20] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:05:25] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:25] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:25] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:05:26] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0797fd968012d2c5e4006bd20880014013c2a..."} 
[2026-09-07 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0797fd968012d2c5e4006bd20880014013c2a..."} 
[2026-09-07 07:05:26] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0797fd968012d2c5e4006bd20880014013c2a..."} 
[2026-09-07 07:05:26] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0797f"} 
[2026-09-07 07:05:26] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0797f"} 
[2026-09-07 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":757882432,"raw_latitude":113057928,"longitude_deg":75.7882432,"latitude_deg":11.3057928,"altitude":20,"angle":316,"satellites":42,"speed":53,"hex_longitude":"2d2c5e40","hex_latitude":"06bd2088","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918671360001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400789365762031616,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204240795071002624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788744817000,"timestamp_ms":1788744817000,"timestamp_seconds":1788744817,"priority":1,"record_length":96,"hex_timestamp":"000001a0797fd968"} 
[2026-09-07 07: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-07 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 07:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:05: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-07 07:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918671360001,"66":27767,"124":206,"81":20992,"24":53,"16":400789365762031616,"45":3204240795071002624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-07 07:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918671360001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:05:26] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-07 07:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400789365762031616,"km_value":400789365762031.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3204240795071002624,"description":"Unknown IO ID 45"} 
[2026-09-07 07:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918671360001,"power":27767,"unknown_124":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3204240795071002624}} 
[2026-09-07 07:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:05:26] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:05:26] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:05:50] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:51] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:51] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:05:55] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:55] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:05:55] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:05:56] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07980eec0012d2b5a4006be2f88000b01412b..."} 
[2026-09-07 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07980eec0012d2b5a4006be2f88000b01412b..."} 
[2026-09-07 07:05:56] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07980eec0012d2b5a4006be2f88000b01412b..."} 
[2026-09-07 07:05:56] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07980"} 
[2026-09-07 07:05:56] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07980"} 
[2026-09-07 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":757815872,"raw_latitude":113127304,"longitude_deg":75.7815872,"latitude_deg":11.3127304,"altitude":11,"angle":321,"satellites":43,"speed":56,"hex_longitude":"2d2b5a40","hex_latitude":"06be2f88","is_valid_coordinates":true} 
[2026-09-07 07:05: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-07 07:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918689536001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400794008621678592,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3130775826167060480,"note":"Value kept but may cause issues"} 
[2026-09-07 07:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788744888000,"timestamp_ms":1788744888000,"timestamp_seconds":1788744888,"priority":1,"record_length":96,"hex_timestamp":"000001a07980eec0"} 
[2026-09-07 07:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:05:56] 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-07 07:05: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-07 07:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:05:56] 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-07 07:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918689536001,"66":27658,"74":206,"81":20992,"24":56,"16":400794008621678592,"45":3130775826167060480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,81,24,16,45]} 
[2026-09-07 07:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918689536001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:05:56] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 07:05:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400794008621678592,"km_value":400794008621678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3130775826167060480,"description":"Unknown IO ID 45"} 
[2026-09-07 07:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918689536001,"power":27658,"unknown_74":206,"unknown_81":20992,"ignition":56,"odometer":null,"unknown_45":3130775826167060480}} 
[2026-09-07 07:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:05:56] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:05:56] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:06:28] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079810a18012d2b420006be4d00000b01412b..."} 
[2026-09-07 07:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079810a18012d2b420006be4d00000b01412b..."} 
[2026-09-07 07:06:28] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079810a18012d2b420006be4d00000b01412b..."} 
[2026-09-07 07:06:28] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:06:28] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:06:28] local.INFO: GPS Element Parsed {"raw_longitude":757809664,"raw_latitude":113134848,"longitude_deg":75.7809664,"latitude_deg":11.3134848,"altitude":11,"angle":321,"satellites":43,"speed":54,"hex_longitude":"2d2b4200","hex_latitude":"06be4d00","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918691328001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400794476773113856,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3123879689239627776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788744895000,"timestamp_ms":1788744895000,"timestamp_seconds":1788744895,"priority":1,"record_length":96,"hex_timestamp":"000001a079810a18"} 
[2026-09-07 07: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-07 07:06: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-07 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 07:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:06:28] 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-07 07:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918691328001,"66":27767,"74":206,"81":20992,"24":54,"16":400794476773113856,"45":3123879689239627776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,81,24,16,45]} 
[2026-09-07 07:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918691328001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:06:28] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 07:06:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400794476773113856,"km_value":400794476773113.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3123879689239627776,"description":"Unknown IO ID 45"} 
[2026-09-07 07:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918691328001,"power":27767,"unknown_74":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3123879689239627776}} 
[2026-09-07 07:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:06:28] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:06:28] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:06:45] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:45] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:45] local.INFO: IMEI packet received {"connection_id":174491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:06:50] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:50] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:06:50] local.INFO: IMEI packet received {"connection_id":174491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":174491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:06:52] local.INFO: TCP Data received {"connection_id":174491,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079812570012d2b2b8006be6aa0000c01422b..."} 
[2026-09-07 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079812570012d2b2b8006be6aa0000c01422b..."} 
[2026-09-07 07:06:52] local.INFO: Processing buffer {"connection_id":174491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079812570012d2b2b8006be6aa0000c01422b..."} 
[2026-09-07 07:06:52] local.INFO: Packet analysis {"connection_id":174491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:06:52] local.INFO: Extracted packet for processing {"connection_id":174491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":757803904,"raw_latitude":113142432,"longitude_deg":75.7803904,"latitude_deg":11.3142432,"altitude":12,"angle":322,"satellites":43,"speed":53,"hex_longitude":"2d2b2b80","hex_latitude":"06be6aa0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918693120001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400794936334614528,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3117053921056325632,"note":"Value kept but may cause issues"} 
[2026-09-07 07:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788744902000,"timestamp_ms":1788744902000,"timestamp_seconds":1788744902,"priority":1,"record_length":96,"hex_timestamp":"000001a079812570"} 
[2026-09-07 07: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-07 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918693120001,"66":27745,"74":206,"81":20992,"24":53,"16":400794936334614528,"45":3117053921056325632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,81,24,16,45]} 
[2026-09-07 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918693120001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:06:52] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 07:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400794936334614528,"km_value":400794936334614.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3117053921056325632,"description":"Unknown IO ID 45"} 
[2026-09-07 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918693120001,"power":27745,"unknown_74":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":3117053921056325632}} 
[2026-09-07 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":174491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:06:52] local.INFO: GPS data processed {"connection_id":174491,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:06:52] local.INFO: Acknowledgment sent {"connection_id":174491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:07:13] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:13] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:13] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:07:18] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:18] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:18] local.INFO: IMEI packet received {"connection_id":175826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":175826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:07:19] local.INFO: TCP Data received {"connection_id":175826,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07981fc48012d81a14005d34390000000a427..."} 
[2026-09-07 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07981fc48012d81a14005d34390000000a427..."} 
[2026-09-07 07:07:19] local.INFO: Processing buffer {"connection_id":175826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07981fc48012d81a14005d34390000000a427..."} 
[2026-09-07 07:07:19] local.INFO: Packet analysis {"connection_id":175826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:07:19] local.INFO: Extracted packet for processing {"connection_id":175826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07981"} 
[2026-09-07 07:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763470144,"raw_latitude":97731472,"longitude_deg":76.3470144,"latitude_deg":9.7731472,"altitude":0,"angle":164,"satellites":39,"speed":9,"hex_longitude":"2d81a140","hex_latitude":"05d34390","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918706432001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129167026848530432,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106489527756363776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:19] 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-07 07:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788744957000,"timestamp_ms":1788744957000,"timestamp_seconds":1788744957,"priority":1,"record_length":96,"hex_timestamp":"000001a07981fc48"} 
[2026-09-07 07: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-07 07:07:19] 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-07 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 07:07:19] 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-07 07: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-07 07: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-07 07:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:07:19] 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-07 07:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918706432001,"66":13852,"24":9,"16":129167026848530432,"45":-9106489527756363776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-07 07:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918706432001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129167026848530432,"km_value":129167026848530.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106489527756363776,"description":"Unknown IO ID 45"} 
[2026-09-07 07:07:19] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457918706432001,"power":13852,"ignition":9,"odometer":null,"unknown_45":-9106489527756363776}} 
[2026-09-07 07:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":175826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:07:19] local.INFO: GPS data processed {"connection_id":175826,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:07:19] local.INFO: Acknowledgment sent {"connection_id":175826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:07:45] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:45] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:45] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:07:48] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:48] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:48] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:07:48] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:48] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:48] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:07:50] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:50] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:07:50] local.INFO: IMEI packet received {"connection_id":174492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":174492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:07:51] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0798288e8012d2a004006bfe4f8000d01412b..."} 
[2026-09-07 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798288e8012d2a004006bfe4f8000d01412b..."} 
[2026-09-07 07:07:51] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798288e8012d2a004006bfe4f8000d01412b..."} 
[2026-09-07 07:07:51] local.INFO: Packet analysis {"connection_id":174492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:07:51] local.INFO: Extracted packet for processing {"connection_id":174492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:07:51] local.INFO: GPS Element Parsed {"raw_longitude":757727296,"raw_latitude":113239288,"longitude_deg":75.7727296,"latitude_deg":11.3239288,"altitude":13,"angle":321,"satellites":43,"speed":55,"hex_longitude":"2d2a0040","hex_latitude":"06bfe4f8","is_valid_coordinates":true} 
[2026-09-07 07:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918716416001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400800880569352192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3033104009277175808,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788744993000,"timestamp_ms":1788744993000,"timestamp_seconds":1788744993,"priority":1,"record_length":96,"hex_timestamp":"000001a0798288e8"} 
[2026-09-07 07:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:07: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-07 07:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:07:51] 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-07 07:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918716416001,"66":27745,"32":206,"81":20992,"24":55,"16":400800880569352192,"45":3033104009277175808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-09-07 07:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918716416001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:07:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-09-07 07:07:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400800880569352192,"km_value":400800880569352.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3033104009277175808,"description":"Unknown IO ID 45"} 
[2026-09-07 07:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918716416001,"power":27745,"unknown_32":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3033104009277175808}} 
[2026-09-07 07:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":174492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:07:51] local.INFO: GPS data processed {"connection_id":174492,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:07:51] local.INFO: Acknowledgment sent {"connection_id":174492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:07:53] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:53] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:07:53] local.INFO: IMEI packet received {"connection_id":173340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":173340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:07:54] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079824298012d81a20005d340a00000009227..."} 
[2026-09-07 07:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079824298012d81a20005d340a00000009227..."} 
[2026-09-07 07:07:54] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079824298012d81a20005d340a00000009227..."} 
[2026-09-07 07:07:54] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:07:54] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:07:54] local.INFO: GPS Element Parsed {"raw_longitude":763470336,"raw_latitude":97730720,"longitude_deg":76.3470336,"latitude_deg":9.773072,"altitude":0,"angle":146,"satellites":39,"speed":3,"hex_longitude":"2d81a200","hex_latitude":"05d340a0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918708992001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129167074093170688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105926577802997760,"note":"Value kept but may cause issues"} 
[2026-09-07 07:07:54] 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-07 07:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788744975000,"timestamp_ms":1788744975000,"timestamp_seconds":1788744975,"priority":1,"record_length":96,"hex_timestamp":"000001a079824298"} 
[2026-09-07 07: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-07 07:07:54] 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-07 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 07:07:54] 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-07 07: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-07 07: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-07 07:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:07:54] 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-07 07:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918708992001,"66":13928,"24":3,"16":129167074093170688,"45":-9105926577802997760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-07 07:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918708992001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129167074093170688,"km_value":129167074093170.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105926577802997760,"description":"Unknown IO ID 45"} 
[2026-09-07 07:07:54] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457918708992001,"power":13928,"ignition":3,"odometer":null,"unknown_45":-9105926577802997760}} 
[2026-09-07 07:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:07:54] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:07:54] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:08:22] local.INFO: TCP Data received {"connection_id":174492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07982a440012d29e80006c00468000c01452a..."} 
[2026-09-07 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07982a440012d29e80006c00468000c01452a..."} 
[2026-09-07 07:08:22] local.INFO: Processing buffer {"connection_id":174492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07982a440012d29e80006c00468000c01452a..."} 
[2026-09-07 07:08:22] local.INFO: Packet analysis {"connection_id":174492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:08:22] local.INFO: Extracted packet for processing {"connection_id":174492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":757721088,"raw_latitude":113247336,"longitude_deg":75.7721088,"latitude_deg":11.3247336,"altitude":12,"angle":325,"satellites":42,"speed":57,"hex_longitude":"2d29e800","hex_latitude":"06c00468","is_valid_coordinates":true} 
[2026-09-07 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918718208001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400801370195623936,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3026489347326408704,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745000000,"timestamp_ms":1788745000000,"timestamp_seconds":1788745000,"priority":1,"record_length":96,"hex_timestamp":"000001a07982a440"} 
[2026-09-07 07:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:08:22] 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-07 07:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:08:22] 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-07 07:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918718208001,"66":27832,"179":206,"81":20992,"24":57,"16":400801370195623936,"45":3026489347326408704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 07:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918718208001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:08:23] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 07:08:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400801370195623936,"km_value":400801370195623.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3026489347326408704,"description":"Unknown IO ID 45"} 
[2026-09-07 07:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918718208001,"power":27832,"unknown_179":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3026489347326408704}} 
[2026-09-07 07:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":174492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:08:23] local.INFO: GPS data processed {"connection_id":174492,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:08:23] local.INFO: Acknowledgment sent {"connection_id":174492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:08:25] local.INFO: TCP Data received {"connection_id":173340,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07983e878012d82820005d34770000600ba28..."} 
[2026-09-07 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07983e878012d82820005d34770000600ba28..."} 
[2026-09-07 07:08:25] local.INFO: Processing buffer {"connection_id":173340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07983e878012d82820005d34770000600ba28..."} 
[2026-09-07 07:08:25] local.INFO: Packet analysis {"connection_id":173340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07983"} 
[2026-09-07 07:08:25] local.INFO: Extracted packet for processing {"connection_id":173340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07983"} 
[2026-09-07 07:08:25] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97732464,"longitude_deg":76.352768,"latitude_deg":9.7732464,"altitude":6,"angle":186,"satellites":40,"speed":7,"hex_longitude":"2d828200","hex_latitude":"05d34770","is_valid_coordinates":true} 
[2026-09-07 07:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918740736001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129169874411847680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445531117568,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:25] 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-07 07:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788745083000,"timestamp_ms":1788745083000,"timestamp_seconds":1788745083,"priority":1,"record_length":96,"hex_timestamp":"000001a07983e878"} 
[2026-09-07 07:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 07:08:25] 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-07 07:08: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-07 07:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:08:25] 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-07 07:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918740736001,"66":13124,"68":206,"85":15104,"24":7,"16":129169874411847680,"45":-9042735445531117568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918740736001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:08:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129169874411847680,"km_value":129169874411847.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445531117568,"description":"Unknown IO ID 45"} 
[2026-09-07 07:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918740736001,"power":13124,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9042735445531117568}} 
[2026-09-07 07:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":173340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:08:25] local.INFO: GPS data processed {"connection_id":173340,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:08:25] local.INFO: Acknowledgment sent {"connection_id":173340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:08:45] local.INFO: TCP Data received {"connection_id":175827,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:45] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:45] local.INFO: IMEI packet received {"connection_id":175827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:08:50] local.INFO: TCP Data received {"connection_id":175827,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:50] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:08:50] local.INFO: IMEI packet received {"connection_id":175827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":175827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:08:51] local.INFO: TCP Data received {"connection_id":175827,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07982bf98012d29d1c006c024f8000a01452d..."} 
[2026-09-07 07:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07982bf98012d29d1c006c024f8000a01452d..."} 
[2026-09-07 07:08:51] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07982bf98012d29d1c006c024f8000a01452d..."} 
[2026-09-07 07:08:51] local.INFO: Packet analysis {"connection_id":175827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:08:51] local.INFO: Extracted packet for processing {"connection_id":175827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07982"} 
[2026-09-07 07:08:51] local.INFO: GPS Element Parsed {"raw_longitude":757715392,"raw_latitude":113255672,"longitude_deg":75.7715392,"latitude_deg":11.3255672,"altitude":10,"angle":325,"satellites":45,"speed":55,"hex_longitude":"2d29d1c0","hex_latitude":"06c024f8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918720000001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400801855526928384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3019663579143235584,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745007000,"timestamp_ms":1788745007000,"timestamp_seconds":1788745007,"priority":1,"record_length":96,"hex_timestamp":"000001a07982bf98"} 
[2026-09-07 07: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-07 07:08: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-07 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 07:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:08:51] 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-07 07:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918720000001,"66":27691,"179":206,"81":20992,"24":55,"16":400801855526928384,"45":3019663579143235584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 07:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918720000001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:08:51] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 07:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400801855526928384,"km_value":400801855526928.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3019663579143235584,"description":"Unknown IO ID 45"} 
[2026-09-07 07:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918720000001,"power":27691,"unknown_179":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3019663579143235584}} 
[2026-09-07 07:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":175827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:08:51] local.INFO: GPS data processed {"connection_id":175827,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:08:51] local.INFO: Acknowledgment sent {"connection_id":175827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:08:53] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:53] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:53] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:08:58] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:58] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:08:58] local.INFO: IMEI packet received {"connection_id":175828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":175828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:08:59] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07983fc00012d82820005d340a8000400ad27..."} 
[2026-09-07 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07983fc00012d82820005d340a8000400ad27..."} 
[2026-09-07 07:08:59] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07983fc00012d82820005d340a8000400ad27..."} 
[2026-09-07 07:08:59] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07983"} 
[2026-09-07 07:08:59] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07983"} 
[2026-09-07 07:08:59] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":97730728,"longitude_deg":76.352768,"latitude_deg":9.7730728,"altitude":4,"angle":173,"satellites":39,"speed":21,"hex_longitude":"2d828200","hex_latitude":"05d340a8","is_valid_coordinates":true} 
[2026-09-07 07:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918741248001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129169960311193600,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076787023872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:08:59] 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-07 07:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788745088000,"timestamp_ms":1788745088000,"timestamp_seconds":1788745088,"priority":1,"record_length":96,"hex_timestamp":"000001a07983fc00"} 
[2026-09-07 07:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:08:59] 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-07 07:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-07 07:08:59] 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-07 07:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:08:59] 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-07 07:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918741248001,"66":13352,"68":206,"85":15104,"24":21,"16":129169960311193600,"45":-9042665076787023872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918741248001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:08:59] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:08:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129169960311193600,"km_value":129169960311193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076787023872,"description":"Unknown IO ID 45"} 
[2026-09-07 07:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918741248001,"power":13352,"unknown_68":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9042665076787023872}} 
[2026-09-07 07:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:08:59] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:08:59] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:09:22] local.INFO: TCP Data received {"connection_id":175827,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079844a20012d28718006c19cc80016013d2b..."} 
[2026-09-07 07:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079844a20012d28718006c19cc80016013d2b..."} 
[2026-09-07 07:09:22] local.INFO: Processing buffer {"connection_id":175827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079844a20012d28718006c19cc80016013d2b..."} 
[2026-09-07 07:09:22] local.INFO: Packet analysis {"connection_id":175827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:22] local.INFO: Extracted packet for processing {"connection_id":175827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:22] local.INFO: GPS Element Parsed {"raw_longitude":757625216,"raw_latitude":113351880,"longitude_deg":75.7625216,"latitude_deg":11.335188,"altitude":22,"angle":317,"satellites":43,"speed":51,"hex_longitude":"2d287180","hex_latitude":"06c19cc8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918745856001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400808207783559168,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2921006599831224320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745108000,"timestamp_ms":1788745108000,"timestamp_seconds":1788745108,"priority":1,"record_length":96,"hex_timestamp":"000001a079844a20"} 
[2026-09-07 07: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-07 07:09: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:09:22] 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-07 07:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918745856001,"66":27821,"181":206,"81":20992,"24":51,"16":400808207783559168,"45":2921006599831224320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918745856001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:09:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:09:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400808207783559168,"km_value":400808207783559.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2921006599831224320,"description":"Unknown IO ID 45"} 
[2026-09-07 07:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918745856001,"power":27821,"unknown_181":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2921006599831224320}} 
[2026-09-07 07:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":175827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:09:22] local.INFO: GPS data processed {"connection_id":175827,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:09:22] local.INFO: Acknowledgment sent {"connection_id":175827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:09:27] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:27] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:27] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:09:30] local.INFO: TCP Data received {"connection_id":175828,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798432b0012d82830005d31b90000200b526..."} 
[2026-09-07 07:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798432b0012d82830005d31b90000200b526..."} 
[2026-09-07 07:09:30] local.INFO: Processing buffer {"connection_id":175828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798432b0012d82830005d31b90000200b526..."} 
[2026-09-07 07:09:30] local.INFO: Packet analysis {"connection_id":175828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:30] local.INFO: Extracted packet for processing {"connection_id":175828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":97721232,"longitude_deg":76.3527936,"latitude_deg":9.7721232,"altitude":2,"angle":181,"satellites":38,"speed":25,"hex_longitude":"2d828300","hex_latitude":"05d31b90","is_valid_coordinates":true} 
[2026-09-07 07:09: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-07 07:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918742528001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129170419872694272,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076787468288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:30] 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-07 07:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788745102000,"timestamp_ms":1788745102000,"timestamp_seconds":1788745102,"priority":1,"record_length":96,"hex_timestamp":"000001a0798432b0"} 
[2026-09-07 07:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 07:09:30] 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-07 07:09: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-07 07:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:09:30] 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-07 07:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918742528001,"66":13450,"68":206,"85":15104,"24":25,"16":129170419872694272,"45":-9042665076787468288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918742528001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:09:30] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129170419872694272,"km_value":129170419872694.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076787468288,"description":"Unknown IO ID 45"} 
[2026-09-07 07:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918742528001,"power":13450,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9042665076787468288}} 
[2026-09-07 07:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":175828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:09:30] local.INFO: GPS data processed {"connection_id":175828,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:09:30] local.INFO: Acknowledgment sent {"connection_id":175828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:09:46] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:46] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:46] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:09:47] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:47] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:47] local.INFO: IMEI packet received {"connection_id":175829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:09:47] local.INFO: TCP Data received {"connection_id":173105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:47] local.INFO: Processing buffer {"connection_id":173105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:09:47] local.INFO: IMEI packet received {"connection_id":173105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":173105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:09:48] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:48] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:48] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:09:50] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:50] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:50] local.INFO: IMEI packet received {"connection_id":175829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":175829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:09:53] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:53] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:09:53] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:09:54] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079846190012d82848005d2fe70000200aa27..."} 
[2026-09-07 07:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079846190012d82848005d2fe70000200aa27..."} 
[2026-09-07 07:09:54] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079846190012d82848005d2fe70000200aa27..."} 
[2026-09-07 07:09:54] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:54] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":97713776,"longitude_deg":76.352832,"latitude_deg":9.7713776,"altitude":2,"angle":170,"satellites":39,"speed":26,"hex_longitude":"2d828480","hex_latitude":"05d2fe70","is_valid_coordinates":true} 
[2026-09-07 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918746112001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129170784944914432,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601813188608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09: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-07 07:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788745114000,"timestamp_ms":1788745114000,"timestamp_seconds":1788745114,"priority":1,"record_length":96,"hex_timestamp":"000001a079846190"} 
[2026-09-07 07:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:09:54] 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-07 07:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 07:09:54] 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-07 07:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:09:54] 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-07 07:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918746112001,"66":13559,"68":206,"85":15104,"24":26,"16":129170784944914432,"45":-9042383601813188608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918746112001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:09:54] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:09:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129170784944914432,"km_value":129170784944914.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601813188608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918746112001,"power":13559,"unknown_68":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9042383601813188608}} 
[2026-09-07 07:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:09:54] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:09:54] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:09:55] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:55] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:09:55] local.INFO: IMEI packet received {"connection_id":175829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":175829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:09:55] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079846578012d28580006c1b7900015013b2b..."} 
[2026-09-07 07:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079846578012d28580006c1b7900015013b2b..."} 
[2026-09-07 07:09:55] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079846578012d28580006c1b7900015013b2b..."} 
[2026-09-07 07:09:55] local.INFO: Packet analysis {"connection_id":175829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:55] local.INFO: Extracted packet for processing {"connection_id":175829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:09:55] local.INFO: GPS Element Parsed {"raw_longitude":757618688,"raw_latitude":113358736,"longitude_deg":75.7618688,"latitude_deg":11.3358736,"altitude":21,"angle":315,"satellites":43,"speed":54,"hex_longitude":"2d285800","hex_latitude":"06c1b790","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918747648001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400808663050092544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2914251200391858176,"note":"Value kept but may cause issues"} 
[2026-09-07 07:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788745115000,"timestamp_ms":1788745115000,"timestamp_seconds":1788745115,"priority":1,"record_length":96,"hex_timestamp":"000001a079846578"} 
[2026-09-07 07: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-07 07:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:09:55] 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-07 07: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-07 07: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-07 07:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:09:55] 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-07 07:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918747648001,"66":27930,"181":206,"81":20992,"24":54,"16":400808663050092544,"45":2914251200391858176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918747648001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:09:55] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:09:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400808663050092544,"km_value":400808663050092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2914251200391858176,"description":"Unknown IO ID 45"} 
[2026-09-07 07:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918747648001,"power":27930,"unknown_181":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2914251200391858176}} 
[2026-09-07 07:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":175829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:09:55] local.INFO: GPS data processed {"connection_id":175829,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:09:55] local.INFO: Acknowledgment sent {"connection_id":175829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:10:26] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079849458012d828a4005d2db80000300ac29..."} 
[2026-09-07 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079849458012d828a4005d2db80000300ac29..."} 
[2026-09-07 07:10:26] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079849458012d828a4005d2db80000300ac29..."} 
[2026-09-07 07:10:26] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:26] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":97704832,"longitude_deg":76.3529792,"latitude_deg":9.7704832,"altitude":3,"angle":172,"satellites":41,"speed":32,"hex_longitude":"2d828a40","hex_latitude":"05d2db80","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918749184001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129171223031578624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389350031360,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10: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-07 07:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788745127000,"timestamp_ms":1788745127000,"timestamp_seconds":1788745127,"priority":1,"record_length":96,"hex_timestamp":"000001a079849458"} 
[2026-09-07 07: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-07 07:10:26] 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-07 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:10: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-07 07:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918749184001,"66":13341,"68":206,"85":15104,"24":32,"16":129171223031578624,"45":-9041961389350031360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918749184001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129171223031578624,"km_value":129171223031578.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389350031360,"description":"Unknown IO ID 45"} 
[2026-09-07 07:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918749184001,"power":13341,"unknown_68":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9041961389350031360}} 
[2026-09-07 07:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:10:26] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:10:26] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:10:26] local.INFO: TCP Data received {"connection_id":175829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0798480d0012d283c0006c1d3580012013a2c..."} 
[2026-09-07 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798480d0012d283c0006c1d3580012013a2c..."} 
[2026-09-07 07:10:26] local.INFO: Processing buffer {"connection_id":175829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798480d0012d283c0006c1d3580012013a2c..."} 
[2026-09-07 07:10:26] local.INFO: Packet analysis {"connection_id":175829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:26] local.INFO: Extracted packet for processing {"connection_id":175829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":757611520,"raw_latitude":113365848,"longitude_deg":75.761152,"latitude_deg":11.3365848,"altitude":18,"angle":314,"satellites":44,"speed":58,"hex_longitude":"2d283c00","hex_latitude":"06c1d358","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918749440001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400809148381396992,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2907073588487491584,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788745122000,"timestamp_ms":1788745122000,"timestamp_seconds":1788745122,"priority":1,"record_length":96,"hex_timestamp":"000001a0798480d0"} 
[2026-09-07 07: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-07 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 07:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07: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-07 07:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918749440001,"66":27843,"181":206,"81":20992,"24":58,"16":400809148381396992,"45":2907073588487491584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918749440001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400809148381396992,"km_value":400809148381397.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2907073588487491584,"description":"Unknown IO ID 45"} 
[2026-09-07 07:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918749440001,"power":27843,"unknown_181":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2907073588487491584}} 
[2026-09-07 07:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":175829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:10:26] local.INFO: GPS data processed {"connection_id":175829,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:10:26] local.INFO: Acknowledgment sent {"connection_id":175829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:10:45] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:45] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:45] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:10:48] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:48] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:48] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:10:50] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:50] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:10:50] local.INFO: IMEI packet received {"connection_id":174493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:10:50] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:50] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:10:50] local.INFO: IMEI packet received {"connection_id":175830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":175830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:10:51] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07984bf50012d828fc005d2b780000300ad29..."} 
[2026-09-07 07:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07984bf50012d828fc005d2b780000300ad29..."} 
[2026-09-07 07:10:51] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07984bf50012d828fc005d2b780000300ad29..."} 
[2026-09-07 07:10:51] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:51] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763531200,"raw_latitude":97695616,"longitude_deg":76.35312,"latitude_deg":9.7695616,"altitude":3,"angle":173,"satellites":41,"speed":33,"hex_longitude":"2d828fc0","hex_latitude":"05d2b780","is_valid_coordinates":true} 
[2026-09-07 07:10: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-07 07:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918752512001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129171678298112000,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040342908236234752,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] 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-07 07:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745138000,"timestamp_ms":1788745138000,"timestamp_seconds":1788745138,"priority":1,"record_length":96,"hex_timestamp":"000001a07984bf50"} 
[2026-09-07 07:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:10:51] 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-07 07:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 07:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:10: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-07 07:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:10: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-07 07:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918752512001,"66":13580,"68":206,"85":15104,"24":33,"16":129171678298112000,"45":-9040342908236234752},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918752512001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129171678298112000,"km_value":129171678298112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040342908236234752,"description":"Unknown IO ID 45"} 
[2026-09-07 07:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918752512001,"power":13580,"unknown_68":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9040342908236234752}} 
[2026-09-07 07:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:10:51] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:10:51] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:10:51] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a079849c28012d281fc006c1ef98000f013d2c..."} 
[2026-09-07 07:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079849c28012d281fc006c1ef98000f013d2c..."} 
[2026-09-07 07:10:51] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079849c28012d281fc006c1ef98000f013d2c..."} 
[2026-09-07 07:10:51] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:51] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:10:51] local.INFO: GPS Element Parsed {"raw_longitude":757604288,"raw_latitude":113373080,"longitude_deg":75.7604288,"latitude_deg":11.337308,"altitude":15,"angle":317,"satellites":44,"speed":57,"hex_longitude":"2d281fc0","hex_latitude":"06c1ef98","is_valid_coordinates":true} 
[2026-09-07 07:10: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-07 07:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918751232001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400809638007668736,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2899192289141413888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745129000,"timestamp_ms":1788745129000,"timestamp_seconds":1788745129,"priority":1,"record_length":96,"hex_timestamp":"000001a079849c28"} 
[2026-09-07 07:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 07:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:10: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-07 07:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:10:51] 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-07 07:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918751232001,"66":27658,"181":206,"81":20992,"24":57,"16":400809638007668736,"45":2899192289141413888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918751232001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400809638007668736,"km_value":400809638007668.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2899192289141413888,"description":"Unknown IO ID 45"} 
[2026-09-07 07:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918751232001,"power":27658,"unknown_181":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2899192289141413888}} 
[2026-09-07 07:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:10:51] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:10:51] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:11:22] local.INFO: TCP Data received {"connection_id":174493,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079869be0012d82b34005d160980001006527..."} 
[2026-09-07 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079869be0012d82b34005d160980001006527..."} 
[2026-09-07 07:11:22] local.INFO: Processing buffer {"connection_id":174493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079869be0012d82b34005d160980001006527..."} 
[2026-09-07 07:11:22] local.INFO: Packet analysis {"connection_id":174493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:11:22] local.INFO: Extracted packet for processing {"connection_id":174493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763540288,"raw_latitude":97607832,"longitude_deg":76.3540288,"latitude_deg":9.7607832,"altitude":1,"angle":101,"satellites":39,"speed":42,"hex_longitude":"2d82b340","hex_latitude":"05d16098","is_valid_coordinates":true} 
[2026-09-07 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918784768001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129176265323184128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557833656918016,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11: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-07 07:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745260000,"timestamp_ms":1788745260000,"timestamp_seconds":1788745260,"priority":1,"record_length":96,"hex_timestamp":"000001a079869be0"} 
[2026-09-07 07:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:11:22] 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-07 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 07:11:22] 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-07 07:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:11: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-07 07:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918784768001,"66":13428,"63":206,"85":15104,"24":42,"16":129176265323184128,"45":-9035557833656918016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918784768001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129176265323184128,"km_value":129176265323184.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557833656918016,"description":"Unknown IO ID 45"} 
[2026-09-07 07:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918784768001,"power":13428,"unknown_63":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9035557833656918016}} 
[2026-09-07 07:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:11:22] local.INFO: GPS data processed {"connection_id":174493,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:11:22] local.INFO: Acknowledgment sent {"connection_id":174493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:11:22] local.INFO: TCP Data received {"connection_id":175830,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07984b780012d28068006c20f30000c01432b..."} 
[2026-09-07 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07984b780012d28068006c20f30000c01432b..."} 
[2026-09-07 07:11:22] local.INFO: Processing buffer {"connection_id":175830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07984b780012d28068006c20f30000c01432b..."} 
[2026-09-07 07:11:22] local.INFO: Packet analysis {"connection_id":175830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:11:22] local.INFO: Extracted packet for processing {"connection_id":175830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:11:22] local.INFO: GPS Element Parsed {"raw_longitude":757597824,"raw_latitude":113381168,"longitude_deg":75.7597824,"latitude_deg":11.3381168,"altitude":12,"angle":323,"satellites":43,"speed":59,"hex_longitude":"2d280680","hex_latitude":"06c20f30","is_valid_coordinates":true} 
[2026-09-07 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918753024001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400810136223875072,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2891240621051189248,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745136000,"timestamp_ms":1788745136000,"timestamp_seconds":1788745136,"priority":1,"record_length":96,"hex_timestamp":"000001a07984b780"} 
[2026-09-07 07:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:11: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-07 07:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 07:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:11:22] 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-07 07:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918753024001,"66":27745,"181":206,"81":20992,"24":59,"16":400810136223875072,"45":2891240621051189248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918753024001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400810136223875072,"km_value":400810136223875.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2891240621051189248,"description":"Unknown IO ID 45"} 
[2026-09-07 07:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918753024001,"power":27745,"unknown_181":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2891240621051189248}} 
[2026-09-07 07:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":175830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:11:22] local.INFO: GPS data processed {"connection_id":175830,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:11:22] local.INFO: Acknowledgment sent {"connection_id":175830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:11:45] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:45] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:45] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:11:48] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:48] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:48] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:11:50] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:50] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:11:50] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:11:51] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07984cef0012d27f34006c22c70000b014a2a..."} 
[2026-09-07 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07984cef0012d27f34006c22c70000b014a2a..."} 
[2026-09-07 07:11:51] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07984cef0012d27f34006c22c70000b014a2a..."} 
[2026-09-07 07:11:51] local.INFO: Packet analysis {"connection_id":173343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:11:51] local.INFO: Extracted packet for processing {"connection_id":173343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":757592896,"raw_latitude":113388656,"longitude_deg":75.7592896,"latitude_deg":11.3388656,"altitude":11,"angle":330,"satellites":42,"speed":57,"hex_longitude":"2d27f340","hex_latitude":"06c22c70","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918754816001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400810570015571968,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2884133377891315712,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745142000,"timestamp_ms":1788745142000,"timestamp_seconds":1788745142,"priority":1,"record_length":96,"hex_timestamp":"000001a07984cef0"} 
[2026-09-07 07: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-07 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:11:51] 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-07 07: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-07 07: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-07 07:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:11:51] 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-07 07:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918754816001,"66":27767,"181":206,"81":20992,"24":57,"16":400810570015571968,"45":2884133377891315712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918754816001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:11:51] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400810570015571968,"km_value":400810570015571.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2884133377891315712,"description":"Unknown IO ID 45"} 
[2026-09-07 07:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918754816001,"power":27767,"unknown_181":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2884133377891315712}} 
[2026-09-07 07:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":173343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:11:51] local.INFO: GPS data processed {"connection_id":173343,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:11:51] local.INFO: Acknowledgment sent {"connection_id":173343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:11:53] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:53] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:11:53] local.INFO: IMEI packet received {"connection_id":173108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:11:54] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07986bb20012d82d98005d15a380004006225..."} 
[2026-09-07 07:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07986bb20012d82d98005d15a380004006225..."} 
[2026-09-07 07:11:54] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07986bb20012d82d98005d15a380004006225..."} 
[2026-09-07 07:11:54] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:11:54] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763550080,"raw_latitude":97606200,"longitude_deg":76.355008,"latitude_deg":9.76062,"altitude":4,"angle":98,"satellites":37,"speed":53,"hex_longitude":"2d82d980","hex_latitude":"05d15a38","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918786560001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129176742064553984,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028802434215929856,"note":"Value kept but may cause issues"} 
[2026-09-07 07:11:54] 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-07 07:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788745268000,"timestamp_ms":1788745268000,"timestamp_seconds":1788745268,"priority":1,"record_length":96,"hex_timestamp":"000001a07986bb20"} 
[2026-09-07 07: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-07 07:11:54] 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-07 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 07:11:54] 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-07 07: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-07 07: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-07 07:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:11:54] 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-07 07:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918786560001,"66":13178,"63":206,"85":15104,"24":53,"16":129176742064553984,"45":-9028802434215929856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918786560001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:11:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129176742064553984,"km_value":129176742064553.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028802434215929856,"description":"Unknown IO ID 45"} 
[2026-09-07 07:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918786560001,"power":13178,"unknown_63":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9028802434215929856}} 
[2026-09-07 07:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:11:54] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:11:54] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:12:22] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07984ea48012d27e28006c24eb0000b014e2c..."} 
[2026-09-07 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07984ea48012d27e28006c24eb0000b014e2c..."} 
[2026-09-07 07:12:22] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07984ea48012d27e28006c24eb0000b014e2c..."} 
[2026-09-07 07:12:22] local.INFO: Packet analysis {"connection_id":173343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:12:22] local.INFO: Extracted packet for processing {"connection_id":173343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07984"} 
[2026-09-07 07:12:22] local.INFO: GPS Element Parsed {"raw_longitude":757588608,"raw_latitude":113397424,"longitude_deg":75.7588608,"latitude_deg":11.3397424,"altitude":11,"angle":334,"satellites":44,"speed":53,"hex_longitude":"2d27e280","hex_latitude":"06c24eb0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918756352001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400811042461974528,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2878714984591552512,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745149000,"timestamp_ms":1788745149000,"timestamp_seconds":1788745149,"priority":1,"record_length":96,"hex_timestamp":"000001a07984ea48"} 
[2026-09-07 07: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-07 07:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:12:22] 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-07 07:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918756352001,"66":27691,"181":206,"81":20992,"24":53,"16":400811042461974528,"45":2878714984591552512},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 07:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918756352001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:12:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 07:12:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400811042461974528,"km_value":400811042461974.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2878714984591552512,"description":"Unknown IO ID 45"} 
[2026-09-07 07:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918756352001,"power":27691,"unknown_181":206,"unknown_81":20992,"ignition":53,"odometer":null,"unknown_45":2878714984591552512}} 
[2026-09-07 07:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":173343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:12:22] local.INFO: GPS data processed {"connection_id":173343,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:12:22] local.INFO: Acknowledgment sent {"connection_id":173343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:12:25] local.INFO: TCP Data received {"connection_id":173108,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07986d678012d83014005d156e00005005c27..."} 
[2026-09-07 07:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07986d678012d83014005d156e00005005c27..."} 
[2026-09-07 07:12:25] local.INFO: Processing buffer {"connection_id":173108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07986d678012d83014005d156e00005005c27..."} 
[2026-09-07 07:12:25] local.INFO: Packet analysis {"connection_id":173108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:12:25] local.INFO: Extracted packet for processing {"connection_id":173108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763560256,"raw_latitude":97605344,"longitude_deg":76.3560256,"latitude_deg":9.7605344,"altitude":5,"angle":92,"satellites":39,"speed":60,"hex_longitude":"2d830140","hex_latitude":"05d156e0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918788608001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129177231690825728,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9018036016357165056,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:25] 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-07 07:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788745275000,"timestamp_ms":1788745275000,"timestamp_seconds":1788745275,"priority":1,"record_length":96,"hex_timestamp":"000001a07986d678"} 
[2026-09-07 07: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-07 07:12: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-07 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-07 07:12:25] 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-07 07: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-07 07: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-07 07:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:12:25] 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-07 07:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918788608001,"66":13319,"63":206,"85":15104,"24":60,"16":129177231690825728,"45":-9018036016357165056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918788608001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:12:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129177231690825728,"km_value":129177231690825.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9018036016357165056,"description":"Unknown IO ID 45"} 
[2026-09-07 07:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918788608001,"power":13319,"unknown_63":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":-9018036016357165056}} 
[2026-09-07 07:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":173108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:12:25] local.INFO: GPS data processed {"connection_id":173108,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:12:25] local.INFO: Acknowledgment sent {"connection_id":173108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:12:45] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:45] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:45] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:12:48] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:48] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:48] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:12:48] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:12:48] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:48] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:12:50] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:50] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:12:50] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:12:51] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798505a0012d27d34006c26ec8000b014e2c..."} 
[2026-09-07 07:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798505a0012d27d34006c26ec8000b014e2c..."} 
[2026-09-07 07:12:51] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798505a0012d27d34006c26ec8000b014e2c..."} 
[2026-09-07 07:12:51] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07985"} 
[2026-09-07 07:12:51] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07985"} 
[2026-09-07 07:12:51] local.INFO: GPS Element Parsed {"raw_longitude":757584704,"raw_latitude":113405640,"longitude_deg":75.7584704,"latitude_deg":11.340564,"altitude":11,"angle":334,"satellites":44,"speed":49,"hex_longitude":"2d27d340","hex_latitude":"06c26ec8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918758144001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400811480548638720,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2874000278733893632,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745156000,"timestamp_ms":1788745156000,"timestamp_seconds":1788745156,"priority":1,"record_length":96,"hex_timestamp":"000001a0798505a0"} 
[2026-09-07 07: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-07 07:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:12:51] 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-07 07:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918758144001,"66":27800,"229":206,"81":20992,"24":49,"16":400811480548638720,"45":2874000278733893632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-09-07 07:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918758144001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:12:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 07:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400811480548638720,"km_value":400811480548638.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2874000278733893632,"description":"Unknown IO ID 45"} 
[2026-09-07 07:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918758144001,"power":27800,"unknown_229":206,"unknown_81":20992,"ignition":49,"odometer":null,"unknown_45":2874000278733893632}} 
[2026-09-07 07:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:12:51] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:12:51] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:12:53] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:53] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:12:53] local.INFO: IMEI packet received {"connection_id":174494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":174494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:12:54] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07986f1d0012d83258005d154d00007005c28..."} 
[2026-09-07 07:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07986f1d0012d83258005d154d00007005c28..."} 
[2026-09-07 07:12:54] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07986f1d0012d83258005d154d00007005c28..."} 
[2026-09-07 07:12:54] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:12:54] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07986"} 
[2026-09-07 07:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763569536,"raw_latitude":97604816,"longitude_deg":76.3569536,"latitude_deg":9.7604816,"altitude":7,"angle":92,"satellites":40,"speed":42,"hex_longitude":"2d832580","hex_latitude":"05d154d0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918790400001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129177678367424512,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9006847386033135616,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] 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-07 07:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788745282000,"timestamp_ms":1788745282000,"timestamp_seconds":1788745282,"priority":1,"record_length":96,"hex_timestamp":"000001a07986f1d0"} 
[2026-09-07 07: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-07 07:12:54] 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-07 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191097861,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2256314369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7223773802313426688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3087084930,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397006,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3973382144,"corrected_to":0} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512920064,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":173,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.WARNING: Large IO value detected {"io_id":134,"raw_value":8135754021820874757,"note":"Value kept but may cause issues"} 
[2026-09-07 07:12:54] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,63,85,24,241,157,16,238,160,187,45,128,90,4,37,10,66,237,155,64,96,1,39,240,198,227,236,121,209,113,205,12,120,152,248,239,49,2,202,5,13,173,134],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0},{"io_id":202,"original":3973382144,"validated":0}]} 
[2026-09-07 07:12:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360389292767051776,"timestamp_seconds":360389292767051.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07: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-07 07:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:12:54] 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-07 07:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918790400001,"66":13189,"63":206,"85":15104,"24":42,"16":129177678367424512,"45":-9006847386033135616},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918790400001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:12:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129177678367424512,"km_value":129177678367424.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9006847386033135616,"description":"Unknown IO ID 45"} 
[2026-09-07 07:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918790400001,"power":13189,"unknown_63":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9006847386033135616}} 
[2026-09-07 07:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:12:54] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:12:54] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:13:23] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798524e0012d27c28006c29288000c014f2a..."} 
[2026-09-07 07:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798524e0012d27c28006c29288000c014f2a..."} 
[2026-09-07 07:13:23] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798524e0012d27c28006c29288000c014f2a..."} 
[2026-09-07 07:13:23] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07985"} 
[2026-09-07 07:13:23] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07985"} 
[2026-09-07 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":757580416,"raw_latitude":113414792,"longitude_deg":75.7580416,"latitude_deg":11.3414792,"altitude":12,"angle":335,"satellites":42,"speed":51,"hex_longitude":"2d27c280","hex_latitude":"06c29288","is_valid_coordinates":true} 
[2026-09-07 07:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918759936001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400811970174910464,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2869707785341159424,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788745164000,"timestamp_ms":1788745164000,"timestamp_seconds":1788745164,"priority":1,"record_length":96,"hex_timestamp":"000001a0798524e0"} 
[2026-09-07 07:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:13: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-07 07:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:13:23] 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-07 07:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918759936001,"66":27821,"229":206,"81":20992,"24":51,"16":400811970174910464,"45":2869707785341159424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,81,24,16,45]} 
[2026-09-07 07:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918759936001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:13:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 07:13:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400811970174910464,"km_value":400811970174910.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2869707785341159424,"description":"Unknown IO ID 45"} 
[2026-09-07 07:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918759936001,"power":27821,"unknown_229":206,"unknown_81":20992,"ignition":51,"odometer":null,"unknown_45":2869707785341159424}} 
[2026-09-07 07:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:13:23] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:13:23] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:13:25] local.INFO: TCP Data received {"connection_id":174494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079870170012d83324005d153c80007006829..."} 
[2026-09-07 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079870170012d83324005d153c80007006829..."} 
[2026-09-07 07:13:25] local.INFO: Processing buffer {"connection_id":174494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079870170012d83324005d153c80007006829..."} 
[2026-09-07 07:13:25] local.INFO: Packet analysis {"connection_id":174494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07987"} 
[2026-09-07 07:13:25] local.INFO: Extracted packet for processing {"connection_id":174494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07987"} 
[2026-09-07 07:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763572800,"raw_latitude":97604552,"longitude_deg":76.35728,"latitude_deg":9.7604552,"altitude":7,"angle":104,"satellites":41,"speed":22,"hex_longitude":"2d833240","hex_latitude":"05d153c8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918792192001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129177828691279872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8996643918127509504,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:25] 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-07 07:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788745286000,"timestamp_ms":1788745286000,"timestamp_seconds":1788745286,"priority":1,"record_length":96,"hex_timestamp":"000001a079870170"} 
[2026-09-07 07: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-07 07:13:25] 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-07 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-07 07:13:25] 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-07 07: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-07 07: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-07 07:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:13:25] 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-07 07:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918792192001,"66":12982,"63":206,"85":15104,"24":22,"16":129177828691279872,"45":-8996643918127509504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918792192001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:13:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129177828691279872,"km_value":129177828691279.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8996643918127509504,"description":"Unknown IO ID 45"} 
[2026-09-07 07:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918792192001,"power":12982,"unknown_63":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-8996643918127509504}} 
[2026-09-07 07:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:13:25] local.INFO: GPS data processed {"connection_id":174494,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:13:25] local.INFO: Acknowledgment sent {"connection_id":174494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:13:48] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:48] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:48] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:13:52] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:52] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:52] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:13:52] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:52] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:52] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:13:53] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:53] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:13:53] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:13:54] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079870558012d83344005d152f80008007829..."} 
[2026-09-07 07:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079870558012d83344005d152f80008007829..."} 
[2026-09-07 07:13:54] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079870558012d83344005d152f80008007829..."} 
[2026-09-07 07:13:54] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07987"} 
[2026-09-07 07:13:54] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07987"} 
[2026-09-07 07:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763573312,"raw_latitude":97604344,"longitude_deg":76.3573312,"latitude_deg":9.7604344,"altitude":8,"angle":120,"satellites":41,"speed":21,"hex_longitude":"2d833440","hex_latitude":"05d152f8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918793216001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129177858756050944,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993055112174516224,"note":"Value kept but may cause issues"} 
[2026-09-07 07:13:54] 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-07 07:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788745287000,"timestamp_ms":1788745287000,"timestamp_seconds":1788745287,"priority":1,"record_length":96,"hex_timestamp":"000001a079870558"} 
[2026-09-07 07: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-07 07:13:54] 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-07 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-07 07:13:54] 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-07 07: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-07 07: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-07 07:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:13:54] 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-07 07:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918793216001,"66":13493,"63":206,"85":15104,"24":21,"16":129177858756050944,"45":-8993055112174516224},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918793216001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:13:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129177858756050944,"km_value":129177858756050.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993055112174516224,"description":"Unknown IO ID 45"} 
[2026-09-07 07:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918793216001,"power":13493,"unknown_63":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-8993055112174516224}} 
[2026-09-07 07:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:13:54] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:13:54] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:13:55] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:55] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:13:55] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:14:00] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:00] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:00] local.INFO: IMEI packet received {"connection_id":173109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":173109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:14:02] local.INFO: TCP Data received {"connection_id":173109,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798845a8012d271ac006c3f8e8000c01502c..."} 
[2026-09-07 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798845a8012d271ac006c3f8e8000c01502c..."} 
[2026-09-07 07:14:02] local.INFO: Processing buffer {"connection_id":173109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798845a8012d271ac006c3f8e8000c01502c..."} 
[2026-09-07 07:14:02] local.INFO: Packet analysis {"connection_id":173109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07988"} 
[2026-09-07 07:14:02] local.INFO: Extracted packet for processing {"connection_id":173109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07988"} 
[2026-09-07 07:14:02] local.INFO: GPS Element Parsed {"raw_longitude":757537472,"raw_latitude":113506536,"longitude_deg":75.7537472,"latitude_deg":11.3506536,"altitude":12,"angle":336,"satellites":44,"speed":38,"hex_longitude":"2d271ac0","hex_latitude":"06c3f8e8","is_valid_coordinates":true} 
[2026-09-07 07:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918811904001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400815522112864256,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2822279251788994560,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788745369000,"timestamp_ms":1788745369000,"timestamp_seconds":1788745369,"priority":1,"record_length":96,"hex_timestamp":"000001a0798845a8"} 
[2026-09-07 07:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:14:02] 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-07 07:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:14:02] 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-07 07:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918811904001,"66":27789,"231":206,"81":20992,"24":38,"16":400815522112864256,"45":2822279251788994560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 07:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918811904001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400815522112864256,"km_value":400815522112864.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2822279251788994560,"description":"Unknown IO ID 45"} 
[2026-09-07 07:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918811904001,"power":27789,"unknown_231":206,"unknown_81":20992,"ignition":38,"odometer":null,"unknown_45":2822279251788994560}} 
[2026-09-07 07:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":173109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:14:02] local.INFO: GPS data processed {"connection_id":173109,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:14:02] local.INFO: Acknowledgment sent {"connection_id":173109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:14:25] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798989e0012d8332c005d151e0000300f029..."} 
[2026-09-07 07:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798989e0012d8332c005d151e0000300f029..."} 
[2026-09-07 07:14:25] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798989e0012d8332c005d151e0000300f029..."} 
[2026-09-07 07:14:25] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:14:25] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:14:25] local.INFO: GPS Element Parsed {"raw_longitude":763572928,"raw_latitude":97604064,"longitude_deg":76.3572928,"latitude_deg":9.7604064,"altitude":3,"angle":240,"satellites":41,"speed":6,"hex_longitude":"2d8332c0","hex_latitude":"05d151e0","is_valid_coordinates":true} 
[2026-09-07 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-07 07:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918835456001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129178004784939008,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197903872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:25] 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-07 07:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788745452000,"timestamp_ms":1788745452000,"timestamp_seconds":1788745452,"priority":1,"record_length":96,"hex_timestamp":"000001a0798989e0"} 
[2026-09-07 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-07 07:14:25] 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-07 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 07:14:25] 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-07 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-07 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-07 07:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:14:25] 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-07 07:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918835456001,"66":13689,"221":206,"85":15104,"24":6,"16":129178004784939008,"45":-8992773637197903872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918835456001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:14:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129178004784939008,"km_value":129178004784939.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197903872,"description":"Unknown IO ID 45"} 
[2026-09-07 07:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918835456001,"power":13689,"unknown_221":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-8992773637197903872}} 
[2026-09-07 07:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:14:25] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:14:25] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:14:45] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:45] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:45] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:14:50] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:50] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:14:50] local.INFO: IMEI packet received {"connection_id":175831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":175831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:14:51] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798868d0012d270c0006c41928000c014e2d..."} 
[2026-09-07 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798868d0012d270c0006c41928000c014e2d..."} 
[2026-09-07 07:14:51] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798868d0012d270c0006c41928000c014e2d..."} 
[2026-09-07 07:14:51] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07988"} 
[2026-09-07 07:14:51] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07988"} 
[2026-09-07 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":757533696,"raw_latitude":113514792,"longitude_deg":75.7533696,"latitude_deg":11.3514792,"altitude":12,"angle":334,"satellites":45,"speed":43,"hex_longitude":"2d270c00","hex_latitude":"06c41928","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918814464001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400815960199528448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2817775652163872768,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745378000,"timestamp_ms":1788745378000,"timestamp_seconds":1788745378,"priority":1,"record_length":96,"hex_timestamp":"000001a0798868d0"} 
[2026-09-07 07: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-07 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:14:51] 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-07 07: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-07 07: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-07 07:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:14:51] 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-07 07:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918814464001,"66":27821,"231":206,"81":20992,"24":43,"16":400815960199528448,"45":2817775652163872768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 07:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918814464001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:14:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 07:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400815960199528448,"km_value":400815960199528.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2817775652163872768,"description":"Unknown IO ID 45"} 
[2026-09-07 07:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918814464001,"power":27821,"unknown_231":206,"unknown_81":20992,"ignition":43,"odometer":null,"unknown_45":2817775652163872768}} 
[2026-09-07 07:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:14:51] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:14:51] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:14:52] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:52] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:52] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:14:53] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:53] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:53] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:14:58] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:58] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:14:58] local.INFO: IMEI packet received {"connection_id":174496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":174496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:14:59] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079898dc8012d8331c005d151980003010129..."} 
[2026-09-07 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079898dc8012d8331c005d151980003010129..."} 
[2026-09-07 07:14:59] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079898dc8012d8331c005d151980003010129..."} 
[2026-09-07 07:14:59] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:14:59] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763572672,"raw_latitude":97603992,"longitude_deg":76.3572672,"latitude_deg":9.7603992,"altitude":3,"angle":257,"satellites":41,"speed":10,"hex_longitude":"2d8331c0","hex_latitude":"05d15198","is_valid_coordinates":true} 
[2026-09-07 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918835712001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129178017669840896,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992914374686285824,"note":"Value kept but may cause issues"} 
[2026-09-07 07:14:59] 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-07 07:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788745453000,"timestamp_ms":1788745453000,"timestamp_seconds":1788745453,"priority":1,"record_length":96,"hex_timestamp":"000001a079898dc8"} 
[2026-09-07 07:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 07:14:59] 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-07 07:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:14:59] 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-07 07:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918835712001,"66":13580,"221":206,"85":15104,"24":10,"16":129178017669840896,"45":-8992914374686285824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918835712001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:14:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129178017669840896,"km_value":129178017669840.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992914374686285824,"description":"Unknown IO ID 45"} 
[2026-09-07 07:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918835712001,"power":13580,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8992914374686285824}} 
[2026-09-07 07:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:14:59] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:14:59] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:15:13] local.INFO: TCP Data received {"connection_id":174495,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:15:13] local.INFO: Processing buffer {"connection_id":174495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:15:13] local.INFO: IMEI packet received {"connection_id":174495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":174495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:15:22] local.INFO: TCP Data received {"connection_id":175831,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07989c090012d2604c006c585c00011013f2f..."} 
[2026-09-07 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07989c090012d2604c006c585c00011013f2f..."} 
[2026-09-07 07:15:22] local.INFO: Processing buffer {"connection_id":175831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07989c090012d2604c006c585c00011013f2f..."} 
[2026-09-07 07:15:22] local.INFO: Packet analysis {"connection_id":175831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:15:22] local.INFO: Extracted packet for processing {"connection_id":175831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":757466304,"raw_latitude":113608128,"longitude_deg":75.7466304,"latitude_deg":11.3608128,"altitude":17,"angle":319,"satellites":47,"speed":52,"hex_longitude":"2d2604c0","hex_latitude":"06c585c0","is_valid_coordinates":true} 
[2026-09-07 07:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918837504001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400821547951980544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2746069901871081472,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788745466000,"timestamp_ms":1788745466000,"timestamp_seconds":1788745466,"priority":1,"record_length":96,"hex_timestamp":"000001a07989c090"} 
[2026-09-07 07:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:15: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-07 07:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:15:22] 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-07 07:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918837504001,"66":27789,"85":206,"81":20992,"24":52,"16":400821547951980544,"45":2746069901871081472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-07 07:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918837504001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 07:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400821547951980544,"km_value":400821547951980.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2746069901871081472,"description":"Unknown IO ID 45"} 
[2026-09-07 07:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918837504001,"power":27789,"unknown_85":206,"unknown_81":20992,"ignition":52,"odometer":null,"unknown_45":2746069901871081472}} 
[2026-09-07 07:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":175831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:15:22] local.INFO: GPS data processed {"connection_id":175831,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:15:22] local.INFO: Acknowledgment sent {"connection_id":175831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:15:31] local.INFO: TCP Data received {"connection_id":174496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798991b0012d83310005d15180000301162a..."} 
[2026-09-07 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798991b0012d83310005d15180000301162a..."} 
[2026-09-07 07:15:31] local.INFO: Processing buffer {"connection_id":174496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798991b0012d83310005d15180000301162a..."} 
[2026-09-07 07:15:31] local.INFO: Packet analysis {"connection_id":174496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:15:31] local.INFO: Extracted packet for processing {"connection_id":174496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763572480,"raw_latitude":97603968,"longitude_deg":76.357248,"latitude_deg":9.7603968,"altitude":3,"angle":278,"satellites":42,"speed":10,"hex_longitude":"2d833100","hex_latitude":"05d15180","is_valid_coordinates":true} 
[2026-09-07 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918835968001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129178026259775488,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993195849663014912,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788745454000,"timestamp_ms":1788745454000,"timestamp_seconds":1788745454,"priority":1,"record_length":96,"hex_timestamp":"000001a0798991b0"} 
[2026-09-07 07:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:15:31] 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-07 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631086,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201321477,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435114717,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7072903214785363978,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2301882369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3892391299,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916970133311061,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4004249600,"corrected_to":0} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511947264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3855087677645783046,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,221,85,24,241,157,16,238,160,137,45,192,81,3,41,10,66,133,64,82,4,39,130,128,1,240,88,227,121,209,113,205,225,53,42,239,2,202,5,6,131,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0},{"io_id":202,"original":4004249600,"validated":0}]} 
[2026-09-07 07:15:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216455532696436736,"timestamp_seconds":216455532696436.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:31] 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-07 07:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918835968001,"66":13580,"221":206,"85":15104,"24":10,"16":129178026259775488,"45":-8993195849663014912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918835968001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:15:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129178026259775488,"km_value":129178026259775.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993195849663014912,"description":"Unknown IO ID 45"} 
[2026-09-07 07:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918835968001,"power":13580,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8993195849663014912}} 
[2026-09-07 07:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":174496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:15:31] local.INFO: GPS data processed {"connection_id":174496,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:15:31] local.INFO: Acknowledgment sent {"connection_id":174496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:15:53] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:53] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:53] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:15:54] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:15:54] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:15:54] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:15:55] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 07:15:55] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 07:15:55] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:15:55] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798a9f38012d82978005d18f300006016228..."} 
[2026-09-07 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798a9f38012d82978005d18f300006016228..."} 
[2026-09-07 07:15:55] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a079..."} 
[2026-09-07 07:15:55] local.INFO: IMEI packet received {"connection_id":173111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":173111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:15:56] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:56] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:15:56] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:15:59] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798aca30012d8295c005d1b208000600002a..."} 
[2026-09-07 07:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798aca30012d8295c005d1b208000600002a..."} 
[2026-09-07 07:15:59] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0798a9f38012d82978005d18f300006016228..."} 
[2026-09-07 07:15:59] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:15:59] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97619760,"longitude_deg":76.3533184,"latitude_deg":9.761976,"altitude":6,"angle":354,"satellites":40,"speed":32,"hex_longitude":"2d829780","hex_latitude":"05d18f30","is_valid_coordinates":true} 
[2026-09-07 07:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918850816001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129180495865970688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683516637184,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788745523000,"timestamp_ms":1788745523000,"timestamp_seconds":1788745523,"priority":1,"record_length":96,"hex_timestamp":"000001a0798a9f38"} 
[2026-09-07 07:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918850816001,"66":13493,"221":206,"85":15104,"24":32,"16":129180495865970688,"45":-9037246683516637184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918850816001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129180495865970688,"km_value":129180495865970.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683516637184,"description":"Unknown IO ID 45"} 
[2026-09-07 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918850816001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9037246683516637184}} 
[2026-09-07 07:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:15:59] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:15:59] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:15:59] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:15:59] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97628680,"longitude_deg":76.3532736,"latitude_deg":9.762868,"altitude":6,"angle":0,"satellites":42,"speed":31,"hex_longitude":"2d8295c0","hex_latitude":"05d1b208","is_valid_coordinates":true} 
[2026-09-07 07:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918853888001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129180929657667584,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036613364816596992,"note":"Value kept but may cause issues"} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788745534000,"timestamp_ms":1788745534000,"timestamp_seconds":1788745534,"priority":1,"record_length":96,"hex_timestamp":"000001a0798aca30"} 
[2026-09-07 07:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:15:59] 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-07 07:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918853888001,"66":13798,"221":206,"85":15104,"24":31,"16":129180929657667584,"45":-9036613364816596992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918853888001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129180929657667584,"km_value":129180929657667.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036613364816596992,"description":"Unknown IO ID 45"} 
[2026-09-07 07:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918853888001,"power":13798,"unknown_221":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9036613364816596992}} 
[2026-09-07 07:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:15:59] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:15:59] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:16:00] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:00] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:00] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:16:01] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07989dbe8012d25ec8006c5a228000f01402c..."} 
[2026-09-07 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07989dbe8012d25ec8006c5a228000f01402c..."} 
[2026-09-07 07:16:01] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07989dbe8012d25ec8006c5a228000f01402c..."} 
[2026-09-07 07:16:01] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:16:01] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07989"} 
[2026-09-07 07:16:01] local.INFO: GPS Element Parsed {"raw_longitude":757460096,"raw_latitude":113615400,"longitude_deg":75.7460096,"latitude_deg":11.36154,"altitude":15,"angle":320,"satellites":44,"speed":55,"hex_longitude":"2d25ec80","hex_latitude":"06c5a228","is_valid_coordinates":true} 
[2026-09-07 07:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918839296001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400822007513481216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2739525608664317952,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788745473000,"timestamp_ms":1788745473000,"timestamp_seconds":1788745473,"priority":1,"record_length":96,"hex_timestamp":"000001a07989dbe8"} 
[2026-09-07 07:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:16:01] 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-07 07:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:16:01] 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-07 07:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918839296001,"66":27800,"85":206,"81":20992,"24":55,"16":400822007513481216,"45":2739525608664317952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-09-07 07:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918839296001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 07:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400822007513481216,"km_value":400822007513481.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2739525608664317952,"description":"Unknown IO ID 45"} 
[2026-09-07 07:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918839296001,"power":27800,"unknown_85":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":2739525608664317952}} 
[2026-09-07 07:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:16:01] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:16:01] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:16:04] local.INFO: TCP Data received {"connection_id":173111,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798af910012d82974005d1d6800005016128..."} 
[2026-09-07 07:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798af910012d82974005d1d6800005016128..."} 
[2026-09-07 07:16:04] local.INFO: Processing buffer {"connection_id":173111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798af910012d82974005d1d6800005016128..."} 
[2026-09-07 07:16:04] local.INFO: Packet analysis {"connection_id":173111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:16:04] local.INFO: Extracted packet for processing {"connection_id":173111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798a"} 
[2026-09-07 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97638016,"longitude_deg":76.353312,"latitude_deg":9.7638016,"altitude":5,"angle":353,"satellites":40,"speed":17,"hex_longitude":"2d829740","hex_latitude":"05d1d680","is_valid_coordinates":true} 
[2026-09-07 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918856704001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129181380629233664,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946023557120,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788745546000,"timestamp_ms":1788745546000,"timestamp_seconds":1788745546,"priority":1,"record_length":96,"hex_timestamp":"000001a0798af910"} 
[2026-09-07 07:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:16: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-07 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:16:04] 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-07 07:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:16:04] 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-07 07:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918856704001,"66":13493,"221":206,"85":15104,"24":17,"16":129181380629233664,"45":-9037105946023557120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-09-07 07:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918856704001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:16:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 07:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129181380629233664,"km_value":129181380629233.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946023557120,"description":"Unknown IO ID 45"} 
[2026-09-07 07:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918856704001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9037105946023557120}} 
[2026-09-07 07:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":173111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:16:04] local.INFO: GPS data processed {"connection_id":173111,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:16:04] local.INFO: Acknowledgment sent {"connection_id":173111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:16:45] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:45] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:45] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:16:46] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:46] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:46] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:16:47] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:47] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:47] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:16:48] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:48] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:48] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:16:50] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:50] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:16:50] local.INFO: IMEI packet received {"connection_id":174497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":174497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:16:52] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b0c98012d25144006c708280012014b2d..."} 
[2026-09-07 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b0c98012d25144006c708280012014b2d..."} 
[2026-09-07 07:16:52] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b0c98012d25144006c708280012014b2d..."} 
[2026-09-07 07:16:52] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:16:52] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":757404736,"raw_latitude":113707048,"longitude_deg":75.7404736,"latitude_deg":11.3707048,"altitude":18,"angle":331,"satellites":45,"speed":45,"hex_longitude":"2d251440","hex_latitude":"06c70828","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918859008001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400827182949072896,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2676756688881045504,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788745551000,"timestamp_ms":1788745551000,"timestamp_seconds":1788745551,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b0c98"} 
[2026-09-07 07: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-07 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:16:52] 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-07 07:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918859008001,"66":27832,"78":206,"81":22528,"24":45,"16":400827182949072896,"45":2676756688881045504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 07:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918859008001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:16:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 07:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400827182949072896,"km_value":400827182949072.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2676756688881045504,"description":"Unknown IO ID 45"} 
[2026-09-07 07:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918859008001,"power":27832,"unknown_78":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2676756688881045504}} 
[2026-09-07 07:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:16:52] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:16:52] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:16:52] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:52] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:16:52] local.INFO: IMEI packet received {"connection_id":174498,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":174498,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:16:53] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b4730012d8296c005d1d8b00005016028..."} 
[2026-09-07 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b4730012d8296c005d1d8b00005016028..."} 
[2026-09-07 07:16:53] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b4730012d8296c005d1d8b00005016028..."} 
[2026-09-07 07:16:53] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:16:53] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97638576,"longitude_deg":76.3532992,"latitude_deg":9.7638576,"altitude":5,"angle":352,"satellites":40,"speed":0,"hex_longitude":"2d8296c0","hex_latitude":"05d1d8b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918859776001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129181410694004736,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733556101120,"note":"Value kept but may cause issues"} 
[2026-09-07 07:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788745566000,"timestamp_ms":1788745566000,"timestamp_seconds":1788745566,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b4730"} 
[2026-09-07 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:16:53] 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-07 07:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 07:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:16:53] 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-07 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918859776001,"66":12765,"69":206,"85":15104,"24":0,"16":129181410694004736,"45":-9036683733556101120},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-07 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918859776001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:16:53] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-07 07:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129181410694004736,"km_value":129181410694004.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733556101120,"description":"Unknown IO ID 45"} 
[2026-09-07 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918859776001,"power":12765,"unknown_69":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036683733556101120}} 
[2026-09-07 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:16:53] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:16:53] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:17:23] local.INFO: TCP Data received {"connection_id":174497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b2fc0012d2501c006c72a90001401512e..."} 
[2026-09-07 07:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b2fc0012d2501c006c72a90001401512e..."} 
[2026-09-07 07:17:23] local.INFO: Processing buffer {"connection_id":174497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b2fc0012d2501c006c72a90001401512e..."} 
[2026-09-07 07:17:23] local.INFO: Packet analysis {"connection_id":174497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:23] local.INFO: Extracted packet for processing {"connection_id":174497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:23] local.INFO: GPS Element Parsed {"raw_longitude":757400000,"raw_latitude":113715856,"longitude_deg":75.74,"latitude_deg":11.3715856,"altitude":20,"angle":337,"satellites":46,"speed":43,"hex_longitude":"2d2501c0","hex_latitude":"06c72a90","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918861056001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400827663985410048,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2671830876790728704,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788745560000,"timestamp_ms":1788745560000,"timestamp_seconds":1788745560,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b2fc0"} 
[2026-09-07 07: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-07 07:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 07:17:23] 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-07 07: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-07 07: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-07 07:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:17:23] 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-07 07:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918861056001,"66":27713,"78":206,"81":22528,"24":43,"16":400827663985410048,"45":2671830876790728704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 07:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918861056001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:17:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 07:17:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400827663985410048,"km_value":400827663985410.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2671830876790728704,"description":"Unknown IO ID 45"} 
[2026-09-07 07:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918861056001,"power":27713,"unknown_78":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2671830876790728704}} 
[2026-09-07 07:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":174497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:17:23] local.INFO: GPS data processed {"connection_id":174497,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:17:23] local.INFO: Acknowledgment sent {"connection_id":174497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:17:24] local.INFO: TCP Data received {"connection_id":174498,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b4b18012d82974005d1d9700006000428..."} 
[2026-09-07 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b4b18012d82974005d1d9700006000428..."} 
[2026-09-07 07:17:24] local.INFO: Processing buffer {"connection_id":174498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b4b18012d82974005d1d9700006000428..."} 
[2026-09-07 07:17:24] local.INFO: Packet analysis {"connection_id":174498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:24] local.INFO: Extracted packet for processing {"connection_id":174498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97638768,"longitude_deg":76.353312,"latitude_deg":9.7638768,"altitude":6,"angle":4,"satellites":40,"speed":7,"hex_longitude":"2d829740","hex_latitude":"05d1d970","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918864896001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129181423578906624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471044313088,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788745567000,"timestamp_ms":1788745567000,"timestamp_seconds":1788745567,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b4b18"} 
[2026-09-07 07: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-07 07:17: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-07 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 07:17:24] 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-07 07: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-07 07: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-07 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174498,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:17:24] 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-07 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918864896001,"66":13091,"69":206,"85":15104,"24":7,"16":129181423578906624,"45":-9036824471044313088},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-07 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918864896001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:17:24] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-07 07:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129181423578906624,"km_value":129181423578906.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471044313088,"description":"Unknown IO ID 45"} 
[2026-09-07 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918864896001,"power":13091,"unknown_69":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036824471044313088}} 
[2026-09-07 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":174498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:17:24] local.INFO: GPS data processed {"connection_id":174498,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:17:24] local.INFO: Acknowledgment sent {"connection_id":174498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:17:45] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:45] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:45] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:17:48] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:48] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:48] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:17:51] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:51] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:17:51] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:17:52] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b4f00012d24f60006c74c880014015b2d..."} 
[2026-09-07 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b4f00012d24f60006c74c880014015b2d..."} 
[2026-09-07 07:17:52] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b4f00012d24f60006c74c880014015b2d..."} 
[2026-09-07 07:17:52] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:52] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:52] local.INFO: GPS Element Parsed {"raw_longitude":757396992,"raw_latitude":113724552,"longitude_deg":75.7396992,"latitude_deg":11.3724552,"altitude":20,"angle":347,"satellites":45,"speed":47,"hex_longitude":"2d24f600","hex_latitude":"06c74c88","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918863360001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400828110662008832,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2666623589723836416,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788745568000,"timestamp_ms":1788745568000,"timestamp_seconds":1788745568,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b4f00"} 
[2026-09-07 07: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-07 07:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 07:17:52] 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-07 07: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-07 07: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-07 07:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:17:52] 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-07 07:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918863360001,"66":27104,"78":206,"81":22528,"24":47,"16":400828110662008832,"45":2666623589723836416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 07:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918863360001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:17:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 07:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400828110662008832,"km_value":400828110662008.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2666623589723836416,"description":"Unknown IO ID 45"} 
[2026-09-07 07:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918863360001,"power":27104,"unknown_78":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2666623589723836416}} 
[2026-09-07 07:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:17:52] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:17:52] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:17:53] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:53] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:17:53] local.INFO: IMEI packet received {"connection_id":174499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":174499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:17:54] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798b8998012d82964005d1fd58000700012a..."} 
[2026-09-07 07:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798b8998012d82964005d1fd58000700012a..."} 
[2026-09-07 07:17:54] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798b8998012d82964005d1fd58000700012a..."} 
[2026-09-07 07:17:54] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:54] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":97647960,"longitude_deg":76.3532864,"latitude_deg":9.764796,"altitude":7,"angle":1,"satellites":42,"speed":28,"hex_longitude":"2d829640","hex_latitude":"05d1fd58","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918865152001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129181870255505408,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036683733555908608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788745583000,"timestamp_ms":1788745583000,"timestamp_seconds":1788745583,"priority":1,"record_length":96,"hex_timestamp":"000001a0798b8998"} 
[2026-09-07 07: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-07 07:17:54] 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-07 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 07:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:17:54] 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-07 07:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918865152001,"66":13559,"69":206,"85":15104,"24":28,"16":129181870255505408,"45":-9036683733555908608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-07 07:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918865152001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:17:54] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-07 07:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129181870255505408,"km_value":129181870255505.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036683733555908608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918865152001,"power":13559,"unknown_69":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9036683733555908608}} 
[2026-09-07 07:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:17:54] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:17:54] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:18:24] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798caaa8012d245f8006c8f260001401402e..."} 
[2026-09-07 07:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798caaa8012d245f8006c8f260001401402e..."} 
[2026-09-07 07:18:24] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798caaa8012d245f8006c8f260001401402e..."} 
[2026-09-07 07:18:24] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:18:24] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":757358464,"raw_latitude":113832544,"longitude_deg":75.7358464,"latitude_deg":11.3832544,"altitude":20,"angle":320,"satellites":46,"speed":45,"hex_longitude":"2d245f80","hex_latitude":"06c8f260","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918886144001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400833758544003072,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2627920780454242304,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788745657000,"timestamp_ms":1788745657000,"timestamp_seconds":1788745657,"priority":1,"record_length":96,"hex_timestamp":"000001a0798caaa8"} 
[2026-09-07 07: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-07 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:18:24] 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-07 07:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918886144001,"66":27745,"46":206,"81":22528,"24":45,"16":400833758544003072,"45":2627920780454242304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 07:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918886144001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:18:24] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 07:18:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400833758544003072,"km_value":400833758544003.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2627920780454242304,"description":"Unknown IO ID 45"} 
[2026-09-07 07:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918886144001,"power":27745,"unknown_46":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2627920780454242304}} 
[2026-09-07 07:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:18:24] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:18:24] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:18:26] local.INFO: TCP Data received {"connection_id":174499,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798bb878012d82960005d22038000801662a..."} 
[2026-09-07 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798bb878012d82960005d22038000801662a..."} 
[2026-09-07 07:18:26] local.INFO: Processing buffer {"connection_id":174499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798bb878012d82960005d22038000801662a..."} 
[2026-09-07 07:18:26] local.INFO: Packet analysis {"connection_id":174499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:18:26] local.INFO: Extracted packet for processing {"connection_id":174499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798b"} 
[2026-09-07 07:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763532800,"raw_latitude":97656888,"longitude_deg":76.35328,"latitude_deg":9.7656888,"altitude":8,"angle":358,"satellites":42,"speed":30,"hex_longitude":"2d829600","hex_latitude":"05d22038","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918869248001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129182299752235008,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208530266112,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:26] 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-07 07:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788745595000,"timestamp_ms":1788745595000,"timestamp_seconds":1788745595,"priority":1,"record_length":96,"hex_timestamp":"000001a0798bb878"} 
[2026-09-07 07: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-07 07:18:26] 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-07 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:18: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-07 07:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918869248001,"66":13646,"63":206,"85":15104,"24":30,"16":129182299752235008,"45":-9036965208530266112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-09-07 07:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918869248001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:18:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 07:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129182299752235008,"km_value":129182299752235.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208530266112,"description":"Unknown IO ID 45"} 
[2026-09-07 07:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918869248001,"power":13646,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9036965208530266112}} 
[2026-09-07 07:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":174499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:18:26] local.INFO: GPS data processed {"connection_id":174499,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:18:26] local.INFO: Acknowledgment sent {"connection_id":174499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:18:45] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:45] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:45] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:18:48] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:48] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:48] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:18:50] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:50] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:18:50] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:18:51] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:18:51] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:18:51] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:18:51] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:18:51] local.INFO: GPS Element Parsed {"raw_longitude":757353152,"raw_latitude":113840360,"longitude_deg":75.7353152,"latitude_deg":11.384036,"altitude":20,"angle":332,"satellites":45,"speed":49,"hex_longitude":"2d244ac0","hex_latitude":"06c910e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918888192001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400834213810536448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2620954274782404608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788745665000,"timestamp_ms":1788745665000,"timestamp_seconds":1788745665,"priority":1,"record_length":96,"hex_timestamp":"000001a0798cc9e8"} 
[2026-09-07 07: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-07 07:18: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-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:18:51] 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-07 07: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-07 07: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-07 07:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:18:51] 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-07 07:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918888192001,"66":27800,"46":206,"81":22528,"24":49,"16":400834213810536448,"45":2620954274782404608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 07:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918888192001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:18:51] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 07:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400834213810536448,"km_value":400834213810536.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2620954274782404608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918888192001,"power":27800,"unknown_46":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2620954274782404608}} 
[2026-09-07 07:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:18:51] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:18:51] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:18:54] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:54] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:18:54] local.INFO: IMEI packet received {"connection_id":173112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:18:56] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798d5688012d82818005d349100008015828..."} 
[2026-09-07 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798d5688012d82818005d349100008015828..."} 
[2026-09-07 07:18:56] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798d5688012d82818005d349100008015828..."} 
[2026-09-07 07:18:56] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:18:56] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763527552,"raw_latitude":97732880,"longitude_deg":76.3527552,"latitude_deg":9.773288,"altitude":8,"angle":344,"satellites":40,"speed":7,"hex_longitude":"2d828180","hex_latitude":"05d34910","is_valid_coordinates":true} 
[2026-09-07 07:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918898688001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129186010603978752,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042735445531219968,"note":"Value kept but may cause issues"} 
[2026-09-07 07:18:56] 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-07 07:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788745701000,"timestamp_ms":1788745701000,"timestamp_seconds":1788745701,"priority":1,"record_length":96,"hex_timestamp":"000001a0798d5688"} 
[2026-09-07 07:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:18: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-07 07:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 07:18: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-07 07:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:18:56] 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-07 07:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918898688001,"66":13515,"68":206,"85":15104,"24":7,"16":129186010603978752,"45":-9042735445531219968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918898688001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:18:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129186010603978752,"km_value":129186010603978.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042735445531219968,"description":"Unknown IO ID 45"} 
[2026-09-07 07:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918898688001,"power":13515,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9042735445531219968}} 
[2026-09-07 07:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:18:56] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:18:56] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:19:23] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:19:23] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798cc9e8012d244ac006c910e80014014c2d..."} 
[2026-09-07 07:19:23] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:19:23] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798c"} 
[2026-09-07 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":757353152,"raw_latitude":113840360,"longitude_deg":75.7353152,"latitude_deg":11.384036,"altitude":20,"angle":332,"satellites":45,"speed":49,"hex_longitude":"2d244ac0","hex_latitude":"06c910e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918890240001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400834213810536448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2615113669017659392,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788745665000,"timestamp_ms":1788745665000,"timestamp_seconds":1788745665,"priority":1,"record_length":96,"hex_timestamp":"000001a0798cc9e8"} 
[2026-09-07 07: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-07 07:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:19: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-07 07: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-07 07: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-07 07:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:23] 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-07 07:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918890240001,"66":27800,"46":206,"81":22528,"24":49,"16":400834213810536448,"45":2615113669017659392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 07:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918890240001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:19:23] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 07:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400834213810536448,"km_value":400834213810536.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2615113669017659392,"description":"Unknown IO ID 45"} 
[2026-09-07 07:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918890240001,"power":27800,"unknown_46":206,"unknown_81":22528,"ignition":49,"odometer":null,"unknown_45":2615113669017659392}} 
[2026-09-07 07:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:19:23] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:19:23] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:19:27] local.INFO: TCP Data received {"connection_id":173112,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0798d71e0012d827f0005d34b300008011129..."} 
[2026-09-07 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798d71e0012d827f0005d34b300008011129..."} 
[2026-09-07 07:19:27] local.INFO: Processing buffer {"connection_id":173112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798d71e0012d827f0005d34b300008011129..."} 
[2026-09-07 07:19:27] local.INFO: Packet analysis {"connection_id":173112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:27] local.INFO: Extracted packet for processing {"connection_id":173112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":97733424,"longitude_deg":76.3526912,"latitude_deg":9.7733424,"altitude":8,"angle":273,"satellites":41,"speed":8,"hex_longitude":"2d827f00","hex_latitude":"05d34b30","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918899456001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129186053553651712,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042805814275272704,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:27] 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-07 07:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788745708000,"timestamp_ms":1788745708000,"timestamp_seconds":1788745708,"priority":1,"record_length":96,"hex_timestamp":"000001a0798d71e0"} 
[2026-09-07 07: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-07 07:19: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-07 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 07:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:19:27] 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-07 07:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918899456001,"66":13602,"68":206,"85":15104,"24":8,"16":129186053553651712,"45":-9042805814275272704},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-09-07 07:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918899456001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:19:27] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 07:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129186053553651712,"km_value":129186053553651.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042805814275272704,"description":"Unknown IO ID 45"} 
[2026-09-07 07:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918899456001,"power":13602,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9042805814275272704}} 
[2026-09-07 07:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":173112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:19:27] local.INFO: GPS data processed {"connection_id":173112,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:19:27] local.INFO: Acknowledgment sent {"connection_id":173112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:19:46] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:46] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:46] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:19:48] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:19:48] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:48] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:19:49] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:49] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:49] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:19:50] local.INFO: TCP Data received {"connection_id":175833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:50] local.INFO: Processing buffer {"connection_id":175833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:19:50] local.INFO: IMEI packet received {"connection_id":175833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":175833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:19:50] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:50] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:50] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:19:51] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:51] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:19:51] local.INFO: IMEI packet received {"connection_id":174500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":174500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:19:52] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798dcfa0012d23918006ca2dd0000c011725..."} 
[2026-09-07 07:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798dcfa0012d23918006ca2dd0000c011725..."} 
[2026-09-07 07:19:52] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798dcfa0012d23918006ca2dd0000c011725..."} 
[2026-09-07 07:19:52] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:52] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":757305728,"raw_latitude":113913296,"longitude_deg":75.7305728,"latitude_deg":11.3913296,"altitude":12,"angle":279,"satellites":37,"speed":58,"hex_longitude":"2d239180","hex_latitude":"06ca2dd0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918905600001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400838766475870208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2574299797412792320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788745732000,"timestamp_ms":1788745732000,"timestamp_seconds":1788745732,"priority":1,"record_length":96,"hex_timestamp":"000001a0798dcfa0"} 
[2026-09-07 07: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-07 07:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:52] 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-07 07:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918905600001,"66":27767,"241":206,"81":22528,"24":58,"16":400838766475870208,"45":2574299797412792320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-07 07:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918905600001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:19:52] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 07:19:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400838766475870208,"km_value":400838766475870.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2574299797412792320,"description":"Unknown IO ID 45"} 
[2026-09-07 07:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918905600001,"power":27767,"unknown_241":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2574299797412792320}} 
[2026-09-07 07:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:19:52] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:19:52] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:19:56] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798deaf8012d23694006ca34e8000d011d2b..."} 
[2026-09-07 07:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798deaf8012d23694006ca34e8000d011d2b..."} 
[2026-09-07 07:19:56] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798deaf8012d23694006ca34e8000d011d2b..."} 
[2026-09-07 07:19:56] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:56] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:19:56] local.INFO: GPS Element Parsed {"raw_longitude":757295424,"raw_latitude":113915112,"longitude_deg":75.7295424,"latitude_deg":11.3915112,"altitude":13,"angle":285,"satellites":43,"speed":56,"hex_longitude":"2d236940","hex_latitude":"06ca34e8","is_valid_coordinates":true} 
[2026-09-07 07:19: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-07 07:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918907392001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400839264692076544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2562970429600681984,"note":"Value kept but may cause issues"} 
[2026-09-07 07:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788745739000,"timestamp_ms":1788745739000,"timestamp_seconds":1788745739,"priority":1,"record_length":96,"hex_timestamp":"000001a0798deaf8"} 
[2026-09-07 07:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:19: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-07 07:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:19:56] 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-07 07:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918907392001,"66":27821,"241":206,"81":22528,"24":56,"16":400839264692076544,"45":2562970429600681984},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-07 07:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918907392001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:19:56] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 07:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400839264692076544,"km_value":400839264692076.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2562970429600681984,"description":"Unknown IO ID 45"} 
[2026-09-07 07:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918907392001,"power":27821,"unknown_241":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2562970429600681984}} 
[2026-09-07 07:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:19:56] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:19:56] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:20:27] local.INFO: TCP Data received {"connection_id":174500,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798dfa98012d2354c006ca3d40000d012a2a..."} 
[2026-09-07 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798dfa98012d2354c006ca3d40000d012a2a..."} 
[2026-09-07 07:20:27] local.INFO: Processing buffer {"connection_id":174500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798dfa98012d2354c006ca3d40000d012a2a..."} 
[2026-09-07 07:20:27] local.INFO: Packet analysis {"connection_id":174500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:20:27] local.INFO: Extracted packet for processing {"connection_id":174500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798d"} 
[2026-09-07 07:20:27] local.INFO: GPS Element Parsed {"raw_longitude":757290176,"raw_latitude":113917248,"longitude_deg":75.7290176,"latitude_deg":11.3917248,"altitude":13,"angle":298,"satellites":42,"speed":55,"hex_longitude":"2d2354c0","hex_latitude":"06ca3d40","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918909184001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400839535275016192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2551641061788542976,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788745743000,"timestamp_ms":1788745743000,"timestamp_seconds":1788745743,"priority":1,"record_length":96,"hex_timestamp":"000001a0798dfa98"} 
[2026-09-07 07: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-07 07:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:20:27] 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-07 07: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-07 07: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-07 07:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20:27] 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-07 07:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918909184001,"66":27800,"241":206,"81":22528,"24":55,"16":400839535275016192,"45":2551641061788542976},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-07 07:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918909184001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:20:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 07:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400839535275016192,"km_value":400839535275016.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2551641061788542976,"description":"Unknown IO ID 45"} 
[2026-09-07 07:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918909184001,"power":27800,"unknown_241":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2551641061788542976}} 
[2026-09-07 07:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":174500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:20:27] local.INFO: GPS data processed {"connection_id":174500,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:20:27] local.INFO: Acknowledgment sent {"connection_id":174500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:20:45] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:45] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:45] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:20:47] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:47] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:20:47] local.INFO: IMEI packet received {"connection_id":174501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":174501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:20:48] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:20:48] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:20:48] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:20:48] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798e0e20012d233e8006ca4cc0000d013724..."} 
[2026-09-07 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798e0e20012d233e8006ca4cc0000d013724..."} 
[2026-09-07 07:20:48] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798e0e20012d233e8006ca4cc0000d013724..."} 
[2026-09-07 07:20:48] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798e"} 
[2026-09-07 07:20:48] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798e"} 
[2026-09-07 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":757284480,"raw_latitude":113921216,"longitude_deg":75.728448,"latitude_deg":11.3921216,"altitude":13,"angle":311,"satellites":36,"speed":54,"hex_longitude":"2d233e80","hex_latitude":"06ca4cc0","is_valid_coordinates":true} 
[2026-09-07 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-07 07:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918910208001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400839870282465280,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2545870824766521344,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788745748000,"timestamp_ms":1788745748000,"timestamp_seconds":1788745748,"priority":1,"record_length":96,"hex_timestamp":"000001a0798e0e20"} 
[2026-09-07 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-07 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20: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-07 07:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918910208001,"66":27267,"241":206,"81":22528,"24":54,"16":400839870282465280,"45":2545870824766521344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-07 07:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918910208001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:20:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 07:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400839870282465280,"km_value":400839870282465.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2545870824766521344,"description":"Unknown IO ID 45"} 
[2026-09-07 07:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918910208001,"power":27267,"unknown_241":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2545870824766521344}} 
[2026-09-07 07:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:20:48] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:20:48] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:20:50] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798e21a8012d232c4006ca6028000d014328..."} 
[2026-09-07 07:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798e21a8012d232c4006ca6028000d014328..."} 
[2026-09-07 07:20:50] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798e21a8012d232c4006ca6028000d014328..."} 
[2026-09-07 07:20:50] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798e"} 
[2026-09-07 07:20:50] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798e"} 
[2026-09-07 07:20:50] local.INFO: GPS Element Parsed {"raw_longitude":757279808,"raw_latitude":113926184,"longitude_deg":75.7279808,"latitude_deg":11.3926184,"altitude":13,"angle":323,"satellites":40,"speed":53,"hex_longitude":"2d232c40","hex_latitude":"06ca6028","is_valid_coordinates":true} 
[2026-09-07 07:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918911488001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400840196699979776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2539608006535725056,"note":"Value kept but may cause issues"} 
[2026-09-07 07:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788745753000,"timestamp_ms":1788745753000,"timestamp_seconds":1788745753,"priority":1,"record_length":96,"hex_timestamp":"000001a0798e21a8"} 
[2026-09-07 07:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 07:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918911488001,"66":27800,"241":206,"81":22528,"24":53,"16":400840196699979776,"45":2539608006535725056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,81,24,16,45]} 
[2026-09-07 07:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918911488001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:20:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 07:20:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400840196699979776,"km_value":400840196699979.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2539608006535725056,"description":"Unknown IO ID 45"} 
[2026-09-07 07:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918911488001,"power":27800,"unknown_241":206,"unknown_81":22528,"ignition":53,"odometer":null,"unknown_45":2539608006535725056}} 
[2026-09-07 07:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:20:50] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:20:50] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:21:21] local.INFO: TCP Data received {"connection_id":174501,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798f5e10012d223fc006cbd008000a01382b..."} 
[2026-09-07 07:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798f5e10012d223fc006cbd008000a01382b..."} 
[2026-09-07 07:21:21] local.INFO: Processing buffer {"connection_id":174501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798f5e10012d223fc006cbd008000a01382b..."} 
[2026-09-07 07:21:21] local.INFO: Packet analysis {"connection_id":174501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:21:21] local.INFO: Extracted packet for processing {"connection_id":174501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":757219264,"raw_latitude":114020360,"longitude_deg":75.7219264,"latitude_deg":11.402036,"altitude":10,"angle":312,"satellites":43,"speed":56,"hex_longitude":"2d223fc0","hex_latitude":"06cbd008","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918931712001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400845715732955136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2476768718008868864,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788745834000,"timestamp_ms":1788745834000,"timestamp_seconds":1788745834,"priority":1,"record_length":96,"hex_timestamp":"000001a0798f5e10"} 
[2026-09-07 07: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-07 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:21: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-07 07:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918931712001,"66":27767,"232":206,"81":22528,"24":56,"16":400845715732955136,"45":2476768718008868864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 07:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918931712001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:21:21] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 07:21:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400845715732955136,"km_value":400845715732955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2476768718008868864,"description":"Unknown IO ID 45"} 
[2026-09-07 07:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918931712001,"power":27767,"unknown_232":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2476768718008868864}} 
[2026-09-07 07:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:21:21] local.INFO: GPS data processed {"connection_id":174501,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:21:21] local.INFO: Acknowledgment sent {"connection_id":174501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:21:45] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:45] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:45] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:21:47] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:47] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:21:47] local.INFO: IMEI packet received {"connection_id":174502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":174502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:21:49] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:21:49] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:21:49] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:21:49] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:21:49] local.INFO: GPS Element Parsed {"raw_longitude":757212736,"raw_latitude":114027960,"longitude_deg":75.7212736,"latitude_deg":11.402796,"altitude":11,"angle":325,"satellites":45,"speed":56,"hex_longitude":"2d222640","hex_latitude":"06cbedb8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918933504001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400846196769292288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2467902256244066304,"note":"Value kept but may cause issues"} 
[2026-09-07 07:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788745841000,"timestamp_ms":1788745841000,"timestamp_seconds":1788745841,"priority":1,"record_length":96,"hex_timestamp":"000001a0798f7968"} 
[2026-09-07 07: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-07 07:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:21: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-07 07:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918933504001,"66":27800,"232":206,"81":22528,"24":56,"16":400846196769292288,"45":2467902256244066304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 07:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918933504001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:21:49] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 07:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400846196769292288,"km_value":400846196769292.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2467902256244066304,"description":"Unknown IO ID 45"} 
[2026-09-07 07:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918933504001,"power":27800,"unknown_232":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2467902256244066304}} 
[2026-09-07 07:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:21:49] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:21:49] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:22:21] local.INFO: TCP Data received {"connection_id":174502,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:22:21] local.INFO: Processing buffer {"connection_id":174502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0798f7968012d22264006cbedb8000b01452d..."} 
[2026-09-07 07:22:21] local.INFO: Packet analysis {"connection_id":174502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:22:21] local.INFO: Extracted packet for processing {"connection_id":174502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0798f"} 
[2026-09-07 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":757212736,"raw_latitude":114027960,"longitude_deg":75.7212736,"latitude_deg":11.402796,"altitude":11,"angle":325,"satellites":45,"speed":56,"hex_longitude":"2d222640","hex_latitude":"06cbedb8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918935296001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400846196769292288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460724644339890176,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788745841000,"timestamp_ms":1788745841000,"timestamp_seconds":1788745841,"priority":1,"record_length":96,"hex_timestamp":"000001a0798f7968"} 
[2026-09-07 07: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-07 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:22: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-07 07:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918935296001,"66":27800,"232":206,"81":22528,"24":56,"16":400846196769292288,"45":2460724644339890176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 07:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918935296001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:22:21] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 07:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400846196769292288,"km_value":400846196769292.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460724644339890176,"description":"Unknown IO ID 45"} 
[2026-09-07 07:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918935296001,"power":27800,"unknown_232":206,"unknown_81":22528,"ignition":56,"odometer":null,"unknown_45":2460724644339890176}} 
[2026-09-07 07:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":174502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:22:21] local.INFO: GPS data processed {"connection_id":174502,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:22:21] local.INFO: Acknowledgment sent {"connection_id":174502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:22:45] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:45] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:45] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:22:50] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:50] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:22:50] local.INFO: IMEI packet received {"connection_id":175835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":175835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:22:50] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799092a8012d218c4006cd45a8000901482f..."} 
[2026-09-07 07:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799092a8012d218c4006cd45a8000901482f..."} 
[2026-09-07 07:22:50] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799092a8012d218c4006cd45a8000901482f..."} 
[2026-09-07 07:22:50] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:22:50] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:22:50] local.INFO: GPS Element Parsed {"raw_longitude":757173312,"raw_latitude":114116008,"longitude_deg":75.7173312,"latitude_deg":11.4116008,"altitude":9,"angle":328,"satellites":47,"speed":51,"hex_longitude":"2d218c40","hex_latitude":"06cd45a8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918951680001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400850899758481408,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2422725522504265728,"note":"Value kept but may cause issues"} 
[2026-09-07 07:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788745913000,"timestamp_ms":1788745913000,"timestamp_seconds":1788745913,"priority":1,"record_length":96,"hex_timestamp":"000001a0799092a8"} 
[2026-09-07 07: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-07 07:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:22: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-07 07: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-07 07: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-07 07:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918951680001,"66":27767,"169":206,"81":22528,"24":51,"16":400850899758481408,"45":2422725522504265728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 07:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918951680001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:22:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 07:22:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400850899758481408,"km_value":400850899758481.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2422725522504265728,"description":"Unknown IO ID 45"} 
[2026-09-07 07:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918951680001,"power":27767,"unknown_169":206,"unknown_81":22528,"ignition":51,"odometer":null,"unknown_45":2422725522504265728}} 
[2026-09-07 07:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:22:50] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:22:50] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:23:21] local.INFO: TCP Data received {"connection_id":175835,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07990b1e8012d21780006cd63a0000a01432e..."} 
[2026-09-07 07:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07990b1e8012d21780006cd63a0000a01432e..."} 
[2026-09-07 07:23:21] local.INFO: Processing buffer {"connection_id":175835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07990b1e8012d21780006cd63a0000a01432e..."} 
[2026-09-07 07:23:21] local.INFO: Packet analysis {"connection_id":175835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:23:21] local.INFO: Extracted packet for processing {"connection_id":175835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:23:21] local.INFO: GPS Element Parsed {"raw_longitude":757168128,"raw_latitude":114123680,"longitude_deg":75.7168128,"latitude_deg":11.412368,"altitude":10,"angle":323,"satellites":46,"speed":35,"hex_longitude":"2d217800","hex_latitude":"06cd63a0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918953728001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400851346435080192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2417377497948989440,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788745921000,"timestamp_ms":1788745921000,"timestamp_seconds":1788745921,"priority":1,"record_length":96,"hex_timestamp":"000001a07990b1e8"} 
[2026-09-07 07: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-07 07:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:23: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-07 07:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918953728001,"66":26658,"169":206,"81":22528,"24":35,"16":400851346435080192,"45":2417377497948989440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 07:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918953728001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:23:21] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 07:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400851346435080192,"km_value":400851346435080.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2417377497948989440,"description":"Unknown IO ID 45"} 
[2026-09-07 07:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918953728001,"power":26658,"unknown_169":206,"unknown_81":22528,"ignition":35,"odometer":null,"unknown_45":2417377497948989440}} 
[2026-09-07 07:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":175835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:23:21] local.INFO: GPS data processed {"connection_id":175835,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:23:21] local.INFO: Acknowledgment sent {"connection_id":175835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:23:45] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:45] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:45] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:23:46] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:46] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:46] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:23:50] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:50] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:23:50] local.INFO: IMEI packet received {"connection_id":173114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:23:53] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07990d8f8012d215f8006cd80e0000b013d2d..."} 
[2026-09-07 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07990d8f8012d215f8006cd80e0000b013d2d..."} 
[2026-09-07 07:23:53] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07990d8f8012d215f8006cd80e0000b013d2d..."} 
[2026-09-07 07:23:53] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:23:53] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":757161856,"raw_latitude":114131168,"longitude_deg":75.7161856,"latitude_deg":11.4131168,"altitude":11,"angle":317,"satellites":45,"speed":40,"hex_longitude":"2d215f80","hex_latitude":"06cd80e0","is_valid_coordinates":true} 
[2026-09-07 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918955776001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400851814586515456,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2411677629672562688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788745931000,"timestamp_ms":1788745931000,"timestamp_seconds":1788745931,"priority":1,"record_length":96,"hex_timestamp":"000001a07990d8f8"} 
[2026-09-07 07:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 07:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:23:53] 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-07 07:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918955776001,"66":27843,"169":206,"81":22528,"24":40,"16":400851814586515456,"45":2411677629672562688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 07:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918955776001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:23:53] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 07:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400851814586515456,"km_value":400851814586515.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2411677629672562688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918955776001,"power":27843,"unknown_169":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2411677629672562688}} 
[2026-09-07 07:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:23:53] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:23:53] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:24:25] local.INFO: TCP Data received {"connection_id":173114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07990ec80012d21548006cd8b00000b01302c..."} 
[2026-09-07 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07990ec80012d21548006cd8b00000b01302c..."} 
[2026-09-07 07:24:25] local.INFO: Processing buffer {"connection_id":173114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07990ec80012d21548006cd8b00000b01302c..."} 
[2026-09-07 07:24:25] local.INFO: Packet analysis {"connection_id":173114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:24:25] local.INFO: Extracted packet for processing {"connection_id":173114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07990"} 
[2026-09-07 07:24:25] local.INFO: GPS Element Parsed {"raw_longitude":757159040,"raw_latitude":114133760,"longitude_deg":75.715904,"latitude_deg":11.413376,"altitude":11,"angle":304,"satellites":44,"speed":19,"hex_longitude":"2d215480","hex_latitude":"06cd8b00","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918958336001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400851999270109184,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2404781492745068544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788745936000,"timestamp_ms":1788745936000,"timestamp_seconds":1788745936,"priority":1,"record_length":96,"hex_timestamp":"000001a07990ec80"} 
[2026-09-07 07: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-07 07:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 07:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918958336001,"66":27832,"169":206,"81":22528,"24":19,"16":400851999270109184,"45":2404781492745068544},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 07:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918958336001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:24:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 07:24:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400851999270109184,"km_value":400851999270109.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2404781492745068544,"description":"Unknown IO ID 45"} 
[2026-09-07 07:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918958336001,"power":27832,"unknown_169":206,"unknown_81":22528,"ignition":19,"odometer":null,"unknown_45":2404781492745068544}} 
[2026-09-07 07:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":173114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:24:25] local.INFO: GPS data processed {"connection_id":173114,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:24:25] local.INFO: Acknowledgment sent {"connection_id":173114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:24:45] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:45] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:45] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:24:50] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:50] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:24:50] local.INFO: IMEI packet received {"connection_id":174504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":174504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:24:51] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079924058012d20ad8006ced4a8000a01581d..."} 
[2026-09-07 07:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079924058012d20ad8006ced4a8000a01581d..."} 
[2026-09-07 07:24:51] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079924058012d20ad8006ced4a8000a01581d..."} 
[2026-09-07 07:24:51] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:24:51] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:24:51] local.INFO: GPS Element Parsed {"raw_longitude":757116288,"raw_latitude":114218152,"longitude_deg":75.7116288,"latitude_deg":11.4218152,"altitude":10,"angle":344,"satellites":29,"speed":52,"hex_longitude":"2d20ad80","hex_latitude":"06ced4a8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918980096001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400856697964331008,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357071484212504576,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788746023000,"timestamp_ms":1788746023000,"timestamp_seconds":1788746023,"priority":1,"record_length":96,"hex_timestamp":"000001a079924058"} 
[2026-09-07 07: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-07 07:24: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-07 07:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:24:51] 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-07 07:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918980096001,"66":27767,"61":206,"81":22528,"24":52,"16":400856697964331008,"45":2357071484212504576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 07:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918980096001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:24:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 07:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400856697964331008,"km_value":400856697964331.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357071484212504576,"description":"Unknown IO ID 45"} 
[2026-09-07 07:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918980096001,"power":27767,"unknown_61":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2357071484212504576}} 
[2026-09-07 07:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:24:51] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:24:51] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:24:53] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:24:53] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:24:53] local.INFO: IMEI packet received {"connection_id":174505,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":174505,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:24:54] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07992f020012d829f4005d617000006004028..."} 
[2026-09-07 07:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07992f020012d829f4005d617000006004028..."} 
[2026-09-07 07:24:54] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07992f020012d829f4005d617000006004028..."} 
[2026-09-07 07:24:54] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:24:54] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":97916672,"longitude_deg":76.3535168,"latitude_deg":9.7916672,"altitude":6,"angle":64,"satellites":40,"speed":16,"hex_longitude":"2d829f40","hex_latitude":"05d61700","is_valid_coordinates":true} 
[2026-09-07 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-07 07:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918993152001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129200497528668160,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392015360,"note":"Value kept but may cause issues"} 
[2026-09-07 07:24:54] 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-07 07:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746068000,"timestamp_ms":1788746068000,"timestamp_seconds":1788746068,"priority":1,"record_length":96,"hex_timestamp":"000001a07992f020"} 
[2026-09-07 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-07 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-07 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":56,"data_length":795,"current_offset":136} 
[2026-09-07 07:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:24:54] 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-07 07:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918993152001,"66":13624,"157":206,"85":15104,"24":16,"16":129200497528668160,"45":-9034783777392015360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918993152001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:24:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129200497528668160,"km_value":129200497528668.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392015360,"description":"Unknown IO ID 45"} 
[2026-09-07 07:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918993152001,"power":13624,"unknown_157":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9034783777392015360}} 
[2026-09-07 07:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:24:54] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:24:54] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:25:23] local.INFO: TCP Data received {"connection_id":174504,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079925bb0012d20a38006ceeee0000b014d1f..."} 
[2026-09-07 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079925bb0012d20a38006ceeee0000b014d1f..."} 
[2026-09-07 07:25:23] local.INFO: Processing buffer {"connection_id":174504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079925bb0012d20a38006ceeee0000b014d1f..."} 
[2026-09-07 07:25:23] local.INFO: Packet analysis {"connection_id":174504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:25:23] local.INFO: Extracted packet for processing {"connection_id":174504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":757113728,"raw_latitude":114224864,"longitude_deg":75.7113728,"latitude_deg":11.4224864,"altitude":11,"angle":333,"satellites":31,"speed":28,"hex_longitude":"2d20a380","hex_latitude":"06ceeee0","is_valid_coordinates":true} 
[2026-09-07 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918981888001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400857045856681984,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354678946912839680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746030000,"timestamp_ms":1788746030000,"timestamp_seconds":1788746030,"priority":1,"record_length":96,"hex_timestamp":"000001a079925bb0"} 
[2026-09-07 07:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:25:23] 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-07 07:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918981888001,"66":27767,"61":206,"81":22528,"24":28,"16":400857045856681984,"45":2354678946912839680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 07:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918981888001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:25:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 07:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400857045856681984,"km_value":400857045856682.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354678946912839680,"description":"Unknown IO ID 45"} 
[2026-09-07 07:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918981888001,"power":27767,"unknown_61":206,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2354678946912839680}} 
[2026-09-07 07:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":174504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:25:23] local.INFO: GPS data processed {"connection_id":174504,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:25:23] local.INFO: Acknowledgment sent {"connection_id":174504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:25:27] local.INFO: TCP Data received {"connection_id":174505,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07993b370012d82ce8005d68438000b015d27..."} 
[2026-09-07 07:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07993b370012d82ce8005d68438000b015d27..."} 
[2026-09-07 07:25:27] local.INFO: Processing buffer {"connection_id":174505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07993b370012d82ce8005d68438000b015d27..."} 
[2026-09-07 07:25:27] local.INFO: Packet analysis {"connection_id":174505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:27] local.INFO: Extracted packet for processing {"connection_id":174505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763547264,"raw_latitude":97944632,"longitude_deg":76.3547264,"latitude_deg":9.7944632,"altitude":11,"angle":349,"satellites":39,"speed":12,"hex_longitude":"2d82ce80","hex_latitude":"05d68438","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919005184001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202035126960128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021272978503282688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] 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-07 07:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788746118000,"timestamp_ms":1788746118000,"timestamp_seconds":1788746118,"priority":1,"record_length":96,"hex_timestamp":"000001a07993b370"} 
[2026-09-07 07: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-07 07:25: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-07 07:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193113093,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2469562369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":214,"raw_value":1853231272436050176,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":58916864,"corrected_to":0} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3592114176,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57885563479283003,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.WARNING: Large IO value detected {"io_id":146,"raw_value":-18013103532326907,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:27] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,85,24,241,16,4,160,163,45,123,11,39,10,66,116,88,40,54,128,1,240,122,227,3,121,214,113,205,21,34,178,216,239,52,2,203,5,6,22,110,146],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0},{"io_id":203,"original":58916864,"validated":0}]} 
[2026-09-07 07:25:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792641398504357888,"timestamp_seconds":792641398504357.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07: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-07 07:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174505,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:27] 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-07 07:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919005184001,"66":13559,"157":206,"85":15104,"24":12,"16":129202035126960128,"45":-9021272978503282688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919005184001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:25:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202035126960128,"km_value":129202035126960.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021272978503282688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919005184001,"power":13559,"unknown_157":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9021272978503282688}} 
[2026-09-07 07:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":174505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:25:27] local.INFO: GPS data processed {"connection_id":174505,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:25:27] local.INFO: Acknowledgment sent {"connection_id":174505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:25:48] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:25:48] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:48] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:25:50] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:25:50] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:50] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:25:51] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:51] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:51] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:25:53] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:53] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:25:53] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:25:54] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07993b758012d82ce4005d68528000b014d27..."} 
[2026-09-07 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07993b758012d82ce4005d68528000b014d27..."} 
[2026-09-07 07:25:54] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07993b758012d82ce4005d68528000b014d27..."} 
[2026-09-07 07:25:54] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:54] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763547200,"raw_latitude":97944872,"longitude_deg":76.35472,"latitude_deg":9.7944872,"altitude":11,"angle":333,"satellites":39,"speed":9,"hex_longitude":"2d82ce40","hex_latitude":"05d68528","is_valid_coordinates":true} 
[2026-09-07 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919006208001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202048011862016,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021132241014343680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] 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-07 07:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746119000,"timestamp_ms":1788746119000,"timestamp_seconds":1788746119,"priority":1,"record_length":96,"hex_timestamp":"000001a07993b758"} 
[2026-09-07 07:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:25: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-07 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:54] 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-07 07:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919006208001,"66":13363,"157":206,"85":15104,"24":9,"16":129202048011862016,"45":-9021132241014343680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919006208001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202048011862016,"km_value":129202048011862.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021132241014343680,"description":"Unknown IO ID 45"} 
[2026-09-07 07:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919006208001,"power":13363,"unknown_157":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9021132241014343680}} 
[2026-09-07 07:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:25:54] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:25:54] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:25:54] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07993bb40012d82ce0005d685c8000a014128..."} 
[2026-09-07 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07993bb40012d82ce0005d685c8000a014128..."} 
[2026-09-07 07:25:54] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07993bb40012d82ce0005d685c8000a014128..."} 
[2026-09-07 07:25:54] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:54] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763547136,"raw_latitude":97945032,"longitude_deg":76.3547136,"latitude_deg":9.7945032,"altitude":10,"angle":321,"satellites":40,"speed":6,"hex_longitude":"2d82ce00","hex_latitude":"05d685c8","is_valid_coordinates":true} 
[2026-09-07 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919006464001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202056601796608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021202609758459904,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:54] 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-07 07:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746120000,"timestamp_ms":1788746120000,"timestamp_seconds":1788746120,"priority":1,"record_length":96,"hex_timestamp":"000001a07993bb40"} 
[2026-09-07 07:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:25: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-07 07:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 07:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:25:54] 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-07 07:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919006464001,"66":13363,"157":206,"85":15104,"24":6,"16":129202056601796608,"45":-9021202609758459904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919006464001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202056601796608,"km_value":129202056601796.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021202609758459904,"description":"Unknown IO ID 45"} 
[2026-09-07 07:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919006464001,"power":13363,"unknown_157":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9021202609758459904}} 
[2026-09-07 07:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:25:54] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:25:54] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:25:55] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:55] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:25:55] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:25:57] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079926768012d209f0006cef538000c013b1f..."} 
[2026-09-07 07:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079926768012d209f0006cef538000c013b1f..."} 
[2026-09-07 07:25:57] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079926768012d209f0006cef538000c013b1f..."} 
[2026-09-07 07:25:57] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:25:57] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:25:57] local.INFO: GPS Element Parsed {"raw_longitude":757112576,"raw_latitude":114226488,"longitude_deg":75.7112576,"latitude_deg":11.4226488,"altitude":12,"angle":315,"satellites":31,"speed":25,"hex_longitude":"2d209f00","hex_latitude":"06cef538","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918983680001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400857140345962496,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2351864197147451392,"note":"Value kept but may cause issues"} 
[2026-09-07 07:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788746033000,"timestamp_ms":1788746033000,"timestamp_seconds":1788746033,"priority":1,"record_length":96,"hex_timestamp":"000001a079926768"} 
[2026-09-07 07: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-07 07:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:25:57] 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-07 07:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918983680001,"66":27745,"80":206,"81":22528,"24":25,"16":400857140345962496,"45":2351864197147451392},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 07:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918983680001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:25:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 07:25:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400857140345962496,"km_value":400857140345962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2351864197147451392,"description":"Unknown IO ID 45"} 
[2026-09-07 07:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918983680001,"power":27745,"unknown_80":206,"unknown_81":22528,"ignition":25,"odometer":null,"unknown_45":2351864197147451392}} 
[2026-09-07 07:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:25:57] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:25:57] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:26:08] local.INFO: TCP Data received {"connection_id":175839,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:26:08] local.INFO: Processing buffer {"connection_id":175839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:26:08] local.INFO: IMEI packet received {"connection_id":175839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":175839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:26:26] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07993f9c0012d82cc4005d687e80009012927..."} 
[2026-09-07 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07993f9c0012d82cc4005d687e80009012927..."} 
[2026-09-07 07:26:26] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07993f9c0012d82cc4005d687e80009012927..."} 
[2026-09-07 07:26:26] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:26:26] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07993"} 
[2026-09-07 07:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763546688,"raw_latitude":97945576,"longitude_deg":76.3546688,"latitude_deg":9.7945576,"altitude":9,"angle":297,"satellites":39,"speed":12,"hex_longitude":"2d82cc40","hex_latitude":"05d687e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919006720001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202099551469568,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021272978502596608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:26] 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-07 07:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788746136000,"timestamp_ms":1788746136000,"timestamp_seconds":1788746136,"priority":1,"record_length":96,"hex_timestamp":"000001a07993f9c0"} 
[2026-09-07 07: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-07 07:26:26] 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-07 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 07:26:26] 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-07 07: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-07 07: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-07 07:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:26: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-07 07:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919006720001,"66":13624,"157":206,"85":15104,"24":12,"16":129202099551469568,"45":-9021272978502596608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919006720001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:26:26] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202099551469568,"km_value":129202099551469.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021272978502596608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919006720001,"power":13624,"unknown_157":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9021272978502596608}} 
[2026-09-07 07:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:26:26] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:26:26] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:26:29] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079929648012d20834006cf0bd0000f01322c..."} 
[2026-09-07 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079929648012d20834006cf0bd0000f01322c..."} 
[2026-09-07 07:26:29] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079929648012d20834006cf0bd0000f01322c..."} 
[2026-09-07 07:26:29] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:26:29] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07992"} 
[2026-09-07 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":757105472,"raw_latitude":114232272,"longitude_deg":75.7105472,"latitude_deg":11.4232272,"altitude":15,"angle":306,"satellites":44,"speed":34,"hex_longitude":"2d208340","hex_latitude":"06cf0bd0","is_valid_coordinates":true} 
[2026-09-07 07:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457918984448001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400857578432626688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2350597559752669184,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788746045000,"timestamp_ms":1788746045000,"timestamp_seconds":1788746045,"priority":1,"record_length":96,"hex_timestamp":"000001a079929648"} 
[2026-09-07 07:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:26:29] 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-07 07:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:26:29] 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-07 07:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457918984448001,"66":27767,"80":206,"81":22528,"24":34,"16":400857578432626688,"45":2350597559752669184},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-09-07 07:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457918984448001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:26:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 07:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400857578432626688,"km_value":400857578432626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2350597559752669184,"description":"Unknown IO ID 45"} 
[2026-09-07 07:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457918984448001,"power":27767,"unknown_80":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2350597559752669184}} 
[2026-09-07 07:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:26:29] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:26:29] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:26:43] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:43] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:43] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:26:46] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:46] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:46] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:26:48] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:48] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:48] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:26:50] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:50] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:26:50] local.INFO: IMEI packet received {"connection_id":173115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":173115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:26:51] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799424b8012d1f3ec006cfdcf8000f01452b..."} 
[2026-09-07 07:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799424b8012d1f3ec006cfdcf8000f01452b..."} 
[2026-09-07 07:26:51] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799424b8012d1f3ec006cfdcf8000f01452b..."} 
[2026-09-07 07:26:51] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:26:51] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:26:51] local.INFO: GPS Element Parsed {"raw_longitude":757022400,"raw_latitude":114285816,"longitude_deg":75.70224,"latitude_deg":11.4285816,"altitude":15,"angle":325,"satellites":43,"speed":40,"hex_longitude":"2d1f3ec0","hex_latitude":"06cfdcf8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919011328001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400862380206063616,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2257570079963097088,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788746147000,"timestamp_ms":1788746147000,"timestamp_seconds":1788746147,"priority":1,"record_length":96,"hex_timestamp":"000001a0799424b8"} 
[2026-09-07 07: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-07 07:26: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-07 07:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:26:51] 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-07 07:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919011328001,"66":27843,"152":206,"81":22528,"24":40,"16":400862380206063616,"45":2257570079963097088},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 07:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919011328001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:26:51] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 07:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400862380206063616,"km_value":400862380206063.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2257570079963097088,"description":"Unknown IO ID 45"} 
[2026-09-07 07:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919011328001,"power":27843,"unknown_152":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2257570079963097088}} 
[2026-09-07 07:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:26:51] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:26:51] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:26:53] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:53] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:26:53] local.INFO: IMEI packet received {"connection_id":173117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":173117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:26:54] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079941900012d82c10005d68ef8000a013628..."} 
[2026-09-07 07:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079941900012d82c10005d68ef8000a013628..."} 
[2026-09-07 07:26:54] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079941900012d82c10005d68ef8000a013628..."} 
[2026-09-07 07:26:54] local.INFO: Packet analysis {"connection_id":173117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:26:54] local.INFO: Extracted packet for processing {"connection_id":173117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763543808,"raw_latitude":97947384,"longitude_deg":76.3543808,"latitude_deg":9.7947384,"altitude":10,"angle":310,"satellites":40,"speed":23,"hex_longitude":"2d82c100","hex_latitude":"05d68ef8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919010816001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202262760226816,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9021765559711700992,"note":"Value kept but may cause issues"} 
[2026-09-07 07:26:54] 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-07 07:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746144000,"timestamp_ms":1788746144000,"timestamp_seconds":1788746144,"priority":1,"record_length":96,"hex_timestamp":"000001a079941900"} 
[2026-09-07 07: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-07 07:26: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-07 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 07:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:26:54] 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-07 07:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919010816001,"66":13493,"157":206,"85":15104,"24":23,"16":129202262760226816,"45":-9021765559711700992},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919010816001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:26:54] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202262760226816,"km_value":129202262760226.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9021765559711700992,"description":"Unknown IO ID 45"} 
[2026-09-07 07:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919010816001,"power":13493,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9021765559711700992}} 
[2026-09-07 07:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:26:54] local.INFO: GPS data processed {"connection_id":173117,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:26:54] local.INFO: Acknowledgment sent {"connection_id":173117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:27:23] local.INFO: TCP Data received {"connection_id":173115,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799447e0012d1f2b0006cff9f0000e01452d..."} 
[2026-09-07 07:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799447e0012d1f2b0006cff9f0000e01452d..."} 
[2026-09-07 07:27:23] local.INFO: Processing buffer {"connection_id":173115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799447e0012d1f2b0006cff9f0000e01452d..."} 
[2026-09-07 07:27:23] local.INFO: Packet analysis {"connection_id":173115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:23] local.INFO: Extracted packet for processing {"connection_id":173115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":757017344,"raw_latitude":114293232,"longitude_deg":75.7017344,"latitude_deg":11.4293232,"altitude":14,"angle":325,"satellites":45,"speed":42,"hex_longitude":"2d1f2b00","hex_latitude":"06cff9f0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919013632001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400862813997760512,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2251447999221528576,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746156000,"timestamp_ms":1788746156000,"timestamp_seconds":1788746156,"priority":1,"record_length":96,"hex_timestamp":"000001a0799447e0"} 
[2026-09-07 07: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-07 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 07:27:23] 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-07 07: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-07 07: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-07 07:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:27:23] 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-07 07:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919013632001,"66":27821,"152":206,"81":22528,"24":42,"16":400862813997760512,"45":2251447999221528576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 07:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919013632001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:27:23] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 07:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400862813997760512,"km_value":400862813997760.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2251447999221528576,"description":"Unknown IO ID 45"} 
[2026-09-07 07:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919013632001,"power":27821,"unknown_152":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2251447999221528576}} 
[2026-09-07 07:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":173115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:27:23] local.INFO: GPS data processed {"connection_id":173115,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:27:23] local.INFO: Acknowledgment sent {"connection_id":173115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:27:25] local.INFO: TCP Data received {"connection_id":173117,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799424b8012d82bcc005d693f8000a014328..."} 
[2026-09-07 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799424b8012d82bcc005d693f8000a014328..."} 
[2026-09-07 07:27:25] local.INFO: Processing buffer {"connection_id":173117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799424b8012d82bcc005d693f8000a014328..."} 
[2026-09-07 07:27:25] local.INFO: Packet analysis {"connection_id":173117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:25] local.INFO: Extracted packet for processing {"connection_id":173117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763542720,"raw_latitude":97948664,"longitude_deg":76.354272,"latitude_deg":9.7948664,"altitude":10,"angle":323,"satellites":40,"speed":23,"hex_longitude":"2d82bcc0","hex_latitude":"05d693f8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919012864001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129202344364605440,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024932153199233024,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:25] 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-07 07:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788746147000,"timestamp_ms":1788746147000,"timestamp_seconds":1788746147,"priority":1,"record_length":96,"hex_timestamp":"000001a0799424b8"} 
[2026-09-07 07: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-07 07:27:25] 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-07 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 07:27: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-07 07: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-07 07: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-07 07:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:27:25] 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-07 07:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919012864001,"66":13504,"157":206,"85":15104,"24":23,"16":129202344364605440,"45":-9024932153199233024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-09-07 07:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919012864001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:27:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 07:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129202344364605440,"km_value":129202344364605.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024932153199233024,"description":"Unknown IO ID 45"} 
[2026-09-07 07:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919012864001,"power":13504,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9024932153199233024}} 
[2026-09-07 07:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":173117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:27:25] local.INFO: GPS data processed {"connection_id":173117,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:27:25] local.INFO: Acknowledgment sent {"connection_id":173117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:27:45] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:45] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:45] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:27:46] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:46] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:46] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:27:48] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:48] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:48] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:27:51] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:51] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:27:51] local.INFO: IMEI packet received {"connection_id":173118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":173118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:27:52] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079946b08012d1f150006d019d0000e014b2c..."} 
[2026-09-07 07:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079946b08012d1f150006d019d0000e014b2c..."} 
[2026-09-07 07:27:52] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079946b08012d1f150006d019d0000e014b2c..."} 
[2026-09-07 07:27:52] local.INFO: Packet analysis {"connection_id":173118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:52] local.INFO: Extracted packet for processing {"connection_id":173118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":757011712,"raw_latitude":114301392,"longitude_deg":75.7011712,"latitude_deg":11.4301392,"altitude":14,"angle":331,"satellites":44,"speed":42,"hex_longitude":"2d1f1500","hex_latitude":"06d019d0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919015936001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400863290739130368,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2245888868433391616,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746165000,"timestamp_ms":1788746165000,"timestamp_seconds":1788746165,"priority":1,"record_length":96,"hex_timestamp":"000001a079946b08"} 
[2026-09-07 07: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-07 07:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:27:52] 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-07 07:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919015936001,"66":27647,"153":206,"81":22528,"24":42,"16":400863290739130368,"45":2245888868433391616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-07 07:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919015936001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:27:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 07:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400863290739130368,"km_value":400863290739130.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2245888868433391616,"description":"Unknown IO ID 45"} 
[2026-09-07 07:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919015936001,"power":27647,"unknown_153":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2245888868433391616}} 
[2026-09-07 07:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":173118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:27:52] local.INFO: GPS data processed {"connection_id":173118,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:27:52] local.INFO: Acknowledgment sent {"connection_id":173118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:27:53] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:53] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:27:53] local.INFO: IMEI packet received {"connection_id":173120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":173120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:27:54] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07995bee0012d82a10005d7c0b00008016327..."} 
[2026-09-07 07:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07995bee0012d82a10005d7c0b00008016327..."} 
[2026-09-07 07:27:54] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07995bee0012d82a10005d7c0b00008016327..."} 
[2026-09-07 07:27:54] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07995"} 
[2026-09-07 07:27:54] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07995"} 
[2026-09-07 07:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763535616,"raw_latitude":98025648,"longitude_deg":76.3535616,"latitude_deg":9.8025648,"altitude":8,"angle":355,"satellites":39,"speed":35,"hex_longitude":"2d82a100","hex_latitude":"05d7c0b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919037952001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129206111050924032,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033165296250294272,"note":"Value kept but may cause issues"} 
[2026-09-07 07:27:54] 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-07 07:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746252000,"timestamp_ms":1788746252000,"timestamp_seconds":1788746252,"priority":1,"record_length":96,"hex_timestamp":"000001a07995bee0"} 
[2026-09-07 07: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-07 07:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 07:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:27:54] 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-07 07:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919037952001,"66":13798,"155":206,"85":15104,"24":35,"16":129206111050924032,"45":-9033165296250294272},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-07 07:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919037952001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:27:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 07:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129206111050924032,"km_value":129206111050924.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033165296250294272,"description":"Unknown IO ID 45"} 
[2026-09-07 07:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919037952001,"power":13798,"unknown_155":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9033165296250294272}} 
[2026-09-07 07:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:27:54] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:27:54] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:28:23] local.INFO: TCP Data received {"connection_id":173118,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079948a48012d1f01c006d03718000e01452c..."} 
[2026-09-07 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079948a48012d1f01c006d03718000e01452c..."} 
[2026-09-07 07:28:23] local.INFO: Processing buffer {"connection_id":173118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079948a48012d1f01c006d03718000e01452c..."} 
[2026-09-07 07:28:23] local.INFO: Packet analysis {"connection_id":173118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:28:23] local.INFO: Extracted packet for processing {"connection_id":173118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":757006784,"raw_latitude":114308888,"longitude_deg":75.7006784,"latitude_deg":11.4308888,"altitude":14,"angle":325,"satellites":44,"speed":46,"hex_longitude":"2d1f01c0","hex_latitude":"06d03718","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919018240001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400863724530827264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2239696418947846144,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746173000,"timestamp_ms":1788746173000,"timestamp_seconds":1788746173,"priority":1,"record_length":96,"hex_timestamp":"000001a079948a48"} 
[2026-09-07 07: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-07 07:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 07:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:28:23] 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-07 07:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919018240001,"66":27800,"153":206,"81":22528,"24":46,"16":400863724530827264,"45":2239696418947846144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-07 07:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919018240001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:28:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 07:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400863724530827264,"km_value":400863724530827.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2239696418947846144,"description":"Unknown IO ID 45"} 
[2026-09-07 07:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919018240001,"power":27800,"unknown_153":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2239696418947846144}} 
[2026-09-07 07:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":173118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:28:23] local.INFO: GPS data processed {"connection_id":173118,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:28:23] local.INFO: Acknowledgment sent {"connection_id":173118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:28:25] local.INFO: TCP Data received {"connection_id":173120,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07995e5f0012d829f8005d7e3e80007016528..."} 
[2026-09-07 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07995e5f0012d829f8005d7e3e80007016528..."} 
[2026-09-07 07:28:25] local.INFO: Processing buffer {"connection_id":173120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07995e5f0012d829f8005d7e3e80007016528..."} 
[2026-09-07 07:28:25] local.INFO: Packet analysis {"connection_id":173120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07995"} 
[2026-09-07 07:28:25] local.INFO: Extracted packet for processing {"connection_id":173120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07995"} 
[2026-09-07 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98034664,"longitude_deg":76.3535232,"latitude_deg":9.8034664,"altitude":7,"angle":357,"satellites":40,"speed":35,"hex_longitude":"2d829f80","hex_latitude":"05d7e3e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919040512001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129206549137588224,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033939352433938432,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:25] 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-07 07:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788746262000,"timestamp_ms":1788746262000,"timestamp_seconds":1788746262,"priority":1,"record_length":96,"hex_timestamp":"000001a07995e5f0"} 
[2026-09-07 07: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-07 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:28:25] 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-07 07: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-07 07: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-07 07:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:28:25] 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-07 07:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919040512001,"66":13678,"155":206,"85":15104,"24":35,"16":129206549137588224,"45":-9033939352433938432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-07 07:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919040512001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:28:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 07:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129206549137588224,"km_value":129206549137588.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033939352433938432,"description":"Unknown IO ID 45"} 
[2026-09-07 07:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919040512001,"power":13678,"unknown_155":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9033939352433938432}} 
[2026-09-07 07:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":173120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:28:25] local.INFO: GPS data processed {"connection_id":173120,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:28:25] local.INFO: Acknowledgment sent {"connection_id":173120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:28:45] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:45] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:45] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:28:49] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:49] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:28:49] local.INFO: IMEI packet received {"connection_id":174506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":174506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:28:50] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07994a988012d1eecc006d05538000d01452b..."} 
[2026-09-07 07:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07994a988012d1eecc006d05538000d01452b..."} 
[2026-09-07 07:28:50] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07994a988012d1eecc006d05538000d01452b..."} 
[2026-09-07 07:28:50] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:28:50] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07994"} 
[2026-09-07 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":757001408,"raw_latitude":114316600,"longitude_deg":75.7001408,"latitude_deg":11.43166,"altitude":13,"angle":325,"satellites":43,"speed":47,"hex_longitude":"2d1eecc0","hex_latitude":"06d05538","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919020288001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400864175502393344,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2234278025648084992,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788746181000,"timestamp_ms":1788746181000,"timestamp_seconds":1788746181,"priority":1,"record_length":96,"hex_timestamp":"000001a07994a988"} 
[2026-09-07 07: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-07 07:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:28:50] 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-07 07: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-07 07: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-07 07:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919020288001,"66":27767,"153":206,"81":22528,"24":47,"16":400864175502393344,"45":2234278025648084992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-07 07:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919020288001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:28:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 07:28:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 07:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400864175502393344,"km_value":400864175502393.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2234278025648084992,"description":"Unknown IO ID 45"} 
[2026-09-07 07:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919020288001,"power":27767,"unknown_153":206,"unknown_81":22528,"ignition":47,"odometer":null,"unknown_45":2234278025648084992}} 
[2026-09-07 07:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:28:50] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:28:50] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:28:51] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:51] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:51] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:28:52] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:52] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:52] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:28:53] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:53] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:53] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:28:58] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:58] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:28:58] local.INFO: IMEI packet received {"connection_id":175841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":175841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:28:59] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079960d00012d829e4005d809e00006016527..."} 
[2026-09-07 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079960d00012d829e4005d809e00006016527..."} 
[2026-09-07 07:28:59] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079960d00012d829e4005d809e00006016527..."} 
[2026-09-07 07:28:59] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:28:59] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98044384,"longitude_deg":76.3534912,"latitude_deg":9.8044384,"altitude":6,"angle":357,"satellites":39,"speed":39,"hex_longitude":"2d829e40","hex_latitude":"05d809e0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919043072001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129207021583990784,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564896696320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:28:59] 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-07 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788746272000,"timestamp_ms":1788746272000,"timestamp_seconds":1788746272,"priority":1,"record_length":96,"hex_timestamp":"000001a079960d00"} 
[2026-09-07 07: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-07 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 07:28:59] 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-07 07: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-07 07: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-07 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:28:59] 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-07 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919043072001,"66":13678,"155":206,"85":15104,"24":39,"16":129207021583990784,"45":-9034361564896696320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-07 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919043072001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:28:59] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 07:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129207021583990784,"km_value":129207021583990.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564896696320,"description":"Unknown IO ID 45"} 
[2026-09-07 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919043072001,"power":13678,"unknown_155":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9034361564896696320}} 
[2026-09-07 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:28:59] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:28:59] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:29:22] local.INFO: TCP Data received {"connection_id":174506,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079968618012d1e214006d19ab0000c015129..."} 
[2026-09-07 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079968618012d1e214006d19ab0000c015129..."} 
[2026-09-07 07:29:22] local.INFO: Processing buffer {"connection_id":174506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079968618012d1e214006d19ab0000c015129..."} 
[2026-09-07 07:29:22] local.INFO: Packet analysis {"connection_id":174506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:22] local.INFO: Extracted packet for processing {"connection_id":174506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756949312,"raw_latitude":114399920,"longitude_deg":75.6949312,"latitude_deg":11.439992,"altitude":12,"angle":337,"satellites":41,"speed":32,"hex_longitude":"2d1e2140","hex_latitude":"06d19ab0","is_valid_coordinates":true} 
[2026-09-07 07:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919050496001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400868930031190016,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174886805583175680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788746303000,"timestamp_ms":1788746303000,"timestamp_seconds":1788746303,"priority":1,"record_length":96,"hex_timestamp":"000001a079968618"} 
[2026-09-07 07:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:29:22] 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-07 07:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:29:22] 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-07 07:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919050496001,"66":27919,"16":400868930031190016,"81":20480,"24":32,"45":2174886805583175680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-07 07:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919050496001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400868930031190016,"km_value":400868930031190.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174886805583175680,"description":"Unknown IO ID 45"} 
[2026-09-07 07:29:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919050496001,"power":27919,"odometer":null,"unknown_81":20480,"ignition":32,"unknown_45":2174886805583175680}} 
[2026-09-07 07:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":174506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:29:22] local.INFO: GPS data processed {"connection_id":174506,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:29:22] local.INFO: Acknowledgment sent {"connection_id":174506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:29:30] local.INFO: TCP Data received {"connection_id":175841,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079963028012d829dc005d82eb80006016427..."} 
[2026-09-07 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079963028012d829dc005d82eb80006016427..."} 
[2026-09-07 07:29:30] local.INFO: Processing buffer {"connection_id":175841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079963028012d829dc005d82eb80006016427..."} 
[2026-09-07 07:29:30] local.INFO: Packet analysis {"connection_id":175841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:30] local.INFO: Extracted packet for processing {"connection_id":175841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763534784,"raw_latitude":98053816,"longitude_deg":76.3534784,"latitude_deg":9.8053816,"altitude":6,"angle":356,"satellites":39,"speed":44,"hex_longitude":"2d829dc0","hex_latitude":"05d82eb8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919045632001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129207476850524160,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408615096320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:30] 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-07 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788746281000,"timestamp_ms":1788746281000,"timestamp_seconds":1788746281,"priority":1,"record_length":96,"hex_timestamp":"000001a079963028"} 
[2026-09-07 07: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-07 07:29:30] 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-07 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 07:29:30] 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-07 07: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-07 07: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-07 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:30] 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-07 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919045632001,"66":13515,"155":206,"85":15104,"24":44,"16":129207476850524160,"45":-9034713408615096320},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-07 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919045632001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:29:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 07:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129207476850524160,"km_value":129207476850524.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408615096320,"description":"Unknown IO ID 45"} 
[2026-09-07 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919045632001,"power":13515,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9034713408615096320}} 
[2026-09-07 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":175841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:29:30] local.INFO: GPS data processed {"connection_id":175841,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:29:30] local.INFO: Acknowledgment sent {"connection_id":175841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:29:48] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:48] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:48] local.INFO: IMEI packet received {"connection_id":174508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":174508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:29:49] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:49] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:49] local.INFO: IMEI packet received {"connection_id":174508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:29:50] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:50] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:50] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:29:53] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:53] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:29:53] local.INFO: IMEI packet received {"connection_id":174508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":174508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:29:55] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:55] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:29:55] local.INFO: IMEI packet received {"connection_id":173121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":173121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:29:56] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079965350012d829ac005d853e80007016027..."} 
[2026-09-07 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079965350012d829ac005d853e80007016027..."} 
[2026-09-07 07:29:56] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079965350012d829ac005d853e80007016027..."} 
[2026-09-07 07:29:56] local.INFO: Packet analysis {"connection_id":174508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:56] local.INFO: Extracted packet for processing {"connection_id":174508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763534016,"raw_latitude":98063336,"longitude_deg":76.3534016,"latitude_deg":9.8063336,"altitude":7,"angle":352,"satellites":39,"speed":37,"hex_longitude":"2d829ac0","hex_latitude":"05d853e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919047936001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129207940706992128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034854146101037056,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] 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-07 07:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788746290000,"timestamp_ms":1788746290000,"timestamp_seconds":1788746290,"priority":1,"record_length":96,"hex_timestamp":"000001a079965350"} 
[2026-09-07 07: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-07 07:29: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-07 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 07:29:56] 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-07 07: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-07 07: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-07 07:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:56] 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-07 07:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919047936001,"66":13646,"155":206,"85":15104,"24":37,"16":129207940706992128,"45":-9034854146101037056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919047936001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129207940706992128,"km_value":129207940706992.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034854146101037056,"description":"Unknown IO ID 45"} 
[2026-09-07 07:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919047936001,"power":13646,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034854146101037056}} 
[2026-09-07 07:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":174508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:29:56] local.INFO: GPS data processed {"connection_id":174508,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:29:56] local.INFO: Acknowledgment sent {"connection_id":174508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:29:56] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799699a0012d1e1ac006d1a800000c01462b..."} 
[2026-09-07 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799699a0012d1e1ac006d1a800000c01462b..."} 
[2026-09-07 07:29:56] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799699a0012d1e1ac006d1a800000c01462b..."} 
[2026-09-07 07:29:56] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:56] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756947648,"raw_latitude":114403328,"longitude_deg":75.6947648,"latitude_deg":11.4403328,"altitude":12,"angle":326,"satellites":43,"speed":26,"hex_longitude":"2d1e1ac0","hex_latitude":"06d1a800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919053568001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400869114714783744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171086893399846912,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788746308000,"timestamp_ms":1788746308000,"timestamp_seconds":1788746308,"priority":1,"record_length":96,"hex_timestamp":"000001a0799699a0"} 
[2026-09-07 07: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-07 07:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 07:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:29:56] 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-07 07:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919053568001,"66":27821,"16":400869114714783744,"81":20480,"24":26,"45":2171086893399846912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-07 07:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919053568001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400869114714783744,"km_value":400869114714783.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2171086893399846912,"description":"Unknown IO ID 45"} 
[2026-09-07 07:29:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919053568001,"power":27821,"odometer":null,"unknown_81":20480,"ignition":26,"unknown_45":2171086893399846912}} 
[2026-09-07 07:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:29:56] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:29:56] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:29:59] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07996a170012d82980005d865580009016026..."} 
[2026-09-07 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07996a170012d82980005d865580009016026..."} 
[2026-09-07 07:29:59] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07996a170012d82980005d865580009016026..."} 
[2026-09-07 07:29:59] local.INFO: Packet analysis {"connection_id":174508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:59] local.INFO: Extracted packet for processing {"connection_id":174508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":98067800,"longitude_deg":76.3533312,"latitude_deg":9.80678,"altitude":9,"angle":352,"satellites":38,"speed":12,"hex_longitude":"2d829800","hex_latitude":"05d86558","is_valid_coordinates":true} 
[2026-09-07 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919050240001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129208164045291520,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035698571028731904,"note":"Value kept but may cause issues"} 
[2026-09-07 07:29:59] 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-07 07:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788746310000,"timestamp_ms":1788746310000,"timestamp_seconds":1788746310,"priority":1,"record_length":96,"hex_timestamp":"000001a07996a170"} 
[2026-09-07 07:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 07:29:59] 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-07 07:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:29:59] 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-07 07:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919050240001,"66":13678,"47":206,"85":15104,"24":12,"16":129208164045291520,"45":-9035698571028731904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-07 07:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919050240001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:29:59] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 07:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129208164045291520,"km_value":129208164045291.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035698571028731904,"description":"Unknown IO ID 45"} 
[2026-09-07 07:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919050240001,"power":13678,"unknown_47":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9035698571028731904}} 
[2026-09-07 07:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":174508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:29:59] local.INFO: GPS data processed {"connection_id":174508,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:29:59] local.INFO: Acknowledgment sent {"connection_id":174508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:30:27] local.INFO: TCP Data received {"connection_id":173121,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07996d050012d1e034006d1c468000f01412d..."} 
[2026-09-07 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07996d050012d1e034006d1c468000f01412d..."} 
[2026-09-07 07:30:27] local.INFO: Processing buffer {"connection_id":173121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07996d050012d1e034006d1c468000f01412d..."} 
[2026-09-07 07:30:27] local.INFO: Packet analysis {"connection_id":173121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:27] local.INFO: Extracted packet for processing {"connection_id":173121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756941632,"raw_latitude":114410600,"longitude_deg":75.6941632,"latitude_deg":11.44106,"altitude":15,"angle":321,"satellites":45,"speed":25,"hex_longitude":"2d1e0340","hex_latitude":"06d1c468","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919054848001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400869569981317120,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169257306052100096,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788746322000,"timestamp_ms":1788746322000,"timestamp_seconds":1788746322,"priority":1,"record_length":96,"hex_timestamp":"000001a07996d050"} 
[2026-09-07 07: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-07 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:30:27] 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-07 07: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-07 07: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-07 07:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:27] 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-07 07:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919054848001,"66":27745,"16":400869569981317120,"81":20480,"24":25,"45":2169257306052100096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-07 07:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919054848001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400869569981317120,"km_value":400869569981317.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:30:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2169257306052100096,"description":"Unknown IO ID 45"} 
[2026-09-07 07:30:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919054848001,"power":27745,"odometer":null,"unknown_81":20480,"ignition":25,"unknown_45":2169257306052100096}} 
[2026-09-07 07:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":173121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:30:27] local.INFO: GPS data processed {"connection_id":173121,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:30:27] local.INFO: Acknowledgment sent {"connection_id":173121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:30:30] local.INFO: TCP Data received {"connection_id":174508,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07996b110012d82964005d86bf80009015526..."} 
[2026-09-07 07:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07996b110012d82964005d86bf80009015526..."} 
[2026-09-07 07:30:30] local.INFO: Processing buffer {"connection_id":174508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07996b110012d82964005d86bf80009015526..."} 
[2026-09-07 07:30:30] local.INFO: Packet analysis {"connection_id":174508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:30] local.INFO: Extracted packet for processing {"connection_id":174508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763532864,"raw_latitude":98069496,"longitude_deg":76.3532864,"latitude_deg":9.8069496,"altitude":9,"angle":341,"satellites":38,"speed":21,"hex_longitude":"2d829640","hex_latitude":"05d86bf8","is_valid_coordinates":true} 
[2026-09-07 07:30: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-07 07:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919055360001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129208249944637440,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627213543424,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:30] 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-07 07:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788746314000,"timestamp_ms":1788746314000,"timestamp_seconds":1788746314,"priority":1,"record_length":96,"hex_timestamp":"000001a07996b110"} 
[2026-09-07 07:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 07:30:30] 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-07 07:30: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-07 07:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:30:30] 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-07 07:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919055360001,"66":13450,"47":206,"85":15104,"24":21,"16":129208249944637440,"45":-9036472627213543424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-07 07:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919055360001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:30:30] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 07:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129208249944637440,"km_value":129208249944637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627213543424,"description":"Unknown IO ID 45"} 
[2026-09-07 07:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919055360001,"power":13450,"unknown_47":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9036472627213543424}} 
[2026-09-07 07:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":174508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:30:30] local.INFO: GPS data processed {"connection_id":174508,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:30:30] local.INFO: Acknowledgment sent {"connection_id":174508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:30:45] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:45] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:45] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:30:46] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:46] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:46] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:30:48] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:48] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:48] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:30:51] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:51] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:30:51] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:30:52] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079970700012d1def4006d1e3080011014725..."} 
[2026-09-07 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079970700012d1def4006d1e3080011014725..."} 
[2026-09-07 07:30:52] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079970700012d1def4006d1e3080011014725..."} 
[2026-09-07 07:30:52] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:30:52] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756936512,"raw_latitude":114418440,"longitude_deg":75.6936512,"latitude_deg":11.441844,"altitude":17,"angle":327,"satellites":37,"speed":32,"hex_longitude":"2d1def40","hex_latitude":"06d1e308","is_valid_coordinates":true} 
[2026-09-07 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-07 07:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919058432001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400870020952883200,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2162642644101261312,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746336000,"timestamp_ms":1788746336000,"timestamp_seconds":1788746336,"priority":1,"record_length":96,"hex_timestamp":"000001a079970700"} 
[2026-09-07 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-07 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:52] 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-07 07:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919058432001,"66":27745,"16":400870020952883200,"81":20480,"24":32,"45":2162642644101261312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-07 07:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919058432001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400870020952883200,"km_value":400870020952883.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:30:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2162642644101261312,"description":"Unknown IO ID 45"} 
[2026-09-07 07:30:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919058432001,"power":27745,"odometer":null,"unknown_81":20480,"ignition":32,"unknown_45":2162642644101261312}} 
[2026-09-07 07:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:30:52] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:30:52] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:30:53] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:53] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:30:53] local.INFO: IMEI packet received {"connection_id":173360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:30:54] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07996eba8012d82874005d88ce00008015628..."} 
[2026-09-07 07:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07996eba8012d82874005d88ce00008015628..."} 
[2026-09-07 07:30:54] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07996eba8012d82874005d88ce00008015628..."} 
[2026-09-07 07:30:54] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:54] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07996"} 
[2026-09-07 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":763529024,"raw_latitude":98077920,"longitude_deg":76.3529024,"latitude_deg":9.807792,"altitude":8,"angle":342,"satellites":40,"speed":36,"hex_longitude":"2d828740","hex_latitude":"05d88ce0","is_valid_coordinates":true} 
[2026-09-07 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919056384001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129208700916203520,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036965208422352896,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:54] 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-07 07:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746329000,"timestamp_ms":1788746329000,"timestamp_seconds":1788746329,"priority":1,"record_length":96,"hex_timestamp":"000001a07996eba8"} 
[2026-09-07 07:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 07:30:54] 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-07 07:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:30:54] 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-07 07:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919056384001,"66":13319,"47":206,"85":15104,"24":36,"16":129208700916203520,"45":-9036965208422352896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-09-07 07:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919056384001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:30:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 07:30:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129208700916203520,"km_value":129208700916203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036965208422352896,"description":"Unknown IO ID 45"} 
[2026-09-07 07:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919056384001,"power":13319,"unknown_47":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9036965208422352896}} 
[2026-09-07 07:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:30:54] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:30:54] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:30:56] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079972640012d1de48006d1f0580011013927..."} 
[2026-09-07 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079972640012d1de48006d1f0580011013927..."} 
[2026-09-07 07:30:56] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079972640012d1de48006d1f0580011013927..."} 
[2026-09-07 07:30:56] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:30:56] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756933760,"raw_latitude":114421848,"longitude_deg":75.693376,"latitude_deg":11.4421848,"altitude":17,"angle":313,"satellites":39,"speed":19,"hex_longitude":"2d1de480","hex_latitude":"06d1f058","is_valid_coordinates":true} 
[2026-09-07 07:30: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-07 07:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919062016001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400870231406280704,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2157013144569055232,"note":"Value kept but may cause issues"} 
[2026-09-07 07:30:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,81,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 07:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788746344000,"timestamp_ms":1788746344000,"timestamp_seconds":1788746344,"priority":1,"record_length":96,"hex_timestamp":"000001a079972640"} 
[2026-09-07 07:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:30:56] 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-07 07:30: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-07 07:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:30:56] 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-07 07:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919062016001,"66":27800,"16":400870231406280704,"81":20480,"24":19,"45":2157013144569055232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,81,24,45]} 
[2026-09-07 07:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919062016001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400870231406280704,"km_value":400870231406280.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:30:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2157013144569055232,"description":"Unknown IO ID 45"} 
[2026-09-07 07:30:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919062016001,"power":27800,"odometer":null,"unknown_81":20480,"ignition":19,"unknown_45":2157013144569055232}} 
[2026-09-07 07:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:30:56] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:30:56] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:31:25] local.INFO: TCP Data received {"connection_id":173360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07998d008012d82420005d9f3800008015f27..."} 
[2026-09-07 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07998d008012d82420005d9f3800008015f27..."} 
[2026-09-07 07:31:25] local.INFO: Processing buffer {"connection_id":173360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07998d008012d82420005d9f3800008015f27..."} 
[2026-09-07 07:31:25] local.INFO: Packet analysis {"connection_id":173360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07998"} 
[2026-09-07 07:31:25] local.INFO: Extracted packet for processing {"connection_id":173360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07998"} 
[2026-09-07 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763511296,"raw_latitude":98169728,"longitude_deg":76.3511296,"latitude_deg":9.8169728,"altitude":8,"angle":351,"satellites":39,"speed":12,"hex_longitude":"2d824200","hex_latitude":"05d9f380","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919086848001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129213275056373760,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059764681511536640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788746453000,"timestamp_ms":1788746453000,"timestamp_seconds":1788746453,"priority":1,"record_length":96,"hex_timestamp":"000001a07998d008"} 
[2026-09-07 07: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-07 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 07:31:25] 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-07 07: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-07 07: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-07 07:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:31:25] 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-07 07:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919086848001,"66":13537,"69":206,"85":15104,"24":12,"16":129213275056373760,"45":-9059764681511536640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-09-07 07:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919086848001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:31:25] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-09-07 07:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129213275056373760,"km_value":129213275056373.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059764681511536640,"description":"Unknown IO ID 45"} 
[2026-09-07 07:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919086848001,"power":13537,"unknown_69":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9059764681511536640}} 
[2026-09-07 07:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":173360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:31:25] local.INFO: GPS data processed {"connection_id":173360,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:31:25] local.INFO: Acknowledgment sent {"connection_id":173360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:31:27] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079977848012d1dd04006d202d8001301382a..."} 
[2026-09-07 07:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079977848012d1dd04006d202d8001301382a..."} 
[2026-09-07 07:31:27] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079977848012d1dd04006d202d8001301382a..."} 
[2026-09-07 07:31:27] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:31:27] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756928576,"raw_latitude":114426584,"longitude_deg":75.6928576,"latitude_deg":11.4426584,"altitude":19,"angle":312,"satellites":42,"speed":22,"hex_longitude":"2d1dd040","hex_latitude":"06d202d8","is_valid_coordinates":true} 
[2026-09-07 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919064064001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400870570708697088,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153987288570288128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788746365000,"timestamp_ms":1788746365000,"timestamp_seconds":1788746365,"priority":1,"record_length":96,"hex_timestamp":"000001a079977848"} 
[2026-09-07 07:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:31:27] 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-07 07:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:31:27] 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-07 07:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919064064001,"66":27767,"18":206,"81":20480,"24":22,"16":400870570708697088,"45":2153987288570288128},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919064064001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:31:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:31:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400870570708697088,"km_value":400870570708697.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2153987288570288128,"description":"Unknown IO ID 45"} 
[2026-09-07 07:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919064064001,"power":27767,"unknown_18":206,"unknown_81":20480,"ignition":22,"odometer":null,"unknown_45":2153987288570288128}} 
[2026-09-07 07:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:31:27] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:31:27] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:31:45] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:45] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:45] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:31:46] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:46] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:46] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:31:47] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:47] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:47] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:31:47] local.INFO: TCP Data received {"connection_id":173123,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:31:47] local.INFO: Processing buffer {"connection_id":173123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:31:47] local.INFO: IMEI packet received {"connection_id":173123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:31:48] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:48] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:48] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:31:49] local.INFO: TCP Data received {"connection_id":173122,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:49] local.INFO: Processing buffer {"connection_id":173122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:31:49] local.INFO: IMEI packet received {"connection_id":173122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":173122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:31:50] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:50] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:31:50] local.INFO: IMEI packet received {"connection_id":174509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":174509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:31:51] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07997ab10012d1db54006d21bb8001101372b..."} 
[2026-09-07 07:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07997ab10012d1db54006d21bb8001101372b..."} 
[2026-09-07 07:31:51] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07997ab10012d1db54006d21bb8001101372b..."} 
[2026-09-07 07:31:51] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:31:51] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756921664,"raw_latitude":114432952,"longitude_deg":75.6921664,"latitude_deg":11.4432952,"altitude":17,"angle":311,"satellites":43,"speed":35,"hex_longitude":"2d1db540","hex_latitude":"06d21bb8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919069440001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400871021680263168,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2148287420293109760,"note":"Value kept but may cause issues"} 
[2026-09-07 07:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788746378000,"timestamp_ms":1788746378000,"timestamp_seconds":1788746378,"priority":1,"record_length":96,"hex_timestamp":"000001a07997ab10"} 
[2026-09-07 07: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-07 07:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:31:51] 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-07 07:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919069440001,"66":27745,"18":206,"81":20480,"24":35,"16":400871021680263168,"45":2148287420293109760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919069440001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:31:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400871021680263168,"km_value":400871021680263.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2148287420293109760,"description":"Unknown IO ID 45"} 
[2026-09-07 07:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919069440001,"power":27745,"unknown_18":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":2148287420293109760}} 
[2026-09-07 07:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:31:51] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:31:51] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:32:23] local.INFO: TCP Data received {"connection_id":174509,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07997d220012d1d9a8006d232e8000f01372a..."} 
[2026-09-07 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07997d220012d1d9a8006d232e8000f01372a..."} 
[2026-09-07 07:32:23] local.INFO: Processing buffer {"connection_id":174509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07997d220012d1d9a8006d232e8000f01372a..."} 
[2026-09-07 07:32:23] local.INFO: Packet analysis {"connection_id":174509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:32:23] local.INFO: Extracted packet for processing {"connection_id":174509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07997"} 
[2026-09-07 07:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756914816,"raw_latitude":114438888,"longitude_deg":75.6914816,"latitude_deg":11.4438888,"altitude":15,"angle":311,"satellites":42,"speed":37,"hex_longitude":"2d1d9a80","hex_latitude":"06d232e8","is_valid_coordinates":true} 
[2026-09-07 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919072768001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400871455471960064,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2140687595923552256,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746388000,"timestamp_ms":1788746388000,"timestamp_seconds":1788746388,"priority":1,"record_length":96,"hex_timestamp":"000001a07997d220"} 
[2026-09-07 07:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:32: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-07 07:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:32:23] 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-07 07:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:32:23] 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-07 07:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919072768001,"66":27691,"18":206,"81":20480,"24":37,"16":400871455471960064,"45":2140687595923552256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 07:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919072768001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:32:23] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 07:32:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400871455471960064,"km_value":400871455471960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2140687595923552256,"description":"Unknown IO ID 45"} 
[2026-09-07 07:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919072768001,"power":27691,"unknown_18":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":2140687595923552256}} 
[2026-09-07 07:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":174509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:32:23] local.INFO: GPS data processed {"connection_id":174509,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:32:23] local.INFO: Acknowledgment sent {"connection_id":174509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:32:44] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:44] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:44] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:32:45] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:45] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:45] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:32:50] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:50] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:32:50] local.INFO: IMEI packet received {"connection_id":174510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":174510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:32:52] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07999a2f8012d1cc78006d36cd8000e013d2b..."} 
[2026-09-07 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07999a2f8012d1cc78006d36cd8000e013d2b..."} 
[2026-09-07 07:32:52] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07999a2f8012d1cc78006d36cd8000e013d2b..."} 
[2026-09-07 07:32:52] local.INFO: Packet analysis {"connection_id":174510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:32:52] local.INFO: Extracted packet for processing {"connection_id":174510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756860800,"raw_latitude":114519256,"longitude_deg":75.68608,"latitude_deg":11.4519256,"altitude":14,"angle":317,"satellites":43,"speed":40,"hex_longitude":"2d1cc780","hex_latitude":"06d36cd8","is_valid_coordinates":true} 
[2026-09-07 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919103488001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400876167051083776,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2080874163393011712,"note":"Value kept but may cause issues"} 
[2026-09-07 07:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746507000,"timestamp_ms":1788746507000,"timestamp_seconds":1788746507,"priority":1,"record_length":96,"hex_timestamp":"000001a07999a2f8"} 
[2026-09-07 07:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 07:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:32:52] 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-07 07:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919103488001,"66":27517,"82":206,"81":20480,"24":40,"16":400876167051083776,"45":2080874163393011712},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 07:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919103488001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:32:52] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 07:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400876167051083776,"km_value":400876167051083.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2080874163393011712,"description":"Unknown IO ID 45"} 
[2026-09-07 07:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919103488001,"power":27517,"unknown_82":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2080874163393011712}} 
[2026-09-07 07:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":174510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:32:52] local.INFO: GPS data processed {"connection_id":174510,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:32:52] local.INFO: Acknowledgment sent {"connection_id":174510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:33:23] local.INFO: TCP Data received {"connection_id":174510,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07999be50012d1cb60006d384e8000f014829..."} 
[2026-09-07 07:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07999be50012d1cb60006d384e8000f014829..."} 
[2026-09-07 07:33:23] local.INFO: Processing buffer {"connection_id":174510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07999be50012d1cb60006d384e8000f014829..."} 
[2026-09-07 07:33:23] local.INFO: Packet analysis {"connection_id":174510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:33:23] local.INFO: Extracted packet for processing {"connection_id":174510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756856320,"raw_latitude":114525416,"longitude_deg":75.685632,"latitude_deg":11.4525416,"altitude":15,"angle":328,"satellites":41,"speed":45,"hex_longitude":"2d1cb600","hex_latitude":"06d384e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919105792001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400876536418271232,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2073766920232687616,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746514000,"timestamp_ms":1788746514000,"timestamp_seconds":1788746514,"priority":1,"record_length":96,"hex_timestamp":"000001a07999be50"} 
[2026-09-07 07: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-07 07: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-07 07: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 07:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:33:23] 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-07 07:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919105792001,"66":27626,"82":206,"81":20480,"24":45,"16":400876536418271232,"45":2073766920232687616},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 07:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919105792001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:33:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 07:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400876536418271232,"km_value":400876536418271.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2073766920232687616,"description":"Unknown IO ID 45"} 
[2026-09-07 07:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919105792001,"power":27626,"unknown_82":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":2073766920232687616}} 
[2026-09-07 07:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":174510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:33:23] local.INFO: GPS data processed {"connection_id":174510,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:33:23] local.INFO: Acknowledgment sent {"connection_id":174510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:33:46] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:46] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:46] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:33:51] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:51] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:33:51] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:33:52] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07999cdf0012d1cae4006d394f0000e01552a..."} 
[2026-09-07 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07999cdf0012d1cae4006d394f0000e01552a..."} 
[2026-09-07 07:33:52] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07999cdf0012d1cae4006d394f0000e01552a..."} 
[2026-09-07 07:33:52] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:33:52] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756854336,"raw_latitude":114529520,"longitude_deg":75.6854336,"latitude_deg":11.452952,"altitude":14,"angle":341,"satellites":42,"speed":46,"hex_longitude":"2d1cae40","hex_latitude":"06d394f0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919107584001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400876755461603328,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2068841108141828096,"note":"Value kept but may cause issues"} 
[2026-09-07 07:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746518000,"timestamp_ms":1788746518000,"timestamp_seconds":1788746518,"priority":1,"record_length":96,"hex_timestamp":"000001a07999cdf0"} 
[2026-09-07 07: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-07 07:33: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-07 07: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 07:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:33:52] 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-07 07:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919107584001,"66":27691,"13":206,"81":20480,"24":46,"16":400876755461603328,"45":2068841108141828096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-09-07 07:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919107584001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:33:52] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 07:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400876755461603328,"km_value":400876755461603.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2068841108141828096,"description":"Unknown IO ID 45"} 
[2026-09-07 07:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919107584001,"power":27691,"unknown_13":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":2068841108141828096}} 
[2026-09-07 07:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:33:52] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:33:52] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:34:23] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07999e948012d1ca0c006d3b3e0000e014929..."} 
[2026-09-07 07:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07999e948012d1ca0c006d3b3e0000e014929..."} 
[2026-09-07 07:34:23] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07999e948012d1ca0c006d3b3e0000e014929..."} 
[2026-09-07 07:34:23] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:34:23] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07999"} 
[2026-09-07 07:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756850880,"raw_latitude":114537440,"longitude_deg":75.685088,"latitude_deg":11.453744,"altitude":14,"angle":329,"satellites":41,"speed":49,"hex_longitude":"2d1ca0c0","hex_latitude":"06d3b3e0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919108608001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400877172073431040,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2066659677073371136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746525000,"timestamp_ms":1788746525000,"timestamp_seconds":1788746525,"priority":1,"record_length":96,"hex_timestamp":"000001a07999e948"} 
[2026-09-07 07: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-07 07:34: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-07 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:34:23] 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-07 07:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919108608001,"66":27691,"13":206,"81":20480,"24":49,"16":400877172073431040,"45":2066659677073371136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-09-07 07:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919108608001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:34:23] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 07:34:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400877172073431040,"km_value":400877172073431.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2066659677073371136,"description":"Unknown IO ID 45"} 
[2026-09-07 07:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919108608001,"power":27691,"unknown_13":206,"unknown_81":20480,"ignition":49,"odometer":null,"unknown_45":2066659677073371136}} 
[2026-09-07 07:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:34:23] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:34:23] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:34:47] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:47] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:47] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:34:50] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:50] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:50] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:34:55] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:55] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:34:55] local.INFO: IMEI packet received {"connection_id":173126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":173126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:34:56] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799a0888012d1c8d8006d3d348000f014a2a..."} 
[2026-09-07 07:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799a0888012d1c8d8006d3d348000f014a2a..."} 
[2026-09-07 07:34:56] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799a0888012d1c8d8006d3d348000f014a2a..."} 
[2026-09-07 07:34:56] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799a"} 
[2026-09-07 07:34:56] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799a"} 
[2026-09-07 07:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756845952,"raw_latitude":114545480,"longitude_deg":75.6845952,"latitude_deg":11.454548,"altitude":15,"angle":330,"satellites":42,"speed":43,"hex_longitude":"2d1c8d80","hex_latitude":"06d3d348","is_valid_coordinates":true} 
[2026-09-07 07:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919110400001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400877627339964416,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2062859764889804800,"note":"Value kept but may cause issues"} 
[2026-09-07 07:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788746533000,"timestamp_ms":1788746533000,"timestamp_seconds":1788746533,"priority":1,"record_length":96,"hex_timestamp":"000001a0799a0888"} 
[2026-09-07 07:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:34:56] 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-07 07:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919110400001,"66":27767,"13":206,"81":20480,"24":43,"16":400877627339964416,"45":2062859764889804800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,81,24,16,45]} 
[2026-09-07 07:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919110400001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:34:56] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 07:34:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400877627339964416,"km_value":400877627339964.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2062859764889804800,"description":"Unknown IO ID 45"} 
[2026-09-07 07:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919110400001,"power":27767,"unknown_13":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":2062859764889804800}} 
[2026-09-07 07:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:34:56] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:34:56] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:35:28] local.INFO: TCP Data received {"connection_id":173126,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799c3338012d1bda8006d48930000d013828..."} 
[2026-09-07 07:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799c3338012d1bda8006d48930000d013828..."} 
[2026-09-07 07:35:28] local.INFO: Processing buffer {"connection_id":173126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799c3338012d1bda8006d48930000d013828..."} 
[2026-09-07 07:35:28] local.INFO: Packet analysis {"connection_id":173126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:28] local.INFO: Extracted packet for processing {"connection_id":173126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756800128,"raw_latitude":114592048,"longitude_deg":75.6800128,"latitude_deg":11.4592048,"altitude":13,"angle":312,"satellites":40,"speed":46,"hex_longitude":"2d1bda80","hex_latitude":"06d48930","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919148032001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400880904400011264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2009801731793176576,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788746675000,"timestamp_ms":1788746675000,"timestamp_seconds":1788746675,"priority":1,"record_length":96,"hex_timestamp":"000001a0799c3338"} 
[2026-09-07 07: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-07 07:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:28] 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-07 07:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919148032001,"66":27767,"243":206,"81":20480,"24":46,"16":400880904400011264,"45":2009801731793176576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-07 07:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919148032001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:35:28] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-07 07:35:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400880904400011264,"km_value":400880904400011.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2009801731793176576,"description":"Unknown IO ID 45"} 
[2026-09-07 07:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919148032001,"power":27767,"unknown_243":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":2009801731793176576}} 
[2026-09-07 07:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":173126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:35:28] local.INFO: GPS data processed {"connection_id":173126,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:35:28] local.INFO: Acknowledgment sent {"connection_id":173126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:35:45] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:45] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:45] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:35:46] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:46] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:46] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:35:51] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:51] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:35:51] local.INFO: IMEI packet received {"connection_id":175844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":175844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:35:52] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799c5278012d1bbe0006d4a0e0000d013028..."} 
[2026-09-07 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799c5278012d1bbe0006d4a0e0000d013028..."} 
[2026-09-07 07:35:52] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799c5278012d1bbe0006d4a0e0000d013028..."} 
[2026-09-07 07:35:52] local.INFO: Packet analysis {"connection_id":175844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:52] local.INFO: Extracted packet for processing {"connection_id":175844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756792832,"raw_latitude":114598112,"longitude_deg":75.6792832,"latitude_deg":11.4598112,"altitude":13,"angle":304,"satellites":40,"speed":48,"hex_longitude":"2d1bbe00","hex_latitude":"06d4a0e0","is_valid_coordinates":true} 
[2026-09-07 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-07 07:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919148800001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400881363961511936,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2007057350770896896,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746683000,"timestamp_ms":1788746683000,"timestamp_seconds":1788746683,"priority":1,"record_length":96,"hex_timestamp":"000001a0799c5278"} 
[2026-09-07 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-07 07:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:52] 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-07 07:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919148800001,"66":27615,"243":206,"81":20480,"24":48,"16":400881363961511936,"45":2007057350770896896},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-07 07:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919148800001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:35:52] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-07 07:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400881363961511936,"km_value":400881363961511.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2007057350770896896,"description":"Unknown IO ID 45"} 
[2026-09-07 07:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919148800001,"power":27615,"unknown_243":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":2007057350770896896}} 
[2026-09-07 07:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":175844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:35:52] local.INFO: GPS data processed {"connection_id":175844,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:35:52] local.INFO: Acknowledgment sent {"connection_id":175844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:35:55] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799c6218012d1bacc006d4a9c8000d012425..."} 
[2026-09-07 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799c6218012d1bacc006d4a9c8000d012425..."} 
[2026-09-07 07:35:55] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799c6218012d1bacc006d4a9c8000d012425..."} 
[2026-09-07 07:35:55] local.INFO: Packet analysis {"connection_id":175844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:55] local.INFO: Extracted packet for processing {"connection_id":175844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756788416,"raw_latitude":114600392,"longitude_deg":75.6788416,"latitude_deg":11.4600392,"altitude":13,"angle":292,"satellites":37,"speed":47,"hex_longitude":"2d1bacc0","hex_latitude":"06d4a9c8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919150848001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400881600184713216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1999035313936195584,"note":"Value kept but may cause issues"} 
[2026-09-07 07:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788746687000,"timestamp_ms":1788746687000,"timestamp_seconds":1788746687,"priority":1,"record_length":96,"hex_timestamp":"000001a0799c6218"} 
[2026-09-07 07: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-07 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 07:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:35:55] 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-07 07:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919150848001,"66":27626,"243":206,"81":20480,"24":47,"16":400881600184713216,"45":1999035313936195584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,81,24,16,45]} 
[2026-09-07 07:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919150848001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:35:55] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-07 07:35:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400881600184713216,"km_value":400881600184713.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1999035313936195584,"description":"Unknown IO ID 45"} 
[2026-09-07 07:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919150848001,"power":27626,"unknown_243":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1999035313936195584}} 
[2026-09-07 07:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":175844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:35:55] local.INFO: GPS data processed {"connection_id":175844,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:35:55] local.INFO: Acknowledgment sent {"connection_id":175844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:36:29] local.INFO: TCP Data received {"connection_id":175844,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799c8158012d1b894006d4b6a0000d012029..."} 
[2026-09-07 07:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799c8158012d1b894006d4b6a0000d012029..."} 
[2026-09-07 07:36:29] local.INFO: Processing buffer {"connection_id":175844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799c8158012d1b894006d4b6a0000d012029..."} 
[2026-09-07 07:36:29] local.INFO: Packet analysis {"connection_id":175844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:29] local.INFO: Extracted packet for processing {"connection_id":175844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756779328,"raw_latitude":114603680,"longitude_deg":75.6779328,"latitude_deg":11.460368,"altitude":13,"angle":288,"satellites":41,"speed":47,"hex_longitude":"2d1b8940","hex_latitude":"06d4b6a0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919151872001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400882059746213888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1994179870588520448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788746695000,"timestamp_ms":1788746695000,"timestamp_seconds":1788746695,"priority":1,"record_length":96,"hex_timestamp":"000001a0799c8158"} 
[2026-09-07 07: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-07 07: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-07 07: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 07:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:29] 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-07 07:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919151872001,"66":27767,"101":206,"81":20480,"24":47,"16":400882059746213888,"45":1994179870588520448},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-07 07:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919151872001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:36:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 07:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400882059746213888,"km_value":400882059746213.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1994179870588520448,"description":"Unknown IO ID 45"} 
[2026-09-07 07:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919151872001,"power":27767,"unknown_101":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1994179870588520448}} 
[2026-09-07 07:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":175844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:36:29] local.INFO: GPS data processed {"connection_id":175844,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:36:29] local.INFO: Acknowledgment sent {"connection_id":175844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:36:46] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:36:46] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:46] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:36:52] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:52] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:36:52] local.INFO: IMEI packet received {"connection_id":173127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:36:53] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799c98c8012d1b708006d4c0b0000c01322a..."} 
[2026-09-07 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799c98c8012d1b708006d4c0b0000c01322a..."} 
[2026-09-07 07:36:53] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799c98c8012d1b708006d4c0b0000c01322a..."} 
[2026-09-07 07:36:53] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:53] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756772992,"raw_latitude":114606256,"longitude_deg":75.6772992,"latitude_deg":11.4606256,"altitude":12,"angle":306,"satellites":42,"speed":42,"hex_longitude":"2d1b7080","hex_latitude":"06d4c0b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919153920001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400882386163728384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1984187508916133888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788746701000,"timestamp_ms":1788746701000,"timestamp_seconds":1788746701,"priority":1,"record_length":96,"hex_timestamp":"000001a0799c98c8"} 
[2026-09-07 07: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-07 07:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:53] 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-07 07:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919153920001,"66":27767,"101":206,"81":20480,"24":42,"16":400882386163728384,"45":1984187508916133888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-07 07:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919153920001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:36:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 07:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400882386163728384,"km_value":400882386163728.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1984187508916133888,"description":"Unknown IO ID 45"} 
[2026-09-07 07:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919153920001,"power":27767,"unknown_101":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1984187508916133888}} 
[2026-09-07 07:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:36:53] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:36:53] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:36:55] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799cb420012d1b580006d4d250000c01232a..."} 
[2026-09-07 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799cb420012d1b580006d4d250000c01232a..."} 
[2026-09-07 07:36:55] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799cb420012d1b580006d4d250000c01232a..."} 
[2026-09-07 07:36:55] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:55] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":114610768,"longitude_deg":75.676672,"latitude_deg":11.4610768,"altitude":12,"angle":291,"satellites":42,"speed":43,"hex_longitude":"2d1b5800","hex_latitude":"06d4d250","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919155456001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400882759825883136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977221003243204608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788746708000,"timestamp_ms":1788746708000,"timestamp_seconds":1788746708,"priority":1,"record_length":96,"hex_timestamp":"000001a0799cb420"} 
[2026-09-07 07: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-07 07:36: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:36:55] 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-07 07:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919155456001,"66":27767,"101":206,"81":20480,"24":43,"16":400882759825883136,"45":1977221003243204608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-07 07:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919155456001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:36:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 07:36:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400882759825883136,"km_value":400882759825883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977221003243204608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919155456001,"power":27767,"unknown_101":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1977221003243204608}} 
[2026-09-07 07:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:36:55] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:36:55] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:36:55] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:36:55] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:36:55] local.INFO: IMEI packet received {"connection_id":174513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":174513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:36:57] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e0be0012d7f864005dcc2900001014526..."} 
[2026-09-07 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e0be0012d7f864005dcc2900001014526..."} 
[2026-09-07 07:36:57] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e0be0012d7f864005dcc2900001014526..."} 
[2026-09-07 07:36:57] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:36:57] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763332160,"raw_latitude":98353808,"longitude_deg":76.333216,"latitude_deg":9.8353808,"altitude":1,"angle":325,"satellites":38,"speed":38,"hex_longitude":"2d7f8640","hex_latitude":"05dcc290","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919177984001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129228505010405376,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445849217024,"note":"Value kept but may cause issues"} 
[2026-09-07 07:36:57] 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-07 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788746796000,"timestamp_ms":1788746796000,"timestamp_seconds":1788746796,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e0be0"} 
[2026-09-07 07: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-07 07:36: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-07 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 07:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:36:57] 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-07 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919177984001,"66":13461,"251":206,"85":15104,"24":38,"16":129228505010405376,"45":9192339445849217024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-07 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919177984001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:36:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-07 07:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129228505010405376,"km_value":129228505010405.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445849217024,"description":"Unknown IO ID 45"} 
[2026-09-07 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919177984001,"power":13461,"unknown_251":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9192339445849217024}} 
[2026-09-07 07:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:36:57] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:36:57] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:37:13] local.INFO: TCP Data received {"connection_id":174512,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:37:13] local.INFO: Processing buffer {"connection_id":174512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:37:13] local.INFO: IMEI packet received {"connection_id":174512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":174512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:37:28] local.INFO: TCP Data received {"connection_id":174513,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e13b0012d7f810005dcc7e00001013926..."} 
[2026-09-07 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e13b0012d7f810005dcc7e00001013926..."} 
[2026-09-07 07:37:28] local.INFO: Processing buffer {"connection_id":174513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e13b0012d7f810005dcc7e00001013926..."} 
[2026-09-07 07:37:28] local.INFO: Packet analysis {"connection_id":174513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:28] local.INFO: Extracted packet for processing {"connection_id":174513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763330816,"raw_latitude":98355168,"longitude_deg":76.3330816,"latitude_deg":9.8355168,"altitude":1,"angle":313,"satellites":38,"speed":34,"hex_longitude":"2d7f8100","hex_latitude":"05dcc7e0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919179776001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129228595204718592,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189102483618828288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:28] 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-07 07:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788746798000,"timestamp_ms":1788746798000,"timestamp_seconds":1788746798,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e13b0"} 
[2026-09-07 07: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-07 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 07:37:28] 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-07 07: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-07 07: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-07 07:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:37:28] 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-07 07:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919179776001,"66":13656,"251":206,"85":15104,"24":34,"16":129228595204718592,"45":9189102483618828288},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-07 07:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919179776001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:37:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-07 07:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129228595204718592,"km_value":129228595204718.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189102483618828288,"description":"Unknown IO ID 45"} 
[2026-09-07 07:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919179776001,"power":13656,"unknown_251":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9189102483618828288}} 
[2026-09-07 07:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":174513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:37:28] local.INFO: GPS data processed {"connection_id":174513,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:37:28] local.INFO: Acknowledgment sent {"connection_id":174513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:37:29] local.INFO: TCP Data received {"connection_id":173127,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799cd360012d1b358006d4dd58000e012127..."} 
[2026-09-07 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799cd360012d1b358006d4dd58000e012127..."} 
[2026-09-07 07:37:29] local.INFO: Processing buffer {"connection_id":173127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799cd360012d1b358006d4dd58000e012127..."} 
[2026-09-07 07:37:29] local.INFO: Packet analysis {"connection_id":173127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:37:29] local.INFO: Extracted packet for processing {"connection_id":173127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799c"} 
[2026-09-07 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":756757888,"raw_latitude":114613592,"longitude_deg":75.6757888,"latitude_deg":11.4613592,"altitude":14,"angle":289,"satellites":39,"speed":44,"hex_longitude":"2d1b3580","hex_latitude":"06d4dd58","is_valid_coordinates":true} 
[2026-09-07 07:37: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-07 07:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919157248001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400883202207514624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324866314948608,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788746716000,"timestamp_ms":1788746716000,"timestamp_seconds":1788746716,"priority":1,"record_length":96,"hex_timestamp":"000001a0799cd360"} 
[2026-09-07 07:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:37: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-07 07:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:29] 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-07 07:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919157248001,"66":27800,"101":206,"81":20480,"24":44,"16":400883202207514624,"45":1970324866314948608},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-09-07 07:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919157248001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:37:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 07:37:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400883202207514624,"km_value":400883202207514.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324866314948608,"description":"Unknown IO ID 45"} 
[2026-09-07 07:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919157248001,"power":27800,"unknown_101":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1970324866314948608}} 
[2026-09-07 07:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":173127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:37:29] local.INFO: GPS data processed {"connection_id":173127,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:37:29] local.INFO: Acknowledgment sent {"connection_id":173127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:37:45] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:45] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:45] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:37:48] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:48] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:48] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:37:50] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:50] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:50] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:37:50] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:50] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:37:50] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:37:51] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e3ac0012d19d50006d5a590000a012d29..."} 
[2026-09-07 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e3ac0012d19d50006d5a590000a012d29..."} 
[2026-09-07 07:37:51] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e3ac0012d19d50006d5a590000a012d29..."} 
[2026-09-07 07:37:51] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:51] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756667648,"raw_latitude":114664848,"longitude_deg":75.6667648,"latitude_deg":11.4664848,"altitude":10,"angle":301,"satellites":41,"speed":46,"hex_longitude":"2d19d500","hex_latitude":"06d5a590","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919180800001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400888171484676096,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869486455920824320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788746808000,"timestamp_ms":1788746808000,"timestamp_seconds":1788746808,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e3ac0"} 
[2026-09-07 07: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-07 07:37: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-07 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:37:51] 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-07 07: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-07 07: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-07 07:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:51] 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-07 07:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919180800001,"66":27843,"159":206,"81":20480,"24":46,"16":400888171484676096,"45":1869486455920824320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919180800001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:37:51] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400888171484676096,"km_value":400888171484676.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869486455920824320,"description":"Unknown IO ID 45"} 
[2026-09-07 07:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919180800001,"power":27843,"unknown_159":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1869486455920824320}} 
[2026-09-07 07:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:37:51] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:37:51] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:37:54] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:54] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:54] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:37:56] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e5a00012d19b3c006d5b790000b012922..."} 
[2026-09-07 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e5a00012d19b3c006d5b790000b012922..."} 
[2026-09-07 07:37:56] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e5a00012d19b3c006d5b790000b012922..."} 
[2026-09-07 07:37:56] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:56] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":114669456,"longitude_deg":75.6659136,"latitude_deg":11.4669456,"altitude":11,"angle":297,"satellites":34,"speed":47,"hex_longitude":"2d19b3c0","hex_latitude":"06d5b790","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919182848001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400888631046176768,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861394050341769216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788746816000,"timestamp_ms":1788746816000,"timestamp_seconds":1788746816,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e5a00"} 
[2026-09-07 07: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-07 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 07:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:37:56] 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-07 07:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919182848001,"66":27647,"159":206,"81":20480,"24":47,"16":400888631046176768,"45":1861394050341769216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919182848001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:37:56] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:37:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400888631046176768,"km_value":400888631046176.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861394050341769216,"description":"Unknown IO ID 45"} 
[2026-09-07 07:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919182848001,"power":27647,"unknown_159":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1861394050341769216}} 
[2026-09-07 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:37:56] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:37:56] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:37:58] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:58] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:37:58] local.INFO: IMEI packet received {"connection_id":174515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:37:59] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e2350012d7f784005dcd1e00000014b27..."} 
[2026-09-07 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e2350012d7f784005dcd1e00000014b27..."} 
[2026-09-07 07:37:59] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e2350012d7f784005dcd1e00000014b27..."} 
[2026-09-07 07:37:59] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:59] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763328576,"raw_latitude":98357728,"longitude_deg":76.3328576,"latitude_deg":9.8357728,"altitude":0,"angle":331,"satellites":39,"speed":33,"hex_longitude":"2d7f7840","hex_latitude":"05dcd1e0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919180288001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129228762708443136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9187624739991445504,"note":"Value kept but may cause issues"} 
[2026-09-07 07:37:59] 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-07 07:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788746802000,"timestamp_ms":1788746802000,"timestamp_seconds":1788746802,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e2350"} 
[2026-09-07 07: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-07 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 07:37:59] 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-07 07: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-07 07: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-07 07:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:37:59] 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-07 07:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919180288001,"66":13580,"251":206,"85":15104,"24":33,"16":129228762708443136,"45":9187624739991445504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-07 07:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919180288001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:37:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-07 07:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129228762708443136,"km_value":129228762708443.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9187624739991445504,"description":"Unknown IO ID 45"} 
[2026-09-07 07:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919180288001,"power":13580,"unknown_251":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9187624739991445504}} 
[2026-09-07 07:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:00] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:00] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:00] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e2b20012d7f75c005dcd8600000015b27..."} 
[2026-09-07 07:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e2b20012d7f75c005dcd8600000015b27..."} 
[2026-09-07 07:38:00] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e2b20012d7f75c005dcd8600000015b27..."} 
[2026-09-07 07:38:00] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:00] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:00] local.INFO: GPS Element Parsed {"raw_longitude":763327936,"raw_latitude":98359392,"longitude_deg":76.3327936,"latitude_deg":9.8359392,"altitude":0,"angle":347,"satellites":39,"speed":34,"hex_longitude":"2d7f75c0","hex_latitude":"05dcd860","is_valid_coordinates":true} 
[2026-09-07 07:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919181312001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129228848607789056,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9185161833945882624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] 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-07 07:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788746804000,"timestamp_ms":1788746804000,"timestamp_seconds":1788746804,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e2b20"} 
[2026-09-07 07:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631131,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1955969703356661770,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2647482369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2249195523,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110821883,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2818244814,"corrected_to":0} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2415996287,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":467271680,"corrected_to":0} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699314688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-6503191417354452989,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451387478330965,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,251,85,24,241,157,16,28,160,19,45,199,1,38,10,66,11,64,194,240,192,34,227,121,220,4,113,205,27,197,176,37,239,52,2,203,5,3,20,127,53,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2818244814,"validated":0},{"io_id":203,"original":467271680,"validated":0}]} 
[2026-09-07 07:38:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":364105854681088,"timestamp_seconds":364105854681.088,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:00] 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-07 07:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919181312001,"66":13428,"251":206,"85":15104,"24":34,"16":129228848607789056,"45":9185161833945882624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-09-07 07:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919181312001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-07 07:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129228848607789056,"km_value":129228848607789.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9185161833945882624,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919181312001,"power":13428,"unknown_251":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9185161833945882624}} 
[2026-09-07 07:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:00] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:00] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:28] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e7940012d19924006d5c9580008012a24..."} 
[2026-09-07 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e7940012d19924006d5c9580008012a24..."} 
[2026-09-07 07:38:28] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e7940012d19924006d5c9580008012a24..."} 
[2026-09-07 07:38:28] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:28] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":114674008,"longitude_deg":75.665056,"latitude_deg":11.4674008,"altitude":8,"angle":298,"satellites":36,"speed":46,"hex_longitude":"2d199240","hex_latitude":"06d5c958","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919184896001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400889099197612032,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035007367319552,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788746824000,"timestamp_ms":1788746824000,"timestamp_seconds":1788746824,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e7940"} 
[2026-09-07 07: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-07 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:28] 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-07 07:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919184896001,"66":27832,"159":206,"81":20480,"24":46,"16":400889099197612032,"45":1852035007367319552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919184896001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:28] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:38:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400889099197612032,"km_value":400889099197612.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035007367319552,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919184896001,"power":27832,"unknown_159":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1852035007367319552}} 
[2026-09-07 07:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:28] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:28] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:32] local.INFO: TCP Data received {"connection_id":174515,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799f82e0012d7ef6c005de41480003015528..."} 
[2026-09-07 07:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799f82e0012d7ef6c005de41480003015528..."} 
[2026-09-07 07:38:32] local.INFO: Processing buffer {"connection_id":174515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799f82e0012d7ef6c005de41480003015528..."} 
[2026-09-07 07:38:32] local.INFO: Packet analysis {"connection_id":174515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:32] local.INFO: Extracted packet for processing {"connection_id":174515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763295424,"raw_latitude":98451784,"longitude_deg":76.3295424,"latitude_deg":9.8451784,"altitude":3,"angle":341,"satellites":40,"speed":51,"hex_longitude":"2d7ef6c0","hex_latitude":"05de4148","is_valid_coordinates":true} 
[2026-09-07 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919202560001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129233663266127872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151666311739201536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:32] 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-07 07:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788746892000,"timestamp_ms":1788746892000,"timestamp_seconds":1788746892,"priority":1,"record_length":96,"hex_timestamp":"000001a0799f82e0"} 
[2026-09-07 07:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:38: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-07 07:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:32] 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-07 07:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:32] 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-07 07:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919202560001,"66":13189,"113":206,"85":15104,"24":51,"16":129233663266127872,"45":9151666311739201536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-07 07:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919202560001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 07:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129233663266127872,"km_value":129233663266127.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151666311739201536,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919202560001,"power":13189,"unknown_113":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9151666311739201536}} 
[2026-09-07 07:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":174515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:32] local.INFO: GPS data processed {"connection_id":174515,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:32] local.INFO: Acknowledgment sent {"connection_id":174515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:45] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:45] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:45] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:38:47] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:47] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:47] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:38:48] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:48] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:48] local.INFO: IMEI packet received {"connection_id":173367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:38:51] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:51] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:38:51] local.INFO: IMEI packet received {"connection_id":173367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":173367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:38:52] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:52] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:38:52] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:38:52] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799f9e38012d7eec0005de62a80004015528..."} 
[2026-09-07 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799f9e38012d7eec0005de62a80004015528..."} 
[2026-09-07 07:38:52] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799f9e38012d7eec0005de62a80004015528..."} 
[2026-09-07 07:38:52] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:52] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763292672,"raw_latitude":98460328,"longitude_deg":76.3292672,"latitude_deg":9.8460328,"altitude":4,"angle":341,"satellites":40,"speed":49,"hex_longitude":"2d7eec00","hex_latitude":"05de62a8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919204352001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129234101352792064,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148710824485931008,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] 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-07 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746899000,"timestamp_ms":1788746899000,"timestamp_seconds":1788746899,"priority":1,"record_length":96,"hex_timestamp":"000001a0799f9e38"} 
[2026-09-07 07: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-07 07:38: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-07 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:52] 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-07 07: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-07 07: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-07 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:52] 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-07 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919204352001,"66":13406,"113":206,"85":15104,"24":49,"16":129234101352792064,"45":9148710824485931008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919204352001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129234101352792064,"km_value":129234101352792.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148710824485931008,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919204352001,"power":13406,"unknown_113":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9148710824485931008}} 
[2026-09-07 07:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:52] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:52] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:52] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799fbd78012d7edd8005de86800004015127..."} 
[2026-09-07 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799fbd78012d7edd8005de86800004015127..."} 
[2026-09-07 07:38:52] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799fbd78012d7edd8005de86800004015127..."} 
[2026-09-07 07:38:52] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:52] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763288960,"raw_latitude":98469504,"longitude_deg":76.328896,"latitude_deg":9.8469504,"altitude":4,"angle":337,"satellites":39,"speed":41,"hex_longitude":"2d7edd80","hex_latitude":"05de8680","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919206144001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129234578094161920,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145684968488478720,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:52] 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-07 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746907000,"timestamp_ms":1788746907000,"timestamp_seconds":1788746907,"priority":1,"record_length":96,"hex_timestamp":"000001a0799fbd78"} 
[2026-09-07 07: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-07 07:38: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-07 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:52] 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-07 07: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-07 07: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-07 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:38:52] 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-07 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919206144001,"66":13189,"113":206,"85":15104,"24":41,"16":129234578094161920,"45":9145684968488478720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-09-07 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919206144001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129234578094161920,"km_value":129234578094161.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145684968488478720,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919206144001,"power":13189,"unknown_113":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9145684968488478720}} 
[2026-09-07 07:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:52] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:52] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:53] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799e90b0012d197a4006d5d4180009011f26..."} 
[2026-09-07 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799e90b0012d197a4006d5d4180009011f26..."} 
[2026-09-07 07:38:53] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799e90b0012d197a4006d5d4180009011f26..."} 
[2026-09-07 07:38:53] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:53] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756644416,"raw_latitude":114676760,"longitude_deg":75.6644416,"latitude_deg":11.467676,"altitude":9,"angle":287,"satellites":38,"speed":43,"hex_longitude":"2d197a40","hex_latitude":"06d5d418","is_valid_coordinates":true} 
[2026-09-07 07:38: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-07 07:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919186944001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400889417025191936,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605595648677888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788746830000,"timestamp_ms":1788746830000,"timestamp_seconds":1788746830,"priority":1,"record_length":96,"hex_timestamp":"000001a0799e90b0"} 
[2026-09-07 07:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:38: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-07 07:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:53] 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-07 07:38: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-07 07:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:53] 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-07 07:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919186944001,"66":27908,"159":206,"81":20480,"24":43,"16":400889417025191936,"45":1842605595648677888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919186944001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:53] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:38:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400889417025191936,"km_value":400889417025191.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605595648677888,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919186944001,"power":27908,"unknown_159":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1842605595648677888}} 
[2026-09-07 07:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:53] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:53] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:38:55] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799eaff0012d19578006d5dbd00007011926..."} 
[2026-09-07 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799eaff0012d19578006d5dbd00007011926..."} 
[2026-09-07 07:38:55] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799eaff0012d19578006d5dbd00007011926..."} 
[2026-09-07 07:38:55] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:55] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":114678736,"longitude_deg":75.663552,"latitude_deg":11.4678736,"altitude":7,"angle":281,"satellites":38,"speed":44,"hex_longitude":"2d195780","hex_latitude":"06d5dbd0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919188480001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400889850816888832,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835850196208326656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788746838000,"timestamp_ms":1788746838000,"timestamp_seconds":1788746838,"priority":1,"record_length":96,"hex_timestamp":"000001a0799eaff0"} 
[2026-09-07 07: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-07 07:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 07:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 07: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-07 07: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-07 07:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:38:55] 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-07 07:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919188480001,"66":27745,"159":206,"81":20480,"24":44,"16":400889850816888832,"45":1835850196208326656},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919188480001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:38:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:38:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400889850816888832,"km_value":400889850816888.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835850196208326656,"description":"Unknown IO ID 45"} 
[2026-09-07 07:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919188480001,"power":27745,"unknown_159":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1835850196208326656}} 
[2026-09-07 07:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:38:55] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:38:55] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:39:23] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799fdcb8012d7ed2c005dea7600005015c27..."} 
[2026-09-07 07:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799fdcb8012d7ed2c005dea7600005015c27..."} 
[2026-09-07 07:39:23] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799fdcb8012d7ed2c005dea7600005015c27..."} 
[2026-09-07 07:39:23] local.INFO: Packet analysis {"connection_id":173367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:39:23] local.INFO: Extracted packet for processing {"connection_id":173367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:39:23] local.INFO: GPS Element Parsed {"raw_longitude":763286208,"raw_latitude":98477920,"longitude_deg":76.3286208,"latitude_deg":9.847792,"altitude":5,"angle":348,"satellites":39,"speed":48,"hex_longitude":"2d7ed2c0","hex_latitude":"05dea760","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919208192001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129235007590891520,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141603581328523264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:23] 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-07 07:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746915000,"timestamp_ms":1788746915000,"timestamp_seconds":1788746915,"priority":1,"record_length":96,"hex_timestamp":"000001a0799fdcb8"} 
[2026-09-07 07: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-07 07:39: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-07 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-07 07:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:23] 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-07 07:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919208192001,"66":13515,"205":206,"85":15104,"24":48,"16":129235007590891520,"45":9141603581328523264},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 07:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919208192001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:39:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129235007590891520,"km_value":129235007590891.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141603581328523264,"description":"Unknown IO ID 45"} 
[2026-09-07 07:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919208192001,"power":13515,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9141603581328523264}} 
[2026-09-07 07:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":173367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:39:24] local.INFO: GPS data processed {"connection_id":173367,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:39:24] local.INFO: Acknowledgment sent {"connection_id":173367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:39:26] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0799ed318012d19308006d5e3100007011a26..."} 
[2026-09-07 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799ed318012d19308006d5e3100007011a26..."} 
[2026-09-07 07:39:26] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799ed318012d19308006d5e3100007011a26..."} 
[2026-09-07 07:39:26] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:39:26] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799e"} 
[2026-09-07 07:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756625536,"raw_latitude":114680592,"longitude_deg":75.6625536,"latitude_deg":11.4680592,"altitude":7,"angle":282,"satellites":38,"speed":43,"hex_longitude":"2d193080","hex_latitude":"06d5e310","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919190528001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400890336148193280,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068940768137216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788746847000,"timestamp_ms":1788746847000,"timestamp_seconds":1788746847,"priority":1,"record_length":96,"hex_timestamp":"000001a0799ed318"} 
[2026-09-07 07: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-07 07:39: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-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:39:26] 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-07 07: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-07 07: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-07 07:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:39: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-07 07:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919190528001,"66":27800,"159":206,"81":20480,"24":43,"16":400890336148193280,"45":1826068940768137216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 07:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919190528001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:39:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 07:39:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400890336148193280,"km_value":400890336148193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068940768137216,"description":"Unknown IO ID 45"} 
[2026-09-07 07:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919190528001,"power":27800,"unknown_159":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1826068940768137216}} 
[2026-09-07 07:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:39:26] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:39:26] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:39:46] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:46] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:46] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:39:50] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:50] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:50] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:39:50] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:50] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:50] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:39:52] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:52] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:52] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:39:53] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:53] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:39:53] local.INFO: IMEI packet received {"connection_id":174516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":174516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:39:54] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0799ff810012d7ecf8005dec9d80005016527..."} 
[2026-09-07 07:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0799ff810012d7ecf8005dec9d80005016527..."} 
[2026-09-07 07:39:54] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0799ff810012d7ecf8005dec9d80005016527..."} 
[2026-09-07 07:39:54] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:39:54] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0799f"} 
[2026-09-07 07:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":98486744,"longitude_deg":76.3285376,"latitude_deg":9.8486744,"altitude":5,"angle":357,"satellites":39,"speed":51,"hex_longitude":"2d7ecf80","hex_latitude":"05dec9d8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919210240001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129235441382588416,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138577725331038208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:54] 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-07 07:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788746922000,"timestamp_ms":1788746922000,"timestamp_seconds":1788746922,"priority":1,"record_length":96,"hex_timestamp":"000001a0799ff810"} 
[2026-09-07 07: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-07 07:39: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-07 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 07:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:54] 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-07 07:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919210240001,"66":12939,"205":206,"85":15104,"24":51,"16":129235441382588416,"45":9138577725331038208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 07:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919210240001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129235441382588416,"km_value":129235441382588.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138577725331038208,"description":"Unknown IO ID 45"} 
[2026-09-07 07:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919210240001,"power":12939,"cell_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9138577725331038208}} 
[2026-09-07 07:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:39:54] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:39:54] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:39:54] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a01368012d7ecac005deec200006015726..."} 
[2026-09-07 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a01368012d7ecac005deec200006015726..."} 
[2026-09-07 07:39:55] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a01368012d7ecac005deec200006015726..."} 
[2026-09-07 07:39:55] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:39:55] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763284160,"raw_latitude":98495520,"longitude_deg":76.328416,"latitude_deg":9.849552,"altitude":6,"angle":343,"satellites":38,"speed":48,"hex_longitude":"2d7ecac0","hex_latitude":"05deec20","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919212032001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129235870879318016,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137662931658987520,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:55] 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-07 07:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788746929000,"timestamp_ms":1788746929000,"timestamp_seconds":1788746929,"priority":1,"record_length":96,"hex_timestamp":"000001a079a01368"} 
[2026-09-07 07: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-07 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 07:39:55] 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-07 07: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-07 07: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-07 07:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:39:55] 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-07 07:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919212032001,"66":13363,"205":206,"85":15104,"24":48,"16":129235870879318016,"45":9137662931658987520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 07:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919212032001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129235870879318016,"km_value":129235870879318.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137662931658987520,"description":"Unknown IO ID 45"} 
[2026-09-07 07:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919212032001,"power":13363,"cell_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9137662931658987520}} 
[2026-09-07 07:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:39:55] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:39:55] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:39:56] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:56] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:39:56] local.INFO: IMEI packet received {"connection_id":174517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":174517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:39:57] local.INFO: TCP Data received {"connection_id":174517,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a003c8012d18104006d617a0000a011d2a..."} 
[2026-09-07 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a003c8012d18104006d617a0000a011d2a..."} 
[2026-09-07 07:39:57] local.INFO: Processing buffer {"connection_id":174517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a003c8012d18104006d617a0000a011d2a..."} 
[2026-09-07 07:39:57] local.INFO: Packet analysis {"connection_id":174517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:39:57] local.INFO: Extracted packet for processing {"connection_id":174517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756551744,"raw_latitude":114694048,"longitude_deg":75.6551744,"latitude_deg":11.4694048,"altitude":10,"angle":285,"satellites":42,"speed":45,"hex_longitude":"2d181040","hex_latitude":"06d617a0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919210752001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400894025525100544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743667141339514880,"note":"Value kept but may cause issues"} 
[2026-09-07 07:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788746925000,"timestamp_ms":1788746925000,"timestamp_seconds":1788746925,"priority":1,"record_length":96,"hex_timestamp":"000001a079a003c8"} 
[2026-09-07 07: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-07 07:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:39:57] 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-07 07:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919210752001,"66":27745,"160":206,"81":20480,"24":45,"16":400894025525100544,"45":1743667141339514880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 07:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919210752001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:39:57] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 07:39:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400894025525100544,"km_value":400894025525100.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743667141339514880,"description":"Unknown IO ID 45"} 
[2026-09-07 07:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919210752001,"power":27745,"unknown_160":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1743667141339514880}} 
[2026-09-07 07:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":174517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:39:57] local.INFO: GPS data processed {"connection_id":174517,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:39:57] local.INFO: Acknowledgment sent {"connection_id":174517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:40:26] local.INFO: TCP Data received {"connection_id":174516,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a13860012d7e54c005e00ff80003015627..."} 
[2026-09-07 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a13860012d7e54c005e00ff80003015627..."} 
[2026-09-07 07:40:26] local.INFO: Processing buffer {"connection_id":174516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a13860012d7e54c005e00ff80003015627..."} 
[2026-09-07 07:40:26] local.INFO: Packet analysis {"connection_id":174516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a1"} 
[2026-09-07 07:40:26] local.INFO: Extracted packet for processing {"connection_id":174516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a1"} 
[2026-09-07 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":98570232,"longitude_deg":76.3253952,"latitude_deg":9.8570232,"altitude":3,"angle":342,"satellites":39,"speed":39,"hex_longitude":"2d7e54c0","hex_latitude":"05e00ff8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919230208001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129239817954263040,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105785890565586944,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:26] 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-07 07:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788747004000,"timestamp_ms":1788747004000,"timestamp_seconds":1788747004,"priority":1,"record_length":96,"hex_timestamp":"000001a079a13860"} 
[2026-09-07 07: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-07 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 07:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:40: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-07 07:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919230208001,"66":13656,"207":206,"85":15104,"24":39,"16":129239817954263040,"45":9105785890565586944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 07:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919230208001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:40:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 07:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129239817954263040,"km_value":129239817954263.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105785890565586944,"description":"Unknown IO ID 45"} 
[2026-09-07 07:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919230208001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9105785890565586944}} 
[2026-09-07 07:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":174516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:40:26] local.INFO: GPS data processed {"connection_id":174516,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:40:26] local.INFO: Acknowledgment sent {"connection_id":174516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:40:45] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:45] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:45] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:40:46] local.INFO: TCP Data received {"connection_id":175847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:46] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:46] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:40:48] local.INFO: TCP Data received {"connection_id":175847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:48] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:48] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:40:51] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:51] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:40:51] local.INFO: IMEI packet received {"connection_id":175846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":175846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:40:52] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a026f0012d17eac006d621d80008012027..."} 
[2026-09-07 07:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a026f0012d17eac006d621d80008012027..."} 
[2026-09-07 07:40:52] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a026f0012d17eac006d621d80008012027..."} 
[2026-09-07 07:40:52] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:40:52] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":114696664,"longitude_deg":75.6542144,"latitude_deg":11.4696664,"altitude":8,"angle":288,"satellites":39,"speed":41,"hex_longitude":"2d17eac0","hex_latitude":"06d621d8","is_valid_coordinates":true} 
[2026-09-07 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-07 07:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919212800001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400894497971503104,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733956254643494912,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788746934000,"timestamp_ms":1788746934000,"timestamp_seconds":1788746934,"priority":1,"record_length":96,"hex_timestamp":"000001a079a026f0"} 
[2026-09-07 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-07 07:40: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-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:40:52] 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-07 07:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919212800001,"66":27767,"160":206,"81":20480,"24":41,"16":400894497971503104,"45":1733956254643494912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 07:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919212800001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:40:52] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 07:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400894497971503104,"km_value":400894497971503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733956254643494912,"description":"Unknown IO ID 45"} 
[2026-09-07 07:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919212800001,"power":27767,"unknown_160":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1733956254643494912}} 
[2026-09-07 07:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:40:52] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:40:52] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:40:53] local.INFO: TCP Data received {"connection_id":175847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:53] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:40:53] local.INFO: IMEI packet received {"connection_id":175847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":175847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:40:54] local.INFO: TCP Data received {"connection_id":175847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a15b88012d7e484005e032480003015128..."} 
[2026-09-07 07:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a15b88012d7e484005e032480003015128..."} 
[2026-09-07 07:40:54] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a15b88012d7e484005e032480003015128..."} 
[2026-09-07 07:40:54] local.INFO: Packet analysis {"connection_id":175847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a1"} 
[2026-09-07 07:40:54] local.INFO: Extracted packet for processing {"connection_id":175847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a1"} 
[2026-09-07 07:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763250752,"raw_latitude":98579016,"longitude_deg":76.3250752,"latitude_deg":9.8579016,"altitude":3,"angle":337,"satellites":40,"speed":42,"hex_longitude":"2d7e4840","hex_latitude":"05e03248","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919233024001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129240273220796416,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878289127424,"note":"Value kept but may cause issues"} 
[2026-09-07 07:40:54] 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-07 07:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747013000,"timestamp_ms":1788747013000,"timestamp_seconds":1788747013,"priority":1,"record_length":96,"hex_timestamp":"000001a079a15b88"} 
[2026-09-07 07: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-07 07:40: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-07 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 07:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:40:54] 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-07 07:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919233024001,"66":13428,"207":206,"85":15104,"24":42,"16":129240273220796416,"45":9103111878289127424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 07:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919233024001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:40:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 07:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129240273220796416,"km_value":129240273220796.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878289127424,"description":"Unknown IO ID 45"} 
[2026-09-07 07:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919233024001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9103111878289127424}} 
[2026-09-07 07:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:40:54] local.INFO: GPS data processed {"connection_id":175847,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:40:54] local.INFO: Acknowledgment sent {"connection_id":175847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:41:23] local.INFO: TCP Data received {"connection_id":175846,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a04a18012d17c58006d62d380008011d28..."} 
[2026-09-07 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a04a18012d17c58006d62d380008011d28..."} 
[2026-09-07 07:41:23] local.INFO: Processing buffer {"connection_id":175846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a04a18012d17c58006d62d380008011d28..."} 
[2026-09-07 07:41:23] local.INFO: Packet analysis {"connection_id":175846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:41:23] local.INFO: Extracted packet for processing {"connection_id":175846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a0"} 
[2026-09-07 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756532608,"raw_latitude":114699576,"longitude_deg":75.6532608,"latitude_deg":11.4699576,"altitude":8,"angle":285,"satellites":40,"speed":40,"hex_longitude":"2d17c580","hex_latitude":"06d62d38","is_valid_coordinates":true} 
[2026-09-07 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919215104001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400894974712872960,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400943017515008,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788746943000,"timestamp_ms":1788746943000,"timestamp_seconds":1788746943,"priority":1,"record_length":96,"hex_timestamp":"000001a079a04a18"} 
[2026-09-07 07:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:41:23] 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-07 07:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919215104001,"66":27767,"160":206,"81":20480,"24":40,"16":400894974712872960,"45":1723400943017515008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 07:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919215104001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:41:23] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 07:41:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400894974712872960,"km_value":400894974712872.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400943017515008,"description":"Unknown IO ID 45"} 
[2026-09-07 07:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919215104001,"power":27767,"unknown_160":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1723400943017515008}} 
[2026-09-07 07:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":175846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:41:23] local.INFO: GPS data processed {"connection_id":175846,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:41:23] local.INFO: Acknowledgment sent {"connection_id":175846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:41:25] local.INFO: TCP Data received {"connection_id":175847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a21ed8012d7e10c005e0d7c00005000c26..."} 
[2026-09-07 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a21ed8012d7e10c005e0d7c00005000c26..."} 
[2026-09-07 07:41:25] local.INFO: Processing buffer {"connection_id":175847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a21ed8012d7e10c005e0d7c00005000c26..."} 
[2026-09-07 07:41:25] local.INFO: Packet analysis {"connection_id":175847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:25] local.INFO: Extracted packet for processing {"connection_id":175847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":98621376,"longitude_deg":76.3236544,"latitude_deg":9.8621376,"altitude":5,"angle":12,"satellites":38,"speed":14,"hex_longitude":"2d7e10c0","hex_latitude":"05e0d7c0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919246848001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129242558143397888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367420125184,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:25] 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-07 07:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747063000,"timestamp_ms":1788747063000,"timestamp_seconds":1788747063,"priority":1,"record_length":96,"hex_timestamp":"000001a079a21ed8"} 
[2026-09-07 07: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-07 07:41: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-07 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:41:25] 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-07 07: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-07 07: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-07 07:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:41:25] 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-07 07:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919246848001,"66":13461,"105":206,"85":15104,"24":14,"16":129242558143397888,"45":9083549367420125184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-07 07:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919246848001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:41:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 07:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129242558143397888,"km_value":129242558143397.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367420125184,"description":"Unknown IO ID 45"} 
[2026-09-07 07:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919246848001,"power":13461,"unknown_105":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9083549367420125184}} 
[2026-09-07 07:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":175847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:41:25] local.INFO: GPS data processed {"connection_id":175847,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:41:25] local.INFO: Acknowledgment sent {"connection_id":175847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:41:45] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:45] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:45] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:41:47] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:47] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:47] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:41:48] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:48] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:48] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:41:48] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:48] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:48] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:41:51] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:51] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:41:51] local.INFO: IMEI packet received {"connection_id":173369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":173369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:41:51] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a21320012d16438006d674180012011e2c..."} 
[2026-09-07 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a21320012d16438006d674180012011e2c..."} 
[2026-09-07 07:41:51] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a21320012d16438006d674180012011e2c..."} 
[2026-09-07 07:41:51] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:51] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756433792,"raw_latitude":114717720,"longitude_deg":75.6433792,"latitude_deg":11.471772,"altitude":18,"angle":286,"satellites":44,"speed":32,"hex_longitude":"2d164380","hex_latitude":"06d67418","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919245312001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400899763601408000,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611092427315138560,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747060000,"timestamp_ms":1788747060000,"timestamp_seconds":1788747060,"priority":1,"record_length":96,"hex_timestamp":"000001a079a21320"} 
[2026-09-07 07: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-07 07: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-07 07: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 07:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:41:51] 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-07 07:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919245312001,"66":27669,"44":206,"81":20480,"24":32,"16":400899763601408000,"45":1611092427315138560},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919245312001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400899763601408000,"km_value":400899763601408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611092427315138560,"description":"Unknown IO ID 45"} 
[2026-09-07 07:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919245312001,"power":27669,"unknown_44":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1611092427315138560}} 
[2026-09-07 07:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:41:51] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:41:51] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:41:53] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:53] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:41:53] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:41:54] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a23e18012d7e134005e0e2e80006016726..."} 
[2026-09-07 07:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a23e18012d7e134005e0e2e80006016726..."} 
[2026-09-07 07:41:54] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a23e18012d7e134005e0e2e80006016726..."} 
[2026-09-07 07:41:54] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:54] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98624232,"longitude_deg":76.3237184,"latitude_deg":9.8624232,"altitude":6,"angle":359,"satellites":38,"speed":26,"hex_longitude":"2d7e1340","hex_latitude":"05e0e2e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919248128001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129242699877318656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083971579885895680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:41:54] 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-07 07:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747071000,"timestamp_ms":1788747071000,"timestamp_seconds":1788747071,"priority":1,"record_length":96,"hex_timestamp":"000001a079a23e18"} 
[2026-09-07 07: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-07 07:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 07:41:54] 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-07 07: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-07 07: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-07 07:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:41:54] 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-07 07:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919248128001,"66":13363,"105":206,"85":15104,"24":26,"16":129242699877318656,"45":9083971579885895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-07 07:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919248128001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:41:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 07:41:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129242699877318656,"km_value":129242699877318.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083971579885895680,"description":"Unknown IO ID 45"} 
[2026-09-07 07:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919248128001,"power":13363,"unknown_105":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9083971579885895680}} 
[2026-09-07 07:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:41:54] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:41:54] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:42:24] local.INFO: TCP Data received {"connection_id":173369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a222c0012d16380006d678d80014012a2d..."} 
[2026-09-07 07:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a222c0012d16380006d678d80014012a2d..."} 
[2026-09-07 07:42:24] local.INFO: Processing buffer {"connection_id":173369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a222c0012d16380006d678d80014012a2d..."} 
[2026-09-07 07:42:24] local.INFO: Packet analysis {"connection_id":173369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:42:24] local.INFO: Extracted packet for processing {"connection_id":173369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756430848,"raw_latitude":114718936,"longitude_deg":75.6430848,"latitude_deg":11.4718936,"altitude":20,"angle":298,"satellites":45,"speed":31,"hex_longitude":"2d163800","hex_latitude":"06d678d8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919247360001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400899918220230656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604266659130120192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788747064000,"timestamp_ms":1788747064000,"timestamp_seconds":1788747064,"priority":1,"record_length":96,"hex_timestamp":"000001a079a222c0"} 
[2026-09-07 07: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-07 07:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 07:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:42:24] 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-07 07:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919247360001,"66":27789,"44":206,"81":20480,"24":31,"16":400899918220230656,"45":1604266659130120192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919247360001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400899918220230656,"km_value":400899918220230.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604266659130120192,"description":"Unknown IO ID 45"} 
[2026-09-07 07:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919247360001,"power":27789,"unknown_44":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1604266659130120192}} 
[2026-09-07 07:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":173369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:42:24] local.INFO: GPS data processed {"connection_id":173369,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:42:24] local.INFO: Acknowledgment sent {"connection_id":173369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:42:26] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a318d8012d7e1ec005e1b2580009001f26..."} 
[2026-09-07 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a318d8012d7e1ec005e1b2580009001f26..."} 
[2026-09-07 07:42:26] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a318d8012d7e1ec005e1b2580009001f26..."} 
[2026-09-07 07:42:26] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:42:26] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":763240128,"raw_latitude":98677336,"longitude_deg":76.3240128,"latitude_deg":9.8677336,"altitude":9,"angle":31,"satellites":38,"speed":43,"hex_longitude":"2d7e1ec0","hex_latitude":"05e1b258","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919264000001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129245336987238400,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786329666832384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:26] 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-07 07:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788747127000,"timestamp_ms":1788747127000,"timestamp_seconds":1788747127,"priority":1,"record_length":96,"hex_timestamp":"000001a079a318d8"} 
[2026-09-07 07: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-07 07:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 07:42:26] 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-07 07: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-07 07: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-07 07:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:42: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-07 07:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919264000001,"66":13298,"105":206,"85":15104,"24":43,"16":129245336987238400,"45":9086786329666832384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-07 07:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919264000001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:42:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 07:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129245336987238400,"km_value":129245336987238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786329666832384,"description":"Unknown IO ID 45"} 
[2026-09-07 07:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919264000001,"power":13298,"unknown_105":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9086786329666832384}} 
[2026-09-07 07:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:42:26] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:42:26] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:42:45] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:45] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:45] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:42:46] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:46] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:46] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:42:47] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:47] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:47] local.INFO: IMEI packet received {"connection_id":175848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":175848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:42:47] local.INFO: TCP Data received {"connection_id":173131,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:42:47] local.INFO: Processing buffer {"connection_id":173131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:42:47] local.INFO: IMEI packet received {"connection_id":173131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":173131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:42:48] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:48] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:48] local.INFO: IMEI packet received {"connection_id":175848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":175848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:42:50] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:50] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:42:50] local.INFO: IMEI packet received {"connection_id":173130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:42:51] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a23648012d162bc006d681b0001501352d..."} 
[2026-09-07 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a23648012d162bc006d681b0001501352d..."} 
[2026-09-07 07:42:51] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a23648012d162bc006d681b0001501352d..."} 
[2026-09-07 07:42:51] local.INFO: Packet analysis {"connection_id":173130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:42:51] local.INFO: Extracted packet for processing {"connection_id":173130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":114721200,"longitude_deg":75.6427712,"latitude_deg":11.47212,"altitude":21,"angle":309,"satellites":45,"speed":31,"hex_longitude":"2d162bc0","hex_latitude":"06d681b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919248384001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400900102903824384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601029696898258944,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747069000,"timestamp_ms":1788747069000,"timestamp_seconds":1788747069,"priority":1,"record_length":96,"hex_timestamp":"000001a079a23648"} 
[2026-09-07 07: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-07 07:42: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-07 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:42:51] 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-07 07: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-07 07: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-07 07:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:42:51] 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-07 07:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919248384001,"66":27930,"44":206,"81":20480,"24":31,"16":400900102903824384,"45":1601029696898258944},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919248384001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400900102903824384,"km_value":400900102903824.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601029696898258944,"description":"Unknown IO ID 45"} 
[2026-09-07 07:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919248384001,"power":27930,"unknown_44":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1601029696898258944}} 
[2026-09-07 07:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":173130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:42:51] local.INFO: GPS data processed {"connection_id":173130,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:42:51] local.INFO: Acknowledgment sent {"connection_id":173130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:42:53] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:53] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:42:53] local.INFO: IMEI packet received {"connection_id":175848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":175848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:42:54] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a32c60012d7e290005e1c3c00009000e28..."} 
[2026-09-07 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a32c60012d7e290005e1c3c00009000e28..."} 
[2026-09-07 07:42:54] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a32c60012d7e290005e1c3c00009000e28..."} 
[2026-09-07 07:42:54] local.INFO: Packet analysis {"connection_id":175848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:42:54] local.INFO: Extracted packet for processing {"connection_id":175848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763242752,"raw_latitude":98681792,"longitude_deg":76.3242752,"latitude_deg":9.8681792,"altitude":9,"angle":14,"satellites":40,"speed":41,"hex_longitude":"2d7e2900","hex_latitude":"05e1c3c0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919264512001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129245590390308864,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912229574170624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:42:54] 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-07 07:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747132000,"timestamp_ms":1788747132000,"timestamp_seconds":1788747132,"priority":1,"record_length":96,"hex_timestamp":"000001a079a32c60"} 
[2026-09-07 07: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-07 07:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-07 07:42: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-07 07: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-07 07: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-07 07:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:42:54] 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-07 07:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919264512001,"66":13428,"105":206,"85":15104,"24":41,"16":129245590390308864,"45":9087912229574170624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-09-07 07:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919264512001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:42:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 07:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129245590390308864,"km_value":129245590390308.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912229574170624,"description":"Unknown IO ID 45"} 
[2026-09-07 07:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919264512001,"power":13428,"unknown_105":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9087912229574170624}} 
[2026-09-07 07:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":175848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:42:54] local.INFO: GPS data processed {"connection_id":175848,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:42:54] local.INFO: Acknowledgment sent {"connection_id":175848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:43:22] local.INFO: TCP Data received {"connection_id":173130,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a26140012d16104006d697b8001501342c..."} 
[2026-09-07 07:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a26140012d16104006d697b8001501342c..."} 
[2026-09-07 07:43:22] local.INFO: Processing buffer {"connection_id":173130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a26140012d16104006d697b8001501342c..."} 
[2026-09-07 07:43:22] local.INFO: Packet analysis {"connection_id":173130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:43:22] local.INFO: Extracted packet for processing {"connection_id":173130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756420672,"raw_latitude":114726840,"longitude_deg":75.6420672,"latitude_deg":11.472684,"altitude":21,"angle":308,"satellites":44,"speed":33,"hex_longitude":"2d161040","hex_latitude":"06d697b8","is_valid_coordinates":true} 
[2026-09-07 07:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919249664001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400900536695521280,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581628434132992,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788747080000,"timestamp_ms":1788747080000,"timestamp_seconds":1788747080,"priority":1,"record_length":96,"hex_timestamp":"000001a079a26140"} 
[2026-09-07 07:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:43: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-07 07:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 07:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:43:22] 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-07 07:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919249664001,"66":27821,"44":206,"81":20480,"24":33,"16":400900536695521280,"45":1597581628434132992},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919249664001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400900536695521280,"km_value":400900536695521.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581628434132992,"description":"Unknown IO ID 45"} 
[2026-09-07 07:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919249664001,"power":27821,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1597581628434132992}} 
[2026-09-07 07:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":173130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:43:22] local.INFO: GPS data processed {"connection_id":173130,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:43:22] local.INFO: Acknowledgment sent {"connection_id":173130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:43:25] local.INFO: TCP Data received {"connection_id":175848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a3e7e0012d7dbd0005e1fb380002011327..."} 
[2026-09-07 07:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a3e7e0012d7dbd0005e1fb380002011327..."} 
[2026-09-07 07:43:25] local.INFO: Processing buffer {"connection_id":175848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a3e7e0012d7dbd0005e1fb380002011327..."} 
[2026-09-07 07:43:25] local.INFO: Packet analysis {"connection_id":175848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:43:25] local.INFO: Extracted packet for processing {"connection_id":175848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a3"} 
[2026-09-07 07:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763215104,"raw_latitude":98695992,"longitude_deg":76.3215104,"latitude_deg":9.8695992,"altitude":2,"angle":275,"satellites":39,"speed":44,"hex_longitude":"2d7dbd00","hex_latitude":"05e1fb38","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919277568001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129247901082714112,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062860956651718656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:25] 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-07 07:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747180000,"timestamp_ms":1788747180000,"timestamp_seconds":1788747180,"priority":1,"record_length":96,"hex_timestamp":"000001a079a3e7e0"} 
[2026-09-07 07: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-07 07:43: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-07 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 07:43:25] 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-07 07: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-07 07: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-07 07:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:43:25] 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-07 07:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919277568001,"66":13450,"198":206,"85":15104,"24":44,"16":129247901082714112,"45":9062860956651718656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 07:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919277568001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:43:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 07:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129247901082714112,"km_value":129247901082714.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062860956651718656,"description":"Unknown IO ID 45"} 
[2026-09-07 07:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919277568001,"power":13450,"unknown_198":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9062860956651718656}} 
[2026-09-07 07:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":175848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:43:25] local.INFO: GPS data processed {"connection_id":175848,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:43:25] local.INFO: Acknowledgment sent {"connection_id":175848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:43:45] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:45] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:45] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:43:48] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:48] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:48] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:43:50] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:50] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:43:50] local.INFO: IMEI packet received {"connection_id":174519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":174519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:43:51] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a28850012d15efc006d6aa38001201292d..."} 
[2026-09-07 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a28850012d15efc006d6aa38001201292d..."} 
[2026-09-07 07:43:51] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a28850012d15efc006d6aa38001201292d..."} 
[2026-09-07 07:43:51] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:43:51] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756412352,"raw_latitude":114731576,"longitude_deg":75.6412352,"latitude_deg":11.4731576,"altitude":18,"angle":297,"satellites":45,"speed":40,"hex_longitude":"2d15efc0","hex_latitude":"06d6aa38","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919252480001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400900991962054656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1589841066576033792,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747090000,"timestamp_ms":1788747090000,"timestamp_seconds":1788747090,"priority":1,"record_length":96,"hex_timestamp":"000001a079a28850"} 
[2026-09-07 07: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-07 07:43: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-07 07:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:43:51] 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-07 07:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919252480001,"66":27767,"44":206,"81":20480,"24":40,"16":400900991962054656,"45":1589841066576033792},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919252480001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:43:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400900991962054656,"km_value":400900991962054.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1589841066576033792,"description":"Unknown IO ID 45"} 
[2026-09-07 07:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919252480001,"power":27767,"unknown_44":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1589841066576033792}} 
[2026-09-07 07:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:43:51] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:43:51] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:43:53] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:53] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:43:53] local.INFO: IMEI packet received {"connection_id":175849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":175849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:43:54] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a40b08012d7d9a4005e1ff800005011329..."} 
[2026-09-07 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a40b08012d7d9a4005e1ff800005011329..."} 
[2026-09-07 07:43:54] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a40b08012d7d9a4005e1ff800005011329..."} 
[2026-09-07 07:43:54] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:43:54] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763206208,"raw_latitude":98697088,"longitude_deg":76.3206208,"latitude_deg":9.8697088,"altitude":5,"angle":275,"satellites":41,"speed":22,"hex_longitude":"2d7d9a40","hex_latitude":"05e1ff80","is_valid_coordinates":true} 
[2026-09-07 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919278080001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129248330579443712,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060398050605479936,"note":"Value kept but may cause issues"} 
[2026-09-07 07:43:54] 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-07 07:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747189000,"timestamp_ms":1788747189000,"timestamp_seconds":1788747189,"priority":1,"record_length":96,"hex_timestamp":"000001a079a40b08"} 
[2026-09-07 07:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:43: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-07 07:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 07:43:54] 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-07 07:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:43:54] 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-07 07:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919278080001,"66":13341,"198":206,"85":15104,"24":22,"16":129248330579443712,"45":9060398050605479936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 07:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919278080001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:43:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 07:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129248330579443712,"km_value":129248330579443.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060398050605479936,"description":"Unknown IO ID 45"} 
[2026-09-07 07:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919278080001,"power":13341,"unknown_198":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9060398050605479936}} 
[2026-09-07 07:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:43:54] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:43:54] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:44:23] local.INFO: TCP Data received {"connection_id":174519,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a2af60012d15cec006d6bb90000d01272c..."} 
[2026-09-07 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a2af60012d15cec006d6bb90000d01272c..."} 
[2026-09-07 07:44:23] local.INFO: Processing buffer {"connection_id":174519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a2af60012d15cec006d6bb90000d01272c..."} 
[2026-09-07 07:44:23] local.INFO: Packet analysis {"connection_id":174519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:44:23] local.INFO: Extracted packet for processing {"connection_id":174519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756403904,"raw_latitude":114736016,"longitude_deg":75.6403904,"latitude_deg":11.4736016,"altitude":13,"angle":295,"satellites":44,"speed":33,"hex_longitude":"2d15cec0","hex_latitude":"06d6bb90","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919255040001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400901451523555328,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1580693129834149888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747100000,"timestamp_ms":1788747100000,"timestamp_seconds":1788747100,"priority":1,"record_length":96,"hex_timestamp":"000001a079a2af60"} 
[2026-09-07 07: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-07 07:44: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:44:23] 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-07 07:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919255040001,"66":27767,"44":206,"81":20480,"24":33,"16":400901451523555328,"45":1580693129834149888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919255040001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:44:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400901451523555328,"km_value":400901451523555.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1580693129834149888,"description":"Unknown IO ID 45"} 
[2026-09-07 07:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919255040001,"power":27767,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1580693129834149888}} 
[2026-09-07 07:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":174519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:44:23] local.INFO: GPS data processed {"connection_id":174519,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:44:23] local.INFO: Acknowledgment sent {"connection_id":174519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:44:25] local.INFO: TCP Data received {"connection_id":175849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a43dd0012d7d758005e20298000a011228..."} 
[2026-09-07 07:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a43dd0012d7d758005e20298000a011228..."} 
[2026-09-07 07:44:25] local.INFO: Processing buffer {"connection_id":175849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a43dd0012d7d758005e20298000a011228..."} 
[2026-09-07 07:44:25] local.INFO: Packet analysis {"connection_id":175849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:25] local.INFO: Extracted packet for processing {"connection_id":175849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763196800,"raw_latitude":98697880,"longitude_deg":76.31968,"latitude_deg":9.869788,"altitude":10,"angle":274,"satellites":40,"speed":33,"hex_longitude":"2d7d7580","hex_latitude":"05e20298","is_valid_coordinates":true} 
[2026-09-07 07:44: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-07 07:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919280384001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129248781551009792,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050616795165065216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:25] 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-07 07:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747202000,"timestamp_ms":1788747202000,"timestamp_seconds":1788747202,"priority":1,"record_length":96,"hex_timestamp":"000001a079a43dd0"} 
[2026-09-07 07:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:44: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-07 07:44: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":29,"data_length":795,"current_offset":136} 
[2026-09-07 07:44:25] 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-07 07:44: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-07 07:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:25] 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-07 07:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919280384001,"66":13352,"198":206,"85":15104,"24":33,"16":129248781551009792,"45":9050616795165065216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 07:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919280384001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:44:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 07:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129248781551009792,"km_value":129248781551009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050616795165065216,"description":"Unknown IO ID 45"} 
[2026-09-07 07:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919280384001,"power":13352,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9050616795165065216}} 
[2026-09-07 07:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":175849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:44:25] local.INFO: GPS data processed {"connection_id":175849,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:44:25] local.INFO: Acknowledgment sent {"connection_id":175849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:44:47] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:47] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:47] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:44:48] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:48] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:48] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:44:51] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:51] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:51] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:44:52] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:52] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:52] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:44:53] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:53] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:44:53] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:44:54] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a468c8012d7d50c005e205d8000c011128..."} 
[2026-09-07 07:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a468c8012d7d50c005e205d8000c011128..."} 
[2026-09-07 07:44:54] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a468c8012d7d50c005e205d8000c011128..."} 
[2026-09-07 07:44:54] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:54] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763187392,"raw_latitude":98698712,"longitude_deg":76.3187392,"latitude_deg":9.8698712,"altitude":12,"angle":273,"satellites":40,"speed":33,"hex_longitude":"2d7d50c0","hex_latitude":"05e205d8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919283712001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129249228227608576,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040272589771151360,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:54] 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-07 07:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747213000,"timestamp_ms":1788747213000,"timestamp_seconds":1788747213,"priority":1,"record_length":96,"hex_timestamp":"000001a079a468c8"} 
[2026-09-07 07:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:44: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-07 07:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 07:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:54] 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-07 07:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919283712001,"66":13526,"198":206,"85":15104,"24":33,"16":129249228227608576,"45":9040272589771151360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 07:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919283712001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:44:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 07:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129249228227608576,"km_value":129249228227608.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040272589771151360,"description":"Unknown IO ID 45"} 
[2026-09-07 07:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919283712001,"power":13526,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9040272589771151360}} 
[2026-09-07 07:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:44:54] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:44:54] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:44:55] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a497a8012d7d2bc005e20938000a011128..."} 
[2026-09-07 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a497a8012d7d2bc005e20938000a011128..."} 
[2026-09-07 07:44:55] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a497a8012d7d2bc005e20938000a011128..."} 
[2026-09-07 07:44:55] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:55] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a4"} 
[2026-09-07 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763177920,"raw_latitude":98699576,"longitude_deg":76.317792,"latitude_deg":9.8699576,"altitude":10,"angle":273,"satellites":40,"speed":31,"hex_longitude":"2d7d2bc0","hex_latitude":"05e20938","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919286528001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129249683494141952,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029928384377247744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:55] 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-07 07:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788747225000,"timestamp_ms":1788747225000,"timestamp_seconds":1788747225,"priority":1,"record_length":96,"hex_timestamp":"000001a079a497a8"} 
[2026-09-07 07: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-07 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 07:44:55] 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-07 07: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-07 07: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-07 07:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:44:55] 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-07 07:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919286528001,"66":13363,"198":206,"85":15104,"24":31,"16":129249683494141952,"45":9029928384377247744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 07:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919286528001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:44:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 07:44:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129249683494141952,"km_value":129249683494141.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029928384377247744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919286528001,"power":13363,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9029928384377247744}} 
[2026-09-07 07:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:44:55] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:44:55] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:44:55] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:55] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:44:55] local.INFO: IMEI packet received {"connection_id":173132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":173132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:44:56] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a2cab8012d15bcc006d6c6a8000c01332b..."} 
[2026-09-07 07:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a2cab8012d15bcc006d6c6a8000c01332b..."} 
[2026-09-07 07:44:56] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a2cab8012d15bcc006d6c6a8000c01332b..."} 
[2026-09-07 07:44:56] local.INFO: Packet analysis {"connection_id":173132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:44:56] local.INFO: Extracted packet for processing {"connection_id":173132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:44:56] local.INFO: GPS Element Parsed {"raw_longitude":756399296,"raw_latitude":114738856,"longitude_deg":75.6399296,"latitude_deg":11.4738856,"altitude":12,"angle":307,"satellites":43,"speed":27,"hex_longitude":"2d15bcc0","hex_latitude":"06d6c6a8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919257600001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400901709221593088,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1571404455603834880,"note":"Value kept but may cause issues"} 
[2026-09-07 07:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788747107000,"timestamp_ms":1788747107000,"timestamp_seconds":1788747107,"priority":1,"record_length":96,"hex_timestamp":"000001a079a2cab8"} 
[2026-09-07 07: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-07 07:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:44:56] 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-07 07:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919257600001,"66":27767,"44":206,"81":20480,"24":27,"16":400901709221593088,"45":1571404455603834880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919257600001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:44:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:44:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400901709221593088,"km_value":400901709221593.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1571404455603834880,"description":"Unknown IO ID 45"} 
[2026-09-07 07:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919257600001,"power":27767,"unknown_44":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1571404455603834880}} 
[2026-09-07 07:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":173132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:44:56] local.INFO: GPS data processed {"connection_id":173132,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:44:56] local.INFO: Acknowledgment sent {"connection_id":173132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:45:01] local.INFO: TCP Data received {"connection_id":173132,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a2d670012d15b6c006d6ccb8000c01462b..."} 
[2026-09-07 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a2d670012d15b6c006d6ccb8000c01462b..."} 
[2026-09-07 07:45:01] local.INFO: Processing buffer {"connection_id":173132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a2d670012d15b6c006d6ccb8000c01462b..."} 
[2026-09-07 07:45:01] local.INFO: Packet analysis {"connection_id":173132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:45:01] local.INFO: Extracted packet for processing {"connection_id":173132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a2"} 
[2026-09-07 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756397760,"raw_latitude":114740408,"longitude_deg":75.639776,"latitude_deg":11.4740408,"altitude":12,"angle":326,"satellites":43,"speed":29,"hex_longitude":"2d15b6c0","hex_latitude":"06d6ccb8","is_valid_coordinates":true} 
[2026-09-07 07:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919259392001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400901812300808192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1566337906023770112,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788747110000,"timestamp_ms":1788747110000,"timestamp_seconds":1788747110,"priority":1,"record_length":96,"hex_timestamp":"000001a079a2d670"} 
[2026-09-07 07:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:45:01] 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-07 07:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919259392001,"66":27767,"44":206,"81":20480,"24":29,"16":400901812300808192,"45":1566337906023770112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 07:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919259392001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 07:45:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400901812300808192,"km_value":400901812300808.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1566337906023770112,"description":"Unknown IO ID 45"} 
[2026-09-07 07:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919259392001,"power":27767,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1566337906023770112}} 
[2026-09-07 07:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":173132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:45:01] local.INFO: GPS data processed {"connection_id":173132,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:45:01] local.INFO: Acknowledgment sent {"connection_id":173132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:45:26] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a5ff08012d7c370005e1ddb0000200f625..."} 
[2026-09-07 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a5ff08012d7c370005e1ddb0000200f625..."} 
[2026-09-07 07:45:26] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a5ff08012d7c370005e1ddb0000200f625..."} 
[2026-09-07 07:45:26] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:45:26] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763115264,"raw_latitude":98688432,"longitude_deg":76.3115264,"latitude_deg":9.8688432,"altitude":2,"angle":246,"satellites":37,"speed":23,"hex_longitude":"2d7c3700","hex_latitude":"05e1ddb0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919312896001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129253042158567424,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951185759639887872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:26] 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-07 07:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788747317000,"timestamp_ms":1788747317000,"timestamp_seconds":1788747317,"priority":1,"record_length":96,"hex_timestamp":"000001a079a5ff08"} 
[2026-09-07 07: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-07 07:45: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-07 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-09-07 07:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45: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-07 07:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919312896001,"66":13178,"43":206,"85":15104,"24":23,"16":129253042158567424,"45":8951185759639887872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-07 07:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919312896001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:45:26] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-07 07:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129253042158567424,"km_value":129253042158567.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951185759639887872,"description":"Unknown IO ID 45"} 
[2026-09-07 07:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919312896001,"power":13178,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8951185759639887872}} 
[2026-09-07 07:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:45:26] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:45:26] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:45:44] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:44] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:44] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:45:45] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:45] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:45] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:45:50] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:50] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:45:50] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:45:51] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:51] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:51] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:45:52] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a53bb8012d151e0006d777e0001101452c..."} 
[2026-09-07 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a53bb8012d151e0006d777e0001101452c..."} 
[2026-09-07 07:45:52] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a53bb8012d151e0006d777e0001101452c..."} 
[2026-09-07 07:45:52] local.INFO: Packet analysis {"connection_id":173373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:45:52] local.INFO: Extracted packet for processing {"connection_id":173373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756358656,"raw_latitude":114784224,"longitude_deg":75.6358656,"latitude_deg":11.4784224,"altitude":17,"angle":325,"satellites":44,"speed":18,"hex_longitude":"2d151e00","hex_latitude":"06d777e0","is_valid_coordinates":true} 
[2026-09-07 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-07 07:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919299840001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400904685633929216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1522075965947422720,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788747267000,"timestamp_ms":1788747267000,"timestamp_seconds":1788747267,"priority":1,"record_length":96,"hex_timestamp":"000001a079a53bb8"} 
[2026-09-07 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-07 07:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 07:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:45:52] 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-07 07:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919299840001,"66":27767,"183":206,"81":20480,"24":18,"16":400904685633929216,"45":1522075965947422720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-07 07:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919299840001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:45:52] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 07:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400904685633929216,"km_value":400904685633929.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1522075965947422720,"description":"Unknown IO ID 45"} 
[2026-09-07 07:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919299840001,"power":27767,"unknown_183":206,"unknown_81":20480,"ignition":18,"odometer":null,"unknown_45":1522075965947422720}} 
[2026-09-07 07:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":173373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:45:52] local.INFO: GPS data processed {"connection_id":173373,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:45:52] local.INFO: Acknowledgment sent {"connection_id":173373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:45:52] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:52] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:52] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:45:53] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:53] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:53] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:45:54] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:54] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:45:54] local.INFO: IMEI packet received {"connection_id":174520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":174520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:45:55] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a606d8012d7c328005e1dc980003010825..."} 
[2026-09-07 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a606d8012d7c328005e1dc980003010825..."} 
[2026-09-07 07:45:55] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a606d8012d7c328005e1dc980003010825..."} 
[2026-09-07 07:45:55] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:45:55] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98688152,"longitude_deg":76.3114112,"latitude_deg":9.8688152,"altitude":3,"angle":264,"satellites":37,"speed":23,"hex_longitude":"2d7c3280","hex_latitude":"05e1dc98","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919313152001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129253097993142272,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950622809686388736,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:55] 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-07 07:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788747319000,"timestamp_ms":1788747319000,"timestamp_seconds":1788747319,"priority":1,"record_length":96,"hex_timestamp":"000001a079a606d8"} 
[2026-09-07 07: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-07 07:45: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-07 07: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-09-07 07:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45:55] 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-07 07:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919313152001,"66":13015,"43":206,"85":15104,"24":23,"16":129253097993142272,"45":8950622809686388736},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-07 07:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919313152001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:45:55] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-07 07:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129253097993142272,"km_value":129253097993142.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950622809686388736,"description":"Unknown IO ID 45"} 
[2026-09-07 07:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919313152001,"power":13015,"unknown_43":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8950622809686388736}} 
[2026-09-07 07:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:45:55] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:45:55] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:45:59] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a60ea8012d7c2e8005e1dce00004011725..."} 
[2026-09-07 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a60ea8012d7c2e8005e1dce00004011725..."} 
[2026-09-07 07:45:59] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a60ea8012d7c2e8005e1dce00004011725..."} 
[2026-09-07 07:45:59] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:45:59] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763113088,"raw_latitude":98688224,"longitude_deg":76.3113088,"latitude_deg":9.8688224,"altitude":4,"angle":279,"satellites":37,"speed":18,"hex_longitude":"2d7c2e80","hex_latitude":"05e1dce0","is_valid_coordinates":true} 
[2026-09-07 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919313664001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129253145237782528,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172291119104,"note":"Value kept but may cause issues"} 
[2026-09-07 07:45:59] 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-07 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788747321000,"timestamp_ms":1788747321000,"timestamp_seconds":1788747321,"priority":1,"record_length":96,"hex_timestamp":"000001a079a60ea8"} 
[2026-09-07 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 07:45:59] 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-07 07:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:45:59] 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-07 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919313664001,"66":13048,"43":206,"85":15104,"24":18,"16":129253145237782528,"45":8949356172291119104},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-07 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919313664001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:45:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-07 07:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129253145237782528,"km_value":129253145237782.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172291119104,"description":"Unknown IO ID 45"} 
[2026-09-07 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919313664001,"power":13048,"unknown_43":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8949356172291119104}} 
[2026-09-07 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:45:59] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:45:59] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:46:23] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a56e80012d15058006d792d80012013e2d..."} 
[2026-09-07 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a56e80012d15058006d792d80012013e2d..."} 
[2026-09-07 07:46:23] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a56e80012d15058006d792d80012013e2d..."} 
[2026-09-07 07:46:23] local.INFO: Packet analysis {"connection_id":173373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:46:23] local.INFO: Extracted packet for processing {"connection_id":173373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756352384,"raw_latitude":114791128,"longitude_deg":75.6352384,"latitude_deg":11.4791128,"altitude":18,"angle":318,"satellites":45,"speed":37,"hex_longitude":"2d150580","hex_latitude":"06d792d8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919300352001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400905136605495296,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1521653753482567680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747280000,"timestamp_ms":1788747280000,"timestamp_seconds":1788747280,"priority":1,"record_length":96,"hex_timestamp":"000001a079a56e80"} 
[2026-09-07 07: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-07 07:46: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:46:23] 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-07 07:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919300352001,"66":27821,"183":206,"81":20480,"24":37,"16":400905136605495296,"45":1521653753482567680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-07 07:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919300352001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:46:23] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 07:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400905136605495296,"km_value":400905136605495.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1521653753482567680,"description":"Unknown IO ID 45"} 
[2026-09-07 07:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919300352001,"power":27821,"unknown_183":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1521653753482567680}} 
[2026-09-07 07:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":173373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:46:23] local.INFO: GPS data processed {"connection_id":173373,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:46:23] local.INFO: Acknowledgment sent {"connection_id":173373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:46:31] local.INFO: TCP Data received {"connection_id":174520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a62618012d7c214005e1de200003010b26..."} 
[2026-09-07 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a62618012d7c214005e1de200003010b26..."} 
[2026-09-07 07:46:31] local.INFO: Processing buffer {"connection_id":174520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a62618012d7c214005e1de200003010b26..."} 
[2026-09-07 07:46:31] local.INFO: Packet analysis {"connection_id":174520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:46:31] local.INFO: Extracted packet for processing {"connection_id":174520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":98688544,"longitude_deg":76.3109696,"latitude_deg":9.8688544,"altitude":3,"angle":267,"satellites":38,"speed":30,"hex_longitude":"2d7c2140","hex_latitude":"05e1de20","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919314176001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129253312741507072,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948230272384294912,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:31] 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-07 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788747327000,"timestamp_ms":1788747327000,"timestamp_seconds":1788747327,"priority":1,"record_length":96,"hex_timestamp":"000001a079a62618"} 
[2026-09-07 07: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-07 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 07:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:46:31] 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-07 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919314176001,"66":13472,"43":206,"85":15104,"24":30,"16":129253312741507072,"45":8948230272384294912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-07 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919314176001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:46:31] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-07 07:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129253312741507072,"km_value":129253312741507.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948230272384294912,"description":"Unknown IO ID 45"} 
[2026-09-07 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919314176001,"power":13472,"unknown_43":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8948230272384294912}} 
[2026-09-07 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":174520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:46:31] local.INFO: GPS data processed {"connection_id":174520,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:46:31] local.INFO: Acknowledgment sent {"connection_id":174520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:46:45] local.INFO: TCP Data received {"connection_id":173375,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:45] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:45] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:46:48] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:48] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:48] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:46:48] local.INFO: TCP Data received {"connection_id":173375,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:48] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:46:48] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:46:50] local.INFO: TCP Data received {"connection_id":173375,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a591a8012d14ec4006d7add00012013c2e..."} 
[2026-09-07 07:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a591a8012d14ec4006d7add00012013c2e..."} 
[2026-09-07 07:46:50] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a591a8012d14ec4006d7add00012013c2e..."} 
[2026-09-07 07:46:50] local.INFO: Packet analysis {"connection_id":173375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:46:50] local.INFO: Extracted packet for processing {"connection_id":173375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a5"} 
[2026-09-07 07:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756345920,"raw_latitude":114798032,"longitude_deg":75.634592,"latitude_deg":11.4798032,"altitude":18,"angle":316,"satellites":46,"speed":43,"hex_longitude":"2d14ec40","hex_latitude":"06d7add0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919303680001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400905591872028672,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1514757616554924032,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788747289000,"timestamp_ms":1788747289000,"timestamp_seconds":1788747289,"priority":1,"record_length":96,"hex_timestamp":"000001a079a591a8"} 
[2026-09-07 07: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-07 07:46: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-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:46: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-07 07: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-07 07: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-07 07:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919303680001,"66":27767,"183":206,"81":20480,"24":43,"16":400905591872028672,"45":1514757616554924032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-09-07 07:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919303680001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:46:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 07:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400905591872028672,"km_value":400905591872028.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1514757616554924032,"description":"Unknown IO ID 45"} 
[2026-09-07 07:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919303680001,"power":27767,"unknown_183":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1514757616554924032}} 
[2026-09-07 07:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":173375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:46:50] local.INFO: GPS data processed {"connection_id":173375,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:46:50] local.INFO: Acknowledgment sent {"connection_id":173375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:46:51] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:51] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:46:51] local.INFO: IMEI packet received {"connection_id":175851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":175851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:46:52] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a64d28012d7bfdc005e1d8d00003010825..."} 
[2026-09-07 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a64d28012d7bfdc005e1d8d00003010825..."} 
[2026-09-07 07:46:52] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a64d28012d7bfdc005e1d8d00003010825..."} 
[2026-09-07 07:46:52] local.INFO: Packet analysis {"connection_id":175851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:46:52] local.INFO: Extracted packet for processing {"connection_id":175851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a6"} 
[2026-09-07 07:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763100608,"raw_latitude":98687184,"longitude_deg":76.3100608,"latitude_deg":9.8687184,"altitude":3,"angle":264,"satellites":37,"speed":28,"hex_longitude":"2d7bfdc0","hex_latitude":"05e1d8d0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919315712001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129253750828171264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728942960640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:46:52] 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-07 07:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788747337000,"timestamp_ms":1788747337000,"timestamp_seconds":1788747337,"priority":1,"record_length":96,"hex_timestamp":"000001a079a64d28"} 
[2026-09-07 07: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-07 07:46: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-07 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 07:46:52] 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-07 07: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-07 07: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-07 07:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:46:52] 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-07 07:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919315712001,"66":13396,"43":206,"85":15104,"24":28,"16":129253750828171264,"45":8944500728942960640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-09-07 07:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919315712001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:46:52] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-07 07:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129253750828171264,"km_value":129253750828171.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728942960640,"description":"Unknown IO ID 45"} 
[2026-09-07 07:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919315712001,"power":13396,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8944500728942960640}} 
[2026-09-07 07:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":175851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:46:52] local.INFO: GPS data processed {"connection_id":175851,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:46:52] local.INFO: Acknowledgment sent {"connection_id":175851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:21] local.INFO: TCP Data received {"connection_id":173375,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a71460012d13cf4006d95870000c015c2c..."} 
[2026-09-07 07:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a71460012d13cf4006d95870000c015c2c..."} 
[2026-09-07 07:47:21] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a71460012d13cf4006d95870000c015c2c..."} 
[2026-09-07 07:47:21] local.INFO: Packet analysis {"connection_id":173375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:21] local.INFO: Extracted packet for processing {"connection_id":173375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756272960,"raw_latitude":114907248,"longitude_deg":75.627296,"latitude_deg":11.4907248,"altitude":12,"angle":348,"satellites":44,"speed":56,"hex_longitude":"2d13cf40","hex_latitude":"06d95870","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919329792001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400911999963234304,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1430174386080999424,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788747388000,"timestamp_ms":1788747388000,"timestamp_seconds":1788747388,"priority":1,"record_length":96,"hex_timestamp":"000001a079a71460"} 
[2026-09-07 07: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-07 07:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47: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-07 07:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919329792001,"66":27821,"88":206,"81":20480,"24":56,"16":400911999963234304,"45":1430174386080999424},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 07:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919329792001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 07:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400911999963234304,"km_value":400911999963234.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1430174386080999424,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919329792001,"power":27821,"unknown_88":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1430174386080999424}} 
[2026-09-07 07:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":173375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:21] local.INFO: GPS data processed {"connection_id":173375,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:21] local.INFO: Acknowledgment sent {"connection_id":173375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:23] local.INFO: TCP Data received {"connection_id":175851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a7db98012d7b48c005e15d90000900f81d..."} 
[2026-09-07 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a7db98012d7b48c005e15d90000900f81d..."} 
[2026-09-07 07:47:23] local.INFO: Processing buffer {"connection_id":175851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a7db98012d7b48c005e15d90000900f81d..."} 
[2026-09-07 07:47:23] local.INFO: Packet analysis {"connection_id":175851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:23] local.INFO: Extracted packet for processing {"connection_id":175851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763054272,"raw_latitude":98655632,"longitude_deg":76.3054272,"latitude_deg":9.8655632,"altitude":9,"angle":248,"satellites":29,"speed":6,"hex_longitude":"2d7b48c0","hex_latitude":"05e15d90","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919343872001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884265083918538752,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257216866779136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:23] 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-07 07:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747439000,"timestamp_ms":1788747439000,"timestamp_seconds":1788747439,"priority":1,"record_length":96,"hex_timestamp":"000001a079a7db98"} 
[2026-09-07 07: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-07 07:47: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-07 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:23] 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-07 07: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-07 07: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-07 07:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:23] 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-07 07:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919343872001,"66":13319,"45":8884265083918538752,"85":15104,"24":6,"16":129257216866779136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919343872001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884265083918538752,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257216866779136,"km_value":129257216866779.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919343872001,"power":13319,"unknown_45":8884265083918538752,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-09-07 07:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":175851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:23] local.INFO: GPS data processed {"connection_id":175851,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:23] local.INFO: Acknowledgment sent {"connection_id":175851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:45] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:45] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:45] local.INFO: IMEI packet received {"connection_id":173376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:47:48] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:48] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:48] local.INFO: IMEI packet received {"connection_id":173376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:47:48] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:48] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:48] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:47:49] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:49] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:49] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:47:51] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:51] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:47:51] local.INFO: IMEI packet received {"connection_id":173376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":173376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:47:51] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a72bd0012d13cc8006d97878000b00002a..."} 
[2026-09-07 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a72bd0012d13cc8006d97878000b00002a..."} 
[2026-09-07 07:47:52] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a72bd0012d13cc8006d97878000b00002a..."} 
[2026-09-07 07:47:52] local.INFO: Packet analysis {"connection_id":173376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:52] local.INFO: Extracted packet for processing {"connection_id":173376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756272256,"raw_latitude":114915448,"longitude_deg":75.6272256,"latitude_deg":11.4915448,"altitude":11,"angle":0,"satellites":42,"speed":54,"hex_longitude":"2d13cc80","hex_latitude":"06d97878","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919331328001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400912399395192832,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427430005060169728,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788747394000,"timestamp_ms":1788747394000,"timestamp_seconds":1788747394,"priority":1,"record_length":96,"hex_timestamp":"000001a079a72bd0"} 
[2026-09-07 07: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-07 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47:52] 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-07 07:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919331328001,"66":27767,"88":206,"81":20480,"24":54,"16":400912399395192832,"45":1427430005060169728},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 07:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919331328001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 07:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400912399395192832,"km_value":400912399395192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427430005060169728,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919331328001,"power":27767,"unknown_88":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1427430005060169728}} 
[2026-09-07 07:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":173376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:52] local.INFO: GPS data processed {"connection_id":173376,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:52] local.INFO: Acknowledgment sent {"connection_id":173376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:53] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:53] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:47:53] local.INFO: IMEI packet received {"connection_id":174521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":174521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:47:54] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a74728012d13ce4006d99d00000a00032c..."} 
[2026-09-07 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a74728012d13ce4006d99d00000a00032c..."} 
[2026-09-07 07:47:54] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a74728012d13ce4006d99d00000a00032c..."} 
[2026-09-07 07:47:54] local.INFO: Packet analysis {"connection_id":173376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:54] local.INFO: Extracted packet for processing {"connection_id":173376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756272704,"raw_latitude":114924800,"longitude_deg":75.6272704,"latitude_deg":11.49248,"altitude":10,"angle":3,"satellites":44,"speed":52,"hex_longitude":"2d13ce40","hex_latitude":"06d99d00","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919332864001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400912854661726208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426655948876314624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747401000,"timestamp_ms":1788747401000,"timestamp_seconds":1788747401,"priority":1,"record_length":96,"hex_timestamp":"000001a079a74728"} 
[2026-09-07 07: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-07 07:47: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:47:54] 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-07 07:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919332864001,"66":27800,"88":206,"81":20480,"24":52,"16":400912854661726208,"45":1426655948876314624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919332864001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400912854661726208,"km_value":400912854661726.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426655948876314624,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919332864001,"power":27800,"unknown_88":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1426655948876314624}} 
[2026-09-07 07:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:54] local.INFO: GPS data processed {"connection_id":173376,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:54] local.INFO: Acknowledgment sent {"connection_id":173376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:54] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a7df80012d7b470005e15d980009011c1d..."} 
[2026-09-07 07:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a7df80012d7b470005e15d980009011c1d..."} 
[2026-09-07 07:47:54] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a7df80012d7b470005e15d980009011c1d..."} 
[2026-09-07 07:47:54] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:54] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":98655640,"longitude_deg":76.3053824,"latitude_deg":9.865564,"altitude":9,"angle":284,"satellites":29,"speed":6,"hex_longitude":"2d7b4700","hex_latitude":"05e15d98","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919344384001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883561396476678144,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257242636582912,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] 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-07 07:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747440000,"timestamp_ms":1788747440000,"timestamp_seconds":1788747440,"priority":1,"record_length":96,"hex_timestamp":"000001a079a7df80"} 
[2026-09-07 07: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-07 07:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2811066369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6199204852701452544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":904724480,"corrected_to":0} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785930752,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.WARNING: Large IO value detected {"io_id":167,"raw_value":8223574214431506437,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:54] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,45,85,24,241,157,16,54,160,211,64,94,10,30,66,207,128,95,29,176,1,240,9,227,121,225,4,113,205,33,125,63,136,40,239,52,2,203,5,8,14,51,167],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0},{"io_id":203,"original":904724480,"validated":0}]} 
[2026-09-07 07:47:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648791149779484672,"timestamp_seconds":648791149779484.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07: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-07 07:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:54] 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-07 07:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919344384001,"66":13319,"45":8883561396476678144,"85":15104,"24":6,"16":129257242636582912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919344384001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883561396476678144,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257242636582912,"km_value":129257242636582.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919344384001,"power":13319,"unknown_45":8883561396476678144,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-09-07 07:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:54] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:54] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:47:58] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a7e368012d7b46c005e15e180008013d1f..."} 
[2026-09-07 07:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a7e368012d7b46c005e15e180008013d1f..."} 
[2026-09-07 07:47:58] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a7e368012d7b46c005e15e180008013d1f..."} 
[2026-09-07 07:47:58] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:58] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98655768,"longitude_deg":76.305376,"latitude_deg":9.8655768,"altitude":8,"angle":317,"satellites":31,"speed":7,"hex_longitude":"2d7b46c0","hex_latitude":"05e15e18","is_valid_coordinates":true} 
[2026-09-07 07:47: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-07 07:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919344640001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815267436544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257246931550208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] 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-07 07:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788747441000,"timestamp_ms":1788747441000,"timestamp_seconds":1788747441,"priority":1,"record_length":96,"hex_timestamp":"000001a079a7e368"} 
[2026-09-07 07:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2813370369,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6289276845249714432,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-07 07:47:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":906821632,"corrected_to":0} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3785656320,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.WARNING: Large IO value detected {"io_id":167,"raw_value":8505049191142113285,"note":"Value kept but may cause issues"} 
[2026-09-07 07:47:58] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,45,85,24,241,157,16,54,160,219,192,93,9,29,10,66,211,64,94,30,207,128,1,240,3,227,121,225,4,113,205,41,141,65,112,33,239,52,2,203,5,8,22,51,167],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0},{"io_id":203,"original":906821632,"validated":0}]} 
[2026-09-07 07:47:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648830732198084608,"timestamp_seconds":648830732198084.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 07:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:47:58] 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-07 07:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919344640001,"66":12917,"45":8883068815267436544,"85":15104,"24":7,"16":129257246931550208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919344640001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815267436544,"description":"Unknown IO ID 45"} 
[2026-09-07 07:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257246931550208,"km_value":129257246931550.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:47:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919344640001,"power":12917,"unknown_45":8883068815267436544,"unknown_85":15104,"ignition":7,"odometer":null}} 
[2026-09-07 07:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:47:59] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:47:59] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:48:08] local.INFO: TCP Data received {"connection_id":174522,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:48:08] local.INFO: Processing buffer {"connection_id":174522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:48:08] local.INFO: IMEI packet received {"connection_id":174522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":174522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:48:25] local.INFO: TCP Data received {"connection_id":173376,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a76280012d13d04006d9c0c0000900002b..."} 
[2026-09-07 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a76280012d13d04006d9c0c0000900002b..."} 
[2026-09-07 07:48:25] local.INFO: Processing buffer {"connection_id":173376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a76280012d13d04006d9c0c0000900002b..."} 
[2026-09-07 07:48:25] local.INFO: Packet analysis {"connection_id":173376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:25] local.INFO: Extracted packet for processing {"connection_id":173376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:25] local.INFO: GPS Element Parsed {"raw_longitude":756273216,"raw_latitude":114933952,"longitude_deg":75.6273216,"latitude_deg":11.4933952,"altitude":9,"angle":0,"satellites":43,"speed":53,"hex_longitude":"2d13d040","hex_latitude":"06d9c0c0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919334656001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400913297043357696,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427148530087952384,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747408000,"timestamp_ms":1788747408000,"timestamp_seconds":1788747408,"priority":1,"record_length":96,"hex_timestamp":"000001a079a76280"} 
[2026-09-07 07: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-07 07:48: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-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919334656001,"66":27745,"151":206,"81":20480,"24":53,"16":400913297043357696,"45":1427148530087952384},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,81,24,16,45]} 
[2026-09-07 07:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919334656001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:48:25] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-07 07:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400913297043357696,"km_value":400913297043357.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427148530087952384,"description":"Unknown IO ID 45"} 
[2026-09-07 07:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919334656001,"power":27745,"unknown_151":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1427148530087952384}} 
[2026-09-07 07:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":173376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:48:25] local.INFO: GPS data processed {"connection_id":173376,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:48:25] local.INFO: Acknowledgment sent {"connection_id":173376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:48:30] local.INFO: TCP Data received {"connection_id":174521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a7e750012d7b458005e15ea80007015320..."} 
[2026-09-07 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a7e750012d7b458005e15ea80007015320..."} 
[2026-09-07 07:48:30] local.INFO: Processing buffer {"connection_id":174521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a7e750012d7b458005e15ea80007015320..."} 
[2026-09-07 07:48:30] local.INFO: Packet analysis {"connection_id":174521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:30] local.INFO: Extracted packet for processing {"connection_id":174521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763053440,"raw_latitude":98655912,"longitude_deg":76.305344,"latitude_deg":9.8655912,"altitude":7,"angle":339,"satellites":32,"speed":10,"hex_longitude":"2d7b4580","hex_latitude":"05e15ea8","is_valid_coordinates":true} 
[2026-09-07 07:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919344896001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446523291648,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257264111419392,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:30] 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-07 07:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788747442000,"timestamp_ms":1788747442000,"timestamp_seconds":1788747442,"priority":1,"record_length":96,"hex_timestamp":"000001a079a7e750"} 
[2026-09-07 07:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:48: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-07 07:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 07:48:30] 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-07 07:48: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-07 07:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:30] 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-07 07:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919344896001,"66":12917,"45":8882998446523291648,"85":15104,"24":10,"16":129257264111419392},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919344896001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446523291648,"description":"Unknown IO ID 45"} 
[2026-09-07 07:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257264111419392,"km_value":129257264111419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:48:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919344896001,"power":12917,"unknown_45":8882998446523291648,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-09-07 07:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":174521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:48:30] local.INFO: GPS data processed {"connection_id":174521,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:48:30] local.INFO: Acknowledgment sent {"connection_id":174521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:48:45] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:45] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:45] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:48:47] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:47] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:47] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:48:48] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:48] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:48] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:48:50] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:50] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:50] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:48:50] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:50] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:48:50] local.INFO: IMEI packet received {"connection_id":174523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":174523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:48:51] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a86838012d139f8006db3190000b01562c..."} 
[2026-09-07 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a86838012d139f8006db3190000b01562c..."} 
[2026-09-07 07:48:51] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a86838012d139f8006db3190000b01562c..."} 
[2026-09-07 07:48:51] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:48:51] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756260736,"raw_latitude":115028368,"longitude_deg":75.6260736,"latitude_deg":11.5028368,"altitude":11,"angle":342,"satellites":44,"speed":59,"hex_longitude":"2d139f80","hex_latitude":"06db3190","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919352064001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400917948492939264,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1415889531043813376,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747475000,"timestamp_ms":1788747475000,"timestamp_seconds":1788747475,"priority":1,"record_length":96,"hex_timestamp":"000001a079a86838"} 
[2026-09-07 07: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-07 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:48:51] 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-07 07: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-07 07: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-07 07:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:48:51] 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-07 07:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919352064001,"66":27767,"152":206,"81":20480,"24":59,"16":400917948492939264,"45":1415889531043813376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 07:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919352064001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:48:51] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 07:48:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400917948492939264,"km_value":400917948492939.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1415889531043813376,"description":"Unknown IO ID 45"} 
[2026-09-07 07:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919352064001,"power":27767,"unknown_152":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1415889531043813376}} 
[2026-09-07 07:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:48:51] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:48:51] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:48:53] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:53] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:48:53] local.INFO: IMEI packet received {"connection_id":173133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:48:54] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a7ef20012d7b448005e16100000701631c..."} 
[2026-09-07 07:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a7ef20012d7b448005e16100000701631c..."} 
[2026-09-07 07:48:54] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a7ef20012d7b448005e16100000701631c..."} 
[2026-09-07 07:48:54] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:54] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a7"} 
[2026-09-07 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98656512,"longitude_deg":76.3053184,"latitude_deg":9.8656512,"altitude":7,"angle":355,"satellites":28,"speed":14,"hex_longitude":"2d7b4480","hex_latitude":"05e16100","is_valid_coordinates":true} 
[2026-09-07 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919345152001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882646602802440192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257294176190464,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:54] 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-07 07:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747444000,"timestamp_ms":1788747444000,"timestamp_seconds":1788747444,"priority":1,"record_length":96,"hex_timestamp":"000001a079a7ef20"} 
[2026-09-07 07:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 07:48:54] 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-07 07:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:54] 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-07 07:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919345152001,"66":13526,"45":8882646602802440192,"85":15104,"24":14,"16":129257294176190464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919345152001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882646602802440192,"description":"Unknown IO ID 45"} 
[2026-09-07 07:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257294176190464,"km_value":129257294176190.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:48:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919345152001,"power":13526,"unknown_45":8882646602802440192,"unknown_85":15104,"ignition":14,"odometer":null}} 
[2026-09-07 07:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:48:55] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:48:55] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:48:59] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a81e00012d7b3e4005e184a0000701611a..."} 
[2026-09-07 07:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a81e00012d7b3e4005e184a0000701611a..."} 
[2026-09-07 07:48:59] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a81e00012d7b3e4005e184a0000701611a..."} 
[2026-09-07 07:48:59] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:48:59] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763051584,"raw_latitude":98665632,"longitude_deg":76.3051584,"latitude_deg":9.8665632,"altitude":7,"angle":353,"satellites":26,"speed":35,"hex_longitude":"2d7b3e40","hex_latitude":"05e184a0","is_valid_coordinates":true} 
[2026-09-07 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919345664001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127825883136,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129257745147756544,"note":"Value kept but may cause issues"} 
[2026-09-07 07:48:59] 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-07 07:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788747456000,"timestamp_ms":1788747456000,"timestamp_seconds":1788747456,"priority":1,"record_length":96,"hex_timestamp":"000001a079a81e00"} 
[2026-09-07 07:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:48: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-07 07:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 07:48:59] 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-07 07:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:48:59] 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-07 07:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919345664001,"66":13537,"45":8882365127825883136,"85":15104,"24":35,"16":129257745147756544},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919345664001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127825883136,"description":"Unknown IO ID 45"} 
[2026-09-07 07:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129257745147756544,"km_value":129257745147756.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:48:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919345664001,"power":13537,"unknown_45":8882365127825883136,"unknown_85":15104,"ignition":35,"odometer":null}} 
[2026-09-07 07:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:48:59] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:48:59] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:49:22] local.INFO: TCP Data received {"connection_id":174523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a88390012d13918006db55380009014f2c..."} 
[2026-09-07 07:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a88390012d13918006db55380009014f2c..."} 
[2026-09-07 07:49:22] local.INFO: Processing buffer {"connection_id":174523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a88390012d13918006db55380009014f2c..."} 
[2026-09-07 07:49:22] local.INFO: Packet analysis {"connection_id":174523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:49:22] local.INFO: Extracted packet for processing {"connection_id":174523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756257152,"raw_latitude":115037496,"longitude_deg":75.6257152,"latitude_deg":11.5037496,"altitude":9,"angle":335,"satellites":44,"speed":53,"hex_longitude":"2d139180","hex_latitude":"06db5538","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919353600001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400918420939341824,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413989574953242624,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788747482000,"timestamp_ms":1788747482000,"timestamp_seconds":1788747482,"priority":1,"record_length":96,"hex_timestamp":"000001a079a88390"} 
[2026-09-07 07: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-07 07:49: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-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:49:22] 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-07 07:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919353600001,"66":27691,"152":206,"81":20480,"24":53,"16":400918420939341824,"45":1413989574953242624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 07:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919353600001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:49:22] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 07:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400918420939341824,"km_value":400918420939341.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413989574953242624,"description":"Unknown IO ID 45"} 
[2026-09-07 07:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919353600001,"power":27691,"unknown_152":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1413989574953242624}} 
[2026-09-07 07:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":174523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:49:22] local.INFO: GPS data processed {"connection_id":174523,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:49:22] local.INFO: Acknowledgment sent {"connection_id":174523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:49:31] local.INFO: TCP Data received {"connection_id":173133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079a848f8012d7b3a8005e1a9b00006016319..."} 
[2026-09-07 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a848f8012d7b3a8005e1a9b00006016319..."} 
[2026-09-07 07:49:31] local.INFO: Processing buffer {"connection_id":173133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a848f8012d7b3a8005e1a9b00006016319..."} 
[2026-09-07 07:49:31] local.INFO: Packet analysis {"connection_id":173133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:49:31] local.INFO: Extracted packet for processing {"connection_id":173133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763050624,"raw_latitude":98675120,"longitude_deg":76.3050624,"latitude_deg":9.867512,"altitude":6,"angle":355,"satellites":25,"speed":35,"hex_longitude":"2d7b3a80","hex_latitude":"05e1a9b0","is_valid_coordinates":true} 
[2026-09-07 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919348736001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880605909223776256,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129258204709257216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:31] 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-07 07:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788747467000,"timestamp_ms":1788747467000,"timestamp_seconds":1788747467,"priority":1,"record_length":96,"hex_timestamp":"000001a079a848f8"} 
[2026-09-07 07:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 07:49:31] 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-07 07:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:49:31] 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-07 07:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919348736001,"66":13504,"45":8880605909223776256,"85":15104,"24":35,"16":129258204709257216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 07:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919348736001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880605909223776256,"description":"Unknown IO ID 45"} 
[2026-09-07 07:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129258204709257216,"km_value":129258204709257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:49:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457919348736001,"power":13504,"unknown_45":8880605909223776256,"unknown_85":15104,"ignition":35,"odometer":null}} 
[2026-09-07 07:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":173133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:49:31] local.INFO: GPS data processed {"connection_id":173133,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:49:31] local.INFO: Acknowledgment sent {"connection_id":173133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:49:48] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:48] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:48] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:49:49] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:49] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:49] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:49:52] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:52] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:52] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:49:53] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:53] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:49:53] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:49:54] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:49:54] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:49:54] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:49:54] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98777856,"longitude_deg":76.3036864,"latitude_deg":9.8777856,"altitude":3,"angle":0,"satellites":21,"speed":21,"hex_longitude":"2d7b04c0","hex_latitude":"05e33b00","is_valid_coordinates":true} 
[2026-09-07 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919376640001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129263238410928128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366740264960,"note":"Value kept but may cause issues"} 
[2026-09-07 07:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747581000,"timestamp_ms":1788747581000,"timestamp_seconds":1788747581,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa0648"} 
[2026-09-07 07:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 07:49:54] 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-07 07:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:49:54] 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-07 07:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919376640001,"66":13559,"206":206,"85":15104,"24":21,"16":129263238410928128,"45":8865617366740264960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-07 07:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919376640001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:49:54] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 07:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129263238410928128,"km_value":129263238410928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366740264960,"description":"Unknown IO ID 45"} 
[2026-09-07 07:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919376640001,"power":13559,"unknown_206":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8865617366740264960}} 
[2026-09-07 07:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:49:54] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:49:54] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:49:56] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:56] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:49:56] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:50:00] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:00] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:00] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:50:01] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a89ee8012d1381c006db78e8000701502c..."} 
[2026-09-07 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a89ee8012d1381c006db78e8000701502c..."} 
[2026-09-07 07:50:01] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079a89ee8012d1381c006db78e8000701502c..."} 
[2026-09-07 07:50:01] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:50:01] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079a8"} 
[2026-09-07 07:50:01] local.INFO: GPS Element Parsed {"raw_longitude":756253120,"raw_latitude":115046632,"longitude_deg":75.625312,"latitude_deg":11.5046632,"altitude":7,"angle":336,"satellites":44,"speed":56,"hex_longitude":"2d1381c0","hex_latitude":"06db78e8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919355392001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400918906270646272,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1410048925281630208,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788747489000,"timestamp_ms":1788747489000,"timestamp_seconds":1788747489,"priority":1,"record_length":96,"hex_timestamp":"000001a079a89ee8"} 
[2026-09-07 07: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-07 07:50: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-07 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 07:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:50:01] 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-07 07:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919355392001,"66":27745,"65":206,"81":20480,"24":56,"16":400918906270646272,"45":1410048925281630208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-07 07:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919355392001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:50:01] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 07:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400918906270646272,"km_value":400918906270646.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1410048925281630208,"description":"Unknown IO ID 45"} 
[2026-09-07 07:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919355392001,"power":27745,"unknown_65":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1410048925281630208}} 
[2026-09-07 07:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:50:01] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:50:01] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:50:19] local.INFO: TCP Data received {"connection_id":175855,"ip":"203.55.131.4","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-07 07:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175855,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-07 07:50:19] local.INFO: Processing buffer {"connection_id":175855,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-07 07:50:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":175855,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-07 07:50:25] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:50:25] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa0648012d7b04c005e33b000003000015..."} 
[2026-09-07 07:50:25] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:25] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98777856,"longitude_deg":76.3036864,"latitude_deg":9.8777856,"altitude":3,"angle":0,"satellites":21,"speed":21,"hex_longitude":"2d7b04c0","hex_latitude":"05e33b00","is_valid_coordinates":true} 
[2026-09-07 07:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919380736001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129263238410928128,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098091642880,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747581000,"timestamp_ms":1788747581000,"timestamp_seconds":1788747581,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa0648"} 
[2026-09-07 07:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:50:25] 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-07 07:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:25] 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-07 07:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919380736001,"66":13559,"206":206,"85":15104,"24":21,"16":129263238410928128,"45":8864421098091642880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-07 07:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919380736001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:50:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 07:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129263238410928128,"km_value":129263238410928.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098091642880,"description":"Unknown IO ID 45"} 
[2026-09-07 07:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919380736001,"power":13559,"unknown_206":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8864421098091642880}} 
[2026-09-07 07:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:50:26] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:50:26] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:50:53] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:53] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:53] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:50:56] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:56] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:50:56] local.INFO: IMEI packet received {"connection_id":174524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":174524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:50:58] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa21a0012d7b050005e34d18000401591a..."} 
[2026-09-07 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa21a0012d7b050005e34d18000401591a..."} 
[2026-09-07 07:50:58] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa21a0012d7b050005e34d18000401591a..."} 
[2026-09-07 07:50:58] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:58] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98782488,"longitude_deg":76.3036928,"latitude_deg":9.8782488,"altitude":4,"angle":345,"satellites":26,"speed":31,"hex_longitude":"2d7b0500","hex_latitude":"05e34d18","is_valid_coordinates":true} 
[2026-09-07 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919380736001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129263461749227520,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098091642880,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788747588000,"timestamp_ms":1788747588000,"timestamp_seconds":1788747588,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa21a0"} 
[2026-09-07 07:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:50:58] 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-07 07:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:58] 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-07 07:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919380736001,"66":13515,"206":206,"85":15104,"24":31,"16":129263461749227520,"45":8864421098091642880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-07 07:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919380736001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:50:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 07:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129263461749227520,"km_value":129263461749227.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098091642880,"description":"Unknown IO ID 45"} 
[2026-09-07 07:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919380736001,"power":13515,"unknown_206":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8864421098091642880}} 
[2026-09-07 07:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:50:58] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:50:58] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:50:59] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa48b0012d7af9c005e37108000501581f..."} 
[2026-09-07 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa48b0012d7af9c005e37108000501581f..."} 
[2026-09-07 07:50:59] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa48b0012d7af9c005e37108000501581f..."} 
[2026-09-07 07:50:59] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:59] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763034048,"raw_latitude":98791688,"longitude_deg":76.3034048,"latitude_deg":9.8791688,"altitude":5,"angle":344,"satellites":31,"speed":33,"hex_longitude":"2d7af9c0","hex_latitude":"05e37108","is_valid_coordinates":true} 
[2026-09-07 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919382528001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129263929900662784,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466837006336,"note":"Value kept but may cause issues"} 
[2026-09-07 07:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788747598000,"timestamp_ms":1788747598000,"timestamp_seconds":1788747598,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa48b0"} 
[2026-09-07 07:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:50: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-07 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 07:50:59] 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-07 07:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:50:59] 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-07 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919382528001,"66":13493,"206":206,"85":15104,"24":33,"16":129263929900662784,"45":8864491466837006336},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-07 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919382528001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:50:59] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 07:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129263929900662784,"km_value":129263929900662.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466837006336,"description":"Unknown IO ID 45"} 
[2026-09-07 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919382528001,"power":13493,"unknown_206":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8864491466837006336}} 
[2026-09-07 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:50:59] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:50:59] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:50:59] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:59] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:50:59] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:51:01] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.31","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 07:51:01] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 07:51:01] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:51:02] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079a9fe78012d12cbc006dcfaa8000e01602b..."} 
[2026-09-07 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079a9fe78012d12cbc006dcfaa8000e01602b..."} 
[2026-09-07 07:51:02] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a079..."} 
[2026-09-07 07:51:02] local.INFO: IMEI packet received {"connection_id":173134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":173134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:51:02] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa0e18012d12c94006dd0828000f01552c..."} 
[2026-09-07 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa0e18012d12c94006dd0828000f01552c..."} 
[2026-09-07 07:51:02] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a079a9fe78012d12cbc006dcfaa8000e01602b..."} 
[2026-09-07 07:51:02] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a079a9"} 
[2026-09-07 07:51:02] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079a9"} 
[2026-09-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756206528,"raw_latitude":115145384,"longitude_deg":75.6206528,"latitude_deg":11.5145384,"altitude":14,"angle":352,"satellites":43,"speed":34,"hex_longitude":"2d12cbc0","hex_latitude":"06dcfaa8","is_valid_coordinates":true} 
[2026-09-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919379456001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400924206260289536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355231673594148864,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788747579000,"timestamp_ms":1788747579000,"timestamp_seconds":1788747579,"priority":1,"record_length":96,"hex_timestamp":"000001a079a9fe78"} 
[2026-09-07 07:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:02] 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-07 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919379456001,"66":27745,"67":206,"81":20480,"24":34,"16":400924206260289536,"45":1355231673594148864},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919379456001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400924206260289536,"km_value":400924206260289.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355231673594148864,"description":"Unknown IO ID 45"} 
[2026-09-07 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919379456001,"power":27745,"unknown_67":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1355231673594148864}} 
[2026-09-07 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:51:02] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:51:02] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:51:02] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:02] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756205888,"raw_latitude":115148840,"longitude_deg":75.6205888,"latitude_deg":11.514884,"altitude":15,"angle":341,"satellites":44,"speed":36,"hex_longitude":"2d12c940","hex_latitude":"06dd0828","is_valid_coordinates":true} 
[2026-09-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919380224001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400924378058981376,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1354387248664717312,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788747583000,"timestamp_ms":1788747583000,"timestamp_seconds":1788747583,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa0e18"} 
[2026-09-07 07:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:51:02] 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-07 07:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:02] 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-07 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919380224001,"66":27800,"67":206,"81":20480,"24":36,"16":400924378058981376,"45":1354387248664717312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-07 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919380224001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400924378058981376,"km_value":400924378058981.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1354387248664717312,"description":"Unknown IO ID 45"} 
[2026-09-07 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919380224001,"power":27800,"unknown_67":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1354387248664717312}} 
[2026-09-07 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:51:02] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:51:02] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:51:03] local.INFO: TCP Data received {"connection_id":173134,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa3140012d12bc4006dd2890000f01502b..."} 
[2026-09-07 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa3140012d12bc4006dd2890000f01502b..."} 
[2026-09-07 07:51:03] local.INFO: Processing buffer {"connection_id":173134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa3140012d12bc4006dd2890000f01502b..."} 
[2026-09-07 07:51:03] local.INFO: Packet analysis {"connection_id":173134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:03] local.INFO: Extracted packet for processing {"connection_id":173134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756202560,"raw_latitude":115157136,"longitude_deg":75.620256,"latitude_deg":11.5157136,"altitude":15,"angle":336,"satellites":43,"speed":43,"hex_longitude":"2d12bc40","hex_latitude":"06dd2890","is_valid_coordinates":true} 
[2026-09-07 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919381248001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400924811850678272,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1353683561223825408,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788747592000,"timestamp_ms":1788747592000,"timestamp_seconds":1788747592,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa3140"} 
[2026-09-07 07:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:51:03] 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-07 07:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:51:03] 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-07 07:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919381248001,"66":27745,"67":206,"81":20480,"24":43,"16":400924811850678272,"45":1353683561223825408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-07 07:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919381248001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:51:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 07:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400924811850678272,"km_value":400924811850678.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1353683561223825408,"description":"Unknown IO ID 45"} 
[2026-09-07 07:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919381248001,"power":27745,"unknown_67":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1353683561223825408}} 
[2026-09-07 07:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":173134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:51:03] local.INFO: GPS data processed {"connection_id":173134,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:51:03] local.INFO: Acknowledgment sent {"connection_id":173134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:51:32] local.INFO: TCP Data received {"connection_id":174524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aa96d0012d7af64005e37c880005015b27..."} 
[2026-09-07 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aa96d0012d7af64005e37c880005015b27..."} 
[2026-09-07 07:51:32] local.INFO: Processing buffer {"connection_id":174524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aa96d0012d7af64005e37c880005015b27..."} 
[2026-09-07 07:51:32] local.INFO: Packet analysis {"connection_id":174524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:32] local.INFO: Extracted packet for processing {"connection_id":174524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079aa"} 
[2026-09-07 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763033152,"raw_latitude":98794632,"longitude_deg":76.3033152,"latitude_deg":9.8794632,"altitude":5,"angle":347,"satellites":39,"speed":15,"hex_longitude":"2d7af640","hex_latitude":"05e37c88","is_valid_coordinates":true} 
[2026-09-07 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919385088001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129264084519485440,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861324873351366656,"note":"Value kept but may cause issues"} 
[2026-09-07 07:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788747618000,"timestamp_ms":1788747618000,"timestamp_seconds":1788747618,"priority":1,"record_length":96,"hex_timestamp":"000001a079aa96d0"} 
[2026-09-07 07:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 07:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:51:32] 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-07 07:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919385088001,"66":13526,"206":206,"85":15104,"24":15,"16":129264084519485440,"45":8861324873351366656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-09-07 07:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919385088001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:51:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 07:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129264084519485440,"km_value":129264084519485.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861324873351366656,"description":"Unknown IO ID 45"} 
[2026-09-07 07:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919385088001,"power":13526,"unknown_206":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8861324873351366656}} 
[2026-09-07 07:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":174524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:51:32] local.INFO: GPS data processed {"connection_id":174524,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:51:32] local.INFO: Acknowledgment sent {"connection_id":174524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:51:54] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:54] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:54] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:51:55] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:55] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:51:55] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:00] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:00] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:00] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:01] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ab4698012d12540006de7ce80009014a2b..."} 
[2026-09-07 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ab4698012d12540006de7ce80009014a2b..."} 
[2026-09-07 07:52:01] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ab4698012d12540006de7ce80009014a2b..."} 
[2026-09-07 07:52:01] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:01] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:01] local.INFO: GPS Element Parsed {"raw_longitude":756175872,"raw_latitude":115244264,"longitude_deg":75.6175872,"latitude_deg":11.5244264,"altitude":9,"angle":330,"satellites":43,"speed":34,"hex_longitude":"2d125400","hex_latitude":"06de7ce8","is_valid_coordinates":true} 
[2026-09-07 07:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919401728001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400929287206600704,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320680620228929536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788747663000,"timestamp_ms":1788747663000,"timestamp_seconds":1788747663,"priority":1,"record_length":96,"hex_timestamp":"000001a079ab4698"} 
[2026-09-07 07:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:52: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-07 07:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 07:52:01] 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-07 07:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:01] 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-07 07:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919401728001,"66":27713,"231":206,"81":20480,"24":34,"16":400929287206600704,"45":1320680620228929536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 07:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919401728001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:52:01] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 07:52:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400929287206600704,"km_value":400929287206600.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320680620228929536,"description":"Unknown IO ID 45"} 
[2026-09-07 07:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919401728001,"power":27713,"unknown_231":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1320680620228929536}} 
[2026-09-07 07:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:52:01] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:52:01] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:52:18] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:18] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:18] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:52:20] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:20] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:20] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:23] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:23] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:23] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:24] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079abd338012d7a648005e469280005012728..."} 
[2026-09-07 07:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079abd338012d7a648005e469280005012728..."} 
[2026-09-07 07:52:24] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079abd338012d7a648005e469280005012728..."} 
[2026-09-07 07:52:24] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:24] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:24] local.INFO: GPS Element Parsed {"raw_longitude":762995840,"raw_latitude":98855208,"longitude_deg":76.299584,"latitude_deg":9.8855208,"altitude":5,"angle":295,"satellites":40,"speed":17,"hex_longitude":"2d7a6480","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-09-07 07:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919409408001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129267679407112192,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823396120255180800,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:24] 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-07 07:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788747699000,"timestamp_ms":1788747699000,"timestamp_seconds":1788747699,"priority":1,"record_length":96,"hex_timestamp":"000001a079abd338"} 
[2026-09-07 07:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:52: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-07 07:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 07:52:24] 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-07 07:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:52:24] 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-07 07:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919409408001,"66":13374,"208":206,"85":15104,"24":17,"16":129267679407112192,"45":8823396120255180800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 07:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919409408001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:52:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 07:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129267679407112192,"km_value":129267679407112.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823396120255180800,"description":"Unknown IO ID 45"} 
[2026-09-07 07:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919409408001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8823396120255180800}} 
[2026-09-07 07:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:52:25] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:52:25] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:52:46] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:46] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:46] local.INFO: IMEI packet received {"connection_id":173135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:52:49] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:49] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:52:49] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:52:50] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:50] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:50] local.INFO: IMEI packet received {"connection_id":173135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":173135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:52] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:52] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:52:52] local.INFO: IMEI packet received {"connection_id":173135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:52:54] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ab5250012d124f8006de85c8000901562c..."} 
[2026-09-07 07:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ab5250012d124f8006de85c8000901562c..."} 
[2026-09-07 07:52:54] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ab5250012d124f8006de85c8000901562c..."} 
[2026-09-07 07:52:54] local.INFO: Packet analysis {"connection_id":173135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:54] local.INFO: Extracted packet for processing {"connection_id":173135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:54] local.INFO: GPS Element Parsed {"raw_longitude":756174720,"raw_latitude":115246536,"longitude_deg":75.617472,"latitude_deg":11.5246536,"altitude":9,"angle":342,"satellites":44,"speed":34,"hex_longitude":"2d124f80","hex_latitude":"06de85c8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919401728001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400929411760652288,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320680620228929536,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747666000,"timestamp_ms":1788747666000,"timestamp_seconds":1788747666,"priority":1,"record_length":96,"hex_timestamp":"000001a079ab5250"} 
[2026-09-07 07: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-07 07:52: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-07 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 07:52:54] 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-07 07: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-07 07: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-07 07:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:54] 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-07 07:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919401728001,"66":27745,"231":206,"81":20480,"24":34,"16":400929411760652288,"45":1320680620228929536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 07:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919401728001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:52:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 07:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400929411760652288,"km_value":400929411760652.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320680620228929536,"description":"Unknown IO ID 45"} 
[2026-09-07 07:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919401728001,"power":27745,"unknown_231":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1320680620228929536}} 
[2026-09-07 07:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:52:54] local.INFO: GPS data processed {"connection_id":173135,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:52:54] local.INFO: Acknowledgment sent {"connection_id":173135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:52:57] local.INFO: TCP Data received {"connection_id":173135,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ab7960012d12448006dea758000901512d..."} 
[2026-09-07 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ab7960012d12448006dea758000901512d..."} 
[2026-09-07 07:52:57] local.INFO: Processing buffer {"connection_id":173135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ab7960012d12448006dea758000901512d..."} 
[2026-09-07 07:52:57] local.INFO: Packet analysis {"connection_id":173135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:57] local.INFO: Extracted packet for processing {"connection_id":173135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756171904,"raw_latitude":115255128,"longitude_deg":75.6171904,"latitude_deg":11.5255128,"altitude":9,"angle":337,"satellites":45,"speed":37,"hex_longitude":"2d124480","hex_latitude":"06dea758","is_valid_coordinates":true} 
[2026-09-07 07:52: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-07 07:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919402496001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400929849847316480,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319413982834313216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788747676000,"timestamp_ms":1788747676000,"timestamp_seconds":1788747676,"priority":1,"record_length":96,"hex_timestamp":"000001a079ab7960"} 
[2026-09-07 07:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 07:52: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 07:52:57] 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-07 07:52: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-07 07:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:52:57] 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-07 07:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919402496001,"66":27691,"231":206,"81":20480,"24":37,"16":400929849847316480,"45":1319413982834313216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 07:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919402496001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:52:57] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 07:52:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400929849847316480,"km_value":400929849847316.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319413982834313216,"description":"Unknown IO ID 45"} 
[2026-09-07 07:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919402496001,"power":27691,"unknown_231":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1319413982834313216}} 
[2026-09-07 07:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":173135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:52:57] local.INFO: GPS data processed {"connection_id":173135,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:52:57] local.INFO: Acknowledgment sent {"connection_id":173135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:53:11] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:11] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:11] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:53:14] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:14] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:14] local.INFO: IMEI packet received {"connection_id":175858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":175858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:53:15] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079abdb08012d7a628005e469b80005011127..."} 
[2026-09-07 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079abdb08012d7a628005e469b80005011127..."} 
[2026-09-07 07:53:15] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079abdb08012d7a628005e469b80005011127..."} 
[2026-09-07 07:53:15] local.INFO: Packet analysis {"connection_id":175858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:53:15] local.INFO: Extracted packet for processing {"connection_id":175858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ab"} 
[2026-09-07 07:53:15] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855352,"longitude_deg":76.2995328,"latitude_deg":9.8855352,"altitude":5,"angle":273,"satellites":39,"speed":10,"hex_longitude":"2d7a6280","hex_latitude":"05e469b8","is_valid_coordinates":true} 
[2026-09-07 07:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919410944001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129267705176915968,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819314733093562368,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:15] 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-07 07:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788747701000,"timestamp_ms":1788747701000,"timestamp_seconds":1788747701,"priority":1,"record_length":96,"hex_timestamp":"000001a079abdb08"} 
[2026-09-07 07:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:53: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-07 07:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 07:53:15] 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-07 07:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":175858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":175858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":175858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53:15] 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-07 07:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919410944001,"66":13656,"208":206,"85":15104,"24":10,"16":129267705176915968,"45":8819314733093562368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 07:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919410944001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 07:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129267705176915968,"km_value":129267705176915.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819314733093562368,"description":"Unknown IO ID 45"} 
[2026-09-07 07:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919410944001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8819314733093562368}} 
[2026-09-07 07:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":175858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:53:15] local.INFO: GPS data processed {"connection_id":175858,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:53:15] local.INFO: Acknowledgment sent {"connection_id":175858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:53:22] local.INFO: TCP Data received {"connection_id":175858,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ad1388012d7a230005e469b0000b010029..."} 
[2026-09-07 07:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ad1388012d7a230005e469b0000b010029..."} 
[2026-09-07 07:53:22] local.INFO: Processing buffer {"connection_id":175858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ad1388012d7a230005e469b0000b010029..."} 
[2026-09-07 07:53:22] local.INFO: Packet analysis {"connection_id":175858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:53:22] local.INFO: Extracted packet for processing {"connection_id":175858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:53:22] local.INFO: GPS Element Parsed {"raw_longitude":762979072,"raw_latitude":98855344,"longitude_deg":76.2979072,"latitude_deg":9.8855344,"altitude":11,"angle":256,"satellites":41,"speed":6,"hex_longitude":"2d7a2300","hex_latitude":"05e469b0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919431680001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268624299917312,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801089228351586304,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788747781000,"timestamp_ms":1788747781000,"timestamp_seconds":1788747781,"priority":1,"record_length":96,"hex_timestamp":"000001a079ad1388"} 
[2026-09-07 07: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-07 07:53: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-07 07: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 07:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53: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-07 07:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919431680001,"66":13852,"39":206,"87":13824,"24":6,"16":129268624299917312,"45":8801089228351586304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 07:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919431680001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:53:22] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 07:53:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 07:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268624299917312,"km_value":129268624299917.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801089228351586304,"description":"Unknown IO ID 45"} 
[2026-09-07 07:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919431680001,"power":13852,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8801089228351586304}} 
[2026-09-07 07:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":175858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:53:23] local.INFO: GPS data processed {"connection_id":175858,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:53:23] local.INFO: Acknowledgment sent {"connection_id":175858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:53:45] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:45] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:45] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:53:46] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:46] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:46] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:53:47] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:47] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:53:47] local.INFO: IMEI packet received {"connection_id":174525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":174525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:53:48] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:48] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:48] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:53:48] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079acbd98012d11db0006e05ce8000a01572d..."} 
[2026-09-07 07:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079acbd98012d11db0006e05ce8000a01572d..."} 
[2026-09-07 07:53:48] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079acbd98012d11db0006e05ce8000a01572d..."} 
[2026-09-07 07:53:48] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ac"} 
[2026-09-07 07:53:48] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ac"} 
[2026-09-07 07:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756144896,"raw_latitude":115367144,"longitude_deg":75.6144896,"latitude_deg":11.5367144,"altitude":10,"angle":343,"satellites":45,"speed":61,"hex_longitude":"2d11db00","hex_latitude":"06e05ce8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919424768001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400935441894735872,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1289507266587510784,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788747759000,"timestamp_ms":1788747759000,"timestamp_seconds":1788747759,"priority":1,"record_length":96,"hex_timestamp":"000001a079acbd98"} 
[2026-09-07 07: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-07 07:53: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-07 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 07:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:53: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-07 07:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919424768001,"66":27789,"156":206,"81":20480,"24":61,"16":400935441894735872,"45":1289507266587510784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-09-07 07:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919424768001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:53:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 07:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400935441894735872,"km_value":400935441894735.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1289507266587510784,"description":"Unknown IO ID 45"} 
[2026-09-07 07:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919424768001,"power":27789,"unknown_156":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1289507266587510784}} 
[2026-09-07 07:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:53:48] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:53:48] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:53:53] local.INFO: TCP Data received {"connection_id":173136,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:53:53] local.INFO: Processing buffer {"connection_id":173136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:53:53] local.INFO: IMEI packet received {"connection_id":173136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":173136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:53:53] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:53] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:53:53] local.INFO: IMEI packet received {"connection_id":175859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":175859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:53:54] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ad1b58012d7a220005e46928000b00f129..."} 
[2026-09-07 07:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ad1b58012d7a220005e46928000b00f129..."} 
[2026-09-07 07:53:54] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ad1b58012d7a220005e46928000b00f129..."} 
[2026-09-07 07:53:54] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:53:54] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:53:54] local.INFO: GPS Element Parsed {"raw_longitude":762978816,"raw_latitude":98855208,"longitude_deg":76.2978816,"latitude_deg":9.8855208,"altitude":11,"angle":241,"satellites":41,"speed":5,"hex_longitude":"2d7a2200","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919431936001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268637184819200,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800878122119049216,"note":"Value kept but may cause issues"} 
[2026-09-07 07:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747783000,"timestamp_ms":1788747783000,"timestamp_seconds":1788747783,"priority":1,"record_length":96,"hex_timestamp":"000001a079ad1b58"} 
[2026-09-07 07: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-07 07: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-07 07: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 07:53:54] 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-07 07: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-07 07: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-07 07:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:53:54] 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-07 07:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919431936001,"66":13798,"39":206,"87":13824,"24":5,"16":129268637184819200,"45":8800878122119049216},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 07:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919431936001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:53:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 07:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 07:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268637184819200,"km_value":129268637184819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800878122119049216,"description":"Unknown IO ID 45"} 
[2026-09-07 07:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919431936001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8800878122119049216}} 
[2026-09-07 07:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:53:54] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:53:54] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:54:19] local.INFO: TCP Data received {"connection_id":174525,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079acd508012d11d14006e07f400009015b2d..."} 
[2026-09-07 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079acd508012d11d14006e07f400009015b2d..."} 
[2026-09-07 07:54:19] local.INFO: Processing buffer {"connection_id":174525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079acd508012d11d14006e07f400009015b2d..."} 
[2026-09-07 07:54:19] local.INFO: Packet analysis {"connection_id":174525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ac"} 
[2026-09-07 07:54:19] local.INFO: Extracted packet for processing {"connection_id":174525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ac"} 
[2026-09-07 07:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756142400,"raw_latitude":115375936,"longitude_deg":75.61424,"latitude_deg":11.5375936,"altitude":9,"angle":347,"satellites":45,"speed":59,"hex_longitude":"2d11d140","hex_latitude":"06e07f40","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919426304001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400935879981400064,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1286622148078397440,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788747765000,"timestamp_ms":1788747765000,"timestamp_seconds":1788747765,"priority":1,"record_length":96,"hex_timestamp":"000001a079acd508"} 
[2026-09-07 07: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-07 07:54: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-07 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 07:54:19] 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-07 07: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-07 07: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-07 07:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919426304001,"66":27767,"156":206,"81":20480,"24":59,"16":400935879981400064,"45":1286622148078397440},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,81,24,16,45]} 
[2026-09-07 07:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919426304001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:54:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 07:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400935879981400064,"km_value":400935879981400.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1286622148078397440,"description":"Unknown IO ID 45"} 
[2026-09-07 07:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919426304001,"power":27767,"unknown_156":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1286622148078397440}} 
[2026-09-07 07:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":174525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:54:19] local.INFO: GPS data processed {"connection_id":174525,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:54:19] local.INFO: Acknowledgment sent {"connection_id":174525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:54:26] local.INFO: TCP Data received {"connection_id":175859,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ad1f40012d7a218005e468f0000b00fe28..."} 
[2026-09-07 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ad1f40012d7a218005e468f0000b00fe28..."} 
[2026-09-07 07:54:26] local.INFO: Processing buffer {"connection_id":175859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ad1f40012d7a218005e468f0000b00fe28..."} 
[2026-09-07 07:54:26] local.INFO: Packet analysis {"connection_id":175859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:26] local.INFO: Extracted packet for processing {"connection_id":175859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762978688,"raw_latitude":98855152,"longitude_deg":76.2978688,"latitude_deg":9.8855152,"altitude":11,"angle":254,"satellites":40,"speed":6,"hex_longitude":"2d7a2180","hex_latitude":"05e468f0","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919432448001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268645774753792,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647142303744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788747784000,"timestamp_ms":1788747784000,"timestamp_seconds":1788747784,"priority":1,"record_length":96,"hex_timestamp":"000001a079ad1f40"} 
[2026-09-07 07: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-07 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:54:26] 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-07 07: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-07 07: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-07 07:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:54: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-07 07:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919432448001,"66":13798,"39":206,"87":13824,"24":6,"16":129268645774753792,"45":8800596647142303744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 07:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919432448001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:54:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 07:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 07:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268645774753792,"km_value":129268645774753.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647142303744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919432448001,"power":13798,"unknown_39":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8800596647142303744}} 
[2026-09-07 07:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":175859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:54:26] local.INFO: GPS data processed {"connection_id":175859,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:54:26] local.INFO: Acknowledgment sent {"connection_id":175859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:54:48] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:48] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:48] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:54:49] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:49] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:49] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:54:50] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: IMEI packet received {"connection_id":173137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:54:50] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:54:50] local.INFO: IMEI packet received {"connection_id":173137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:54:52] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ade290012d117d8006e20170000a01622d..."} 
[2026-09-07 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ade290012d117d8006e20170000a01622d..."} 
[2026-09-07 07:54:52] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ade290012d117d8006e20170000a01622d..."} 
[2026-09-07 07:54:52] local.INFO: Packet analysis {"connection_id":173137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:52] local.INFO: Extracted packet for processing {"connection_id":173137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756120960,"raw_latitude":115474800,"longitude_deg":75.612096,"latitude_deg":11.54748,"altitude":10,"angle":354,"satellites":45,"speed":54,"hex_longitude":"2d117d80","hex_latitude":"06e20170","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919443712001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400940806308888576,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261641243920437248,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788747834000,"timestamp_ms":1788747834000,"timestamp_seconds":1788747834,"priority":1,"record_length":96,"hex_timestamp":"000001a079ade290"} 
[2026-09-07 07: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-07 07:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:52] 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-07 07:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919443712001,"66":27713,"108":206,"81":20480,"24":54,"16":400940806308888576,"45":1261641243920437248},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 07:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919443712001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:54:52] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 07:54:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400940806308888576,"km_value":400940806308888.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261641243920437248,"description":"Unknown IO ID 45"} 
[2026-09-07 07:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919443712001,"power":27713,"unknown_108":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1261641243920437248}} 
[2026-09-07 07:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":173137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:54:52] local.INFO: GPS data processed {"connection_id":173137,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:54:52] local.INFO: Acknowledgment sent {"connection_id":173137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:54:53] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:53] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:54:53] local.INFO: IMEI packet received {"connection_id":175861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:54:54] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079adfde8012d117cc006e22668000c00022d..."} 
[2026-09-07 07:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079adfde8012d117cc006e22668000c00022d..."} 
[2026-09-07 07:54:54] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079adfde8012d117cc006e22668000c00022d..."} 
[2026-09-07 07:54:54] local.INFO: Packet analysis {"connection_id":173137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:54] local.INFO: Extracted packet for processing {"connection_id":173137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756120768,"raw_latitude":115484264,"longitude_deg":75.6120768,"latitude_deg":11.5484264,"altitude":12,"angle":2,"satellites":45,"speed":51,"hex_longitude":"2d117cc0","hex_latitude":"06e22668","is_valid_coordinates":true} 
[2026-09-07 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919445504001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400941265870389248,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260304237783511040,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747841000,"timestamp_ms":1788747841000,"timestamp_seconds":1788747841,"priority":1,"record_length":96,"hex_timestamp":"000001a079adfde8"} 
[2026-09-07 07:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:54: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-07 07:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 07:54:54] 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-07 07:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:54:54] 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-07 07:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919445504001,"66":27767,"108":206,"81":20480,"24":51,"16":400941265870389248,"45":1260304237783511040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 07:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919445504001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:54:54] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 07:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400941265870389248,"km_value":400941265870389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260304237783511040,"description":"Unknown IO ID 45"} 
[2026-09-07 07:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919445504001,"power":27767,"unknown_108":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1260304237783511040}} 
[2026-09-07 07:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":173137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:54:54] local.INFO: GPS data processed {"connection_id":173137,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:54:54] local.INFO: Acknowledgment sent {"connection_id":173137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:54:55] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ad6d60012d7a1d0005e468000009010328..."} 
[2026-09-07 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ad6d60012d7a1d0005e468000009010328..."} 
[2026-09-07 07:54:55] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ad6d60012d7a1d0005e468000009010328..."} 
[2026-09-07 07:54:55] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:55] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919432704001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800455909653934080,"note":"Value kept but may cause issues"} 
[2026-09-07 07:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788747804000,"timestamp_ms":1788747804000,"timestamp_seconds":1788747804,"priority":1,"record_length":96,"hex_timestamp":"000001a079ad6d60"} 
[2026-09-07 07: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-07 07:54: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-07 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:54:55] 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-07 07: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-07 07: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-07 07:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:54:55] 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-07 07:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919432704001,"66":13993,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8800455909653934080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919432704001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:54:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:54:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800455909653934080,"description":"Unknown IO ID 45"} 
[2026-09-07 07:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919432704001,"power":13993,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8800455909653934080}} 
[2026-09-07 07:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:54:55] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:54:55] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:55:25] local.INFO: TCP Data received {"connection_id":173137,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ae2110012d11804006e24c20000b00082e..."} 
[2026-09-07 07:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ae2110012d11804006e24c20000b00082e..."} 
[2026-09-07 07:55:25] local.INFO: Processing buffer {"connection_id":173137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ae2110012d11804006e24c20000b00082e..."} 
[2026-09-07 07:55:25] local.INFO: Packet analysis {"connection_id":173137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:55:25] local.INFO: Extracted packet for processing {"connection_id":173137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756121664,"raw_latitude":115493920,"longitude_deg":75.6121664,"latitude_deg":11.549392,"altitude":11,"angle":8,"satellites":46,"speed":46,"hex_longitude":"2d118040","hex_latitude":"06e24c20","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919447296001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400941734021824512,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260093131553400832,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747850000,"timestamp_ms":1788747850000,"timestamp_seconds":1788747850,"priority":1,"record_length":96,"hex_timestamp":"000001a079ae2110"} 
[2026-09-07 07: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-07 07:55: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-07 07:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919447296001,"66":27767,"108":206,"81":20480,"24":46,"16":400941734021824512,"45":1260093131553400832},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 07:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919447296001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:55:25] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 07:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400941734021824512,"km_value":400941734021824.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260093131553400832,"description":"Unknown IO ID 45"} 
[2026-09-07 07:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919447296001,"power":27767,"unknown_108":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1260093131553400832}} 
[2026-09-07 07:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":173137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:55:25] local.INFO: GPS data processed {"connection_id":173137,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:55:25] local.INFO: Acknowledgment sent {"connection_id":173137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:55:27] local.INFO: TCP Data received {"connection_id":175861,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079adbf68012d7a1d0005e468000009010327..."} 
[2026-09-07 07:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079adbf68012d7a1d0005e468000009010327..."} 
[2026-09-07 07:55:27] local.INFO: Processing buffer {"connection_id":175861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079adbf68012d7a1d0005e468000009010327..."} 
[2026-09-07 07:55:27] local.INFO: Packet analysis {"connection_id":175861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:55:27] local.INFO: Extracted packet for processing {"connection_id":175861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ad"} 
[2026-09-07 07:55:27] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919437824001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788747825000,"timestamp_ms":1788747825000,"timestamp_seconds":1788747825,"priority":1,"record_length":96,"hex_timestamp":"000001a079adbf68"} 
[2026-09-07 07:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:55: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-07 07:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 07:55: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-07 07:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:55:27] 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-07 07:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919437824001,"66":13689,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919437824001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:55:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:55:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919437824001,"power":13689,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":175861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:55:27] local.INFO: GPS data processed {"connection_id":175861,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:55:27] local.INFO: Acknowledgment sent {"connection_id":175861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:55:45] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:45] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:45] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:55:46] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:46] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:46] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:55:50] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:50] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:55:50] local.INFO: IMEI packet received {"connection_id":174526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":174526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:55:51] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079ae3c68012d11854006e27078000700062e..."} 
[2026-09-07 07:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ae3c68012d11854006e27078000700062e..."} 
[2026-09-07 07:55:51] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ae3c68012d11854006e27078000700062e..."} 
[2026-09-07 07:55:51] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:55:51] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756122944,"raw_latitude":115503224,"longitude_deg":75.6122944,"latitude_deg":11.5503224,"altitude":7,"angle":6,"satellites":46,"speed":59,"hex_longitude":"2d118540","hex_latitude":"06e27078","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919449600001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400942189288357888,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261078293974360064,"note":"Value kept but may cause issues"} 
[2026-09-07 07:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747857000,"timestamp_ms":1788747857000,"timestamp_seconds":1788747857,"priority":1,"record_length":96,"hex_timestamp":"000001a079ae3c68"} 
[2026-09-07 07: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-07 07:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:55:51] 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-07 07:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919449600001,"66":27767,"108":206,"81":20480,"24":59,"16":400942189288357888,"45":1261078293974360064},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 07:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919449600001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:55:51] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 07:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400942189288357888,"km_value":400942189288357.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261078293974360064,"description":"Unknown IO ID 45"} 
[2026-09-07 07:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919449600001,"power":27767,"unknown_108":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1261078293974360064}} 
[2026-09-07 07:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:55:52] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:55:52] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:55:52] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:52] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:52] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:55:53] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:53] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:53] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:55:58] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:58] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:55:58] local.INFO: IMEI packet received {"connection_id":175862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":175862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:56:00] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ae1170012d7a1d0005e468000009010327..."} 
[2026-09-07 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ae1170012d7a1d0005e468000009010327..."} 
[2026-09-07 07:56:00] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ae1170012d7a1d0005e468000009010327..."} 
[2026-09-07 07:56:00] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:00] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:00] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919443200001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788747846000,"timestamp_ms":1788747846000,"timestamp_seconds":1788747846,"priority":1,"record_length":96,"hex_timestamp":"000001a079ae1170"} 
[2026-09-07 07:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 07:56:00] 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-07 07:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56:00] 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-07 07:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919443200001,"66":14135,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919443200001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:56:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:56:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919443200001,"power":14135,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:56:00] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:56:00] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:56:03] local.INFO: TCP Data received {"connection_id":175862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079ae6378012d7a1d0005e468000009010328..."} 
[2026-09-07 07:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ae6378012d7a1d0005e468000009010328..."} 
[2026-09-07 07:56:03] local.INFO: Processing buffer {"connection_id":175862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ae6378012d7a1d0005e468000009010328..."} 
[2026-09-07 07:56:03] local.INFO: Packet analysis {"connection_id":175862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:03] local.INFO: Extracted packet for processing {"connection_id":175862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919448576001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788747867000,"timestamp_ms":1788747867000,"timestamp_seconds":1788747867,"priority":1,"record_length":96,"hex_timestamp":"000001a079ae6378"} 
[2026-09-07 07:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:56: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-07 07:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 07:56:03] 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-07 07:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56: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-07 07:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919448576001,"66":13559,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919448576001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:56:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919448576001,"power":13559,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":175862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:56:03] local.INFO: GPS data processed {"connection_id":175862,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:56:03] local.INFO: Acknowledgment sent {"connection_id":175862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:56:23] local.INFO: TCP Data received {"connection_id":174526,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079af55a8012d11520006e3df00000601622c..."} 
[2026-09-07 07:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af55a8012d11520006e3df00000601622c..."} 
[2026-09-07 07:56:23] local.INFO: Processing buffer {"connection_id":174526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af55a8012d11520006e3df00000601622c..."} 
[2026-09-07 07:56:23] local.INFO: Packet analysis {"connection_id":174526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:56:23] local.INFO: Extracted packet for processing {"connection_id":174526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756109824,"raw_latitude":115597056,"longitude_deg":75.6109824,"latitude_deg":11.5597056,"altitude":6,"angle":354,"satellites":44,"speed":55,"hex_longitude":"2d115200","hex_latitude":"06e3df00","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919468032001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400946814968135680,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249256344976412672,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747929000,"timestamp_ms":1788747929000,"timestamp_seconds":1788747929,"priority":1,"record_length":96,"hex_timestamp":"000001a079af55a8"} 
[2026-09-07 07: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-07 07:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 07:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:56:23] 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-07 07:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919468032001,"66":27821,"111":206,"81":20480,"24":55,"16":400946814968135680,"45":1249256344976412672},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-07 07:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919468032001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:56:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 07:56:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400946814968135680,"km_value":400946814968135.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249256344976412672,"description":"Unknown IO ID 45"} 
[2026-09-07 07:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919468032001,"power":27821,"unknown_111":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1249256344976412672}} 
[2026-09-07 07:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":174526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:56:23] local.INFO: GPS data processed {"connection_id":174526,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:56:23] local.INFO: Acknowledgment sent {"connection_id":174526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:56:45] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:45] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:45] local.INFO: IMEI packet received {"connection_id":175864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":175864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:56:48] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:48] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:48] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:56:52] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:52] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:56:52] local.INFO: IMEI packet received {"connection_id":175864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":175864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:56:53] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079af7100012d114e8006e40338000301612e..."} 
[2026-09-07 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af7100012d114e8006e40338000301612e..."} 
[2026-09-07 07:56:53] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af7100012d114e8006e40338000301612e..."} 
[2026-09-07 07:56:53] local.INFO: Packet analysis {"connection_id":175864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:56:53] local.INFO: Extracted packet for processing {"connection_id":175864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756108928,"raw_latitude":115606328,"longitude_deg":75.6108928,"latitude_deg":11.5606328,"altitude":3,"angle":353,"satellites":46,"speed":48,"hex_longitude":"2d114e80","hex_latitude":"06e40338","is_valid_coordinates":true} 
[2026-09-07 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919469824001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400947265939701760,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248060076327895040,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788747936000,"timestamp_ms":1788747936000,"timestamp_seconds":1788747936,"priority":1,"record_length":96,"hex_timestamp":"000001a079af7100"} 
[2026-09-07 07:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 07:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:56:53] 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-07 07:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919469824001,"66":27767,"111":206,"81":20480,"24":48,"16":400947265939701760,"45":1248060076327895040},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-07 07:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919469824001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:56:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 07:56:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400947265939701760,"km_value":400947265939701.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248060076327895040,"description":"Unknown IO ID 45"} 
[2026-09-07 07:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919469824001,"power":27767,"unknown_111":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1248060076327895040}} 
[2026-09-07 07:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":175864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:56:53] local.INFO: GPS data processed {"connection_id":175864,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:56:53] local.INFO: Acknowledgment sent {"connection_id":175864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:56:53] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:53] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:56:53] local.INFO: IMEI packet received {"connection_id":175863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":175863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:56:54] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079aeb580012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079aeb580012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:56:54] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079aeb580012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:56:54] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:54] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ae"} 
[2026-09-07 07:56:54] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919453952001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788747888000,"timestamp_ms":1788747888000,"timestamp_seconds":1788747888,"priority":1,"record_length":96,"hex_timestamp":"000001a079aeb580"} 
[2026-09-07 07: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-07 07:56: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-07 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 07:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:56:54] 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-07 07:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919453952001,"66":13689,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919453952001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:56:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919453952001,"power":13689,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:56:54] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:56:54] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:57:25] local.INFO: TCP Data received {"connection_id":175863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079af0788012d7a1d0005e468000009010329..."} 
[2026-09-07 07:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af0788012d7a1d0005e468000009010329..."} 
[2026-09-07 07:57:25] local.INFO: Processing buffer {"connection_id":175863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af0788012d7a1d0005e468000009010329..."} 
[2026-09-07 07:57:25] local.INFO: Packet analysis {"connection_id":175863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:25] local.INFO: Extracted packet for processing {"connection_id":175863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919459328001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788747909000,"timestamp_ms":1788747909000,"timestamp_seconds":1788747909,"priority":1,"record_length":96,"hex_timestamp":"000001a079af0788"} 
[2026-09-07 07: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-07 07:57: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-07 07: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 07:57:25] 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-07 07: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-07 07: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-07 07:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:57:25] 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-07 07:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919459328001,"66":13363,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919459328001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:57:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919459328001,"power":13363,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":175863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:57:25] local.INFO: GPS data processed {"connection_id":175863,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:57:25] local.INFO: Acknowledgment sent {"connection_id":175863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:57:26] local.INFO: TCP Data received {"connection_id":175864,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079af8488012d114a4006e41868000201562e..."} 
[2026-09-07 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af8488012d114a4006e41868000201562e..."} 
[2026-09-07 07:57:26] local.INFO: Processing buffer {"connection_id":175864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af8488012d114a4006e41868000201562e..."} 
[2026-09-07 07:57:26] local.INFO: Packet analysis {"connection_id":175864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:26] local.INFO: Extracted packet for processing {"connection_id":175864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":756107840,"raw_latitude":115611752,"longitude_deg":75.610784,"latitude_deg":11.5611752,"altitude":2,"angle":342,"satellites":46,"speed":43,"hex_longitude":"2d114a40","hex_latitude":"06e41868","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919471616001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400947536522641408,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247074913911781376,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788747941000,"timestamp_ms":1788747941000,"timestamp_seconds":1788747941,"priority":1,"record_length":96,"hex_timestamp":"000001a079af8488"} 
[2026-09-07 07: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-07 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 07:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:57: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-07 07:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919471616001,"66":27626,"111":206,"81":20480,"24":43,"16":400947536522641408,"45":1247074913911781376},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-09-07 07:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919471616001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:57:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 07:57:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400947536522641408,"km_value":400947536522641.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247074913911781376,"description":"Unknown IO ID 45"} 
[2026-09-07 07:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919471616001,"power":27626,"unknown_111":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1247074913911781376}} 
[2026-09-07 07:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":175864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:57:26] local.INFO: GPS data processed {"connection_id":175864,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:57:26] local.INFO: Acknowledgment sent {"connection_id":175864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:57:48] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:48] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:48] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:57:50] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:50] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:50] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:57:53] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:53] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:57:53] local.INFO: IMEI packet received {"connection_id":173138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:57:55] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079af5990012d7a1d0005e468000009010328..."} 
[2026-09-07 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af5990012d7a1d0005e468000009010328..."} 
[2026-09-07 07:57:55] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af5990012d7a1d0005e468000009010328..."} 
[2026-09-07 07:57:55] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:55] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919464704001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788747930000,"timestamp_ms":1788747930000,"timestamp_seconds":1788747930,"priority":1,"record_length":96,"hex_timestamp":"000001a079af5990"} 
[2026-09-07 07: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-07 07:57: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-07 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 07:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07: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-07 07: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-07 07:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:57:55] 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-07 07:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919464704001,"66":13798,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919464704001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:57:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:57:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919464704001,"power":13798,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:57:55] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:57:55] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:57:55] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:55] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:57:55] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:57:56] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a079af9fe0012d113d4006e434a00003014a30..."} 
[2026-09-07 07:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079af9fe0012d113d4006e434a00003014a30..."} 
[2026-09-07 07:57:56] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079af9fe0012d113d4006e434a00003014a30..."} 
[2026-09-07 07:57:56] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:56] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756104512,"raw_latitude":115618976,"longitude_deg":75.6104512,"latitude_deg":11.5618976,"altitude":3,"angle":330,"satellites":48,"speed":46,"hex_longitude":"2d113d40","hex_latitude":"06e434a0","is_valid_coordinates":true} 
[2026-09-07 07:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919472896001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400947918774730752,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1245878645262149632,"note":"Value kept but may cause issues"} 
[2026-09-07 07:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788747948000,"timestamp_ms":1788747948000,"timestamp_seconds":1788747948,"priority":1,"record_length":96,"hex_timestamp":"000001a079af9fe0"} 
[2026-09-07 07:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 07:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:57:56] local.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-07 07:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919472896001,"66":27593,"112":206,"81":20480,"24":46,"16":400947918774730752,"45":1245878645262149632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919472896001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:57:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:57:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400947918774730752,"km_value":400947918774730.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1245878645262149632,"description":"Unknown IO ID 45"} 
[2026-09-07 07:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919472896001,"power":27593,"unknown_112":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1245878645262149632}} 
[2026-09-07 07:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:57:56] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:57:56] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:58:01] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a079afc308012d112a4006e453b80006014e30..."} 
[2026-09-07 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afc308012d112a4006e453b80006014e30..."} 
[2026-09-07 07:58:01] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afc308012d112a4006e453b80006014e30..."} 
[2026-09-07 07:58:01] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:01] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":756099648,"raw_latitude":115626936,"longitude_deg":75.6099648,"latitude_deg":11.5626936,"altitude":6,"angle":334,"satellites":48,"speed":35,"hex_longitude":"2d112a40","hex_latitude":"06e453b8","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919474688001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948369746296832,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1242219470566760448,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788747957000,"timestamp_ms":1788747957000,"timestamp_seconds":1788747957,"priority":1,"record_length":96,"hex_timestamp":"000001a079afc308"} 
[2026-09-07 07: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-07 07:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 07:58:01] 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-07 07: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-07 07: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-07 07:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 07:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919474688001,"66":27865,"112":206,"81":20480,"24":35,"16":400948369746296832,"45":1242219470566760448},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919474688001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:58:01] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:58:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948369746296832,"km_value":400948369746296.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1242219470566760448,"description":"Unknown IO ID 45"} 
[2026-09-07 07:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919474688001,"power":27865,"unknown_112":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1242219470566760448}} 
[2026-09-07 07:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:58:01] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:58:01] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:58:27] local.INFO: TCP Data received {"connection_id":173138,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079afab98012d7a1d0005e468000009010329..."} 
[2026-09-07 07:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afab98012d7a1d0005e468000009010329..."} 
[2026-09-07 07:58:27] local.INFO: Processing buffer {"connection_id":173138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afab98012d7a1d0005e468000009010329..."} 
[2026-09-07 07:58:27] local.INFO: Packet analysis {"connection_id":173138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:27] local.INFO: Extracted packet for processing {"connection_id":173138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:27] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919470080001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788747951000,"timestamp_ms":1788747951000,"timestamp_seconds":1788747951,"priority":1,"record_length":96,"hex_timestamp":"000001a079afab98"} 
[2026-09-07 07:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:58: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-07 07:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 07:58: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-07 07:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:58:27] 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-07 07:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919470080001,"66":13515,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919470080001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:58:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919470080001,"power":13515,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":173138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:58:27] local.INFO: GPS data processed {"connection_id":173138,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:58:27] local.INFO: Acknowledgment sent {"connection_id":173138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:58:45] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:45] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:45] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:58:48] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:48] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:48] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:58:51] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:51] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:58:51] local.INFO: IMEI packet received {"connection_id":175867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":175867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:58:52] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:52] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:52] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:52] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 07:58: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-07 07:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 07:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 07:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 07:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58: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-07 07:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:58:52] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 07:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:58:52] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:58:52] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:58:53] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:53] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:58:53] local.INFO: IMEI packet received {"connection_id":175868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:58:55] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079affda0012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079affda0012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:58:55] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079affda0012d7a1d0005e46800000901032a..."} 
[2026-09-07 07:58:55] local.INFO: Packet analysis {"connection_id":175868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:55] local.INFO: Extracted packet for processing {"connection_id":175868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919475456001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788747972000,"timestamp_ms":1788747972000,"timestamp_seconds":1788747972,"priority":1,"record_length":96,"hex_timestamp":"000001a079affda0"} 
[2026-09-07 07: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-07 07:58: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-07 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 07:58:55] 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-07 07: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-07 07: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-07 07:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:58:55] 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-07 07:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919475456001,"66":13820,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919475456001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:58:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:58:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919475456001,"power":13820,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":175868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:58:55] local.INFO: GPS data processed {"connection_id":175868,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:58:55] local.INFO: Acknowledgment sent {"connection_id":175868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:58:56] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:56] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:58:56] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:56] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 07:58: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-07 07:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 07:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 07:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 07:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 07:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 07:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:58:56] local.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-07 07:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:58:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:58:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 07:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:58:56] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:58:56] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:59:18] local.INFO: TCP Data received {"connection_id":175869,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:59:18] local.INFO: Processing buffer {"connection_id":175869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 07:59:18] local.INFO: IMEI packet received {"connection_id":175869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 07:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":175869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:59:27] local.INFO: TCP Data received {"connection_id":175867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:27] local.INFO: Processing buffer {"connection_id":175867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:27] local.INFO: Packet analysis {"connection_id":175867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:59:27] local.INFO: Extracted packet for processing {"connection_id":175867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 07:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 07:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 07: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-07 07:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 07:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 07: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-07 07: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-07 07:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:59:27] local.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-07 07:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 07:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":175867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:59:27] local.INFO: GPS data processed {"connection_id":175867,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:59:27] local.INFO: Acknowledgment sent {"connection_id":175867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:59:27] local.INFO: TCP Data received {"connection_id":175868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079b04fa8012d7a1d0005e468000009010329..."} 
[2026-09-07 07:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b04fa8012d7a1d0005e468000009010329..."} 
[2026-09-07 07:59:27] local.INFO: Processing buffer {"connection_id":175868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b04fa8012d7a1d0005e468000009010329..."} 
[2026-09-07 07:59:27] local.INFO: Packet analysis {"connection_id":175868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 07:59:27] local.INFO: Extracted packet for processing {"connection_id":175868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 07:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919480832001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788747993000,"timestamp_ms":1788747993000,"timestamp_seconds":1788747993,"priority":1,"record_length":96,"hex_timestamp":"000001a079b04fa8"} 
[2026-09-07 07: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-07 07: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-07 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 07:59:27] 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-07 07: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-07 07: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-07 07:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:59:27] 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-07 07:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919480832001,"66":13928,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919480832001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919480832001,"power":13928,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":175868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:59:27] local.INFO: GPS data processed {"connection_id":175868,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:59:27] local.INFO: Acknowledgment sent {"connection_id":175868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:59:45] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:45] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:45] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 07:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:59:49] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:50] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:50] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 07:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 07:59:50] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:50] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 07:59:50] local.INFO: IMEI packet received {"connection_id":174528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 07:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":174528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:59:51] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:51] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 07:59:51] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:59:51] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 07:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 07:59: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-07 07:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 07: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-07 07:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 07:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 07:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 07: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-07 07:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 07:59:51] 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-07 07:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 07:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 07:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 07:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 07:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 07:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:59:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 07:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 07:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 07:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 07:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:59:51] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:59:51] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 07:59:54] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:54] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 07:59:54] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 07:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 07:59:57] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079b0a1b0012d7a1d0005e468000009010328..."} 
[2026-09-07 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b0a1b0012d7a1d0005e468000009010328..."} 
[2026-09-07 07:59:57] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b0a1b0012d7a1d0005e468000009010328..."} 
[2026-09-07 07:59:57] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 07:59:57] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 07: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-07 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919486208001,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 07:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788748014000,"timestamp_ms":1788748014000,"timestamp_seconds":1788748014,"priority":1,"record_length":96,"hex_timestamp":"000001a079b0a1b0"} 
[2026-09-07 07: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-07 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 07: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 07:59:57] 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-07 07: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-07 07: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-07 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 07:59:57] 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-07 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919486208001,"66":13656,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919486208001,"description":"Unknown IO ID 0"} 
[2026-09-07 07:59:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 07:59:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919486208001,"power":13656,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 07:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 07:59:57] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-07 07:59:57] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:00:23] local.INFO: TCP Data received {"connection_id":174528,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:23] local.INFO: Processing buffer {"connection_id":174528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:23] local.INFO: Packet analysis {"connection_id":174528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:00:23] local.INFO: Extracted packet for processing {"connection_id":174528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 08: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-07 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:00:23] 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-07 08:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 08:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:00:23] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 08:00:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 08:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 08:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":174528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:00:23] local.INFO: GPS data processed {"connection_id":174528,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:00:23] local.INFO: Acknowledgment sent {"connection_id":174528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:00:29] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079b0f3b8012d7a1d0005e468000009010327..."} 
[2026-09-07 08:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b0f3b8012d7a1d0005e468000009010327..."} 
[2026-09-07 08:00:29] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b0f3b8012d7a1d0005e468000009010327..."} 
[2026-09-07 08:00:29] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 08:00:29] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b0"} 
[2026-09-07 08:00:29] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 08:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919491584001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788748035000,"timestamp_ms":1788748035000,"timestamp_seconds":1788748035,"priority":1,"record_length":96,"hex_timestamp":"000001a079b0f3b8"} 
[2026-09-07 08:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:00: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-07 08:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:00:29] 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-07 08:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:00:29] 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-07 08:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919491584001,"66":13993,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 08:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919491584001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:00:29] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 08:00:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919491584001,"power":13993,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 08:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:00:29] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:00:29] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:00:45] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:45] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:45] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:00:50] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:50] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:00:50] local.INFO: IMEI packet received {"connection_id":175870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":175870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:00:51] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:51] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:00:51] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:00:51] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 08:00: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-07 08:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 08: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-07 08:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:00:51] 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-07 08:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 08:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:00:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 08:00:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 08:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 08:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:00:51] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:00:51] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:00:53] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:53] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:53] local.INFO: IMEI packet received {"connection_id":173384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:00:58] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:58] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:00:58] local.INFO: IMEI packet received {"connection_id":173384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":173384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:01:01] local.INFO: TCP Data received {"connection_id":173384,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:01] local.INFO: Processing buffer {"connection_id":173384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:01] local.INFO: Packet analysis {"connection_id":173384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b1"} 
[2026-09-07 08:01:01] local.INFO: Extracted packet for processing {"connection_id":173384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b1"} 
[2026-09-07 08:01:01] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 08:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919496960001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788748049000,"timestamp_ms":1788748049000,"timestamp_seconds":1788748049,"priority":1,"record_length":96,"hex_timestamp":"000001a079b12a68"} 
[2026-09-07 08: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-07 08:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":169,"data_length":795,"current_offset":136} 
[2026-09-07 08:01:01] 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-07 08: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-07 08: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-07 08:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919496960001,"66":13526,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 08:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919496960001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:01:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 08:01:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919496960001,"power":13526,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 08:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":173384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:01:01] local.INFO: GPS data processed {"connection_id":173384,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:01:01] local.INFO: Acknowledgment sent {"connection_id":173384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:01:23] local.INFO: TCP Data received {"connection_id":175870,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:01:23] local.INFO: Processing buffer {"connection_id":175870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079afe248012d111f4006e46e38000701552f..."} 
[2026-09-07 08:01:23] local.INFO: Packet analysis {"connection_id":175870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:01:23] local.INFO: Extracted packet for processing {"connection_id":175870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079af"} 
[2026-09-07 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756096832,"raw_latitude":115633720,"longitude_deg":75.6096832,"latitude_deg":11.563372,"altitude":7,"angle":341,"satellites":47,"speed":38,"hex_longitude":"2d111f40","hex_latitude":"06e46e38","is_valid_coordinates":true} 
[2026-09-07 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919476992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446011295744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788747965000,"timestamp_ms":1788747965000,"timestamp_seconds":1788747965,"priority":1,"record_length":96,"hex_timestamp":"000001a079afe248"} 
[2026-09-07 08:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:01:23] 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-07 08:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919476992001,"66":27745,"112":206,"81":20480,"24":38,"16":400948726228582400,"45":1236871446011295744},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 08:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919476992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:01:23] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 08:01:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446011295744,"description":"Unknown IO ID 45"} 
[2026-09-07 08:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919476992001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1236871446011295744}} 
[2026-09-07 08:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":175870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:01:23] local.INFO: GPS data processed {"connection_id":175870,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:01:23] local.INFO: Acknowledgment sent {"connection_id":175870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:01:45] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:45] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:45] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:01:46] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:46] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:46] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:01:48] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:48] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:48] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:01:50] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:50] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:01:50] local.INFO: IMEI packet received {"connection_id":173140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:01:51] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:01:51] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:01:51] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:01:51] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:01:51] 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-07 08: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-07 08: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-07 08:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:01:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:01:51] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:01:51] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:01:53] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:53] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:01:53] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:01:54] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:54] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b12a68012d7a1d0005e468000009010326..."} 
[2026-09-07 08:01:54] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b1"} 
[2026-09-07 08:01:54] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b1"} 
[2026-09-07 08:01:54] local.INFO: GPS Element Parsed {"raw_longitude":762977536,"raw_latitude":98854912,"longitude_deg":76.2977536,"latitude_deg":9.8854912,"altitude":9,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d7a1d00","hex_latitude":"05e46800","is_valid_coordinates":true} 
[2026-09-07 08:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919500544001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748049000,"timestamp_ms":1788748049000,"timestamp_seconds":1788748049,"priority":1,"record_length":96,"hex_timestamp":"000001a079b12a68"} 
[2026-09-07 08: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-07 08:01: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-07 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 08:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:01:54] 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-07 08:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919500544001,"66":13526,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 08:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919500544001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:01:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 08:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919500544001,"power":13526,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 08:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:01:54] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:01:54] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:02:23] local.INFO: TCP Data received {"connection_id":173140,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:23] local.INFO: Processing buffer {"connection_id":173140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:23] local.INFO: Packet analysis {"connection_id":173140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:02:23] local.INFO: Extracted packet for processing {"connection_id":173140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:02:23] 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-07 08: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-07 08: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-07 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:02:23] 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-07 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:02:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":173140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:02:23] local.INFO: GPS data processed {"connection_id":173140,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:02:23] local.INFO: Acknowledgment sent {"connection_id":173140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:02:26] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:26] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:26] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b2"} 
[2026-09-07 08:02:26] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b2"} 
[2026-09-07 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854960,"longitude_deg":76.2978048,"latitude_deg":9.885496,"altitude":9,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-09-07 08:02:26] 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-07 08:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919500544001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189272258674688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788748121000,"timestamp_ms":1788748121000,"timestamp_seconds":1788748121,"priority":1,"record_length":96,"hex_timestamp":"000001a079b243a8"} 
[2026-09-07 08:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:02: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-07 08:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 08:02:26] 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-07 08:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:02: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-07 08:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919500544001,"66":13450,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799189272258674688},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 08:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919500544001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:02:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 08:02:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189272258674688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919500544001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799189272258674688}} 
[2026-09-07 08:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:02:26] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:02:26] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:02:48] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:48] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:48] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:02:50] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:50] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:50] local.INFO: IMEI packet received {"connection_id":175871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":175871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:02:53] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:53] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:02:53] local.INFO: IMEI packet received {"connection_id":175872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":175872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:02:54] local.INFO: TCP Data received {"connection_id":175872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:54] local.INFO: Processing buffer {"connection_id":175872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b243a8012d7a1f0005e468300009010329..."} 
[2026-09-07 08:02:54] local.INFO: Packet analysis {"connection_id":175872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b2"} 
[2026-09-07 08:02:54] local.INFO: Extracted packet for processing {"connection_id":175872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b2"} 
[2026-09-07 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98854960,"longitude_deg":76.2978048,"latitude_deg":9.885496,"altitude":9,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e46830","is_valid_coordinates":true} 
[2026-09-07 08:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919518976001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129268701609328640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212108288,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748121000,"timestamp_ms":1788748121000,"timestamp_seconds":1788748121,"priority":1,"record_length":96,"hex_timestamp":"000001a079b243a8"} 
[2026-09-07 08: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-07 08:02: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-07 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:02:54] 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-07 08: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-07 08: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-07 08:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919518976001,"66":13450,"145":206,"87":12288,"24":0,"16":129268701609328640,"45":8799752222212108288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-09-07 08:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919518976001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:02:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 08:02:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129268701609328640,"km_value":129268701609328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212108288,"description":"Unknown IO ID 45"} 
[2026-09-07 08:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919518976001,"power":13450,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799752222212108288}} 
[2026-09-07 08:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":175872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:02:54] local.INFO: GPS data processed {"connection_id":175872,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:02:54] local.INFO: Acknowledgment sent {"connection_id":175872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:02:55] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:55] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:02:55] local.INFO: IMEI packet received {"connection_id":175871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":175871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:02:56] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:56] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:02:56] local.INFO: Packet analysis {"connection_id":175871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:02:56] local.INFO: Extracted packet for processing {"connection_id":175871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:02:56] 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-07 08: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-07 08: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-07 08:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:02:56] 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-07 08:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:02:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":175871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:02:57] local.INFO: GPS data processed {"connection_id":175871,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:02:57] local.INFO: Acknowledgment sent {"connection_id":175871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:03:01] local.INFO: TCP Data received {"connection_id":175871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:01] local.INFO: Processing buffer {"connection_id":175871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:01] local.INFO: Packet analysis {"connection_id":175871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:03:01] local.INFO: Extracted packet for processing {"connection_id":175871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:03:01] 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-07 08: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-07 08: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-07 08:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:03:01] 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-07 08:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:03:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":175871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:03:01] local.INFO: GPS data processed {"connection_id":175871,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:03:01] local.INFO: Acknowledgment sent {"connection_id":175871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:03:45] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:45] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:45] local.INFO: IMEI packet received {"connection_id":174531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:03:50] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:50] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:03:50] local.INFO: IMEI packet received {"connection_id":174531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":174531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:03:52] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:52] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:03:52] local.INFO: Packet analysis {"connection_id":174531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:03:52] local.INFO: Extracted packet for processing {"connection_id":174531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:03: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-07 08:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:03:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":174531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:03:52] local.INFO: GPS data processed {"connection_id":174531,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:03:52] local.INFO: Acknowledgment sent {"connection_id":174531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:04:24] local.INFO: TCP Data received {"connection_id":174531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:24] local.INFO: Processing buffer {"connection_id":174531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:24] local.INFO: Packet analysis {"connection_id":174531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:04:24] local.INFO: Extracted packet for processing {"connection_id":174531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:04:24] 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-07 08: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-07 08: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-07 08:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:04:24] 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-07 08:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:04:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":174531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:04:24] local.INFO: GPS data processed {"connection_id":174531,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:04:24] local.INFO: Acknowledgment sent {"connection_id":174531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:04:46] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:46] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:46] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:04:50] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:50] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:04:50] local.INFO: IMEI packet received {"connection_id":174532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":174532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:04:53] local.INFO: TCP Data received {"connection_id":174533,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:04:53] local.INFO: Processing buffer {"connection_id":174533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:04:53] local.INFO: IMEI packet received {"connection_id":174533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":174533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:04:58] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:58] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:04:58] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:04:58] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:04:58] 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-07 08:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:04:58] 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-07 08:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:04:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:04:58] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:04:58] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:05:30] local.INFO: TCP Data received {"connection_id":174532,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:30] local.INFO: Processing buffer {"connection_id":174532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:30] local.INFO: Packet analysis {"connection_id":174532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:05:30] local.INFO: Extracted packet for processing {"connection_id":174532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:05:30] 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-07 08: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-07 08: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-07 08:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:05:30] 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-07 08:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:05:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":174532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:05:30] local.INFO: GPS data processed {"connection_id":174532,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:05:30] local.INFO: Acknowledgment sent {"connection_id":174532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:05:45] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:45] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:45] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:05:50] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:50] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:05:50] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:05:52] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:52] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:05:52] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:05:52] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 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-07 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 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-07 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:05:52] 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-07 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:05:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:05:52] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:05:52] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:06:11] local.INFO: TCP Data received {"connection_id":173142,"ip":"203.55.131.4","data_length":241,"data_hex":"16030100ec010000e803038b0291caa597d913482aaf06071944118c7cd22d5a..."} 
[2026-09-07 08:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173142,"packet_length":241,"packet_hex":"16030100ec010000e803038b0291caa597d913482aaf06071944118c7cd22d5a..."} 
[2026-09-07 08:06:11] local.INFO: Processing buffer {"connection_id":173142,"buffer_length":241,"buffer_hex":"16030100ec010000e803038b0291caa597d913482aaf06071944118c7cd22d5a..."} 
[2026-09-07 08:06:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":173142,"buffer_length":241,"first_bytes_hex":"16030100ec010000e803038b0291caa5"} 
[2026-09-07 08:06:23] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:06:23] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b481e0012d10fe0006e4bf78000701552f..."} 
[2026-09-07 08:06:23] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:06:23] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b4"} 
[2026-09-07 08:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919479040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1233775221269215232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748268000,"timestamp_ms":1788748268000,"timestamp_seconds":1788748268,"priority":1,"record_length":96,"hex_timestamp":"000001a079b481e0"} 
[2026-09-07 08: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-07 08:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:06:23] 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-07 08: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-07 08: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-07 08:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:06:23] 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-07 08:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919479040001,"66":26115,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1233775221269215232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919479040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:06:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1233775221269215232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919479040001,"power":26115,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1233775221269215232}} 
[2026-09-07 08:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:06:23] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:06:23] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:06:45] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:45] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:45] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:06:47] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:47] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:47] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:06:51] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:51] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:06:51] local.INFO: IMEI packet received {"connection_id":173143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":173143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:06:52] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:06:52] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:06:52] local.INFO: Packet analysis {"connection_id":173143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:06:52] local.INFO: Extracted packet for processing {"connection_id":173143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:06:52] 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-07 08:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:06:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:06:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":173143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:06:52] local.INFO: GPS data processed {"connection_id":173143,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:06:52] local.INFO: Acknowledgment sent {"connection_id":173143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:07:23] local.INFO: TCP Data received {"connection_id":173143,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:23] local.INFO: Processing buffer {"connection_id":173143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:23] local.INFO: Packet analysis {"connection_id":173143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:07:23] local.INFO: Extracted packet for processing {"connection_id":173143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:07:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:07:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":173143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:07:23] local.INFO: GPS data processed {"connection_id":173143,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:07:23] local.INFO: Acknowledgment sent {"connection_id":173143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:07:45] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:45] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:45] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:07:47] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:47] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:07:47] local.INFO: IMEI packet received {"connection_id":175873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":175873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:07:48] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ba5de0012d7a640005e46b60000b00662c..."} 
[2026-09-07 08:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ba5de0012d7a640005e46b60000b00662c..."} 
[2026-09-07 08:07:48] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ba5de0012d7a640005e46b60000b00662c..."} 
[2026-09-07 08:07:48] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:07:48] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":98855776,"longitude_deg":76.2995712,"latitude_deg":9.8855776,"altitude":11,"angle":102,"satellites":44,"speed":11,"hex_longitude":"2d7a6400","hex_latitude":"05e46b60","is_valid_coordinates":true} 
[2026-09-07 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-07 08:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919652352001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129270969352060928,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818399939419385856,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788748652000,"timestamp_ms":1788748652000,"timestamp_seconds":1788748652,"priority":1,"record_length":96,"hex_timestamp":"000001a079ba5de0"} 
[2026-09-07 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-07 08:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 08:07: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-07 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-07 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-07 08:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919652352001,"66":13830,"102":206,"87":12288,"24":11,"16":129270969352060928,"45":8818399939419385856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919652352001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:07:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:07:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129270969352060928,"km_value":129270969352060.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818399939419385856,"description":"Unknown IO ID 45"} 
[2026-09-07 08:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919652352001,"power":13830,"unknown_102":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8818399939419385856}} 
[2026-09-07 08:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:07:48] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:07:48] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:07:49] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ba65b0012d7a664005e46a70000b00742c..."} 
[2026-09-07 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ba65b0012d7a664005e46a70000b00742c..."} 
[2026-09-07 08:07:49] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ba65b0012d7a664005e46a70000b00742c..."} 
[2026-09-07 08:07:49] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:07:49] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":98855536,"longitude_deg":76.2996288,"latitude_deg":9.8855536,"altitude":11,"angle":116,"satellites":44,"speed":13,"hex_longitude":"2d7a6640","hex_latitude":"05e46a70","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919654912001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129270999416832000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995605352448,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788748654000,"timestamp_ms":1788748654000,"timestamp_seconds":1788748654,"priority":1,"record_length":96,"hex_timestamp":"000001a079ba65b0"} 
[2026-09-07 08: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-07 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":102,"raw_value":-2305835309911506944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4785083209809920,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3116730369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3087084922,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1115947008,"corrected_to":0} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831574528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-2881972283881028124,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,87,24,241,157,16,67,160,54,45,64,107,13,43,10,66,228,192,96,8,44,201,1,240,121,4,113,205,189,48,239,53,2,203,5,7,17],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":203,"original":1115947008,"validated":0}]} 
[2026-09-07 08:07:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792745873582522368,"timestamp_seconds":792745873582522.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919654912001,"66":13798,"102":206,"87":12288,"24":13,"16":129270999416832000,"45":8819173995605352448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919654912001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:07:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129270999416832000,"km_value":129270999416832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995605352448,"description":"Unknown IO ID 45"} 
[2026-09-07 08:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919654912001,"power":13798,"unknown_102":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8819173995605352448}} 
[2026-09-07 08:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:07:49] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:07:49] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:07:50] local.INFO: TCP Data received {"connection_id":173389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:50] local.INFO: Processing buffer {"connection_id":173389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:50] local.INFO: IMEI packet received {"connection_id":173389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:07:55] local.INFO: TCP Data received {"connection_id":173389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:55] local.INFO: Processing buffer {"connection_id":173389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:07:55] local.INFO: IMEI packet received {"connection_id":173389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":173389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:07:56] local.INFO: TCP Data received {"connection_id":173389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:56] local.INFO: Processing buffer {"connection_id":173389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:07:56] local.INFO: Packet analysis {"connection_id":173389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:07:56] local.INFO: Extracted packet for processing {"connection_id":173389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:07: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-07 08:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:07: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:07: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-07 08:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:07:56] local.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-07 08:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:07:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:07:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":173389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:07:56] local.INFO: GPS data processed {"connection_id":173389,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:07:56] local.INFO: Acknowledgment sent {"connection_id":173389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:08:01] local.INFO: TCP Data received {"connection_id":173389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:01] local.INFO: Processing buffer {"connection_id":173389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:01] local.INFO: Packet analysis {"connection_id":173389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:08:01] local.INFO: Extracted packet for processing {"connection_id":173389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:08: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-07 08:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:08: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-07 08:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:08:01] local.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-07 08:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:08:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:08:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":173389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:08:01] local.INFO: GPS data processed {"connection_id":173389,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:08:01] local.INFO: Acknowledgment sent {"connection_id":173389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:08:34] local.INFO: TCP Data received {"connection_id":175873,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ba6998012d7a678005e46960000a00802b..."} 
[2026-09-07 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ba6998012d7a678005e46960000a00802b..."} 
[2026-09-07 08:08:34] local.INFO: Processing buffer {"connection_id":175873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ba6998012d7a678005e46960000a00802b..."} 
[2026-09-07 08:08:34] local.INFO: Packet analysis {"connection_id":175873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:34] local.INFO: Extracted packet for processing {"connection_id":175873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":762996608,"raw_latitude":98855264,"longitude_deg":76.2996608,"latitude_deg":9.8855264,"altitude":10,"angle":128,"satellites":43,"speed":17,"hex_longitude":"2d7a6780","hex_latitude":"05e46960","is_valid_coordinates":true} 
[2026-09-07 08:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919655424001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129271020891668480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314302889984,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788748655000,"timestamp_ms":1788748655000,"timestamp_seconds":1788748655,"priority":1,"record_length":96,"hex_timestamp":"000001a079ba6998"} 
[2026-09-07 08:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 08:08:34] 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-07 08:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919655424001,"66":13559,"102":206,"87":12288,"24":17,"16":129271020891668480,"45":8819807314302889984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919655424001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129271020891668480,"km_value":129271020891668.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314302889984,"description":"Unknown IO ID 45"} 
[2026-09-07 08:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919655424001,"power":13559,"unknown_102":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8819807314302889984}} 
[2026-09-07 08:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":175873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:08:34] local.INFO: GPS data processed {"connection_id":175873,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:08:34] local.INFO: Acknowledgment sent {"connection_id":175873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:08:45] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:45] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:45] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:08:50] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:50] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:08:50] local.INFO: IMEI packet received {"connection_id":174534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":174534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:08:51] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:51] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:08:51] local.INFO: Packet analysis {"connection_id":174534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:08:51] local.INFO: Extracted packet for processing {"connection_id":174534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:08:51] 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-07 08:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:08:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":174534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:08:51] local.INFO: GPS data processed {"connection_id":174534,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:08:51] local.INFO: Acknowledgment sent {"connection_id":174534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:08:54] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:54] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:54] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:08:55] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:55] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:08:55] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:08:56] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ba9490012d7a828005e453000007008328..."} 
[2026-09-07 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ba9490012d7a828005e453000007008328..."} 
[2026-09-07 08:08:56] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ba9490012d7a828005e453000007008328..."} 
[2026-09-07 08:08:56] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:56] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763003520,"raw_latitude":98849536,"longitude_deg":76.300352,"latitude_deg":9.8849536,"altitude":7,"angle":131,"satellites":40,"speed":37,"hex_longitude":"2d7a8280","hex_latitude":"05e45300","is_valid_coordinates":true} 
[2026-09-07 08:08: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-07 08:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919655680001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129271454683365376,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820159158023708672,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788748666000,"timestamp_ms":1788748666000,"timestamp_seconds":1788748666,"priority":1,"record_length":96,"hex_timestamp":"000001a079ba9490"} 
[2026-09-07 08:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:08: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-07 08:08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:08:56] 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-07 08:08: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-07 08:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919655680001,"66":13820,"102":206,"87":12288,"24":37,"16":129271454683365376,"45":8820159158023708672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919655680001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:08:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:08:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129271454683365376,"km_value":129271454683365.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820159158023708672,"description":"Unknown IO ID 45"} 
[2026-09-07 08:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919655680001,"power":13820,"unknown_102":206,"unknown_87":12288,"ignition":37,"odometer":null,"unknown_45":8820159158023708672}} 
[2026-09-07 08:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:08:56] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:08:56] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:08:58] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079babba0012d7aa10005e43b480004008028..."} 
[2026-09-07 08:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079babba0012d7aa10005e43b480004008028..."} 
[2026-09-07 08:08:58] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079babba0012d7aa10005e43b480004008028..."} 
[2026-09-07 08:08:58] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:58] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763011328,"raw_latitude":98843464,"longitude_deg":76.3011328,"latitude_deg":9.8843464,"altitude":4,"angle":128,"satellites":40,"speed":39,"hex_longitude":"2d7aa100","hex_latitude":"05e43b48","is_valid_coordinates":true} 
[2026-09-07 08:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919658496001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129271927129767936,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827758982393430016,"note":"Value kept but may cause issues"} 
[2026-09-07 08:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788748676000,"timestamp_ms":1788748676000,"timestamp_seconds":1788748676,"priority":1,"record_length":96,"hex_timestamp":"000001a079babba0"} 
[2026-09-07 08:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:08: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-07 08:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 08:08:58] 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-07 08:08: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-07 08:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919658496001,"66":13602,"102":206,"87":12288,"24":39,"16":129271927129767936,"45":8827758982393430016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919658496001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:08:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129271927129767936,"km_value":129271927129767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827758982393430016,"description":"Unknown IO ID 45"} 
[2026-09-07 08:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919658496001,"power":13602,"unknown_102":206,"unknown_87":12288,"ignition":39,"odometer":null,"unknown_45":8827758982393430016}} 
[2026-09-07 08:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:08:58] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:08:58] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:09:23] local.INFO: TCP Data received {"connection_id":174534,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:23] local.INFO: Processing buffer {"connection_id":174534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:23] local.INFO: Packet analysis {"connection_id":174534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:09:23] local.INFO: Extracted packet for processing {"connection_id":174534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:09:23] 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-07 08:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:09:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:09:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":174534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:09:23] local.INFO: GPS data processed {"connection_id":174534,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:09:23] local.INFO: Acknowledgment sent {"connection_id":174534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:09:30] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bae2b0012d7abd0005e42348000200862a..."} 
[2026-09-07 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bae2b0012d7abd0005e42348000200862a..."} 
[2026-09-07 08:09:30] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bae2b0012d7abd0005e42348000200862a..."} 
[2026-09-07 08:09:30] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:09:30] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763018496,"raw_latitude":98837320,"longitude_deg":76.3018496,"latitude_deg":9.883732,"altitude":2,"angle":134,"satellites":42,"speed":31,"hex_longitude":"2d7abd00","hex_latitude":"05e42348","is_valid_coordinates":true} 
[2026-09-07 08:09: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-07 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919661056001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129272382396301312,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836343969181550592,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788748686000,"timestamp_ms":1788748686000,"timestamp_seconds":1788748686,"priority":1,"record_length":96,"hex_timestamp":"000001a079bae2b0"} 
[2026-09-07 08:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 08:09:30] 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-07 08:09: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-07 08:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919661056001,"66":13515,"102":206,"87":12288,"24":31,"16":129272382396301312,"45":8836343969181550592},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919661056001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:09:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:09:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129272382396301312,"km_value":129272382396301.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836343969181550592,"description":"Unknown IO ID 45"} 
[2026-09-07 08:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919661056001,"power":13515,"unknown_102":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8836343969181550592}} 
[2026-09-07 08:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:09:30] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:09:30] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:09:45] local.INFO: TCP Data received {"connection_id":175874,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:45] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:45] local.INFO: IMEI packet received {"connection_id":175874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":175874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:09:48] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:48] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:48] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:09:50] local.INFO: TCP Data received {"connection_id":175874,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:50] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:09:50] local.INFO: IMEI packet received {"connection_id":175874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":175874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:09:52] local.INFO: TCP Data received {"connection_id":175874,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:52] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:09:52] local.INFO: Packet analysis {"connection_id":175874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:09:52] local.INFO: Extracted packet for processing {"connection_id":175874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:09:52] 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-07 08:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:09:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":175874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:09:52] local.INFO: GPS data processed {"connection_id":175874,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:09:52] local.INFO: Acknowledgment sent {"connection_id":175874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:09:53] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:53] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:09:53] local.INFO: IMEI packet received {"connection_id":175875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":175875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:09:54] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bafa20012d7ac5c005e41968000100912b..."} 
[2026-09-07 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bafa20012d7ac5c005e41968000100912b..."} 
[2026-09-07 08:09:54] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bafa20012d7ac5c005e41968000100912b..."} 
[2026-09-07 08:09:54] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:09:54] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ba"} 
[2026-09-07 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":763020736,"raw_latitude":98834792,"longitude_deg":76.3020736,"latitude_deg":9.8834792,"altitude":1,"angle":145,"satellites":43,"speed":21,"hex_longitude":"2d7ac5c0","hex_latitude":"05e41968","is_valid_coordinates":true} 
[2026-09-07 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919663616001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129272545605058560,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844225268527876096,"note":"Value kept but may cause issues"} 
[2026-09-07 08:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748692000,"timestamp_ms":1788748692000,"timestamp_seconds":1788748692,"priority":1,"record_length":96,"hex_timestamp":"000001a079bafa20"} 
[2026-09-07 08:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 08:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919663616001,"66":13765,"102":206,"87":12288,"24":21,"16":129272545605058560,"45":8844225268527876096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919663616001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:09:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:09:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129272545605058560,"km_value":129272545605058.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844225268527876096,"description":"Unknown IO ID 45"} 
[2026-09-07 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919663616001,"power":13765,"unknown_102":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8844225268527876096}} 
[2026-09-07 08:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:09:54] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:09:54] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:10:17] local.INFO: TCP Data received {"connection_id":174535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:17] local.INFO: Processing buffer {"connection_id":174535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:17] local.INFO: IMEI packet received {"connection_id":174535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":174535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:10:23] local.INFO: TCP Data received {"connection_id":175874,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:23] local.INFO: Processing buffer {"connection_id":175874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:23] local.INFO: Packet analysis {"connection_id":175874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:10:23] local.INFO: Extracted packet for processing {"connection_id":175874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:10:23] 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-07 08:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:10:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:10:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":175874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:10:23] local.INFO: GPS data processed {"connection_id":175874,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:10:23] local.INFO: Acknowledgment sent {"connection_id":175874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:10:25] local.INFO: TCP Data received {"connection_id":175875,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bb2130012d7acf8005e40c28000400a12d..."} 
[2026-09-07 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bb2130012d7acf8005e40c28000400a12d..."} 
[2026-09-07 08:10:25] local.INFO: Processing buffer {"connection_id":175875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bb2130012d7acf8005e40c28000400a12d..."} 
[2026-09-07 08:10:25] local.INFO: Packet analysis {"connection_id":175875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:10:25] local.INFO: Extracted packet for processing {"connection_id":175875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763023232,"raw_latitude":98831400,"longitude_deg":76.3023232,"latitude_deg":9.88314,"altitude":4,"angle":161,"satellites":45,"speed":22,"hex_longitude":"2d7acf80","hex_latitude":"05e40c28","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919665152001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129272751763488768,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846688174573447168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788748702000,"timestamp_ms":1788748702000,"timestamp_seconds":1788748702,"priority":1,"record_length":96,"hex_timestamp":"000001a079bb2130"} 
[2026-09-07 08: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-07 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 08:10:25] 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-07 08: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-07 08: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-07 08:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919665152001,"66":13678,"102":206,"87":12288,"24":22,"16":129272751763488768,"45":8846688174573447168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-09-07 08:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919665152001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:10:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-09-07 08:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129272751763488768,"km_value":129272751763488.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846688174573447168,"description":"Unknown IO ID 45"} 
[2026-09-07 08:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919665152001,"power":13678,"unknown_102":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8846688174573447168}} 
[2026-09-07 08:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":175875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:10:25] local.INFO: GPS data processed {"connection_id":175875,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:10:25] local.INFO: Acknowledgment sent {"connection_id":175875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:10:45] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:45] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:45] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:10:47] local.INFO: TCP Data received {"connection_id":173391,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:47] local.INFO: Processing buffer {"connection_id":173391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:10:47] local.INFO: IMEI packet received {"connection_id":173391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":173391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:10:48] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:48] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:48] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:10:50] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:50] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:10:50] local.INFO: IMEI packet received {"connection_id":174536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:10:52] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:52] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:10:52] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:10:52] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 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-07 08:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 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-07 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 08:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:10:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:10:52] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:10:52] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:10:53] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:53] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:10:53] local.INFO: IMEI packet received {"connection_id":173147,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173147,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:10:54] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bb57e0012d7ad78005e3e828000500a82d..."} 
[2026-09-07 08:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bb57e0012d7ad78005e3e828000500a82d..."} 
[2026-09-07 08:10:54] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bb57e0012d7ad78005e3e828000500a82d..."} 
[2026-09-07 08:10:54] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:10:54] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98822184,"longitude_deg":76.302528,"latitude_deg":9.8822184,"altitude":5,"angle":168,"satellites":45,"speed":26,"hex_longitude":"2d7ad780","hex_latitude":"05e3e828","is_valid_coordinates":true} 
[2026-09-07 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919667712001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129273207030022144,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849432555595507712,"note":"Value kept but may cause issues"} 
[2026-09-07 08:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748716000,"timestamp_ms":1788748716000,"timestamp_seconds":1788748716,"priority":1,"record_length":96,"hex_timestamp":"000001a079bb57e0"} 
[2026-09-07 08:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919667712001,"66":13689,"39":206,"87":13824,"24":26,"16":129273207030022144,"45":8849432555595507712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 08:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919667712001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:10:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 08:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129273207030022144,"km_value":129273207030022.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849432555595507712,"description":"Unknown IO ID 45"} 
[2026-09-07 08:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919667712001,"power":13689,"unknown_39":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8849432555595507712}} 
[2026-09-07 08:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:10:54] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:10:54] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:11:23] local.INFO: TCP Data received {"connection_id":174536,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:23] local.INFO: Processing buffer {"connection_id":174536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079b919a8012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:23] local.INFO: Packet analysis {"connection_id":174536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:11:23] local.INFO: Extracted packet for processing {"connection_id":174536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079b9"} 
[2026-09-07 08:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919556608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748569000,"timestamp_ms":1788748569000,"timestamp_seconds":1788748569,"priority":1,"record_length":96,"hex_timestamp":"000001a079b919a8"} 
[2026-09-07 08: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-07 08:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919556608001,"66":26082,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919556608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:11:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:11:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919556608001,"power":26082,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":174536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:11:23] local.INFO: GPS data processed {"connection_id":174536,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:11:23] local.INFO: Acknowledgment sent {"connection_id":174536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:11:25] local.INFO: TCP Data received {"connection_id":173147,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bb9278012d7ae08005e3c500000500a52b..."} 
[2026-09-07 08:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bb9278012d7ae08005e3c500000500a52b..."} 
[2026-09-07 08:11:25] local.INFO: Processing buffer {"connection_id":173147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bb9278012d7ae08005e3c500000500a52b..."} 
[2026-09-07 08:11:25] local.INFO: Packet analysis {"connection_id":173147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:11:25] local.INFO: Extracted packet for processing {"connection_id":173147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bb"} 
[2026-09-07 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":763027584,"raw_latitude":98813184,"longitude_deg":76.3027584,"latitude_deg":9.8813184,"altitude":5,"angle":165,"satellites":43,"speed":23,"hex_longitude":"2d7ae080","hex_latitude":"05e3c500","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919671296001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129273658001588224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406833664,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788748731000,"timestamp_ms":1788748731000,"timestamp_seconds":1788748731,"priority":1,"record_length":96,"hex_timestamp":"000001a079bb9278"} 
[2026-09-07 08: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-07 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 08:11:25] 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-07 08: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-07 08: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-07 08:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173147,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919671296001,"66":13820,"39":206,"87":13824,"24":23,"16":129273658001588224,"45":8851684355406833664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 08:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919671296001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:11:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 08:11:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129273658001588224,"km_value":129273658001588.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406833664,"description":"Unknown IO ID 45"} 
[2026-09-07 08:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919671296001,"power":13820,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8851684355406833664}} 
[2026-09-07 08:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":173147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:11:25] local.INFO: GPS data processed {"connection_id":173147,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:11:25] local.INFO: Acknowledgment sent {"connection_id":173147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:11:45] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:45] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:45] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:11:48] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:48] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:48] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:11:49] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:49] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:49] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:11:50] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:50] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:11:50] local.INFO: IMEI packet received {"connection_id":173148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:11:51] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:51] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:51] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:51] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:11:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:11:51] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:11:51] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:11:53] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:53] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:11:53] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:11:54] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bd9de8012d7b124005e318b0000000a627..."} 
[2026-09-07 08:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bd9de8012d7b124005e318b0000000a627..."} 
[2026-09-07 08:11:54] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bd9de8012d7b124005e318b0000000a627..."} 
[2026-09-07 08:11:54] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:54] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98769072,"longitude_deg":76.304032,"latitude_deg":9.8769072,"altitude":0,"angle":166,"satellites":39,"speed":10,"hex_longitude":"2d7b1240","hex_latitude":"05e318b0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919704320001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129275899974516736,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060322377728,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:54] 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-07 08:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748865000,"timestamp_ms":1788748865000,"timestamp_seconds":1788748865,"priority":1,"record_length":96,"hex_timestamp":"000001a079bd9de8"} 
[2026-09-07 08: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-07 08:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919704320001,"66":13374,"208":206,"85":15104,"24":10,"16":129275899974516736,"45":8867658060322377728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919704320001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:11:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129275899974516736,"km_value":129275899974516.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060322377728,"description":"Unknown IO ID 45"} 
[2026-09-07 08:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919704320001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8867658060322377728}} 
[2026-09-07 08:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:11:54] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:11:54] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:11:56] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:56] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:11:56] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:56] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:11: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-07 08:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:11: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-07 08:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:11:56] local.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-07 08:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:11:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:11:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:11:56] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:11:56] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:12:26] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdeff0012d7b198005e2f730000000a826..."} 
[2026-09-07 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdeff0012d7b198005e2f730000000a826..."} 
[2026-09-07 08:12:26] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdeff0012d7b198005e2f730000000a826..."} 
[2026-09-07 08:12:26] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:26] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":98760496,"longitude_deg":76.3042176,"latitude_deg":9.8760496,"altitude":0,"angle":168,"satellites":38,"speed":32,"hex_longitude":"2d7b1980","hex_latitude":"05e2f730","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919709440001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129276329471246336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010274988032,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:26] 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-07 08:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788748886000,"timestamp_ms":1788748886000,"timestamp_seconds":1788748886,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdeff0"} 
[2026-09-07 08: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-07 08:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:12:26] 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-07 08: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-07 08: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-07 08:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919709440001,"66":13678,"208":206,"85":15104,"24":32,"16":129276329471246336,"45":8868221010274988032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919709440001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:12:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129276329471246336,"km_value":129276329471246.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010274988032,"description":"Unknown IO ID 45"} 
[2026-09-07 08:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919709440001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8868221010274988032}} 
[2026-09-07 08:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:12:26] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:12:26] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:12:28] local.INFO: TCP Data received {"connection_id":173148,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:28] local.INFO: Processing buffer {"connection_id":173148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:28] local.INFO: Packet analysis {"connection_id":173148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:28] local.INFO: Extracted packet for processing {"connection_id":173148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:12:28] local.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-07 08:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:12:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:12:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":173148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:12:28] local.INFO: GPS data processed {"connection_id":173148,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:12:28] local.INFO: Acknowledgment sent {"connection_id":173148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:12:50] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:50] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:50] local.INFO: IMEI packet received {"connection_id":175876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":175876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:12:53] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:53] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:53] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:12:55] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:55] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:12:55] local.INFO: IMEI packet received {"connection_id":175876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":175876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:12:56] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:56] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:12:56] local.INFO: Packet analysis {"connection_id":175876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:56] local.INFO: Extracted packet for processing {"connection_id":175876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:12:56] 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-07 08:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:12:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:12:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":175876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:12:56] local.INFO: GPS data processed {"connection_id":175876,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:12:56] local.INFO: Acknowledgment sent {"connection_id":175876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:12:58] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:58] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:12:58] local.INFO: IMEI packet received {"connection_id":175878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":175878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:12:59] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079be1318012d7b1e4005e2d458000000ad23..."} 
[2026-09-07 08:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079be1318012d7b1e4005e2d458000000ad23..."} 
[2026-09-07 08:12:59] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079be1318012d7b1e4005e2d458000000ad23..."} 
[2026-09-07 08:12:59] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079be"} 
[2026-09-07 08:12:59] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079be"} 
[2026-09-07 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763043392,"raw_latitude":98751576,"longitude_deg":76.3043392,"latitude_deg":9.8751576,"altitude":0,"angle":173,"satellites":35,"speed":41,"hex_longitude":"2d7b1e40","hex_latitude":"05e2d458","is_valid_coordinates":true} 
[2026-09-07 08:12: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-07 08:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919714816001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129276767557910528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703853944832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:12:59] 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-07 08:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788748895000,"timestamp_ms":1788748895000,"timestamp_seconds":1788748895,"priority":1,"record_length":96,"hex_timestamp":"000001a079be1318"} 
[2026-09-07 08:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:12: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:12:59] 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-07 08:12: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-07 08:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919714816001,"66":13906,"208":206,"85":15104,"24":41,"16":129276767557910528,"45":8870261703853944832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919714816001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:12:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129276767557910528,"km_value":129276767557910.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703853944832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919714816001,"power":13906,"unknown_208":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8870261703853944832}} 
[2026-09-07 08:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:12:59] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:12:59] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:13:01] local.INFO: TCP Data received {"connection_id":175876,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:01] local.INFO: Processing buffer {"connection_id":175876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:01] local.INFO: Packet analysis {"connection_id":175876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:13:01] local.INFO: Extracted packet for processing {"connection_id":175876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:13:01] 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-07 08:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:13:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:13:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":175876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:13:01] local.INFO: GPS data processed {"connection_id":175876,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:13:01] local.INFO: Acknowledgment sent {"connection_id":175876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:13:04] local.INFO: TCP Data received {"connection_id":175878,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079be3a28012d7b234005e2afe0000000aa23..."} 
[2026-09-07 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079be3a28012d7b234005e2afe0000000aa23..."} 
[2026-09-07 08:13:04] local.INFO: Processing buffer {"connection_id":175878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079be3a28012d7b234005e2afe0000000aa23..."} 
[2026-09-07 08:13:04] local.INFO: Packet analysis {"connection_id":175878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079be"} 
[2026-09-07 08:13:04] local.INFO: Extracted packet for processing {"connection_id":175878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079be"} 
[2026-09-07 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763044672,"raw_latitude":98742240,"longitude_deg":76.3044672,"latitude_deg":9.874224,"altitude":0,"angle":170,"satellites":35,"speed":24,"hex_longitude":"2d7b2340","hex_latitude":"05e2afe0","is_valid_coordinates":true} 
[2026-09-07 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919717120001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129277222824443904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871598709991036928,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:04] 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-07 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788748905000,"timestamp_ms":1788748905000,"timestamp_seconds":1788748905,"priority":1,"record_length":96,"hex_timestamp":"000001a079be3a28"} 
[2026-09-07 08:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 08:13: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-07 08:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919717120001,"66":13048,"207":206,"85":15104,"24":24,"16":129277222824443904,"45":8871598709991036928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919717120001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:13:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129277222824443904,"km_value":129277222824443.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871598709991036928,"description":"Unknown IO ID 45"} 
[2026-09-07 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919717120001,"power":13048,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8871598709991036928}} 
[2026-09-07 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":175878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:13:04] local.INFO: GPS data processed {"connection_id":175878,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:13:04] local.INFO: Acknowledgment sent {"connection_id":175878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:13:45] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:45] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:45] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:13:49] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:13:49] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:49] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:13:50] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:50] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:13:50] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:13:51] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:51] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:13:51] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:13:51] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:13:51] 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-07 08:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:13:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:13:51] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:13:51] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:13:53] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:53] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:13:53] local.INFO: IMEI packet received {"connection_id":173149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:13:54] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bf8630012d7b214005e292f80000015b22..."} 
[2026-09-07 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bf8630012d7b214005e292f80000015b22..."} 
[2026-09-07 08:13:54] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bf8630012d7b214005e292f80000015b22..."} 
[2026-09-07 08:13:54] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:13:54] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763044160,"raw_latitude":98734840,"longitude_deg":76.304416,"latitude_deg":9.873484,"altitude":0,"angle":347,"satellites":34,"speed":12,"hex_longitude":"2d7b2140","hex_latitude":"05e292f8","is_valid_coordinates":true} 
[2026-09-07 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919740928001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129277742515486720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872654241149265920,"note":"Value kept but may cause issues"} 
[2026-09-07 08:13:54] 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-07 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788748990000,"timestamp_ms":1788748990000,"timestamp_seconds":1788748990,"priority":1,"record_length":96,"hex_timestamp":"000001a079bf8630"} 
[2026-09-07 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919740928001,"66":13656,"207":206,"85":15104,"24":12,"16":129277742515486720,"45":8872654241149265920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919740928001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:13:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:13:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129277742515486720,"km_value":129277742515486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872654241149265920,"description":"Unknown IO ID 45"} 
[2026-09-07 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919740928001,"power":13656,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8872654241149265920}} 
[2026-09-07 08:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:13:54] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:13:54] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:14:01] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bfb510012d7b198005e2b6280000016022..."} 
[2026-09-07 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bfb510012d7b198005e2b6280000016022..."} 
[2026-09-07 08:14:01] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bfb510012d7b198005e2b6280000016022..."} 
[2026-09-07 08:14:01] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:14:01] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":98743848,"longitude_deg":76.3042176,"latitude_deg":9.8743848,"altitude":0,"angle":352,"satellites":34,"speed":30,"hex_longitude":"2d7b1980","hex_latitude":"05e2b628","is_valid_coordinates":true} 
[2026-09-07 08:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919741440001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129278189192085504,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872443134916884480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788749002000,"timestamp_ms":1788749002000,"timestamp_seconds":1788749002,"priority":1,"record_length":96,"hex_timestamp":"000001a079bfb510"} 
[2026-09-07 08:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:14: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-07 08:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:14:01] 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-07 08:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919741440001,"66":13537,"207":206,"85":15104,"24":30,"16":129278189192085504,"45":8872443134916884480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919741440001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:14:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129278189192085504,"km_value":129278189192085.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872443134916884480,"description":"Unknown IO ID 45"} 
[2026-09-07 08:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919741440001,"power":13537,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8872443134916884480}} 
[2026-09-07 08:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:14:01] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:14:01] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:14:23] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:23] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:23] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:14:23] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:14:23] 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-07 08:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:14:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:14:23] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:14:23] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:14:33] local.INFO: TCP Data received {"connection_id":173149,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079bfe008012d7b138005e2d9e0000001601d..."} 
[2026-09-07 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bfe008012d7b138005e2d9e0000001601d..."} 
[2026-09-07 08:14:33] local.INFO: Processing buffer {"connection_id":173149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bfe008012d7b138005e2d9e0000001601d..."} 
[2026-09-07 08:14:33] local.INFO: Packet analysis {"connection_id":173149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:14:33] local.INFO: Extracted packet for processing {"connection_id":173149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bf"} 
[2026-09-07 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98752992,"longitude_deg":76.304064,"latitude_deg":9.8752992,"altitude":0,"angle":352,"satellites":29,"speed":33,"hex_longitude":"2d7b1380","hex_latitude":"05e2d9e0","is_valid_coordinates":true} 
[2026-09-07 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919744512001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129278640163651584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703849682944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788749013000,"timestamp_ms":1788749013000,"timestamp_seconds":1788749013,"priority":1,"record_length":96,"hex_timestamp":"000001a079bfe008"} 
[2026-09-07 08:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 08:14:33] 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-07 08:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919744512001,"66":13830,"207":206,"85":15104,"24":33,"16":129278640163651584,"45":8870261703849682944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919744512001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:14:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129278640163651584,"km_value":129278640163651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703849682944,"description":"Unknown IO ID 45"} 
[2026-09-07 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919744512001,"power":13830,"unknown_207":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8870261703849682944}} 
[2026-09-07 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":173149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:14:33] local.INFO: GPS data processed {"connection_id":173149,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:14:33] local.INFO: Acknowledgment sent {"connection_id":173149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:14:45] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:45] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:45] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:14:46] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:46] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:46] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:14:48] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:48] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:48] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:14:50] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:50] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:14:50] local.INFO: IMEI packet received {"connection_id":173150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:14:50] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:50] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:14:50] local.INFO: IMEI packet received {"connection_id":173151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:14:51] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:51] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:14:51] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:14:51] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:14:51] 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-07 08:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:14:51] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:14:51] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:14:51] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c016b8012d7b0cc005e2fbe8000001561c..."} 
[2026-09-07 08:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c016b8012d7b0cc005e2fbe8000001561c..."} 
[2026-09-07 08:14:51] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c016b8012d7b0cc005e2fbe8000001561c..."} 
[2026-09-07 08:14:51] local.INFO: Packet analysis {"connection_id":173151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:14:51] local.INFO: Extracted packet for processing {"connection_id":173151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98761704,"longitude_deg":76.3038912,"latitude_deg":9.8761704,"altitude":0,"angle":342,"satellites":28,"speed":7,"hex_longitude":"2d7b0cc0","hex_latitude":"05e2fbe8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919747328001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129279069660381184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853991759872,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749027000,"timestamp_ms":1788749027000,"timestamp_seconds":1788749027,"priority":1,"record_length":96,"hex_timestamp":"000001a079c016b8"} 
[2026-09-07 08: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-07 08: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-07 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627208315904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3212218369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2405957632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607401678,"corrected_to":0} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":114,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1230897152,"corrected_to":0} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3800981504,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2881972279623809566,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.WARNING: Large IO value detected {"io_id":142,"raw_value":4611686022825771009,"note":"Value kept but may cause issues"} 
[2026-09-07 08:14:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,207,85,24,241,157,16,74,160,181,45,128,182,34,10,66,73,134,64,146,126,1,240,110,227,121,226,4,113,205,114,35,248,41,239,53,2,203,5,106,142],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607401678,"validated":0},{"io_id":203,"original":1230897152,"validated":0}]} 
[2026-09-07 08:14:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387152649191424,"timestamp_seconds":387152649191.424,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919747328001,"66":13037,"207":206,"85":15104,"24":7,"16":129279069660381184,"45":8868572853991759872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919747328001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129279069660381184,"km_value":129279069660381.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853991759872,"description":"Unknown IO ID 45"} 
[2026-09-07 08:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919747328001,"power":13037,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8868572853991759872}} 
[2026-09-07 08:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":173151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:14:51] local.INFO: GPS data processed {"connection_id":173151,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:14:51] local.INFO: Acknowledgment sent {"connection_id":173151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:15:23] local.INFO: TCP Data received {"connection_id":173150,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:23] local.INFO: Processing buffer {"connection_id":173150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:23] local.INFO: Packet analysis {"connection_id":173150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:15:23] local.INFO: Extracted packet for processing {"connection_id":173150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:15: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-07 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":173150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:15:23] local.INFO: GPS data processed {"connection_id":173150,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:15:23] local.INFO: Acknowledgment sent {"connection_id":173150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:15:23] local.INFO: TCP Data received {"connection_id":173151,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c04d68012d7b0c4005e2fda00000000420..."} 
[2026-09-07 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c04d68012d7b0c4005e2fda00000000420..."} 
[2026-09-07 08:15:23] local.INFO: Processing buffer {"connection_id":173151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c04d68012d7b0c4005e2fda00000000420..."} 
[2026-09-07 08:15:23] local.INFO: Packet analysis {"connection_id":173151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:15:23] local.INFO: Extracted packet for processing {"connection_id":173151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98762144,"longitude_deg":76.3038784,"latitude_deg":9.8762144,"altitude":0,"angle":4,"satellites":32,"speed":4,"hex_longitude":"2d7b0c40","hex_latitude":"05e2fda0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919750912001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129279104020119552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901193216,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749041000,"timestamp_ms":1788749041000,"timestamp_seconds":1788749041,"priority":1,"record_length":96,"hex_timestamp":"000001a079c04d68"} 
[2026-09-07 08: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-07 08:15: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-07 08: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":237,"data_length":795,"current_offset":136} 
[2026-09-07 08:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919750912001,"66":13820,"207":206,"85":15104,"24":4,"16":129279104020119552,"45":8866672897901193216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919750912001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129279104020119552,"km_value":129279104020119.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901193216,"description":"Unknown IO ID 45"} 
[2026-09-07 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919750912001,"power":13820,"unknown_207":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8866672897901193216}} 
[2026-09-07 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":173151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:15:23] local.INFO: GPS data processed {"connection_id":173151,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:15:23] local.INFO: Acknowledgment sent {"connection_id":173151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:15:45] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:45] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:45] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:15:48] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:48] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:48] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:15:50] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:50] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:15:50] local.INFO: IMEI packet received {"connection_id":175880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":175880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:15:51] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:52] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:15:52] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:15:52] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:15:52] 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-07 08:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:15:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:15:52] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:15:52] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:15:53] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:15:53] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:15:53] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:15:53] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:53] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:15:53] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:15:54] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c068c0012d7b0c0005e302a00000015a1f..."} 
[2026-09-07 08:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c068c0012d7b0c0005e302a00000015a1f..."} 
[2026-09-07 08:15:54] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c068c0012d7b0c0005e302a00000015a1f..."} 
[2026-09-07 08:15:54] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:15:54] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98763424,"longitude_deg":76.303872,"latitude_deg":9.8763424,"altitude":0,"angle":346,"satellites":31,"speed":12,"hex_longitude":"2d7b0c00","hex_latitude":"05e302a0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919754496001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129279168444628992,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160412950528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:15:54] 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-07 08:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749048000,"timestamp_ms":1788749048000,"timestamp_seconds":1788749048,"priority":1,"record_length":96,"hex_timestamp":"000001a079c068c0"} 
[2026-09-07 08: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-07 08:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 08:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919754496001,"66":13798,"208":206,"85":15104,"24":12,"16":129279168444628992,"45":8866532160412950528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919754496001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:15:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129279168444628992,"km_value":129279168444628.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160412950528,"description":"Unknown IO ID 45"} 
[2026-09-07 08:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919754496001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866532160412950528}} 
[2026-09-07 08:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:15:54] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:15:54] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:16:23] local.INFO: TCP Data received {"connection_id":175880,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:16:23] local.INFO: Processing buffer {"connection_id":175880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079bdb170012d10fe0006e4bf78000701552e..."} 
[2026-09-07 08:16:23] local.INFO: Packet analysis {"connection_id":175880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:16:23] local.INFO: Extracted packet for processing {"connection_id":175880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079bd"} 
[2026-09-07 08:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":46,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919633664001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788748870000,"timestamp_ms":1788748870000,"timestamp_seconds":1788748870,"priority":1,"record_length":96,"hex_timestamp":"000001a079bdb170"} 
[2026-09-07 08: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-07 08:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 08:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:16:23] 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-07 08:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919633664001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919633664001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:16:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:16:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919633664001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":175880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:16:23] local.INFO: GPS data processed {"connection_id":175880,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:16:23] local.INFO: Acknowledgment sent {"connection_id":175880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:16:26] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c0b6e0012d7b060005e321f00000015e21..."} 
[2026-09-07 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c0b6e0012d7b060005e321f00000015e21..."} 
[2026-09-07 08:16:26] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c0b6e0012d7b060005e321f00000015e21..."} 
[2026-09-07 08:16:26] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:16:26] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763037184,"raw_latitude":98771440,"longitude_deg":76.3037184,"latitude_deg":9.877144,"altitude":0,"angle":350,"satellites":33,"speed":19,"hex_longitude":"2d7b0600","hex_latitude":"05e321f0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919756288001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129279567876587520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791669100544,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:26] 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-07 08:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788749068000,"timestamp_ms":1788749068000,"timestamp_seconds":1788749068,"priority":1,"record_length":96,"hex_timestamp":"000001a079c0b6e0"} 
[2026-09-07 08: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-07 08:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 08:16:26] 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-07 08: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-07 08: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-07 08:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919756288001,"66":13624,"208":206,"85":15104,"24":19,"16":129279567876587520,"45":8866461791669100544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919756288001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:16:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129279567876587520,"km_value":129279567876587.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791669100544,"description":"Unknown IO ID 45"} 
[2026-09-07 08:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919756288001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866461791669100544}} 
[2026-09-07 08:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:16:26] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:16:26] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:16:45] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:45] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:45] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:16:49] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: IMEI packet received {"connection_id":173152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:16:49] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:49] local.INFO: IMEI packet received {"connection_id":173152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:16:49] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:49] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:16:49] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:16:50] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:16:50] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:16:50] local.INFO: Packet analysis {"connection_id":173397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:16:50] local.INFO: Extracted packet for processing {"connection_id":173397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:16:50] 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-07 08:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:16:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":173397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:16:50] local.INFO: GPS data processed {"connection_id":173397,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:16:50] local.INFO: Acknowledgment sent {"connection_id":173397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:16:53] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:53] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:16:53] local.INFO: IMEI packet received {"connection_id":173152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":173152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:16:54] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c0da08012d7b04c005e334300000000120..."} 
[2026-09-07 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c0da08012d7b04c005e334300000000120..."} 
[2026-09-07 08:16:54] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c0da08012d7b04c005e334300000000120..."} 
[2026-09-07 08:16:54] local.INFO: Packet analysis {"connection_id":173152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:16:54] local.INFO: Extracted packet for processing {"connection_id":173152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c0"} 
[2026-09-07 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98776112,"longitude_deg":76.3036864,"latitude_deg":9.8776112,"altitude":0,"angle":1,"satellites":32,"speed":18,"hex_longitude":"2d7b04c0","hex_latitude":"05e33430","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919761408001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129279795509854208,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864772941810888704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:16:54] 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-07 08:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749077000,"timestamp_ms":1788749077000,"timestamp_seconds":1788749077,"priority":1,"record_length":96,"hex_timestamp":"000001a079c0da08"} 
[2026-09-07 08: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-07 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919761408001,"66":13559,"208":206,"85":15104,"24":18,"16":129279795509854208,"45":8864772941810888704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919761408001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:16:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129279795509854208,"km_value":129279795509854.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864772941810888704,"description":"Unknown IO ID 45"} 
[2026-09-07 08:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919761408001,"power":13559,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8864772941810888704}} 
[2026-09-07 08:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":173152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:16:54] local.INFO: GPS data processed {"connection_id":173152,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:16:54] local.INFO: Acknowledgment sent {"connection_id":173152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:17:22] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:22] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:22] local.INFO: Packet analysis {"connection_id":173397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:17:22] local.INFO: Extracted packet for processing {"connection_id":173397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:17:22] 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-07 08:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:17:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:17:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":173397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:17:22] local.INFO: GPS data processed {"connection_id":173397,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:17:22] local.INFO: Acknowledgment sent {"connection_id":173397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:17:26] local.INFO: TCP Data received {"connection_id":173152,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c33780012d7acc0005e41118000901322c..."} 
[2026-09-07 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c33780012d7acc0005e41118000901322c..."} 
[2026-09-07 08:17:26] local.INFO: Processing buffer {"connection_id":173152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c33780012d7acc0005e41118000901322c..."} 
[2026-09-07 08:17:26] local.INFO: Packet analysis {"connection_id":173152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:17:26] local.INFO: Extracted packet for processing {"connection_id":173152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832664,"longitude_deg":76.3022336,"latitude_deg":9.8832664,"altitude":9,"angle":306,"satellites":44,"speed":8,"hex_longitude":"2d7acc00","hex_latitude":"05e41118","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919803136001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129282655958073344,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665662464,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:26] 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-07 08:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788749232000,"timestamp_ms":1788749232000,"timestamp_seconds":1788749232,"priority":1,"record_length":96,"hex_timestamp":"000001a079c33780"} 
[2026-09-07 08: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-07 08:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 08:17:26] 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-07 08: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-07 08: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-07 08:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919803136001,"66":13526,"208":206,"85":15104,"24":8,"16":129282655958073344,"45":8848588130665662464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919803136001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:17:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129282655958073344,"km_value":129282655958073.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665662464,"description":"Unknown IO ID 45"} 
[2026-09-07 08:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919803136001,"power":13526,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848588130665662464}} 
[2026-09-07 08:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:17:26] local.INFO: GPS data processed {"connection_id":173152,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:17:26] local.INFO: Acknowledgment sent {"connection_id":173152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:17:48] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:48] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:48] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:17:50] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:50] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:50] local.INFO: IMEI packet received {"connection_id":173399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":173399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:17:52] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:52] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:17:52] local.INFO: IMEI packet received {"connection_id":175881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":175881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:17:53] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c33b68012d7acb4005e411580009011e2d..."} 
[2026-09-07 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c33b68012d7acb4005e411580009011e2d..."} 
[2026-09-07 08:17:53] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c33b68012d7acb4005e411580009011e2d..."} 
[2026-09-07 08:17:53] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:17:53] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832728,"longitude_deg":76.3022144,"latitude_deg":9.8832728,"altitude":9,"angle":286,"satellites":45,"speed":8,"hex_longitude":"2d7acb40","hex_latitude":"05e41158","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919803392001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129282660253040640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177344000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:53] 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-07 08:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788749233000,"timestamp_ms":1788749233000,"timestamp_seconds":1788749233,"priority":1,"record_length":96,"hex_timestamp":"000001a079c33b68"} 
[2026-09-07 08: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-07 08:17: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-07 08: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 08:17:53] 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-07 08: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-07 08: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-07 08:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919803392001,"66":13722,"208":206,"85":15104,"24":8,"16":129282660253040640,"45":8848447393177344000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919803392001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:17:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129282660253040640,"km_value":129282660253040.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177344000,"description":"Unknown IO ID 45"} 
[2026-09-07 08:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919803392001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848447393177344000}} 
[2026-09-07 08:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:17:53] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:17:53] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:17:55] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:55] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:17:55] local.INFO: IMEI packet received {"connection_id":173399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":173399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:17:56] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:56] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:17:56] local.INFO: Packet analysis {"connection_id":173399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:17:56] local.INFO: Extracted packet for processing {"connection_id":173399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:17:56] local.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-07 08:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:17:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:17:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":173399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:17:56] local.INFO: GPS data processed {"connection_id":173399,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:17:56] local.INFO: Acknowledgment sent {"connection_id":173399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:18:01] local.INFO: TCP Data received {"connection_id":173399,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:01] local.INFO: Processing buffer {"connection_id":173399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:01] local.INFO: Packet analysis {"connection_id":173399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:18:01] local.INFO: Extracted packet for processing {"connection_id":173399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:18:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:18:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":173399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:18:01] local.INFO: GPS data processed {"connection_id":173399,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:18:01] local.INFO: Acknowledgment sent {"connection_id":173399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:18:25] local.INFO: TCP Data received {"connection_id":175881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c33f50012d7aca8005e41158000901042d..."} 
[2026-09-07 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c33f50012d7aca8005e41158000901042d..."} 
[2026-09-07 08:18:25] local.INFO: Processing buffer {"connection_id":175881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c33f50012d7aca8005e41158000901042d..."} 
[2026-09-07 08:18:25] local.INFO: Packet analysis {"connection_id":175881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:18:25] local.INFO: Extracted packet for processing {"connection_id":175881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832728,"longitude_deg":76.3021952,"latitude_deg":9.8832728,"altitude":9,"angle":260,"satellites":45,"speed":8,"hex_longitude":"2d7aca80","hex_latitude":"05e41158","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919803648001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129282673137942528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944827392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:25] 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-07 08:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749234000,"timestamp_ms":1788749234000,"timestamp_seconds":1788749234,"priority":1,"record_length":96,"hex_timestamp":"000001a079c33f50"} 
[2026-09-07 08: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-07 08:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 08:18:25] 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-07 08: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-07 08: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-07 08:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919803648001,"66":13722,"208":206,"85":15104,"24":8,"16":129282673137942528,"45":8848236286944827392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919803648001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:18:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129282673137942528,"km_value":129282673137942.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944827392,"description":"Unknown IO ID 45"} 
[2026-09-07 08:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919803648001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848236286944827392}} 
[2026-09-07 08:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":175881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:18:25] local.INFO: GPS data processed {"connection_id":175881,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:18:25] local.INFO: Acknowledgment sent {"connection_id":175881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:18:45] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:45] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:45] local.INFO: IMEI packet received {"connection_id":175882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":175882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:18:48] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:48] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:48] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:18:50] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:50] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:18:50] local.INFO: IMEI packet received {"connection_id":175882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":175882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:18:51] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:51] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:18:51] local.INFO: Packet analysis {"connection_id":175882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:18:51] local.INFO: Extracted packet for processing {"connection_id":175882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:18:51] 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-07 08:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:18:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:18:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":175882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:18:51] local.INFO: GPS data processed {"connection_id":175882,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:18:51] local.INFO: Acknowledgment sent {"connection_id":175882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:18:53] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:53] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:18:53] local.INFO: IMEI packet received {"connection_id":173153,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":173153,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:18:54] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c38988012d7aa6c005e40b00000801072b..."} 
[2026-09-07 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c38988012d7aa6c005e40b00000801072b..."} 
[2026-09-07 08:18:54] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c38988012d7aa6c005e40b00000801072b..."} 
[2026-09-07 08:18:54] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:18:54] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763012800,"raw_latitude":98831104,"longitude_deg":76.30128,"latitude_deg":9.8831104,"altitude":8,"angle":263,"satellites":43,"speed":21,"hex_longitude":"2d7aa6c0","hex_latitude":"05e40b00","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919803904001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283119814541312,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712294400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:18:54] 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-07 08:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749253000,"timestamp_ms":1788749253000,"timestamp_seconds":1788749253,"priority":1,"record_length":96,"hex_timestamp":"000001a079c38988"} 
[2026-09-07 08: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-07 08:18: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-07 08:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 08:18:54] 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-07 08: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-07 08: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-07 08:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919803904001,"66":13722,"208":206,"85":15104,"24":21,"16":129283119814541312,"45":8848025180712294400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919803904001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:18:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283119814541312,"km_value":129283119814541.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712294400,"description":"Unknown IO ID 45"} 
[2026-09-07 08:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919803904001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8848025180712294400}} 
[2026-09-07 08:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:18:54] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:18:54] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:19:23] local.INFO: TCP Data received {"connection_id":175882,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:23] local.INFO: Processing buffer {"connection_id":175882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:23] local.INFO: Packet analysis {"connection_id":175882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:19:23] local.INFO: Extracted packet for processing {"connection_id":175882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:19: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-07 08:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:19:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:19:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":175882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:19:23] local.INFO: GPS data processed {"connection_id":175882,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:19:23] local.INFO: Acknowledgment sent {"connection_id":175882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:19:25] local.INFO: TCP Data received {"connection_id":173153,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c3cfd8012d7aa0c005e40a500008007b25..."} 
[2026-09-07 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c3cfd8012d7aa0c005e40a500008007b25..."} 
[2026-09-07 08:19:25] local.INFO: Processing buffer {"connection_id":173153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c3cfd8012d7aa0c005e40a500008007b25..."} 
[2026-09-07 08:19:25] local.INFO: Packet analysis {"connection_id":173153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:19:25] local.INFO: Extracted packet for processing {"connection_id":173153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763011264,"raw_latitude":98830928,"longitude_deg":76.3011264,"latitude_deg":9.8830928,"altitude":8,"angle":123,"satellites":37,"speed":2,"hex_longitude":"2d7aa0c0","hex_latitude":"05e40a50","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919808768001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283244368592896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837962450294472704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:25] 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-07 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749271000,"timestamp_ms":1788749271000,"timestamp_seconds":1788749271,"priority":1,"record_length":96,"hex_timestamp":"000001a079c3cfd8"} 
[2026-09-07 08: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-07 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 08:19:25] 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-07 08: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-07 08: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-07 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173153,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919808768001,"66":13515,"208":206,"85":15104,"24":2,"16":129283244368592896,"45":8837962450294472704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919808768001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:19:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283244368592896,"km_value":129283244368592.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837962450294472704,"description":"Unknown IO ID 45"} 
[2026-09-07 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919808768001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8837962450294472704}} 
[2026-09-07 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":173153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:19:25] local.INFO: GPS data processed {"connection_id":173153,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:19:25] local.INFO: Acknowledgment sent {"connection_id":173153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:19:46] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:46] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:46] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:19:48] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:48] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:48] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:19:50] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:50] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:19:50] local.INFO: IMEI packet received {"connection_id":174540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":174540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:19:51] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:51] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:19:51] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:19:51] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:19:51] 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-07 08:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:19:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:19:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:19:51] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:19:51] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:19:53] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:53] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:19:53] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:19:54] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c3d3c0012d7aa0c005e40a280008009323..."} 
[2026-09-07 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c3d3c0012d7aa0c005e40a280008009323..."} 
[2026-09-07 08:19:54] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c3d3c0012d7aa0c005e40a280008009323..."} 
[2026-09-07 08:19:54] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:19:54] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c3"} 
[2026-09-07 08:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763011264,"raw_latitude":98830888,"longitude_deg":76.3011264,"latitude_deg":9.8830888,"altitude":8,"angle":147,"satellites":35,"speed":1,"hex_longitude":"2d7aa0c0","hex_latitude":"05e40a28","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919813376001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283244368592896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836273600434163712,"note":"Value kept but may cause issues"} 
[2026-09-07 08:19:54] 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-07 08:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749272000,"timestamp_ms":1788749272000,"timestamp_seconds":1788749272,"priority":1,"record_length":96,"hex_timestamp":"000001a079c3d3c0"} 
[2026-09-07 08: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-07 08:19: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-07 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 08:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919813376001,"66":13515,"208":206,"85":15104,"24":1,"16":129283244368592896,"45":8836273600434163712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919813376001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:19:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283244368592896,"km_value":129283244368592.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836273600434163712,"description":"Unknown IO ID 45"} 
[2026-09-07 08:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919813376001,"power":13515,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8836273600434163712}} 
[2026-09-07 08:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:19:54] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:19:54] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:20:23] local.INFO: TCP Data received {"connection_id":174540,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:23] local.INFO: Processing buffer {"connection_id":174540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:23] local.INFO: Packet analysis {"connection_id":174540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:20:23] local.INFO: Extracted packet for processing {"connection_id":174540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:20:23] 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-07 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:20:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:20:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":174540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:20:23] local.INFO: GPS data processed {"connection_id":174540,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:20:23] local.INFO: Acknowledgment sent {"connection_id":174540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:20:25] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c5eed0012d7accc005e411800006008928..."} 
[2026-09-07 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c5eed0012d7accc005e411800006008928..."} 
[2026-09-07 08:20:25] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c5eed0012d7accc005e411800006008928..."} 
[2026-09-07 08:20:25] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c5"} 
[2026-09-07 08:20:25] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c5"} 
[2026-09-07 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":98832768,"longitude_deg":76.3022528,"latitude_deg":9.8832768,"altitude":6,"angle":137,"satellites":40,"speed":8,"hex_longitude":"2d7accc0","hex_latitude":"05e41180","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919848704001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283837074079744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848517761921572864,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:25] 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-07 08:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749410000,"timestamp_ms":1788749410000,"timestamp_seconds":1788749410,"priority":1,"record_length":96,"hex_timestamp":"000001a079c5eed0"} 
[2026-09-07 08: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-07 08:20: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-07 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919848704001,"66":13374,"208":206,"85":15104,"24":8,"16":129283837074079744,"45":8848517761921572864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919848704001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:20:25] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283837074079744,"km_value":129283837074079.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848517761921572864,"description":"Unknown IO ID 45"} 
[2026-09-07 08:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919848704001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848517761921572864}} 
[2026-09-07 08:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:20:25] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:20:25] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:20:45] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:45] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:45] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:20:50] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:50] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:20:50] local.INFO: IMEI packet received {"connection_id":175883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":175883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:20:51] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:51] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:51] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:20:51] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:51] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:20:51] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:20:51] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08: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-07 08:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:20:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:20:51] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:20:51] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:20:53] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:53] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:53] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:20:58] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:58] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:20:58] local.INFO: IMEI packet received {"connection_id":174541,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":174541,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:20:59] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c5f6a0012d7ace0005e40fc8000600982b..."} 
[2026-09-07 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c5f6a0012d7ace0005e40fc8000600982b..."} 
[2026-09-07 08:20:59] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c5f6a0012d7ace0005e40fc8000600982b..."} 
[2026-09-07 08:20:59] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c5"} 
[2026-09-07 08:20:59] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c5"} 
[2026-09-07 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763022848,"raw_latitude":98832328,"longitude_deg":76.3022848,"latitude_deg":9.8832328,"altitude":6,"angle":152,"satellites":43,"speed":10,"hex_longitude":"2d7ace00","hex_latitude":"05e40fc8","is_valid_coordinates":true} 
[2026-09-07 08:20: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-07 08:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919848960001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283862843883520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409903616,"note":"Value kept but may cause issues"} 
[2026-09-07 08:20:59] 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-07 08:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788749412000,"timestamp_ms":1788749412000,"timestamp_seconds":1788749412,"priority":1,"record_length":96,"hex_timestamp":"000001a079c5f6a0"} 
[2026-09-07 08:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 08:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:20: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-07 08:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919848960001,"66":13624,"208":206,"85":15104,"24":10,"16":129283862843883520,"45":8848658499409903616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919848960001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:20:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283862843883520,"km_value":129283862843883.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409903616,"description":"Unknown IO ID 45"} 
[2026-09-07 08:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919848960001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848658499409903616}} 
[2026-09-07 08:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:20:59] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:20:59] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:21:23] local.INFO: TCP Data received {"connection_id":175883,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:21:23] local.INFO: Processing buffer {"connection_id":175883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c24938012d10fe0006e4bf78000701552d..."} 
[2026-09-07 08:21:23] local.INFO: Packet analysis {"connection_id":175883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:21:23] local.INFO: Extracted packet for processing {"connection_id":175883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c2"} 
[2026-09-07 08:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919710720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749171000,"timestamp_ms":1788749171000,"timestamp_seconds":1788749171,"priority":1,"record_length":96,"hex_timestamp":"000001a079c24938"} 
[2026-09-07 08:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:21: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-07 08:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919710720001,"66":26039,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919710720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:21:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:21:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919710720001,"power":26039,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":175883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:21:23] local.INFO: GPS data processed {"connection_id":175883,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:21:23] local.INFO: Acknowledgment sent {"connection_id":175883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:21:28] local.INFO: TCP Data received {"connection_id":175884,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:28] local.INFO: Processing buffer {"connection_id":175884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:28] local.INFO: IMEI packet received {"connection_id":175884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":175884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:21:31] local.INFO: TCP Data received {"connection_id":174541,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c60640012d7ad04005e40988000600a52c..."} 
[2026-09-07 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c60640012d7ad04005e40988000600a52c..."} 
[2026-09-07 08:21:31] local.INFO: Processing buffer {"connection_id":174541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c60640012d7ad04005e40988000600a52c..."} 
[2026-09-07 08:21:31] local.INFO: Packet analysis {"connection_id":174541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:31] local.INFO: Extracted packet for processing {"connection_id":174541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763023424,"raw_latitude":98830728,"longitude_deg":76.3023424,"latitude_deg":9.8830728,"altitude":6,"angle":165,"satellites":44,"speed":21,"hex_longitude":"2d7ad040","hex_latitude":"05e40988","is_valid_coordinates":true} 
[2026-09-07 08:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919849472001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129283944448262144,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130679296,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:31] 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-07 08:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788749416000,"timestamp_ms":1788749416000,"timestamp_seconds":1788749416,"priority":1,"record_length":96,"hex_timestamp":"000001a079c60640"} 
[2026-09-07 08:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174541,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919849472001,"66":13493,"208":206,"85":15104,"24":21,"16":129283944448262144,"45":8849010343130679296},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919849472001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:21:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129283944448262144,"km_value":129283944448262.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130679296,"description":"Unknown IO ID 45"} 
[2026-09-07 08:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919849472001,"power":13493,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8849010343130679296}} 
[2026-09-07 08:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":174541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:21:31] local.INFO: GPS data processed {"connection_id":174541,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:21:31] local.INFO: Acknowledgment sent {"connection_id":174541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:21:45] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:45] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:45] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:21:47] local.INFO: TCP Data received {"connection_id":175885,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:47] local.INFO: Processing buffer {"connection_id":175885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:21:47] local.INFO: IMEI packet received {"connection_id":175885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":175885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:21:48] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:48] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:48] local.INFO: IMEI packet received {"connection_id":173156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":173156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:21:50] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:50] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:21:50] local.INFO: IMEI packet received {"connection_id":173155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":173155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:21:52] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:21:52] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:21:52] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:52] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:21:52] 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-07 08:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:21:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:21:52] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:21:52] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:21:53] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:53] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:21:53] local.INFO: IMEI packet received {"connection_id":173156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":173156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:21:55] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c63520012d7ad78005e3e730000700a82c..."} 
[2026-09-07 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c63520012d7ad78005e3e730000700a82c..."} 
[2026-09-07 08:21:55] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c63520012d7ad78005e3e730000700a82c..."} 
[2026-09-07 08:21:55] local.INFO: Packet analysis {"connection_id":173156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:55] local.INFO: Extracted packet for processing {"connection_id":173156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821936,"longitude_deg":76.302528,"latitude_deg":9.8821936,"altitude":7,"angle":168,"satellites":44,"speed":33,"hex_longitude":"2d7ad780","hex_latitude":"05e3e730","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919850496001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129284382534926336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849643661827868672,"note":"Value kept but may cause issues"} 
[2026-09-07 08:21:55] 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-07 08:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788749428000,"timestamp_ms":1788749428000,"timestamp_seconds":1788749428,"priority":1,"record_length":96,"hex_timestamp":"000001a079c63520"} 
[2026-09-07 08:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:21: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-07 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 08:21:55] 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-07 08:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919850496001,"66":13765,"208":206,"85":15104,"24":33,"16":129284382534926336,"45":8849643661827868672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919850496001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:21:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129284382534926336,"km_value":129284382534926.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849643661827868672,"description":"Unknown IO ID 45"} 
[2026-09-07 08:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919850496001,"power":13765,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8849643661827868672}} 
[2026-09-07 08:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":173156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:21:55] local.INFO: GPS data processed {"connection_id":173156,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:21:55] local.INFO: Acknowledgment sent {"connection_id":173156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:22:23] local.INFO: TCP Data received {"connection_id":173155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:23] local.INFO: Processing buffer {"connection_id":173155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:23] local.INFO: Packet analysis {"connection_id":173155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:23] local.INFO: Extracted packet for processing {"connection_id":173155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:22: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-07 08:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:22:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":173155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:22:23] local.INFO: GPS data processed {"connection_id":173155,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:22:23] local.INFO: Acknowledgment sent {"connection_id":173155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:22:26] local.INFO: TCP Data received {"connection_id":173156,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c65c30012d7ae10005e3c470000500a62f..."} 
[2026-09-07 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c65c30012d7ae10005e3c470000500a62f..."} 
[2026-09-07 08:22:26] local.INFO: Processing buffer {"connection_id":173156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c65c30012d7ae10005e3c470000500a62f..."} 
[2026-09-07 08:22:26] local.INFO: Packet analysis {"connection_id":173156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:26] local.INFO: Extracted packet for processing {"connection_id":173156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763027712,"raw_latitude":98813040,"longitude_deg":76.3027712,"latitude_deg":9.881304,"altitude":5,"angle":166,"satellites":47,"speed":38,"hex_longitude":"2d7ae100","hex_latitude":"05e3c470","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919853568001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129284829211525120,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406770176,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:26] 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-07 08:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788749438000,"timestamp_ms":1788749438000,"timestamp_seconds":1788749438,"priority":1,"record_length":96,"hex_timestamp":"000001a079c65c30"} 
[2026-09-07 08: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-07 08:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 08:22:26] 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-07 08: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-07 08: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-07 08:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919853568001,"66":13798,"208":206,"85":15104,"24":38,"16":129284829211525120,"45":8851684355406770176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919853568001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:22:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129284829211525120,"km_value":129284829211525.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406770176,"description":"Unknown IO ID 45"} 
[2026-09-07 08:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919853568001,"power":13798,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8851684355406770176}} 
[2026-09-07 08:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":173156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:22:26] local.INFO: GPS data processed {"connection_id":173156,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:22:26] local.INFO: Acknowledgment sent {"connection_id":173156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:22:45] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:45] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:45] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:22:48] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:48] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:48] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:22:49] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:49] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:49] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:22:50] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:50] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:22:50] local.INFO: IMEI packet received {"connection_id":173157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:22:52] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:52] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:22:52] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:52] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:22:52] local.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-07 08:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:22:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:22:52] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:22:52] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:22:53] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:53] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:22:53] local.INFO: IMEI packet received {"connection_id":175886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":175886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:22:54] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c80210012d7b0c4005e353580008002c2b..."} 
[2026-09-07 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c80210012d7b0c4005e353580008002c2b..."} 
[2026-09-07 08:22:54] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c80210012d7b0c4005e353580008002c2b..."} 
[2026-09-07 08:22:54] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:22:54] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98784088,"longitude_deg":76.3038784,"latitude_deg":9.8784088,"altitude":8,"angle":44,"satellites":43,"speed":10,"hex_longitude":"2d7b0c40","hex_latitude":"05e35358","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919883520001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129286375399751680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685441814528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:22:54] 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-07 08:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749546000,"timestamp_ms":1788749546000,"timestamp_seconds":1788749546,"priority":1,"record_length":96,"hex_timestamp":"000001a079c80210"} 
[2026-09-07 08: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-07 08:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919883520001,"66":13678,"208":206,"85":15104,"24":10,"16":129286375399751680,"45":8866250685441814528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919883520001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:22:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129286375399751680,"km_value":129286375399751.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685441814528,"description":"Unknown IO ID 45"} 
[2026-09-07 08:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919883520001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866250685441814528}} 
[2026-09-07 08:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:22:54] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:22:54] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:23:23] local.INFO: TCP Data received {"connection_id":173157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:23] local.INFO: Processing buffer {"connection_id":173157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:23] local.INFO: Packet analysis {"connection_id":173157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:23:23] local.INFO: Extracted packet for processing {"connection_id":173157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:23: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-07 08:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:23:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:23:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":173157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:23:23] local.INFO: GPS data processed {"connection_id":173157,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:23:23] local.INFO: Acknowledgment sent {"connection_id":173157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:23:27] local.INFO: TCP Data received {"connection_id":175886,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c805f8012d7b0cc005e354580009001e2b..."} 
[2026-09-07 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c805f8012d7b0cc005e354580009001e2b..."} 
[2026-09-07 08:23:27] local.INFO: Processing buffer {"connection_id":175886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c805f8012d7b0cc005e354580009001e2b..."} 
[2026-09-07 08:23:27] local.INFO: Packet analysis {"connection_id":175886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:27] local.INFO: Extracted packet for processing {"connection_id":175886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98784344,"longitude_deg":76.3038912,"latitude_deg":9.8784344,"altitude":9,"angle":30,"satellites":43,"speed":12,"hex_longitude":"2d7b0cc0","hex_latitude":"05e35458","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919883776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129286392579620864,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160418568192,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:27] 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-07 08:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788749547000,"timestamp_ms":1788749547000,"timestamp_seconds":1788749547,"priority":1,"record_length":96,"hex_timestamp":"000001a079c805f8"} 
[2026-09-07 08: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-07 08:23: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-07 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:23:27] 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-07 08: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-07 08: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-07 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919883776001,"66":13656,"208":206,"85":15104,"24":12,"16":129286392579620864,"45":8866532160418568192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919883776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:23:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129286392579620864,"km_value":129286392579620.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160418568192,"description":"Unknown IO ID 45"} 
[2026-09-07 08:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919883776001,"power":13656,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866532160418568192}} 
[2026-09-07 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":175886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:23:27] local.INFO: GPS data processed {"connection_id":175886,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:23:27] local.INFO: Acknowledgment sent {"connection_id":175886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:23:45] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:45] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:45] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:23:48] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:48] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:48] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:23:50] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:50] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:50] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:23:50] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:50] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:23:50] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:23:51] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:51] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:23:51] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:23:51] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:23:51] 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-07 08:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:23:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:23:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:23:51] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:23:51] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:23:53] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:53] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:23:53] local.INFO: IMEI packet received {"connection_id":175887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":175887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:23:54] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c85800012d7b1e8005e36ff0000600222b..."} 
[2026-09-07 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c85800012d7b1e8005e36ff0000600222b..."} 
[2026-09-07 08:23:54] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c85800012d7b1e8005e36ff0000600222b..."} 
[2026-09-07 08:23:54] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:54] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763043456,"raw_latitude":98791408,"longitude_deg":76.3043456,"latitude_deg":9.8791408,"altitude":6,"angle":34,"satellites":43,"speed":10,"hex_longitude":"2d7b1e80","hex_latitude":"05e36ff0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919884032001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129286796306546688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897906989056,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:54] 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-07 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749568000,"timestamp_ms":1788749568000,"timestamp_seconds":1788749568,"priority":1,"record_length":96,"hex_timestamp":"000001a079c85800"} 
[2026-09-07 08: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-07 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919884032001,"66":13059,"208":206,"85":15104,"24":10,"16":129286796306546688,"45":8866672897906989056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919884032001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:23:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129286796306546688,"km_value":129286796306546.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897906989056,"description":"Unknown IO ID 45"} 
[2026-09-07 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919884032001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866672897906989056}} 
[2026-09-07 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:23:54] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:23:54] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:23:59] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c86f70012d7b224005e376d80007001428..."} 
[2026-09-07 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c86f70012d7b224005e376d80007001428..."} 
[2026-09-07 08:23:59] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c86f70012d7b224005e376d80007001428..."} 
[2026-09-07 08:23:59] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:59] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763044416,"raw_latitude":98793176,"longitude_deg":76.3044416,"latitude_deg":9.8793176,"altitude":7,"angle":20,"satellites":40,"speed":16,"hex_longitude":"2d7b2240","hex_latitude":"05e376d8","is_valid_coordinates":true} 
[2026-09-07 08:23: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-07 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919889408001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129286895090794496,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871669078745411584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] 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-07 08:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788749574000,"timestamp_ms":1788749574000,"timestamp_seconds":1788749574,"priority":1,"record_length":96,"hex_timestamp":"000001a079c86f70"} 
[2026-09-07 08:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359775,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3355066369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-07 08:23:59] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1476472187,"corrected_to":0} 
[2026-09-07 08:23:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1363083264,"corrected_to":0} 
[2026-09-07 08:23:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,81,160,5,45,192,84,9,43,10,66,2,64,83,8,254,1,240,110,227,121,4,113,205,246,239,53,203],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":246,"original":1476472187,"validated":0},{"io_id":203,"original":1363083264,"validated":0}]} 
[2026-09-07 08:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432383132307161088,"timestamp_seconds":432383132307161.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919889408001,"66":13319,"208":206,"85":15104,"24":16,"16":129286895090794496,"45":8871669078745411584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919889408001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:23:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129286895090794496,"km_value":129286895090794.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871669078745411584,"description":"Unknown IO ID 45"} 
[2026-09-07 08:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919889408001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8871669078745411584}} 
[2026-09-07 08:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:23:59] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:23:59] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:24:23] local.INFO: TCP Data received {"connection_id":173401,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:23] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:23] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:24:23] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:24:23] 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-07 08:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:24:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:24:23] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:24:23] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:24:31] local.INFO: TCP Data received {"connection_id":175887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c882f8012d7b268005e37e08000900212c..."} 
[2026-09-07 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c882f8012d7b268005e37e08000900212c..."} 
[2026-09-07 08:24:31] local.INFO: Processing buffer {"connection_id":175887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c882f8012d7b268005e37e08000900212c..."} 
[2026-09-07 08:24:31] local.INFO: Packet analysis {"connection_id":175887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:24:31] local.INFO: Extracted packet for processing {"connection_id":175887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98795016,"longitude_deg":76.3045504,"latitude_deg":9.8795016,"altitude":9,"angle":33,"satellites":44,"speed":20,"hex_longitude":"2d7b2680","hex_latitude":"05e37e08","is_valid_coordinates":true} 
[2026-09-07 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919890944001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129286998170009600,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872724609908529152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] 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-07 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788749579000,"timestamp_ms":1788749579000,"timestamp_seconds":1788749579,"priority":1,"record_length":96,"hex_timestamp":"000001a079c882f8"} 
[2026-09-07 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221611346,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813855232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":6021312736162819072,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3355322369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-07 08:24:31] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1363279872,"corrected_to":0} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":56,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.WARNING: Large IO value detected {"io_id":199,"raw_value":-1258754801000710139,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,81,160,88,45,128,111,6,43,10,66,5,192,84,9,2,64,1,240,110,227,121,4,113,205,250,152,44,239,53,203,8,56,199],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":203,"original":1363279872,"validated":0}]} 
[2026-09-07 08:24:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504425320297791488,"timestamp_seconds":504425320297791.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":175887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":175887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919890944001,"66":13374,"208":206,"85":15104,"24":20,"16":129286998170009600,"45":8872724609908529152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919890944001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:24:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129286998170009600,"km_value":129286998170009.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872724609908529152,"description":"Unknown IO ID 45"} 
[2026-09-07 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919890944001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8872724609908529152}} 
[2026-09-07 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":175887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:24:31] local.INFO: GPS data processed {"connection_id":175887,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:24:31] local.INFO: Acknowledgment sent {"connection_id":175887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:24:45] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:45] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:45] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:24:46] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:46] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:46] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:24:48] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:48] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:48] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:24:50] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:50] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:24:50] local.INFO: IMEI packet received {"connection_id":174543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":174543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:24:51] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:51] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:24:51] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:24:51] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:24: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-07 08:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:24:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:24:51] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:24:51] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:24:53] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:53] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:24:53] local.INFO: IMEI packet received {"connection_id":173158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":173158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:24:54] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079c8b1d8012d7b3a8005e39af8000700222c..."} 
[2026-09-07 08:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c8b1d8012d7b3a8005e39af8000700222c..."} 
[2026-09-07 08:24:54] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c8b1d8012d7b3a8005e39af8000700222c..."} 
[2026-09-07 08:24:54] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:24:54] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c8"} 
[2026-09-07 08:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763050624,"raw_latitude":98802424,"longitude_deg":76.3050624,"latitude_deg":9.8802424,"altitude":7,"angle":34,"satellites":44,"speed":38,"hex_longitude":"2d7b3a80","hex_latitude":"05e39af8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919892224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129287431961706496,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878560020480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:24:54] 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-07 08:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749591000,"timestamp_ms":1788749591000,"timestamp_seconds":1788749591,"priority":1,"record_length":96,"hex_timestamp":"000001a079c8b1d8"} 
[2026-09-07 08: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-07 08:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919892224001,"66":13059,"208":206,"85":15104,"24":38,"16":129287431961706496,"45":8873920878560020480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 08:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919892224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:24:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 08:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 08:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129287431961706496,"km_value":129287431961706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878560020480,"description":"Unknown IO ID 45"} 
[2026-09-07 08:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919892224001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8873920878560020480}} 
[2026-09-07 08:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:24:54] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:24:54] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:25:23] local.INFO: TCP Data received {"connection_id":174543,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:23] local.INFO: Processing buffer {"connection_id":174543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:23] local.INFO: Packet analysis {"connection_id":174543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:25:23] local.INFO: Extracted packet for processing {"connection_id":174543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:25:23] 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-07 08:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:25:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:25:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":174543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:25:23] local.INFO: GPS data processed {"connection_id":174543,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:25:23] local.INFO: Acknowledgment sent {"connection_id":174543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:25:25] local.INFO: TCP Data received {"connection_id":173158,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ca6b40012d7c3fc005e524e80002015f2c..."} 
[2026-09-07 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ca6b40012d7c3fc005e524e80002015f2c..."} 
[2026-09-07 08:25:25] local.INFO: Processing buffer {"connection_id":173158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ca6b40012d7c3fc005e524e80002015f2c..."} 
[2026-09-07 08:25:25] local.INFO: Packet analysis {"connection_id":173158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:25:25] local.INFO: Extracted packet for processing {"connection_id":173158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763117504,"raw_latitude":98903272,"longitude_deg":76.3117504,"latitude_deg":9.8903272,"altitude":2,"angle":351,"satellites":44,"speed":20,"hex_longitude":"2d7c3fc0","hex_latitude":"05e524e8","is_valid_coordinates":true} 
[2026-09-07 08:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919923968001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129293286002130944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715787476992,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749704000,"timestamp_ms":1788749704000,"timestamp_seconds":1788749704,"priority":1,"record_length":96,"hex_timestamp":"000001a079ca6b40"} 
[2026-09-07 08: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-07 08:25: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-07 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 08:25:25] 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-07 08: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-07 08: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-07 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919923968001,"66":13646,"39":206,"87":13824,"24":20,"16":129293286002130944,"45":8953085715787476992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 08:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919923968001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:25:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 08:25:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129293286002130944,"km_value":129293286002130.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715787476992,"description":"Unknown IO ID 45"} 
[2026-09-07 08:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919923968001,"power":13646,"unknown_39":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8953085715787476992}} 
[2026-09-07 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":173158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:25:25] local.INFO: GPS data processed {"connection_id":173158,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:25:25] local.INFO: Acknowledgment sent {"connection_id":173158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:25:45] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:45] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:45] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:25:48] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:48] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:48] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:25:49] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:49] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:49] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:25:50] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:50] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:25:50] local.INFO: IMEI packet received {"connection_id":173160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:25:51] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:51] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:25:51] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:25:51] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:25:51] local.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-07 08:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:25:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:25:51] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:25:51] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:25:53] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:53] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:25:53] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:26:05] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ca9e08012d7c378005e54948000001592a..."} 
[2026-09-07 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ca9e08012d7c378005e54948000001592a..."} 
[2026-09-07 08:26:05] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ca9e08012d7c378005e54948000001592a..."} 
[2026-09-07 08:26:05] local.INFO: Packet analysis {"connection_id":173403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:26:05] local.INFO: Extracted packet for processing {"connection_id":173403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763115392,"raw_latitude":98912584,"longitude_deg":76.3115392,"latitude_deg":9.8912584,"altitude":0,"angle":345,"satellites":42,"speed":32,"hex_longitude":"2d7c3780","hex_latitude":"05e54948","is_valid_coordinates":true} 
[2026-09-07 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919924224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129293749858598912,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953085715787606016,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788749717000,"timestamp_ms":1788749717000,"timestamp_seconds":1788749717,"priority":1,"record_length":96,"hex_timestamp":"000001a079ca9e08"} 
[2026-09-07 08:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 08:26:05] 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-07 08:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919924224001,"66":13135,"39":206,"87":13824,"24":32,"16":129293749858598912,"45":8953085715787606016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 08:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919924224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129293749858598912,"km_value":129293749858598.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953085715787606016,"description":"Unknown IO ID 45"} 
[2026-09-07 08:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919924224001,"power":13135,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8953085715787606016}} 
[2026-09-07 08:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":173403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:26:05] local.INFO: GPS data processed {"connection_id":173403,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:26:05] local.INFO: Acknowledgment sent {"connection_id":173403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:26:23] local.INFO: TCP Data received {"connection_id":173160,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:23] local.INFO: Processing buffer {"connection_id":173160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:23] local.INFO: Packet analysis {"connection_id":173160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:26:23] local.INFO: Extracted packet for processing {"connection_id":173160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:26:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:26:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":173160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:26:23] local.INFO: GPS data processed {"connection_id":173160,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:26:23] local.INFO: Acknowledgment sent {"connection_id":173160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:26:45] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:45] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:45] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:26:48] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:48] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:48] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:26:50] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:50] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:50] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:26:50] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:50] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:26:50] local.INFO: IMEI packet received {"connection_id":175889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":175889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:26:51] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:51] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079c6e100012d10fe0006e4bf78000701552b..."} 
[2026-09-07 08:26:51] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:26:51] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079c6"} 
[2026-09-07 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":43,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919787776001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749472000,"timestamp_ms":1788749472000,"timestamp_seconds":1788749472,"priority":1,"record_length":96,"hex_timestamp":"000001a079c6e100"} 
[2026-09-07 08: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-07 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:26:51] 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-07 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919787776001,"66":26115,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919787776001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:26:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:26:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919787776001,"power":26115,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:26:51] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:26:51] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:26:53] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:53] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:26:53] local.INFO: IMEI packet received {"connection_id":175890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":175890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:26:54] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cab190012d7c328005e557380001014e2b..."} 
[2026-09-07 08:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cab190012d7c328005e557380001014e2b..."} 
[2026-09-07 08:26:54] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cab190012d7c328005e557380001014e2b..."} 
[2026-09-07 08:26:54] local.INFO: Packet analysis {"connection_id":175890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:26:54] local.INFO: Extracted packet for processing {"connection_id":175890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ca"} 
[2026-09-07 08:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98916152,"longitude_deg":76.3114112,"latitude_deg":9.8916152,"altitude":1,"angle":334,"satellites":43,"speed":28,"hex_longitude":"2d7c3280","hex_latitude":"05e55738","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919927552001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129293934542192640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763547232126976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749722000,"timestamp_ms":1788749722000,"timestamp_seconds":1788749722,"priority":1,"record_length":96,"hex_timestamp":"000001a079cab190"} 
[2026-09-07 08: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-07 08: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-07 08: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-07 08:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919927552001,"66":13341,"39":206,"87":13824,"24":28,"16":129293934542192640,"45":8950763547232126976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 08:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919927552001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:26:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 08:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129293934542192640,"km_value":129293934542192.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763547232126976,"description":"Unknown IO ID 45"} 
[2026-09-07 08:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919927552001,"power":13341,"unknown_39":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8950763547232126976}} 
[2026-09-07 08:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":175890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:26:54] local.INFO: GPS data processed {"connection_id":175890,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:26:54] local.INFO: Acknowledgment sent {"connection_id":175890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:13] local.INFO: TCP Data received {"connection_id":175888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:27:13] local.INFO: Processing buffer {"connection_id":175888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:27:13] local.INFO: IMEI packet received {"connection_id":175888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":175888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:27:22] local.INFO: TCP Data received {"connection_id":175889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:22] local.INFO: Processing buffer {"connection_id":175889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:22] local.INFO: Packet analysis {"connection_id":175889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:22] local.INFO: Extracted packet for processing {"connection_id":175889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:27:22] 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-07 08:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:27:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":175889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:22] local.INFO: GPS data processed {"connection_id":175889,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:22] local.INFO: Acknowledgment sent {"connection_id":175889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:25] local.INFO: TCP Data received {"connection_id":175890,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cc3830012d7baec005e660300004014529..."} 
[2026-09-07 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cc3830012d7baec005e660300004014529..."} 
[2026-09-07 08:27:25] local.INFO: Processing buffer {"connection_id":175890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cc3830012d7baec005e660300004014529..."} 
[2026-09-07 08:27:25] local.INFO: Packet analysis {"connection_id":175890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:27:25] local.INFO: Extracted packet for processing {"connection_id":175890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763080384,"raw_latitude":98983984,"longitude_deg":76.3080384,"latitude_deg":9.8983984,"altitude":4,"angle":325,"satellites":41,"speed":38,"hex_longitude":"2d7baec0","hex_latitude":"05e66030","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919951104001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129297671163740160,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917268025019738112,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749822000,"timestamp_ms":1788749822000,"timestamp_seconds":1788749822,"priority":1,"record_length":96,"hex_timestamp":"000001a079cc3830"} 
[2026-09-07 08: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-07 08:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 08: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:25] 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-07 08: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-07 08: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-07 08:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919951104001,"66":13602,"95":206,"87":13824,"24":38,"16":129297671163740160,"45":8917268025019738112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-07 08:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919951104001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129297671163740160,"km_value":129297671163740.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917268025019738112,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919951104001,"power":13602,"unknown_95":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8917268025019738112}} 
[2026-09-07 08:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":175890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:25] local.INFO: GPS data processed {"connection_id":175890,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:25] local.INFO: Acknowledgment sent {"connection_id":175890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:27] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:27] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:27] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:27:28] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:28] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:28] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:27:35] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:35] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:35] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:27:39] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:39] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:27:39] local.INFO: IMEI packet received {"connection_id":173404,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":173404,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:27:41] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cbedf8012d0af3000702e578001b002609..."} 
[2026-09-07 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cbedf8012d0af3000702e578001b002609..."} 
[2026-09-07 08:27:41] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cbedf8012d0af3000702e578001b002609..."} 
[2026-09-07 08:27:41] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:41] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:41] local.INFO: GPS Element Parsed {"raw_longitude":755692288,"raw_latitude":117630328,"longitude_deg":75.5692288,"latitude_deg":11.7630328,"altitude":27,"angle":38,"satellites":9,"speed":14,"hex_longitude":"2d0af300","hex_latitude":"0702e578","is_valid_coordinates":true} 
[2026-09-07 08:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919948032001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30387580813967360,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787567014949318656,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788749803000,"timestamp_ms":1788749803000,"timestamp_seconds":1788749803,"priority":1,"record_length":96,"hex_timestamp":"000001a079cbedf8"} 
[2026-09-07 08:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919948032001,"66":14450,"17":206,"94":11008,"24":14,"16":30387580813967360,"45":787567014949318656},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919948032001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30387580813967360,"km_value":30387580813967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":787567014949318656,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919948032001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":787567014949318656}} 
[2026-09-07 08:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777575,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:41] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:41] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:42] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cbfd98012d0af6000702ea90001e001909..."} 
[2026-09-07 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cbfd98012d0af6000702ea90001e001909..."} 
[2026-09-07 08:27:42] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cbfd98012d0af6000702ea90001e001909..."} 
[2026-09-07 08:27:42] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:42] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":755693056,"raw_latitude":117631632,"longitude_deg":75.5693056,"latitude_deg":11.7631632,"altitude":30,"angle":25,"satellites":9,"speed":11,"hex_longitude":"2d0af600","hex_latitude":"0702ea90","is_valid_coordinates":true} 
[2026-09-07 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919949568001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30387653828411392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788974389833332736,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788749807000,"timestamp_ms":1788749807000,"timestamp_seconds":1788749807,"priority":1,"record_length":96,"hex_timestamp":"000001a079cbfd98"} 
[2026-09-07 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919949568001,"66":14646,"17":206,"94":11008,"24":11,"16":30387653828411392,"45":788974389833332736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919949568001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30387653828411392,"km_value":30387653828411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":788974389833332736,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919949568001,"power":14646,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":788974389833332736}} 
[2026-09-07 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777576,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:42] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:42] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:45] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:45] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:45] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:27:50] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:50] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:27:50] local.INFO: IMEI packet received {"connection_id":173162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":173162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:27:51] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:51] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:27:51] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:51] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:27:51] 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-07 08:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:51] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:51] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:27:53] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:53] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:53] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:27:58] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:58] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:27:58] local.INFO: IMEI packet received {"connection_id":174545,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":174545,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:27:59] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cc4bb8012d7ba5c005e670500005015529..."} 
[2026-09-07 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cc4bb8012d7ba5c005e670500005015529..."} 
[2026-09-07 08:27:59] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cc4bb8012d7ba5c005e670500005015529..."} 
[2026-09-07 08:27:59] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:27:59] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763078080,"raw_latitude":98988112,"longitude_deg":76.307808,"latitude_deg":9.8988112,"altitude":5,"angle":341,"satellites":41,"speed":38,"hex_longitude":"2d7ba5c0","hex_latitude":"05e67050","is_valid_coordinates":true} 
[2026-09-07 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919954432001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129297898797006848,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912271844185223168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788749827000,"timestamp_ms":1788749827000,"timestamp_seconds":1788749827,"priority":1,"record_length":96,"hex_timestamp":"000001a079cc4bb8"} 
[2026-09-07 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 08:27:59] 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-07 08:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919954432001,"66":13015,"95":206,"87":13824,"24":38,"16":129297898797006848,"45":8912271844185223168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-07 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919954432001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:27:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:27:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129297898797006848,"km_value":129297898797006.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912271844185223168,"description":"Unknown IO ID 45"} 
[2026-09-07 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919954432001,"power":13015,"unknown_95":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8912271844185223168}} 
[2026-09-07 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:27:59] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:27:59] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:14] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cd3618012d0b4300070381180019003d0c..."} 
[2026-09-07 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cd3618012d0b4300070381180019003d0c..."} 
[2026-09-07 08:28:14] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cd3618012d0b4300070381180019003d0c..."} 
[2026-09-07 08:28:14] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:28:14] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":755712768,"raw_latitude":117670168,"longitude_deg":75.5712768,"latitude_deg":11.7670168,"altitude":25,"angle":61,"satellites":12,"speed":15,"hex_longitude":"2d0b4300","hex_latitude":"07038118","is_valid_coordinates":true} 
[2026-09-07 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-07 08:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919970304001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30389805607026688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":810014644352608256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788749887000,"timestamp_ms":1788749887000,"timestamp_seconds":1788749887,"priority":1,"record_length":96,"hex_timestamp":"000001a079cd3618"} 
[2026-09-07 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-07 08:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 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-07 08:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919970304001,"66":14515,"17":206,"94":11008,"24":15,"16":30389805607026688,"45":810014644352608256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919970304001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30389805607026688,"km_value":30389805607026.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":810014644352608256,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919970304001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":810014644352608256}} 
[2026-09-07 08:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777579,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:14] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:14] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:23] local.INFO: TCP Data received {"connection_id":173162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:23] local.INFO: Processing buffer {"connection_id":173162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:23] local.INFO: Packet analysis {"connection_id":173162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:28:23] local.INFO: Extracted packet for processing {"connection_id":173162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:28:23] 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-07 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:28:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":173162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:23] local.INFO: GPS data processed {"connection_id":173162,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:23] local.INFO: Acknowledgment sent {"connection_id":173162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:31] local.INFO: TCP Data received {"connection_id":174545,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cc7e80012d7b9dc005e692f00004015c2a..."} 
[2026-09-07 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cc7e80012d7b9dc005e692f00004015c2a..."} 
[2026-09-07 08:28:31] local.INFO: Processing buffer {"connection_id":174545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cc7e80012d7b9dc005e692f00004015c2a..."} 
[2026-09-07 08:28:31] local.INFO: Packet analysis {"connection_id":174545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:28:31] local.INFO: Extracted packet for processing {"connection_id":174545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763076032,"raw_latitude":98996976,"longitude_deg":76.3076032,"latitude_deg":9.8996976,"altitude":4,"angle":348,"satellites":42,"speed":31,"hex_longitude":"2d7b9dc0","hex_latitude":"05e692f0","is_valid_coordinates":true} 
[2026-09-07 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919955712001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129298341178638336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909738569395884032,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788749840000,"timestamp_ms":1788749840000,"timestamp_seconds":1788749840,"priority":1,"record_length":96,"hex_timestamp":"000001a079cc7e80"} 
[2026-09-07 08:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:31] 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-07 08:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174545,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919955712001,"66":13787,"95":206,"87":13824,"24":31,"16":129298341178638336,"45":8909738569395884032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-07 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919955712001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:28:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129298341178638336,"km_value":129298341178638.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909738569395884032,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919955712001,"power":13787,"unknown_95":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8909738569395884032}} 
[2026-09-07 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":174545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:31] local.INFO: GPS data processed {"connection_id":174545,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:31] local.INFO: Acknowledgment sent {"connection_id":174545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:45] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:45] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:45] local.INFO: IMEI packet received {"connection_id":174546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:28:45] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cd3a00012d0b4400070382180019002d0c..."} 
[2026-09-07 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cd3a00012d0b4400070382180019002d0c..."} 
[2026-09-07 08:28:45] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cd3a00012d0b4400070382180019002d0c..."} 
[2026-09-07 08:28:45] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:28:45] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":755713024,"raw_latitude":117670424,"longitude_deg":75.5713024,"latitude_deg":11.7670424,"altitude":25,"angle":45,"satellites":12,"speed":16,"hex_longitude":"2d0b4400","hex_latitude":"07038218","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919971072001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30389822786895872,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811492387980384256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788749888000,"timestamp_ms":1788749888000,"timestamp_seconds":1788749888,"priority":1,"record_length":96,"hex_timestamp":"000001a079cd3a00"} 
[2026-09-07 08: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-07 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:45] 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-07 08: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-07 08: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-07 08:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919971072001,"66":14439,"17":206,"94":11008,"24":16,"16":30389822786895872,"45":811492387980384256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919971072001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30389822786895872,"km_value":30389822786895.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":811492387980384256,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919971072001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":811492387980384256}} 
[2026-09-07 08:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:45] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:45] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:48] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:48] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:48] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:28:50] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:50] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:28:50] local.INFO: IMEI packet received {"connection_id":174546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":174546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:28:51] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:51] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:28:51] local.INFO: Packet analysis {"connection_id":174546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:28:51] local.INFO: Extracted packet for processing {"connection_id":174546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:28:51] 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-07 08:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":174546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:51] local.INFO: GPS data processed {"connection_id":174546,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:51] local.INFO: Acknowledgment sent {"connection_id":174546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:28:53] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:53] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:28:53] local.INFO: IMEI packet received {"connection_id":173163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":173163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:28:54] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cca590012d7b95c005e6b6580005015d28..."} 
[2026-09-07 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cca590012d7b95c005e6b6580005015d28..."} 
[2026-09-07 08:28:54] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cca590012d7b95c005e6b6580005015d28..."} 
[2026-09-07 08:28:54] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:28:54] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cc"} 
[2026-09-07 08:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99006040,"longitude_deg":76.3073984,"latitude_deg":9.900604,"altitude":5,"angle":349,"satellites":40,"speed":35,"hex_longitude":"2d7b95c0","hex_latitude":"05e6b658","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919959040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129298792150204416,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907486769584467968,"note":"Value kept but may cause issues"} 
[2026-09-07 08:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749850000,"timestamp_ms":1788749850000,"timestamp_seconds":1788749850,"priority":1,"record_length":96,"hex_timestamp":"000001a079cca590"} 
[2026-09-07 08:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:28: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-07 08:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-07 08:28:54] 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-07 08:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919959040001,"66":13656,"95":206,"87":13824,"24":35,"16":129298792150204416,"45":8907486769584467968},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-09-07 08:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919959040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:28:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:28:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129298792150204416,"km_value":129298792150204.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907486769584467968,"description":"Unknown IO ID 45"} 
[2026-09-07 08:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919959040001,"power":13656,"unknown_95":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8907486769584467968}} 
[2026-09-07 08:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:28:54] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:28:54] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:29:23] local.INFO: TCP Data received {"connection_id":174546,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:23] local.INFO: Processing buffer {"connection_id":174546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:23] local.INFO: Packet analysis {"connection_id":174546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:29:23] local.INFO: Extracted packet for processing {"connection_id":174546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:29:23] 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-07 08:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:29:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":174546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:29:23] local.INFO: GPS data processed {"connection_id":174546,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:29:23] local.INFO: Acknowledgment sent {"connection_id":174546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:29:25] local.INFO: TCP Data received {"connection_id":173163,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079cdca88012d7b738005e758d00002015b2a..."} 
[2026-09-07 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cdca88012d7b738005e758d00002015b2a..."} 
[2026-09-07 08:29:25] local.INFO: Processing buffer {"connection_id":173163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cdca88012d7b738005e758d00002015b2a..."} 
[2026-09-07 08:29:25] local.INFO: Packet analysis {"connection_id":173163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:29:25] local.INFO: Extracted packet for processing {"connection_id":173163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cd"} 
[2026-09-07 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763065216,"raw_latitude":99047632,"longitude_deg":76.3065216,"latitude_deg":9.9047632,"altitude":2,"angle":347,"satellites":42,"speed":32,"hex_longitude":"2d7b7380","hex_latitude":"05e758d0","is_valid_coordinates":true} 
[2026-09-07 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-07 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919977216001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129300905274114048,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139270873088,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749925000,"timestamp_ms":1788749925000,"timestamp_seconds":1788749925,"priority":1,"record_length":96,"hex_timestamp":"000001a079cdca88"} 
[2026-09-07 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-07 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631197,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5704090497530724362,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3441594369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634694879694175,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576235020113359273,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1570832384,"corrected_to":0} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3876112384,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-7818242463805997052,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,94,160,143,45,52,2,44,10,66,128,64,51,1,46,240,7,227,93,121,231,4,113,205,26,133,239,50,203,5,3,31,123,54],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0},{"io_id":203,"original":1570832384,"validated":0}]} 
[2026-09-07 08:29:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144505703682932736,"timestamp_seconds":144505703682932.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 08:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919977216001,"66":13048,"96":206,"87":13824,"24":32,"16":129300905274114048,"45":8896298139270873088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 08:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919977216001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:29:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 08:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129300905274114048,"km_value":129300905274114.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139270873088,"description":"Unknown IO ID 45"} 
[2026-09-07 08:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919977216001,"power":13048,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8896298139270873088}} 
[2026-09-07 08:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":173163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:29:25] local.INFO: GPS data processed {"connection_id":173163,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:29:25] local.INFO: Acknowledgment sent {"connection_id":173163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:29:34] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce0908012d0b59c00703aab8000c00490e..."} 
[2026-09-07 08:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce0908012d0b59c00703aab8000c00490e..."} 
[2026-09-07 08:29:34] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce0908012d0b59c00703aab8000c00490e..."} 
[2026-09-07 08:29:34] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:29:34] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:29:34] local.INFO: GPS Element Parsed {"raw_longitude":755718592,"raw_latitude":117680824,"longitude_deg":75.5718592,"latitude_deg":11.7680824,"altitude":12,"angle":73,"satellites":14,"speed":19,"hex_longitude":"2d0b59c0","hex_latitude":"0703aab8","is_valid_coordinates":true} 
[2026-09-07 08:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919984640001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30390656010551296,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817332993749827584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788749941000,"timestamp_ms":1788749941000,"timestamp_seconds":1788749941,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce0908"} 
[2026-09-07 08:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 08:29:34] 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-07 08:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919984640001,"66":14396,"17":206,"94":11008,"24":19,"16":30390656010551296,"45":817332993749827584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919984640001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:29:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30390656010551296,"km_value":30390656010551.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":817332993749827584,"description":"Unknown IO ID 45"} 
[2026-09-07 08:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919984640001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":817332993749827584}} 
[2026-09-07 08:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:29:35] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:29:35] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:29:45] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:45] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:45] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:29:48] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:48] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:48] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:29:50] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:50] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:29:50] local.INFO: IMEI packet received {"connection_id":175891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":175891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:29:51] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:51] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:29:51] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:29:51] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:29:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:29:51] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:29:51] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:29:53] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:53] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:29:53] local.INFO: IMEI packet received {"connection_id":175892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":175892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:29:54] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce18a8012d7b6e0005e76ec00002015b25..."} 
[2026-09-07 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce18a8012d7b6e0005e76ec00002015b25..."} 
[2026-09-07 08:29:54] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce18a8012d7b6e0005e76ec00002015b25..."} 
[2026-09-07 08:29:54] local.INFO: Packet analysis {"connection_id":175892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:29:54] local.INFO: Extracted packet for processing {"connection_id":175892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763063808,"raw_latitude":99053248,"longitude_deg":76.3063808,"latitude_deg":9.9053248,"altitude":2,"angle":347,"satellites":37,"speed":16,"hex_longitude":"2d7b6e00","hex_latitude":"05e76ec0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919980800001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129301188741955584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451831410688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788749945000,"timestamp_ms":1788749945000,"timestamp_seconds":1788749945,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce18a8"} 
[2026-09-07 08: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-07 08:29: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-07 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 08:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919980800001,"66":13820,"96":206,"87":13824,"24":16,"16":129301188741955584,"45":8895594451831410688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 08:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919980800001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:29:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 08:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129301188741955584,"km_value":129301188741955.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451831410688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919980800001,"power":13820,"unknown_96":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8895594451831410688}} 
[2026-09-07 08:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":175892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:29:54] local.INFO: GPS data processed {"connection_id":175892,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:29:54] local.INFO: Acknowledgment sent {"connection_id":175892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:08] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce14c0012d0b5e000703ad00000d005a0e..."} 
[2026-09-07 08:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce14c0012d0b5e000703ad00000d005a0e..."} 
[2026-09-07 08:30:08] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce14c0012d0b5e000703ad00000d005a0e..."} 
[2026-09-07 08:30:08] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:08] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:08] local.INFO: GPS Element Parsed {"raw_longitude":755719680,"raw_latitude":117681408,"longitude_deg":75.571968,"latitude_deg":11.7681408,"altitude":13,"angle":90,"satellites":14,"speed":16,"hex_longitude":"2d0b5e00","hex_latitude":"0703ad00","is_valid_coordinates":true} 
[2026-09-07 08:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919984896001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30390716140093440,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817895943703279616,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788749944000,"timestamp_ms":1788749944000,"timestamp_seconds":1788749944,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce14c0"} 
[2026-09-07 08:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919984896001,"66":14537,"17":206,"94":11008,"24":16,"16":30390716140093440,"45":817895943703279616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919984896001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30390716140093440,"km_value":30390716140093.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":817895943703279616,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919984896001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":817895943703279616}} 
[2026-09-07 08:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:08] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:08] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:22] local.INFO: TCP Data received {"connection_id":175891,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:22] local.INFO: Processing buffer {"connection_id":175891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:22] local.INFO: Packet analysis {"connection_id":175891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:30:22] local.INFO: Extracted packet for processing {"connection_id":175891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:30: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-07 08:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":175891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:22] local.INFO: GPS data processed {"connection_id":175891,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:22] local.INFO: Acknowledgment sent {"connection_id":175891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:25] local.INFO: TCP Data received {"connection_id":175892,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce4b70012d7b680005e789100001014d2b..."} 
[2026-09-07 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce4b70012d7b680005e789100001014d2b..."} 
[2026-09-07 08:30:25] local.INFO: Processing buffer {"connection_id":175892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce4b70012d7b680005e789100001014d2b..."} 
[2026-09-07 08:30:25] local.INFO: Packet analysis {"connection_id":175892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:25] local.INFO: Extracted packet for processing {"connection_id":175892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":99059984,"longitude_deg":76.3062272,"latitude_deg":9.9059984,"altitude":1,"angle":333,"satellites":43,"speed":18,"hex_longitude":"2d7b6800","hex_latitude":"05e78910","is_valid_coordinates":true} 
[2026-09-07 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919985920001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129301523749404672,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894046339460939776,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788749958000,"timestamp_ms":1788749958000,"timestamp_seconds":1788749958,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce4b70"} 
[2026-09-07 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:25] 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-07 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919985920001,"66":13341,"96":206,"87":13824,"24":18,"16":129301523749404672,"45":8894046339460939776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919985920001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 08:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129301523749404672,"km_value":129301523749404.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894046339460939776,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919985920001,"power":13341,"unknown_96":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8894046339460939776}} 
[2026-09-07 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":175892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:25] local.INFO: GPS data processed {"connection_id":175892,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:25] local.INFO: Acknowledgment sent {"connection_id":175892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:40] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cf2248012d0befc00703a9e80007007c0e..."} 
[2026-09-07 08:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cf2248012d0befc00703a9e80007007c0e..."} 
[2026-09-07 08:30:40] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cf2248012d0befc00703a9e80007007c0e..."} 
[2026-09-07 08:30:40] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cf"} 
[2026-09-07 08:30:40] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cf"} 
[2026-09-07 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":755756992,"raw_latitude":117680616,"longitude_deg":75.5756992,"latitude_deg":11.7680616,"altitude":7,"angle":124,"satellites":14,"speed":32,"hex_longitude":"2d0befc0","hex_latitude":"0703a9e8","is_valid_coordinates":true} 
[2026-09-07 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920002048001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30392584450867200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855824696815360000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788750013000,"timestamp_ms":1788750013000,"timestamp_seconds":1788750013,"priority":1,"record_length":96,"hex_timestamp":"000001a079cf2248"} 
[2026-09-07 08:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920002048001,"66":14428,"37":206,"94":11008,"24":32,"16":30392584450867200,"45":855824696815360000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 08:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920002048001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 08:30:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30392584450867200,"km_value":30392584450867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":855824696815360000,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920002048001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":855824696815360000}} 
[2026-09-07 08:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777593,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:40] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:40] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:45] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:45] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:45] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:30:50] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:50] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:30:50] local.INFO: IMEI packet received {"connection_id":175894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":175894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:30:51] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:51] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:30:51] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:30:51] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:30:51] 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-07 08:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:30:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:51] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:51] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:53] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:53] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:53] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:30:54] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:54] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:30:54] local.INFO: IMEI packet received {"connection_id":173165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":173165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:30:56] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce7a50012d7b654005e78fb8000101592c..."} 
[2026-09-07 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce7a50012d7b654005e78fb8000101592c..."} 
[2026-09-07 08:30:56] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce7a50012d7b654005e78fb8000101592c..."} 
[2026-09-07 08:30:56] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:56] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":99061688,"longitude_deg":76.3061568,"latitude_deg":9.9061688,"altitude":1,"angle":345,"satellites":44,"speed":11,"hex_longitude":"2d7b6540","hex_latitude":"05e78fb8","is_valid_coordinates":true} 
[2026-09-07 08:30: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-07 08:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919989248001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129301613943717888,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489602400256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788749970000,"timestamp_ms":1788749970000,"timestamp_seconds":1788749970,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce7a50"} 
[2026-09-07 08:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:30: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-07 08:30: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:56] 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-07 08:30: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-07 08:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919989248001,"66":13428,"96":206,"87":13824,"24":11,"16":129301613943717888,"45":8892357489602400256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 08:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919989248001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 08:30:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129301613943717888,"km_value":129301613943717.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489602400256,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919989248001,"power":13428,"unknown_96":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8892357489602400256}} 
[2026-09-07 08:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:56] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:56] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:30:58] local.INFO: TCP Data received {"connection_id":173165,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ce9d78012d7b628005e79ed0000101672a..."} 
[2026-09-07 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ce9d78012d7b628005e79ed0000101672a..."} 
[2026-09-07 08:30:58] local.INFO: Processing buffer {"connection_id":173165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ce9d78012d7b628005e79ed0000101672a..."} 
[2026-09-07 08:30:58] local.INFO: Packet analysis {"connection_id":173165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:58] local.INFO: Extracted packet for processing {"connection_id":173165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ce"} 
[2026-09-07 08:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763060864,"raw_latitude":99065552,"longitude_deg":76.3060864,"latitude_deg":9.9065552,"altitude":1,"angle":359,"satellites":42,"speed":19,"hex_longitude":"2d7b6280","hex_latitude":"05e79ed0","is_valid_coordinates":true} 
[2026-09-07 08:30: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-07 08:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919992320001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129301807217246208,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891583433416882176,"note":"Value kept but may cause issues"} 
[2026-09-07 08:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788749979000,"timestamp_ms":1788749979000,"timestamp_seconds":1788749979,"priority":1,"record_length":96,"hex_timestamp":"000001a079ce9d78"} 
[2026-09-07 08:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:30: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-07 08:30: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":116,"data_length":795,"current_offset":136} 
[2026-09-07 08:30:58] 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-07 08:30: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-07 08:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919992320001,"66":13493,"96":206,"87":13824,"24":19,"16":129301807217246208,"45":8891583433416882176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 08:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919992320001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:30:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 08:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129301807217246208,"km_value":129301807217246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891583433416882176,"description":"Unknown IO ID 45"} 
[2026-09-07 08:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919992320001,"power":13493,"unknown_96":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8891583433416882176}} 
[2026-09-07 08:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":173165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:30:58] local.INFO: GPS data processed {"connection_id":173165,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:30:58] local.INFO: Acknowledgment sent {"connection_id":173165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:31:16] local.INFO: TCP Data received {"connection_id":173404,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079cf35d0012d0bfd800703a2a80004006d0e..."} 
[2026-09-07 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cf35d0012d0bfd800703a2a80004006d0e..."} 
[2026-09-07 08:31:16] local.INFO: Processing buffer {"connection_id":173404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cf35d0012d0bfd800703a2a80004006d0e..."} 
[2026-09-07 08:31:16] local.INFO: Packet analysis {"connection_id":173404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cf"} 
[2026-09-07 08:31:16] local.INFO: Extracted packet for processing {"connection_id":173404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cf"} 
[2026-09-07 08:31:16] local.INFO: GPS Element Parsed {"raw_longitude":755760512,"raw_latitude":117678760,"longitude_deg":75.5760512,"latitude_deg":11.767876,"altitude":4,"angle":109,"satellites":14,"speed":28,"hex_longitude":"2d0bfd80","hex_latitude":"0703a2a8","is_valid_coordinates":true} 
[2026-09-07 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-07 08:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920003328001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30392777724395520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860117190209824768,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788750018000,"timestamp_ms":1788750018000,"timestamp_seconds":1788750018,"priority":1,"record_length":96,"hex_timestamp":"000001a079cf35d0"} 
[2026-09-07 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-07 08:31: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-07 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 08:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 08:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173404,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920003328001,"66":14515,"37":206,"94":11008,"24":28,"16":30392777724395520,"45":860117190209824768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 08:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920003328001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:31:16] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 08:31:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30392777724395520,"km_value":30392777724395.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":860117190209824768,"description":"Unknown IO ID 45"} 
[2026-09-07 08:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920003328001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":860117190209824768}} 
[2026-09-07 08:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":173404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777597,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:31:16] local.INFO: GPS data processed {"connection_id":173404,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:31:16] local.INFO: Acknowledgment sent {"connection_id":173404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:31:23] local.INFO: TCP Data received {"connection_id":175894,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:23] local.INFO: Processing buffer {"connection_id":175894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079cb78c8012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:23] local.INFO: Packet analysis {"connection_id":175894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:31:23] local.INFO: Extracted packet for processing {"connection_id":175894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079cb"} 
[2026-09-07 08:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919864832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788749773000,"timestamp_ms":1788749773000,"timestamp_seconds":1788749773,"priority":1,"record_length":96,"hex_timestamp":"000001a079cb78c8"} 
[2026-09-07 08: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-07 08:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 08:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919864832001,"66":25995,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919864832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:31:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919864832001,"power":25995,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":175894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:31:23] local.INFO: GPS data processed {"connection_id":175894,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:31:23] local.INFO: Acknowledgment sent {"connection_id":175894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:31:28] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:28] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:28] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:31:29] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:29] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:29] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:31:33] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:33] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:31:33] local.INFO: IMEI packet received {"connection_id":174548,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":174548,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:31:33] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d02418012d0c4f800703dd78001000170e..."} 
[2026-09-07 08:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d02418012d0c4f800703dd78001000170e..."} 
[2026-09-07 08:31:33] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d02418012d0c4f800703dd78001000170e..."} 
[2026-09-07 08:31:33] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:33] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:33] local.INFO: GPS Element Parsed {"raw_longitude":755781504,"raw_latitude":117693816,"longitude_deg":75.5781504,"latitude_deg":11.7693816,"altitude":16,"angle":23,"satellites":14,"speed":29,"hex_longitude":"2d0c4f80","hex_latitude":"0703dd78","is_valid_coordinates":true} 
[2026-09-07 08:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920018688001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30394233718308864,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886786944255428608,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788750079000,"timestamp_ms":1788750079000,"timestamp_seconds":1788750079,"priority":1,"record_length":96,"hex_timestamp":"000001a079d02418"} 
[2026-09-07 08:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 08:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920018688001,"66":13798,"17":206,"94":11008,"24":29,"16":30394233718308864,"45":886786944255428608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920018688001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:31:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30394233718308864,"km_value":30394233718308.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":886786944255428608,"description":"Unknown IO ID 45"} 
[2026-09-07 08:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920018688001,"power":13798,"axis_x":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":886786944255428608}} 
[2026-09-07 08:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:31:34] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:31:34] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:31:44] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:44] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:44] local.INFO: IMEI packet received {"connection_id":173166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":173166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:31:48] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:48] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:48] local.INFO: IMEI packet received {"connection_id":173166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":173166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:31:50] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:50] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:50] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:31:52] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:52] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:31:52] local.INFO: IMEI packet received {"connection_id":174549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":174549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:31:54] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:54] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:31:54] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:54] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919941888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750074000,"timestamp_ms":1788750074000,"timestamp_seconds":1788750074,"priority":1,"record_length":96,"hex_timestamp":"000001a079d01090"} 
[2026-09-07 08: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-07 08:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 08:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:31:54] 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-07 08:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919941888001,"66":26006,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919941888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:31:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919941888001,"power":26006,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:31:54] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:31:54] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:31:54] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:54] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:31:54] local.INFO: IMEI packet received {"connection_id":173166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":173166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:31:55] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d02418012d7b588005e8a448000101672a..."} 
[2026-09-07 08:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d02418012d7b588005e8a448000101672a..."} 
[2026-09-07 08:31:55] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d02418012d7b588005e8a448000101672a..."} 
[2026-09-07 08:31:55] local.INFO: Packet analysis {"connection_id":173166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:55] local.INFO: Extracted packet for processing {"connection_id":173166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99132488,"longitude_deg":76.3058304,"latitude_deg":9.9132488,"altitude":1,"angle":359,"satellites":42,"speed":40,"hex_longitude":"2d7b5880","hex_latitude":"05e8a448","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920017920001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129305075687358464,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996223631360,"note":"Value kept but may cause issues"} 
[2026-09-07 08:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750079000,"timestamp_ms":1788750079000,"timestamp_seconds":1788750079,"priority":1,"record_length":96,"hex_timestamp":"000001a079d02418"} 
[2026-09-07 08: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-07 08:31: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-07 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-07 08:31:55] 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-07 08: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-07 08: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-07 08:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920017920001,"66":13580,"201":206,"87":13824,"24":40,"16":129305075687358464,"45":8888064996223631360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920017920001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:31:55] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:31:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129305075687358464,"km_value":129305075687358.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996223631360,"description":"Unknown IO ID 45"} 
[2026-09-07 08:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920017920001,"power":13580,"unknown_201":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8888064996223631360}} 
[2026-09-07 08:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":173166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:31:55] local.INFO: GPS data processed {"connection_id":173166,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:31:55] local.INFO: Acknowledgment sent {"connection_id":173166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:02] local.INFO: TCP Data received {"connection_id":174549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:02] local.INFO: Processing buffer {"connection_id":174549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:02] local.INFO: Packet analysis {"connection_id":174549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:02] local.INFO: Extracted packet for processing {"connection_id":174549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919941888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788750074000,"timestamp_ms":1788750074000,"timestamp_seconds":1788750074,"priority":1,"record_length":96,"hex_timestamp":"000001a079d01090"} 
[2026-09-07 08:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:32:02] 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-07 08:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919941888001,"66":26006,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919941888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919941888001,"power":26006,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":174549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:02] local.INFO: GPS data processed {"connection_id":174549,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:02] local.INFO: Acknowledgment sent {"connection_id":174549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:04] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d02be8012d0c52c00703e298001000270e..."} 
[2026-09-07 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d02be8012d0c52c00703e298001000270e..."} 
[2026-09-07 08:32:04] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d02be8012d0c52c00703e298001000270e..."} 
[2026-09-07 08:32:04] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:04] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":755782336,"raw_latitude":117695128,"longitude_deg":75.5782336,"latitude_deg":11.7695128,"altitude":16,"angle":39,"satellites":14,"speed":30,"hex_longitude":"2d0c52c0","hex_latitude":"0703e298","is_valid_coordinates":true} 
[2026-09-07 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920020224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30394311027720192,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887068419233249280,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750081000,"timestamp_ms":1788750081000,"timestamp_seconds":1788750081,"priority":1,"record_length":96,"hex_timestamp":"000001a079d02be8"} 
[2026-09-07 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:04] 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-07 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920020224001,"66":14428,"17":206,"94":11008,"24":30,"16":30394311027720192,"45":887068419233249280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920020224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30394311027720192,"km_value":30394311027720.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":887068419233249280,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920020224001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":887068419233249280}} 
[2026-09-07 08:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:05] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:05] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:34] local.INFO: TCP Data received {"connection_id":173166,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d04358012d7b54c005e8c7c00001016128..."} 
[2026-09-07 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d04358012d7b54c005e8c7c00001016128..."} 
[2026-09-07 08:32:34] local.INFO: Processing buffer {"connection_id":173166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d04358012d7b54c005e8c7c00001016128..."} 
[2026-09-07 08:32:34] local.INFO: Packet analysis {"connection_id":173166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:34] local.INFO: Extracted packet for processing {"connection_id":173166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763057344,"raw_latitude":99141568,"longitude_deg":76.3057344,"latitude_deg":9.9141568,"altitude":1,"angle":353,"satellites":40,"speed":43,"hex_longitude":"2d7b54c0","hex_latitude":"05e8c7c0","is_valid_coordinates":true} 
[2026-09-07 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920020224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129305518068989952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627481946112,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788750087000,"timestamp_ms":1788750087000,"timestamp_seconds":1788750087,"priority":1,"record_length":96,"hex_timestamp":"000001a079d04358"} 
[2026-09-07 08:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3791887949734346752,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3481530369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633389209636192,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2147870741,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026193217386131881,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1621688320,"corrected_to":0} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3892862976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":123,"raw_value":6485189956951080965,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,98,160,45,192,126,1,41,10,66,97,221,64,96,190,128,240,34,227,121,232,4,113,205,13,124,89,40,239,52,2,203,5,35,123,54],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0},{"io_id":203,"original":1621688320,"validated":0}]} 
[2026-09-07 08:32:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72452499103547392,"timestamp_seconds":72452499103547.39,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920020224001,"66":13624,"201":206,"87":13824,"24":43,"16":129305518068989952,"45":8887994627481946112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920020224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129305518068989952,"km_value":129305518068989.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627481946112,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920020224001,"power":13624,"unknown_201":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8887994627481946112}} 
[2026-09-07 08:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":173166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:34] local.INFO: GPS data processed {"connection_id":173166,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:34] local.INFO: Acknowledgment sent {"connection_id":173166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:37] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d04358012d0c60c00703f080001200320e..."} 
[2026-09-07 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d04358012d0c60c00703f080001200320e..."} 
[2026-09-07 08:32:37] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d04358012d0c60c00703f080001200320e..."} 
[2026-09-07 08:32:37] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:37] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":755785920,"raw_latitude":117698688,"longitude_deg":75.578592,"latitude_deg":11.7698688,"altitude":18,"angle":50,"satellites":14,"speed":33,"hex_longitude":"2d0c60c0","hex_latitude":"0703f080","is_valid_coordinates":true} 
[2026-09-07 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920020736001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30394551545888768,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887983212907894784,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 08:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788750087000,"timestamp_ms":1788750087000,"timestamp_seconds":1788750087,"priority":1,"record_length":96,"hex_timestamp":"000001a079d04358"} 
[2026-09-07 08:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920020736001,"66":14374,"16":30394551545888768,"94":11008,"24":33,"45":887983212907894784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 08:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920020736001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30394551545888768,"km_value":30394551545888.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":887983212907894784,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457920020736001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":33,"unknown_45":887983212907894784}} 
[2026-09-07 08:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:37] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:37] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:46] local.INFO: TCP Data received {"connection_id":175896,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:46] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:46] local.INFO: IMEI packet received {"connection_id":175896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":175896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:32:47] local.INFO: TCP Data received {"connection_id":175897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:32:47] local.INFO: Processing buffer {"connection_id":175897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:32:47] local.INFO: IMEI packet received {"connection_id":175897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":175897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:32:48] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:48] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:48] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:32:50] local.INFO: TCP Data received {"connection_id":175896,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:50] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:32:50] local.INFO: IMEI packet received {"connection_id":175896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":175896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:32:51] local.INFO: TCP Data received {"connection_id":175896,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:51] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:32:51] local.INFO: Packet analysis {"connection_id":175896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:51] local.INFO: Extracted packet for processing {"connection_id":175896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919941888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750074000,"timestamp_ms":1788750074000,"timestamp_seconds":1788750074,"priority":1,"record_length":96,"hex_timestamp":"000001a079d01090"} 
[2026-09-07 08: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-07 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919941888001,"66":26006,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919941888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919941888001,"power":26006,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":175896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:51] local.INFO: GPS data processed {"connection_id":175896,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:51] local.INFO: Acknowledgment sent {"connection_id":175896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:32:53] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:53] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:53] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:32:55] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:55] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:32:55] local.INFO: IMEI packet received {"connection_id":173167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":173167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:32:57] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d06298012d7b504005e8eba80001016127..."} 
[2026-09-07 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d06298012d7b504005e8eba80001016127..."} 
[2026-09-07 08:32:57] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d06298012d7b504005e8eba80001016127..."} 
[2026-09-07 08:32:57] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:57] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":99150760,"longitude_deg":76.3056192,"latitude_deg":9.915076,"altitude":1,"angle":353,"satellites":39,"speed":50,"hex_longitude":"2d7b5040","hex_latitude":"05e8eba8","is_valid_coordinates":true} 
[2026-09-07 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920022272001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129305969040556032,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886939096321605632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788750095000,"timestamp_ms":1788750095000,"timestamp_seconds":1788750095,"priority":1,"record_length":96,"hex_timestamp":"000001a079d06298"} 
[2026-09-07 08:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:32:57] 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-07 08:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920022272001,"66":13515,"201":206,"87":13824,"24":50,"16":129305969040556032,"45":8886939096321605632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920022272001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129305969040556032,"km_value":129305969040556.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886939096321605632,"description":"Unknown IO ID 45"} 
[2026-09-07 08:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920022272001,"power":13515,"unknown_201":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8886939096321605632}} 
[2026-09-07 08:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:32:57] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:32:57] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:33:04] local.INFO: TCP Data received {"connection_id":173167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d081d8012d7b4ac005e910d8000101602a..."} 
[2026-09-07 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d081d8012d7b4ac005e910d8000101602a..."} 
[2026-09-07 08:33:04] local.INFO: Processing buffer {"connection_id":173167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d081d8012d7b4ac005e910d8000101602a..."} 
[2026-09-07 08:33:04] local.INFO: Packet analysis {"connection_id":173167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:04] local.INFO: Extracted packet for processing {"connection_id":173167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99160280,"longitude_deg":76.3054784,"latitude_deg":9.916028,"altitude":1,"angle":352,"satellites":42,"speed":46,"hex_longitude":"2d7b4ac0","hex_latitude":"05e910d8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920024320001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129306432897024000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458928760832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750103000,"timestamp_ms":1788750103000,"timestamp_seconds":1788750103,"priority":1,"record_length":96,"hex_timestamp":"000001a079d081d8"} 
[2026-09-07 08: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-07 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 08:33:04] 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-07 08: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-07 08: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-07 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920024320001,"66":13678,"201":206,"87":13824,"24":46,"16":129306432897024000,"45":8885672458928760832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920024320001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:33:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129306432897024000,"km_value":129306432897024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458928760832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920024320001,"power":13678,"unknown_201":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8885672458928760832}} 
[2026-09-07 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":173167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:33:04] local.INFO: GPS data processed {"connection_id":173167,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:33:04] local.INFO: Acknowledgment sent {"connection_id":173167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:33:09] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d07238012d0c7d8007040630001600360e..."} 
[2026-09-07 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d07238012d0c7d8007040630001600360e..."} 
[2026-09-07 08:33:09] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d07238012d0c7d8007040630001600360e..."} 
[2026-09-07 08:33:09] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:09] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":755793280,"raw_latitude":117704240,"longitude_deg":75.579328,"latitude_deg":11.770424,"altitude":22,"angle":54,"satellites":14,"speed":34,"hex_longitude":"2d0c7d80","hex_latitude":"07040630","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920022272001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30394993927520256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891923862582755328,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 08:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788750099000,"timestamp_ms":1788750099000,"timestamp_seconds":1788750099,"priority":1,"record_length":96,"hex_timestamp":"000001a079d07238"} 
[2026-09-07 08: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-07 08:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920022272001,"66":14407,"16":30394993927520256,"94":11008,"24":34,"45":891923862582755328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 08:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920022272001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30394993927520256,"km_value":30394993927520.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:33:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":891923862582755328,"description":"Unknown IO ID 45"} 
[2026-09-07 08:33:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457920022272001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":891923862582755328}} 
[2026-09-07 08:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:33:09] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:33:09] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:33:23] local.INFO: TCP Data received {"connection_id":175896,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:33:23] local.INFO: Processing buffer {"connection_id":175896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d01090012d10fe0006e4bf78000701552c..."} 
[2026-09-07 08:33:23] local.INFO: Packet analysis {"connection_id":175896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:23] local.INFO: Extracted packet for processing {"connection_id":175896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d0"} 
[2026-09-07 08:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457919941888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788750074000,"timestamp_ms":1788750074000,"timestamp_seconds":1788750074,"priority":1,"record_length":96,"hex_timestamp":"000001a079d01090"} 
[2026-09-07 08:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 08:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:33:23] local.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-07 08:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457919941888001,"66":26006,"110":206,"81":20480,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 08:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457919941888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:33:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 08:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457919941888001,"power":26006,"unknown_110":206,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":175896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:33:23] local.INFO: GPS data processed {"connection_id":175896,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:33:23] local.INFO: Acknowledgment sent {"connection_id":175896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:33:45] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:45] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:45] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:33:50] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:50] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:33:50] local.INFO: IMEI packet received {"connection_id":175898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":175898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:33:51] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d1dd80012d10fe0006e4bf78000701552a..."} 
[2026-09-07 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d1dd80012d10fe0006e4bf78000701552a..."} 
[2026-09-07 08:33:51] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d1dd80012d10fe0006e4bf78000701552a..."} 
[2026-09-07 08:33:51] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:33:51] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756088320,"raw_latitude":115654520,"longitude_deg":75.608832,"latitude_deg":11.565452,"altitude":7,"angle":341,"satellites":42,"speed":0,"hex_longitude":"2d10fe00","hex_latitude":"06e4bf78","is_valid_coordinates":true} 
[2026-09-07 08:33: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-07 08:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920018944001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750192000,"timestamp_ms":1788750192000,"timestamp_seconds":1788750192,"priority":1,"record_length":96,"hex_timestamp":"000001a079d1dd80"} 
[2026-09-07 08: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-07 08:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 08:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:33: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-07 08:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920018944001,"66":26039,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920018944001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:33:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920018944001,"power":26039,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:33:51] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:33:51] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:33:57] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d1fcc0012d0c6940070506d80015015c10..."} 
[2026-09-07 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d1fcc0012d0c6940070506d80015015c10..."} 
[2026-09-07 08:33:57] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d1fcc0012d0c6940070506d80015015c10..."} 
[2026-09-07 08:33:57] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:33:57] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":755788096,"raw_latitude":117769944,"longitude_deg":75.5788096,"latitude_deg":11.7769944,"altitude":21,"angle":348,"satellites":16,"speed":25,"hex_longitude":"2d0c6940","hex_latitude":"070506d8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920050432001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30398734844035072,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718600144896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788750200000,"timestamp_ms":1788750200000,"timestamp_seconds":1788750200,"priority":1,"record_length":96,"hex_timestamp":"000001a079d1fcc0"} 
[2026-09-07 08: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-07 08:33: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-07 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 08:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920050432001,"66":14537,"95":206,"94":10240,"24":25,"16":30398734844035072,"45":894949718600144896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 08:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920050432001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:33:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:33:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30398734844035072,"km_value":30398734844035.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718600144896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920050432001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":894949718600144896}} 
[2026-09-07 08:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:33:57] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:33:57] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:04] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:04] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:04] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:34:13] local.INFO: TCP Data received {"connection_id":174548,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d22f88012d0c6440070529600018016310..."} 
[2026-09-07 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d22f88012d0c6440070529600018016310..."} 
[2026-09-07 08:34:13] local.INFO: Processing buffer {"connection_id":174548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d22f88012d0c6440070529600018016310..."} 
[2026-09-07 08:34:13] local.INFO: Packet analysis {"connection_id":174548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:13] local.INFO: Extracted packet for processing {"connection_id":174548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":117778784,"longitude_deg":75.5786816,"latitude_deg":11.7778784,"altitude":24,"angle":355,"satellites":16,"speed":30,"hex_longitude":"2d0c6440","hex_latitude":"07052960","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920051200001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30399168635731968,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894316399903037440,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788750213000,"timestamp_ms":1788750213000,"timestamp_seconds":1788750213,"priority":1,"record_length":96,"hex_timestamp":"000001a079d22f88"} 
[2026-09-07 08: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-07 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174548,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920051200001,"66":14548,"95":206,"94":10240,"24":30,"16":30399168635731968,"45":894316399903037440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 08:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920051200001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:13] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:34:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30399168635731968,"km_value":30399168635731.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":894316399903037440,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920051200001,"power":14548,"unknown_95":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":894316399903037440}} 
[2026-09-07 08:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":174548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:13] local.INFO: GPS data processed {"connection_id":174548,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:13] local.INFO: Acknowledgment sent {"connection_id":174548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:13] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:13] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:13] local.INFO: IMEI packet received {"connection_id":173168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":173168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:34:14] local.INFO: TCP Data received {"connection_id":173168,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d23758012d7bbb4005e94e100000004229..."} 
[2026-09-07 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d23758012d7bbb4005e94e100000004229..."} 
[2026-09-07 08:34:14] local.INFO: Processing buffer {"connection_id":173168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d23758012d7bbb4005e94e100000004229..."} 
[2026-09-07 08:34:14] local.INFO: Packet analysis {"connection_id":173168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:14] local.INFO: Extracted packet for processing {"connection_id":173168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":99175952,"longitude_deg":76.3083584,"latitude_deg":9.9175952,"altitude":0,"angle":66,"satellites":41,"speed":20,"hex_longitude":"2d7bbb40","hex_latitude":"05e94e10","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920050688001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129308284027928576,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906220132234260480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788750215000,"timestamp_ms":1788750215000,"timestamp_seconds":1788750215,"priority":1,"record_length":96,"hex_timestamp":"000001a079d23758"} 
[2026-09-07 08: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-07 08:34: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-07 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631203,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912257536,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3790933573641437184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1680408576,"corrected_to":0} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3511226369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636704924401332,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2125725902,"corrected_to":0} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221612850,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718279027904087,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5314254059386437635,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:14] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,201,87,24,241,157,16,100,160,209,45,192,61,5,42,10,66,131,60,6,104,64,1,240,203,227,121,233,4,113,205,17,98,88,40,239,53,180,2,3,9,123,48],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":203,"original":1680408576,"validated":0},{"io_id":205,"original":2125725902,"validated":0}]} 
[2026-09-07 08:34:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144191234768044032,"timestamp_seconds":144191234768044.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920050688001,"66":13656,"201":206,"87":13824,"24":20,"16":129308284027928576,"45":8906220132234260480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920050688001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:14] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:34:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129308284027928576,"km_value":129308284027928.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906220132234260480,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920050688001,"power":13656,"unknown_201":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8906220132234260480}} 
[2026-09-07 08:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":173168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:14] local.INFO: GPS data processed {"connection_id":173168,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:14] local.INFO: Acknowledgment sent {"connection_id":173168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:22] local.INFO: TCP Data received {"connection_id":175898,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d1f4f0012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d1f4f0012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:22] local.INFO: Processing buffer {"connection_id":175898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d1f4f0012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:22] local.INFO: Packet analysis {"connection_id":175898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:34:22] local.INFO: Extracted packet for processing {"connection_id":175898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d1"} 
[2026-09-07 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756086144,"raw_latitude":115659064,"longitude_deg":75.6086144,"latitude_deg":11.5659064,"altitude":7,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d10f580","hex_latitude":"06e4d138","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920049152001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224416178298910720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788750198000,"timestamp_ms":1788750198000,"timestamp_seconds":1788750198,"priority":1,"record_length":96,"hex_timestamp":"000001a079d1f4f0"} 
[2026-09-07 08: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-07 08:34: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-07 08: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34:22] 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-07 08:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920049152001,"66":27745,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1224416178298910720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920049152001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224416178298910720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920049152001,"power":27745,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1224416178298910720}} 
[2026-09-07 08:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":175898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:22] local.INFO: GPS data processed {"connection_id":175898,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:22] local.INFO: Acknowledgment sent {"connection_id":175898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:28] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:28] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:28] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:34:45] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:45] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:45] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:34:48] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:48] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:48] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:34:49] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:49] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:34:49] local.INFO: IMEI packet received {"connection_id":173405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:34:50] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:34:50] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:34:50] local.INFO: IMEI packet received {"connection_id":174551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":174551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:34:51] local.INFO: TCP Data received {"connection_id":173405,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d24310012d0c610007053a400019015510..."} 
[2026-09-07 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d24310012d0c610007053a400019015510..."} 
[2026-09-07 08:34:51] local.INFO: Processing buffer {"connection_id":173405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d24310012d0c610007053a400019015510..."} 
[2026-09-07 08:34:51] local.INFO: Packet analysis {"connection_id":173405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:51] local.INFO: Extracted packet for processing {"connection_id":173405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":755785984,"raw_latitude":117783104,"longitude_deg":75.5785984,"latitude_deg":11.7783104,"altitude":25,"angle":341,"satellites":16,"speed":37,"hex_longitude":"2d0c6100","hex_latitude":"07053a40","is_valid_coordinates":true} 
[2026-09-07 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920054528001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30399383384096768,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909025021747200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750218000,"timestamp_ms":1788750218000,"timestamp_seconds":1788750218,"priority":1,"record_length":96,"hex_timestamp":"000001a079d24310"} 
[2026-09-07 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:34: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-07 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920054528001,"66":14537,"95":206,"94":10240,"24":37,"16":30399383384096768,"45":892909025021747200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920054528001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30399383384096768,"km_value":30399383384096.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909025021747200,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920054528001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":892909025021747200}} 
[2026-09-07 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":173405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:51] local.INFO: GPS data processed {"connection_id":173405,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:51] local.INFO: Acknowledgment sent {"connection_id":173405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:51] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d246f8012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d246f8012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:51] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d246f8012d10f58006e4d138000701492b..."} 
[2026-09-07 08:34:51] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:51] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756086144,"raw_latitude":115659064,"longitude_deg":75.6086144,"latitude_deg":11.5659064,"altitude":7,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d10f580","hex_latitude":"06e4d138","is_valid_coordinates":true} 
[2026-09-07 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920050688001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222023640998033408,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750219000,"timestamp_ms":1788750219000,"timestamp_seconds":1788750219,"priority":1,"record_length":96,"hex_timestamp":"000001a079d246f8"} 
[2026-09-07 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:51] 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-07 08:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34: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-07 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920050688001,"66":27691,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1222023640998033408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920050688001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222023640998033408,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920050688001,"power":27691,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1222023640998033408}} 
[2026-09-07 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:51] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:51] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:54] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:54] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:34:54] local.INFO: IMEI packet received {"connection_id":173169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:34:54] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d24310012d7bc08005e95140000000342a..."} 
[2026-09-07 08:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d24310012d7bc08005e95140000000342a..."} 
[2026-09-07 08:34:54] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d24310012d7bc08005e95140000000342a..."} 
[2026-09-07 08:34:54] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:54] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763084928,"raw_latitude":99176768,"longitude_deg":76.3084928,"latitude_deg":9.9176768,"altitude":0,"angle":52,"satellites":42,"speed":21,"hex_longitude":"2d7bc080","hex_latitude":"05e95140","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920055040001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129308361337339904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281443250176,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750218000,"timestamp_ms":1788750218000,"timestamp_seconds":1788750218,"priority":1,"record_length":96,"hex_timestamp":"000001a079d24310"} 
[2026-09-07 08: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-07 08:34: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-07 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920055040001,"66":13243,"201":206,"87":13824,"24":21,"16":129308361337339904,"45":8915790281443250176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 08:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920055040001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:54] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 08:34:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129308361337339904,"km_value":129308361337339.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281443250176,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920055040001,"power":13243,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8915790281443250176}} 
[2026-09-07 08:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:54] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:54] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:34:56] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d29900012d10f58006e4d138000701492c..."} 
[2026-09-07 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d29900012d10f58006e4d138000701492c..."} 
[2026-09-07 08:34:56] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d29900012d10f58006e4d138000701492c..."} 
[2026-09-07 08:34:56] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:56] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756086144,"raw_latitude":115659064,"longitude_deg":75.6086144,"latitude_deg":11.5659064,"altitude":7,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d10f580","hex_latitude":"06e4d138","is_valid_coordinates":true} 
[2026-09-07 08:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920056064001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948726228582400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222023640998033408,"note":"Value kept but may cause issues"} 
[2026-09-07 08:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788750240000,"timestamp_ms":1788750240000,"timestamp_seconds":1788750240,"priority":1,"record_length":96,"hex_timestamp":"000001a079d29900"} 
[2026-09-07 08:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 08:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:34:56] 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-07 08:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920056064001,"66":27876,"245":206,"80":6400,"24":0,"16":400948726228582400,"45":1222023640998033408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920056064001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:34:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948726228582400,"km_value":400948726228582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222023640998033408,"description":"Unknown IO ID 45"} 
[2026-09-07 08:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920056064001,"power":27876,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1222023640998033408}} 
[2026-09-07 08:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:34:56] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:34:56] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:35:25] local.INFO: TCP Data received {"connection_id":173169,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d39ad0012d7c80c005e997d80003004e27..."} 
[2026-09-07 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d39ad0012d7c80c005e997d80003004e27..."} 
[2026-09-07 08:35:25] local.INFO: Processing buffer {"connection_id":173169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d39ad0012d7c80c005e997d80003004e27..."} 
[2026-09-07 08:35:25] local.INFO: Packet analysis {"connection_id":173169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:35:25] local.INFO: Extracted packet for processing {"connection_id":173169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":99194840,"longitude_deg":76.3134144,"latitude_deg":9.919484,"altitude":3,"angle":78,"satellites":39,"speed":19,"hex_longitude":"2d7c80c0","hex_latitude":"05e997d8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920077568001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129310891073077248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044583208984576,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788750306000,"timestamp_ms":1788750306000,"timestamp_seconds":1788750306,"priority":1,"record_length":96,"hex_timestamp":"000001a079d39ad0"} 
[2026-09-07 08: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-07 08:35: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-07 08: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 08:35:25] 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-07 08: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-07 08: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-07 08:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920077568001,"66":13450,"9":206,"87":13824,"24":19,"16":129310891073077248,"45":8970044583208984576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-07 08:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920077568001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:35:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-07 08:35:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129310891073077248,"km_value":129310891073077.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044583208984576,"description":"Unknown IO ID 45"} 
[2026-09-07 08:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920077568001,"power":13450,"unknown_9":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8970044583208984576}} 
[2026-09-07 08:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":173169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:35:25] local.INFO: GPS data processed {"connection_id":173169,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:35:25] local.INFO: Acknowledgment sent {"connection_id":173169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:35:28] local.INFO: TCP Data received {"connection_id":174551,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d2ac88012d10f40006e4d3e8000b01552b..."} 
[2026-09-07 08:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d2ac88012d10f40006e4d3e8000b01552b..."} 
[2026-09-07 08:35:28] local.INFO: Processing buffer {"connection_id":174551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d2ac88012d10f40006e4d3e8000b01552b..."} 
[2026-09-07 08:35:28] local.INFO: Packet analysis {"connection_id":174551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:28] local.INFO: Extracted packet for processing {"connection_id":174551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756085760,"raw_latitude":115659752,"longitude_deg":75.608576,"latitude_deg":11.5659752,"altitude":11,"angle":341,"satellites":43,"speed":7,"hex_longitude":"2d10f400","hex_latitude":"06e4d3e8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920061440001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948764883288064,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222023640998033408,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788750245000,"timestamp_ms":1788750245000,"timestamp_seconds":1788750245,"priority":1,"record_length":96,"hex_timestamp":"000001a079d2ac88"} 
[2026-09-07 08: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-07 08:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 08:35:28] 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-07 08: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-07 08: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-07 08:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:28] 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-07 08:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920061440001,"66":27876,"245":206,"80":6400,"24":7,"16":400948764883288064,"45":1222023640998033408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920061440001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:35:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948764883288064,"km_value":400948764883288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222023640998033408,"description":"Unknown IO ID 45"} 
[2026-09-07 08:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920061440001,"power":27876,"geofence_id":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1222023640998033408}} 
[2026-09-07 08:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":174551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:35:28] local.INFO: GPS data processed {"connection_id":174551,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:35:28] local.INFO: Acknowledgment sent {"connection_id":174551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:35:33] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:35:33] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:33] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:34] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:34] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:34] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:35] local.INFO: TCP Data received {"connection_id":173171,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173171,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:35] local.INFO: Processing buffer {"connection_id":173171,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:35:35] local.INFO: IMEI packet received {"connection_id":173171,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":173171,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:49] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:49] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:49] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:35:50] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:50] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:50] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:53] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:53] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:53] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:35:55] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:55] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:35:55] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:56] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d2c3f8012d10f0c006e4db40000b01492a..."} 
[2026-09-07 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d2c3f8012d10f0c006e4db40000b01492a..."} 
[2026-09-07 08:35:56] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d2c3f8012d10f0c006e4db40000b01492a..."} 
[2026-09-07 08:35:56] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:56] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":756084928,"raw_latitude":115661632,"longitude_deg":75.6084928,"latitude_deg":11.5661632,"altitude":11,"angle":329,"satellites":42,"speed":17,"hex_longitude":"2d10f0c0","hex_latitude":"06e4db40","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920062720001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400948863667535872,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221601428533143552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788750251000,"timestamp_ms":1788750251000,"timestamp_seconds":1788750251,"priority":1,"record_length":96,"hex_timestamp":"000001a079d2c3f8"} 
[2026-09-07 08: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-07 08:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 08:35:56] 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-07 08: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-07 08: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-07 08:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:56] 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-07 08:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920062720001,"66":27800,"245":206,"80":6400,"24":17,"16":400948863667535872,"45":1221601428533143552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920062720001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:35:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400948863667535872,"km_value":400948863667535.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221601428533143552,"description":"Unknown IO ID 45"} 
[2026-09-07 08:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920062720001,"power":27800,"geofence_id":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1221601428533143552}} 
[2026-09-07 08:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:35:56] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:35:56] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:35:57] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d2fe90012d10de8006e4faf0000d014a2a..."} 
[2026-09-07 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d2fe90012d10de8006e4faf0000d014a2a..."} 
[2026-09-07 08:35:57] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d2fe90012d10de8006e4faf0000d014a2a..."} 
[2026-09-07 08:35:57] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:57] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d2"} 
[2026-09-07 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756080256,"raw_latitude":115669744,"longitude_deg":75.6080256,"latitude_deg":11.5669744,"altitude":13,"angle":330,"satellites":42,"speed":30,"hex_longitude":"2d10de80","hex_latitude":"06e4faf0","is_valid_coordinates":true} 
[2026-09-07 08:35: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-07 08:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920064256001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400949318934069248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220686634859315200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788750266000,"timestamp_ms":1788750266000,"timestamp_seconds":1788750266,"priority":1,"record_length":96,"hex_timestamp":"000001a079d2fe90"} 
[2026-09-07 08:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:35: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 08:35:57] 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-07 08:35: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-07 08:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:35:57] 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-07 08:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920064256001,"66":27767,"245":206,"80":6400,"24":30,"16":400949318934069248,"45":1220686634859315200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920064256001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:35:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400949318934069248,"km_value":400949318934069.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220686634859315200,"description":"Unknown IO ID 45"} 
[2026-09-07 08:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920064256001,"power":27767,"geofence_id":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1220686634859315200}} 
[2026-09-07 08:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:35:57] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:35:57] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:35:58] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:58] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:35:58] local.INFO: IMEI packet received {"connection_id":174552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":174552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:35:59] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d3d568012d7c8f0005e99b800003000826..."} 
[2026-09-07 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d3d568012d7c8f0005e99b800003000826..."} 
[2026-09-07 08:35:59] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d3d568012d7c8f0005e99b800003000826..."} 
[2026-09-07 08:35:59] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:35:59] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99195776,"longitude_deg":76.3137792,"latitude_deg":9.9195776,"altitude":3,"angle":8,"satellites":38,"speed":9,"hex_longitude":"2d7c8f00","hex_latitude":"05e99b80","is_valid_coordinates":true} 
[2026-09-07 08:35: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-07 08:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920078336001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129311075756670976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381589348440064,"note":"Value kept but may cause issues"} 
[2026-09-07 08:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788750321000,"timestamp_ms":1788750321000,"timestamp_seconds":1788750321,"priority":1,"record_length":96,"hex_timestamp":"000001a079d3d568"} 
[2026-09-07 08:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:35: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-07 08:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:35:59] 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-07 08:35: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-07 08:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920078336001,"66":13678,"9":206,"87":13824,"24":9,"16":129311075756670976,"45":8971381589348440064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-07 08:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920078336001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:35:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-07 08:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129311075756670976,"km_value":129311075756670.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381589348440064,"description":"Unknown IO ID 45"} 
[2026-09-07 08:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920078336001,"power":13678,"unknown_9":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8971381589348440064}} 
[2026-09-07 08:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:35:59] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:35:59] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:01] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d3d950012d7c8f8005e99c180003015f27..."} 
[2026-09-07 08:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d3d950012d7c8f8005e99c180003015f27..."} 
[2026-09-07 08:36:01] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d3d950012d7c8f8005e99c180003015f27..."} 
[2026-09-07 08:36:01] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:36:01] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763137920,"raw_latitude":99195928,"longitude_deg":76.313792,"latitude_deg":9.9195928,"altitude":3,"angle":351,"satellites":39,"speed":10,"hex_longitude":"2d7c8f80","hex_latitude":"05e99c18","is_valid_coordinates":true} 
[2026-09-07 08:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920082176001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129311084346605568,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766806528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788750322000,"timestamp_ms":1788750322000,"timestamp_seconds":1788750322,"priority":1,"record_length":96,"hex_timestamp":"000001a079d3d950"} 
[2026-09-07 08:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:36: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-07 08:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:01] 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-07 08:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920082176001,"66":13678,"9":206,"87":13824,"24":10,"16":129311084346605568,"45":8975392607766806528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-09-07 08:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920082176001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-09-07 08:36:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129311084346605568,"km_value":129311084346605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766806528,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920082176001,"power":13678,"unknown_9":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8975392607766806528}} 
[2026-09-07 08:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:01] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:01] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:29] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d321b8012d10d28006e51708000d01552a..."} 
[2026-09-07 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d321b8012d10d28006e51708000d01552a..."} 
[2026-09-07 08:36:29] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d321b8012d10d28006e51708000d01552a..."} 
[2026-09-07 08:36:29] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:36:29] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d3"} 
[2026-09-07 08:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756077184,"raw_latitude":115676936,"longitude_deg":75.6077184,"latitude_deg":11.5676936,"altitude":13,"angle":341,"satellites":42,"speed":37,"hex_longitude":"2d10d280","hex_latitude":"06e51708","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920068096001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400949696891191296,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1215549716536422400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788750275000,"timestamp_ms":1788750275000,"timestamp_seconds":1788750275,"priority":1,"record_length":96,"hex_timestamp":"000001a079d321b8"} 
[2026-09-07 08: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-07 08:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:29] 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-07 08:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920068096001,"66":27767,"245":206,"80":6400,"24":37,"16":400949696891191296,"45":1215549716536422400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-09-07 08:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920068096001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400949696891191296,"km_value":400949696891191.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1215549716536422400,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920068096001,"power":27767,"geofence_id":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":1215549716536422400}} 
[2026-09-07 08:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:29] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:29] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:32] local.INFO: TCP Data received {"connection_id":174552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4d350012d7cce8005e9b6880004007129..."} 
[2026-09-07 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4d350012d7cce8005e9b6880004007129..."} 
[2026-09-07 08:36:32] local.INFO: Processing buffer {"connection_id":174552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4d350012d7cce8005e9b6880004007129..."} 
[2026-09-07 08:36:32] local.INFO: Packet analysis {"connection_id":174552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:32] local.INFO: Extracted packet for processing {"connection_id":174552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763154048,"raw_latitude":99202696,"longitude_deg":76.3154048,"latitude_deg":9.9202696,"altitude":4,"angle":113,"satellites":41,"speed":11,"hex_longitude":"2d7cce80","hex_latitude":"05e9b688","is_valid_coordinates":true} 
[2026-09-07 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920098560001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129312312707252224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984793813030912,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788750386000,"timestamp_ms":1788750386000,"timestamp_seconds":1788750386,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4d350"} 
[2026-09-07 08:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:32] 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-07 08:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":174552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":174552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920098560001,"66":13656,"192":206,"87":13824,"24":11,"16":129312312707252224,"45":8992984793813030912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920098560001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:36:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129312312707252224,"km_value":129312312707252.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984793813030912,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920098560001,"power":13656,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992984793813030912}} 
[2026-09-07 08:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":174552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:32] local.INFO: GPS data processed {"connection_id":174552,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:32] local.INFO: Acknowledgment sent {"connection_id":174552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:48] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:48] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:48] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:36:49] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:49] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:49] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:36:50] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:50] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:50] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:36:53] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:53] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:36:53] local.INFO: IMEI packet received {"connection_id":174554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":174554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:36:53] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:53] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:36:53] local.INFO: IMEI packet received {"connection_id":174553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":174553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:36:54] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d442c8012d103b8006e65f28000501312b..."} 
[2026-09-07 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d442c8012d103b8006e65f28000501312b..."} 
[2026-09-07 08:36:54] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d442c8012d103b8006e65f28000501312b..."} 
[2026-09-07 08:36:54] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:54] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756038528,"raw_latitude":115760936,"longitude_deg":75.6038528,"latitude_deg":11.5760936,"altitude":5,"angle":305,"satellites":43,"speed":50,"hex_longitude":"2d103b80","hex_latitude":"06e65f28","is_valid_coordinates":true} 
[2026-09-07 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920087552001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400954365520642048,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1177972807167518720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750349000,"timestamp_ms":1788750349000,"timestamp_seconds":1788750349,"priority":1,"record_length":96,"hex_timestamp":"000001a079d442c8"} 
[2026-09-07 08:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:54] 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-07 08:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920087552001,"66":27865,"73":206,"80":6400,"24":50,"16":400954365520642048,"45":1177972807167518720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920087552001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400954365520642048,"km_value":400954365520642.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1177972807167518720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920087552001,"power":27865,"unknown_73":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":1177972807167518720}} 
[2026-09-07 08:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:54] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:54] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:54] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4d738012d7ccfc005e9b6680004005927..."} 
[2026-09-07 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4d738012d7ccfc005e9b6680004005927..."} 
[2026-09-07 08:36:54] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4d738012d7ccfc005e9b6680004005927..."} 
[2026-09-07 08:36:54] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:54] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763154368,"raw_latitude":99202664,"longitude_deg":76.3154368,"latitude_deg":9.9202664,"altitude":4,"angle":89,"satellites":39,"speed":13,"hex_longitude":"2d7ccfc0","hex_latitude":"05e9b668","is_valid_coordinates":true} 
[2026-09-07 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920098816001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129312329887121408,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993266268789704704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750387000,"timestamp_ms":1788750387000,"timestamp_seconds":1788750387,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4d738"} 
[2026-09-07 08:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:36: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-07 08:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920098816001,"66":13537,"192":206,"87":13824,"24":13,"16":129312329887121408,"45":8993266268789704704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920098816001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129312329887121408,"km_value":129312329887121.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993266268789704704,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920098816001,"power":13537,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8993266268789704704}} 
[2026-09-07 08:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:54] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:54] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:55] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4db20012d7cd14005e9b6a80004004c28..."} 
[2026-09-07 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4db20012d7cd14005e9b6a80004004c28..."} 
[2026-09-07 08:36:55] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4db20012d7cd14005e9b6a80004004c28..."} 
[2026-09-07 08:36:55] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:55] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":99202728,"longitude_deg":76.3154752,"latitude_deg":9.9202728,"altitude":4,"angle":76,"satellites":40,"speed":15,"hex_longitude":"2d7cd140","hex_latitude":"05e9b6a8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920099072001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129312347066990592,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112510584832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750388000,"timestamp_ms":1788750388000,"timestamp_seconds":1788750388,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4db20"} 
[2026-09-07 08: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-07 08:36: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-07 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920099072001,"66":13537,"192":206,"87":13824,"24":15,"16":129312347066990592,"45":8993618112510584832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920099072001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129312347066990592,"km_value":129312347066990.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112510584832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920099072001,"power":13537,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8993618112510584832}} 
[2026-09-07 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:55] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:55] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:55] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d46208012d101c4006e67628000401322b..."} 
[2026-09-07 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d46208012d101c4006e67628000401322b..."} 
[2026-09-07 08:36:55] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d46208012d101c4006e67628000401322b..."} 
[2026-09-07 08:36:55] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:55] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756030528,"raw_latitude":115766824,"longitude_deg":75.6030528,"latitude_deg":11.5766824,"altitude":4,"angle":306,"satellites":43,"speed":47,"hex_longitude":"2d101c40","hex_latitude":"06e67628","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920089344001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400954842262011904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1169669295355930624,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750357000,"timestamp_ms":1788750357000,"timestamp_seconds":1788750357,"priority":1,"record_length":96,"hex_timestamp":"000001a079d46208"} 
[2026-09-07 08: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-07 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 08: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-07 08: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-07 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:36:55] 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-07 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920089344001,"66":27865,"73":206,"80":6400,"24":47,"16":400954842262011904,"45":1169669295355930624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920089344001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400954842262011904,"km_value":400954842262011.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1169669295355930624,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920089344001,"power":27865,"unknown_73":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":1169669295355930624}} 
[2026-09-07 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:55] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:55] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:36:55] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d50a00012d7cf0c005e9bd100005005b29..."} 
[2026-09-07 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d50a00012d7cf0c005e9bd100005005b29..."} 
[2026-09-07 08:36:55] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d50a00012d7cf0c005e9bd100005005b29..."} 
[2026-09-07 08:36:55] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:36:55] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763162816,"raw_latitude":99204368,"longitude_deg":76.3162816,"latitude_deg":9.9204368,"altitude":5,"angle":91,"satellites":41,"speed":28,"hex_longitude":"2d7cf0c0","hex_latitude":"05e9bd10","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920099328001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129312742203981824,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994040324975667200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750400000,"timestamp_ms":1788750400000,"timestamp_seconds":1788750400,"priority":1,"record_length":96,"hex_timestamp":"000001a079d50a00"} 
[2026-09-07 08: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-07 08:36: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-07 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 08:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920099328001,"66":13493,"192":206,"87":13824,"24":28,"16":129312742203981824,"45":8994040324975667200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920099328001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129312742203981824,"km_value":129312742203981.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994040324975667200,"description":"Unknown IO ID 45"} 
[2026-09-07 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920099328001,"power":13493,"unknown_192":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8994040324975667200}} 
[2026-09-07 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:36:55] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:36:55] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:37:27] local.INFO: TCP Data received {"connection_id":174554,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d48148012d0fff4006e68a880004012f2b..."} 
[2026-09-07 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d48148012d0fff4006e68a880004012f2b..."} 
[2026-09-07 08:37:27] local.INFO: Processing buffer {"connection_id":174554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d48148012d0fff4006e68a880004012f2b..."} 
[2026-09-07 08:37:27] local.INFO: Packet analysis {"connection_id":174554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:27] local.INFO: Extracted packet for processing {"connection_id":174554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756023104,"raw_latitude":115772040,"longitude_deg":75.6023104,"latitude_deg":11.577204,"altitude":4,"angle":303,"satellites":43,"speed":42,"hex_longitude":"2d0fff40","hex_latitude":"06e68a88","is_valid_coordinates":true} 
[2026-09-07 08:37: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-07 08:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920091392001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400955276053708800,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1160873202335229952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788750365000,"timestamp_ms":1788750365000,"timestamp_seconds":1788750365,"priority":1,"record_length":96,"hex_timestamp":"000001a079d48148"} 
[2026-09-07 08:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 08:37: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-07 08:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37:27] 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-07 08:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920091392001,"66":27767,"73":206,"80":6400,"24":42,"16":400955276053708800,"45":1160873202335229952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-07 08:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920091392001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:37:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-07 08:37:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400955276053708800,"km_value":400955276053708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1160873202335229952,"description":"Unknown IO ID 45"} 
[2026-09-07 08:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920091392001,"power":27767,"unknown_73":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1160873202335229952}} 
[2026-09-07 08:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":174554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:37:27] local.INFO: GPS data processed {"connection_id":174554,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:37:27] local.INFO: Acknowledgment sent {"connection_id":174554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:37:28] local.INFO: TCP Data received {"connection_id":174553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d52558012d7d090005e9bf200004004d27..."} 
[2026-09-07 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d52558012d7d090005e9bf200004004d27..."} 
[2026-09-07 08:37:28] local.INFO: Processing buffer {"connection_id":174553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d52558012d7d090005e9bf200004004d27..."} 
[2026-09-07 08:37:28] local.INFO: Packet analysis {"connection_id":174553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:37:28] local.INFO: Extracted packet for processing {"connection_id":174553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":99204896,"longitude_deg":76.3169024,"latitude_deg":9.9204896,"altitude":4,"angle":77,"satellites":39,"speed":32,"hex_longitude":"2d7d0900","hex_latitude":"05e9bf20","is_valid_coordinates":true} 
[2026-09-07 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920102400001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129313038556725248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002906786742472704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788750407000,"timestamp_ms":1788750407000,"timestamp_seconds":1788750407,"priority":1,"record_length":96,"hex_timestamp":"000001a079d52558"} 
[2026-09-07 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:37: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-07 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 08:37:28] 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-07 08:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920102400001,"66":13450,"192":206,"87":13824,"24":32,"16":129313038556725248,"45":9002906786742472704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920102400001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:37:28] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:37:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129313038556725248,"km_value":129313038556725.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002906786742472704,"description":"Unknown IO ID 45"} 
[2026-09-07 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920102400001,"power":13450,"unknown_192":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9002906786742472704}} 
[2026-09-07 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":174553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:37:28] local.INFO: GPS data processed {"connection_id":174553,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:37:28] local.INFO: Acknowledgment sent {"connection_id":174553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:37:46] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:46] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:46] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:37:47] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:47] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:47] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:37:50] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:50] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:37:50] local.INFO: IMEI packet received {"connection_id":175901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":175901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:37:51] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4a470012d0fdfc006e69c00000401272c..."} 
[2026-09-07 08:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4a470012d0fdfc006e69c00000401272c..."} 
[2026-09-07 08:37:51] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4a470012d0fdfc006e69c00000401272c..."} 
[2026-09-07 08:37:51] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:51] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756015040,"raw_latitude":115776512,"longitude_deg":75.601504,"latitude_deg":11.5776512,"altitude":4,"angle":295,"satellites":44,"speed":39,"hex_longitude":"2d0fdfc0","hex_latitude":"06e69c00","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920093440001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400955718435340288,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1152710428011956224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750374000,"timestamp_ms":1788750374000,"timestamp_seconds":1788750374,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4a470"} 
[2026-09-07 08: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-07 08:37: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-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37: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-07 08:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920093440001,"66":27745,"73":206,"80":6400,"24":39,"16":400955718435340288,"45":1152710428011956224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-09-07 08:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920093440001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:37:51] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-07 08:37:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400955718435340288,"km_value":400955718435340.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1152710428011956224,"description":"Unknown IO ID 45"} 
[2026-09-07 08:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920093440001,"power":27745,"unknown_73":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":1152710428011956224}} 
[2026-09-07 08:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:37:51] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:37:51] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:37:52] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4c798012d0fbcc006e6aad8000401252c..."} 
[2026-09-07 08:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4c798012d0fbcc006e6aad8000401252c..."} 
[2026-09-07 08:37:52] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4c798012d0fbcc006e6aad8000401252c..."} 
[2026-09-07 08:37:52] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:52] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756006080,"raw_latitude":115780312,"longitude_deg":75.600608,"latitude_deg":11.5780312,"altitude":4,"angle":293,"satellites":44,"speed":45,"hex_longitude":"2d0fbcc0","hex_latitude":"06e6aad8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920095744001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400956177996840960,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143843966246715392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788750383000,"timestamp_ms":1788750383000,"timestamp_seconds":1788750383,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4c798"} 
[2026-09-07 08: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-07 08:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:37:52] 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-07 08:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920095744001,"66":27908,"166":206,"80":6400,"24":45,"16":400956177996840960,"45":1143843966246715392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-09-07 08:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920095744001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:37:52] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-07 08:37:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400956177996840960,"km_value":400956177996840.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143843966246715392,"description":"Unknown IO ID 45"} 
[2026-09-07 08:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920095744001,"power":27908,"unknown_166":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":1143843966246715392}} 
[2026-09-07 08:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:37:52] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:37:52] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:37:53] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:53] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:53] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:37:54] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:54] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:54] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:37:58] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:58] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:37:58] local.INFO: IMEI packet received {"connection_id":175902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":175902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:37:59] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d53cc8012d7d124005e9c2080003003629..."} 
[2026-09-07 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d53cc8012d7d124005e9c2080003003629..."} 
[2026-09-07 08:37:59] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d53cc8012d7d124005e9c2080003003629..."} 
[2026-09-07 08:37:59] local.INFO: Packet analysis {"connection_id":175902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:37:59] local.INFO: Extracted packet for processing {"connection_id":175902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763171392,"raw_latitude":99205640,"longitude_deg":76.3171392,"latitude_deg":9.920564,"altitude":3,"angle":54,"satellites":41,"speed":9,"hex_longitude":"2d7d1240","hex_latitude":"05e9c208","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920104192001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129313158815809536,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554927841280,"note":"Value kept but may cause issues"} 
[2026-09-07 08:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788750413000,"timestamp_ms":1788750413000,"timestamp_seconds":1788750413,"priority":1,"record_length":96,"hex_timestamp":"000001a079d53cc8"} 
[2026-09-07 08: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-07 08:37: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-07 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:37:59] 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-07 08: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-07 08: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-07 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920104192001,"66":13624,"192":206,"87":13824,"24":9,"16":129313158815809536,"45":9009732554927841280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920104192001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:37:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:37:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129313158815809536,"km_value":129313158815809.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554927841280,"description":"Unknown IO ID 45"} 
[2026-09-07 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920104192001,"power":13624,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9009732554927841280}} 
[2026-09-07 08:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":175902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:37:59] local.INFO: GPS data processed {"connection_id":175902,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:37:59] local.INFO: Acknowledgment sent {"connection_id":175902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:38:17] local.INFO: TCP Data received {"connection_id":173173,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:17] local.INFO: Processing buffer {"connection_id":173173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:17] local.INFO: IMEI packet received {"connection_id":173173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":173173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:38:23] local.INFO: TCP Data received {"connection_id":175901,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d4e6d8012d0f9c4006e6b890000401252c..."} 
[2026-09-07 08:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d4e6d8012d0f9c4006e6b890000401252c..."} 
[2026-09-07 08:38:23] local.INFO: Processing buffer {"connection_id":175901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d4e6d8012d0f9c4006e6b890000401252c..."} 
[2026-09-07 08:38:23] local.INFO: Packet analysis {"connection_id":175901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:38:23] local.INFO: Extracted packet for processing {"connection_id":175901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d4"} 
[2026-09-07 08:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755997760,"raw_latitude":115783824,"longitude_deg":75.599776,"latitude_deg":11.5783824,"altitude":4,"angle":293,"satellites":44,"speed":44,"hex_longitude":"2d0f9c40","hex_latitude":"06e6b890","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920098048001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400956607493570560,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1133992342062815232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788750391000,"timestamp_ms":1788750391000,"timestamp_seconds":1788750391,"priority":1,"record_length":96,"hex_timestamp":"000001a079d4e6d8"} 
[2026-09-07 08: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-07 08:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 08:38: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-07 08: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-07 08: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-07 08:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:23] 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-07 08:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920098048001,"66":27821,"166":206,"80":6400,"24":44,"16":400956607493570560,"45":1133992342062815232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-09-07 08:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920098048001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:38:23] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-07 08:38:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400956607493570560,"km_value":400956607493570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1133992342062815232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920098048001,"power":27821,"unknown_166":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1133992342062815232}} 
[2026-09-07 08:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":175901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:38:23] local.INFO: GPS data processed {"connection_id":175901,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:38:23] local.INFO: Acknowledgment sent {"connection_id":175901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:38:30] local.INFO: TCP Data received {"connection_id":175902,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d540b0012d7d12c005e9c2e00003001f29..."} 
[2026-09-07 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d540b0012d7d12c005e9c2e00003001f29..."} 
[2026-09-07 08:38:30] local.INFO: Processing buffer {"connection_id":175902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d540b0012d7d12c005e9c2e00003001f29..."} 
[2026-09-07 08:38:30] local.INFO: Packet analysis {"connection_id":175902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:38:30] local.INFO: Extracted packet for processing {"connection_id":175902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763171520,"raw_latitude":99205856,"longitude_deg":76.317152,"latitude_deg":9.9205856,"altitude":3,"angle":31,"satellites":41,"speed":10,"hex_longitude":"2d7d12c0","hex_latitude":"05e9c2e0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920105728001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129313171700711424,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336198462605312,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788750414000,"timestamp_ms":1788750414000,"timestamp_seconds":1788750414,"priority":1,"record_length":96,"hex_timestamp":"000001a079d540b0"} 
[2026-09-07 08: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-07 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920105728001,"66":13624,"192":206,"87":13824,"24":10,"16":129313171700711424,"45":9012336198462605312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920105728001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:38:30] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129313171700711424,"km_value":129313171700711.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336198462605312,"description":"Unknown IO ID 45"} 
[2026-09-07 08:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920105728001,"power":13624,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9012336198462605312}} 
[2026-09-07 08:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":175902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:38:30] local.INFO: GPS data processed {"connection_id":175902,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:38:30] local.INFO: Acknowledgment sent {"connection_id":175902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:38:45] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:45] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:45] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:38:47] local.INFO: TCP Data received {"connection_id":173409,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:47] local.INFO: Processing buffer {"connection_id":173409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:38:47] local.INFO: IMEI packet received {"connection_id":173409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":173409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:38:47] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:47] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:47] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:38:48] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:48] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:48] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:38:50] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:50] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:38:50] local.INFO: IMEI packet received {"connection_id":173408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:38:52] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:52] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:52] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:38:52] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":755929920,"raw_latitude":115843016,"longitude_deg":75.592992,"latitude_deg":11.5843016,"altitude":1,"angle":319,"satellites":44,"speed":34,"hex_longitude":"2d0e9340","hex_latitude":"06e79fc8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920120832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400960962590408704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057782992132935680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788750484000,"timestamp_ms":1788750484000,"timestamp_seconds":1788750484,"priority":1,"record_length":96,"hex_timestamp":"000001a079d65220"} 
[2026-09-07 08: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-07 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 08:38:52] 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-07 08: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-07 08: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-07 08:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:52] 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-07 08:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920120832001,"66":27865,"177":206,"80":6400,"24":34,"16":400960962590408704,"45":1057782992132935680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-07 08:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920120832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:38:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 08:38:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400960962590408704,"km_value":400960962590408.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057782992132935680,"description":"Unknown IO ID 45"} 
[2026-09-07 08:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920120832001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1057782992132935680}} 
[2026-09-07 08:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:38:52] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:38:52] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:38:53] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:53] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:38:53] local.INFO: IMEI packet received {"connection_id":174555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":174555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:38:53] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:53] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d65220012d0e934006e79fc80001013f2c..."} 
[2026-09-07 08:38:53] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:38:53] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":755929920,"raw_latitude":115843016,"longitude_deg":75.592992,"latitude_deg":11.5843016,"altitude":1,"angle":319,"satellites":44,"speed":34,"hex_longitude":"2d0e9340","hex_latitude":"06e79fc8","is_valid_coordinates":true} 
[2026-09-07 08:38: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-07 08:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920123904001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400960962590408704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050253536507447296,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788750484000,"timestamp_ms":1788750484000,"timestamp_seconds":1788750484,"priority":1,"record_length":96,"hex_timestamp":"000001a079d65220"} 
[2026-09-07 08:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:38: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-07 08:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:38:53] 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-07 08:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920123904001,"66":27865,"177":206,"80":6400,"24":34,"16":400960962590408704,"45":1050253536507447296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-07 08:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920123904001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:38:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 08:38:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400960962590408704,"km_value":400960962590408.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050253536507447296,"description":"Unknown IO ID 45"} 
[2026-09-07 08:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920123904001,"power":27865,"unknown_177":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1050253536507447296}} 
[2026-09-07 08:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:38:53] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:38:53] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:38:54] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d54498012d7d138005e9c4300004000b29..."} 
[2026-09-07 08:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d54498012d7d138005e9c4300004000b29..."} 
[2026-09-07 08:38:54] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d54498012d7d138005e9c4300004000b29..."} 
[2026-09-07 08:38:54] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:38:54] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":99206192,"longitude_deg":76.3171712,"latitude_deg":9.9206192,"altitude":4,"angle":11,"satellites":41,"speed":15,"hex_longitude":"2d7d1380","hex_latitude":"05e9c430","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920105984001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129313188880580608,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012476935951015936,"note":"Value kept but may cause issues"} 
[2026-09-07 08:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750415000,"timestamp_ms":1788750415000,"timestamp_seconds":1788750415,"priority":1,"record_length":96,"hex_timestamp":"000001a079d54498"} 
[2026-09-07 08: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-07 08:38: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-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920105984001,"66":13646,"192":206,"87":13824,"24":15,"16":129313188880580608,"45":9012476935951015936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920105984001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:38:54] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129313188880580608,"km_value":129313188880580.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012476935951015936,"description":"Unknown IO ID 45"} 
[2026-09-07 08:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920105984001,"power":13646,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9012476935951015936}} 
[2026-09-07 08:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:38:54] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:38:54] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:39:25] local.INFO: TCP Data received {"connection_id":174555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d55050012d7d13c005e9cab00005016727..."} 
[2026-09-07 08:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d55050012d7d13c005e9cab00005016727..."} 
[2026-09-07 08:39:25] local.INFO: Processing buffer {"connection_id":174555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d55050012d7d13c005e9cab00005016727..."} 
[2026-09-07 08:39:25] local.INFO: Packet analysis {"connection_id":174555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:39:25] local.INFO: Extracted packet for processing {"connection_id":174555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d5"} 
[2026-09-07 08:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763171776,"raw_latitude":99207856,"longitude_deg":76.3171776,"latitude_deg":9.9207856,"altitude":5,"angle":359,"satellites":39,"speed":24,"hex_longitude":"2d7d13c0","hex_latitude":"05e9cab0","is_valid_coordinates":true} 
[2026-09-07 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-07 08:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920106240001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129313270484959232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012688042183634944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788750418000,"timestamp_ms":1788750418000,"timestamp_seconds":1788750418,"priority":1,"record_length":96,"hex_timestamp":"000001a079d55050"} 
[2026-09-07 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-07 08:39: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-07 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 08:39:25] 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-07 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-07 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-07 08:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920106240001,"66":13493,"192":206,"87":13824,"24":24,"16":129313270484959232,"45":9012688042183634944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 08:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920106240001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:39:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 08:39:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129313270484959232,"km_value":129313270484959.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012688042183634944,"description":"Unknown IO ID 45"} 
[2026-09-07 08:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920106240001,"power":13493,"unknown_192":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9012688042183634944}} 
[2026-09-07 08:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":174555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:39:25] local.INFO: GPS data processed {"connection_id":174555,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:39:25] local.INFO: Acknowledgment sent {"connection_id":174555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:39:26] local.INFO: TCP Data received {"connection_id":173408,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d665a8012d0e898006e7adc00000014e2d..."} 
[2026-09-07 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d665a8012d0e898006e7adc00000014e2d..."} 
[2026-09-07 08:39:26] local.INFO: Processing buffer {"connection_id":173408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d665a8012d0e898006e7adc00000014e2d..."} 
[2026-09-07 08:39:26] local.INFO: Packet analysis {"connection_id":173408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:39:26] local.INFO: Extracted packet for processing {"connection_id":173408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:39:26] local.INFO: GPS Element Parsed {"raw_longitude":755927424,"raw_latitude":115846592,"longitude_deg":75.5927424,"latitude_deg":11.5846592,"altitude":0,"angle":334,"satellites":45,"speed":34,"hex_longitude":"2d0e8980","hex_latitude":"06e7adc0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920123904001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400961177338773504,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050253536507447296,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750489000,"timestamp_ms":1788750489000,"timestamp_seconds":1788750489,"priority":1,"record_length":96,"hex_timestamp":"000001a079d665a8"} 
[2026-09-07 08: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-07 08:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:39:26] 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-07 08:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920123904001,"66":27800,"177":206,"80":6400,"24":34,"16":400961177338773504,"45":1050253536507447296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-07 08:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920123904001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:39:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 08:39:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400961177338773504,"km_value":400961177338773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050253536507447296,"description":"Unknown IO ID 45"} 
[2026-09-07 08:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920123904001,"power":27800,"unknown_177":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1050253536507447296}} 
[2026-09-07 08:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":173408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:39:26] local.INFO: GPS data processed {"connection_id":173408,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:39:26] local.INFO: Acknowledgment sent {"connection_id":173408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:39:45] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:45] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:45] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:39:48] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:48] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:48] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:39:52] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:52] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:39:52] local.INFO: IMEI packet received {"connection_id":173175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":173175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:39:53] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:53] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:39:53] local.INFO: IMEI packet received {"connection_id":173176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":173176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:39:54] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d7c538012d7d1dc005ea8a08000d002826..."} 
[2026-09-07 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d7c538012d7d1dc005ea8a08000d002826..."} 
[2026-09-07 08:39:54] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d7c538012d7d1dc005ea8a08000d002826..."} 
[2026-09-07 08:39:54] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:39:54] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99256840,"longitude_deg":76.3174336,"latitude_deg":9.925684,"altitude":13,"angle":40,"satellites":38,"speed":2,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea8a08","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920144640001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129315675666644992,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210754402304,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750579000,"timestamp_ms":1788750579000,"timestamp_seconds":1788750579,"priority":1,"record_length":96,"hex_timestamp":"000001a079d7c538"} 
[2026-09-07 08: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-07 08:39: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-07 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920144640001,"66":13330,"158":206,"87":13824,"24":2,"16":129315675666644992,"45":9015010210754402304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920144640001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129315675666644992,"km_value":129315675666644.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210754402304,"description":"Unknown IO ID 45"} 
[2026-09-07 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920144640001,"power":13330,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015010210754402304}} 
[2026-09-07 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:39:54] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:39:54] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:39:54] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d67160012d0e860006e7b768000101592d..."} 
[2026-09-07 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d67160012d0e860006e7b768000101592d..."} 
[2026-09-07 08:39:54] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d67160012d0e860006e7b768000101592d..."} 
[2026-09-07 08:39:54] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:39:54] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":755926528,"raw_latitude":115849064,"longitude_deg":75.5926528,"latitude_deg":11.5849064,"altitude":1,"angle":345,"satellites":45,"speed":34,"hex_longitude":"2d0e8600","hex_latitude":"06e7b768","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920125184001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400961301892825088,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047509155485433856,"note":"Value kept but may cause issues"} 
[2026-09-07 08:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750492000,"timestamp_ms":1788750492000,"timestamp_seconds":1788750492,"priority":1,"record_length":96,"hex_timestamp":"000001a079d67160"} 
[2026-09-07 08: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-07 08:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 08:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:39:54] 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-07 08:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920125184001,"66":27843,"177":206,"80":6400,"24":34,"16":400961301892825088,"45":1047509155485433856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-07 08:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920125184001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400961301892825088,"km_value":400961301892825.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047509155485433856,"description":"Unknown IO ID 45"} 
[2026-09-07 08:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920125184001,"power":27843,"unknown_177":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1047509155485433856}} 
[2026-09-07 08:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:39:54] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:39:54] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:26] local.INFO: TCP Data received {"connection_id":173176,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d7c920012d7d1dc005ea8a70000d001b26..."} 
[2026-09-07 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d7c920012d7d1dc005ea8a70000d001b26..."} 
[2026-09-07 08:40:26] local.INFO: Processing buffer {"connection_id":173176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d7c920012d7d1dc005ea8a70000d001b26..."} 
[2026-09-07 08:40:26] local.INFO: Packet analysis {"connection_id":173176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:26] local.INFO: Extracted packet for processing {"connection_id":173176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763174336,"raw_latitude":99256944,"longitude_deg":76.3174336,"latitude_deg":9.9256944,"altitude":13,"angle":27,"satellites":38,"speed":4,"hex_longitude":"2d7d1dc0","hex_latitude":"05ea8a70","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920148224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129315679961612288,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160707885056,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750580000,"timestamp_ms":1788750580000,"timestamp_seconds":1788750580,"priority":1,"record_length":96,"hex_timestamp":"000001a079d7c920"} 
[2026-09-07 08: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-07 08:40: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-07 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":87,"raw_value":-7205532529829341184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3758253970645133568,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277800293150625864,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3600314369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221613182,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070423,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1808072704,"corrected_to":0} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3931772928,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57798697765721910,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":214,"raw_value":6756694324936709,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:26] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,158,87,24,241,157,16,107,160,142,45,192,137,13,33,10,66,60,40,234,1,240,138,227,121,4,113,205,74,28,48,41,239,51,156,2,203,5,20,116,214,26,93],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0},{"io_id":203,"original":1808072704,"validated":0}]} 
[2026-09-07 08:40:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936792866167062528,"timestamp_seconds":936792866167062.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920148224001,"66":13330,"158":206,"87":13824,"24":4,"16":129315679961612288,"45":9015573160707885056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920148224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:40:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129315679961612288,"km_value":129315679961612.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160707885056,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920148224001,"power":13330,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9015573160707885056}} 
[2026-09-07 08:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":173176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:26] local.INFO: GPS data processed {"connection_id":173176,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:26] local.INFO: Acknowledgment sent {"connection_id":173176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:28] local.INFO: TCP Data received {"connection_id":173175,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d69c58012d0e7e0006e7d978000301592c..."} 
[2026-09-07 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d69c58012d0e7e0006e7d978000301592c..."} 
[2026-09-07 08:40:28] local.INFO: Processing buffer {"connection_id":173175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d69c58012d0e7e0006e7d978000301592c..."} 
[2026-09-07 08:40:28] local.INFO: Packet analysis {"connection_id":173175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:40:28] local.INFO: Extracted packet for processing {"connection_id":173175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:40:28] local.INFO: GPS Element Parsed {"raw_longitude":755924480,"raw_latitude":115857784,"longitude_deg":75.592448,"latitude_deg":11.5857784,"altitude":3,"angle":345,"satellites":44,"speed":28,"hex_longitude":"2d0e7e00","hex_latitude":"06e7d978","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920125952001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400961735684521984,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046523993067579392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788750503000,"timestamp_ms":1788750503000,"timestamp_seconds":1788750503,"priority":1,"record_length":96,"hex_timestamp":"000001a079d69c58"} 
[2026-09-07 08: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-07 08:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:40:28] 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-07 08:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920125952001,"66":27832,"177":206,"80":6400,"24":28,"16":400961735684521984,"45":1046523993067579392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-09-07 08:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920125952001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 08:40:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400961735684521984,"km_value":400961735684522.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046523993067579392,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920125952001,"power":27832,"unknown_177":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":1046523993067579392}} 
[2026-09-07 08:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":173175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:28] local.INFO: GPS data processed {"connection_id":173175,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:28] local.INFO: Acknowledgment sent {"connection_id":173175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:38] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:40:38] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:40:38] local.INFO: IMEI packet received {"connection_id":175905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":175905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:40:39] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d77330012d0da2c00705c730000f00af18..."} 
[2026-09-07 08:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d77330012d0da2c00705c730000f00af18..."} 
[2026-09-07 08:40:39] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d77330012d0da2c00705c730000f00af18..."} 
[2026-09-07 08:40:39] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:39] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:39] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117819184,"longitude_deg":75.5868352,"latitude_deg":11.7819184,"altitude":15,"angle":175,"satellites":24,"speed":15,"hex_longitude":"2d0da2c0","hex_latitude":"0705c730","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920141056001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30406289691508736,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911347613696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788750558000,"timestamp_ms":1788750558000,"timestamp_seconds":1788750558,"priority":1,"record_length":96,"hex_timestamp":"000001a079d77330"} 
[2026-09-07 08: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-07 08:40: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-07 08: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920141056001,"66":14450,"167":206,"94":11008,"24":15,"16":30406289691508736,"45":982769911347613696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920141056001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:39] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:40:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30406289691508736,"km_value":30406289691508.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911347613696,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920141056001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":982769911347613696}} 
[2026-09-07 08:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:39] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:39] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:45] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:45] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:45] local.INFO: IMEI packet received {"connection_id":173410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:40:48] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:48] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:48] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:40:50] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:50] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:40:50] local.INFO: IMEI packet received {"connection_id":173410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:40:51] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d6e2a8012d0e768006e7fb500003015d2b..."} 
[2026-09-07 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d6e2a8012d0e768006e7fb500003015d2b..."} 
[2026-09-07 08:40:51] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d6e2a8012d0e768006e7fb500003015d2b..."} 
[2026-09-07 08:40:51] local.INFO: Packet analysis {"connection_id":173410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:40:51] local.INFO: Extracted packet for processing {"connection_id":173410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d6"} 
[2026-09-07 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755922560,"raw_latitude":115866448,"longitude_deg":75.592256,"latitude_deg":11.5866448,"altitude":3,"angle":349,"satellites":43,"speed":24,"hex_longitude":"2d0e7680","hex_latitude":"06e7fb50","is_valid_coordinates":true} 
[2026-09-07 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920128768001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400962169476218880,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044272193256126464,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750521000,"timestamp_ms":1788750521000,"timestamp_seconds":1788750521,"priority":1,"record_length":96,"hex_timestamp":"000001a079d6e2a8"} 
[2026-09-07 08:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:40: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-07 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:40: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-07 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920128768001,"66":27865,"103":206,"80":6400,"24":24,"16":400962169476218880,"45":1044272193256126464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-09-07 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920128768001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 08:40:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400962169476218880,"km_value":400962169476218.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044272193256126464,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920128768001,"power":27865,"unknown_103":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1044272193256126464}} 
[2026-09-07 08:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:51] local.INFO: GPS data processed {"connection_id":173410,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:51] local.INFO: Acknowledgment sent {"connection_id":173410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:52] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:52] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:52] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:40:53] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:53] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:40:53] local.INFO: IMEI packet received {"connection_id":175906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":175906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:40:54] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d7d0f0012d7d1e4005ea8ba8000d000828..."} 
[2026-09-07 08:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d7d0f0012d7d1e4005ea8ba8000d000828..."} 
[2026-09-07 08:40:54] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d7d0f0012d7d1e4005ea8ba8000d000828..."} 
[2026-09-07 08:40:54] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:54] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d7"} 
[2026-09-07 08:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99257256,"longitude_deg":76.3174464,"latitude_deg":9.9257256,"altitude":13,"angle":8,"satellites":40,"speed":9,"hex_longitude":"2d7d1e40","hex_latitude":"05ea8ba8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920148480001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129315697141481472,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160707911680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750582000,"timestamp_ms":1788750582000,"timestamp_seconds":1788750582,"priority":1,"record_length":96,"hex_timestamp":"000001a079d7d0f0"} 
[2026-09-07 08: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-07 08:40: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-07 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":87,"raw_value":-7205532529829341184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277802492173890600,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3605690369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":234,"raw_value":6491938948754123264,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221613193,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1810235392,"corrected_to":0} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3934138368,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57798697765721910,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2821506461431644165,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:54] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,158,87,24,241,157,16,107,160,197,45,192,138,13,38,10,66,142,137,33,60,1,240,12,227,121,234,4,113,205,152,27,40,239,53,2,203,5,17,30,166,214,93],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0},{"io_id":203,"original":1810235392,"validated":0}]} 
[2026-09-07 08:40:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936778572516032512,"timestamp_seconds":936778572516032.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920148480001,"66":13276,"158":206,"87":13824,"24":9,"16":129315697141481472,"45":9015573160707911680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920148480001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129315697141481472,"km_value":129315697141481.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160707911680,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920148480001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015573160707911680}} 
[2026-09-07 08:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:54] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:54] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:40:59] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d80f70012d7d200005eaab88000d016428..."} 
[2026-09-07 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d80f70012d7d200005eaab88000d016428..."} 
[2026-09-07 08:40:59] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d80f70012d7d200005eaab88000d016428..."} 
[2026-09-07 08:40:59] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:40:59] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99265416,"longitude_deg":76.3174912,"latitude_deg":9.9265416,"altitude":13,"angle":356,"satellites":40,"speed":19,"hex_longitude":"2d7d2000","hex_latitude":"05eaab88","is_valid_coordinates":true} 
[2026-09-07 08:40: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-07 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920148992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129316096573440000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898196346880,"note":"Value kept but may cause issues"} 
[2026-09-07 08:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788750598000,"timestamp_ms":1788750598000,"timestamp_seconds":1788750598,"priority":1,"record_length":96,"hex_timestamp":"000001a079d80f70"} 
[2026-09-07 08:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 08:40:59] 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-07 08:40: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-07 08:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920148992001,"66":13428,"158":206,"87":13824,"24":19,"16":129316096573440000,"45":9015713898196346880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920148992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:40:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:40:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129316096573440000,"km_value":129316096573440,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898196346880,"description":"Unknown IO ID 45"} 
[2026-09-07 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920148992001,"power":13428,"unknown_158":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9015713898196346880}} 
[2026-09-07 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:40:59] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:40:59] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:10] local.INFO: TCP Data received {"connection_id":175905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d8e260012d0da3800705bea0001201621c..."} 
[2026-09-07 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d8e260012d0da3800705bea0001201621c..."} 
[2026-09-07 08:41:10] local.INFO: Processing buffer {"connection_id":175905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d8e260012d0da3800705bea0001201621c..."} 
[2026-09-07 08:41:10] local.INFO: Packet analysis {"connection_id":175905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:10] local.INFO: Extracted packet for processing {"connection_id":175905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117816992,"longitude_deg":75.5868544,"latitude_deg":11.7816992,"altitude":18,"angle":354,"satellites":28,"speed":7,"hex_longitude":"2d0da380","hex_latitude":"0705bea0","is_valid_coordinates":true} 
[2026-09-07 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-07 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920165888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30406543094579200,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982699542602086400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788750652000,"timestamp_ms":1788750652000,"timestamp_seconds":1788750652,"priority":1,"record_length":96,"hex_timestamp":"000001a079d8e260"} 
[2026-09-07 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-07 08:41: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-07 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":175905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":175905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":175905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920165888001,"66":14428,"167":206,"94":11008,"24":7,"16":30406543094579200,"45":982699542602086400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920165888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:41:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30406543094579200,"km_value":30406543094579.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":982699542602086400,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920165888001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":982699542602086400}} 
[2026-09-07 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":175905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:10] local.INFO: GPS data processed {"connection_id":175905,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:10] local.INFO: Acknowledgment sent {"connection_id":175905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:22] local.INFO: TCP Data received {"connection_id":173410,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d88888012d0ebcc006e90940000400162a..."} 
[2026-09-07 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d88888012d0ebcc006e90940000400162a..."} 
[2026-09-07 08:41:22] local.INFO: Processing buffer {"connection_id":173410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d88888012d0ebcc006e90940000400162a..."} 
[2026-09-07 08:41:22] local.INFO: Packet analysis {"connection_id":173410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:22] local.INFO: Extracted packet for processing {"connection_id":173410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755940544,"raw_latitude":115935552,"longitude_deg":75.5940544,"latitude_deg":11.5935552,"altitude":4,"angle":22,"satellites":42,"speed":18,"hex_longitude":"2d0ebcc0","hex_latitude":"06e90940","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920159488001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400965704234303488,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060105160715356160,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788750629000,"timestamp_ms":1788750629000,"timestamp_seconds":1788750629,"priority":1,"record_length":96,"hex_timestamp":"000001a079d88888"} 
[2026-09-07 08: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-07 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:22] 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-07 08: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-07 08: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-07 08:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:41:22] 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-07 08:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920159488001,"66":27908,"104":206,"80":6400,"24":18,"16":400965704234303488,"45":1060105160715356160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-09-07 08:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920159488001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 08:41:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400965704234303488,"km_value":400965704234303.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060105160715356160,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920159488001,"power":27908,"unknown_104":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1060105160715356160}} 
[2026-09-07 08:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":173410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:22] local.INFO: GPS data processed {"connection_id":173410,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:22] local.INFO: Acknowledgment sent {"connection_id":173410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:26] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:26] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:26] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:41:28] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:28] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:28] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:30] local.INFO: TCP Data received {"connection_id":175906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d84238012d7d20c005eace18000a000429..."} 
[2026-09-07 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d84238012d7d20c005eace18000a000429..."} 
[2026-09-07 08:41:30] local.INFO: Processing buffer {"connection_id":175906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d84238012d7d20c005eace18000a000429..."} 
[2026-09-07 08:41:30] local.INFO: Packet analysis {"connection_id":175906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:30] local.INFO: Extracted packet for processing {"connection_id":175906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99274264,"longitude_deg":76.3175104,"latitude_deg":9.9274264,"altitude":10,"angle":4,"satellites":41,"speed":24,"hex_longitude":"2d7d20c0","hex_latitude":"05eace18","is_valid_coordinates":true} 
[2026-09-07 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920153088001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129316526070169600,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479407679488,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788750611000,"timestamp_ms":1788750611000,"timestamp_seconds":1788750611,"priority":1,"record_length":96,"hex_timestamp":"000001a079d84238"} 
[2026-09-07 08:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":175906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":175906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920153088001,"66":13493,"158":206,"87":13824,"24":24,"16":129316526070169600,"45":9016206479407679488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920153088001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129316526070169600,"km_value":129316526070169.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479407679488,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920153088001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9016206479407679488}} 
[2026-09-07 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":175906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:30] local.INFO: GPS data processed {"connection_id":175906,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:30] local.INFO: Acknowledgment sent {"connection_id":175906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:30] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:30] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:30] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:31] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:31] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:41:31] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:31] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d95b78012d0d83c00705cdb0001101131d..."} 
[2026-09-07 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d95b78012d0d83c00705cdb0001101131d..."} 
[2026-09-07 08:41:31] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d95b78012d0d83c00705cdb0001101131d..."} 
[2026-09-07 08:41:31] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:31] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":755860416,"raw_latitude":117820848,"longitude_deg":75.5860416,"latitude_deg":11.7820848,"altitude":17,"angle":275,"satellites":29,"speed":24,"hex_longitude":"2d0d83c0","hex_latitude":"0705cdb0","is_valid_coordinates":true} 
[2026-09-07 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920174592001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30407208814510080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974536768278599680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788750683000,"timestamp_ms":1788750683000,"timestamp_seconds":1788750683,"priority":1,"record_length":96,"hex_timestamp":"000001a079d95b78"} 
[2026-09-07 08:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:41: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-07 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:31] 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-07 08:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920174592001,"66":14515,"167":206,"94":11008,"24":24,"16":30407208814510080,"45":974536768278599680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920174592001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:41:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30407208814510080,"km_value":30407208814510.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":974536768278599680,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920174592001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":974536768278599680}} 
[2026-09-07 08:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777656,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:31] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:31] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:33] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d95f60012d0d81800705ce300011011f1d..."} 
[2026-09-07 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d95f60012d0d81800705ce300011011f1d..."} 
[2026-09-07 08:41:33] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d95f60012d0d81800705ce300011011f1d..."} 
[2026-09-07 08:41:33] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:33] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":755859840,"raw_latitude":117820976,"longitude_deg":75.585984,"latitude_deg":11.7820976,"altitude":17,"angle":287,"satellites":29,"speed":22,"hex_longitude":"2d0d8180","hex_latitude":"0705ce30","is_valid_coordinates":true} 
[2026-09-07 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920174848001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30407238879281152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973833080836829184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788750684000,"timestamp_ms":1788750684000,"timestamp_seconds":1788750684,"priority":1,"record_length":96,"hex_timestamp":"000001a079d95f60"} 
[2026-09-07 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920174848001,"66":14461,"167":206,"94":11008,"24":22,"16":30407238879281152,"45":973833080836829184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920174848001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30407238879281152,"km_value":30407238879281.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":973833080836829184,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920174848001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":973833080836829184}} 
[2026-09-07 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:33] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:33] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:47] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:47] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:47] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:41:50] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:50] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:50] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:54] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:41:54] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:54] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:55] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:55] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:41:55] local.INFO: IMEI packet received {"connection_id":173180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":173180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:57] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d89058012d0ebe0006e90ce0000400092b..."} 
[2026-09-07 08:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d89058012d0ebe0006e90ce0000400092b..."} 
[2026-09-07 08:41:57] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d89058012d0ebe0006e90ce0000400092b..."} 
[2026-09-07 08:41:57] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:57] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:41:57] local.INFO: GPS Element Parsed {"raw_longitude":755940864,"raw_latitude":115936480,"longitude_deg":75.5940864,"latitude_deg":11.593648,"altitude":4,"angle":9,"satellites":43,"speed":19,"hex_longitude":"2d0ebe00","hex_latitude":"06e90ce0","is_valid_coordinates":true} 
[2026-09-07 08:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920161024001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400965751478943744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1061934748064628736,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788750631000,"timestamp_ms":1788750631000,"timestamp_seconds":1788750631,"priority":1,"record_length":96,"hex_timestamp":"000001a079d89058"} 
[2026-09-07 08:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 08:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:41:57] 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-07 08:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920161024001,"66":27745,"104":206,"80":6400,"24":19,"16":400965751478943744,"45":1061934748064628736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-09-07 08:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920161024001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400965751478943744,"km_value":400965751478943.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1061934748064628736,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920161024001,"power":27745,"unknown_104":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1061934748064628736}} 
[2026-09-07 08:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:57] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:57] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:58] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:58] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:41:58] local.INFO: IMEI packet received {"connection_id":175907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":175907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:41:59] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":1340,"data_hex":"000000000000030f8e0a000001a079d93080012d7cfac005eaef70000900ff23..."} 
[2026-09-07 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a079d93080012d7cfac005eaef70000900ff23..."} 
[2026-09-07 08:41:59] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a079d93080012d7cfac005eaef70000900ff23..."} 
[2026-09-07 08:41:59] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:59] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763165376,"raw_latitude":99282800,"longitude_deg":76.3165376,"latitude_deg":9.92828,"altitude":9,"angle":255,"satellites":35,"speed":14,"hex_longitude":"2d7cfac0","hex_latitude":"05eaef70","is_valid_coordinates":true} 
[2026-09-07 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920171264001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129317672826437632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006847436436549632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788750672000,"timestamp_ms":1788750672000,"timestamp_seconds":1788750672,"priority":1,"record_length":96,"hex_timestamp":"000001a079d93080"} 
[2026-09-07 08:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:41: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-07 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:41:59] 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-07 08:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920171264001,"66":13124,"158":206,"87":13824,"24":14,"16":129317672826437632,"45":9006847436436549632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920171264001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:41:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:41:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129317672826437632,"km_value":129317672826437.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006847436436549632,"description":"Unknown IO ID 45"} 
[2026-09-07 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920171264001,"power":13124,"unknown_158":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9006847436436549632}} 
[2026-09-07 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:41:59] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:41:59] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:41:59] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:41:59] local.INFO: Incomplete packet, waiting for more data {"connection_id":175907,"needed":795,"available":545} 
[2026-09-07 08:42:00] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":250,"data_hex":"e3001001cb6d5100000000000001a079d89c10012d7d20c005eaff60000b00fd..."} 
[2026-09-07 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":250,"packet_hex":"e3001001cb6d5100000000000001a079d89c10012d7d20c005eaff60000b00fd..."} 
[2026-09-07 08:42:00] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d97ea0012d7cf58005eaeda8000a00fd23..."} 
[2026-09-07 08:42:00] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:00] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99282344,"longitude_deg":76.3164032,"latitude_deg":9.9282344,"altitude":10,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d7cf580","hex_latitude":"05eaeda8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920172032001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129317741545914368,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005721536529657856,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788750692000,"timestamp_ms":1788750692000,"timestamp_seconds":1788750692,"priority":1,"record_length":96,"hex_timestamp":"000001a079d97ea0"} 
[2026-09-07 08: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-07 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:00] 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-07 08: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-07 08: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-07 08:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920172032001,"66":13493,"158":206,"87":13824,"24":0,"16":129317741545914368,"45":9005721536529657856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920172032001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:42:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129317741545914368,"km_value":129317741545914.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005721536529657856,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920172032001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9005721536529657856}} 
[2026-09-07 08:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:00] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:00] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:04] local.INFO: TCP Data received {"connection_id":175907,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d9b938012d7cf38005eaed28000a010923..."} 
[2026-09-07 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d9b938012d7cf38005eaed28000a010923..."} 
[2026-09-07 08:42:04] local.INFO: Processing buffer {"connection_id":175907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d9b938012d7cf38005eaed28000a010923..."} 
[2026-09-07 08:42:04] local.INFO: Packet analysis {"connection_id":175907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:04] local.INFO: Extracted packet for processing {"connection_id":175907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763163520,"raw_latitude":99282216,"longitude_deg":76.316352,"latitude_deg":9.9282216,"altitude":10,"angle":265,"satellites":35,"speed":3,"hex_longitude":"2d7cf380","hex_latitude":"05eaed28","is_valid_coordinates":true} 
[2026-09-07 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920177152001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129317771610685440,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792901810176,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750707000,"timestamp_ms":1788750707000,"timestamp_seconds":1788750707,"priority":1,"record_length":96,"hex_timestamp":"000001a079d9b938"} 
[2026-09-07 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:04] 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-07 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920177152001,"66":13656,"158":206,"87":13824,"24":3,"16":129317771610685440,"45":9004243792901810176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920177152001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129317771610685440,"km_value":129317771610685.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792901810176,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920177152001,"power":13656,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9004243792901810176}} 
[2026-09-07 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":175907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:04] local.INFO: GPS data processed {"connection_id":175907,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:04] local.INFO: Acknowledgment sent {"connection_id":175907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:04] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d96f00012d0d79800705d0b8001001111d..."} 
[2026-09-07 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d96f00012d0d79800705d0b8001001111d..."} 
[2026-09-07 08:42:04] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d96f00012d0d79800705d0b8001001111d..."} 
[2026-09-07 08:42:04] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:04] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":755857792,"raw_latitude":117821624,"longitude_deg":75.5857792,"latitude_deg":11.7821624,"altitude":16,"angle":273,"satellites":29,"speed":21,"hex_longitude":"2d0d7980","hex_latitude":"0705d0b8","is_valid_coordinates":true} 
[2026-09-07 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920175104001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30407341958496256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":973199762139262976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750688000,"timestamp_ms":1788750688000,"timestamp_seconds":1788750688,"priority":1,"record_length":96,"hex_timestamp":"000001a079d96f00"} 
[2026-09-07 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:04] 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-07 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920175104001,"66":14515,"167":206,"94":11008,"24":21,"16":30407341958496256,"45":973199762139262976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920175104001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30407341958496256,"km_value":30407341958496.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":973199762139262976,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920175104001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":973199762139262976}} 
[2026-09-07 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:04] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:04] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:27] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:27] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:27] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:42:28] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:28] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:28] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:42:28] local.INFO: TCP Data received {"connection_id":173180,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d8af98012d0ec18006e91d00000400142b..."} 
[2026-09-07 08:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d8af98012d0ec18006e91d00000400142b..."} 
[2026-09-07 08:42:28] local.INFO: Processing buffer {"connection_id":173180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d8af98012d0ec18006e91d00000400142b..."} 
[2026-09-07 08:42:28] local.INFO: Packet analysis {"connection_id":173180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:42:28] local.INFO: Extracted packet for processing {"connection_id":173180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d8"} 
[2026-09-07 08:42:28] local.INFO: GPS Element Parsed {"raw_longitude":755941760,"raw_latitude":115940608,"longitude_deg":75.594176,"latitude_deg":11.5940608,"altitude":4,"angle":20,"satellites":43,"speed":19,"hex_longitude":"2d0ec180","hex_latitude":"06e91d00","is_valid_coordinates":true} 
[2026-09-07 08:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920161536001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400965957637373952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1062286591785754624,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788750639000,"timestamp_ms":1788750639000,"timestamp_seconds":1788750639,"priority":1,"record_length":96,"hex_timestamp":"000001a079d8af98"} 
[2026-09-07 08:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:28] 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-07 08:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:42:28] 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-07 08:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920161536001,"66":27843,"104":206,"80":6400,"24":19,"16":400965957637373952,"45":1062286591785754624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-09-07 08:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920161536001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 08:42:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400965957637373952,"km_value":400965957637373.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1062286591785754624,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920161536001,"power":27843,"unknown_104":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1062286591785754624}} 
[2026-09-07 08:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":173180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:28] local.INFO: GPS data processed {"connection_id":173180,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:28] local.INFO: Acknowledgment sent {"connection_id":173180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:33] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:33] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:42:33] local.INFO: IMEI packet received {"connection_id":173412,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":173412,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:42:33] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079d972e8012d0d76c00705d070001101041d..."} 
[2026-09-07 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d972e8012d0d76c00705d070001101041d..."} 
[2026-09-07 08:42:33] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d972e8012d0d76c00705d070001101041d..."} 
[2026-09-07 08:42:33] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:33] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:33] local.INFO: GPS Element Parsed {"raw_longitude":755857088,"raw_latitude":117821552,"longitude_deg":75.5857088,"latitude_deg":11.7821552,"altitude":17,"angle":260,"satellites":29,"speed":24,"hex_longitude":"2d0d76c0","hex_latitude":"0705d070","is_valid_coordinates":true} 
[2026-09-07 08:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920176128001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30407372023267328,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970947962325743616,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788750689000,"timestamp_ms":1788750689000,"timestamp_seconds":1788750689,"priority":1,"record_length":96,"hex_timestamp":"000001a079d972e8"} 
[2026-09-07 08:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:42: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-07 08:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920176128001,"66":14515,"167":206,"94":11008,"24":24,"16":30407372023267328,"45":970947962325743616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920176128001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:42:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30407372023267328,"km_value":30407372023267.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":970947962325743616,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920176128001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":970947962325743616}} 
[2026-09-07 08:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:33] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:33] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:45] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:45] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:45] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:42:50] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:50] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:50] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:42:50] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:50] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:42:50] local.INFO: IMEI packet received {"connection_id":173181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:42:51] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:42:51] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:42:51] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:51] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755945280,"raw_latitude":115948840,"longitude_deg":75.594528,"latitude_deg":11.594884,"altitude":4,"angle":25,"satellites":44,"speed":8,"hex_longitude":"2d0ecf40","hex_latitude":"06e93d28","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920163584001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400966391429070848,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063271754205298688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788750660000,"timestamp_ms":1788750660000,"timestamp_seconds":1788750660,"priority":1,"record_length":96,"hex_timestamp":"000001a079d901a0"} 
[2026-09-07 08: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-07 08:42: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-07 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08: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-07 08:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920163584001,"66":27800,"102":206,"80":6400,"24":8,"16":400966391429070848,"45":1063271754205298688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-09-07 08:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920163584001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:42:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400966391429070848,"km_value":400966391429070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063271754205298688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920163584001,"power":27800,"unknown_102":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1063271754205298688}} 
[2026-09-07 08:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:51] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:51] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:53] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:53] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:42:53] local.INFO: IMEI packet received {"connection_id":174556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":174556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:42:54] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d9ccc0012d7cefc005eaec80000a00fd28..."} 
[2026-09-07 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d9ccc0012d7cefc005eaec80000a00fd28..."} 
[2026-09-07 08:42:54] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d9ccc0012d7cefc005eaec80000a00fd28..."} 
[2026-09-07 08:42:54] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:54] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763162560,"raw_latitude":99282048,"longitude_deg":76.316256,"latitude_deg":9.9282048,"altitude":10,"angle":253,"satellites":40,"speed":10,"hex_longitude":"2d7cefc0","hex_latitude":"05eaec80","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920180992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129317818855325696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003680842948356096,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750712000,"timestamp_ms":1788750712000,"timestamp_seconds":1788750712,"priority":1,"record_length":96,"hex_timestamp":"000001a079d9ccc0"} 
[2026-09-07 08: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-07 08:42: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-07 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920180992001,"66":13624,"158":206,"87":13824,"24":10,"16":129317818855325696,"45":9003680842948356096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920180992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129317818855325696,"km_value":129317818855325.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003680842948356096,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920180992001,"power":13624,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9003680842948356096}} 
[2026-09-07 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:54] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:54] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:42:54] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079d9e048012d7ce90005eaeba8000a010a25..."} 
[2026-09-07 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d9e048012d7ce90005eaeba8000a010a25..."} 
[2026-09-07 08:42:54] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d9e048012d7ce90005eaeba8000a010a25..."} 
[2026-09-07 08:42:54] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:54] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763160832,"raw_latitude":99281832,"longitude_deg":76.3160832,"latitude_deg":9.9281832,"altitude":10,"angle":266,"satellites":37,"speed":13,"hex_longitude":"2d7ce900","hex_latitude":"05eaeba8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920182272001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129317900459704320,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002625311785648128,"note":"Value kept but may cause issues"} 
[2026-09-07 08:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750717000,"timestamp_ms":1788750717000,"timestamp_seconds":1788750717,"priority":1,"record_length":96,"hex_timestamp":"000001a079d9e048"} 
[2026-09-07 08: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-07 08:42: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-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920182272001,"66":13646,"158":206,"87":13824,"24":13,"16":129317900459704320,"45":9002625311785648128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920182272001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129317900459704320,"km_value":129317900459704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002625311785648128,"description":"Unknown IO ID 45"} 
[2026-09-07 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920182272001,"power":13646,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9002625311785648128}} 
[2026-09-07 08:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:42:54] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:42:54] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:43:04] local.INFO: TCP Data received {"connection_id":173412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dab720012d0d84c007062380001700461d..."} 
[2026-09-07 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dab720012d0d84c007062380001700461d..."} 
[2026-09-07 08:43:04] local.INFO: Processing buffer {"connection_id":173412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dab720012d0d84c007062380001700461d..."} 
[2026-09-07 08:43:04] local.INFO: Packet analysis {"connection_id":173412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:04] local.INFO: Extracted packet for processing {"connection_id":173412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":755860672,"raw_latitude":117842816,"longitude_deg":75.5860672,"latitude_deg":11.7842816,"altitude":23,"angle":70,"satellites":29,"speed":24,"hex_longitude":"2d0d84c0","hex_latitude":"07062380","is_valid_coordinates":true} 
[2026-09-07 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920194560001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30409111485022208,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965318462796754944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750772000,"timestamp_ms":1788750772000,"timestamp_seconds":1788750772,"priority":1,"record_length":96,"hex_timestamp":"000001a079dab720"} 
[2026-09-07 08:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 08:43:04] 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-07 08:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173412,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920194560001,"66":14461,"167":206,"94":11008,"24":24,"16":30409111485022208,"45":965318462796754944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920194560001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:43:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:43:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30409111485022208,"km_value":30409111485022.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":965318462796754944,"description":"Unknown IO ID 45"} 
[2026-09-07 08:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920194560001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":965318462796754944}} 
[2026-09-07 08:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":173412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:43:04] local.INFO: GPS data processed {"connection_id":173412,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:43:04] local.INFO: Acknowledgment sent {"connection_id":173412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:43:23] local.INFO: TCP Data received {"connection_id":173181,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:43:23] local.INFO: Processing buffer {"connection_id":173181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079d901a0012d0ecf4006e93d28000400192c..."} 
[2026-09-07 08:43:23] local.INFO: Packet analysis {"connection_id":173181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:43:23] local.INFO: Extracted packet for processing {"connection_id":173181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079d9"} 
[2026-09-07 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755945280,"raw_latitude":115948840,"longitude_deg":75.594528,"latitude_deg":11.594884,"altitude":4,"angle":25,"satellites":44,"speed":8,"hex_longitude":"2d0ecf40","hex_latitude":"06e93d28","is_valid_coordinates":true} 
[2026-09-07 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-07 08:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920168960001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400966391429070848,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067142035137177600,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788750660000,"timestamp_ms":1788750660000,"timestamp_seconds":1788750660,"priority":1,"record_length":96,"hex_timestamp":"000001a079d901a0"} 
[2026-09-07 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-07 08:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 08:43: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-07 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-07 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-07 08:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:43:23] 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-07 08:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920168960001,"66":27800,"102":206,"80":6400,"24":8,"16":400966391429070848,"45":1067142035137177600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,80,24,16,45]} 
[2026-09-07 08:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920168960001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 08:43:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400966391429070848,"km_value":400966391429070.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067142035137177600,"description":"Unknown IO ID 45"} 
[2026-09-07 08:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920168960001,"power":27800,"unknown_102":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1067142035137177600}} 
[2026-09-07 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":173181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:43:23] local.INFO: GPS data processed {"connection_id":173181,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:43:23] local.INFO: Acknowledgment sent {"connection_id":173181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:43:26] local.INFO: TCP Data received {"connection_id":174556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079da3250012d7cd70005eaea48000c01072a..."} 
[2026-09-07 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079da3250012d7cd70005eaea48000c01072a..."} 
[2026-09-07 08:43:26] local.INFO: Processing buffer {"connection_id":174556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079da3250012d7cd70005eaea48000c01072a..."} 
[2026-09-07 08:43:26] local.INFO: Packet analysis {"connection_id":174556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:26] local.INFO: Extracted packet for processing {"connection_id":174556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763156224,"raw_latitude":99281480,"longitude_deg":76.3156224,"latitude_deg":9.928148,"altitude":12,"angle":263,"satellites":42,"speed":22,"hex_longitude":"2d7cd700","hex_latitude":"05eaea48","is_valid_coordinates":true} 
[2026-09-07 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920183552001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129318128092971008,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000725355692795904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750738000,"timestamp_ms":1788750738000,"timestamp_seconds":1788750738,"priority":1,"record_length":96,"hex_timestamp":"000001a079da3250"} 
[2026-09-07 08:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 08:43:26] 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-07 08:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920183552001,"66":13559,"158":206,"87":13824,"24":22,"16":129318128092971008,"45":9000725355692795904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920183552001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:43:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129318128092971008,"km_value":129318128092971.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000725355692795904,"description":"Unknown IO ID 45"} 
[2026-09-07 08:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920183552001,"power":13559,"unknown_158":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9000725355692795904}} 
[2026-09-07 08:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":174556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:43:26] local.INFO: GPS data processed {"connection_id":174556,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:43:26] local.INFO: Acknowledgment sent {"connection_id":174556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:43:28] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:28] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:28] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:43:33] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:33] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:43:33] local.INFO: IMEI packet received {"connection_id":173182,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":173182,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:43:34] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dabb08012d0d86c0070624900016003a1d..."} 
[2026-09-07 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dabb08012d0d86c0070624900016003a1d..."} 
[2026-09-07 08:43:34] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dabb08012d0d86c0070624900016003a1d..."} 
[2026-09-07 08:43:34] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:34] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755861184,"raw_latitude":117843088,"longitude_deg":75.5861184,"latitude_deg":11.7843088,"altitude":22,"angle":58,"satellites":29,"speed":22,"hex_longitude":"2d0d86c0","hex_latitude":"07062490","is_valid_coordinates":true} 
[2026-09-07 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920197632001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30409141549793280,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974114555819163648,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788750773000,"timestamp_ms":1788750773000,"timestamp_seconds":1788750773,"priority":1,"record_length":96,"hex_timestamp":"000001a079dabb08"} 
[2026-09-07 08:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 08:43:34] 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-07 08:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920197632001,"66":14461,"167":206,"94":11008,"24":22,"16":30409141549793280,"45":974114555819163648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920197632001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:43:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30409141549793280,"km_value":30409141549793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":974114555819163648,"description":"Unknown IO ID 45"} 
[2026-09-07 08:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920197632001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":974114555819163648}} 
[2026-09-07 08:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:43:34] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:43:34] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:43:48] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:48] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:48] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:43:53] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:53] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:43:53] local.INFO: IMEI packet received {"connection_id":174558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":174558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:43:54] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079da8070012d7cb20005eae540000700fe22..."} 
[2026-09-07 08:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079da8070012d7cb20005eae540000700fe22..."} 
[2026-09-07 08:43:54] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079da8070012d7cb20005eae540000700fe22..."} 
[2026-09-07 08:43:54] local.INFO: Packet analysis {"connection_id":174558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:54] local.INFO: Extracted packet for processing {"connection_id":174558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:43:54] local.INFO: GPS Element Parsed {"raw_longitude":763146752,"raw_latitude":99280192,"longitude_deg":76.3146752,"latitude_deg":9.9280192,"altitude":7,"angle":254,"satellites":34,"speed":23,"hex_longitude":"2d7cb200","hex_latitude":"05eae540","is_valid_coordinates":true} 
[2026-09-07 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920188928001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129318583359504384,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995658806111913984,"note":"Value kept but may cause issues"} 
[2026-09-07 08:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750758000,"timestamp_ms":1788750758000,"timestamp_seconds":1788750758,"priority":1,"record_length":96,"hex_timestamp":"000001a079da8070"} 
[2026-09-07 08:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:43: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-07 08:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920188928001,"66":13820,"158":206,"87":13824,"24":23,"16":129318583359504384,"45":8995658806111913984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 08:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920188928001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129318583359504384,"km_value":129318583359504.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995658806111913984,"description":"Unknown IO ID 45"} 
[2026-09-07 08:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920188928001,"power":13820,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8995658806111913984}} 
[2026-09-07 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":174558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:43:54] local.INFO: GPS data processed {"connection_id":174558,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:43:54] local.INFO: Acknowledgment sent {"connection_id":174558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:44:02] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:44:02] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:44:02] local.INFO: IMEI packet received {"connection_id":173183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":173183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:44:04] local.INFO: TCP Data received {"connection_id":173183,"ip":"42.106.6.47","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173183,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 08:44:04] local.INFO: Processing buffer {"connection_id":173183,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 08:44:04] local.INFO: IMEI packet received {"connection_id":173183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":173183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:44:05] local.INFO: TCP Data received {"connection_id":173182,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dada48012d0d958007062db8001300471d..."} 
[2026-09-07 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dada48012d0d958007062db8001300471d..."} 
[2026-09-07 08:44:05] local.INFO: Processing buffer {"connection_id":173182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dada48012d0d958007062db8001300471d..."} 
[2026-09-07 08:44:05] local.INFO: Packet analysis {"connection_id":173182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:44:05] local.INFO: Extracted packet for processing {"connection_id":173182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":755864960,"raw_latitude":117845432,"longitude_deg":75.586496,"latitude_deg":11.7845432,"altitude":19,"angle":71,"satellites":29,"speed":25,"hex_longitude":"2d0d9580","hex_latitude":"07062db8","is_valid_coordinates":true} 
[2026-09-07 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920197888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30409356298158080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974677505772654592,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788750781000,"timestamp_ms":1788750781000,"timestamp_seconds":1788750781,"priority":1,"record_length":96,"hex_timestamp":"000001a079dada48"} 
[2026-09-07 08:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 08:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173182,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920197888001,"66":14309,"167":206,"94":11008,"24":25,"16":30409356298158080,"45":974677505772654592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920197888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30409356298158080,"km_value":30409356298158.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":974677505772654592,"description":"Unknown IO ID 45"} 
[2026-09-07 08:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920197888001,"power":14309,"unknown_167":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":974677505772654592}} 
[2026-09-07 08:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":173182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:44:05] local.INFO: GPS data processed {"connection_id":173182,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:44:05] local.INFO: Acknowledgment sent {"connection_id":173182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:44:12] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:13] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:13] local.INFO: IMEI packet received {"connection_id":173413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":173413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:44:26] local.INFO: TCP Data received {"connection_id":174558,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dc0328012d7c2a4005eb26580003013d23..."} 
[2026-09-07 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dc0328012d7c2a4005eb26580003013d23..."} 
[2026-09-07 08:44:26] local.INFO: Processing buffer {"connection_id":174558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dc0328012d7c2a4005eb26580003013d23..."} 
[2026-09-07 08:44:26] local.INFO: Packet analysis {"connection_id":174558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:44:26] local.INFO: Extracted packet for processing {"connection_id":174558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763112000,"raw_latitude":99296856,"longitude_deg":76.3112,"latitude_deg":9.9296856,"altitude":3,"angle":317,"satellites":35,"speed":29,"hex_longitude":"2d7c2a40","hex_latitude":"05eb2658","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920218880001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129321306368770048,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948089535051466752,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750857000,"timestamp_ms":1788750857000,"timestamp_seconds":1788750857,"priority":1,"record_length":96,"hex_timestamp":"000001a079dc0328"} 
[2026-09-07 08: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-07 08:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-07 08:44:26] 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-07 08: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-07 08: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-07 08:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920218880001,"66":13722,"10":206,"87":13824,"24":29,"16":129321306368770048,"45":8948089535051466752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 08:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920218880001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:44:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 08:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129321306368770048,"km_value":129321306368770.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948089535051466752,"description":"Unknown IO ID 45"} 
[2026-09-07 08:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920218880001,"power":13722,"unknown_10":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8948089535051466752}} 
[2026-09-07 08:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":174558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:44:26] local.INFO: GPS data processed {"connection_id":174558,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:44:26] local.INFO: Acknowledgment sent {"connection_id":174558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:44:27] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:27] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:27] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:44:28] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:28] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:28] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:44:36] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:36] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:44:36] local.INFO: IMEI packet received {"connection_id":175908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":175908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:44:37] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079daedd0012d0da20007063330001300371c..."} 
[2026-09-07 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079daedd0012d0da20007063330001300371c..."} 
[2026-09-07 08:44:37] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079daedd0012d0da20007063330001300371c..."} 
[2026-09-07 08:44:37] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:44:37] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079da"} 
[2026-09-07 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":755868160,"raw_latitude":117846832,"longitude_deg":75.586816,"latitude_deg":11.7846832,"altitude":19,"angle":55,"satellites":28,"speed":22,"hex_longitude":"2d0da200","hex_latitude":"07063330","is_valid_coordinates":true} 
[2026-09-07 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920199936001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30409523801882624,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":978829261679736832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788750786000,"timestamp_ms":1788750786000,"timestamp_seconds":1788750786,"priority":1,"record_length":96,"hex_timestamp":"000001a079daedd0"} 
[2026-09-07 08:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 08:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920199936001,"66":14352,"167":206,"94":11008,"24":22,"16":30409523801882624,"45":978829261679736832},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920199936001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:44:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:44:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30409523801882624,"km_value":30409523801882.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":978829261679736832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920199936001,"power":14352,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":978829261679736832}} 
[2026-09-07 08:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:44:37] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:44:37] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:44:48] local.INFO: TCP Data received {"connection_id":173184,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:48] local.INFO: Processing buffer {"connection_id":173184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:44:48] local.INFO: IMEI packet received {"connection_id":173184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:44:48] local.INFO: TCP Data received {"connection_id":173414,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:48] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:48] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:44:53] local.INFO: TCP Data received {"connection_id":173414,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:53] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:44:53] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:44:55] local.INFO: TCP Data received {"connection_id":173414,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dc0af8012d7c270005eb2b300003014f24..."} 
[2026-09-07 08:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dc0af8012d7c270005eb2b300003014f24..."} 
[2026-09-07 08:44:55] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dc0af8012d7c270005eb2b300003014f24..."} 
[2026-09-07 08:44:55] local.INFO: Packet analysis {"connection_id":173414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:44:55] local.INFO: Extracted packet for processing {"connection_id":173414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":99298096,"longitude_deg":76.3111168,"latitude_deg":9.9298096,"altitude":3,"angle":335,"satellites":36,"speed":28,"hex_longitude":"2d7c2700","hex_latitude":"05eb2b30","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920219392001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129321379383214080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947034003889084416,"note":"Value kept but may cause issues"} 
[2026-09-07 08:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750859000,"timestamp_ms":1788750859000,"timestamp_seconds":1788750859,"priority":1,"record_length":96,"hex_timestamp":"000001a079dc0af8"} 
[2026-09-07 08: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-07 08:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 08:44: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-07 08: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-07 08: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-07 08:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920219392001,"66":13830,"10":206,"87":13824,"24":28,"16":129321379383214080,"45":8947034003889084416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 08:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920219392001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:44:55] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 08:44:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129321379383214080,"km_value":129321379383214.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947034003889084416,"description":"Unknown IO ID 45"} 
[2026-09-07 08:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920219392001,"power":13830,"unknown_10":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8947034003889084416}} 
[2026-09-07 08:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:44:55] local.INFO: GPS data processed {"connection_id":173414,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:44:55] local.INFO: Acknowledgment sent {"connection_id":173414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:45:08] local.INFO: TCP Data received {"connection_id":175908,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dc93b0012d0dd0c0070680900016002d20..."} 
[2026-09-07 08:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dc93b0012d0dd0c0070680900016002d20..."} 
[2026-09-07 08:45:08] local.INFO: Processing buffer {"connection_id":175908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dc93b0012d0dd0c0070680900016002d20..."} 
[2026-09-07 08:45:08] local.INFO: Packet analysis {"connection_id":175908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:08] local.INFO: Extracted packet for processing {"connection_id":175908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":117866640,"longitude_deg":75.5880128,"latitude_deg":11.786664,"altitude":22,"angle":45,"satellites":32,"speed":15,"hex_longitude":"2d0dd0c0","hex_latitude":"07068090","is_valid_coordinates":true} 
[2026-09-07 08:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920228608001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30410816587038720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995154810334320640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788750894000,"timestamp_ms":1788750894000,"timestamp_seconds":1788750894,"priority":1,"record_length":96,"hex_timestamp":"000001a079dc93b0"} 
[2026-09-07 08:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 08:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920228608001,"66":14428,"167":206,"94":11008,"24":15,"16":30410816587038720,"45":995154810334320640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920228608001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:45:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:45:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30410816587038720,"km_value":30410816587038.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":995154810334320640,"description":"Unknown IO ID 45"} 
[2026-09-07 08:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920228608001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":995154810334320640}} 
[2026-09-07 08:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":175908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:45:08] local.INFO: GPS data processed {"connection_id":175908,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:45:08] local.INFO: Acknowledgment sent {"connection_id":175908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:45:26] local.INFO: TCP Data received {"connection_id":173414,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dc0ee0012d7c264005eb2df80003015a24..."} 
[2026-09-07 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dc0ee0012d7c264005eb2df80003015a24..."} 
[2026-09-07 08:45:26] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dc0ee0012d7c264005eb2df80003015a24..."} 
[2026-09-07 08:45:26] local.INFO: Packet analysis {"connection_id":173414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:26] local.INFO: Extracted packet for processing {"connection_id":173414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":99298808,"longitude_deg":76.3110976,"latitude_deg":9.9298808,"altitude":3,"angle":346,"satellites":36,"speed":30,"hex_longitude":"2d7c2640","hex_latitude":"05eb2df8","is_valid_coordinates":true} 
[2026-09-07 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920219904001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129321418037919744,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210215092224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750860000,"timestamp_ms":1788750860000,"timestamp_seconds":1788750860,"priority":1,"record_length":96,"hex_timestamp":"000001a079dc0ee0"} 
[2026-09-07 08:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7036883023495168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627205738240,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3689402369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-09-07 08:45:26] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1891631104,"corrected_to":0} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3943387136,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":208,"raw_value":6917860514206844395,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.WARNING: Large IO value detected {"io_id":6,"raw_value":-7493985376107495398,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:26] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,10,87,24,241,157,16,113,160,3,45,64,38,35,66,251,34,112,235,1,240,220,227,121,4,205,30,224,53,72,239,2,203,5,25,208,6],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0},{"io_id":203,"original":1891631104,"validated":0}]} 
[2026-09-07 08:45:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216541273129746432,"timestamp_seconds":216541273129746.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920219904001,"66":13830,"10":206,"87":13824,"24":30,"16":129321418037919744,"45":8946119210215092224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 08:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920219904001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129321418037919744,"km_value":129321418037919.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210215092224,"description":"Unknown IO ID 45"} 
[2026-09-07 08:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920219904001,"power":13830,"unknown_10":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8946119210215092224}} 
[2026-09-07 08:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":173414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:45:27] local.INFO: GPS data processed {"connection_id":173414,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:45:27] local.INFO: Acknowledgment sent {"connection_id":173414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:45:28] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:28] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:28] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:45:29] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:29] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:29] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:45:31] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:31] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:31] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:45:33] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:33] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:45:33] local.INFO: IMEI packet received {"connection_id":173185,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":173185,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:45:33] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dd04f8012d0def400706b6800016015a1f..."} 
[2026-09-07 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dd04f8012d0def400706b6800016015a1f..."} 
[2026-09-07 08:45:33] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dd04f8012d0def400706b6800016015a1f..."} 
[2026-09-07 08:45:33] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:45:33] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":755887936,"raw_latitude":117880448,"longitude_deg":75.5887936,"latitude_deg":11.7880448,"altitude":22,"angle":346,"satellites":31,"speed":20,"hex_longitude":"2d0def40","hex_latitude":"0706b680","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920236032001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30411697055334400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004232378336704512,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788750923000,"timestamp_ms":1788750923000,"timestamp_seconds":1788750923,"priority":1,"record_length":96,"hex_timestamp":"000001a079dd04f8"} 
[2026-09-07 08: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-07 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-07 08:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920236032001,"66":14646,"167":206,"94":11008,"24":20,"16":30411697055334400,"45":1004232378336704512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920236032001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:45:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:45:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30411697055334400,"km_value":30411697055334.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004232378336704512,"description":"Unknown IO ID 45"} 
[2026-09-07 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920236032001,"power":14646,"unknown_167":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":1004232378336704512}} 
[2026-09-07 08:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:45:34] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:45:34] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:45:48] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:48] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:48] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:45:53] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:53] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:45:53] local.INFO: IMEI packet received {"connection_id":175910,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":175910,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:45:54] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dc2268012d7c24c005eb3b100002016625..."} 
[2026-09-07 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dc2268012d7c24c005eb3b100002016625..."} 
[2026-09-07 08:45:54] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dc2268012d7c24c005eb3b100002016625..."} 
[2026-09-07 08:45:54] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:54] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dc"} 
[2026-09-07 08:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763110592,"raw_latitude":99302160,"longitude_deg":76.3110592,"latitude_deg":9.930216,"altitude":2,"angle":358,"satellites":37,"speed":24,"hex_longitude":"2d7c24c0","hex_latitude":"05eb3b10","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920220160001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129321581246676992,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945908103982741504,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788750865000,"timestamp_ms":1788750865000,"timestamp_seconds":1788750865,"priority":1,"record_length":96,"hex_timestamp":"000001a079dc2268"} 
[2026-09-07 08: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-07 08:45: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-07 08: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7881307953627136,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627205734400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3689658369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040078,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1892679680,"corrected_to":0} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3943647232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3459096000352749035,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5764611926552608793,"note":"Value kept but may cause issues"} 
[2026-09-07 08:45:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,10,87,24,241,157,16,113,160,45,43,3,36,66,64,38,35,251,1,240,219,227,112,121,235,4,205,30,231,50,224,239,51,2,203,5,28,216,11],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0},{"io_id":203,"original":1892679680,"validated":0}]} 
[2026-09-07 08:45:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216553367757783040,"timestamp_seconds":216553367757783.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920220160001,"66":13646,"10":206,"87":13824,"24":24,"16":129321581246676992,"45":8945908103982741504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 08:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920220160001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:45:54] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 08:45:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129321581246676992,"km_value":129321581246676.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945908103982741504,"description":"Unknown IO ID 45"} 
[2026-09-07 08:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920220160001,"power":13646,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8945908103982741504}} 
[2026-09-07 08:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:45:54] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:45:54] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:46:04] local.INFO: TCP Data received {"connection_id":173185,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dd08e0012d0dee400706b8780016014e1f..."} 
[2026-09-07 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dd08e0012d0dee400706b8780016014e1f..."} 
[2026-09-07 08:46:04] local.INFO: Processing buffer {"connection_id":173185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dd08e0012d0dee400706b8780016014e1f..."} 
[2026-09-07 08:46:04] local.INFO: Packet analysis {"connection_id":173185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:04] local.INFO: Extracted packet for processing {"connection_id":173185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755887680,"raw_latitude":117880952,"longitude_deg":75.588768,"latitude_deg":11.7880952,"altitude":22,"angle":334,"satellites":31,"speed":21,"hex_longitude":"2d0dee40","hex_latitude":"0706b878","is_valid_coordinates":true} 
[2026-09-07 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920236288001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30411722825138176,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004091640848482304,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788750924000,"timestamp_ms":1788750924000,"timestamp_seconds":1788750924,"priority":1,"record_length":96,"hex_timestamp":"000001a079dd08e0"} 
[2026-09-07 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-07 08:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173185,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920236288001,"66":14374,"167":206,"94":11008,"24":21,"16":30411722825138176,"45":1004091640848482304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920236288001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:46:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 08:46:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30411722825138176,"km_value":30411722825138.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004091640848482304,"description":"Unknown IO ID 45"} 
[2026-09-07 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920236288001,"power":14374,"unknown_167":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":1004091640848482304}} 
[2026-09-07 08:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":173185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:46:05] local.INFO: GPS data processed {"connection_id":173185,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:46:05] local.INFO: Acknowledgment sent {"connection_id":173185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:46:26] local.INFO: TCP Data received {"connection_id":175910,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ddbc90012d7be70005ec36980000003f26..."} 
[2026-09-07 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ddbc90012d7be70005ec36980000003f26..."} 
[2026-09-07 08:46:26] local.INFO: Processing buffer {"connection_id":175910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ddbc90012d7be70005ec36980000003f26..."} 
[2026-09-07 08:46:26] local.INFO: Packet analysis {"connection_id":175910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:26] local.INFO: Extracted packet for processing {"connection_id":175910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99366552,"longitude_deg":76.3094784,"latitude_deg":9.9366552,"altitude":0,"angle":63,"satellites":38,"speed":16,"hex_longitude":"2d7be700","hex_latitude":"05ec3698","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920248064001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129324849716789248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599258021888,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788750970000,"timestamp_ms":1788750970000,"timestamp_seconds":1788750970,"priority":1,"record_length":96,"hex_timestamp":"000001a079ddbc90"} 
[2026-09-07 08: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-07 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 08:46:26] 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-07 08: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-07 08: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-07 08:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175910,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920248064001,"66":13906,"198":206,"87":13824,"24":16,"16":129324849716789248,"45":8927682599258021888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920248064001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:46:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129324849716789248,"km_value":129324849716789.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599258021888,"description":"Unknown IO ID 45"} 
[2026-09-07 08:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920248064001,"power":13906,"unknown_198":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8927682599258021888}} 
[2026-09-07 08:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":175910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:46:26] local.INFO: GPS data processed {"connection_id":175910,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:46:26] local.INFO: Acknowledgment sent {"connection_id":175910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:46:28] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:28] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:28] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:46:33] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:33] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:46:33] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:46:34] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dd9968012d0dcd400706e870001e016520..."} 
[2026-09-07 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dd9968012d0dcd400706e870001e016520..."} 
[2026-09-07 08:46:34] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dd9968012d0dcd400706e870001e016520..."} 
[2026-09-07 08:46:34] local.INFO: Packet analysis {"connection_id":173415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:34] local.INFO: Extracted packet for processing {"connection_id":173415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":755879232,"raw_latitude":117893232,"longitude_deg":75.5879232,"latitude_deg":11.7893232,"altitude":30,"angle":357,"satellites":32,"speed":8,"hex_longitude":"2d0dcd40","hex_latitude":"0706e870","is_valid_coordinates":true} 
[2026-09-07 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920244992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30412590408531968,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994802966620067840,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788750961000,"timestamp_ms":1788750961000,"timestamp_seconds":1788750961,"priority":1,"record_length":96,"hex_timestamp":"000001a079dd9968"} 
[2026-09-07 08:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920244992001,"66":14580,"219":206,"94":10240,"24":8,"16":30412590408531968,"45":994802966620067840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920244992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30412590408531968,"km_value":30412590408531.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":994802966620067840,"description":"Unknown IO ID 45"} 
[2026-09-07 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920244992001,"power":14580,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":994802966620067840}} 
[2026-09-07 08:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":173415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:46:34] local.INFO: GPS data processed {"connection_id":173415,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:46:34] local.INFO: Acknowledgment sent {"connection_id":173415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:46:48] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:48] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:48] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:46:49] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:49] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:49] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:46:53] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:53] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:46:53] local.INFO: IMEI packet received {"connection_id":174561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":174561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:46:55] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ddc078012d7be8c005ec36f00000004e24..."} 
[2026-09-07 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ddc078012d7be8c005ec36f00000004e24..."} 
[2026-09-07 08:46:55] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ddc078012d7be8c005ec36f00000004e24..."} 
[2026-09-07 08:46:55] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:55] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":99366640,"longitude_deg":76.3095232,"latitude_deg":9.936664,"altitude":0,"angle":78,"satellites":36,"speed":18,"hex_longitude":"2d7be8c0","hex_latitude":"05ec36f0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920248320001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129324871191625728,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811723134976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750971000,"timestamp_ms":1788750971000,"timestamp_seconds":1788750971,"priority":1,"record_length":96,"hex_timestamp":"000001a079ddc078"} 
[2026-09-07 08: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-07 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 08:46:55] 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-07 08: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-07 08: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-07 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920248320001,"66":13559,"198":206,"87":13824,"24":18,"16":129324871191625728,"45":8928104811723134976},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920248320001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:46:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:46:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129324871191625728,"km_value":129324871191625.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811723134976,"description":"Unknown IO ID 45"} 
[2026-09-07 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920248320001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8928104811723134976}} 
[2026-09-07 08:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:46:55] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:46:55] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:05] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ddb4c0012d0dcd800706f2a8001b000e1f..."} 
[2026-09-07 08:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ddb4c0012d0dcd800706f2a8001b000e1f..."} 
[2026-09-07 08:47:05] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ddb4c0012d0dcd800706f2a8001b000e1f..."} 
[2026-09-07 08:47:05] local.INFO: Packet analysis {"connection_id":173415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:05] local.INFO: Extracted packet for processing {"connection_id":173415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":755879296,"raw_latitude":117895848,"longitude_deg":75.5879296,"latitude_deg":11.7895848,"altitude":27,"angle":14,"satellites":31,"speed":15,"hex_longitude":"2d0dcd80","hex_latitude":"0706f2a8","is_valid_coordinates":true} 
[2026-09-07 08:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920246016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30412714962583552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994521491643592704,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788750968000,"timestamp_ms":1788750968000,"timestamp_seconds":1788750968,"priority":1,"record_length":96,"hex_timestamp":"000001a079ddb4c0"} 
[2026-09-07 08:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173415,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920246016001,"66":14450,"219":206,"94":10240,"24":15,"16":30412714962583552,"45":994521491643592704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920246016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30412714962583552,"km_value":30412714962583.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":994521491643592704,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920246016001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":994521491643592704}} 
[2026-09-07 08:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":173415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:05] local.INFO: GPS data processed {"connection_id":173415,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:05] local.INFO: Acknowledgment sent {"connection_id":173415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:27] local.INFO: TCP Data received {"connection_id":174561,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ddc848012d7bec0005ec37300000005925..."} 
[2026-09-07 08:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ddc848012d7bec0005ec37300000005925..."} 
[2026-09-07 08:47:27] local.INFO: Processing buffer {"connection_id":174561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ddc848012d7bec0005ec37300000005925..."} 
[2026-09-07 08:47:27] local.INFO: Packet analysis {"connection_id":174561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:27] local.INFO: Extracted packet for processing {"connection_id":174561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763096064,"raw_latitude":99366704,"longitude_deg":76.3096064,"latitude_deg":9.9366704,"altitude":0,"angle":89,"satellites":37,"speed":12,"hex_longitude":"2d7bec00","hex_latitude":"05ec3730","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920248576001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129324909846331392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392932401152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788750973000,"timestamp_ms":1788750973000,"timestamp_seconds":1788750973,"priority":1,"record_length":96,"hex_timestamp":"000001a079ddc848"} 
[2026-09-07 08: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-07 08:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:27] 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-07 08: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-07 08: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-07 08:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920248576001,"66":13461,"198":206,"87":13824,"24":12,"16":129324909846331392,"45":8928597392932401152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920248576001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:47:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129324909846331392,"km_value":129324909846331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392932401152,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920248576001,"power":13461,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8928597392932401152}} 
[2026-09-07 08:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":174561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:27] local.INFO: GPS data processed {"connection_id":174561,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:27] local.INFO: Acknowledgment sent {"connection_id":174561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:29] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:29] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:29] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:47:31] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:31] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:31] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:33] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:33] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:33] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:36] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:36] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:47:36] local.INFO: IMEI packet received {"connection_id":173188,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":173188,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:37] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079de8f80012d0e3bc007070290001b008f20..."} 
[2026-09-07 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079de8f80012d0e3bc007070290001b008f20..."} 
[2026-09-07 08:47:37] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079de8f80012d0e3bc007070290001b008f20..."} 
[2026-09-07 08:47:37] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:37] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":755907520,"raw_latitude":117899920,"longitude_deg":75.590752,"latitude_deg":11.789992,"altitude":27,"angle":143,"satellites":32,"speed":16,"hex_longitude":"2d0e3bc0","hex_latitude":"07070290","is_valid_coordinates":true} 
[2026-09-07 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920261888001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30414158071595008,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025272632851013632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788751024000,"timestamp_ms":1788751024000,"timestamp_seconds":1788751024,"priority":1,"record_length":96,"hex_timestamp":"000001a079de8f80"} 
[2026-09-07 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920261888001,"66":14374,"219":206,"94":10240,"24":16,"16":30414158071595008,"45":1025272632851013632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920261888001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30414158071595008,"km_value":30414158071595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025272632851013632,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920261888001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1025272632851013632}} 
[2026-09-07 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:37] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:37] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:38] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079de9750012d0e3d0007070020001a00a820..."} 
[2026-09-07 08:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079de9750012d0e3d0007070020001a00a820..."} 
[2026-09-07 08:47:38] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079de9750012d0e3d0007070020001a00a820..."} 
[2026-09-07 08:47:38] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:38] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117899296,"longitude_deg":75.590784,"latitude_deg":11.7899296,"altitude":26,"angle":168,"satellites":32,"speed":12,"hex_longitude":"2d0e3d00","hex_latitude":"07070020","is_valid_coordinates":true} 
[2026-09-07 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920262144001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30414192431333376,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025624476571832320,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788751026000,"timestamp_ms":1788751026000,"timestamp_seconds":1788751026,"priority":1,"record_length":96,"hex_timestamp":"000001a079de9750"} 
[2026-09-07 08:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920262144001,"66":14613,"219":206,"94":10240,"24":12,"16":30414192431333376,"45":1025624476571832320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920262144001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:47:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30414192431333376,"km_value":30414192431333.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025624476571832320,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920262144001,"power":14613,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025624476571832320}} 
[2026-09-07 08:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:38] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:38] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:48] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:47:48] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:48] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:52] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:52] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:52] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:53] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:53] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:47:53] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:47:55] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ddfef8012d7c124005ec38a00001005725..."} 
[2026-09-07 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ddfef8012d7c124005ec38a00001005725..."} 
[2026-09-07 08:47:55] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ddfef8012d7c124005ec38a00001005725..."} 
[2026-09-07 08:47:55] local.INFO: Packet analysis {"connection_id":173417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:55] local.INFO: Extracted packet for processing {"connection_id":173417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079dd"} 
[2026-09-07 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763105856,"raw_latitude":99367072,"longitude_deg":76.3105856,"latitude_deg":9.9367072,"altitude":1,"angle":87,"satellites":37,"speed":40,"hex_longitude":"2d7c1240","hex_latitude":"05ec38a0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920249088001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129325377997766656,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929512186606727168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788750987000,"timestamp_ms":1788750987000,"timestamp_seconds":1788750987,"priority":1,"record_length":96,"hex_timestamp":"000001a079ddfef8"} 
[2026-09-07 08: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-07 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:55] 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-07 08: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-07 08: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-07 08:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920249088001,"66":13537,"198":206,"87":13824,"24":40,"16":129325377997766656,"45":8929512186606727168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920249088001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:47:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129325377997766656,"km_value":129325377997766.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929512186606727168,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920249088001,"power":13537,"unknown_198":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8929512186606727168}} 
[2026-09-07 08:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":173417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:55] local.INFO: GPS data processed {"connection_id":173417,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:55] local.INFO: Acknowledgment sent {"connection_id":173417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:47:56] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079de2608012d7c380005ec3a000006005727..."} 
[2026-09-07 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079de2608012d7c380005ec3a000006005727..."} 
[2026-09-07 08:47:56] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079de2608012d7c380005ec3a000006005727..."} 
[2026-09-07 08:47:56] local.INFO: Packet analysis {"connection_id":173417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:56] local.INFO: Extracted packet for processing {"connection_id":173417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763115520,"raw_latitude":99367424,"longitude_deg":76.311552,"latitude_deg":9.9367424,"altitude":6,"angle":87,"satellites":39,"speed":34,"hex_longitude":"2d7c3800","hex_latitude":"05ec3a00","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920252672001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129325841854234624,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940278604466003968,"note":"Value kept but may cause issues"} 
[2026-09-07 08:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788750997000,"timestamp_ms":1788750997000,"timestamp_seconds":1788750997,"priority":1,"record_length":96,"hex_timestamp":"000001a079de2608"} 
[2026-09-07 08: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-07 08:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 08:47:56] 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-07 08: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-07 08: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-07 08:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920252672001,"66":13493,"198":206,"87":13824,"24":34,"16":129325841854234624,"45":8940278604466003968},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920252672001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:47:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:47:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129325841854234624,"km_value":129325841854234.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940278604466003968,"description":"Unknown IO ID 45"} 
[2026-09-07 08:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920252672001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8940278604466003968}} 
[2026-09-07 08:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":173417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:47:56] local.INFO: GPS data processed {"connection_id":173417,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:47:56] local.INFO: Acknowledgment sent {"connection_id":173417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:48:09] local.INFO: TCP Data received {"connection_id":173188,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079de9b38012d0e3d000706fef0001b00b720..."} 
[2026-09-07 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079de9b38012d0e3d000706fef0001b00b720..."} 
[2026-09-07 08:48:09] local.INFO: Processing buffer {"connection_id":173188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079de9b38012d0e3d000706fef0001b00b720..."} 
[2026-09-07 08:48:09] local.INFO: Packet analysis {"connection_id":173188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:48:09] local.INFO: Extracted packet for processing {"connection_id":173188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079de"} 
[2026-09-07 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117898992,"longitude_deg":75.590784,"latitude_deg":11.7898992,"altitude":27,"angle":183,"satellites":32,"speed":12,"hex_longitude":"2d0e3d00","hex_latitude":"0706fef0","is_valid_coordinates":true} 
[2026-09-07 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920262656001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30414205316235264,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292560896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788751027000,"timestamp_ms":1788751027000,"timestamp_seconds":1788751027,"priority":1,"record_length":96,"hex_timestamp":"000001a079de9b38"} 
[2026-09-07 08:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 08:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173188,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920262656001,"66":14439,"219":206,"94":10240,"24":12,"16":30414205316235264,"45":1025976320292560896},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920262656001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:48:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:48:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30414205316235264,"km_value":30414205316235.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292560896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920262656001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1025976320292560896}} 
[2026-09-07 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":173188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:48:10] local.INFO: GPS data processed {"connection_id":173188,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:48:10] local.INFO: Acknowledgment sent {"connection_id":173188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:48:24] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:24] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:24] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:48:27] local.INFO: TCP Data received {"connection_id":173417,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079df81b0012d7d190005ec3d58000701032a..."} 
[2026-09-07 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079df81b0012d7d190005ec3d58000701032a..."} 
[2026-09-07 08:48:27] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079df81b0012d7d190005ec3d58000701032a..."} 
[2026-09-07 08:48:27] local.INFO: Packet analysis {"connection_id":173417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:27] local.INFO: Extracted packet for processing {"connection_id":173417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763173120,"raw_latitude":99368280,"longitude_deg":76.317312,"latitude_deg":9.936828,"altitude":7,"angle":259,"satellites":42,"speed":15,"hex_longitude":"2d7d1900","hex_latitude":"05ec3d58","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920276992001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129328779611865088,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248156672,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788751086000,"timestamp_ms":1788751086000,"timestamp_seconds":1788751086,"priority":1,"record_length":96,"hex_timestamp":"000001a079df81b0"} 
[2026-09-07 08: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-07 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 08:48:27] 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-07 08:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08: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-07 08:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173417,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920276992001,"66":13580,"110":206,"87":13824,"24":15,"16":129328779611865088,"45":9015432423248156672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 08:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920276992001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:48:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:48:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129328779611865088,"km_value":129328779611865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248156672,"description":"Unknown IO ID 45"} 
[2026-09-07 08:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920276992001,"power":13580,"unknown_110":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9015432423248156672}} 
[2026-09-07 08:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":173417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:48:28] local.INFO: GPS data processed {"connection_id":173417,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:48:28] local.INFO: Acknowledgment sent {"connection_id":173417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:48:28] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:28] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:28] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:48:29] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:29] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:48:29] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:48:29] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfb478012d0e3200070685a8001c00d020..."} 
[2026-09-07 08:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfb478012d0e3200070685a8001c00d020..."} 
[2026-09-07 08:48:29] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfb478012d0e3200070685a8001c00d020..."} 
[2026-09-07 08:48:29] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:29] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755905024,"raw_latitude":117867944,"longitude_deg":75.5905024,"latitude_deg":11.7867944,"altitude":28,"angle":208,"satellites":32,"speed":12,"hex_longitude":"2d0e3200","hex_latitude":"070685a8","is_valid_coordinates":true} 
[2026-09-07 08:48: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-07 08:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920281088001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30415742914527232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023020833029158912,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788751099000,"timestamp_ms":1788751099000,"timestamp_seconds":1788751099,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfb478"} 
[2026-09-07 08:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:48: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-07 08:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 08:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:48: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-07 08:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920281088001,"66":14309,"219":206,"94":10240,"24":12,"16":30415742914527232,"45":1023020833029158912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920281088001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:48:29] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30415742914527232,"km_value":30415742914527.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023020833029158912,"description":"Unknown IO ID 45"} 
[2026-09-07 08:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920281088001,"power":14309,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1023020833029158912}} 
[2026-09-07 08:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:48:29] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:48:29] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:48:53] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:53] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:53] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:48:57] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:57] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:48:57] local.INFO: IMEI packet received {"connection_id":173190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":173190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:48:57] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079df9920012d7d10c005ec3c80000801152a..."} 
[2026-09-07 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079df9920012d7d10c005ec3c80000801152a..."} 
[2026-09-07 08:48:58] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079df9920012d7d10c005ec3c80000801152a..."} 
[2026-09-07 08:48:58] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:58] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763171008,"raw_latitude":99368064,"longitude_deg":76.3171008,"latitude_deg":9.9368064,"altitude":8,"angle":277,"satellites":42,"speed":6,"hex_longitude":"2d7d10c0","hex_latitude":"05ec3c80","is_valid_coordinates":true} 
[2026-09-07 08:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920278016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129328882691080192,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154597038080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788751092000,"timestamp_ms":1788751092000,"timestamp_seconds":1788751092,"priority":1,"record_length":96,"hex_timestamp":"000001a079df9920"} 
[2026-09-07 08:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631223,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3785379940409540608,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3746234369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632689129965934,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2089895995377765975,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2008547328,"corrected_to":0} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963883520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-1152914992331751416,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,110,87,24,241,157,16,119,160,114,45,64,62,7,42,10,66,82,41,78,1,240,84,227,121,236,4,113,205,12,71,29,88,40,239,52,2,203,5,9,28,124,54],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":203,"original":2008547328,"validated":0}]} 
[2026-09-07 08:48:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504688112166699008,"timestamp_seconds":504688112166699.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920278016001,"66":13276,"110":206,"87":13824,"24":6,"16":129328882691080192,"45":9014236154597038080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 08:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920278016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:48:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129328882691080192,"km_value":129328882691080.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154597038080,"description":"Unknown IO ID 45"} 
[2026-09-07 08:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920278016001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9014236154597038080}} 
[2026-09-07 08:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:48:58] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:48:58] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:48:59] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfb478012d7d078005ec3bd00009010a2a..."} 
[2026-09-07 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfb478012d7d078005ec3bd00009010a2a..."} 
[2026-09-07 08:48:59] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfb478012d7d078005ec3bd00009010a2a..."} 
[2026-09-07 08:48:59] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:59] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":99367888,"longitude_deg":76.316864,"latitude_deg":9.9367888,"altitude":9,"angle":266,"satellites":42,"speed":24,"hex_longitude":"2d7d0780","hex_latitude":"05ec3bd0","is_valid_coordinates":true} 
[2026-09-07 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920279552001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129328994360229888,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011913986039119872,"note":"Value kept but may cause issues"} 
[2026-09-07 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788751099000,"timestamp_ms":1788751099000,"timestamp_seconds":1788751099,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfb478"} 
[2026-09-07 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 08:48:59] 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-07 08:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920279552001,"66":13798,"110":206,"87":13824,"24":24,"16":129328994360229888,"45":9011913986039119872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920279552001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:48:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:48:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129328994360229888,"km_value":129328994360229.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011913986039119872,"description":"Unknown IO ID 45"} 
[2026-09-07 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920279552001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":9011913986039119872}} 
[2026-09-07 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:48:59] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:48:59] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:00] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfb860012d0e3140070684c0001c00dd20..."} 
[2026-09-07 08:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfb860012d0e3140070684c0001c00dd20..."} 
[2026-09-07 08:49:00] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfb860012d0e3140070684c0001c00dd20..."} 
[2026-09-07 08:49:00] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:00] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117867712,"longitude_deg":75.5904832,"latitude_deg":11.7867712,"altitude":28,"angle":221,"satellites":32,"speed":10,"hex_longitude":"2d0e3140","hex_latitude":"070684c0","is_valid_coordinates":true} 
[2026-09-07 08:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920281344001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30415755799429120,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095540717568,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788751100000,"timestamp_ms":1788751100000,"timestamp_seconds":1788751100,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfb860"} 
[2026-09-07 08:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:49: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-07 08:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920281344001,"66":14537,"219":206,"94":10240,"24":10,"16":30415755799429120,"45":1022880095540717568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920281344001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:49:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30415755799429120,"km_value":30415755799429.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095540717568,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920281344001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1022880095540717568}} 
[2026-09-07 08:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:00] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:00] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:05] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:05] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:05] local.INFO: IMEI packet received {"connection_id":173189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":173189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:49:06] local.INFO: TCP Data received {"connection_id":173189,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a079df3778012d0d73c006eb05200015011729..."} 
[2026-09-07 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079df3778012d0d73c006eb05200015011729..."} 
[2026-09-07 08:49:06] local.INFO: Processing buffer {"connection_id":173189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079df3778012d0d73c006eb05200015011729..."} 
[2026-09-07 08:49:06] local.INFO: Packet analysis {"connection_id":173189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:06] local.INFO: Extracted packet for processing {"connection_id":173189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755856320,"raw_latitude":116065568,"longitude_deg":75.585632,"latitude_deg":11.6065568,"altitude":21,"angle":279,"satellites":41,"speed":13,"hex_longitude":"2d0d73c0","hex_latitude":"06eb0520","is_valid_coordinates":true} 
[2026-09-07 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920271104001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400973972046348288,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":970947961876080640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788751067000,"timestamp_ms":1788751067000,"timestamp_seconds":1788751067,"priority":1,"record_length":96,"hex_timestamp":"000001a079df3778"} 
[2026-09-07 08:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920271104001,"66":27908,"84":206,"80":6400,"24":13,"16":400973972046348288,"45":970947961876080640},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920271104001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:49:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400973972046348288,"km_value":400973972046348.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":970947961876080640,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920271104001,"power":27908,"unknown_84":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":970947961876080640}} 
[2026-09-07 08:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":173189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:06] local.INFO: GPS data processed {"connection_id":173189,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:06] local.INFO: Acknowledgment sent {"connection_id":173189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:28] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:28] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:28] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:49:30] local.INFO: TCP Data received {"connection_id":173190,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfe358012d7ce20005ec3968000d010c2a..."} 
[2026-09-07 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfe358012d7ce20005ec3968000d010c2a..."} 
[2026-09-07 08:49:30] local.INFO: Processing buffer {"connection_id":173190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfe358012d7ce20005ec3968000d010c2a..."} 
[2026-09-07 08:49:30] local.INFO: Packet analysis {"connection_id":173190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:30] local.INFO: Extracted packet for processing {"connection_id":173190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":99367272,"longitude_deg":76.315904,"latitude_deg":9.9367272,"altitude":13,"angle":268,"satellites":42,"speed":29,"hex_longitude":"2d7ce200","hex_latitude":"05ec3968","is_valid_coordinates":true} 
[2026-09-07 08:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920281344001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129329453921730560,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342504501248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788751111000,"timestamp_ms":1788751111000,"timestamp_seconds":1788751111,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfe358"} 
[2026-09-07 08:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:30] 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-07 08:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920281344001,"66":13602,"110":206,"87":13824,"24":29,"16":129329453921730560,"45":9009310342504501248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 08:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920281344001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:49:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129329453921730560,"km_value":129329453921730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342504501248,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920281344001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9009310342504501248}} 
[2026-09-07 08:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":173190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:30] local.INFO: GPS data processed {"connection_id":173190,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:30] local.INFO: Acknowledgment sent {"connection_id":173190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:33] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:33] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:49:33] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:49:33] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfbc48012d0e30c007068410001c00ef20..."} 
[2026-09-07 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfbc48012d0e30c007068410001c00ef20..."} 
[2026-09-07 08:49:33] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfbc48012d0e30c007068410001c00ef20..."} 
[2026-09-07 08:49:33] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:33] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":755904704,"raw_latitude":117867536,"longitude_deg":75.5904704,"latitude_deg":11.7867536,"altitude":28,"angle":239,"satellites":32,"speed":9,"hex_longitude":"2d0e30c0","hex_latitude":"07068410","is_valid_coordinates":true} 
[2026-09-07 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920281600001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30415768684331008,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022668989308125184,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788751101000,"timestamp_ms":1788751101000,"timestamp_seconds":1788751101,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfbc48"} 
[2026-09-07 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:49: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-07 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920281600001,"66":14537,"219":206,"94":10240,"24":9,"16":30415768684331008,"45":1022668989308125184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920281600001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:49:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30415768684331008,"km_value":30415768684331.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022668989308125184,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920281600001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1022668989308125184}} 
[2026-09-07 08:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:33] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:33] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:45] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:45] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:45] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:49:48] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:48] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:48] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:49:50] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:50] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:49:50] local.INFO: IMEI packet received {"connection_id":175912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":175912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:49:51] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a079df8980012d0d51c006eb0dc80013011b27..."} 
[2026-09-07 08:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079df8980012d0d51c006eb0dc80013011b27..."} 
[2026-09-07 08:49:51] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079df8980012d0d51c006eb0dc80013011b27..."} 
[2026-09-07 08:49:51] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:51] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:49:51] local.INFO: GPS Element Parsed {"raw_longitude":755847616,"raw_latitude":116067784,"longitude_deg":75.5847616,"latitude_deg":11.6067784,"altitude":19,"angle":283,"satellites":39,"speed":12,"hex_longitude":"2d0d51c0","hex_latitude":"06eb0dc8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920273152001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400974397248110592,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969329480760107008,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751088000,"timestamp_ms":1788751088000,"timestamp_seconds":1788751088,"priority":1,"record_length":96,"hex_timestamp":"000001a079df8980"} 
[2026-09-07 08: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-07 08: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-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:49:51] local.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-07 08:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920273152001,"66":27767,"84":206,"80":6400,"24":12,"16":400974397248110592,"45":969329480760107008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920273152001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:49:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400974397248110592,"km_value":400974397248110.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":969329480760107008,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920273152001,"power":27767,"unknown_84":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":969329480760107008}} 
[2026-09-07 08:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:51] local.INFO: GPS data processed {"connection_id":175912,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:51] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:49:54] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:54] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:49:54] local.INFO: IMEI packet received {"connection_id":175913,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":175913,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:49:55] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e01238012d7cbc0005ec3840000f010c27..."} 
[2026-09-07 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e01238012d7cbc0005ec3840000f010c27..."} 
[2026-09-07 08:49:55] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e01238012d7cbc0005ec3840000f010c27..."} 
[2026-09-07 08:49:55] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:49:55] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":763149312,"raw_latitude":99366976,"longitude_deg":76.3149312,"latitude_deg":9.9366976,"altitude":15,"angle":268,"satellites":39,"speed":34,"hex_longitude":"2d7cbc00","hex_latitude":"05ec3840","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920284416001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129329917778198528,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030877693952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788751123000,"timestamp_ms":1788751123000,"timestamp_seconds":1788751123,"priority":1,"record_length":96,"hex_timestamp":"000001a079e01238"} 
[2026-09-07 08: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-07 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 08:49:55] 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-07 08: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-07 08: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-07 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920284416001,"66":13624,"110":206,"87":13824,"24":34,"16":129329917778198528,"45":8998755030877693952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920284416001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:49:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 08:49:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129329917778198528,"km_value":129329917778198.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030877693952,"description":"Unknown IO ID 45"} 
[2026-09-07 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920284416001,"power":13624,"unknown_110":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8998755030877693952}} 
[2026-09-07 08:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:49:55] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:49:55] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:04] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e13b18012d0e084007068ee80013013c20..."} 
[2026-09-07 08:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e13b18012d0e084007068ee80013013c20..."} 
[2026-09-07 08:50:04] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e13b18012d0e084007068ee80013013c20..."} 
[2026-09-07 08:50:04] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:50:04] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:50:04] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":117870312,"longitude_deg":75.5894336,"latitude_deg":11.7870312,"altitude":19,"angle":316,"satellites":32,"speed":6,"hex_longitude":"2d0e0840","hex_latitude":"07068ee8","is_valid_coordinates":true} 
[2026-09-07 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920306176001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30416339914981376,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751906816,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788751199000,"timestamp_ms":1788751199000,"timestamp_seconds":1788751199,"priority":1,"record_length":96,"hex_timestamp":"000001a079e13b18"} 
[2026-09-07 08:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:50: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-07 08:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 08:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920306176001,"66":14374,"219":206,"94":10240,"24":6,"16":30416339914981376,"45":1011269252751906816},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920306176001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:50:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:50:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30416339914981376,"km_value":30416339914981.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751906816,"description":"Unknown IO ID 45"} 
[2026-09-07 08:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920306176001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011269252751906816}} 
[2026-09-07 08:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:50:04] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:50:04] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:08] local.INFO: TCP Data received {"connection_id":174563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:08] local.INFO: Processing buffer {"connection_id":174563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:08] local.INFO: IMEI packet received {"connection_id":174563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":174563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:50:23] local.INFO: TCP Data received {"connection_id":175912,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfa4d8012d0d4ac006eb1018001201272a..."} 
[2026-09-07 08:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfa4d8012d0d4ac006eb1018001201272a..."} 
[2026-09-07 08:50:23] local.INFO: Processing buffer {"connection_id":175912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfa4d8012d0d4ac006eb1018001201272a..."} 
[2026-09-07 08:50:23] local.INFO: Packet analysis {"connection_id":175912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:50:23] local.INFO: Extracted packet for processing {"connection_id":175912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755845824,"raw_latitude":116068376,"longitude_deg":75.5845824,"latitude_deg":11.6068376,"altitude":18,"angle":295,"satellites":42,"speed":7,"hex_longitude":"2d0d4ac0","hex_latitude":"06eb1018","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920278528001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400974491737391104,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":959759331552512000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751095000,"timestamp_ms":1788751095000,"timestamp_seconds":1788751095,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfa4d8"} 
[2026-09-07 08: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-07 08:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:50:23] local.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-07 08:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920278528001,"66":27908,"84":206,"80":6400,"24":7,"16":400974491737391104,"45":959759331552512000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920278528001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:50:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:50:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400974491737391104,"km_value":400974491737391.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":959759331552512000,"description":"Unknown IO ID 45"} 
[2026-09-07 08:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920278528001,"power":27908,"unknown_84":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":959759331552512000}} 
[2026-09-07 08:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":175912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:50:23] local.INFO: GPS data processed {"connection_id":175912,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:50:23] local.INFO: Acknowledgment sent {"connection_id":175912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:27] local.INFO: TCP Data received {"connection_id":175913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e04118012d7c978005ec3730000c010b2b..."} 
[2026-09-07 08:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e04118012d7c978005ec3730000c010b2b..."} 
[2026-09-07 08:50:27] local.INFO: Processing buffer {"connection_id":175913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e04118012d7c978005ec3730000c010b2b..."} 
[2026-09-07 08:50:27] local.INFO: Packet analysis {"connection_id":175913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:50:27] local.INFO: Extracted packet for processing {"connection_id":175913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":99366704,"longitude_deg":76.3139968,"latitude_deg":9.9366704,"altitude":12,"angle":267,"satellites":43,"speed":30,"hex_longitude":"2d7c9780","hex_latitude":"05ec3730","is_valid_coordinates":true} 
[2026-09-07 08:50: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-07 08:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920287488001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129330364454797312,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988058981762613248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788751135000,"timestamp_ms":1788751135000,"timestamp_seconds":1788751135,"priority":1,"record_length":96,"hex_timestamp":"000001a079e04118"} 
[2026-09-07 08:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:50: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":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:50:27] 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-07 08:50: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-07 08:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175913,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920287488001,"66":13102,"198":206,"87":13824,"24":30,"16":129330364454797312,"45":8988058981762613248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920287488001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:50:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:50:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129330364454797312,"km_value":129330364454797.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988058981762613248,"description":"Unknown IO ID 45"} 
[2026-09-07 08:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920287488001,"power":13102,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8988058981762613248}} 
[2026-09-07 08:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":175913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:50:27] local.INFO: GPS data processed {"connection_id":175913,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:50:27] local.INFO: Acknowledgment sent {"connection_id":175913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:28] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:50:28] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:28] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:50:29] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:29] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:29] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:50:32] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:32] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:50:32] local.INFO: IMEI packet received {"connection_id":174564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":174564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:50:33] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e13f00012d0e078007068f480013012e20..."} 
[2026-09-07 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e13f00012d0e078007068f480013012e20..."} 
[2026-09-07 08:50:33] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e13f00012d0e078007068f480013012e20..."} 
[2026-09-07 08:50:33] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:50:33] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":117870408,"longitude_deg":75.5894144,"latitude_deg":11.7870408,"altitude":19,"angle":302,"satellites":32,"speed":6,"hex_longitude":"2d0e0780","hex_latitude":"07068f48","is_valid_coordinates":true} 
[2026-09-07 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920306944001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30416348504915968,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515263653888,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788751200000,"timestamp_ms":1788751200000,"timestamp_seconds":1788751200,"priority":1,"record_length":96,"hex_timestamp":"000001a079e13f00"} 
[2026-09-07 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:50: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-07 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 08:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920306944001,"66":14450,"219":206,"94":10240,"24":6,"16":30416348504915968,"45":1011128515263653888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920306944001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:50:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30416348504915968,"km_value":30416348504915.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515263653888,"description":"Unknown IO ID 45"} 
[2026-09-07 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920306944001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011128515263653888}} 
[2026-09-07 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777705,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:50:33] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:50:33] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:45] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:45] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:45] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:50:48] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:48] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:50:48] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:50:50] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:50] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:50:50] local.INFO: IMEI packet received {"connection_id":174565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":174565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:50:51] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfaca8012d0d494006eb10e80012013224..."} 
[2026-09-07 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfaca8012d0d494006eb10e80012013224..."} 
[2026-09-07 08:50:51] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfaca8012d0d494006eb10e80012013224..."} 
[2026-09-07 08:50:51] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:50:51] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755845440,"raw_latitude":116068584,"longitude_deg":75.584544,"latitude_deg":11.6068584,"altitude":18,"angle":306,"satellites":36,"speed":8,"hex_longitude":"2d0d4940","hex_latitude":"06eb10e8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920280320001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400974513212227584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":957789006715688960,"note":"Value kept but may cause issues"} 
[2026-09-07 08:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751097000,"timestamp_ms":1788751097000,"timestamp_seconds":1788751097,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfaca8"} 
[2026-09-07 08: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-07 08:50: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-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 08:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:50:51] 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-07 08:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920280320001,"66":27745,"84":206,"80":6400,"24":8,"16":400974513212227584,"45":957789006715688960},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920280320001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:50:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:50:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400974513212227584,"km_value":400974513212227.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":957789006715688960,"description":"Unknown IO ID 45"} 
[2026-09-07 08:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920280320001,"power":27745,"unknown_84":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":957789006715688960}} 
[2026-09-07 08:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:50:51] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:50:51] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:50:52] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:52] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:52] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:50:53] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:53] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:50:53] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:50:54] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.25","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a079..."} 
[2026-09-07 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a079..."} 
[2026-09-07 08:50:54] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a079..."} 
[2026-09-07 08:50:54] local.INFO: IMEI packet received {"connection_id":173421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":173421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:51:05] local.INFO: TCP Data received {"connection_id":174564,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e1fa80012d0e0b40070689100013007b20..."} 
[2026-09-07 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e1fa80012d0e0b40070689100013007b20..."} 
[2026-09-07 08:51:05] local.INFO: Processing buffer {"connection_id":174564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e1fa80012d0e0b40070689100013007b20..."} 
[2026-09-07 08:51:05] local.INFO: Packet analysis {"connection_id":174564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:51:05] local.INFO: Extracted packet for processing {"connection_id":174564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":755895104,"raw_latitude":117868816,"longitude_deg":75.5895104,"latitude_deg":11.7868816,"altitude":19,"angle":123,"satellites":32,"speed":0,"hex_longitude":"2d0e0b40","hex_latitude":"07068910","is_valid_coordinates":true} 
[2026-09-07 08:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920318464001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30416619087855616,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011761833960970240,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788751248000,"timestamp_ms":1788751248000,"timestamp_seconds":1788751248,"priority":1,"record_length":96,"hex_timestamp":"000001a079e1fa80"} 
[2026-09-07 08:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920318464001,"66":14537,"219":206,"94":10240,"24":0,"16":30416619087855616,"45":1011761833960970240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920318464001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30416619087855616,"km_value":30416619087855.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011761833960970240,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920318464001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":1011761833960970240}} 
[2026-09-07 08:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":174564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:05] local.INFO: GPS data processed {"connection_id":174564,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:05] local.INFO: Acknowledgment sent {"connection_id":174564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:13] local.INFO: TCP Data received {"connection_id":173421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e09ed8012d7c4dc005ec3538000d010c2c..."} 
[2026-09-07 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e09ed8012d7c4dc005ec3538000d010c2c..."} 
[2026-09-07 08:51:13] local.INFO: Processing buffer {"connection_id":173421,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a079e06ff8012d7c740005ec3640000c010b2a..."} 
[2026-09-07 08:51:13] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:13] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763130880,"raw_latitude":99366464,"longitude_deg":76.313088,"latitude_deg":9.9366464,"altitude":12,"angle":267,"satellites":42,"speed":33,"hex_longitude":"2d7c7400","hex_latitude":"05ec3640","is_valid_coordinates":true} 
[2026-09-07 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920290560001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129330798246494208,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785145112604672,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788751147000,"timestamp_ms":1788751147000,"timestamp_seconds":1788751147,"priority":1,"record_length":96,"hex_timestamp":"000001a079e06ff8"} 
[2026-09-07 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:13] 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-07 08:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920290560001,"66":13341,"198":206,"87":13824,"24":33,"16":129330798246494208,"45":8977785145112604672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920290560001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129330798246494208,"km_value":129330798246494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785145112604672,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920290560001,"power":13341,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8977785145112604672}} 
[2026-09-07 08:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:13] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:13] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:13] local.INFO: Packet analysis {"connection_id":173421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:13] local.INFO: Extracted packet for processing {"connection_id":173421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763121088,"raw_latitude":99366200,"longitude_deg":76.3121088,"latitude_deg":9.93662,"altitude":13,"angle":268,"satellites":44,"speed":31,"hex_longitude":"2d7c4dc0","hex_latitude":"05ec3538","is_valid_coordinates":true} 
[2026-09-07 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920293632001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129331266397929472,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967792783439314944,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788751159000,"timestamp_ms":1788751159000,"timestamp_seconds":1788751159,"priority":1,"record_length":96,"hex_timestamp":"000001a079e09ed8"} 
[2026-09-07 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920293632001,"66":13624,"198":206,"87":13824,"24":31,"16":129331266397929472,"45":8967792783439314944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920293632001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129331266397929472,"km_value":129331266397929.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967792783439314944,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920293632001,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8967792783439314944}} 
[2026-09-07 08:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":173421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:14] local.INFO: GPS data processed {"connection_id":173421,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:14] local.INFO: Acknowledgment sent {"connection_id":173421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:22] local.INFO: TCP Data received {"connection_id":174565,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079dfd3b8012d0d3e0006eb17c8000f012729..."} 
[2026-09-07 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079dfd3b8012d0d3e0006eb17c8000f012729..."} 
[2026-09-07 08:51:22] local.INFO: Processing buffer {"connection_id":174565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079dfd3b8012d0d3e0006eb17c8000f012729..."} 
[2026-09-07 08:51:22] local.INFO: Packet analysis {"connection_id":174565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:51:22] local.INFO: Extracted packet for processing {"connection_id":174565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079df"} 
[2026-09-07 08:51:22] local.INFO: GPS Element Parsed {"raw_longitude":755842560,"raw_latitude":116070344,"longitude_deg":75.584256,"latitude_deg":11.6070344,"altitude":15,"angle":295,"satellites":41,"speed":17,"hex_longitude":"2d0d3e00","hex_latitude":"06eb17c8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920280832001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400974672126017536,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":957366794250676224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788751107000,"timestamp_ms":1788751107000,"timestamp_seconds":1788751107,"priority":1,"record_length":96,"hex_timestamp":"000001a079dfd3b8"} 
[2026-09-07 08: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-07 08:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:22] 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-07 08: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-07 08: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-07 08:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:51:22] 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-07 08:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920280832001,"66":27745,"84":206,"80":6400,"24":17,"16":400974672126017536,"45":957366794250676224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920280832001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:51:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400974672126017536,"km_value":400974672126017.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":957366794250676224,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920280832001,"power":27745,"unknown_84":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":957366794250676224}} 
[2026-09-07 08:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":174565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:22] local.INFO: GPS data processed {"connection_id":174565,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:22] local.INFO: Acknowledgment sent {"connection_id":174565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:28] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:28] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:28] local.INFO: IMEI packet received {"connection_id":175914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":175914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:51:33] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:33] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:51:33] local.INFO: IMEI packet received {"connection_id":175914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":175914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:51:33] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e20638012d0e0c00070688a80014006c20..."} 
[2026-09-07 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e20638012d0e0c00070688a80014006c20..."} 
[2026-09-07 08:51:33] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e20638012d0e0c00070688a80014006c20..."} 
[2026-09-07 08:51:33] local.INFO: Packet analysis {"connection_id":175914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:51:33] local.INFO: Extracted packet for processing {"connection_id":175914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":755895296,"raw_latitude":117868712,"longitude_deg":75.5895296,"latitude_deg":11.7868712,"altitude":20,"angle":108,"satellites":32,"speed":2,"hex_longitude":"2d0e0c00","hex_latitude":"070688a8","is_valid_coordinates":true} 
[2026-09-07 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920319488001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30416631972757504,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011972940193402880,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788751251000,"timestamp_ms":1788751251000,"timestamp_seconds":1788751251,"priority":1,"record_length":96,"hex_timestamp":"000001a079e20638"} 
[2026-09-07 08:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:51: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-07 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920319488001,"66":14537,"219":206,"94":10240,"24":2,"16":30416631972757504,"45":1011972940193402880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920319488001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:51:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30416631972757504,"km_value":30416631972757.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011972940193402880,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920319488001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011972940193402880}} 
[2026-09-07 08:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":175914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:34] local.INFO: GPS data processed {"connection_id":175914,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:34] local.INFO: Acknowledgment sent {"connection_id":175914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:45] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:45] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:45] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:51:48] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:48] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:48] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:51:50] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:50] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:51:50] local.INFO: IMEI packet received {"connection_id":174567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":174567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:51:51] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e00298012d0d248006eb2300000d012a27..."} 
[2026-09-07 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e00298012d0d248006eb2300000d012a27..."} 
[2026-09-07 08:51:51] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e00298012d0d248006eb2300000d012a27..."} 
[2026-09-07 08:51:51] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:51] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755836032,"raw_latitude":116073216,"longitude_deg":75.5836032,"latitude_deg":11.6073216,"altitude":13,"angle":298,"satellites":39,"speed":23,"hex_longitude":"2d0d2480","hex_latitude":"06eb2300","is_valid_coordinates":true} 
[2026-09-07 08:51: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-07 08:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920283392001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400975011428433920,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954200200763131904,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751119000,"timestamp_ms":1788751119000,"timestamp_seconds":1788751119,"priority":1,"record_length":96,"hex_timestamp":"000001a079e00298"} 
[2026-09-07 08: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-07 08:51: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-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:51] 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-07 08:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08: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-07 08:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:51:51] 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-07 08:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920283392001,"66":28050,"84":206,"80":6400,"24":23,"16":400975011428433920,"45":954200200763131904},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 08:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920283392001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 08:51:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400975011428433920,"km_value":400975011428433.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":954200200763131904,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920283392001,"power":28050,"unknown_84":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":954200200763131904}} 
[2026-09-07 08:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:51] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:51] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:51:54] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:54] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:51:54] local.INFO: IMEI packet received {"connection_id":174568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":174568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:51:55] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e0d1a0012d7c284005ec3440000d010b2c..."} 
[2026-09-07 08:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e0d1a0012d7c284005ec3440000d010b2c..."} 
[2026-09-07 08:51:55] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e0d1a0012d7c284005ec3440000d010b2c..."} 
[2026-09-07 08:51:55] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:55] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e0"} 
[2026-09-07 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763111488,"raw_latitude":99365952,"longitude_deg":76.3111488,"latitude_deg":9.9365952,"altitude":13,"angle":267,"satellites":44,"speed":30,"hex_longitude":"2d7c2840","hex_latitude":"05ec3440","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920296704001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129331725959430144,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957026365580064768,"note":"Value kept but may cause issues"} 
[2026-09-07 08:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788751172000,"timestamp_ms":1788751172000,"timestamp_seconds":1788751172,"priority":1,"record_length":96,"hex_timestamp":"000001a079e0d1a0"} 
[2026-09-07 08: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-07 08:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:51:55] 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-07 08: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-07 08: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-07 08:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920296704001,"66":13450,"198":206,"87":13824,"24":30,"16":129331725959430144,"45":8957026365580064768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920296704001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:51:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:51:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129331725959430144,"km_value":129331725959430.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957026365580064768,"description":"Unknown IO ID 45"} 
[2026-09-07 08:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920296704001,"power":13450,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8957026365580064768}} 
[2026-09-07 08:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:51:55] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:51:55] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:04] local.INFO: TCP Data received {"connection_id":175914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e219c0012d0e0dc007068888001400601f..."} 
[2026-09-07 08:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e219c0012d0e0dc007068888001400601f..."} 
[2026-09-07 08:52:04] local.INFO: Processing buffer {"connection_id":175914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e219c0012d0e0dc007068888001400601f..."} 
[2026-09-07 08:52:04] local.INFO: Packet analysis {"connection_id":175914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:04] local.INFO: Extracted packet for processing {"connection_id":175914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:04] local.INFO: GPS Element Parsed {"raw_longitude":755895744,"raw_latitude":117868680,"longitude_deg":75.5895744,"latitude_deg":11.786868,"altitude":20,"angle":96,"satellites":31,"speed":4,"hex_longitude":"2d0e0dc0","hex_latitude":"07068888","is_valid_coordinates":true} 
[2026-09-07 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920320256001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30416653447593984,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012184046425909248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788751256000,"timestamp_ms":1788751256000,"timestamp_seconds":1788751256,"priority":1,"record_length":96,"hex_timestamp":"000001a079e219c0"} 
[2026-09-07 08:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:52: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-07 08:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920320256001,"66":14537,"219":206,"94":10240,"24":4,"16":30416653447593984,"45":1012184046425909248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920320256001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:52:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30416653447593984,"km_value":30416653447593.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012184046425909248,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920320256001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1012184046425909248}} 
[2026-09-07 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":175914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:04] local.INFO: GPS data processed {"connection_id":175914,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:04] local.INFO: Acknowledgment sent {"connection_id":175914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:22] local.INFO: TCP Data received {"connection_id":174567,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2c988012d0c96c006eb7768001001232a..."} 
[2026-09-07 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2c988012d0c96c006eb7768001001232a..."} 
[2026-09-07 08:52:22] local.INFO: Processing buffer {"connection_id":174567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2c988012d0c96c006eb7768001001232a..."} 
[2026-09-07 08:52:22] local.INFO: Packet analysis {"connection_id":174567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:22] local.INFO: Extracted packet for processing {"connection_id":174567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755799744,"raw_latitude":116094824,"longitude_deg":75.5799744,"latitude_deg":11.6094824,"altitude":16,"angle":291,"satellites":42,"speed":10,"hex_longitude":"2d0c96c0","hex_latitude":"06eb7768","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920332544001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976450242478080,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907686460867870720,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788751301000,"timestamp_ms":1788751301000,"timestamp_seconds":1788751301,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2c988"} 
[2026-09-07 08: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-07 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:52:22] 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-07 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920332544001,"66":27800,"238":206,"80":6400,"24":10,"16":400976450242478080,"45":907686460867870720},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920332544001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:22] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:52:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976450242478080,"km_value":400976450242478.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":907686460867870720,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920332544001,"power":27800,"unknown_238":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":907686460867870720}} 
[2026-09-07 08:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":174567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:22] local.INFO: GPS data processed {"connection_id":174567,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:22] local.INFO: Acknowledgment sent {"connection_id":174567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:27] local.INFO: TCP Data received {"connection_id":174568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e11fc0012d7c0bc005ec3380000d010a2c..."} 
[2026-09-07 08:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e11fc0012d7c0bc005ec3380000d010a2c..."} 
[2026-09-07 08:52:27] local.INFO: Processing buffer {"connection_id":174568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e11fc0012d7c0bc005ec3380000d010a2c..."} 
[2026-09-07 08:52:27] local.INFO: Packet analysis {"connection_id":174568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:52:27] local.INFO: Extracted packet for processing {"connection_id":174568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763104192,"raw_latitude":99365760,"longitude_deg":76.3104192,"latitude_deg":9.936576,"altitude":13,"angle":266,"satellites":44,"speed":11,"hex_longitude":"2d7c0bc0","hex_latitude":"05ec3380","is_valid_coordinates":true} 
[2026-09-07 08:52: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-07 08:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920300032001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129332078146748416,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946471053953351680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788751192000,"timestamp_ms":1788751192000,"timestamp_seconds":1788751192,"priority":1,"record_length":96,"hex_timestamp":"000001a079e11fc0"} 
[2026-09-07 08:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920300032001,"66":13450,"198":206,"87":13824,"24":11,"16":129332078146748416,"45":8946471053953351680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920300032001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:27] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:52:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129332078146748416,"km_value":129332078146748.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946471053953351680,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920300032001,"power":13450,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8946471053953351680}} 
[2026-09-07 08:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":174568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:27] local.INFO: GPS data processed {"connection_id":174568,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:27] local.INFO: Acknowledgment sent {"connection_id":174568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:28] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:28] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:28] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:52:33] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:33] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:52:33] local.INFO: IMEI packet received {"connection_id":173191,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":173191,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:52:34] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e32360012d0e338007068b78001b000e1f..."} 
[2026-09-07 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e32360012d0e338007068b78001b000e1f..."} 
[2026-09-07 08:52:34] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e32360012d0e338007068b78001b000e1f..."} 
[2026-09-07 08:52:34] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e3"} 
[2026-09-07 08:52:34] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e3"} 
[2026-09-07 08:52:34] local.INFO: GPS Element Parsed {"raw_longitude":755905408,"raw_latitude":117869432,"longitude_deg":75.5905408,"latitude_deg":11.7869432,"altitude":27,"angle":14,"satellites":31,"speed":23,"hex_longitude":"2d0e3380","hex_latitude":"07068b78","is_valid_coordinates":true} 
[2026-09-07 08:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920338432001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30417194613473280,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022880095540824064,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788751324000,"timestamp_ms":1788751324000,"timestamp_seconds":1788751324,"priority":1,"record_length":96,"hex_timestamp":"000001a079e32360"} 
[2026-09-07 08:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920338432001,"66":13830,"219":206,"94":10240,"24":23,"16":30417194613473280,"45":1022880095540824064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920338432001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:52:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30417194613473280,"km_value":30417194613473.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022880095540824064,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920338432001,"power":13830,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":1022880095540824064}} 
[2026-09-07 08:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:34] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:34] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:48] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:48] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:48] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:52:50] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:50] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:50] local.INFO: IMEI packet received {"connection_id":174569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":174569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:52:53] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:53] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:52:53] local.INFO: IMEI packet received {"connection_id":174570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":174570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:52:54] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e171c8012d7bef0005ec3090000f01062b..."} 
[2026-09-07 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e171c8012d7bef0005ec3090000f01062b..."} 
[2026-09-07 08:52:54] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e171c8012d7bef0005ec3090000f01062b..."} 
[2026-09-07 08:52:54] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:52:54] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":99365008,"longitude_deg":76.3096832,"latitude_deg":9.9365008,"altitude":15,"angle":262,"satellites":43,"speed":17,"hex_longitude":"2d7bef00","hex_latitude":"05ec3090","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920305152001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129332426039099392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938449017117048832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751213000,"timestamp_ms":1788751213000,"timestamp_seconds":1788751213,"priority":1,"record_length":96,"hex_timestamp":"000001a079e171c8"} 
[2026-09-07 08: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-07 08:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:54] 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-07 08: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-07 08: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-07 08:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920305152001,"66":13428,"198":206,"87":13824,"24":17,"16":129332426039099392,"45":8938449017117048832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920305152001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:52:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129332426039099392,"km_value":129332426039099.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938449017117048832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920305152001,"power":13428,"unknown_198":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8938449017117048832}} 
[2026-09-07 08:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:54] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:54] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:52:55] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:55] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:52:55] local.INFO: IMEI packet received {"connection_id":174569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:52:56] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2cd70012d0c958006eb77c0001101152a..."} 
[2026-09-07 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2cd70012d0c958006eb77c0001101152a..."} 
[2026-09-07 08:52:56] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2cd70012d0c958006eb77c0001101152a..."} 
[2026-09-07 08:52:56] local.INFO: Packet analysis {"connection_id":174569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:56] local.INFO: Extracted packet for processing {"connection_id":174569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755799424,"raw_latitude":116094912,"longitude_deg":75.5799424,"latitude_deg":11.6094912,"altitude":17,"angle":277,"satellites":42,"speed":7,"hex_longitude":"2d0c9580","hex_latitude":"06eb77c0","is_valid_coordinates":true} 
[2026-09-07 08:52: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-07 08:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920333056001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976467422347264,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907123510914541568,"note":"Value kept but may cause issues"} 
[2026-09-07 08:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788751302000,"timestamp_ms":1788751302000,"timestamp_seconds":1788751302,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2cd70"} 
[2026-09-07 08:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 08:52:56] 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-07 08:52: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-07 08:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:52:56] 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-07 08:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920333056001,"66":27821,"238":206,"80":6400,"24":7,"16":400976467422347264,"45":907123510914541568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920333056001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:52:56] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:52:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976467422347264,"km_value":400976467422347.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":907123510914541568,"description":"Unknown IO ID 45"} 
[2026-09-07 08:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920333056001,"power":27821,"unknown_238":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":907123510914541568}} 
[2026-09-07 08:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":174569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:52:56] local.INFO: GPS data processed {"connection_id":174569,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:52:56] local.INFO: Acknowledgment sent {"connection_id":174569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:01] local.INFO: TCP Data received {"connection_id":174569,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2d158012d0c94c006eb77b0001100fd2a..."} 
[2026-09-07 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2d158012d0c94c006eb77b0001100fd2a..."} 
[2026-09-07 08:53:01] local.INFO: Processing buffer {"connection_id":174569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2d158012d0c94c006eb77b0001100fd2a..."} 
[2026-09-07 08:53:01] local.INFO: Packet analysis {"connection_id":174569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:01] local.INFO: Extracted packet for processing {"connection_id":174569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755799232,"raw_latitude":116094896,"longitude_deg":75.5799232,"latitude_deg":11.6094896,"altitude":17,"angle":253,"satellites":42,"speed":6,"hex_longitude":"2d0c94c0","hex_latitude":"06eb77b0","is_valid_coordinates":true} 
[2026-09-07 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920333312001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976476012281856,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906771667193675776,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788751303000,"timestamp_ms":1788751303000,"timestamp_seconds":1788751303,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2d158"} 
[2026-09-07 08:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:01] 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-07 08:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:01] 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-07 08:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920333312001,"66":27821,"238":206,"80":6400,"24":6,"16":400976476012281856,"45":906771667193675776},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920333312001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:01] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:53:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976476012281856,"km_value":400976476012281.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":906771667193675776,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920333312001,"power":27821,"unknown_238":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":906771667193675776}} 
[2026-09-07 08:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":174569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:01] local.INFO: GPS data processed {"connection_id":174569,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:01] local.INFO: Acknowledgment sent {"connection_id":174569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:05] local.INFO: TCP Data received {"connection_id":173191,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e336e8012d0e358007069940001b00011f..."} 
[2026-09-07 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e336e8012d0e358007069940001b00011f..."} 
[2026-09-07 08:53:05] local.INFO: Processing buffer {"connection_id":173191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e336e8012d0e358007069940001b00011f..."} 
[2026-09-07 08:53:05] local.INFO: Packet analysis {"connection_id":173191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e3"} 
[2026-09-07 08:53:05] local.INFO: Extracted packet for processing {"connection_id":173191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e3"} 
[2026-09-07 08:53:05] local.INFO: GPS Element Parsed {"raw_longitude":755905920,"raw_latitude":117872960,"longitude_deg":75.590592,"latitude_deg":11.787296,"altitude":27,"angle":1,"satellites":31,"speed":26,"hex_longitude":"2d0e3580","hex_latitude":"07069940","is_valid_coordinates":true} 
[2026-09-07 08:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920338944001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30417370707132416,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023302308006164480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788751329000,"timestamp_ms":1788751329000,"timestamp_seconds":1788751329,"priority":1,"record_length":96,"hex_timestamp":"000001a079e336e8"} 
[2026-09-07 08:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3377708326256640,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652633100871168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":132,"raw_value":-4035199975358005228,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3808954369,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2185756697,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2147944065,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822319,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-5764276509317527802,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,219,94,24,241,157,16,160,27,45,135,26,31,10,66,19,132,15,64,1,240,114,227,121,6,4,113,205,12,42,216,239,56,2,108,7,236],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-09-07 08:53:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945570565332336640,"timestamp_seconds":1945570565332336.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173191,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920338944001,"66":13754,"219":206,"94":10240,"24":26,"16":30417370707132416,"45":1023302308006164480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920338944001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30417370707132416,"km_value":30417370707132.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023302308006164480,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920338944001,"power":13754,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":1023302308006164480}} 
[2026-09-07 08:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":173191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:05] local.INFO: GPS data processed {"connection_id":173191,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:05] local.INFO: Acknowledgment sent {"connection_id":173191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:26] local.INFO: TCP Data received {"connection_id":174570,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e1bc00012d7bcac005ec2868000f00fe2b..."} 
[2026-09-07 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e1bc00012d7bcac005ec2868000f00fe2b..."} 
[2026-09-07 08:53:26] local.INFO: Processing buffer {"connection_id":174570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e1bc00012d7bcac005ec2868000f00fe2b..."} 
[2026-09-07 08:53:26] local.INFO: Packet analysis {"connection_id":174570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:53:26] local.INFO: Extracted packet for processing {"connection_id":174570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763087552,"raw_latitude":99362920,"longitude_deg":76.3087552,"latitude_deg":9.936292,"altitude":15,"angle":254,"satellites":43,"speed":24,"hex_longitude":"2d7bcac0","hex_latitude":"05ec2868","is_valid_coordinates":true} 
[2026-09-07 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920310528001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129332885600600064,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930356611536424960,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788751232000,"timestamp_ms":1788751232000,"timestamp_seconds":1788751232,"priority":1,"record_length":96,"hex_timestamp":"000001a079e1bc00"} 
[2026-09-07 08:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920310528001,"66":13624,"198":206,"87":13824,"24":24,"16":129332885600600064,"45":8930356611536424960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920310528001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129332885600600064,"km_value":129332885600600.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930356611536424960,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920310528001,"power":13624,"unknown_198":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8930356611536424960}} 
[2026-09-07 08:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":174570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:26] local.INFO: GPS data processed {"connection_id":174570,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:26] local.INFO: Acknowledgment sent {"connection_id":174570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:28] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:28] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:28] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:53:33] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:33] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:53:33] local.INFO: IMEI packet received {"connection_id":174571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":174571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:53:34] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e42148012d0e3d00070701f00021015320..."} 
[2026-09-07 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e42148012d0e3d00070701f00021015320..."} 
[2026-09-07 08:53:34] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e42148012d0e3d00070701f00021015320..."} 
[2026-09-07 08:53:34] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:53:34] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755907840,"raw_latitude":117899760,"longitude_deg":75.590784,"latitude_deg":11.789976,"altitude":33,"angle":339,"satellites":32,"speed":13,"hex_longitude":"2d0e3d00","hex_latitude":"070701f0","is_valid_coordinates":true} 
[2026-09-07 08:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920355072001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30418697852026880,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036689408,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788751389000,"timestamp_ms":1788751389000,"timestamp_seconds":1788751389,"priority":1,"record_length":96,"hex_timestamp":"000001a079e42148"} 
[2026-09-07 08:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:34] 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-07 08:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920355072001,"66":14515,"219":206,"94":10240,"24":13,"16":30418697852026880,"45":1026046689036689408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920355072001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30418697852026880,"km_value":30418697852026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036689408,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920355072001,"power":14515,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1026046689036689408}} 
[2026-09-07 08:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:34] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:34] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:45] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:45] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:45] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:53:46] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:46] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:46] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:53:48] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:53:48] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:48] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:53:50] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:50] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:53:50] local.INFO: IMEI packet received {"connection_id":175915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":175915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:53:51] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2d540012d0c940006eb7758001100ed2c..."} 
[2026-09-07 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2d540012d0c940006eb7758001100ed2c..."} 
[2026-09-07 08:53:51] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2d540012d0c940006eb7758001100ed2c..."} 
[2026-09-07 08:53:51] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:51] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":116094808,"longitude_deg":75.579904,"latitude_deg":11.6094808,"altitude":17,"angle":237,"satellites":44,"speed":9,"hex_longitude":"2d0c9400","hex_latitude":"06eb7758","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920333568001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976484602216448,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906560560961138688,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751304000,"timestamp_ms":1788751304000,"timestamp_seconds":1788751304,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2d540"} 
[2026-09-07 08: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-07 08:53: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-07 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:51] 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-07 08:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920333568001,"66":27767,"238":206,"80":6400,"24":9,"16":400976484602216448,"45":906560560961138688},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920333568001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:53:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976484602216448,"km_value":400976484602216.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":906560560961138688,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920333568001,"power":27767,"unknown_238":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":906560560961138688}} 
[2026-09-07 08:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:51] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:51] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:53] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:53] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:53:53] local.INFO: IMEI packet received {"connection_id":175916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":175916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:53:54] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e1f698012d7ba7c005ec1e08000f00fd2d..."} 
[2026-09-07 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e1f698012d7ba7c005ec1e08000f00fd2d..."} 
[2026-09-07 08:53:54] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e1f698012d7ba7c005ec1e08000f00fd2d..."} 
[2026-09-07 08:53:54] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:53:54] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e1"} 
[2026-09-07 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763078592,"raw_latitude":99360264,"longitude_deg":76.3078592,"latitude_deg":9.9360264,"altitude":15,"angle":253,"satellites":45,"speed":28,"hex_longitude":"2d7ba7c0","hex_latitude":"05ec1e08","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920315392001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129333327982231552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920153143630129152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751247000,"timestamp_ms":1788751247000,"timestamp_seconds":1788751247,"priority":1,"record_length":96,"hex_timestamp":"000001a079e1f698"} 
[2026-09-07 08: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-07 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920315392001,"66":13493,"198":206,"87":13824,"24":28,"16":129333327982231552,"45":8920153143630129152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920315392001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129333327982231552,"km_value":129333327982231.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920153143630129152,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920315392001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8920153143630129152}} 
[2026-09-07 08:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:54] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:54] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:53:56] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2d928012d0c934006eb7690001100dc2c..."} 
[2026-09-07 08:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2d928012d0c934006eb7690001100dc2c..."} 
[2026-09-07 08:53:56] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2d928012d0c934006eb7690001100dc2c..."} 
[2026-09-07 08:53:56] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:56] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755798848,"raw_latitude":116094608,"longitude_deg":75.5798848,"latitude_deg":11.6094608,"altitude":17,"angle":220,"satellites":44,"speed":12,"hex_longitude":"2d0c9340","hex_latitude":"06eb7690","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920333824001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976497487118336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906349454728583168,"note":"Value kept but may cause issues"} 
[2026-09-07 08:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788751305000,"timestamp_ms":1788751305000,"timestamp_seconds":1788751305,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2d928"} 
[2026-09-07 08: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-07 08:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:53:56] 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-07 08:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920333824001,"66":27767,"238":206,"80":6400,"24":12,"16":400976497487118336,"45":906349454728583168},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920333824001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:53:56] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:53:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976497487118336,"km_value":400976497487118.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":906349454728583168,"description":"Unknown IO ID 45"} 
[2026-09-07 08:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920333824001,"power":27767,"unknown_238":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":906349454728583168}} 
[2026-09-07 08:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:53:56] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:53:56] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:05] local.INFO: TCP Data received {"connection_id":174571,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e42530012d0e3c00070703200021014720..."} 
[2026-09-07 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e42530012d0e3c00070703200021014720..."} 
[2026-09-07 08:54:05] local.INFO: Processing buffer {"connection_id":174571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e42530012d0e3c00070703200021014720..."} 
[2026-09-07 08:54:05] local.INFO: Packet analysis {"connection_id":174571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:54:05] local.INFO: Extracted packet for processing {"connection_id":174571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755907584,"raw_latitude":117900064,"longitude_deg":75.5907584,"latitude_deg":11.7900064,"altitude":33,"angle":327,"satellites":32,"speed":13,"hex_longitude":"2d0e3c00","hex_latitude":"07070320","is_valid_coordinates":true} 
[2026-09-07 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920355584001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30418715031896064,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025976320292679680,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788751390000,"timestamp_ms":1788751390000,"timestamp_seconds":1788751390,"priority":1,"record_length":96,"hex_timestamp":"000001a079e42530"} 
[2026-09-07 08:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:54:05] 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-07 08:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920355584001,"66":14439,"219":206,"94":10240,"24":13,"16":30418715031896064,"45":1025976320292679680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920355584001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30418715031896064,"km_value":30418715031896.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025976320292679680,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920355584001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1025976320292679680}} 
[2026-09-07 08:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":174571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:05] local.INFO: GPS data processed {"connection_id":174571,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:05] local.INFO: Acknowledgment sent {"connection_id":174571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:25] local.INFO: TCP Data received {"connection_id":175916,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e22578012d7b83c005ec13a8000f00fc2d..."} 
[2026-09-07 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e22578012d7b83c005ec13a8000f00fc2d..."} 
[2026-09-07 08:54:25] local.INFO: Processing buffer {"connection_id":175916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e22578012d7b83c005ec13a8000f00fc2d..."} 
[2026-09-07 08:54:25] local.INFO: Packet analysis {"connection_id":175916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:54:25] local.INFO: Extracted packet for processing {"connection_id":175916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763069376,"raw_latitude":99357608,"longitude_deg":76.3069376,"latitude_deg":9.9357608,"altitude":15,"angle":252,"satellites":45,"speed":32,"hex_longitude":"2d7b83c0","hex_latitude":"05ec13a8","is_valid_coordinates":true} 
[2026-09-07 08:54: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-07 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920319232001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129333787543732224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910301519444576256,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751259000,"timestamp_ms":1788751259000,"timestamp_seconds":1788751259,"priority":1,"record_length":96,"hex_timestamp":"000001a079e22578"} 
[2026-09-07 08:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:54: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-07 08:54: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-07 08:54: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-07 08:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920319232001,"66":13613,"198":206,"87":13824,"24":32,"16":129333787543732224,"45":8910301519444576256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920319232001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 08:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129333787543732224,"km_value":129333787543732.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910301519444576256,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920319232001,"power":13613,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8910301519444576256}} 
[2026-09-07 08:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":175916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:25] local.INFO: GPS data processed {"connection_id":175916,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:25] local.INFO: Acknowledgment sent {"connection_id":175916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:27] local.INFO: TCP Data received {"connection_id":175915,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e2dd10012d0c92c006eb7560001100c92c..."} 
[2026-09-07 08:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e2dd10012d0c92c006eb7560001100c92c..."} 
[2026-09-07 08:54:27] local.INFO: Processing buffer {"connection_id":175915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e2dd10012d0c92c006eb7560001100c92c..."} 
[2026-09-07 08:54:27] local.INFO: Packet analysis {"connection_id":175915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:54:27] local.INFO: Extracted packet for processing {"connection_id":175915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e2"} 
[2026-09-07 08:54:27] local.INFO: GPS Element Parsed {"raw_longitude":755798720,"raw_latitude":116094304,"longitude_deg":75.579872,"latitude_deg":11.6094304,"altitude":17,"angle":201,"satellites":44,"speed":14,"hex_longitude":"2d0c92c0","hex_latitude":"06eb7560","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920334080001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400976514666987520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906138348495998976,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788751306000,"timestamp_ms":1788751306000,"timestamp_seconds":1788751306,"priority":1,"record_length":96,"hex_timestamp":"000001a079e2dd10"} 
[2026-09-07 08: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-07 08:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:54: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-07 08:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920334080001,"66":27865,"238":206,"80":6400,"24":14,"16":400976514666987520,"45":906138348495998976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 08:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920334080001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:27] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 08:54:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400976514666987520,"km_value":400976514666987.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":906138348495998976,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920334080001,"power":27865,"unknown_238":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":906138348495998976}} 
[2026-09-07 08:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":175915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:27] local.INFO: GPS data processed {"connection_id":175915,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:27] local.INFO: Acknowledgment sent {"connection_id":175915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:28] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:28] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:28] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:54:29] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:29] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:29] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:31] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:31] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:31] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:33] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:33] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:54:33] local.INFO: IMEI packet received {"connection_id":173192,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":173192,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:33] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e51b48012d0dc9400706f3d0002100f71f..."} 
[2026-09-07 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e51b48012d0dc9400706f3d0002100f71f..."} 
[2026-09-07 08:54:33] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e51b48012d0dc9400706f3d0002100f71f..."} 
[2026-09-07 08:54:33] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:54:33] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":755878208,"raw_latitude":117896144,"longitude_deg":75.5878208,"latitude_deg":11.7896144,"altitude":33,"angle":247,"satellites":31,"speed":17,"hex_longitude":"2d0dc940","hex_latitude":"0706f3d0","is_valid_coordinates":true} 
[2026-09-07 08:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920371712001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30420179615744000,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993817804202618880,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788751453000,"timestamp_ms":1788751453000,"timestamp_seconds":1788751453,"priority":1,"record_length":96,"hex_timestamp":"000001a079e51b48"} 
[2026-09-07 08:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 08:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920371712001,"66":14298,"219":206,"94":10240,"24":17,"16":30420179615744000,"45":993817804202618880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920371712001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:54:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30420179615744000,"km_value":30420179615744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":993817804202618880,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920371712001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":993817804202618880}} 
[2026-09-07 08:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:34] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:34] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:45] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:45] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:45] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:54:47] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:47] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:54:47] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:48] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:48] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:48] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:54:48] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e47f08012d0d458006eaa9e8001600982a..."} 
[2026-09-07 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e47f08012d0d458006eaa9e8001600982a..."} 
[2026-09-07 08:54:48] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e47f08012d0d458006eaa9e8001600982a..."} 
[2026-09-07 08:54:48] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:54:48] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":755844480,"raw_latitude":116042216,"longitude_deg":75.584448,"latitude_deg":11.6042216,"altitude":22,"angle":152,"satellites":42,"speed":15,"hex_longitude":"2d0d4580","hex_latitude":"06eaa9e8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920359424001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400979916281085952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953566882059253760,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788751413000,"timestamp_ms":1788751413000,"timestamp_seconds":1788751413,"priority":1,"record_length":96,"hex_timestamp":"000001a079e47f08"} 
[2026-09-07 08: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-07 08:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 08:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920359424001,"66":27876,"83":206,"80":6400,"24":15,"16":400979916281085952,"45":953566882059253760},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920359424001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:54:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400979916281085952,"km_value":400979916281085.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":953566882059253760,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920359424001,"power":27876,"unknown_83":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":953566882059253760}} 
[2026-09-07 08:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:48] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:48] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:54:51] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:51] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:51] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:53] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:53] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:54:53] local.INFO: IMEI packet received {"connection_id":173193,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":173193,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:54:54] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e507c0012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e507c0012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:54:54] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e507c0012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:54:54] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:54:54] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":762998144,"raw_latitude":99326856,"longitude_deg":76.2998144,"latitude_deg":9.9326856,"altitude":9,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d7a6d80","hex_latitude":"05eb9b88","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920365312001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337515575345152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828462669957955584,"note":"Value kept but may cause issues"} 
[2026-09-07 08:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751448000,"timestamp_ms":1788751448000,"timestamp_seconds":1788751448,"priority":1,"record_length":96,"hex_timestamp":"000001a079e507c0"} 
[2026-09-07 08: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-07 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 08:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920365312001,"66":13102,"161":206,"87":13824,"24":0,"16":129337515575345152,"45":8828462669957955584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920365312001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:54:54] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337515575345152,"km_value":129337515575345.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828462669957955584,"description":"Unknown IO ID 45"} 
[2026-09-07 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920365312001,"power":13102,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8828462669957955584}} 
[2026-09-07 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:54:54] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:54:54] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:04] local.INFO: TCP Data received {"connection_id":173192,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e51f30012d0dc7800706f360002101031f..."} 
[2026-09-07 08:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e51f30012d0dc7800706f360002101031f..."} 
[2026-09-07 08:55:04] local.INFO: Processing buffer {"connection_id":173192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e51f30012d0dc7800706f360002101031f..."} 
[2026-09-07 08:55:04] local.INFO: Packet analysis {"connection_id":173192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:04] local.INFO: Extracted packet for processing {"connection_id":173192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":755877760,"raw_latitude":117896032,"longitude_deg":75.587776,"latitude_deg":11.7896032,"altitude":33,"angle":259,"satellites":31,"speed":18,"hex_longitude":"2d0dc780","hex_latitude":"0706f360","is_valid_coordinates":true} 
[2026-09-07 08:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920371968001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30420201090580480,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993395591737495552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788751454000,"timestamp_ms":1788751454000,"timestamp_seconds":1788751454,"priority":1,"record_length":96,"hex_timestamp":"000001a079e51f30"} 
[2026-09-07 08:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173192,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920371968001,"66":14135,"219":206,"94":10240,"24":18,"16":30420201090580480,"45":993395591737495552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920371968001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:55:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30420201090580480,"km_value":30420201090580.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":993395591737495552,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920371968001,"power":14135,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":993395591737495552}} 
[2026-09-07 08:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":173192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:05] local.INFO: GPS data processed {"connection_id":173192,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:05] local.INFO: Acknowledgment sent {"connection_id":173192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:19] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a079e4cd28012d0d554006ea8d08000c00a42a..."} 
[2026-09-07 08:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e4cd28012d0d554006ea8d08000c00a42a..."} 
[2026-09-07 08:55:19] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e4cd28012d0d554006ea8d08000c00a42a..."} 
[2026-09-07 08:55:19] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:55:19] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:55:19] local.INFO: GPS Element Parsed {"raw_longitude":755848512,"raw_latitude":116034824,"longitude_deg":75.5848512,"latitude_deg":11.6034824,"altitude":12,"angle":164,"satellites":42,"speed":17,"hex_longitude":"2d0d5540","hex_latitude":"06ea8d08","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920361728001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400980324302979072,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":956311263081261056,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788751433000,"timestamp_ms":1788751433000,"timestamp_seconds":1788751433,"priority":1,"record_length":96,"hex_timestamp":"000001a079e4cd28"} 
[2026-09-07 08: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-07 08:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:55:19] 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-07 08:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920361728001,"66":27767,"83":206,"80":6400,"24":17,"16":400980324302979072,"45":956311263081261056},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920361728001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:55:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400980324302979072,"km_value":400980324302979.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":956311263081261056,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920361728001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":956311263081261056}} 
[2026-09-07 08:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:19] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:19] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:25] local.INFO: TCP Data received {"connection_id":173193,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e559c8012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e559c8012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:55:25] local.INFO: Processing buffer {"connection_id":173193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e559c8012d7a6d8005eb9b88000900fc26..."} 
[2026-09-07 08:55:25] local.INFO: Packet analysis {"connection_id":173193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:25] local.INFO: Extracted packet for processing {"connection_id":173193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":762998144,"raw_latitude":99326856,"longitude_deg":76.2998144,"latitude_deg":9.9326856,"altitude":9,"angle":252,"satellites":38,"speed":0,"hex_longitude":"2d7a6d80","hex_latitude":"05eb9b88","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920370688001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337515575345152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821848008004700160,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751469000,"timestamp_ms":1788751469000,"timestamp_seconds":1788751469,"priority":1,"record_length":96,"hex_timestamp":"000001a079e559c8"} 
[2026-09-07 08: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-07 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:25] 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-07 08: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-07 08: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-07 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173193,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920370688001,"66":13526,"161":206,"87":13824,"24":0,"16":129337515575345152,"45":8821848008004700160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920370688001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:55:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337515575345152,"km_value":129337515575345.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821848008004700160,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920370688001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821848008004700160}} 
[2026-09-07 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":173193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:25] local.INFO: GPS data processed {"connection_id":173193,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:25] local.INFO: Acknowledgment sent {"connection_id":173193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:28] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:28] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:28] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:55:32] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:32] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:32] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:33] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:33] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:55:33] local.INFO: IMEI packet received {"connection_id":174572,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":174572,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:33] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e551f8012d0dabc00706ed700027011620..."} 
[2026-09-07 08:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e551f8012d0dabc00706ed700027011620..."} 
[2026-09-07 08:55:33] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e551f8012d0dabc00706ed700027011620..."} 
[2026-09-07 08:55:33] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:33] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:33] local.INFO: GPS Element Parsed {"raw_longitude":755870656,"raw_latitude":117894512,"longitude_deg":75.5870656,"latitude_deg":11.7894512,"altitude":39,"angle":278,"satellites":32,"speed":19,"hex_longitude":"2d0dabc0","hex_latitude":"0706ed70","is_valid_coordinates":true} 
[2026-09-07 08:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920372224001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30420548982931456,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992903010528223232,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788751467000,"timestamp_ms":1788751467000,"timestamp_seconds":1788751467,"priority":1,"record_length":96,"hex_timestamp":"000001a079e551f8"} 
[2026-09-07 08:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920372224001,"66":14548,"219":206,"94":10240,"24":19,"16":30420548982931456,"45":992903010528223232},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 08:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920372224001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 08:55:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30420548982931456,"km_value":30420548982931.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":992903010528223232,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920372224001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":992903010528223232}} 
[2026-09-07 08:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:33] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:33] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:45] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:45] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:45] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:55:50] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:50] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:55:50] local.INFO: IMEI packet received {"connection_id":175917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":175917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:50] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:50] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:50] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:55:51] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:51] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:51] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:51] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a079e4d8e0012d0d564006ea86f0000b00b12a..."} 
[2026-09-07 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e4d8e0012d0d564006ea86f0000b00b12a..."} 
[2026-09-07 08:55:51] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e4d8e0012d0d564006ea86f0000b00b12a..."} 
[2026-09-07 08:55:51] local.INFO: Packet analysis {"connection_id":175917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:55:51] local.INFO: Extracted packet for processing {"connection_id":175917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e4"} 
[2026-09-07 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":755848768,"raw_latitude":116033264,"longitude_deg":75.5848768,"latitude_deg":11.6033264,"altitude":11,"angle":177,"satellites":42,"speed":23,"hex_longitude":"2d0d5640","hex_latitude":"06ea86f0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920366848001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400980401612390400,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":960744493962561536,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751436000,"timestamp_ms":1788751436000,"timestamp_seconds":1788751436,"priority":1,"record_length":96,"hex_timestamp":"000001a079e4d8e0"} 
[2026-09-07 08: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-07 08:55: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-07 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:55:51] 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-07 08:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920366848001,"66":27745,"83":206,"80":6400,"24":23,"16":400980401612390400,"45":960744493962561536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920366848001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:55:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400980401612390400,"km_value":400980401612390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":960744493962561536,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920366848001,"power":27745,"unknown_83":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":960744493962561536}} 
[2026-09-07 08:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":175917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:51] local.INFO: GPS data processed {"connection_id":175917,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:51] local.INFO: Acknowledgment sent {"connection_id":175917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:55:53] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:53] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:53] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:58] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:58] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:55:58] local.INFO: IMEI packet received {"connection_id":173195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":173195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:55:59] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e5abd0012d7a6d8005eb9b88000900fc23..."} 
[2026-09-07 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e5abd0012d7a6d8005eb9b88000900fc23..."} 
[2026-09-07 08:55:59] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e5abd0012d7a6d8005eb9b88000900fc23..."} 
[2026-09-07 08:55:59] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:59] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":762998144,"raw_latitude":99326856,"longitude_deg":76.2998144,"latitude_deg":9.9326856,"altitude":9,"angle":252,"satellites":35,"speed":0,"hex_longitude":"2d7a6d80","hex_latitude":"05eb9b88","is_valid_coordinates":true} 
[2026-09-07 08:55: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-07 08:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920376064001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337515575345152,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821848008004700160,"note":"Value kept but may cause issues"} 
[2026-09-07 08:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788751490000,"timestamp_ms":1788751490000,"timestamp_seconds":1788751490,"priority":1,"record_length":96,"hex_timestamp":"000001a079e5abd0"} 
[2026-09-07 08:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 08:55:59] 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-07 08:55: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-07 08:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920376064001,"66":13450,"161":206,"87":13824,"24":0,"16":129337515575345152,"45":8821848008004700160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920376064001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:55:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:55:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337515575345152,"km_value":129337515575345.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821848008004700160,"description":"Unknown IO ID 45"} 
[2026-09-07 08:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920376064001,"power":13450,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821848008004700160}} 
[2026-09-07 08:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:55:59] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:55:59] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:56:03] local.INFO: TCP Data received {"connection_id":173195,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e5fdd8012d7a6c4005eb9b70000900fa27..."} 
[2026-09-07 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e5fdd8012d7a6c4005eb9b70000900fa27..."} 
[2026-09-07 08:56:03] local.INFO: Processing buffer {"connection_id":173195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e5fdd8012d7a6c4005eb9b70000900fa27..."} 
[2026-09-07 08:56:03] local.INFO: Packet analysis {"connection_id":173195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:03] local.INFO: Extracted packet for processing {"connection_id":173195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762997824,"raw_latitude":99326832,"longitude_deg":76.2997824,"latitude_deg":9.9326832,"altitude":9,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d7a6c40","hex_latitude":"05eb9b70","is_valid_coordinates":true} 
[2026-09-07 08:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920381440001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337532755214336,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821848008004700160,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788751511000,"timestamp_ms":1788751511000,"timestamp_seconds":1788751511,"priority":1,"record_length":96,"hex_timestamp":"000001a079e5fdd8"} 
[2026-09-07 08:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 08:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920381440001,"66":12526,"161":206,"87":13824,"24":0,"16":129337532755214336,"45":8821848008004700160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920381440001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:56:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:56:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337532755214336,"km_value":129337532755214.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821848008004700160,"description":"Unknown IO ID 45"} 
[2026-09-07 08:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920381440001,"power":12526,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8821848008004700160}} 
[2026-09-07 08:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":173195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:56:03] local.INFO: GPS data processed {"connection_id":173195,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:56:03] local.INFO: Acknowledgment sent {"connection_id":173195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:56:04] local.INFO: TCP Data received {"connection_id":174572,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079e6b188012d0d2a40070740680022013b1f..."} 
[2026-09-07 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e6b188012d0d2a40070740680022013b1f..."} 
[2026-09-07 08:56:04] local.INFO: Processing buffer {"connection_id":174572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e6b188012d0d2a40070740680022013b1f..."} 
[2026-09-07 08:56:04] local.INFO: Packet analysis {"connection_id":174572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:56:04] local.INFO: Extracted packet for processing {"connection_id":174572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":755837504,"raw_latitude":117915752,"longitude_deg":75.5837504,"latitude_deg":11.7915752,"altitude":34,"angle":315,"satellites":31,"speed":15,"hex_longitude":"2d0d2a40","hex_latitude":"07074068","is_valid_coordinates":true} 
[2026-09-07 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920398336001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30422752301154304,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545422149632,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788751557000,"timestamp_ms":1788751557000,"timestamp_seconds":1788751557,"priority":1,"record_length":96,"hex_timestamp":"000001a079e6b188"} 
[2026-09-07 08:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 08:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174572,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 08:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920398336001,"66":14515,"221":206,"94":10240,"24":15,"16":30422752301154304,"45":948922545422149632},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920398336001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:56:04] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 08:56:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30422752301154304,"km_value":30422752301154.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545422149632,"description":"Unknown IO ID 45"} 
[2026-09-07 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920398336001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":948922545422149632}} 
[2026-09-07 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":174572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:56:04] local.INFO: GPS data processed {"connection_id":174572,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:56:04] local.INFO: Acknowledgment sent {"connection_id":174572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:56:18] local.INFO: TCP Data received {"connection_id":173425,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:18] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:18] local.INFO: IMEI packet received {"connection_id":173425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":173425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:56:22] local.INFO: TCP Data received {"connection_id":175917,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a079e50ba8012d0d58c006ea63b8000700b029..."} 
[2026-09-07 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e50ba8012d0d58c006ea63b8000700b029..."} 
[2026-09-07 08:56:22] local.INFO: Processing buffer {"connection_id":175917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e50ba8012d0d58c006ea63b8000700b029..."} 
[2026-09-07 08:56:22] local.INFO: Packet analysis {"connection_id":175917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:22] local.INFO: Extracted packet for processing {"connection_id":175917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755849408,"raw_latitude":116024248,"longitude_deg":75.5849408,"latitude_deg":11.6024248,"altitude":7,"angle":176,"satellites":41,"speed":22,"hex_longitude":"2d0d58c0","hex_latitude":"06ea63b8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920367616001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400980839699054592,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961025968938872832,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788751449000,"timestamp_ms":1788751449000,"timestamp_seconds":1788751449,"priority":1,"record_length":96,"hex_timestamp":"000001a079e50ba8"} 
[2026-09-07 08: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-07 08:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 08:56:22] 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-07 08: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-07 08: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-07 08:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:56:22] 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-07 08:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920367616001,"66":27865,"83":206,"80":6400,"24":22,"16":400980839699054592,"45":961025968938872832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920367616001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:56:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400980839699054592,"km_value":400980839699054.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":961025968938872832,"description":"Unknown IO ID 45"} 
[2026-09-07 08:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920367616001,"power":27865,"unknown_83":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":961025968938872832}} 
[2026-09-07 08:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":175917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:56:23] local.INFO: GPS data processed {"connection_id":175917,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:56:23] local.INFO: Acknowledgment sent {"connection_id":175917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:56:29] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:29] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:29] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 08:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:56:30] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:30] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:30] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:33] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:33] local.INFO: TCP Data received {"connection_id":173196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173196,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: Processing buffer {"connection_id":173196,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 08:56:33] local.INFO: IMEI packet received {"connection_id":173196,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 08:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":173196,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:45] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:45] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:45] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:56:47] local.INFO: TCP Data received {"connection_id":174573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:47] local.INFO: Processing buffer {"connection_id":174573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 08:56:47] local.INFO: IMEI packet received {"connection_id":174573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":174573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:56:47] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:47] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:47] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:56:48] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:48] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:48] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:50] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:50] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:56:50] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:51] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e53a88012d0d5e4006ea4128000700ab2a..."} 
[2026-09-07 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e53a88012d0d5e4006ea4128000700ab2a..."} 
[2026-09-07 08:56:51] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e53a88012d0d5e4006ea4128000700ab2a..."} 
[2026-09-07 08:56:51] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:51] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":755850816,"raw_latitude":116015400,"longitude_deg":75.5850816,"latitude_deg":11.60154,"altitude":7,"angle":171,"satellites":42,"speed":38,"hex_longitude":"2d0d5e40","hex_latitude":"06ea4128","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920370944001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981273490751488,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961729656378341376,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751461000,"timestamp_ms":1788751461000,"timestamp_seconds":1788751461,"priority":1,"record_length":96,"hex_timestamp":"000001a079e53a88"} 
[2026-09-07 08: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-07 08:56: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-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920370944001,"66":27865,"83":206,"80":6400,"24":38,"16":400981273490751488,"45":961729656378341376},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920370944001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:56:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981273490751488,"km_value":400981273490751.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":961729656378341376,"description":"Unknown IO ID 45"} 
[2026-09-07 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920370944001,"power":27865,"unknown_83":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":961729656378341376}} 
[2026-09-07 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:56:51] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:56:51] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:56:53] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:53] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:56:53] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:56:54] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e630a0012d7a6ac005eb9aa8000900ef23..."} 
[2026-09-07 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e630a0012d7a6ac005eb9aa8000900ef23..."} 
[2026-09-07 08:56:54] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e630a0012d7a6ac005eb9aa8000900ef23..."} 
[2026-09-07 08:56:54] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:56:54] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":762997440,"raw_latitude":99326632,"longitude_deg":76.299744,"latitude_deg":9.9326632,"altitude":9,"angle":239,"satellites":35,"speed":2,"hex_longitude":"2d7a6ac0","hex_latitude":"05eb9aa8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920386816001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337549935083520,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821496164283805696,"note":"Value kept but may cause issues"} 
[2026-09-07 08:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751524000,"timestamp_ms":1788751524000,"timestamp_seconds":1788751524,"priority":1,"record_length":96,"hex_timestamp":"000001a079e630a0"} 
[2026-09-07 08: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-07 08:56: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-07 08: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 08:56:54] 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-07 08: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-07 08: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-07 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920386816001,"66":12776,"161":206,"87":13824,"24":2,"16":129337549935083520,"45":8821496164283805696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920386816001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:56:54] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337549935083520,"km_value":129337549935083.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821496164283805696,"description":"Unknown IO ID 45"} 
[2026-09-07 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920386816001,"power":12776,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8821496164283805696}} 
[2026-09-07 08:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:56:54] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:56:54] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:57:23] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:23] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:23] local.INFO: Packet analysis {"connection_id":173426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:57:23] local.INFO: Extracted packet for processing {"connection_id":173426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 08: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-07 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:57:23] 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-07 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:57:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":173426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:57:23] local.INFO: GPS data processed {"connection_id":173426,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:57:23] local.INFO: Acknowledgment sent {"connection_id":173426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:57:25] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e64810012d7a654005eb9840000900fa24..."} 
[2026-09-07 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e64810012d7a654005eb9840000900fa24..."} 
[2026-09-07 08:57:25] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e64810012d7a654005eb9840000900fa24..."} 
[2026-09-07 08:57:25] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:57:25] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762996032,"raw_latitude":99326016,"longitude_deg":76.2996032,"latitude_deg":9.9326016,"altitude":9,"angle":250,"satellites":36,"speed":18,"hex_longitude":"2d7a6540","hex_latitude":"05eb9840","is_valid_coordinates":true} 
[2026-09-07 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-07 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920390144001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337622949527552,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821073951818688512,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751530000,"timestamp_ms":1788751530000,"timestamp_seconds":1788751530,"priority":1,"record_length":96,"hex_timestamp":"000001a079e64810"} 
[2026-09-07 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-07 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 08:57:25] 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-07 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-07 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-07 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920390144001,"66":13243,"161":206,"87":13824,"24":18,"16":129337622949527552,"45":8821073951818688512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920390144001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:57:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337622949527552,"km_value":129337622949527.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821073951818688512,"description":"Unknown IO ID 45"} 
[2026-09-07 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920390144001,"power":13243,"unknown_161":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8821073951818688512}} 
[2026-09-07 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:57:25] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:57:25] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:57:48] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:48] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:48] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:57:50] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:50] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:50] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:57:54] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:54] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:57:54] local.INFO: IMEI packet received {"connection_id":174574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":174574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:57:54] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e66f20012d7a584005eb93e80009010825..."} 
[2026-09-07 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e66f20012d7a584005eb93e80009010825..."} 
[2026-09-07 08:57:55] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e66f20012d7a584005eb93e80009010825..."} 
[2026-09-07 08:57:55] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:57:55] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762992704,"raw_latitude":99324904,"longitude_deg":76.2992704,"latitude_deg":9.9324904,"altitude":9,"angle":264,"satellites":37,"speed":7,"hex_longitude":"2d7a5840","hex_latitude":"05eb93e8","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920391680001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337794748219392,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819525839446622208,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788751540000,"timestamp_ms":1788751540000,"timestamp_seconds":1788751540,"priority":1,"record_length":96,"hex_timestamp":"000001a079e66f20"} 
[2026-09-07 08: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-07 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 08:57: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-07 08: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-07 08: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-07 08:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920391680001,"66":13015,"161":206,"87":13824,"24":7,"16":129337794748219392,"45":8819525839446622208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920391680001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:57:55] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:57:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337794748219392,"km_value":129337794748219.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819525839446622208,"description":"Unknown IO ID 45"} 
[2026-09-07 08:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920391680001,"power":13015,"unknown_161":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8819525839446622208}} 
[2026-09-07 08:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:57:55] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:57:55] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:57:55] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:55] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:57:55] local.INFO: IMEI packet received {"connection_id":174575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":174575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:57:56] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:56] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:57:56] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:57:56] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:57: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-07 08:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 08:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 08:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 08:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:57:56] 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-07 08:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:57:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:57:56] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:57:56] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:58:01] local.INFO: TCP Data received {"connection_id":174575,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:01] local.INFO: Processing buffer {"connection_id":174575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:01] local.INFO: Packet analysis {"connection_id":174575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:58:01] local.INFO: Extracted packet for processing {"connection_id":174575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:58:01] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 08: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-07 08:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:58:01] 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-07 08:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:58:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":174575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:58:01] local.INFO: GPS data processed {"connection_id":174575,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:58:01] local.INFO: Acknowledgment sent {"connection_id":174575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:58:25] local.INFO: TCP Data received {"connection_id":174574,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e682a8012d7a550005eb93d80009011f27..."} 
[2026-09-07 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e682a8012d7a550005eb93d80009011f27..."} 
[2026-09-07 08:58:25] local.INFO: Processing buffer {"connection_id":174574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e682a8012d7a550005eb93d80009011f27..."} 
[2026-09-07 08:58:25] local.INFO: Packet analysis {"connection_id":174574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:58:25] local.INFO: Extracted packet for processing {"connection_id":174574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e6"} 
[2026-09-07 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":762991872,"raw_latitude":99324888,"longitude_deg":76.2991872,"latitude_deg":9.9324888,"altitude":9,"angle":287,"satellites":39,"speed":6,"hex_longitude":"2d7a5500","hex_latitude":"05eb93d8","is_valid_coordinates":true} 
[2026-09-07 08:58: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-07 08:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920394240001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129337833402925056,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815866664749099008,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751545000,"timestamp_ms":1788751545000,"timestamp_seconds":1788751545,"priority":1,"record_length":96,"hex_timestamp":"000001a079e682a8"} 
[2026-09-07 08:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 08:58:25] 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-07 08:58: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-07 08:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 08:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920394240001,"66":13319,"161":206,"87":13824,"24":6,"16":129337833402925056,"45":8815866664749099008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 08:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920394240001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:58:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 08:58:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129337833402925056,"km_value":129337833402925.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815866664749099008,"description":"Unknown IO ID 45"} 
[2026-09-07 08:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920394240001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8815866664749099008}} 
[2026-09-07 08:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":174574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:58:25] local.INFO: GPS data processed {"connection_id":174574,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:58:25] local.INFO: Acknowledgment sent {"connection_id":174574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:58:45] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:45] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:45] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:58:48] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:48] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:48] local.INFO: IMEI packet received {"connection_id":174576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:58:50] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:50] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:58:50] local.INFO: IMEI packet received {"connection_id":175920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":175920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:58:51] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:51] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:58:51] local.INFO: IMEI packet received {"connection_id":174576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":174576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:58:51] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:51] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:58:51] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:58:51] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:58: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-07 08:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 08: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-07 08:58: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-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:58:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:58:51] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:58:51] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:58:52] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e8ebd8012d7a13c005ec1e280000015128..."} 
[2026-09-07 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e8ebd8012d7a13c005ec1e280000015128..."} 
[2026-09-07 08:58:52] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e8ebd8012d7a13c005ec1e280000015128..."} 
[2026-09-07 08:58:52] local.INFO: Packet analysis {"connection_id":174576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e8"} 
[2026-09-07 08:58:52] local.INFO: Extracted packet for processing {"connection_id":174576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e8"} 
[2026-09-07 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99360296,"longitude_deg":76.2975168,"latitude_deg":9.9360296,"altitude":0,"angle":337,"satellites":40,"speed":6,"hex_longitude":"2d7a13c0","hex_latitude":"05ec1e28","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920430848001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129339748958339072,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584945168384,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788751703000,"timestamp_ms":1788751703000,"timestamp_seconds":1788751703,"priority":1,"record_length":96,"hex_timestamp":"000001a079e8ebd8"} 
[2026-09-07 08: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-07 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147871675,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-1831223416863436224,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3691511815,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812205,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2157379584,"corrected_to":0} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1470900267225361622,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796426243493463,"note":"Value kept but may cause issues"} 
[2026-09-07 08:58:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,99,87,24,241,157,16,129,160,79,45,64,11,33,10,66,13,128,32,191,1,240,227,121,235,4,113,205,25,54,37,239,53,163,2,203,5,7,52,55],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0},{"io_id":203,"original":2157379584,"validated":0}]} 
[2026-09-07 08:58:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":368486719356928,"timestamp_seconds":368486719356.928,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 08: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-07 08:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920430848001,"66":13374,"99":206,"87":13824,"24":6,"16":129339748958339072,"45":8798485584945168384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 08:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920430848001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:58:52] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 08:58:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129339748958339072,"km_value":129339748958339.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584945168384,"description":"Unknown IO ID 45"} 
[2026-09-07 08:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920430848001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8798485584945168384}} 
[2026-09-07 08:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":174576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:58:52] local.INFO: GPS data processed {"connection_id":174576,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:58:52] local.INFO: Acknowledgment sent {"connection_id":174576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:59:23] local.INFO: TCP Data received {"connection_id":175920,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:23] local.INFO: Processing buffer {"connection_id":175920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:23] local.INFO: Packet analysis {"connection_id":175920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:59:23] local.INFO: Extracted packet for processing {"connection_id":175920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 08: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-07 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:59:23] 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-07 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":175920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:59:23] local.INFO: GPS data processed {"connection_id":175920,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:59:23] local.INFO: Acknowledgment sent {"connection_id":175920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:59:23] local.INFO: TCP Data received {"connection_id":174576,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e93de0012d7a0f8005ec27b00000015021..."} 
[2026-09-07 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e93de0012d7a0f8005ec27b00000015021..."} 
[2026-09-07 08:59:23] local.INFO: Processing buffer {"connection_id":174576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e93de0012d7a0f8005ec27b00000015021..."} 
[2026-09-07 08:59:23] local.INFO: Packet analysis {"connection_id":174576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 08:59:23] local.INFO: Extracted packet for processing {"connection_id":174576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99362736,"longitude_deg":76.297408,"latitude_deg":9.9362736,"altitude":0,"angle":336,"satellites":33,"speed":14,"hex_longitude":"2d7a0f80","hex_latitude":"05ec27b0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920435968001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129339882102325248,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628853479424,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751724000,"timestamp_ms":1788751724000,"timestamp_seconds":1788751724,"priority":1,"record_length":96,"hex_timestamp":"000001a079e93de0"} 
[2026-09-07 08: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-07 08:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 08:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 08: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-07 08: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-07 08:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920435968001,"66":13254,"99":206,"87":13824,"24":14,"16":129339882102325248,"45":8796585628853479424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 08:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920435968001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129339882102325248,"km_value":129339882102325.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628853479424,"description":"Unknown IO ID 45"} 
[2026-09-07 08:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920435968001,"power":13254,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8796585628853479424}} 
[2026-09-07 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":174576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:59:23] local.INFO: GPS data processed {"connection_id":174576,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:59:23] local.INFO: Acknowledgment sent {"connection_id":174576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:59:45] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:45] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:45] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 08:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:59:48] local.INFO: TCP Data received {"connection_id":175922,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:48] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:48] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 08:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 08:59:50] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:50] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 08:59:50] local.INFO: IMEI packet received {"connection_id":173198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 08:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:59:52] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:52] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e54e10012d0d610006ea2cd0000700af27..."} 
[2026-09-07 08:59:52] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:59:52] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e5"} 
[2026-09-07 08:59:52] local.INFO: GPS Element Parsed {"raw_longitude":755851520,"raw_latitude":116010192,"longitude_deg":75.585152,"latitude_deg":11.6010192,"altitude":7,"angle":175,"satellites":39,"speed":43,"hex_longitude":"2d0d6100","hex_latitude":"06ea2cd0","is_valid_coordinates":true} 
[2026-09-07 08:59: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-07 08:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920374016001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963277768747984896,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788751466000,"timestamp_ms":1788751466000,"timestamp_seconds":1788751466,"priority":1,"record_length":96,"hex_timestamp":"000001a079e54e10"} 
[2026-09-07 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-07 08:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 08:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 08:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 08:59: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-07 08:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 08:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 08:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920374016001,"66":27930,"83":206,"80":6400,"24":43,"16":400981526893821952,"45":963277768747984896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 08:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 08:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 08:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920374016001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:59:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 08:59:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 08:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":963277768747984896,"description":"Unknown IO ID 45"} 
[2026-09-07 08:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920374016001,"power":27930,"unknown_83":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":963277768747984896}} 
[2026-09-07 08:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:59:52] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:59:52] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 08:59:53] local.INFO: TCP Data received {"connection_id":175922,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:53] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 08:59:53] local.INFO: IMEI packet received {"connection_id":175922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":175922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 08:59:54] local.INFO: TCP Data received {"connection_id":175922,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e95550012d7a0b4005ec32b00000015c23..."} 
[2026-09-07 08:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e95550012d7a0b4005ec32b00000015c23..."} 
[2026-09-07 08:59:54] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e95550012d7a0b4005ec32b00000015c23..."} 
[2026-09-07 08:59:54] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 08:59:54] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 08:59:54] local.INFO: GPS Element Parsed {"raw_longitude":762972992,"raw_latitude":99365552,"longitude_deg":76.2972992,"latitude_deg":9.9365552,"altitude":0,"angle":348,"satellites":35,"speed":25,"hex_longitude":"2d7a0b40","hex_latitude":"05ec32b0","is_valid_coordinates":true} 
[2026-09-07 08: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-07 08:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920441344001,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340028131213312,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360203083776,"note":"Value kept but may cause issues"} 
[2026-09-07 08:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 08:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751730000,"timestamp_ms":1788751730000,"timestamp_seconds":1788751730,"priority":1,"record_length":96,"hex_timestamp":"000001a079e95550"} 
[2026-09-07 08: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-07 08:59: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-07 08:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 08:59:54] 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-07 08: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-07 08: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-07 08:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 08:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 08:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 08:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 08:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 08:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 08:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920441344001,"66":13341,"99":206,"87":13824,"24":25,"16":129340028131213312,"45":8795389360203083776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 08:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 08:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 08:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920441344001,"description":"Unknown IO ID 0"} 
[2026-09-07 08:59:54] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 08:59:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 08:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340028131213312,"km_value":129340028131213.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 08:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360203083776,"description":"Unknown IO ID 45"} 
[2026-09-07 08:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920441344001,"power":13341,"unknown_99":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8795389360203083776}} 
[2026-09-07 08:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 08:59:54] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-07 08:59:54] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:00:23] local.INFO: TCP Data received {"connection_id":173198,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:23] local.INFO: Processing buffer {"connection_id":173198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:23] local.INFO: Packet analysis {"connection_id":173198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:23] local.INFO: Extracted packet for processing {"connection_id":173198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001400,"longitude_deg":75.5851584,"latitude_deg":11.60014,"altitude":12,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0a78","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920375296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824932605952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751768000,"timestamp_ms":1788751768000,"timestamp_seconds":1788751768,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9e9c0"} 
[2026-09-07 09:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:00:23] 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-07 09:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920375296001,"66":26484,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964051824932605952},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920375296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:00:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824932605952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920375296001,"power":26484,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964051824932605952}} 
[2026-09-07 09:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":173198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:00:23] local.INFO: GPS data processed {"connection_id":173198,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:00:23] local.INFO: Acknowledgment sent {"connection_id":173198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:00:25] local.INFO: TCP Data received {"connection_id":175922,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9a370012d7a050005ec4ce00000015924..."} 
[2026-09-07 09:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9a370012d7a050005ec4ce00000015924..."} 
[2026-09-07 09:00:25] local.INFO: Processing buffer {"connection_id":175922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9a370012d7a050005ec4ce00000015924..."} 
[2026-09-07 09:00:25] local.INFO: Packet analysis {"connection_id":175922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:25] local.INFO: Extracted packet for processing {"connection_id":175922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:25] local.INFO: GPS Element Parsed {"raw_longitude":762971392,"raw_latitude":99372256,"longitude_deg":76.2971392,"latitude_deg":9.9372256,"altitude":0,"angle":345,"satellites":36,"speed":19,"hex_longitude":"2d7a0500","hex_latitude":"05ec4ce0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920442880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340363138662400,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794193091552784384,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751750000,"timestamp_ms":1788751750000,"timestamp_seconds":1788751750,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9a370"} 
[2026-09-07 09: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-07 09:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 09:00:25] 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-07 09: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-07 09: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-07 09:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920442880001,"66":13319,"99":206,"87":13824,"24":19,"16":129340363138662400,"45":8794193091552784384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 09:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920442880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:00:25] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 09:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340363138662400,"km_value":129340363138662.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794193091552784384,"description":"Unknown IO ID 45"} 
[2026-09-07 09:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920442880001,"power":13319,"unknown_99":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8794193091552784384}} 
[2026-09-07 09:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":175922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:00:25] local.INFO: GPS data processed {"connection_id":175922,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:00:25] local.INFO: Acknowledgment sent {"connection_id":175922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:00:46] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:46] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:46] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:00:48] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:48] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:48] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:00:50] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:50] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:00:50] local.INFO: IMEI packet received {"connection_id":175923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":175923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:00:51] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:51] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:00:51] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:51] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001400,"longitude_deg":75.5851584,"latitude_deg":11.60014,"altitude":12,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0a78","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920375296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824932605952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751768000,"timestamp_ms":1788751768000,"timestamp_seconds":1788751768,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9e9c0"} 
[2026-09-07 09: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-07 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:00:51] 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-07 09: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-07 09: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-07 09:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:00:51] 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-07 09:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920375296001,"66":26484,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964051824932605952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920375296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:00:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824932605952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920375296001,"power":26484,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964051824932605952}} 
[2026-09-07 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:00:51] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:00:51] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:00:53] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:53] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:00:53] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:00:54] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9f578012d79fa0005ec6c000001015429..."} 
[2026-09-07 09:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9f578012d79fa0005ec6c000001015429..."} 
[2026-09-07 09:00:54] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9f578012d79fa0005ec6c000001015429..."} 
[2026-09-07 09:00:54] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:54] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:00:54] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":99380224,"longitude_deg":76.2968576,"latitude_deg":9.9380224,"altitude":1,"angle":340,"satellites":41,"speed":0,"hex_longitude":"2d79fa00","hex_latitude":"05ec6c00","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920448000001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340775455522816,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792433872950059008,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751771000,"timestamp_ms":1788751771000,"timestamp_seconds":1788751771,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9f578"} 
[2026-09-07 09: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-07 09:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":129,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-342273554478128896,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3902650369,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147338958,"corrected_to":0} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":3,"raw_value":57777562231658294,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2174091264,"corrected_to":0} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960109056,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-4679238718003855355,"note":"Value kept but may cause issues"} 
[2026-09-07 09:00:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,99,87,24,241,157,16,130,160,85,45,64,50,35,10,66,61,128,39,33,129,235,192,1,240,62,227,121,236,4,113,205,3,79,27,88,239,51,2,203,5,231],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1147338958,"validated":0},{"io_id":203,"original":2174091264,"validated":0}]} 
[2026-09-07 09:00:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":379486131650560,"timestamp_seconds":379486131650.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 09: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-07 09:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920448000001,"66":13461,"100":206,"87":13824,"24":0,"16":129340775455522816,"45":8792433872950059008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920448000001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:00:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:00:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340775455522816,"km_value":129340775455522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792433872950059008,"description":"Unknown IO ID 45"} 
[2026-09-07 09:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920448000001,"power":13461,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792433872950059008}} 
[2026-09-07 09:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:00:54] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:00:54] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:01:23] local.INFO: TCP Data received {"connection_id":175923,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:23] local.INFO: Processing buffer {"connection_id":175923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:23] local.INFO: Packet analysis {"connection_id":175923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:01:23] local.INFO: Extracted packet for processing {"connection_id":175923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001400,"longitude_deg":75.5851584,"latitude_deg":11.60014,"altitude":12,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0a78","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920375296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824932605952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751768000,"timestamp_ms":1788751768000,"timestamp_seconds":1788751768,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9e9c0"} 
[2026-09-07 09: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-07 09:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:01:23] 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-07 09:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920375296001,"66":26484,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964051824932605952},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920375296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:01:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824932605952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920375296001,"power":26484,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964051824932605952}} 
[2026-09-07 09:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":175923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:01:23] local.INFO: GPS data processed {"connection_id":175923,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:01:23] local.INFO: Acknowledgment sent {"connection_id":175923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:01:25] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ea4780012d79fa0005ec6c00000101542d..."} 
[2026-09-07 09:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ea4780012d79fa0005ec6c00000101542d..."} 
[2026-09-07 09:01:25] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ea4780012d79fa0005ec6c00000101542d..."} 
[2026-09-07 09:01:25] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:01:25] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:01:25] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":99380224,"longitude_deg":76.2968576,"latitude_deg":9.9380224,"altitude":1,"angle":340,"satellites":45,"speed":0,"hex_longitude":"2d79fa00","hex_latitude":"05ec6c00","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920453376001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340775455522816,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648208281600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788751792000,"timestamp_ms":1788751792000,"timestamp_seconds":1788751792,"priority":1,"record_length":96,"hex_timestamp":"000001a079ea4780"} 
[2026-09-07 09: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-07 09:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 09:01:25] 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-07 09: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-07 09: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-07 09:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920453376001,"66":13254,"100":206,"87":13824,"24":0,"16":129340775455522816,"45":8789337648208281600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920453376001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:01:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:01:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340775455522816,"km_value":129340775455522.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648208281600,"description":"Unknown IO ID 45"} 
[2026-09-07 09:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920453376001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789337648208281600}} 
[2026-09-07 09:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:01:25] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:01:25] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:01:38] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:01:38] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:01:38] local.INFO: IMEI packet received {"connection_id":173199,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":173199,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:01:39] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079eb2df8012d0af740070675e0000a00ef20..."} 
[2026-09-07 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079eb2df8012d0af740070675e0000a00ef20..."} 
[2026-09-07 09:01:39] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079eb2df8012d0af740070675e0000a00ef20..."} 
[2026-09-07 09:01:39] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:01:39] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:01:39] local.INFO: GPS Element Parsed {"raw_longitude":755693376,"raw_latitude":117863904,"longitude_deg":75.5693376,"latitude_deg":11.7863904,"altitude":10,"angle":239,"satellites":32,"speed":17,"hex_longitude":"2d0af740","hex_latitude":"070675e0","is_valid_coordinates":true} 
[2026-09-07 09:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920473600001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30431965006004224,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790592871009277952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788751851000,"timestamp_ms":1788751851000,"timestamp_seconds":1788751851,"priority":1,"record_length":96,"hex_timestamp":"000001a079eb2df8"} 
[2026-09-07 09:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 09:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920473600001,"66":14461,"163":206,"94":10240,"24":17,"16":30431965006004224,"45":790592871009277952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 09:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920473600001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:01:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 09:01:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30431965006004224,"km_value":30431965006004.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":790592871009277952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920473600001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":790592871009277952}} 
[2026-09-07 09:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:01:39] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:01:39] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:01:45] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:45] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:45] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:01:48] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:48] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:48] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:01:48] local.INFO: TCP Data received {"connection_id":173200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:01:48] local.INFO: Processing buffer {"connection_id":173200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:01:48] local.INFO: IMEI packet received {"connection_id":173200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:01:50] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:50] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:01:50] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:01:51] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:51] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079e9e9c0012d0d614006ea0a78000c00b327..."} 
[2026-09-07 09:01:51] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:01:51] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079e9"} 
[2026-09-07 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001400,"longitude_deg":75.5851584,"latitude_deg":11.60014,"altitude":12,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0a78","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920375296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964051824932605952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788751768000,"timestamp_ms":1788751768000,"timestamp_seconds":1788751768,"priority":1,"record_length":96,"hex_timestamp":"000001a079e9e9c0"} 
[2026-09-07 09: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-07 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:01:51] 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-07 09: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-07 09: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-07 09:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920375296001,"66":26484,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964051824932605952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920375296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:01:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":964051824932605952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920375296001,"power":26484,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964051824932605952}} 
[2026-09-07 09:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:01:51] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:01:51] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:01:53] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:53] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:01:53] local.INFO: IMEI packet received {"connection_id":175924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":175924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:01:54] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079ea9988012d79f7c005ec73780001015b2c..."} 
[2026-09-07 09:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ea9988012d79f7c005ec73780001015b2c..."} 
[2026-09-07 09:01:54] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ea9988012d79f7c005ec73780001015b2c..."} 
[2026-09-07 09:01:54] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:01:54] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:01:54] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":99382136,"longitude_deg":76.2968,"latitude_deg":9.9382136,"altitude":1,"angle":347,"satellites":44,"speed":4,"hex_longitude":"2d79f7c0","hex_latitude":"05ec7378","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920458752001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340878534737920,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648208281600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788751813000,"timestamp_ms":1788751813000,"timestamp_seconds":1788751813,"priority":1,"record_length":96,"hex_timestamp":"000001a079ea9988"} 
[2026-09-07 09: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-07 09:01: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-07 09: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 09:01:54] 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-07 09: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-07 09: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-07 09:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920458752001,"66":12961,"100":206,"87":13824,"24":4,"16":129340878534737920,"45":8789337648208281600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920458752001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:01:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:01:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340878534737920,"km_value":129340878534737.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648208281600,"description":"Unknown IO ID 45"} 
[2026-09-07 09:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920458752001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8789337648208281600}} 
[2026-09-07 09:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:01:54] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:01:54] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:02:10] local.INFO: TCP Data received {"connection_id":173199,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec52f0012d0b4e40070600300010004221..."} 
[2026-09-07 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec52f0012d0b4e40070600300010004221..."} 
[2026-09-07 09:02:10] local.INFO: Processing buffer {"connection_id":173199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec52f0012d0b4e40070600300010004221..."} 
[2026-09-07 09:02:10] local.INFO: Packet analysis {"connection_id":173199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:02:10] local.INFO: Extracted packet for processing {"connection_id":173199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833776,"longitude_deg":75.5715648,"latitude_deg":11.7833776,"altitude":16,"angle":66,"satellites":33,"speed":6,"hex_longitude":"2d0b4e40","hex_latitude":"07060030","is_valid_coordinates":true} 
[2026-09-07 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920492800001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30433962165796864,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277717504,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788751926000,"timestamp_ms":1788751926000,"timestamp_seconds":1788751926,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec52f0"} 
[2026-09-07 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920492800001,"66":14396,"165":206,"94":10240,"24":6,"16":30433962165796864,"45":814447875277717504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920492800001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:02:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:02:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30433962165796864,"km_value":30433962165796.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277717504,"description":"Unknown IO ID 45"} 
[2026-09-07 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920492800001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814447875277717504}} 
[2026-09-07 09:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":173199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777765,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:02:10] local.INFO: GPS data processed {"connection_id":173199,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:02:10] local.INFO: Acknowledgment sent {"connection_id":173199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:02:22] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a079ebb6b0012d0d614006ea0a78000c00b32a..."} 
[2026-09-07 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ebb6b0012d0d614006ea0a78000c00b32a..."} 
[2026-09-07 09:02:22] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ebb6b0012d0d614006ea0a78000c00b32a..."} 
[2026-09-07 09:02:22] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:02:22] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116001400,"longitude_deg":75.5851584,"latitude_deg":11.60014,"altitude":12,"angle":179,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0a78","is_valid_coordinates":true} 
[2026-09-07 09:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920452608001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674532864,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788751886000,"timestamp_ms":1788751886000,"timestamp_seconds":1788751886,"priority":1,"record_length":96,"hex_timestamp":"000001a079ebb6b0"} 
[2026-09-07 09: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-07 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 09:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:02: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-07 09:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920452608001,"66":26376,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964122193674532864},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920452608001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:02:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674532864,"description":"Unknown IO ID 45"} 
[2026-09-07 09:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920452608001,"power":26376,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674532864}} 
[2026-09-07 09:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:02:22] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:02:22] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:02:26] local.INFO: TCP Data received {"connection_id":175924,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079eaa158012d79f7c005ec7420000100002a..."} 
[2026-09-07 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079eaa158012d79f7c005ec7420000100002a..."} 
[2026-09-07 09:02:26] local.INFO: Processing buffer {"connection_id":175924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079eaa158012d79f7c005ec7420000100002a..."} 
[2026-09-07 09:02:26] local.INFO: Packet analysis {"connection_id":175924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:02:26] local.INFO: Extracted packet for processing {"connection_id":175924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ea"} 
[2026-09-07 09:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762968000,"raw_latitude":99382304,"longitude_deg":76.2968,"latitude_deg":9.9382304,"altitude":1,"angle":0,"satellites":42,"speed":2,"hex_longitude":"2d79f7c0","hex_latitude":"05ec7420","is_valid_coordinates":true} 
[2026-09-07 09:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920464128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129340887124672512,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788704329511172096,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788751815000,"timestamp_ms":1788751815000,"timestamp_seconds":1788751815,"priority":1,"record_length":96,"hex_timestamp":"000001a079eaa158"} 
[2026-09-07 09:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:02:26] 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-07 09:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-07 09:02:26] 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-07 09:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920464128001,"66":13135,"100":206,"87":13824,"24":2,"16":129340887124672512,"45":8788704329511172096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920464128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:02:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:02:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129340887124672512,"km_value":129340887124672.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788704329511172096,"description":"Unknown IO ID 45"} 
[2026-09-07 09:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920464128001,"power":13135,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788704329511172096}} 
[2026-09-07 09:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":175924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:02:26] local.INFO: GPS data processed {"connection_id":175924,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:02:26] local.INFO: Acknowledgment sent {"connection_id":175924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:02:28] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:28] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:28] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:02:33] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:33] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:02:33] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:02:34] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec56d8012d0b4ec0070600a00010002621..."} 
[2026-09-07 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec56d8012d0b4ec0070600a00010002621..."} 
[2026-09-07 09:02:34] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec56d8012d0b4ec0070600a00010002621..."} 
[2026-09-07 09:02:34] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:02:34] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:02:34] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833888,"longitude_deg":75.5715776,"latitude_deg":11.7833888,"altitude":16,"angle":38,"satellites":33,"speed":6,"hex_longitude":"2d0b4ec0","hex_latitude":"070600a0","is_valid_coordinates":true} 
[2026-09-07 09:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920493056001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30433970755731456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814658981510262784,"note":"Value kept but may cause issues"} 
[2026-09-07 09:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788751927000,"timestamp_ms":1788751927000,"timestamp_seconds":1788751927,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec56d8"} 
[2026-09-07 09:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:02:34] 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-07 09:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:02:34] 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-07 09:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920493056001,"66":14396,"165":206,"94":10240,"24":6,"16":30433970755731456,"45":814658981510262784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920493056001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:02:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:02:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30433970755731456,"km_value":30433970755731.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":814658981510262784,"description":"Unknown IO ID 45"} 
[2026-09-07 09:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920493056001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814658981510262784}} 
[2026-09-07 09:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:02:34] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:02:34] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:02:49] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:49] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:49] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:02:50] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:50] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:50] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:02:52] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:52] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:52] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:02:53] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:53] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:02:53] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:02:55] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:02:55] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:02:55] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:03:00] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:00] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:00] local.INFO: IMEI packet received {"connection_id":173201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":173201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:03:01] local.INFO: TCP Data received {"connection_id":173201,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ebbe80012d0d630006ea0998000c000a29..."} 
[2026-09-07 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ebbe80012d0d630006ea0998000c000a29..."} 
[2026-09-07 09:03:01] local.INFO: Processing buffer {"connection_id":173201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ebbe80012d0d630006ea0998000c000a29..."} 
[2026-09-07 09:03:01] local.INFO: Packet analysis {"connection_id":173201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:03:01] local.INFO: Extracted packet for processing {"connection_id":173201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079eb"} 
[2026-09-07 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":116001176,"longitude_deg":75.5852032,"latitude_deg":11.6001176,"altitude":12,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2d0d6300","hex_latitude":"06ea0998","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920482816001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674532864,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788751888000,"timestamp_ms":1788751888000,"timestamp_seconds":1788751888,"priority":1,"record_length":96,"hex_timestamp":"000001a079ebbe80"} 
[2026-09-07 09: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-07 09:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 09:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:03:01] 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-07 09:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920482816001,"66":26169,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964122193674532864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920482816001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:03:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674532864,"description":"Unknown IO ID 45"} 
[2026-09-07 09:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920482816001,"power":26169,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674532864}} 
[2026-09-07 09:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":173201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:03:01] local.INFO: GPS data processed {"connection_id":173201,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:03:01] local.INFO: Acknowledgment sent {"connection_id":173201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:03:05] local.INFO: TCP Data received {"connection_id":173432,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec5ac0012d0b4f0007060158001000191f..."} 
[2026-09-07 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec5ac0012d0b4f0007060158001000191f..."} 
[2026-09-07 09:03:05] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec5ac0012d0b4f0007060158001000191f..."} 
[2026-09-07 09:03:05] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:05] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117834072,"longitude_deg":75.571584,"latitude_deg":11.7834072,"altitude":16,"angle":25,"satellites":31,"speed":8,"hex_longitude":"2d0b4f00","hex_latitude":"07060158","is_valid_coordinates":true} 
[2026-09-07 09:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920493312001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30433979345666048,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814799718998646784,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788751928000,"timestamp_ms":1788751928000,"timestamp_seconds":1788751928,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec5ac0"} 
[2026-09-07 09:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920493312001,"66":14439,"165":206,"94":10240,"24":8,"16":30433979345666048,"45":814799718998646784},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920493312001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30433979345666048,"km_value":30433979345666.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":814799718998646784,"description":"Unknown IO ID 45"} 
[2026-09-07 09:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920493312001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814799718998646784}} 
[2026-09-07 09:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:03:05] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:03:05] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:03:33] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:33] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:33] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:03:38] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:38] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:03:38] local.INFO: IMEI packet received {"connection_id":175925,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":175925,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:03:39] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec7a00012d0b5340070609e0000e000e20..."} 
[2026-09-07 09:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec7a00012d0b5340070609e0000e000e20..."} 
[2026-09-07 09:03:39] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec7a00012d0b5340070609e0000e000e20..."} 
[2026-09-07 09:03:39] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:39] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836256,"longitude_deg":75.5716928,"latitude_deg":11.7836256,"altitude":14,"angle":14,"satellites":32,"speed":11,"hex_longitude":"2d0b5340","hex_latitude":"070609e0","is_valid_coordinates":true} 
[2026-09-07 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920493568001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30434099604750336,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742871552,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788751936000,"timestamp_ms":1788751936000,"timestamp_seconds":1788751936,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec7a00"} 
[2026-09-07 09:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 09:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920493568001,"66":14559,"165":206,"94":10240,"24":11,"16":30434099604750336,"45":814870087742871552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920493568001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:03:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:03:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30434099604750336,"km_value":30434099604750.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742871552,"description":"Unknown IO ID 45"} 
[2026-09-07 09:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920493568001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":814870087742871552}} 
[2026-09-07 09:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:03:39] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:03:39] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:03:40] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ecc820012d0b548007060cc8000e000a20..."} 
[2026-09-07 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ecc820012d0b548007060cc8000e000a20..."} 
[2026-09-07 09:03:40] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ecc820012d0b548007060cc8000e000a20..."} 
[2026-09-07 09:03:40] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:40] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":117837000,"longitude_deg":75.5717248,"latitude_deg":11.7837,"altitude":14,"angle":10,"satellites":32,"speed":0,"hex_longitude":"2d0b5480","hex_latitude":"07060cc8","is_valid_coordinates":true} 
[2026-09-07 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920495616001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30434142554423296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394450944,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788751956000,"timestamp_ms":1788751956000,"timestamp_seconds":1788751956,"priority":1,"record_length":96,"hex_timestamp":"000001a079ecc820"} 
[2026-09-07 09:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 09:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920495616001,"66":14428,"165":206,"94":10240,"24":0,"16":30434142554423296,"45":816066356394450944},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920495616001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30434142554423296,"km_value":30434142554423.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394450944,"description":"Unknown IO ID 45"} 
[2026-09-07 09:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920495616001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394450944}} 
[2026-09-07 09:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:03:40] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:03:40] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:03:45] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:45] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:45] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:03:47] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:47] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:47] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:03:50] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:50] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:03:50] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:03:52] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec1088012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec1088012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:03:52] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec1088012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:03:52] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:52] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":116001176,"longitude_deg":75.5852032,"latitude_deg":11.6001176,"altitude":12,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d0d6300","hex_latitude":"06ea0998","is_valid_coordinates":true} 
[2026-09-07 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920483328001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614774883719168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788751909000,"timestamp_ms":1788751909000,"timestamp_seconds":1788751909,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec1088"} 
[2026-09-07 09:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 09:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:03:52] 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-07 09:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920483328001,"66":27658,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964614774883719168},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920483328001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614774883719168,"description":"Unknown IO ID 45"} 
[2026-09-07 09:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920483328001,"power":27658,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964614774883719168}} 
[2026-09-07 09:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:03:52] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:03:52] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:04:12] local.INFO: TCP Data received {"connection_id":175925,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ed1a28012d0b548007060cc8000e000a1d..."} 
[2026-09-07 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ed1a28012d0b548007060cc8000e000a1d..."} 
[2026-09-07 09:04:12] local.INFO: Processing buffer {"connection_id":175925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ed1a28012d0b548007060cc8000e000a1d..."} 
[2026-09-07 09:04:12] local.INFO: Packet analysis {"connection_id":175925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:12] local.INFO: Extracted packet for processing {"connection_id":175925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":117837000,"longitude_deg":75.5717248,"latitude_deg":11.7837,"altitude":14,"angle":10,"satellites":29,"speed":0,"hex_longitude":"2d0b5480","hex_latitude":"07060cc8","is_valid_coordinates":true} 
[2026-09-07 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920500736001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30434142554423296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816418200115529728,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788751977000,"timestamp_ms":1788751977000,"timestamp_seconds":1788751977,"priority":1,"record_length":96,"hex_timestamp":"000001a079ed1a28"} 
[2026-09-07 09:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":175925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":175925,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920500736001,"66":14396,"165":206,"94":10240,"24":0,"16":30434142554423296,"45":816418200115529728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920500736001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:04:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:04:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30434142554423296,"km_value":30434142554423.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":816418200115529728,"description":"Unknown IO ID 45"} 
[2026-09-07 09:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920500736001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816418200115529728}} 
[2026-09-07 09:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":175925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:04:12] local.INFO: GPS data processed {"connection_id":175925,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:04:12] local.INFO: Acknowledgment sent {"connection_id":175925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:04:23] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ec6290012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ec6290012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:04:23] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ec6290012d0d630006ea0998000c000a2b..."} 
[2026-09-07 09:04:23] local.INFO: Packet analysis {"connection_id":173435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:04:23] local.INFO: Extracted packet for processing {"connection_id":173435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ec"} 
[2026-09-07 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755852032,"raw_latitude":116001176,"longitude_deg":75.5852032,"latitude_deg":11.6001176,"altitude":12,"angle":10,"satellites":43,"speed":0,"hex_longitude":"2d0d6300","hex_latitude":"06ea0998","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920488704001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400981526893821952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964614774883719168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788751930000,"timestamp_ms":1788751930000,"timestamp_seconds":1788751930,"priority":1,"record_length":96,"hex_timestamp":"000001a079ec6290"} 
[2026-09-07 09: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-07 09:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 09:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:23] 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-07 09:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920488704001,"66":27745,"83":206,"80":6400,"24":0,"16":400981526893821952,"45":964614774883719168},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920488704001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:04:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400981526893821952,"km_value":400981526893821.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964614774883719168,"description":"Unknown IO ID 45"} 
[2026-09-07 09:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920488704001,"power":27745,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964614774883719168}} 
[2026-09-07 09:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":173435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:04:23] local.INFO: GPS data processed {"connection_id":173435,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:04:23] local.INFO: Acknowledgment sent {"connection_id":173435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:04:28] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:28] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:28] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:04:33] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:33] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:04:33] local.INFO: IMEI packet received {"connection_id":175926,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":175926,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:04:34] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079ed6c30012d0b544007060c88000e00ce20..."} 
[2026-09-07 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ed6c30012d0b544007060c88000e00ce20..."} 
[2026-09-07 09:04:34] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ed6c30012d0b544007060c88000e00ce20..."} 
[2026-09-07 09:04:34] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:34] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:34] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836936,"longitude_deg":75.5717184,"latitude_deg":11.7836936,"altitude":14,"angle":206,"satellites":32,"speed":1,"hex_longitude":"2d0b5440","hex_latitude":"07060c88","is_valid_coordinates":true} 
[2026-09-07 09:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920506112001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30434146849390592,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816418200115529728,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788751998000,"timestamp_ms":1788751998000,"timestamp_seconds":1788751998,"priority":1,"record_length":96,"hex_timestamp":"000001a079ed6c30"} 
[2026-09-07 09:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:04:34] 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-07 09:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:04:34] 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-07 09:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920506112001,"66":14428,"165":206,"94":10240,"24":1,"16":30434146849390592,"45":816418200115529728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920506112001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:04:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:04:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30434146849390592,"km_value":30434146849390.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":816418200115529728,"description":"Unknown IO ID 45"} 
[2026-09-07 09:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920506112001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":816418200115529728}} 
[2026-09-07 09:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:04:34] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:04:34] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:04:45] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:04:45] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:04:45] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:04:45] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:04:45] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:04:45] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:04:50] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:04:50] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:04:50] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:04:51] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079edcdd8012d0d3a0006eaba48001501372a..."} 
[2026-09-07 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079edcdd8012d0d3a0006eaba48001501372a..."} 
[2026-09-07 09:04:51] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a079..."} 
[2026-09-07 09:04:51] local.INFO: IMEI packet received {"connection_id":173202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":173202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:04:55] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079edd5a8012d0d354006eabd80001501292a..."} 
[2026-09-07 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079edd5a8012d0d354006eabd80001501292a..."} 
[2026-09-07 09:04:55] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a079edcdd8012d0d3a0006eaba48001501372a..."} 
[2026-09-07 09:04:55] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:55] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":116046408,"longitude_deg":75.5841536,"latitude_deg":11.6046408,"altitude":21,"angle":311,"satellites":42,"speed":28,"hex_longitude":"2d0d3a00","hex_latitude":"06eaba48","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920516608001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400983841881194496,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":955396469407385600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788752023000,"timestamp_ms":1788752023000,"timestamp_seconds":1788752023,"priority":1,"record_length":96,"hex_timestamp":"000001a079edcdd8"} 
[2026-09-07 09: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-07 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 09:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:55] 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-07 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920516608001,"66":27767,"83":206,"80":6400,"24":28,"16":400983841881194496,"45":955396469407385600},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920516608001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400983841881194496,"km_value":400983841881194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":955396469407385600,"description":"Unknown IO ID 45"} 
[2026-09-07 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920516608001,"power":27767,"unknown_83":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":955396469407385600}} 
[2026-09-07 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:04:55] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:04:55] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:04:55] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:55] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ed"} 
[2026-09-07 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":755840320,"raw_latitude":116047232,"longitude_deg":75.584032,"latitude_deg":11.6047232,"altitude":21,"angle":297,"satellites":42,"speed":29,"hex_longitude":"2d0d3540","hex_latitude":"06eabd80","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920517888001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400983910600671232,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074300850161664,"note":"Value kept but may cause issues"} 
[2026-09-07 09:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788752025000,"timestamp_ms":1788752025000,"timestamp_seconds":1788752025,"priority":1,"record_length":96,"hex_timestamp":"000001a079edd5a8"} 
[2026-09-07 09: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-07 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:04:55] 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-07 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920517888001,"66":27800,"83":206,"80":6400,"24":29,"16":400983910600671232,"45":953074300850161664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-09-07 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920517888001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400983910600671232,"km_value":400983910600671.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074300850161664,"description":"Unknown IO ID 45"} 
[2026-09-07 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920517888001,"power":27800,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":953074300850161664}} 
[2026-09-07 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:04:55] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:04:55] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:05:05] local.INFO: TCP Data received {"connection_id":175926,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079eeb838012d0b29c007060a38000c00b322..."} 
[2026-09-07 09:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079eeb838012d0b29c007060a38000c00b322..."} 
[2026-09-07 09:05:05] local.INFO: Processing buffer {"connection_id":175926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079eeb838012d0b29c007060a38000c00b322..."} 
[2026-09-07 09:05:05] local.INFO: Packet analysis {"connection_id":175926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:05] local.INFO: Extracted packet for processing {"connection_id":175926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:05] local.INFO: GPS Element Parsed {"raw_longitude":755706304,"raw_latitude":117836344,"longitude_deg":75.5706304,"latitude_deg":11.7836344,"altitude":12,"angle":179,"satellites":34,"speed":24,"hex_longitude":"2d0b29c0","hex_latitude":"07060a38","is_valid_coordinates":true} 
[2026-09-07 09:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920532736001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30434992957947904,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407372906496,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788752083000,"timestamp_ms":1788752083000,"timestamp_seconds":1788752083,"priority":1,"record_length":96,"hex_timestamp":"000001a079eeb838"} 
[2026-09-07 09:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:05:05] 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-07 09:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 09:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175926,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920532736001,"66":14450,"165":206,"94":10240,"24":24,"16":30434992957947904,"45":804244407372906496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920532736001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:05:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:05:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30434992957947904,"km_value":30434992957947.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407372906496,"description":"Unknown IO ID 45"} 
[2026-09-07 09:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920532736001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":804244407372906496}} 
[2026-09-07 09:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":175926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:05:05] local.INFO: GPS data processed {"connection_id":175926,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:05:05] local.INFO: Acknowledgment sent {"connection_id":175926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:05:27] local.INFO: TCP Data received {"connection_id":173202,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ee00a0012d0d154006eacea0001401302b..."} 
[2026-09-07 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ee00a0012d0d154006eacea0001401302b..."} 
[2026-09-07 09:05:27] local.INFO: Processing buffer {"connection_id":173202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ee00a0012d0d154006eacea0001401302b..."} 
[2026-09-07 09:05:27] local.INFO: Packet analysis {"connection_id":173202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:27] local.INFO: Extracted packet for processing {"connection_id":173202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:27] local.INFO: GPS Element Parsed {"raw_longitude":755832128,"raw_latitude":116051616,"longitude_deg":75.5832128,"latitude_deg":11.6051616,"altitude":20,"angle":304,"satellites":43,"speed":34,"hex_longitude":"2d0d1540","hex_latitude":"06eacea0","is_valid_coordinates":true} 
[2026-09-07 09:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920518400001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400984352982302720,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951737294710996992,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788752036000,"timestamp_ms":1788752036000,"timestamp_seconds":1788752036,"priority":1,"record_length":96,"hex_timestamp":"000001a079ee00a0"} 
[2026-09-07 09:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:05:27] 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-07 09:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:05:27] 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-07 09:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920518400001,"66":27832,"238":206,"80":6400,"24":34,"16":400984352982302720,"45":951737294710996992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920518400001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:05:27] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:05:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400984352982302720,"km_value":400984352982302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":951737294710996992,"description":"Unknown IO ID 45"} 
[2026-09-07 09:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920518400001,"power":27832,"unknown_238":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":951737294710996992}} 
[2026-09-07 09:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":173202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:05:27] local.INFO: GPS data processed {"connection_id":173202,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:05:27] local.INFO: Acknowledgment sent {"connection_id":173202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:05:27] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:27] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:27] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:05:28] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:05:28] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:28] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:05:29] local.INFO: TCP Data received {"connection_id":174580,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:29] local.INFO: Processing buffer {"connection_id":174580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:05:29] local.INFO: IMEI packet received {"connection_id":174580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":174580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:05:45] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:45] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:45] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:05:50] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:50] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:05:50] local.INFO: IMEI packet received {"connection_id":175927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":175927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:05:51] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:05:51] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:05:51] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:51] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755824256,"raw_latitude":116057656,"longitude_deg":75.5824256,"latitude_deg":11.6057656,"altitude":19,"angle":317,"satellites":40,"speed":41,"hex_longitude":"2d0cf680","hex_latitude":"06eae638","is_valid_coordinates":true} 
[2026-09-07 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920521216001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400984829723672576,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":942730095457378304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752047000,"timestamp_ms":1788752047000,"timestamp_seconds":1788752047,"priority":1,"record_length":96,"hex_timestamp":"000001a079ee2b98"} 
[2026-09-07 09:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 09:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:05:51] 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-07 09:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920521216001,"66":27800,"238":206,"80":6400,"24":41,"16":400984829723672576,"45":942730095457378304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920521216001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:05:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:05:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400984829723672576,"km_value":400984829723672.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":942730095457378304,"description":"Unknown IO ID 45"} 
[2026-09-07 09:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920521216001,"power":27800,"unknown_238":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":942730095457378304}} 
[2026-09-07 09:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:05:51] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:05:51] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:06:23] local.INFO: TCP Data received {"connection_id":175927,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:06:23] local.INFO: Processing buffer {"connection_id":175927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ee2b98012d0cf68006eae6380013013d28..."} 
[2026-09-07 09:06:23] local.INFO: Packet analysis {"connection_id":175927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:06:23] local.INFO: Extracted packet for processing {"connection_id":175927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755824256,"raw_latitude":116057656,"longitude_deg":75.5824256,"latitude_deg":11.6057656,"altitude":19,"angle":317,"satellites":40,"speed":41,"hex_longitude":"2d0cf680","hex_latitude":"06eae638","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920524032001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400984829723672576,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934074739925071872,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788752047000,"timestamp_ms":1788752047000,"timestamp_seconds":1788752047,"priority":1,"record_length":96,"hex_timestamp":"000001a079ee2b98"} 
[2026-09-07 09: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-07 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:06: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-07 09: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-07 09: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-07 09:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:06:23] 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-07 09:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920524032001,"66":27800,"238":206,"80":6400,"24":41,"16":400984829723672576,"45":934074739925071872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920524032001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:06:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:06:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400984829723672576,"km_value":400984829723672.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":934074739925071872,"description":"Unknown IO ID 45"} 
[2026-09-07 09:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920524032001,"power":27800,"unknown_238":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":934074739925071872}} 
[2026-09-07 09:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":175927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:06:23] local.INFO: GPS data processed {"connection_id":175927,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:06:23] local.INFO: Acknowledgment sent {"connection_id":175927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:06:45] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:45] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:45] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:06:49] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:49] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:49] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:06:50] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:50] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:06:50] local.INFO: IMEI packet received {"connection_id":173437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":173437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:06:51] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ee4ec0012d0cdf4006eb02d80010014327..."} 
[2026-09-07 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ee4ec0012d0cdf4006eb02d80010014327..."} 
[2026-09-07 09:06:51] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ee4ec0012d0cdf4006eb02d80010014327..."} 
[2026-09-07 09:06:51] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:06:51] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755818304,"raw_latitude":116064984,"longitude_deg":75.5818304,"latitude_deg":11.6064984,"altitude":16,"angle":323,"satellites":39,"speed":44,"hex_longitude":"2d0cdf40","hex_latitude":"06eb02d8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920524032001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400985284990205952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":934074739925071872,"note":"Value kept but may cause issues"} 
[2026-09-07 09:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752056000,"timestamp_ms":1788752056000,"timestamp_seconds":1788752056,"priority":1,"record_length":96,"hex_timestamp":"000001a079ee4ec0"} 
[2026-09-07 09: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-07 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:06:51] 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-07 09: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-07 09: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-07 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:06:51] 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-07 09:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920524032001,"66":27767,"238":206,"80":6400,"24":44,"16":400985284990205952,"45":934074739925071872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920524032001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:06:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:06:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400985284990205952,"km_value":400985284990205.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":934074739925071872,"description":"Unknown IO ID 45"} 
[2026-09-07 09:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920524032001,"power":27767,"unknown_238":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":934074739925071872}} 
[2026-09-07 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:06:51] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:06:51] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:07:12] local.INFO: TCP Data received {"connection_id":173438,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:07:12] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:07:12] local.INFO: IMEI packet received {"connection_id":173438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":173438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:07:23] local.INFO: TCP Data received {"connection_id":173437,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079ee71e8012d0ccb0006eb1f68000b014325..."} 
[2026-09-07 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079ee71e8012d0ccb0006eb1f68000b014325..."} 
[2026-09-07 09:07:23] local.INFO: Processing buffer {"connection_id":173437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079ee71e8012d0ccb0006eb1f68000b014325..."} 
[2026-09-07 09:07:23] local.INFO: Packet analysis {"connection_id":173437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:07:23] local.INFO: Extracted packet for processing {"connection_id":173437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":755813120,"raw_latitude":116072296,"longitude_deg":75.581312,"latitude_deg":11.6072296,"altitude":11,"angle":323,"satellites":37,"speed":32,"hex_longitude":"2d0ccb00","hex_latitude":"06eb1f68","is_valid_coordinates":true} 
[2026-09-07 09:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920526336001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400985714486935552,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927530446718425088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788752065000,"timestamp_ms":1788752065000,"timestamp_seconds":1788752065,"priority":1,"record_length":96,"hex_timestamp":"000001a079ee71e8"} 
[2026-09-07 09:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:07:23] 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-07 09:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920526336001,"66":27930,"238":206,"80":6400,"24":32,"16":400985714486935552,"45":927530446718425088},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920526336001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:07:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:07:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400985714486935552,"km_value":400985714486935.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":927530446718425088,"description":"Unknown IO ID 45"} 
[2026-09-07 09:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920526336001,"power":27930,"unknown_238":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":927530446718425088}} 
[2026-09-07 09:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":173437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:07:23] local.INFO: GPS data processed {"connection_id":173437,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:07:23] local.INFO: Acknowledgment sent {"connection_id":173437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:07:45] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:45] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:45] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:07:50] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:50] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:07:50] local.INFO: IMEI packet received {"connection_id":173206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:07:51] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079eeac80012d0cb58006eb3c10000d014429..."} 
[2026-09-07 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079eeac80012d0cb58006eb3c10000d014429..."} 
[2026-09-07 09:07:51] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079eeac80012d0cb58006eb3c10000d014429..."} 
[2026-09-07 09:07:51] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:07:51] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755807616,"raw_latitude":116079632,"longitude_deg":75.5807616,"latitude_deg":11.6079632,"altitude":13,"angle":324,"satellites":41,"speed":28,"hex_longitude":"2d0cb580","hex_latitude":"06eb3c10","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920528640001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400986156868567040,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":921830578441906176,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752080000,"timestamp_ms":1788752080000,"timestamp_seconds":1788752080,"priority":1,"record_length":96,"hex_timestamp":"000001a079eeac80"} 
[2026-09-07 09: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-07 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:07:51] 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-07 09: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-07 09: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-07 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:07:51] 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-07 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920528640001,"66":27887,"238":206,"80":6400,"24":28,"16":400986156868567040,"45":921830578441906176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920528640001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:07:51] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:07:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400986156868567040,"km_value":400986156868567.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":921830578441906176,"description":"Unknown IO ID 45"} 
[2026-09-07 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920528640001,"power":27887,"unknown_238":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":921830578441906176}} 
[2026-09-07 09:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:07:51] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:07:51] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:07:58] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:07:58] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:07:58] local.INFO: IMEI packet received {"connection_id":174584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":174584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:07:59] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f05a30012d79e3c005ecaa58001300db28..."} 
[2026-09-07 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f05a30012d79e3c005ecaa58001300db28..."} 
[2026-09-07 09:07:59] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f05a30012d79e3c005ecaa58001300db28..."} 
[2026-09-07 09:07:59] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f0"} 
[2026-09-07 09:07:59] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f0"} 
[2026-09-07 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396184,"longitude_deg":76.296288,"latitude_deg":9.9396184,"altitude":19,"angle":219,"satellites":40,"speed":1,"hex_longitude":"2d79e3c0","hex_latitude":"05ecaa58","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920560128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129343150572437504,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783145198724753408,"note":"Value kept but may cause issues"} 
[2026-09-07 09:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788752190000,"timestamp_ms":1788752190000,"timestamp_seconds":1788752190,"priority":1,"record_length":96,"hex_timestamp":"000001a079f05a30"} 
[2026-09-07 09: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-07 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 09:07:59] 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-07 09: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-07 09: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-07 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920560128001,"66":13406,"118":206,"87":13824,"24":1,"16":129343150572437504,"45":8783145198724753408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920560128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:07:59] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 09:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129343150572437504,"km_value":129343150572437.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783145198724753408,"description":"Unknown IO ID 45"} 
[2026-09-07 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920560128001,"power":13406,"unknown_118":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783145198724753408}} 
[2026-09-07 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:07:59] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:07:59] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:08:23] local.INFO: TCP Data received {"connection_id":173206,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079eee330012d0c9f0006eb59c80012014528..."} 
[2026-09-07 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079eee330012d0c9f0006eb59c80012014528..."} 
[2026-09-07 09:08:23] local.INFO: Processing buffer {"connection_id":173206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079eee330012d0c9f0006eb59c80012014528..."} 
[2026-09-07 09:08:23] local.INFO: Packet analysis {"connection_id":173206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:08:23] local.INFO: Extracted packet for processing {"connection_id":173206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079ee"} 
[2026-09-07 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755801856,"raw_latitude":116087240,"longitude_deg":75.5801856,"latitude_deg":11.608724,"altitude":18,"angle":325,"satellites":40,"speed":29,"hex_longitude":"2d0c9f00","hex_latitude":"06eb59c8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400986616430067712,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915778866444505088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788752094000,"timestamp_ms":1788752094000,"timestamp_seconds":1788752094,"priority":1,"record_length":96,"hex_timestamp":"000001a079eee330"} 
[2026-09-07 09: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-07 09:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 09:08:23] 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-07 09: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-07 09: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-07 09:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:08:23] 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-07 09:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920532480001,"66":27767,"238":206,"80":6400,"24":29,"16":400986616430067712,"45":915778866444505088},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 09:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:08:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 09:08:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400986616430067712,"km_value":400986616430067.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":915778866444505088,"description":"Unknown IO ID 45"} 
[2026-09-07 09:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920532480001,"power":27767,"unknown_238":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":915778866444505088}} 
[2026-09-07 09:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":173206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:08:23] local.INFO: GPS data processed {"connection_id":173206,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:08:23] local.INFO: Acknowledgment sent {"connection_id":173206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:08:30] local.INFO: TCP Data received {"connection_id":174584,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f065e8012d79e34005eca9f8001300ce28..."} 
[2026-09-07 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f065e8012d79e34005eca9f8001300ce28..."} 
[2026-09-07 09:08:30] local.INFO: Processing buffer {"connection_id":174584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f065e8012d79e34005eca9f8001300ce28..."} 
[2026-09-07 09:08:30] local.INFO: Packet analysis {"connection_id":174584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f0"} 
[2026-09-07 09:08:30] local.INFO: Extracted packet for processing {"connection_id":174584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f0"} 
[2026-09-07 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":762962752,"raw_latitude":99396088,"longitude_deg":76.2962752,"latitude_deg":9.9396088,"altitude":19,"angle":206,"satellites":40,"speed":1,"hex_longitude":"2d79e340","hex_latitude":"05eca9f8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920560640001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129343163457339392,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980555264,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788752193000,"timestamp_ms":1788752193000,"timestamp_seconds":1788752193,"priority":1,"record_length":96,"hex_timestamp":"000001a079f065e8"} 
[2026-09-07 09: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-07 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 09:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920560640001,"66":13537,"118":206,"87":13824,"24":1,"16":129343163457339392,"45":8783074829980555264},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920560640001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:08:30] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 09:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129343163457339392,"km_value":129343163457339.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980555264,"description":"Unknown IO ID 45"} 
[2026-09-07 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920560640001,"power":13537,"unknown_118":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783074829980555264}} 
[2026-09-07 09:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":174584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:08:30] local.INFO: GPS data processed {"connection_id":174584,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:08:30] local.INFO: Acknowledgment sent {"connection_id":174584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:08:48] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:48] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:48] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:08:50] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:08:50] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:08:50] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:08:53] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:53] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:08:53] local.INFO: IMEI packet received {"connection_id":175928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:08:54] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f20fb0012d7a0bc005ec3380000500a529..."} 
[2026-09-07 09:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f20fb0012d7a0bc005ec3380000500a529..."} 
[2026-09-07 09:08:54] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f20fb0012d7a0bc005ec3380000500a529..."} 
[2026-09-07 09:08:54] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:08:54] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":762973120,"raw_latitude":99365760,"longitude_deg":76.297312,"latitude_deg":9.936576,"altitude":5,"angle":165,"satellites":41,"speed":9,"hex_longitude":"2d7a0bc0","hex_latitude":"05ec3380","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920587008001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129344731120402432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793841247832391680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752302000,"timestamp_ms":1788752302000,"timestamp_seconds":1788752302,"priority":1,"record_length":96,"hex_timestamp":"000001a079f20fb0"} 
[2026-09-07 09: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-07 09:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:08:54] 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-07 09: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-07 09: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-07 09:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920587008001,"66":12972,"100":206,"87":13824,"24":9,"16":129344731120402432,"45":8793841247832391680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920587008001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:08:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:08:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129344731120402432,"km_value":129344731120402.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793841247832391680,"description":"Unknown IO ID 45"} 
[2026-09-07 09:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920587008001,"power":12972,"unknown_100":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8793841247832391680}} 
[2026-09-07 09:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:08:54] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:08:54] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:09:01] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:01] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:01] local.INFO: IMEI packet received {"connection_id":173208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":173208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:09:03] local.INFO: TCP Data received {"connection_id":173208,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f14490012d0c454006ec6c50001400032d..."} 
[2026-09-07 09:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f14490012d0c454006ec6c50001400032d..."} 
[2026-09-07 09:09:03] local.INFO: Processing buffer {"connection_id":173208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f14490012d0c454006ec6c50001400032d..."} 
[2026-09-07 09:09:03] local.INFO: Packet analysis {"connection_id":173208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:03] local.INFO: Extracted packet for processing {"connection_id":173208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755778880,"raw_latitude":116157520,"longitude_deg":75.577888,"latitude_deg":11.615752,"altitude":20,"angle":3,"satellites":45,"speed":12,"hex_longitude":"2d0c4540","hex_latitude":"06ec6c50","is_valid_coordinates":true} 
[2026-09-07 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920572928001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400990258562334720,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306466617344,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788752250000,"timestamp_ms":1788752250000,"timestamp_seconds":1788752250,"priority":1,"record_length":96,"hex_timestamp":"000001a079f14490"} 
[2026-09-07 09:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920572928001,"66":27843,"241":206,"80":6400,"24":12,"16":400990258562334720,"45":885520306466617344},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 09:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920572928001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:09:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 09:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400990258562334720,"km_value":400990258562334.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306466617344,"description":"Unknown IO ID 45"} 
[2026-09-07 09:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920572928001,"power":27843,"unknown_241":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":885520306466617344}} 
[2026-09-07 09:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":173208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:09:03] local.INFO: GPS data processed {"connection_id":173208,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:09:03] local.INFO: Acknowledgment sent {"connection_id":173208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:09:25] local.INFO: TCP Data received {"connection_id":175928,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f232d8012d7a0cc005ec2e98000700992a..."} 
[2026-09-07 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f232d8012d7a0cc005ec2e98000700992a..."} 
[2026-09-07 09:09:25] local.INFO: Processing buffer {"connection_id":175928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f232d8012d7a0cc005ec2e98000700992a..."} 
[2026-09-07 09:09:25] local.INFO: Packet analysis {"connection_id":175928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:09:25] local.INFO: Extracted packet for processing {"connection_id":175928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:09:25] local.INFO: GPS Element Parsed {"raw_longitude":762973376,"raw_latitude":99364504,"longitude_deg":76.2973376,"latitude_deg":9.9364504,"altitude":7,"angle":153,"satellites":42,"speed":0,"hex_longitude":"2d7a0cc0","hex_latitude":"05ec2e98","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920589312001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129344799839879168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794333829041192960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788752311000,"timestamp_ms":1788752311000,"timestamp_seconds":1788752311,"priority":1,"record_length":96,"hex_timestamp":"000001a079f232d8"} 
[2026-09-07 09: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-07 09:09:25] 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-07 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-07 09:09:25] 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-07 09: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-07 09: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-07 09:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920589312001,"66":13559,"100":206,"87":13824,"24":0,"16":129344799839879168,"45":8794333829041192960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920589312001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:09:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:09:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129344799839879168,"km_value":129344799839879.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794333829041192960,"description":"Unknown IO ID 45"} 
[2026-09-07 09:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920589312001,"power":13559,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8794333829041192960}} 
[2026-09-07 09:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":175928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:09:25] local.INFO: GPS data processed {"connection_id":175928,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:09:25] local.INFO: Acknowledgment sent {"connection_id":175928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:09:50] local.INFO: TCP Data received {"connection_id":173443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:50] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:50] local.INFO: IMEI packet received {"connection_id":173443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":173443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:09:52] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:52] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:52] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:09:53] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:53] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:53] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:09:53] local.INFO: TCP Data received {"connection_id":173443,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:53] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:09:53] local.INFO: IMEI packet received {"connection_id":173443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":173443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:09:54] local.INFO: TCP Data received {"connection_id":173443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f19698012d0c474006ec7fb0001000052d..."} 
[2026-09-07 09:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f19698012d0c474006ec7fb0001000052d..."} 
[2026-09-07 09:09:54] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f19698012d0c474006ec7fb0001000052d..."} 
[2026-09-07 09:09:54] local.INFO: Packet analysis {"connection_id":173443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:54] local.INFO: Extracted packet for processing {"connection_id":173443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116162480,"longitude_deg":75.5779392,"latitude_deg":11.616248,"altitude":16,"angle":5,"satellites":45,"speed":9,"hex_longitude":"2d0c4740","hex_latitude":"06ec7fb0","is_valid_coordinates":true} 
[2026-09-07 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920576000001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400990499080503296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884183300328673280,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752271000,"timestamp_ms":1788752271000,"timestamp_seconds":1788752271,"priority":1,"record_length":96,"hex_timestamp":"000001a079f19698"} 
[2026-09-07 09:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:54] 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-07 09:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920576000001,"66":27821,"241":206,"80":6400,"24":9,"16":400990499080503296,"45":884183300328673280},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 09:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920576000001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:09:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 09:09:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400990499080503296,"km_value":400990499080503.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":884183300328673280,"description":"Unknown IO ID 45"} 
[2026-09-07 09:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920576000001,"power":27821,"unknown_241":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":884183300328673280}} 
[2026-09-07 09:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":173443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:09:54] local.INFO: GPS data processed {"connection_id":173443,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:09:54] local.INFO: Acknowledgment sent {"connection_id":173443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:09:56] local.INFO: TCP Data received {"connection_id":173443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f1c960012d0c474006ec8ce0000d015e2d..."} 
[2026-09-07 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f1c960012d0c474006ec8ce0000d015e2d..."} 
[2026-09-07 09:09:56] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f1c960012d0c474006ec8ce0000d015e2d..."} 
[2026-09-07 09:09:56] local.INFO: Packet analysis {"connection_id":173443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:56] local.INFO: Extracted packet for processing {"connection_id":173443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f1"} 
[2026-09-07 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":755779392,"raw_latitude":116165856,"longitude_deg":75.5779392,"latitude_deg":11.6165856,"altitude":13,"angle":350,"satellites":45,"speed":21,"hex_longitude":"2d0c4740","hex_latitude":"06ec8ce0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920581376001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400990666584227840,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250283364352,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788752284000,"timestamp_ms":1788752284000,"timestamp_seconds":1788752284,"priority":1,"record_length":96,"hex_timestamp":"000001a079f1c960"} 
[2026-09-07 09: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-07 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:09:56] 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-07 09: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-07 09: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-07 09:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:09:56] 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-07 09:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920581376001,"66":27843,"241":206,"80":6400,"24":21,"16":400990666584227840,"45":884746250283364352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 09:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920581376001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:09:56] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 09:09:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400990666584227840,"km_value":400990666584227.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250283364352,"description":"Unknown IO ID 45"} 
[2026-09-07 09:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920581376001,"power":27843,"unknown_241":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":884746250283364352}} 
[2026-09-07 09:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":173443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:09:56] local.INFO: GPS data processed {"connection_id":173443,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:09:56] local.INFO: Acknowledgment sent {"connection_id":173443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:09:58] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:58] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:09:58] local.INFO: IMEI packet received {"connection_id":173209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":173209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:09:59] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f23aa8012d7a0d4005ec2db0000700a52b..."} 
[2026-09-07 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f23aa8012d7a0d4005ec2db0000700a52b..."} 
[2026-09-07 09:09:59] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f23aa8012d7a0d4005ec2db0000700a52b..."} 
[2026-09-07 09:09:59] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:09:59] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":762973504,"raw_latitude":99364272,"longitude_deg":76.2973504,"latitude_deg":9.9364272,"altitude":7,"angle":165,"satellites":43,"speed":4,"hex_longitude":"2d7a0d40","hex_latitude":"05ec2db0","is_valid_coordinates":true} 
[2026-09-07 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920591616001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129344817019748352,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794615304017582080,"note":"Value kept but may cause issues"} 
[2026-09-07 09:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788752313000,"timestamp_ms":1788752313000,"timestamp_seconds":1788752313,"priority":1,"record_length":96,"hex_timestamp":"000001a079f23aa8"} 
[2026-09-07 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:09:59] 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-07 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 09:09:59] 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-07 09:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920591616001,"66":13493,"100":206,"87":13824,"24":4,"16":129344817019748352,"45":8794615304017582080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920591616001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:09:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:09:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129344817019748352,"km_value":129344817019748.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794615304017582080,"description":"Unknown IO ID 45"} 
[2026-09-07 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920591616001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8794615304017582080}} 
[2026-09-07 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:09:59] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:09:59] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:06] local.INFO: TCP Data received {"connection_id":173209,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f25218012d7a0f4005ec28480007009a2c..."} 
[2026-09-07 09:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f25218012d7a0f4005ec28480007009a2c..."} 
[2026-09-07 09:10:06] local.INFO: Processing buffer {"connection_id":173209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f25218012d7a0f4005ec28480007009a2c..."} 
[2026-09-07 09:10:06] local.INFO: Packet analysis {"connection_id":173209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:06] local.INFO: Extracted packet for processing {"connection_id":173209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:06] local.INFO: GPS Element Parsed {"raw_longitude":762974016,"raw_latitude":99362888,"longitude_deg":76.2974016,"latitude_deg":9.9362888,"altitude":7,"angle":154,"satellites":44,"speed":6,"hex_longitude":"2d7a0f40","hex_latitude":"05ec2848","is_valid_coordinates":true} 
[2026-09-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920592128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129344890034192384,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794756041505878016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788752319000,"timestamp_ms":1788752319000,"timestamp_seconds":1788752319,"priority":1,"record_length":96,"hex_timestamp":"000001a079f25218"} 
[2026-09-07 09:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:10:06] 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-07 09:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920592128001,"66":13254,"100":206,"87":13824,"24":6,"16":129344890034192384,"45":8794756041505878016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 09:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920592128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129344890034192384,"km_value":129344890034192.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794756041505878016,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920592128001,"power":13254,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8794756041505878016}} 
[2026-09-07 09:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":173209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:06] local.INFO: GPS data processed {"connection_id":173209,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:06] local.INFO: Acknowledgment sent {"connection_id":173209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:27] local.INFO: TCP Data received {"connection_id":173443,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f21780012d0c438006ecae00000f00022d..."} 
[2026-09-07 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f21780012d0c438006ecae00000f00022d..."} 
[2026-09-07 09:10:27] local.INFO: Processing buffer {"connection_id":173443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f21780012d0c438006ecae00000f00022d..."} 
[2026-09-07 09:10:27] local.INFO: Packet analysis {"connection_id":173443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:27] local.INFO: Extracted packet for processing {"connection_id":173443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":755778432,"raw_latitude":116174336,"longitude_deg":75.5778432,"latitude_deg":11.6174336,"altitude":15,"angle":2,"satellites":45,"speed":26,"hex_longitude":"2d0c4380","hex_latitude":"06ecae00","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920584704001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400991083196055552,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884746250284228608,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788752304000,"timestamp_ms":1788752304000,"timestamp_seconds":1788752304,"priority":1,"record_length":96,"hex_timestamp":"000001a079f21780"} 
[2026-09-07 09: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-07 09:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:10:27] 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-07 09:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920584704001,"66":27789,"241":206,"80":6400,"24":26,"16":400991083196055552,"45":884746250284228608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 09:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920584704001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 09:10:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400991083196055552,"km_value":400991083196055.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":884746250284228608,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920584704001,"power":27789,"unknown_241":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":884746250284228608}} 
[2026-09-07 09:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":173443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:27] local.INFO: GPS data processed {"connection_id":173443,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:27] local.INFO: Acknowledgment sent {"connection_id":173443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:33] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:33] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:33] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:10:38] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:38] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:10:38] local.INFO: IMEI packet received {"connection_id":174586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":174586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:10:38] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079f39e20012d0a7440070606f0000e006e21..."} 
[2026-09-07 09:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f39e20012d0a7440070606f0000e006e21..."} 
[2026-09-07 09:10:38] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f39e20012d0a7440070606f0000e006e21..."} 
[2026-09-07 09:10:38] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:10:38] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:10:38] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117835504,"longitude_deg":75.565984,"latitude_deg":11.7835504,"altitude":14,"angle":110,"satellites":33,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"070606f0","is_valid_coordinates":true} 
[2026-09-07 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920615168001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30439854860926976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067843610624,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788752404000,"timestamp_ms":1788752404000,"timestamp_seconds":1788752404,"priority":1,"record_length":96,"hex_timestamp":"000001a079f39e20"} 
[2026-09-07 09:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:10: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-07 09:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920615168001,"66":14396,"165":206,"94":10240,"24":1,"16":30439854860926976,"45":753227067843610624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920615168001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:10:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30439854860926976,"km_value":30439854860926.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067843610624,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920615168001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753227067843610624}} 
[2026-09-07 09:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:38] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:38] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:39] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079f3a208012d0a7440070606c0000e008721..."} 
[2026-09-07 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f3a208012d0a7440070606c0000e008721..."} 
[2026-09-07 09:10:39] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f3a208012d0a7440070606c0000e008721..."} 
[2026-09-07 09:10:39] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:10:39] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117835456,"longitude_deg":75.565984,"latitude_deg":11.7835456,"altitude":14,"angle":135,"satellites":33,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"070606c0","is_valid_coordinates":true} 
[2026-09-07 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920615424001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30439854860926976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587782144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788752405000,"timestamp_ms":1788752405000,"timestamp_seconds":1788752405,"priority":1,"record_length":96,"hex_timestamp":"000001a079f3a208"} 
[2026-09-07 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:10: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-07 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920615424001,"66":14396,"165":206,"94":10240,"24":1,"16":30439854860926976,"45":753297436587782144},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920615424001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:39] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:10:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30439854860926976,"km_value":30439854860926.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587782144,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920615424001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587782144}} 
[2026-09-07 09:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:39] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:39] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:45] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:45] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:45] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:10:46] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:46] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:46] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:10:48] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:48] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:48] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:10:50] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:50] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:10:50] local.INFO: IMEI packet received {"connection_id":173444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":173444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:10:52] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f24278012d0c488006ecd280000b00082d..."} 
[2026-09-07 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f24278012d0c488006ecd280000b00082d..."} 
[2026-09-07 09:10:52] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f24278012d0c488006ecd280000b00082d..."} 
[2026-09-07 09:10:52] local.INFO: Packet analysis {"connection_id":173444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:52] local.INFO: Extracted packet for processing {"connection_id":173444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":116183680,"longitude_deg":75.5779712,"latitude_deg":11.618368,"altitude":11,"angle":8,"satellites":45,"speed":32,"hex_longitude":"2d0c4880","hex_latitude":"06ecd280","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920589824001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400991538462588928,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883690719123734528,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788752315000,"timestamp_ms":1788752315000,"timestamp_seconds":1788752315,"priority":1,"record_length":96,"hex_timestamp":"000001a079f24278"} 
[2026-09-07 09: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-07 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:52] 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-07 09: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-07 09: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-07 09:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:10:52] 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-07 09:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920589824001,"66":27767,"240":206,"80":6400,"24":32,"16":400991538462588928,"45":883690719123734528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 09:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920589824001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:52] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 09:10:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400991538462588928,"km_value":400991538462588.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":883690719123734528,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920589824001,"power":27767,"unknown_240":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":883690719123734528}} 
[2026-09-07 09:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":173444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:52] local.INFO: GPS data processed {"connection_id":173444,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:52] local.INFO: Acknowledgment sent {"connection_id":173444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:10:53] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:53] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:10:53] local.INFO: IMEI packet received {"connection_id":173445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":173445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:10:54] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f2a038012d7a15c005ec1ab00006009b2b..."} 
[2026-09-07 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f2a038012d7a15c005ec1ab00006009b2b..."} 
[2026-09-07 09:10:54] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f2a038012d7a15c005ec1ab00006009b2b..."} 
[2026-09-07 09:10:54] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:54] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:10:54] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":99359408,"longitude_deg":76.297568,"latitude_deg":9.9359408,"altitude":6,"angle":155,"satellites":43,"speed":13,"hex_longitude":"2d7a15c0","hex_latitude":"05ec1ab0","is_valid_coordinates":true} 
[2026-09-07 09:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920593664001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129345083307720704,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795318991458945024,"note":"Value kept but may cause issues"} 
[2026-09-07 09:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752339000,"timestamp_ms":1788752339000,"timestamp_seconds":1788752339,"priority":1,"record_length":96,"hex_timestamp":"000001a079f2a038"} 
[2026-09-07 09:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 09:10:54] 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-07 09:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920593664001,"66":13602,"99":206,"87":13824,"24":13,"16":129345083307720704,"45":8795318991458945024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 09:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920593664001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:10:54] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 09:10:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129345083307720704,"km_value":129345083307720.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795318991458945024,"description":"Unknown IO ID 45"} 
[2026-09-07 09:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920593664001,"power":13602,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8795318991458945024}} 
[2026-09-07 09:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:10:54] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:10:54] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:10] local.INFO: TCP Data received {"connection_id":174586,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079f3a5f0012d0a744007060690000e009a20..."} 
[2026-09-07 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f3a5f0012d0a744007060690000e009a20..."} 
[2026-09-07 09:11:10] local.INFO: Processing buffer {"connection_id":174586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f3a5f0012d0a744007060690000e009a20..."} 
[2026-09-07 09:11:10] local.INFO: Packet analysis {"connection_id":174586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:11:10] local.INFO: Extracted packet for processing {"connection_id":174586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117835408,"longitude_deg":75.565984,"latitude_deg":11.7835408,"altitude":14,"angle":154,"satellites":32,"speed":1,"hex_longitude":"2d0a7440","hex_latitude":"07060690","is_valid_coordinates":true} 
[2026-09-07 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920615680001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30439859155894272,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587769856,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788752406000,"timestamp_ms":1788752406000,"timestamp_seconds":1788752406,"priority":1,"record_length":96,"hex_timestamp":"000001a079f3a5f0"} 
[2026-09-07 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:11: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-07 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174586,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920615680001,"66":14048,"165":206,"94":10240,"24":1,"16":30439859155894272,"45":753297436587769856},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920615680001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30439859155894272,"km_value":30439859155894.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587769856,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920615680001,"power":14048,"unknown_165":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753297436587769856}} 
[2026-09-07 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":174586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:10] local.INFO: GPS data processed {"connection_id":174586,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:10] local.INFO: Acknowledgment sent {"connection_id":174586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:24] local.INFO: TCP Data received {"connection_id":173444,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f25dd0012d0c4b0006ece4a0000901632c..."} 
[2026-09-07 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f25dd0012d0c4b0006ece4a0000901632c..."} 
[2026-09-07 09:11:24] local.INFO: Processing buffer {"connection_id":173444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f25dd0012d0c4b0006ece4a0000901632c..."} 
[2026-09-07 09:11:24] local.INFO: Packet analysis {"connection_id":173444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:24] local.INFO: Extracted packet for processing {"connection_id":173444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:24] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":116188320,"longitude_deg":75.5780352,"latitude_deg":11.618832,"altitude":9,"angle":355,"satellites":44,"speed":22,"hex_longitude":"2d0c4b00","hex_latitude":"06ece4a0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920592640001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400991766095855616,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885098094009679872,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788752322000,"timestamp_ms":1788752322000,"timestamp_seconds":1788752322,"priority":1,"record_length":96,"hex_timestamp":"000001a079f25dd0"} 
[2026-09-07 09: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-07 09:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:11:24] 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-07 09:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920592640001,"66":27865,"240":206,"80":6400,"24":22,"16":400991766095855616,"45":885098094009679872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 09:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920592640001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 09:11:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400991766095855616,"km_value":400991766095855.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":885098094009679872,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920592640001,"power":27865,"unknown_240":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":885098094009679872}} 
[2026-09-07 09:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":173444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:24] local.INFO: GPS data processed {"connection_id":173444,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:24] local.INFO: Acknowledgment sent {"connection_id":173444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:28] local.INFO: TCP Data received {"connection_id":173445,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f2cb30012d7a1a8005ec0f78000500a628..."} 
[2026-09-07 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f2cb30012d7a1a8005ec0f78000500a628..."} 
[2026-09-07 09:11:28] local.INFO: Processing buffer {"connection_id":173445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f2cb30012d7a1a8005ec0f78000500a628..."} 
[2026-09-07 09:11:28] local.INFO: Packet analysis {"connection_id":173445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:28] local.INFO: Extracted packet for processing {"connection_id":173445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:28] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99356536,"longitude_deg":76.2976896,"latitude_deg":9.9356536,"altitude":5,"angle":166,"satellites":40,"speed":13,"hex_longitude":"2d7a1a80","hex_latitude":"05ec0f78","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920598784001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129345233631576064,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578806673408,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788752350000,"timestamp_ms":1788752350000,"timestamp_seconds":1788752350,"priority":1,"record_length":96,"hex_timestamp":"000001a079f2cb30"} 
[2026-09-07 09: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-07 09:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:28] 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-07 09: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-07 09: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-07 09:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920598784001,"66":13493,"99":206,"87":13824,"24":13,"16":129345233631576064,"45":8797148578806673408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 09:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920598784001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:28] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 09:11:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129345233631576064,"km_value":129345233631576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578806673408,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920598784001,"power":13493,"unknown_99":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8797148578806673408}} 
[2026-09-07 09:11:28] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:28] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:28] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":173445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:28] local.INFO: GPS data processed {"connection_id":173445,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:28] local.INFO: Acknowledgment sent {"connection_id":173445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:32] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:32] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:11:32] local.INFO: IMEI packet received {"connection_id":175929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":175929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:11:33] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079f3bd60012d0a754007060578000e008322..."} 
[2026-09-07 09:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f3bd60012d0a754007060578000e008322..."} 
[2026-09-07 09:11:33] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f3bd60012d0a754007060578000e008322..."} 
[2026-09-07 09:11:33] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:11:33] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:11:33] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117835128,"longitude_deg":75.5660096,"latitude_deg":11.7835128,"altitude":14,"angle":131,"satellites":34,"speed":2,"hex_longitude":"2d0a7540","hex_latitude":"07060578","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920615936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30439876335763456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436587757568,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788752412000,"timestamp_ms":1788752412000,"timestamp_seconds":1788752412,"priority":1,"record_length":96,"hex_timestamp":"000001a079f3bd60"} 
[2026-09-07 09: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-07 09:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920615936001,"66":14374,"165":206,"94":10240,"24":2,"16":30439876335763456,"45":753297436587757568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920615936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:11:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30439876335763456,"km_value":30439876335763.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436587757568,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920615936001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753297436587757568}} 
[2026-09-07 09:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:33] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:33] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:46] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:46] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:46] local.INFO: IMEI packet received {"connection_id":174587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:11:48] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:48] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:48] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:11:51] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:51] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:11:51] local.INFO: IMEI packet received {"connection_id":174587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":174587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:11:52] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f27158012d0c4a0006ecef38000900052b..."} 
[2026-09-07 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f27158012d0c4a0006ecef38000900052b..."} 
[2026-09-07 09:11:52] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f27158012d0c4a0006ecef38000900052b..."} 
[2026-09-07 09:11:52] local.INFO: Packet analysis {"connection_id":174587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:52] local.INFO: Extracted packet for processing {"connection_id":174587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:11:52] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116191032,"longitude_deg":75.5780096,"latitude_deg":11.6191032,"altitude":9,"angle":5,"satellites":43,"speed":23,"hex_longitude":"2d0c4a00","hex_latitude":"06ecef38","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920594432001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400991899239841792,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885801781452644352,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788752327000,"timestamp_ms":1788752327000,"timestamp_seconds":1788752327,"priority":1,"record_length":96,"hex_timestamp":"000001a079f27158"} 
[2026-09-07 09: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-07 09:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09: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-07 09: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-07 09:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:11:52] 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-07 09:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920594432001,"66":27876,"240":206,"80":6400,"24":23,"16":400991899239841792,"45":885801781452644352},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 09:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920594432001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:53] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 09:11:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400991899239841792,"km_value":400991899239841.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":885801781452644352,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920594432001,"power":27876,"unknown_240":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":885801781452644352}} 
[2026-09-07 09:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":174587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:53] local.INFO: GPS data processed {"connection_id":174587,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:53] local.INFO: Acknowledgment sent {"connection_id":174587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:11:53] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:53] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:11:53] local.INFO: IMEI packet received {"connection_id":175930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":175930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:11:54] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f4aba8012d7aa24005ebb1c0000a004629..."} 
[2026-09-07 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f4aba8012d7aa24005ebb1c0000a004629..."} 
[2026-09-07 09:11:54] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f4aba8012d7aa24005ebb1c0000a004629..."} 
[2026-09-07 09:11:54] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f4"} 
[2026-09-07 09:11:54] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f4"} 
[2026-09-07 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":763011648,"raw_latitude":99332544,"longitude_deg":76.3011648,"latitude_deg":9.9332544,"altitude":10,"angle":70,"satellites":41,"speed":28,"hex_longitude":"2d7aa240","hex_latitude":"05ebb1c0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920628992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129347896511299584,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826210870144221184,"note":"Value kept but may cause issues"} 
[2026-09-07 09:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752473000,"timestamp_ms":1788752473000,"timestamp_seconds":1788752473,"priority":1,"record_length":96,"hex_timestamp":"000001a079f4aba8"} 
[2026-09-07 09:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:11: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-07 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 09:11:54] 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-07 09:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920628992001,"66":13678,"161":206,"87":13824,"24":28,"16":129347896511299584,"45":8826210870144221184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 09:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920628992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:11:54] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 09:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129347896511299584,"km_value":129347896511299.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826210870144221184,"description":"Unknown IO ID 45"} 
[2026-09-07 09:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920628992001,"power":13678,"unknown_161":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8826210870144221184}} 
[2026-09-07 09:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:11:54] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:11:54] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:12:04] local.INFO: TCP Data received {"connection_id":175929,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079f528a8012d0a83000705aa38001000b923..."} 
[2026-09-07 09:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f528a8012d0a83000705aa38001000b923..."} 
[2026-09-07 09:12:04] local.INFO: Processing buffer {"connection_id":175929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f528a8012d0a83000705aa38001000b923..."} 
[2026-09-07 09:12:04] local.INFO: Packet analysis {"connection_id":175929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:12:04] local.INFO: Extracted packet for processing {"connection_id":175929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:12:04] local.INFO: GPS Element Parsed {"raw_longitude":755663616,"raw_latitude":117811768,"longitude_deg":75.5663616,"latitude_deg":11.7811768,"altitude":16,"angle":185,"satellites":35,"speed":9,"hex_longitude":"2d0a8300","hex_latitude":"0705aa38","is_valid_coordinates":true} 
[2026-09-07 09:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920641024001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30441066041704448,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757449192488245248,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788752505000,"timestamp_ms":1788752505000,"timestamp_seconds":1788752505,"priority":1,"record_length":96,"hex_timestamp":"000001a079f528a8"} 
[2026-09-07 09:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 09:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920641024001,"66":14439,"165":206,"94":10240,"24":9,"16":30441066041704448,"45":757449192488245248},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 09:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920641024001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:12:04] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 09:12:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30441066041704448,"km_value":30441066041704.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":757449192488245248,"description":"Unknown IO ID 45"} 
[2026-09-07 09:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920641024001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":757449192488245248}} 
[2026-09-07 09:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":175929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:12:04] local.INFO: GPS data processed {"connection_id":175929,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:12:04] local.INFO: Acknowledgment sent {"connection_id":175929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:12:24] local.INFO: TCP Data received {"connection_id":174587,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f2abf0012d0c4f8006ed1380000800082d..."} 
[2026-09-07 09:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f2abf0012d0c4f8006ed1380000800082d..."} 
[2026-09-07 09:12:24] local.INFO: Processing buffer {"connection_id":174587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f2abf0012d0c4f8006ed1380000800082d..."} 
[2026-09-07 09:12:24] local.INFO: Packet analysis {"connection_id":174587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:12:24] local.INFO: Extracted packet for processing {"connection_id":174587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:12:24] local.INFO: GPS Element Parsed {"raw_longitude":755781504,"raw_latitude":116200320,"longitude_deg":75.5781504,"latitude_deg":11.620032,"altitude":8,"angle":8,"satellites":45,"speed":26,"hex_longitude":"2d0c4f80","hex_latitude":"06ed1380","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920595712001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400992354506375168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306476627968,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788752342000,"timestamp_ms":1788752342000,"timestamp_seconds":1788752342,"priority":1,"record_length":96,"hex_timestamp":"000001a079f2abf0"} 
[2026-09-07 09: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-07 09:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:12:24] 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-07 09: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-07 09: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-07 09:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:24] 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-07 09:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920595712001,"66":27919,"240":206,"80":6400,"24":26,"16":400992354506375168,"45":885520306476627968},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 09:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920595712001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:12:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 09:12:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400992354506375168,"km_value":400992354506375.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306476627968,"description":"Unknown IO ID 45"} 
[2026-09-07 09:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920595712001,"power":27919,"unknown_240":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":885520306476627968}} 
[2026-09-07 09:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":174587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:12:25] local.INFO: GPS data processed {"connection_id":174587,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:12:25] local.INFO: Acknowledgment sent {"connection_id":174587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:12:25] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:25] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:25] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:12:25] local.INFO: TCP Data received {"connection_id":175930,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f4de70012d7ac48005ebbf38000a00402b..."} 
[2026-09-07 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f4de70012d7ac48005ebbf38000a00402b..."} 
[2026-09-07 09:12:25] local.INFO: Processing buffer {"connection_id":175930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f4de70012d7ac48005ebbf38000a00402b..."} 
[2026-09-07 09:12:25] local.INFO: Packet analysis {"connection_id":175930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f4"} 
[2026-09-07 09:12:25] local.INFO: Extracted packet for processing {"connection_id":175930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f4"} 
[2026-09-07 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":763020416,"raw_latitude":99335992,"longitude_deg":76.3020416,"latitude_deg":9.9335992,"altitude":10,"angle":64,"satellites":43,"speed":25,"hex_longitude":"2d7ac480","hex_latitude":"05ebbf38","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920633088001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129348356072800256,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836695813027643392,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788752486000,"timestamp_ms":1788752486000,"timestamp_seconds":1788752486,"priority":1,"record_length":96,"hex_timestamp":"000001a079f4de70"} 
[2026-09-07 09: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-07 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 09:12:25] 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-07 09: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-07 09: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-07 09:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920633088001,"66":13319,"161":206,"87":13824,"24":25,"16":129348356072800256,"45":8836695813027643392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-09-07 09:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920633088001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:12:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 09:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129348356072800256,"km_value":129348356072800.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836695813027643392,"description":"Unknown IO ID 45"} 
[2026-09-07 09:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920633088001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8836695813027643392}} 
[2026-09-07 09:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":175930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:12:26] local.INFO: GPS data processed {"connection_id":175930,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:12:26] local.INFO: Acknowledgment sent {"connection_id":175930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:12:26] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:26] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:26] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:27] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:27] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:27] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:28] local.INFO: TCP Data received {"connection_id":173210,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173210,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:28] local.INFO: Processing buffer {"connection_id":173210,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:12:28] local.INFO: IMEI packet received {"connection_id":173210,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":173210,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:45] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:45] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:45] local.INFO: IMEI packet received {"connection_id":174589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:12:48] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:48] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:48] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:12:49] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:49] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:49] local.INFO: IMEI packet received {"connection_id":174589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:50] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:50] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:12:50] local.INFO: IMEI packet received {"connection_id":174589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:50] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:50] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:12:50] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:12:52] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f2deb8012d0c550006ed35e80007000b2d..."} 
[2026-09-07 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f2deb8012d0c550006ed35e80007000b2d..."} 
[2026-09-07 09:12:52] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f2deb8012d0c550006ed35e80007000b2d..."} 
[2026-09-07 09:12:52] local.INFO: Packet analysis {"connection_id":174589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:12:52] local.INFO: Extracted packet for processing {"connection_id":174589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f2"} 
[2026-09-07 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":116209128,"longitude_deg":75.5782912,"latitude_deg":11.6209128,"altitude":7,"angle":11,"satellites":45,"speed":26,"hex_longitude":"2d0c5500","hex_latitude":"06ed35e8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920599552001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400992788298072064,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887068418850914304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788752355000,"timestamp_ms":1788752355000,"timestamp_seconds":1788752355,"priority":1,"record_length":96,"hex_timestamp":"000001a079f2deb8"} 
[2026-09-07 09: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-07 09:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 09:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:52] 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-07 09:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920599552001,"66":27767,"240":206,"80":6400,"24":26,"16":400992788298072064,"45":887068418850914304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 09:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920599552001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:12:52] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 09:12:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400992788298072064,"km_value":400992788298072.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":887068418850914304,"description":"Unknown IO ID 45"} 
[2026-09-07 09:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920599552001,"power":27767,"unknown_240":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":887068418850914304}} 
[2026-09-07 09:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":174589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:12:52] local.INFO: GPS data processed {"connection_id":174589,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:12:52] local.INFO: Acknowledgment sent {"connection_id":174589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:12:52] local.INFO: TCP Data received {"connection_id":175932,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:12:52] local.INFO: Processing buffer {"connection_id":175932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:12:52] local.INFO: IMEI packet received {"connection_id":175932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":175932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:12:55] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f31568012d0c59c006ed58f0000600072e..."} 
[2026-09-07 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f31568012d0c59c006ed58f0000600072e..."} 
[2026-09-07 09:12:55] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f31568012d0c59c006ed58f0000600072e..."} 
[2026-09-07 09:12:55] local.INFO: Packet analysis {"connection_id":174589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:12:55] local.INFO: Extracted packet for processing {"connection_id":174589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f3"} 
[2026-09-07 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755784128,"raw_latitude":116218096,"longitude_deg":75.5784128,"latitude_deg":11.6218096,"altitude":6,"angle":7,"satellites":46,"speed":24,"hex_longitude":"2d0c59c0","hex_latitude":"06ed58f0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920602880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400993226384736256,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531225077760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788752369000,"timestamp_ms":1788752369000,"timestamp_seconds":1788752369,"priority":1,"record_length":96,"hex_timestamp":"000001a079f31568"} 
[2026-09-07 09: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-07 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:12:55] 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-07 09:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920602880001,"66":27908,"156":206,"80":6400,"24":24,"16":400993226384736256,"45":888616531225077760},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-07 09:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920602880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:12:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 09:12:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400993226384736256,"km_value":400993226384736.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531225077760,"description":"Unknown IO ID 45"} 
[2026-09-07 09:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920602880001,"power":27908,"unknown_156":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":888616531225077760}} 
[2026-09-07 09:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":174589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:12:55] local.INFO: GPS data processed {"connection_id":174589,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:12:55] local.INFO: Acknowledgment sent {"connection_id":174589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:13:06] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:06] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:06] local.INFO: IMEI packet received {"connection_id":175931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":175931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:13:07] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f51520012d7ae68005ebcf98000a003f2c..."} 
[2026-09-07 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f51520012d7ae68005ebcf98000a003f2c..."} 
[2026-09-07 09:13:07] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f51520012d7ae68005ebcf98000a003f2c..."} 
[2026-09-07 09:13:07] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:07] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763029120,"raw_latitude":99340184,"longitude_deg":76.302912,"latitude_deg":9.9340184,"altitude":10,"angle":63,"satellites":44,"speed":27,"hex_longitude":"2d7ae680","hex_latitude":"05ebcf98","is_valid_coordinates":true} 
[2026-09-07 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920636416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129348815634300928,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846336330980866048,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788752500000,"timestamp_ms":1788752500000,"timestamp_seconds":1788752500,"priority":1,"record_length":96,"hex_timestamp":"000001a079f51520"} 
[2026-09-07 09:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4095418369,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7572802747645483008,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-09-07 09:13:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2287992832,"corrected_to":0} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952513024,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.WARNING: Large IO value detected {"io_id":244,"raw_value":1110138602984390661,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,161,87,24,241,157,16,137,160,171,45,64,177,10,41,66,109,163,40,136,31,1,240,56,227,121,235,4,113,205,23,96,239,53,2,203,5,6,9,29,244],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0},{"io_id":203,"original":2287992832,"validated":0}]} 
[2026-09-07 09:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720646493808689152,"timestamp_seconds":720646493808689.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 09:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920636416001,"66":13493,"98":206,"87":13824,"24":27,"16":129348815634300928,"45":8846336330980866048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 09:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920636416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:13:07] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 09:13:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129348815634300928,"km_value":129348815634300.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846336330980866048,"description":"Unknown IO ID 45"} 
[2026-09-07 09:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920636416001,"power":13493,"unknown_98":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8846336330980866048}} 
[2026-09-07 09:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:13:07] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:13:07] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:13:08] local.INFO: TCP Data received {"connection_id":175931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f547e8012d7b080005ebe078000a00402c..."} 
[2026-09-07 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f547e8012d7b080005ebe078000a00402c..."} 
[2026-09-07 09:13:08] local.INFO: Processing buffer {"connection_id":175931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f547e8012d7b080005ebe078000a00402c..."} 
[2026-09-07 09:13:08] local.INFO: Packet analysis {"connection_id":175931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:08] local.INFO: Extracted packet for processing {"connection_id":175931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":99344504,"longitude_deg":76.3037696,"latitude_deg":9.9344504,"altitude":10,"angle":64,"satellites":44,"speed":25,"hex_longitude":"2d7b0800","hex_latitude":"05ebe078","is_valid_coordinates":true} 
[2026-09-07 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920640000001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129349270900834304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855906480190101504,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788752513000,"timestamp_ms":1788752513000,"timestamp_seconds":1788752513,"priority":1,"record_length":96,"hex_timestamp":"000001a079f547e8"} 
[2026-09-07 09:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 09:13:08] 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-07 09:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920640000001,"66":13602,"98":206,"87":13824,"24":25,"16":129349270900834304,"45":8855906480190101504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 09:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920640000001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:13:08] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 09:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129349270900834304,"km_value":129349270900834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855906480190101504,"description":"Unknown IO ID 45"} 
[2026-09-07 09:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920640000001,"power":13602,"unknown_98":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8855906480190101504}} 
[2026-09-07 09:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":175931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:13:08] local.INFO: GPS data processed {"connection_id":175931,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:13:08] local.INFO: Acknowledgment sent {"connection_id":175931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:13:27] local.INFO: TCP Data received {"connection_id":174589,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f5c4e8012d0bf04006ee7bc0001201612b..."} 
[2026-09-07 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f5c4e8012d0bf04006ee7bc0001201612b..."} 
[2026-09-07 09:13:27] local.INFO: Processing buffer {"connection_id":174589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f5c4e8012d0bf04006ee7bc0001201612b..."} 
[2026-09-07 09:13:27] local.INFO: Packet analysis {"connection_id":174589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:27] local.INFO: Extracted packet for processing {"connection_id":174589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755757120,"raw_latitude":116292544,"longitude_deg":75.575712,"latitude_deg":11.6292544,"altitude":18,"angle":353,"satellites":43,"speed":8,"hex_longitude":"2d0bf040","hex_latitude":"06ee7bc0","is_valid_coordinates":true} 
[2026-09-07 09:13: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-07 09:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920650240001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400997177754648576,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860680139807535104,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788752545000,"timestamp_ms":1788752545000,"timestamp_seconds":1788752545,"priority":1,"record_length":96,"hex_timestamp":"000001a079f5c4e8"} 
[2026-09-07 09:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:13: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-07 09:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:13:27] 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-07 09:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920650240001,"66":27800,"157":206,"80":6400,"24":8,"16":400997177754648576,"45":860680139807535104},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-07 09:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920650240001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:13:27] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 09:13:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400997177754648576,"km_value":400997177754648.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":860680139807535104,"description":"Unknown IO ID 45"} 
[2026-09-07 09:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920650240001,"power":27800,"unknown_157":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":860680139807535104}} 
[2026-09-07 09:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":174589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:13:27] local.INFO: GPS data processed {"connection_id":174589,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:13:27] local.INFO: Acknowledgment sent {"connection_id":174589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:13:46] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:13:46] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:13:46] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:13:48] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:48] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:48] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:13:53] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:53] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:13:53] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:13:54] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f58e38012d7b280005ebf038000a003f2c..."} 
[2026-09-07 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f58e38012d7b280005ebf038000a003f2c..."} 
[2026-09-07 09:13:54] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f58e38012d7b280005ebf038000a003f2c..."} 
[2026-09-07 09:13:54] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:54] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":763045888,"raw_latitude":99348536,"longitude_deg":76.3045888,"latitude_deg":9.9348536,"altitude":10,"angle":63,"satellites":44,"speed":18,"hex_longitude":"2d7b2800","hex_latitude":"05ebf038","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920643328001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129349717577433088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891911014400,"note":"Value kept but may cause issues"} 
[2026-09-07 09:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752531000,"timestamp_ms":1788752531000,"timestamp_seconds":1788752531,"priority":1,"record_length":96,"hex_timestamp":"000001a079f58e38"} 
[2026-09-07 09: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-07 09:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 09:13:54] 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-07 09: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-07 09: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-07 09:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920643328001,"66":13678,"98":206,"87":13824,"24":18,"16":129349717577433088,"45":8865335891911014400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 09:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920643328001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:13:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 09:13:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129349717577433088,"km_value":129349717577433.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891911014400,"description":"Unknown IO ID 45"} 
[2026-09-07 09:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920643328001,"power":13678,"unknown_98":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8865335891911014400}} 
[2026-09-07 09:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:13:54] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:13:54] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:01] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.45","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:14:01] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 09:14:01] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:14:02] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f5ccb8012d0befc006ee7d88001201522b..."} 
[2026-09-07 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f5ccb8012d0befc006ee7d88001201522b..."} 
[2026-09-07 09:14:02] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a079..."} 
[2026-09-07 09:14:02] local.INFO: IMEI packet received {"connection_id":173447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":173447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:14:03] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f60368012d0be4c006ee9ed00010014c2c..."} 
[2026-09-07 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f60368012d0be4c006ee9ed00010014c2c..."} 
[2026-09-07 09:14:03] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a079f5ccb8012d0befc006ee7d88001201522b..."} 
[2026-09-07 09:14:03] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:14:03] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":755756992,"raw_latitude":116293000,"longitude_deg":75.5756992,"latitude_deg":11.6293,"altitude":18,"angle":338,"satellites":43,"speed":11,"hex_longitude":"2d0befc0","hex_latitude":"06ee7d88","is_valid_coordinates":true} 
[2026-09-07 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920651520001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400997203524452352,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860257927342833664,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788752547000,"timestamp_ms":1788752547000,"timestamp_seconds":1788752547,"priority":1,"record_length":96,"hex_timestamp":"000001a079f5ccb8"} 
[2026-09-07 09:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:03] 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-07 09:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920651520001,"66":27832,"157":206,"80":6400,"24":11,"16":400997203524452352,"45":860257927342833664},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920651520001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400997203524452352,"km_value":400997203524452.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":860257927342833664,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920651520001,"power":27832,"unknown_157":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":860257927342833664}} 
[2026-09-07 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:03] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:03] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:03] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:14:03] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":755754176,"raw_latitude":116301520,"longitude_deg":75.5754176,"latitude_deg":11.630152,"altitude":16,"angle":332,"satellites":44,"speed":40,"hex_longitude":"2d0be4c0","hex_latitude":"06ee9ed0","is_valid_coordinates":true} 
[2026-09-07 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920652032001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400997641611116544,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":860117189854595072,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788752561000,"timestamp_ms":1788752561000,"timestamp_seconds":1788752561,"priority":1,"record_length":96,"hex_timestamp":"000001a079f60368"} 
[2026-09-07 09:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:03] 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-07 09:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920652032001,"66":27767,"3":206,"80":6400,"24":40,"16":400997641611116544,"45":860117189854595072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-07 09:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920652032001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400997641611116544,"km_value":400997641611116.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":860117189854595072,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920652032001,"power":27767,"unknown_3":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":860117189854595072}} 
[2026-09-07 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:03] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:03] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:04] local.INFO: TCP Data received {"connection_id":173447,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f622a8012d0bd58006eebee8000e01502b..."} 
[2026-09-07 09:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f622a8012d0bd58006eebee8000e01502b..."} 
[2026-09-07 09:14:04] local.INFO: Processing buffer {"connection_id":173447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f622a8012d0bd58006eebee8000e01502b..."} 
[2026-09-07 09:14:04] local.INFO: Packet analysis {"connection_id":173447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:14:04] local.INFO: Extracted packet for processing {"connection_id":173447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":755750272,"raw_latitude":116309736,"longitude_deg":75.5750272,"latitude_deg":11.6309736,"altitude":14,"angle":336,"satellites":43,"speed":49,"hex_longitude":"2d0bd580","hex_latitude":"06eebee8","is_valid_coordinates":true} 
[2026-09-07 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920655616001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400998079697780736,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857020965112958976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788752569000,"timestamp_ms":1788752569000,"timestamp_seconds":1788752569,"priority":1,"record_length":96,"hex_timestamp":"000001a079f622a8"} 
[2026-09-07 09:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920655616001,"66":27865,"3":206,"80":6400,"24":49,"16":400998079697780736,"45":857020965112958976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-07 09:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920655616001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 09:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400998079697780736,"km_value":400998079697780.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":857020965112958976,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920655616001,"power":27865,"unknown_3":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":857020965112958976}} 
[2026-09-07 09:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":173447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:04] local.INFO: GPS data processed {"connection_id":173447,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:04] local.INFO: Acknowledgment sent {"connection_id":173447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:26] local.INFO: TCP Data received {"connection_id":173448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f5c4e8012d7b460005ebff08000c00402c..."} 
[2026-09-07 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f5c4e8012d7b460005ebff08000c00402c..."} 
[2026-09-07 09:14:26] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f5c4e8012d7b460005ebff08000c00402c..."} 
[2026-09-07 09:14:26] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:14:26] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f5"} 
[2026-09-07 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":99352328,"longitude_deg":76.3053568,"latitude_deg":9.9352328,"altitude":12,"angle":64,"satellites":44,"speed":29,"hex_longitude":"2d7b4600","hex_latitude":"05ebff08","is_valid_coordinates":true} 
[2026-09-07 09:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920647936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129350168548999168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874343091166787584,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788752545000,"timestamp_ms":1788752545000,"timestamp_seconds":1788752545,"priority":1,"record_length":96,"hex_timestamp":"000001a079f5c4e8"} 
[2026-09-07 09:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:26] 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-07 09:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920647936001,"66":13678,"98":206,"87":13824,"24":29,"16":129350168548999168,"45":8874343091166787584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 09:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920647936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 09:14:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129350168548999168,"km_value":129350168548999.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874343091166787584,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920647936001,"power":13678,"unknown_98":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8874343091166787584}} 
[2026-09-07 09:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:26] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:26] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:48] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:14:48] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:14:48] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:14:53] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:53] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:53] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:14:57] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:57] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:14:57] local.INFO: IMEI packet received {"connection_id":174591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":174591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:14:58] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f7b500012d7ccf8005ec3b68000600592e..."} 
[2026-09-07 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f7b500012d7ccf8005ec3b68000600592e..."} 
[2026-09-07 09:14:58] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f7b500012d7ccf8005ec3b68000600592e..."} 
[2026-09-07 09:14:58] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:14:58] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763154304,"raw_latitude":99367784,"longitude_deg":76.3154304,"latitude_deg":9.9367784,"altitude":6,"angle":89,"satellites":46,"speed":36,"hex_longitude":"2d7ccf80","hex_latitude":"05ec3b68","is_valid_coordinates":true} 
[2026-09-07 09:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920681472001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129355086286553088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983555382135379968,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788752672000,"timestamp_ms":1788752672000,"timestamp_seconds":1788752672,"priority":1,"record_length":96,"hex_timestamp":"000001a079f7b500"} 
[2026-09-07 09:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:58] 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-07 09:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920681472001,"66":13580,"196":206,"87":13824,"24":36,"16":129355086286553088,"45":8983555382135379968},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,87,24,16,45]} 
[2026-09-07 09:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920681472001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-07 09:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129355086286553088,"km_value":129355086286553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983555382135379968,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920681472001,"power":13580,"unknown_196":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8983555382135379968}} 
[2026-09-07 09:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:58] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:58] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:14:59] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f7dc10012d7cf84005ec3cd0000500572d..."} 
[2026-09-07 09:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f7dc10012d7cf84005ec3cd0000500572d..."} 
[2026-09-07 09:14:59] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f7dc10012d7cf84005ec3cd0000500572d..."} 
[2026-09-07 09:14:59] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:14:59] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763164736,"raw_latitude":99368144,"longitude_deg":76.3164736,"latitude_deg":9.9368144,"altitude":5,"angle":87,"satellites":45,"speed":38,"hex_longitude":"2d7cf840","hex_latitude":"05ec3cd0","is_valid_coordinates":true} 
[2026-09-07 09:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920684032001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129355541553086464,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993547743808677888,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788752682000,"timestamp_ms":1788752682000,"timestamp_seconds":1788752682,"priority":1,"record_length":96,"hex_timestamp":"000001a079f7dc10"} 
[2026-09-07 09:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631244,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":142,"raw_value":2499805184,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3779271053805617152,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":4145850369,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549754308,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1438908622,"corrected_to":0} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024917,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2378366976,"corrected_to":0} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962802176,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3296628415321866226,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":53,"raw_value":7926561112416374359,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755532585173233,"note":"Value kept but may cause issues"} 
[2026-09-07 09:14:59] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,196,87,24,241,157,16,143,160,141,45,58,8,47,10,66,106,192,57,9,46,142,63,128,1,240,7,227,121,236,4,113,205,39,245,32,40,239,52,2,203,5,12,28,123,53,54],"length":577,"final_offset":707,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1438908622,"validated":0},{"io_id":203,"original":2378366976,"validated":0}]} 
[2026-09-07 09:14:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432443618333294592,"timestamp_seconds":432443618333294.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 09:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920684032001,"66":13439,"198":206,"87":13824,"24":38,"16":129355541553086464,"45":8993547743808677888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 09:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920684032001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:14:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 09:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129355541553086464,"km_value":129355541553086.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993547743808677888,"description":"Unknown IO ID 45"} 
[2026-09-07 09:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920684032001,"power":13439,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8993547743808677888}} 
[2026-09-07 09:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:14:59] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:14:59] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:15:03] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:03] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:03] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:15:04] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:04] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:04] local.INFO: IMEI packet received {"connection_id":175936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":175936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:15:05] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f63e00012d0bc74006eee0b0000b01522c..."} 
[2026-09-07 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f63e00012d0bc74006eee0b0000b01522c..."} 
[2026-09-07 09:15:05] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f63e00012d0bc74006eee0b0000b01522c..."} 
[2026-09-07 09:15:05] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:15:05] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f6"} 
[2026-09-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":755746624,"raw_latitude":116318384,"longitude_deg":75.5746624,"latitude_deg":11.6318384,"altitude":11,"angle":338,"satellites":44,"speed":56,"hex_longitude":"2d0bc740","hex_latitude":"06eee0b0","is_valid_coordinates":true} 
[2026-09-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920657664001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":400998534964314112,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852728471720224768,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788752576000,"timestamp_ms":1788752576000,"timestamp_seconds":1788752576,"priority":1,"record_length":96,"hex_timestamp":"000001a079f63e00"} 
[2026-09-07 09:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920657664001,"66":27876,"3":206,"80":6400,"24":56,"16":400998534964314112,"45":852728471720224768},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920657664001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":400998534964314112,"km_value":400998534964314.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":852728471720224768,"description":"Unknown IO ID 45"} 
[2026-09-07 09:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920657664001,"power":27876,"unknown_3":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":852728471720224768}} 
[2026-09-07 09:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:15:05] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:15:05] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:15:05] local.INFO: TCP Data received {"connection_id":175936,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f75f10012d0b574006f06988000e01562e..."} 
[2026-09-07 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f75f10012d0b574006f06988000e01562e..."} 
[2026-09-07 09:15:05] local.INFO: Processing buffer {"connection_id":175936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f75f10012d0b574006f06988000e01562e..."} 
[2026-09-07 09:15:05] local.INFO: Packet analysis {"connection_id":175936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:15:05] local.INFO: Extracted packet for processing {"connection_id":175936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":755717952,"raw_latitude":116418952,"longitude_deg":75.5717952,"latitude_deg":11.6418952,"altitude":14,"angle":342,"satellites":46,"speed":56,"hex_longitude":"2d0b5740","hex_latitude":"06f06988","is_valid_coordinates":true} 
[2026-09-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920676608001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401003607320690688,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820007005703116800,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788752650000,"timestamp_ms":1788752650000,"timestamp_seconds":1788752650,"priority":1,"record_length":96,"hex_timestamp":"000001a079f75f10"} 
[2026-09-07 09:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920676608001,"66":27745,"5":206,"80":6400,"24":56,"16":401003607320690688,"45":820007005703116800},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-07 09:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920676608001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401003607320690688,"km_value":401003607320690.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":820007005703116800,"description":"Unknown IO ID 45"} 
[2026-09-07 09:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920676608001,"power":27745,"unknown_5":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":820007005703116800}} 
[2026-09-07 09:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":175936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:15:06] local.INFO: GPS data processed {"connection_id":175936,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:15:06] local.INFO: Acknowledgment sent {"connection_id":175936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:15:31] local.INFO: TCP Data received {"connection_id":174591,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f80ed8012d7d1c0005ec3ed0000500552e..."} 
[2026-09-07 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f80ed8012d7d1c0005ec3ed0000500552e..."} 
[2026-09-07 09:15:31] local.INFO: Processing buffer {"connection_id":174591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f80ed8012d7d1c0005ec3ed0000500552e..."} 
[2026-09-07 09:15:31] local.INFO: Packet analysis {"connection_id":174591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:15:31] local.INFO: Extracted packet for processing {"connection_id":174591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99368656,"longitude_deg":76.3173888,"latitude_deg":9.9368656,"altitude":5,"angle":85,"satellites":46,"speed":23,"hex_longitude":"2d7d1c00","hex_latitude":"05ec3ed0","is_valid_coordinates":true} 
[2026-09-07 09:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920686592001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129355992524652544,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005017849109729280,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788752695000,"timestamp_ms":1788752695000,"timestamp_seconds":1788752695,"priority":1,"record_length":96,"hex_timestamp":"000001a079f80ed8"} 
[2026-09-07 09:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 09:15:31] 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-07 09:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920686592001,"66":13689,"198":206,"87":13824,"24":23,"16":129355992524652544,"45":9005017849109729280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-09-07 09:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920686592001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:15:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 09:15:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129355992524652544,"km_value":129355992524652.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005017849109729280,"description":"Unknown IO ID 45"} 
[2026-09-07 09:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920686592001,"power":13689,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9005017849109729280}} 
[2026-09-07 09:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":174591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:15:31] local.INFO: GPS data processed {"connection_id":174591,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:15:31] local.INFO: Acknowledgment sent {"connection_id":174591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:15:45] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:45] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:45] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:15:48] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:48] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:48] local.INFO: IMEI packet received {"connection_id":173212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":173212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:15:50] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:50] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:15:50] local.INFO: IMEI packet received {"connection_id":173211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":173211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:15:51] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f77a68012d0b49c006f08f10000e01512d..."} 
[2026-09-07 09:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f77a68012d0b49c006f08f10000e01512d..."} 
[2026-09-07 09:15:51] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f77a68012d0b49c006f08f10000e01512d..."} 
[2026-09-07 09:15:51] local.INFO: Packet analysis {"connection_id":173211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:15:51] local.INFO: Extracted packet for processing {"connection_id":173211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755714496,"raw_latitude":116428560,"longitude_deg":75.5714496,"latitude_deg":11.642856,"altitude":14,"angle":337,"satellites":45,"speed":57,"hex_longitude":"2d0b49c0","hex_latitude":"06f08f10","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920678400001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401004101241929728,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817192255938463744,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752657000,"timestamp_ms":1788752657000,"timestamp_seconds":1788752657,"priority":1,"record_length":96,"hex_timestamp":"000001a079f77a68"} 
[2026-09-07 09: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-07 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:15:51] 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-07 09: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-07 09: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-07 09:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:15:51] 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-07 09:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920678400001,"66":27930,"111":206,"80":6400,"24":57,"16":401004101241929728,"45":817192255938463744},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 09:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920678400001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:15:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 09:15:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401004101241929728,"km_value":401004101241929.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":817192255938463744,"description":"Unknown IO ID 45"} 
[2026-09-07 09:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920678400001,"power":27930,"unknown_111":206,"unknown_80":6400,"ignition":57,"odometer":null,"unknown_45":817192255938463744}} 
[2026-09-07 09:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":173211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:15:51] local.INFO: GPS data processed {"connection_id":173211,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:15:51] local.INFO: Acknowledgment sent {"connection_id":173211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:15:53] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:53] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:15:53] local.INFO: IMEI packet received {"connection_id":173212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:15:55] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f841a0012d7d330005ec3fe8000500612b..."} 
[2026-09-07 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f841a0012d7d330005ec3fe8000500612b..."} 
[2026-09-07 09:15:55] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f841a0012d7d330005ec3fe8000500612b..."} 
[2026-09-07 09:15:55] local.INFO: Packet analysis {"connection_id":173212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:15:55] local.INFO: Extracted packet for processing {"connection_id":173212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":99368936,"longitude_deg":76.3179776,"latitude_deg":9.9368936,"altitude":5,"angle":97,"satellites":43,"speed":10,"hex_longitude":"2d7d3300","hex_latitude":"05ec3fe8","is_valid_coordinates":true} 
[2026-09-07 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-07 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920689920001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356297467330560,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527266304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788752708000,"timestamp_ms":1788752708000,"timestamp_seconds":1788752708,"priority":1,"record_length":96,"hex_timestamp":"000001a079f841a0"} 
[2026-09-07 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-07 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920689920001,"66":13374,"110":206,"87":13824,"24":10,"16":129356297467330560,"45":9015080579527266304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920689920001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:15:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:15:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356297467330560,"km_value":129356297467330.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527266304,"description":"Unknown IO ID 45"} 
[2026-09-07 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920689920001,"power":13374,"unknown_110":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9015080579527266304}} 
[2026-09-07 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":173212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:15:55] local.INFO: GPS data processed {"connection_id":173212,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:15:55] local.INFO: Acknowledgment sent {"connection_id":173212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:16:22] local.INFO: TCP Data received {"connection_id":173211,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f795c0012d0b3a8006f0af58000e014d2c..."} 
[2026-09-07 09:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f795c0012d0b3a8006f0af58000e014d2c..."} 
[2026-09-07 09:16:22] local.INFO: Processing buffer {"connection_id":173211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f795c0012d0b3a8006f0af58000e014d2c..."} 
[2026-09-07 09:16:22] local.INFO: Packet analysis {"connection_id":173211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:16:22] local.INFO: Extracted packet for processing {"connection_id":173211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:16:22] local.INFO: GPS Element Parsed {"raw_longitude":755710592,"raw_latitude":116436824,"longitude_deg":75.5710592,"latitude_deg":11.6436824,"altitude":14,"angle":333,"satellites":44,"speed":43,"hex_longitude":"2d0b3a80","hex_latitude":"06f0af58","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920680192001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401004543623561216,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813392343755329536,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788752664000,"timestamp_ms":1788752664000,"timestamp_seconds":1788752664,"priority":1,"record_length":96,"hex_timestamp":"000001a079f795c0"} 
[2026-09-07 09: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-07 09:16: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-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:16:22] 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-07 09:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920680192001,"66":27865,"111":206,"80":6400,"24":43,"16":401004543623561216,"45":813392343755329536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 09:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920680192001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:16:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 09:16:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401004543623561216,"km_value":401004543623561.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":813392343755329536,"description":"Unknown IO ID 45"} 
[2026-09-07 09:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920680192001,"power":27865,"unknown_111":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":813392343755329536}} 
[2026-09-07 09:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":173211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:16:22] local.INFO: GPS data processed {"connection_id":173211,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:16:22] local.INFO: Acknowledgment sent {"connection_id":173211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:16:27] local.INFO: TCP Data received {"connection_id":173212,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f87c38012d7d39c005ec3ec8000500752a..."} 
[2026-09-07 09:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f87c38012d7d39c005ec3ec8000500752a..."} 
[2026-09-07 09:16:27] local.INFO: Processing buffer {"connection_id":173212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f87c38012d7d39c005ec3ec8000500752a..."} 
[2026-09-07 09:16:27] local.INFO: Packet analysis {"connection_id":173212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:16:27] local.INFO: Extracted packet for processing {"connection_id":173212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99368648,"longitude_deg":76.3181504,"latitude_deg":9.9368648,"altitude":5,"angle":117,"satellites":42,"speed":5,"hex_longitude":"2d7d39c0","hex_latitude":"05ec3ec8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356387661643776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503991683072,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788752723000,"timestamp_ms":1788752723000,"timestamp_seconds":1788752723,"priority":1,"record_length":96,"hex_timestamp":"000001a079f87c38"} 
[2026-09-07 09: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-07 09:16: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-07 09: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 09:16:27] 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-07 09: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-07 09: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-07 09:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920693248001,"66":12917,"110":206,"87":13824,"24":5,"16":129356387661643776,"45":9021554503991683072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:16:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:16:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356387661643776,"km_value":129356387661643.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503991683072,"description":"Unknown IO ID 45"} 
[2026-09-07 09:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920693248001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9021554503991683072}} 
[2026-09-07 09:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":173212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:16:27] local.INFO: GPS data processed {"connection_id":173212,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:16:27] local.INFO: Acknowledgment sent {"connection_id":173212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:16:46] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:16:46] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:46] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:16:48] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:48] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:48] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:16:50] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:50] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:16:50] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:16:51] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f7bcd0012d0b264006f0d038000f01442d..."} 
[2026-09-07 09:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f7bcd0012d0b264006f0d038000f01442d..."} 
[2026-09-07 09:16:51] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f7bcd0012d0b264006f0d038000f01442d..."} 
[2026-09-07 09:16:51] local.INFO: Packet analysis {"connection_id":173449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:16:51] local.INFO: Extracted packet for processing {"connection_id":173449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f7"} 
[2026-09-07 09:16:51] local.INFO: GPS Element Parsed {"raw_longitude":755705408,"raw_latitude":116445240,"longitude_deg":75.5705408,"latitude_deg":11.644524,"altitude":15,"angle":324,"satellites":45,"speed":37,"hex_longitude":"2d0b2640","hex_latitude":"06f0d038","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920681984001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401005020364931072,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809099850362607616,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752674000,"timestamp_ms":1788752674000,"timestamp_seconds":1788752674,"priority":1,"record_length":96,"hex_timestamp":"000001a079f7bcd0"} 
[2026-09-07 09: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-07 09:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:16:51] 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-07 09:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920681984001,"66":27843,"111":206,"80":6400,"24":37,"16":401005020364931072,"45":809099850362607616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 09:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920681984001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:16:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 09:16:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401005020364931072,"km_value":401005020364931.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":809099850362607616,"description":"Unknown IO ID 45"} 
[2026-09-07 09:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920681984001,"power":27843,"unknown_111":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":809099850362607616}} 
[2026-09-07 09:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":173449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:16:51] local.INFO: GPS data processed {"connection_id":173449,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:16:51] local.INFO: Acknowledgment sent {"connection_id":173449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:16:53] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:53] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:16:53] local.INFO: IMEI packet received {"connection_id":174593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":174593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:16:54] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f88020012d7d3a8005ec3e400006008329..."} 
[2026-09-07 09:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f88020012d7d3a8005ec3e400006008329..."} 
[2026-09-07 09:16:54] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f88020012d7d3a8005ec3e400006008329..."} 
[2026-09-07 09:16:54] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:16:54] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":99368512,"longitude_deg":76.3181696,"latitude_deg":9.9368512,"altitude":6,"angle":131,"satellites":41,"speed":8,"hex_longitude":"2d7d3a80","hex_latitude":"05ec3e40","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920697088001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356396251578368,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460084406272,"note":"Value kept but may cause issues"} 
[2026-09-07 09:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752724000,"timestamp_ms":1788752724000,"timestamp_seconds":1788752724,"priority":1,"record_length":96,"hex_timestamp":"000001a079f88020"} 
[2026-09-07 09: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-07 09: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-07 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 09:16:54] 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-07 09: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-07 09: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-07 09:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920697088001,"66":12917,"110":206,"87":13824,"24":8,"16":129356396251578368,"45":9023454460084406272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920697088001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:16:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:16:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356396251578368,"km_value":129356396251578.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460084406272,"description":"Unknown IO ID 45"} 
[2026-09-07 09:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920697088001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9023454460084406272}} 
[2026-09-07 09:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:16:54] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:16:54] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:22] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f80ed8012d0b170006f0e508000f013d2c..."} 
[2026-09-07 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f80ed8012d0b170006f0e508000f013d2c..."} 
[2026-09-07 09:17:22] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f80ed8012d0b170006f0e508000f013d2c..."} 
[2026-09-07 09:17:22] local.INFO: Packet analysis {"connection_id":173449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:17:22] local.INFO: Extracted packet for processing {"connection_id":173449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:17:22] local.INFO: GPS Element Parsed {"raw_longitude":755701504,"raw_latitude":116450568,"longitude_deg":75.5701504,"latitude_deg":11.6450568,"altitude":15,"angle":317,"satellites":44,"speed":14,"hex_longitude":"2d0b1700","hex_latitude":"06f0e508","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920684544001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401005338192510976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803399982086371328,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788752695000,"timestamp_ms":1788752695000,"timestamp_seconds":1788752695,"priority":1,"record_length":96,"hex_timestamp":"000001a079f80ed8"} 
[2026-09-07 09: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-07 09:17: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-07 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:22] 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-07 09: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-07 09: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-07 09:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:17:22] 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-07 09:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920684544001,"66":27745,"111":206,"80":6400,"24":14,"16":401005338192510976,"45":803399982086371328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 09:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920684544001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 09:17:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401005338192510976,"km_value":401005338192511.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":803399982086371328,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920684544001,"power":27745,"unknown_111":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":803399982086371328}} 
[2026-09-07 09:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":173449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:22] local.INFO: GPS data processed {"connection_id":173449,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:22] local.INFO: Acknowledgment sent {"connection_id":173449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:25] local.INFO: TCP Data received {"connection_id":174593,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079f88408012d7d3ac005ec3d780006009729..."} 
[2026-09-07 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f88408012d7d3ac005ec3d780006009729..."} 
[2026-09-07 09:17:25] local.INFO: Processing buffer {"connection_id":174593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f88408012d7d3ac005ec3d780006009729..."} 
[2026-09-07 09:17:25] local.INFO: Packet analysis {"connection_id":174593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:17:25] local.INFO: Extracted packet for processing {"connection_id":174593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f8"} 
[2026-09-07 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":99368312,"longitude_deg":76.318176,"latitude_deg":9.9368312,"altitude":6,"angle":151,"satellites":41,"speed":7,"hex_longitude":"2d7d3ac0","hex_latitude":"05ec3d78","is_valid_coordinates":true} 
[2026-09-07 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920697344001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356409136480256,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665566316904448,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788752725000,"timestamp_ms":1788752725000,"timestamp_seconds":1788752725,"priority":1,"record_length":96,"hex_timestamp":"000001a079f88408"} 
[2026-09-07 09:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:17: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-07 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:25] 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-07 09:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920697344001,"66":12917,"110":206,"87":13824,"24":7,"16":129356409136480256,"45":9023665566316904448},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920697344001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356409136480256,"km_value":129356409136480.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665566316904448,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920697344001,"power":12917,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9023665566316904448}} 
[2026-09-07 09:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":174593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:25] local.INFO: GPS data processed {"connection_id":174593,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:25] local.INFO: Acknowledgment sent {"connection_id":174593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:33] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:33] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:33] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:17:38] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:38] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:17:38] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:17:39] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa0aa8012d09c580070504c80006006823..."} 
[2026-09-07 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa0aa8012d09c580070504c80006006823..."} 
[2026-09-07 09:17:39] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa0aa8012d09c580070504c80006006823..."} 
[2026-09-07 09:17:39] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:39] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":755615104,"raw_latitude":117769416,"longitude_deg":75.5615104,"latitude_deg":11.7769416,"altitude":6,"angle":104,"satellites":35,"speed":9,"hex_longitude":"2d09c580","hex_latitude":"070504c8","is_valid_coordinates":true} 
[2026-09-07 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920721920001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30445571462397952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702068990809491456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788752825000,"timestamp_ms":1788752825000,"timestamp_seconds":1788752825,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa0aa8"} 
[2026-09-07 09:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920721920001,"66":14407,"177":206,"94":10240,"24":9,"16":30445571462397952,"45":702068990809491456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920721920001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30445571462397952,"km_value":30445571462397.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":702068990809491456,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920721920001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":702068990809491456}} 
[2026-09-07 09:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:39] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:39] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:39] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa0e90012d09c600070504380007008824..."} 
[2026-09-07 09:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa0e90012d09c600070504380007008824..."} 
[2026-09-07 09:17:39] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa0e90012d09c600070504380007008824..."} 
[2026-09-07 09:17:39] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:39] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:39] local.INFO: GPS Element Parsed {"raw_longitude":755615232,"raw_latitude":117769272,"longitude_deg":75.5615232,"latitude_deg":11.7769272,"altitude":7,"angle":136,"satellites":36,"speed":8,"hex_longitude":"2d09c600","hex_latitude":"07050438","is_valid_coordinates":true} 
[2026-09-07 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920723200001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30445580052332544,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704109684390676480,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788752826000,"timestamp_ms":1788752826000,"timestamp_seconds":1788752826,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa0e90"} 
[2026-09-07 09:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:17: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-07 09:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920723200001,"66":14374,"177":206,"94":10240,"24":8,"16":30445580052332544,"45":704109684390676480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 09:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920723200001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30445580052332544,"km_value":30445580052332.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":704109684390676480,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920723200001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":704109684390676480}} 
[2026-09-07 09:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:40] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:40] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:46] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:17:46] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:46] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:17:47] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:47] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:47] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:17:48] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:48] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:48] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:17:50] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:50] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:17:50] local.INFO: IMEI packet received {"connection_id":175938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":175938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:17:51] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f9b0d0012d09f74006f1b378000e01402c..."} 
[2026-09-07 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f9b0d0012d09f74006f1b378000e01402c..."} 
[2026-09-07 09:17:51] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f9b0d0012d09f74006f1b378000e01402c..."} 
[2026-09-07 09:17:51] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:17:51] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":755627840,"raw_latitude":116503416,"longitude_deg":75.562784,"latitude_deg":11.6503416,"altitude":14,"angle":320,"satellites":44,"speed":48,"hex_longitude":"2d09f740","hex_latitude":"06f1b378","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920716800001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401009693289349120,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720013020250306560,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752802000,"timestamp_ms":1788752802000,"timestamp_seconds":1788752802,"priority":1,"record_length":96,"hex_timestamp":"000001a079f9b0d0"} 
[2026-09-07 09: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-07 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:17:51] 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-07 09:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920716800001,"66":27604,"113":206,"80":6400,"24":48,"16":401009693289349120,"45":720013020250306560},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920716800001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:51] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:17:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401009693289349120,"km_value":401009693289349.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":720013020250306560,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920716800001,"power":27604,"unknown_113":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":720013020250306560}} 
[2026-09-07 09:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:51] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:51] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:17:52] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:52] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:17:52] local.INFO: IMEI packet received {"connection_id":173214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":173214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:17:53] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa8f78012d7d360005ec10a80004008923..."} 
[2026-09-07 09:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa8f78012d7d360005ec10a80004008923..."} 
[2026-09-07 09:17:53] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa8f78012d7d360005ec10a80004008923..."} 
[2026-09-07 09:17:53] local.INFO: Packet analysis {"connection_id":173214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:53] local.INFO: Extracted packet for processing {"connection_id":173214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:17:53] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99356840,"longitude_deg":76.3180544,"latitude_deg":9.935684,"altitude":4,"angle":137,"satellites":35,"speed":1,"hex_longitude":"2d7d3600","hex_latitude":"05ec10a8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920730880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356980367130624,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666407180288,"note":"Value kept but may cause issues"} 
[2026-09-07 09:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788752859000,"timestamp_ms":1788752859000,"timestamp_seconds":1788752859,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa8f78"} 
[2026-09-07 09: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-07 09:17: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-07 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 09:17:53] 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-07 09: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-07 09: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-07 09:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920730880001,"66":13526,"109":206,"87":13824,"24":1,"16":129356980367130624,"45":9022539666407180288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-07 09:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920730880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:17:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 09:17:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356980367130624,"km_value":129356980367130.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666407180288,"description":"Unknown IO ID 45"} 
[2026-09-07 09:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920730880001,"power":13526,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022539666407180288}} 
[2026-09-07 09:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":173214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:17:53] local.INFO: GPS data processed {"connection_id":173214,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:17:53] local.INFO: Acknowledgment sent {"connection_id":173214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:18:11] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a079fad9b0012d09f4c00704dfa0000e004a23..."} 
[2026-09-07 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fad9b0012d09f4c00704dfa0000e004a23..."} 
[2026-09-07 09:18:11] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fad9b0012d09f4c00704dfa0000e004a23..."} 
[2026-09-07 09:18:11] local.INFO: Packet analysis {"connection_id":173451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:11] local.INFO: Extracted packet for processing {"connection_id":173451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":755627200,"raw_latitude":117759904,"longitude_deg":75.56272,"latitude_deg":11.7759904,"altitude":14,"angle":74,"satellites":35,"speed":19,"hex_longitude":"2d09f4c0","hex_latitude":"0704dfa0","is_valid_coordinates":true} 
[2026-09-07 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-07 09:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920736512001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30446881427423232,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716846427084380160,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788752878000,"timestamp_ms":1788752878000,"timestamp_seconds":1788752878,"priority":1,"record_length":96,"hex_timestamp":"000001a079fad9b0"} 
[2026-09-07 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-07 09:18: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-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 09:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920736512001,"66":14167,"177":206,"94":10240,"24":19,"16":30446881427423232,"45":716846427084380160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 09:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920736512001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:18:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 09:18:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30446881427423232,"km_value":30446881427423.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":716846427084380160,"description":"Unknown IO ID 45"} 
[2026-09-07 09:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920736512001,"power":14167,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":716846427084380160}} 
[2026-09-07 09:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":173451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:18:11] local.INFO: GPS data processed {"connection_id":173451,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:18:11] local.INFO: Acknowledgment sent {"connection_id":173451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:18:22] local.INFO: TCP Data received {"connection_id":175938,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f9b8a0012d09f1c006f1bbd8000d014c2c..."} 
[2026-09-07 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f9b8a0012d09f1c006f1bbd8000d014c2c..."} 
[2026-09-07 09:18:22] local.INFO: Processing buffer {"connection_id":175938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f9b8a0012d09f1c006f1bbd8000d014c2c..."} 
[2026-09-07 09:18:22] local.INFO: Packet analysis {"connection_id":175938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:18:22] local.INFO: Extracted packet for processing {"connection_id":175938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":755626432,"raw_latitude":116505560,"longitude_deg":75.5626432,"latitude_deg":11.650556,"altitude":13,"angle":332,"satellites":44,"speed":50,"hex_longitude":"2d09f1c0","hex_latitude":"06f1bbd8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920717312001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401009817843400704,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":718113064157935616,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788752804000,"timestamp_ms":1788752804000,"timestamp_seconds":1788752804,"priority":1,"record_length":96,"hex_timestamp":"000001a079f9b8a0"} 
[2026-09-07 09: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-07 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 09:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:18:22] 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-07 09:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920717312001,"66":27332,"113":206,"80":6400,"24":50,"16":401009817843400704,"45":718113064157935616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920717312001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:18:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:18:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401009817843400704,"km_value":401009817843400.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":718113064157935616,"description":"Unknown IO ID 45"} 
[2026-09-07 09:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920717312001,"power":27332,"unknown_113":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":718113064157935616}} 
[2026-09-07 09:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":175938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:18:22] local.INFO: GPS data processed {"connection_id":175938,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:18:22] local.INFO: Acknowledgment sent {"connection_id":175938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:18:23] local.INFO: TCP Data received {"connection_id":175939,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:23] local.INFO: Processing buffer {"connection_id":175939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:23] local.INFO: IMEI packet received {"connection_id":175939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":175939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:18:25] local.INFO: TCP Data received {"connection_id":173214,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa9f18012d7d368005ec10700004004123..."} 
[2026-09-07 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa9f18012d7d368005ec10700004004123..."} 
[2026-09-07 09:18:25] local.INFO: Processing buffer {"connection_id":173214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa9f18012d7d368005ec10700004004123..."} 
[2026-09-07 09:18:25] local.INFO: Packet analysis {"connection_id":173214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:25] local.INFO: Extracted packet for processing {"connection_id":173214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99356784,"longitude_deg":76.3180672,"latitude_deg":9.9356784,"altitude":4,"angle":65,"satellites":35,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec1070","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920731904001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356993252032512,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928918718464,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788752863000,"timestamp_ms":1788752863000,"timestamp_seconds":1788752863,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa9f18"} 
[2026-09-07 09: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-07 09:18: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-07 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 09:18:25] 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-07 09: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-07 09: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-07 09:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920731904001,"66":13341,"109":206,"87":13824,"24":0,"16":129356993252032512,"45":9022398928918718464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-07 09:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920731904001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:18:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 09:18:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356993252032512,"km_value":129356993252032.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928918718464,"description":"Unknown IO ID 45"} 
[2026-09-07 09:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920731904001,"power":13341,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928918718464}} 
[2026-09-07 09:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":173214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:18:25] local.INFO: GPS data processed {"connection_id":173214,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:18:25] local.INFO: Acknowledgment sent {"connection_id":173214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:18:45] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:45] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:45] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:18:48] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:48] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:48] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:18:48] local.INFO: TCP Data received {"connection_id":174594,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:48] local.INFO: Processing buffer {"connection_id":174594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:18:48] local.INFO: IMEI packet received {"connection_id":174594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:18:48] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:48] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:48] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:18:50] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:50] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:18:50] local.INFO: IMEI packet received {"connection_id":174595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":174595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:18:51] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f9dfb0012d09e00006f1db60000a014e2b..."} 
[2026-09-07 09:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f9dfb0012d09e00006f1db60000a014e2b..."} 
[2026-09-07 09:18:51] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f9dfb0012d09e00006f1db60000a014e2b..."} 
[2026-09-07 09:18:51] local.INFO: Packet analysis {"connection_id":174595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:18:51] local.INFO: Extracted packet for processing {"connection_id":174595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:18:51] local.INFO: GPS Element Parsed {"raw_longitude":755621888,"raw_latitude":116513632,"longitude_deg":75.5621888,"latitude_deg":11.6513632,"altitude":10,"angle":334,"satellites":43,"speed":29,"hex_longitude":"2d09e000","hex_latitude":"06f1db60","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920717824001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401010268814966784,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716564951786575872,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752814000,"timestamp_ms":1788752814000,"timestamp_seconds":1788752814,"priority":1,"record_length":96,"hex_timestamp":"000001a079f9dfb0"} 
[2026-09-07 09: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-07 09:18: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-07 09: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 09:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:18:51] 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-07 09:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920717824001,"66":27908,"113":206,"80":6400,"24":29,"16":401010268814966784,"45":716564951786575872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920717824001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:18:51] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:18:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401010268814966784,"km_value":401010268814966.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":716564951786575872,"description":"Unknown IO ID 45"} 
[2026-09-07 09:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920717824001,"power":27908,"unknown_113":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":716564951786575872}} 
[2026-09-07 09:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":174595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:18:51] local.INFO: GPS data processed {"connection_id":174595,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:18:51] local.INFO: Acknowledgment sent {"connection_id":174595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:18:53] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:53] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:18:53] local.INFO: IMEI packet received {"connection_id":174596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":174596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:18:54] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079faa6e8012d7d368005ec1060000400bd22..."} 
[2026-09-07 09:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079faa6e8012d7d368005ec1060000400bd22..."} 
[2026-09-07 09:18:54] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079faa6e8012d7d368005ec1060000400bd22..."} 
[2026-09-07 09:18:54] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:54] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99356768,"longitude_deg":76.3180672,"latitude_deg":9.9356768,"altitude":4,"angle":189,"satellites":34,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec1060","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920732928001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356993252032512,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666407059456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752865000,"timestamp_ms":1788752865000,"timestamp_seconds":1788752865,"priority":1,"record_length":96,"hex_timestamp":"000001a079faa6e8"} 
[2026-09-07 09: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-07 09:18: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-07 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 09:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920732928001,"66":13363,"109":206,"87":13824,"24":0,"16":129356993252032512,"45":9022539666407059456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-07 09:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920732928001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:18:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 09:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356993252032512,"km_value":129356993252032.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666407059456,"description":"Unknown IO ID 45"} 
[2026-09-07 09:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920732928001,"power":13363,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666407059456}} 
[2026-09-07 09:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:18:54] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:18:54] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:19:01] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:01] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:01] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:19:02] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:02] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:19:02] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:19:04] local.INFO: TCP Data received {"connection_id":173215,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173215,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 09:19:04] local.INFO: Processing buffer {"connection_id":173215,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 09:19:04] local.INFO: IMEI packet received {"connection_id":173215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":173215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:19:22] local.INFO: TCP Data received {"connection_id":174595,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079f9eb68012d09dd8006f1e2980008015a2c..."} 
[2026-09-07 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079f9eb68012d09dd8006f1e2980008015a2c..."} 
[2026-09-07 09:19:22] local.INFO: Processing buffer {"connection_id":174595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079f9eb68012d09dd8006f1e2980008015a2c..."} 
[2026-09-07 09:19:22] local.INFO: Packet analysis {"connection_id":174595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:19:22] local.INFO: Extracted packet for processing {"connection_id":174595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079f9"} 
[2026-09-07 09:19:22] local.INFO: GPS Element Parsed {"raw_longitude":755621248,"raw_latitude":116515480,"longitude_deg":75.5621248,"latitude_deg":11.651548,"altitude":8,"angle":346,"satellites":44,"speed":26,"hex_longitude":"2d09dd80","hex_latitude":"06f1e298","is_valid_coordinates":true} 
[2026-09-07 09:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920720384001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401010363304247296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711568770952028160,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788752817000,"timestamp_ms":1788752817000,"timestamp_seconds":1788752817,"priority":1,"record_length":96,"hex_timestamp":"000001a079f9eb68"} 
[2026-09-07 09:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:19: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-07 09:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:19:22] 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-07 09:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920720384001,"66":27908,"113":206,"80":6400,"24":26,"16":401010363304247296,"45":711568770952028160},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920720384001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401010363304247296,"km_value":401010363304247.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":711568770952028160,"description":"Unknown IO ID 45"} 
[2026-09-07 09:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920720384001,"power":27908,"unknown_113":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":711568770952028160}} 
[2026-09-07 09:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":174595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:19:22] local.INFO: GPS data processed {"connection_id":174595,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:19:22] local.INFO: Acknowledgment sent {"connection_id":174595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:19:26] local.INFO: TCP Data received {"connection_id":174596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079fabe58012d7d35c005ec10300005011e23..."} 
[2026-09-07 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fabe58012d7d35c005ec10300005011e23..."} 
[2026-09-07 09:19:26] local.INFO: Processing buffer {"connection_id":174596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fabe58012d7d35c005ec10300005011e23..."} 
[2026-09-07 09:19:26] local.INFO: Packet analysis {"connection_id":174596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:19:26] local.INFO: Extracted packet for processing {"connection_id":174596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99356720,"longitude_deg":76.318048,"latitude_deg":9.935672,"altitude":5,"angle":286,"satellites":35,"speed":0,"hex_longitude":"2d7d35c0","hex_latitude":"05ec1030","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920733440001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356993252032512,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666407055360,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788752871000,"timestamp_ms":1788752871000,"timestamp_seconds":1788752871,"priority":1,"record_length":96,"hex_timestamp":"000001a079fabe58"} 
[2026-09-07 09: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-07 09:19: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-07 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 09:19:26] 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-07 09: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-07 09: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-07 09:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920733440001,"66":13102,"109":206,"87":13824,"24":0,"16":129356993252032512,"45":9022539666407055360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-07 09:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920733440001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:19:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 09:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356993252032512,"km_value":129356993252032.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666407055360,"description":"Unknown IO ID 45"} 
[2026-09-07 09:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920733440001,"power":13102,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666407055360}} 
[2026-09-07 09:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":174596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:19:26] local.INFO: GPS data processed {"connection_id":174596,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:19:26] local.INFO: Acknowledgment sent {"connection_id":174596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:19:48] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:48] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:48] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:19:53] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:53] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:19:53] local.INFO: IMEI packet received {"connection_id":175943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":175943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:19:54] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079fadd98012d7d358005ec10c0000400031e..."} 
[2026-09-07 09:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fadd98012d7d358005ec10c0000400031e..."} 
[2026-09-07 09:19:54] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fadd98012d7d358005ec10c0000400031e..."} 
[2026-09-07 09:19:54] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:19:54] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356864,"longitude_deg":76.3180416,"latitude_deg":9.9356864,"altitude":4,"angle":3,"satellites":30,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec10c0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920734976001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356997546999808,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174510080,"note":"Value kept but may cause issues"} 
[2026-09-07 09:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788752879000,"timestamp_ms":1788752879000,"timestamp_seconds":1788752879,"priority":1,"record_length":96,"hex_timestamp":"000001a079fadd98"} 
[2026-09-07 09: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-07 09:19: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-07 09: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":46,"data_length":795,"current_offset":136} 
[2026-09-07 09:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920734976001,"66":13526,"109":206,"87":13824,"24":0,"16":129356997546999808,"45":9022328560174510080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-09-07 09:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920734976001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:19:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 09:19:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356997546999808,"km_value":129356997546999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174510080,"description":"Unknown IO ID 45"} 
[2026-09-07 09:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920734976001,"power":13526,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174510080}} 
[2026-09-07 09:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:19:54] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:19:54] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:19:55] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:55] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:55] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:19:56] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:56] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:19:56] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:00] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:00] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:00] local.INFO: IMEI packet received {"connection_id":175944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":175944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:02] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa1660012d09d40006f20418000701562c..."} 
[2026-09-07 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa1660012d09d40006f20418000701562c..."} 
[2026-09-07 09:20:02] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa1660012d09d40006f20418000701562c..."} 
[2026-09-07 09:20:02] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:20:02] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":755618816,"raw_latitude":116524056,"longitude_deg":75.5618816,"latitude_deg":11.6524056,"altitude":7,"angle":342,"satellites":44,"speed":22,"hex_longitude":"2d09d400","hex_latitude":"06f20418","is_valid_coordinates":true} 
[2026-09-07 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920721152001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401010792800976896,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":710865083510724608,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788752828000,"timestamp_ms":1788752828000,"timestamp_seconds":1788752828,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa1660"} 
[2026-09-07 09:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:02] 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-07 09:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920721152001,"66":27658,"113":206,"80":6400,"24":22,"16":401010792800976896,"45":710865083510724608},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920721152001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401010792800976896,"km_value":401010792800976.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":710865083510724608,"description":"Unknown IO ID 45"} 
[2026-09-07 09:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920721152001,"power":27658,"unknown_113":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":710865083510724608}} 
[2026-09-07 09:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:20:02] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:20:02] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:20:02] local.INFO: TCP Data received {"connection_id":175944,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fa6868012d09cc4006f221b0000701572d..."} 
[2026-09-07 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fa6868012d09cc4006f221b0000701572d..."} 
[2026-09-07 09:20:02] local.INFO: Processing buffer {"connection_id":175944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fa6868012d09cc4006f221b0000701572d..."} 
[2026-09-07 09:20:02] local.INFO: Packet analysis {"connection_id":175944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:20:02] local.INFO: Extracted packet for processing {"connection_id":175944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fa"} 
[2026-09-07 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":755616832,"raw_latitude":116531632,"longitude_deg":75.5616832,"latitude_deg":11.6531632,"altitude":7,"angle":343,"satellites":45,"speed":10,"hex_longitude":"2d09cc40","hex_latitude":"06f221b0","is_valid_coordinates":true} 
[2026-09-07 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920723968001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401011175053066240,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708191071234168832,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788752849000,"timestamp_ms":1788752849000,"timestamp_seconds":1788752849,"priority":1,"record_length":96,"hex_timestamp":"000001a079fa6868"} 
[2026-09-07 09:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 09:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:02] 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-07 09:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920723968001,"66":27800,"113":206,"80":6400,"24":10,"16":401011175053066240,"45":708191071234168832},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 09:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920723968001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401011175053066240,"km_value":401011175053066.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":708191071234168832,"description":"Unknown IO ID 45"} 
[2026-09-07 09:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920723968001,"power":27800,"unknown_113":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":708191071234168832}} 
[2026-09-07 09:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":175944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:20:03] local.INFO: GPS data processed {"connection_id":175944,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:20:03] local.INFO: Acknowledgment sent {"connection_id":175944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:20:25] local.INFO: TCP Data received {"connection_id":175943,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a079fb2bb8012d7d358005ec10a8000400031c..."} 
[2026-09-07 09:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fb2bb8012d7d358005ec10a8000400031c..."} 
[2026-09-07 09:20:25] local.INFO: Processing buffer {"connection_id":175943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fb2bb8012d7d358005ec10a8000400031c..."} 
[2026-09-07 09:20:25] local.INFO: Packet analysis {"connection_id":175943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fb"} 
[2026-09-07 09:20:25] local.INFO: Extracted packet for processing {"connection_id":175943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fb"} 
[2026-09-07 09:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":99356840,"longitude_deg":76.3180416,"latitude_deg":9.935684,"altitude":4,"angle":3,"satellites":28,"speed":0,"hex_longitude":"2d7d3580","hex_latitude":"05ec10a8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920737024001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129356997546999808,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430369280,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788752899000,"timestamp_ms":1788752899000,"timestamp_seconds":1788752899,"priority":1,"record_length":96,"hex_timestamp":"000001a079fb2bb8"} 
[2026-09-07 09: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-07 09:20: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-07 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 09:20:25] 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-07 09: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-07 09: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-07 09:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920737024001,"66":13798,"110":206,"87":13824,"24":0,"16":129356997546999808,"45":9022258191430369280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920737024001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:20:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129356997546999808,"km_value":129356997546999.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430369280,"description":"Unknown IO ID 45"} 
[2026-09-07 09:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920737024001,"power":13798,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430369280}} 
[2026-09-07 09:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":175943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:20:25] local.INFO: GPS data processed {"connection_id":175943,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:20:25] local.INFO: Acknowledgment sent {"connection_id":175943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:20:45] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:20:45] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:45] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:48] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:48] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:48] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:20:49] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:49] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:49] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:50] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:50] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:50] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:50] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:50] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:20:50] local.INFO: IMEI packet received {"connection_id":175945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":175945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:51] local.INFO: TCP Data received {"connection_id":173216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:51] local.INFO: Processing buffer {"connection_id":173216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:20:51] local.INFO: IMEI packet received {"connection_id":173216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:20:51] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fc4110012d099d8006f350980015016425..."} 
[2026-09-07 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fc4110012d099d8006f350980015016425..."} 
[2026-09-07 09:20:51] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fc4110012d099d8006f350980015016425..."} 
[2026-09-07 09:20:51] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:20:51] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":755604864,"raw_latitude":116609176,"longitude_deg":75.5604864,"latitude_deg":11.6609176,"altitude":21,"angle":356,"satellites":37,"speed":44,"hex_longitude":"2d099d80","hex_latitude":"06f35098","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920758528001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401015010458861568,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694469166139480064,"note":"Value kept but may cause issues"} 
[2026-09-07 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788752970000,"timestamp_ms":1788752970000,"timestamp_seconds":1788752970,"priority":1,"record_length":96,"hex_timestamp":"000001a079fc4110"} 
[2026-09-07 09: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-07 09:20: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-07 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 09:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:20:51] 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-07 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920758528001,"66":27908,"212":206,"80":6400,"24":44,"16":401015010458861568,"45":694469166139480064},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-07 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920758528001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:20:51] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 09:20:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401015010458861568,"km_value":401015010458861.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":694469166139480064,"description":"Unknown IO ID 45"} 
[2026-09-07 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920758528001,"power":27908,"unknown_212":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":694469166139480064}} 
[2026-09-07 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:20:51] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:20:51] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:21:22] local.INFO: TCP Data received {"connection_id":175945,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fc6050012d09998006f372f80015016025..."} 
[2026-09-07 09:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fc6050012d09998006f372f80015016025..."} 
[2026-09-07 09:21:22] local.INFO: Processing buffer {"connection_id":175945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fc6050012d09998006f372f80015016025..."} 
[2026-09-07 09:21:22] local.INFO: Packet analysis {"connection_id":175945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:21:22] local.INFO: Extracted packet for processing {"connection_id":175945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755603840,"raw_latitude":116617976,"longitude_deg":75.560384,"latitude_deg":11.6617976,"altitude":21,"angle":352,"satellites":37,"speed":45,"hex_longitude":"2d099980","hex_latitude":"06f372f8","is_valid_coordinates":true} 
[2026-09-07 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920760320001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401015439955591168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692850685025228800,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788752978000,"timestamp_ms":1788752978000,"timestamp_seconds":1788752978,"priority":1,"record_length":96,"hex_timestamp":"000001a079fc6050"} 
[2026-09-07 09:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:21: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-07 09:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:21:22] 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-07 09:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920760320001,"66":27767,"212":206,"80":6400,"24":45,"16":401015439955591168,"45":692850685025228800},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-07 09:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920760320001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:21:22] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 09:21:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401015439955591168,"km_value":401015439955591.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":692850685025228800,"description":"Unknown IO ID 45"} 
[2026-09-07 09:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920760320001,"power":27767,"unknown_212":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":692850685025228800}} 
[2026-09-07 09:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":175945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:21:22] local.INFO: GPS data processed {"connection_id":175945,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:21:22] local.INFO: Acknowledgment sent {"connection_id":175945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:21:45] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:45] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:45] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:21:48] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:48] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:48] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:21:50] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:50] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:21:50] local.INFO: IMEI packet received {"connection_id":173217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":173217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:21:53] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fc7f90012d0994c006f395700015015a24..."} 
[2026-09-07 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fc7f90012d0994c006f395700015015a24..."} 
[2026-09-07 09:21:53] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fc7f90012d0994c006f395700015015a24..."} 
[2026-09-07 09:21:53] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:21:53] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":755602624,"raw_latitude":116626800,"longitude_deg":75.5602624,"latitude_deg":11.66268,"altitude":21,"angle":346,"satellites":36,"speed":38,"hex_longitude":"2d0994c0","hex_latitude":"06f39570","is_valid_coordinates":true} 
[2026-09-07 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401015873747288064,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":691724785120638976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788752986000,"timestamp_ms":1788752986000,"timestamp_seconds":1788752986,"priority":1,"record_length":96,"hex_timestamp":"000001a079fc7f90"} 
[2026-09-07 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:21:53] 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-07 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920762368001,"66":27876,"212":206,"80":6400,"24":38,"16":401015873747288064,"45":691724785120638976},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-07 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:21:53] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 09:21:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401015873747288064,"km_value":401015873747288.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":691724785120638976,"description":"Unknown IO ID 45"} 
[2026-09-07 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920762368001,"power":27876,"unknown_212":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":691724785120638976}} 
[2026-09-07 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:21:53] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:21:53] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:22:24] local.INFO: TCP Data received {"connection_id":173217,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fcd198012d098ec006f3b548001401592b..."} 
[2026-09-07 09:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fcd198012d098ec006f3b548001401592b..."} 
[2026-09-07 09:22:24] local.INFO: Processing buffer {"connection_id":173217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fcd198012d098ec006f3b548001401592b..."} 
[2026-09-07 09:22:24] local.INFO: Packet analysis {"connection_id":173217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:22:24] local.INFO: Extracted packet for processing {"connection_id":173217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fc"} 
[2026-09-07 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":755601088,"raw_latitude":116634952,"longitude_deg":75.5601088,"latitude_deg":11.6634952,"altitude":20,"angle":345,"satellites":43,"speed":12,"hex_longitude":"2d098ec0","hex_latitude":"06f3b548","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920764416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401016277474213888,"note":"Value kept but may cause issues"} 
[2026-09-07 09:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690387778983522304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788753007000,"timestamp_ms":1788753007000,"timestamp_seconds":1788753007,"priority":1,"record_length":96,"hex_timestamp":"000001a079fcd198"} 
[2026-09-07 09: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-07 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:22:24] 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-07 09: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-07 09: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-07 09:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:22:24] 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-07 09:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920764416001,"66":27691,"212":206,"80":6400,"24":12,"16":401016277474213888,"45":690387778983522304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-09-07 09:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920764416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:22:24] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 09:22:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401016277474213888,"km_value":401016277474213.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":690387778983522304,"description":"Unknown IO ID 45"} 
[2026-09-07 09:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920764416001,"power":27691,"unknown_212":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":690387778983522304}} 
[2026-09-07 09:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":173217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:22:24] local.INFO: GPS data processed {"connection_id":173217,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:22:24] local.INFO: Acknowledgment sent {"connection_id":173217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:22:49] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:49] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:49] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:22:50] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:50] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:50] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:22:59] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:59] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:22:59] local.INFO: IMEI packet received {"connection_id":174599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":174599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:23:01] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fe3128012d08f10006f4fa48000b013d2b..."} 
[2026-09-07 09:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fe3128012d08f10006f4fa48000b013d2b..."} 
[2026-09-07 09:23:01] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fe3128012d08f10006f4fa48000b013d2b..."} 
[2026-09-07 09:23:01] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:01] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":755560704,"raw_latitude":116718152,"longitude_deg":75.5560704,"latitude_deg":11.6718152,"altitude":11,"angle":317,"satellites":43,"speed":40,"hex_longitude":"2d08f100","hex_latitude":"06f4fa48","is_valid_coordinates":true} 
[2026-09-07 09:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920790272001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401020812959678464,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":650981282265640960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788753097000,"timestamp_ms":1788753097000,"timestamp_seconds":1788753097,"priority":1,"record_length":96,"hex_timestamp":"000001a079fe3128"} 
[2026-09-07 09:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23:01] 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-07 09:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920790272001,"66":27821,"12":206,"80":6400,"24":40,"16":401020812959678464,"45":650981282265640960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 09:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920790272001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:23:01] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 09:23:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401020812959678464,"km_value":401020812959678.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":650981282265640960,"description":"Unknown IO ID 45"} 
[2026-09-07 09:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920790272001,"power":27821,"unknown_12":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":650981282265640960}} 
[2026-09-07 09:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:23:01] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:23:01] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:23:02] local.INFO: TCP Data received {"connection_id":174599,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fe5c20012d08d84006f513b8000b013c2a..."} 
[2026-09-07 09:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fe5c20012d08d84006f513b8000b013c2a..."} 
[2026-09-07 09:23:02] local.INFO: Processing buffer {"connection_id":174599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fe5c20012d08d84006f513b8000b013c2a..."} 
[2026-09-07 09:23:02] local.INFO: Packet analysis {"connection_id":174599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:02] local.INFO: Extracted packet for processing {"connection_id":174599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:02] local.INFO: GPS Element Parsed {"raw_longitude":755554368,"raw_latitude":116724664,"longitude_deg":75.5554368,"latitude_deg":11.6724664,"altitude":11,"angle":316,"satellites":42,"speed":16,"hex_longitude":"2d08d840","hex_latitude":"06f513b8","is_valid_coordinates":true} 
[2026-09-07 09:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920792832001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401021246751375360,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":644296251570538496,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788753108000,"timestamp_ms":1788753108000,"timestamp_seconds":1788753108,"priority":1,"record_length":96,"hex_timestamp":"000001a079fe5c20"} 
[2026-09-07 09:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:23:02] 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-07 09:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23:02] 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-07 09:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920792832001,"66":27821,"12":206,"80":6400,"24":16,"16":401021246751375360,"45":644296251570538496},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 09:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920792832001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:23:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 09:23:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401021246751375360,"km_value":401021246751375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":644296251570538496,"description":"Unknown IO ID 45"} 
[2026-09-07 09:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920792832001,"power":27821,"unknown_12":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":644296251570538496}} 
[2026-09-07 09:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":174599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:23:02] local.INFO: GPS data processed {"connection_id":174599,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:23:02] local.INFO: Acknowledgment sent {"connection_id":174599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:23:44] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:44] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:44] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:23:45] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:45] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:45] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:23:47] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:47] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:23:47] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:23:48] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079fe8ee8012d08c1c006f52f20000c01422c..."} 
[2026-09-07 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079fe8ee8012d08c1c006f52f20000c01422c..."} 
[2026-09-07 09:23:48] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079fe8ee8012d08c1c006f52f20000c01422c..."} 
[2026-09-07 09:23:48] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:48] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":755548608,"raw_latitude":116731680,"longitude_deg":75.5548608,"latitude_deg":11.673168,"altitude":12,"angle":322,"satellites":44,"speed":37,"hex_longitude":"2d08c1c0","hex_latitude":"06f52f20","is_valid_coordinates":true} 
[2026-09-07 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-07 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920795648001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401021684838039552,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":637329745898616832,"note":"Value kept but may cause issues"} 
[2026-09-07 09:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788753121000,"timestamp_ms":1788753121000,"timestamp_seconds":1788753121,"priority":1,"record_length":96,"hex_timestamp":"000001a079fe8ee8"} 
[2026-09-07 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-07 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:23: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-07 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920795648001,"66":27908,"12":206,"80":6400,"24":37,"16":401021684838039552,"45":637329745898616832},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920795648001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:23:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 09:23:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401021684838039552,"km_value":401021684838039.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":637329745898616832,"description":"Unknown IO ID 45"} 
[2026-09-07 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920795648001,"power":27908,"unknown_12":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":637329745898616832}} 
[2026-09-07 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:23:48] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:23:48] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:24:07] local.INFO: TCP Data received {"connection_id":173221,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:24:07] local.INFO: Processing buffer {"connection_id":173221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:24:07] local.INFO: IMEI packet received {"connection_id":173221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":173221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:24:12] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:12] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:12] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:24:19] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a079feb210012d08ad0006f54cb0000d01472b..."} 
[2026-09-07 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a079feb210012d08ad0006f54cb0000d01472b..."} 
[2026-09-07 09:24:19] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a079feb210012d08ad0006f54cb0000d01472b..."} 
[2026-09-07 09:24:19] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:24:19] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a079fe"} 
[2026-09-07 09:24:19] local.INFO: GPS Element Parsed {"raw_longitude":755543296,"raw_latitude":116739248,"longitude_deg":75.5543296,"latitude_deg":11.6739248,"altitude":13,"angle":327,"satellites":43,"speed":40,"hex_longitude":"2d08ad00","hex_latitude":"06f54cb0","is_valid_coordinates":true} 
[2026-09-07 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-07 09:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920798976001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401022127219671040,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630996558924423168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788753130000,"timestamp_ms":1788753130000,"timestamp_seconds":1788753130,"priority":1,"record_length":96,"hex_timestamp":"000001a079feb210"} 
[2026-09-07 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-07 09:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 09:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920798976001,"66":27767,"12":206,"80":6400,"24":40,"16":401022127219671040,"45":630996558924423168},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 09:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920798976001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:24:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 09:24:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401022127219671040,"km_value":401022127219671.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":630996558924423168,"description":"Unknown IO ID 45"} 
[2026-09-07 09:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920798976001,"power":27767,"unknown_12":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":630996558924423168}} 
[2026-09-07 09:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:24:19] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:24:19] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:24:28] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:28] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:28] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:24:29] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:29] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:29] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:24:37] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:37] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:24:37] local.INFO: IMEI packet received {"connection_id":174600,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":174600,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:24:39] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0082e8012d0b5fc007050cb80018002722..."} 
[2026-09-07 09:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0082e8012d0b5fc007050cb80018002722..."} 
[2026-09-07 09:24:39] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0082e8012d0b5fc007050cb80018002722..."} 
[2026-09-07 09:24:39] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:24:39] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:24:39] local.INFO: GPS Element Parsed {"raw_longitude":755720128,"raw_latitude":117771448,"longitude_deg":75.5720128,"latitude_deg":11.7771448,"altitude":24,"angle":39,"satellites":34,"speed":18,"hex_longitude":"2d0b5fc0","hex_latitude":"07050cb8","is_valid_coordinates":true} 
[2026-09-07 09:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920831488001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30456880111288320,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819373687354112000,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788753249000,"timestamp_ms":1788753249000,"timestamp_seconds":1788753249,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0082e8"} 
[2026-09-07 09:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 09:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920831488001,"66":14439,"96":206,"94":10240,"24":18,"16":30456880111288320,"45":819373687354112000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 09:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920831488001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:24:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 09:24:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30456880111288320,"km_value":30456880111288.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":819373687354112000,"description":"Unknown IO ID 45"} 
[2026-09-07 09:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920831488001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":819373687354112000}} 
[2026-09-07 09:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:24:40] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:24:40] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:24:45] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:45] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:45] local.INFO: IMEI packet received {"connection_id":173223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:24:47] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:47] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:24:47] local.INFO: IMEI packet received {"connection_id":173223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":173223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:24:48] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a001588012d07c1c006f66cb8000c01402d..."} 
[2026-09-07 09:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a001588012d07c1c006f66cb8000c01402d..."} 
[2026-09-07 09:24:48] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a001588012d07c1c006f66cb8000c01402d..."} 
[2026-09-07 09:24:48] local.INFO: Packet analysis {"connection_id":173223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:24:48] local.INFO: Extracted packet for processing {"connection_id":173223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":755483072,"raw_latitude":116812984,"longitude_deg":75.5483072,"latitude_deg":11.6812984,"altitude":12,"angle":320,"satellites":45,"speed":36,"hex_longitude":"2d07c1c0","hex_latitude":"06f66cb8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920822016001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401026727129645056,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":565272151881469952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788753221000,"timestamp_ms":1788753221000,"timestamp_seconds":1788753221,"priority":1,"record_length":96,"hex_timestamp":"000001a07a001588"} 
[2026-09-07 09: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-07 09:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:24: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-07 09:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920822016001,"66":27908,"42":206,"80":6400,"24":36,"16":401026727129645056,"45":565272151881469952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920822016001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:24:48] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:24:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401026727129645056,"km_value":401026727129645.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":565272151881469952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920822016001,"power":27908,"unknown_42":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":565272151881469952}} 
[2026-09-07 09:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":173223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:24:48] local.INFO: GPS data processed {"connection_id":173223,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:24:48] local.INFO: Acknowledgment sent {"connection_id":173223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:25:11] local.INFO: TCP Data received {"connection_id":174600,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0159c0012d0bbd400704fec0001e001e22..."} 
[2026-09-07 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0159c0012d0bbd400704fec0001e001e22..."} 
[2026-09-07 09:25:11] local.INFO: Processing buffer {"connection_id":174600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0159c0012d0bbd400704fec0001e001e22..."} 
[2026-09-07 09:25:11] local.INFO: Packet analysis {"connection_id":174600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:11] local.INFO: Extracted packet for processing {"connection_id":174600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":755744064,"raw_latitude":117767872,"longitude_deg":75.5744064,"latitude_deg":11.7767872,"altitude":30,"angle":30,"satellites":34,"speed":15,"hex_longitude":"2d0bbd40","hex_latitude":"0704fec0","is_valid_coordinates":true} 
[2026-09-07 09:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920845568001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30458151421607936,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845691597675667456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788753304000,"timestamp_ms":1788753304000,"timestamp_seconds":1788753304,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0159c0"} 
[2026-09-07 09:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174600,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174600,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920845568001,"66":14450,"97":206,"94":10240,"24":15,"16":30458151421607936,"45":845691597675667456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-07 09:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920845568001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 09:25:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30458151421607936,"km_value":30458151421607.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":845691597675667456,"description":"Unknown IO ID 45"} 
[2026-09-07 09:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920845568001,"power":14450,"unknown_97":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":845691597675667456}} 
[2026-09-07 09:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":174600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:25:11] local.INFO: GPS data processed {"connection_id":174600,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:25:11] local.INFO: Acknowledgment sent {"connection_id":174600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:25:19] local.INFO: TCP Data received {"connection_id":173223,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0038b0012d07ab8006f687e0000c01402c..."} 
[2026-09-07 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0038b0012d07ab8006f687e0000c01402c..."} 
[2026-09-07 09:25:19] local.INFO: Processing buffer {"connection_id":173223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0038b0012d07ab8006f687e0000c01402c..."} 
[2026-09-07 09:25:19] local.INFO: Packet analysis {"connection_id":173223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:25:19] local.INFO: Extracted packet for processing {"connection_id":173223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755477376,"raw_latitude":116819936,"longitude_deg":75.5477376,"latitude_deg":11.6819936,"altitude":12,"angle":320,"satellites":44,"speed":41,"hex_longitude":"2d07ab80","hex_latitude":"06f687e0","is_valid_coordinates":true} 
[2026-09-07 09:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920824576001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401027156626374656,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":558938964907309056,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788753230000,"timestamp_ms":1788753230000,"timestamp_seconds":1788753230,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0038b0"} 
[2026-09-07 09:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09: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-07 09:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920824576001,"66":27908,"42":206,"80":6400,"24":41,"16":401027156626374656,"45":558938964907309056},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920824576001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401027156626374656,"km_value":401027156626374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":558938964907309056,"description":"Unknown IO ID 45"} 
[2026-09-07 09:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920824576001,"power":27908,"unknown_42":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":558938964907309056}} 
[2026-09-07 09:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":173223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:25:19] local.INFO: GPS data processed {"connection_id":173223,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:25:19] local.INFO: Acknowledgment sent {"connection_id":173223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:25:33] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:33] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:33] local.INFO: IMEI packet received {"connection_id":174601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":174601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:25:38] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:38] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:25:38] local.INFO: IMEI packet received {"connection_id":174601,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":174601,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:25:39] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a016190012d0bbec007050270001f001123..."} 
[2026-09-07 09:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a016190012d0bbec007050270001f001123..."} 
[2026-09-07 09:25:39] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a016190012d0bbec007050270001f001123..."} 
[2026-09-07 09:25:39] local.INFO: Packet analysis {"connection_id":174601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:39] local.INFO: Extracted packet for processing {"connection_id":174601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":755744448,"raw_latitude":117768816,"longitude_deg":75.5744448,"latitude_deg":11.7768816,"altitude":31,"angle":17,"satellites":35,"speed":22,"hex_longitude":"2d0bbec0","hex_latitude":"07050270","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920845824001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30458202961215488,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845902703908274176,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788753306000,"timestamp_ms":1788753306000,"timestamp_seconds":1788753306,"priority":1,"record_length":96,"hex_timestamp":"000001a07a016190"} 
[2026-09-07 09: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-07 09:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920845824001,"66":14211,"97":206,"94":10240,"24":22,"16":30458202961215488,"45":845902703908274176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,94,24,16,45]} 
[2026-09-07 09:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920845824001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-07 09:25:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30458202961215488,"km_value":30458202961215.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":845902703908274176,"description":"Unknown IO ID 45"} 
[2026-09-07 09:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920845824001,"power":14211,"unknown_97":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":845902703908274176}} 
[2026-09-07 09:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":174601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:25:39] local.INFO: GPS data processed {"connection_id":174601,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:25:39] local.INFO: Acknowledgment sent {"connection_id":174601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:25:50] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:50] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:50] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:25:53] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:25:53] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:25:53] local.INFO: IMEI packet received {"connection_id":173224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":173224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:25:54] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a017ce8012d7d31c005ec2e080004014a29..."} 
[2026-09-07 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a017ce8012d7d31c005ec2e080004014a29..."} 
[2026-09-07 09:25:54] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a017ce8012d7d31c005ec2e080004014a29..."} 
[2026-09-07 09:25:54] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:54] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99364360,"longitude_deg":76.3179456,"latitude_deg":9.936436,"altitude":4,"angle":330,"satellites":41,"speed":3,"hex_longitude":"2d7d31c0","hex_latitude":"05ec2e08","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920847872001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129357616022290432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273029013776384,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788753313000,"timestamp_ms":1788753313000,"timestamp_seconds":1788753313,"priority":1,"record_length":96,"hex_timestamp":"000001a07a017ce8"} 
[2026-09-07 09: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-07 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920847872001,"66":13678,"110":206,"87":13824,"24":3,"16":129357616022290432,"45":9021273029013776384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920847872001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:25:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:25:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129357616022290432,"km_value":129357616022290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273029013776384,"description":"Unknown IO ID 45"} 
[2026-09-07 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920847872001,"power":13678,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9021273029013776384}} 
[2026-09-07 09:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:25:54] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:25:54] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:25:55] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:55] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:25:55] local.INFO: IMEI packet received {"connection_id":174602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":174602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:25:56] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a005bd8012d0793c006f6a4e0000e01412b..."} 
[2026-09-07 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a005bd8012d0793c006f6a4e0000e01412b..."} 
[2026-09-07 09:25:56] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a005bd8012d0793c006f6a4e0000e01412b..."} 
[2026-09-07 09:25:56] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:25:56] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":755471296,"raw_latitude":116827360,"longitude_deg":75.5471296,"latitude_deg":11.682736,"altitude":14,"angle":321,"satellites":43,"speed":42,"hex_longitude":"2d0793c0","hex_latitude":"06f6a4e0","is_valid_coordinates":true} 
[2026-09-07 09:25: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-07 09:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920826880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401027620482842624,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":552676146677276672,"note":"Value kept but may cause issues"} 
[2026-09-07 09:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788753239000,"timestamp_ms":1788753239000,"timestamp_seconds":1788753239,"priority":1,"record_length":96,"hex_timestamp":"000001a07a005bd8"} 
[2026-09-07 09:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09:25: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-07 09:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:25:56] 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-07 09:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920826880001,"66":27006,"42":206,"80":6400,"24":42,"16":401027620482842624,"45":552676146677276672},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920826880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:25:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:25:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401027620482842624,"km_value":401027620482842.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":552676146677276672,"description":"Unknown IO ID 45"} 
[2026-09-07 09:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920826880001,"power":27006,"unknown_42":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":552676146677276672}} 
[2026-09-07 09:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:25:56] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:25:56] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:26:26] local.INFO: TCP Data received {"connection_id":173224,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a01f600012d7d35c005ec51f80000000320..."} 
[2026-09-07 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a01f600012d7d35c005ec51f80000000320..."} 
[2026-09-07 09:26:26] local.INFO: Processing buffer {"connection_id":173224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a01f600012d7d35c005ec51f80000000320..."} 
[2026-09-07 09:26:26] local.INFO: Packet analysis {"connection_id":173224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:26:26] local.INFO: Extracted packet for processing {"connection_id":173224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":99373560,"longitude_deg":76.318048,"latitude_deg":9.937356,"altitude":0,"angle":3,"satellites":32,"speed":13,"hex_longitude":"2d7d35c0","hex_latitude":"05ec51f8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920853248001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358105648562176,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273029015175168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788753344000,"timestamp_ms":1788753344000,"timestamp_seconds":1788753344,"priority":1,"record_length":96,"hex_timestamp":"000001a07a01f600"} 
[2026-09-07 09: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-07 09:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 09:26:26] 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-07 09: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-07 09: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-07 09:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920853248001,"66":13602,"110":206,"87":13824,"24":13,"16":129358105648562176,"45":9021273029015175168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920853248001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:26:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:26:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358105648562176,"km_value":129358105648562.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273029015175168,"description":"Unknown IO ID 45"} 
[2026-09-07 09:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920853248001,"power":13602,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9021273029015175168}} 
[2026-09-07 09:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":173224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:26:26] local.INFO: GPS data processed {"connection_id":173224,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:26:26] local.INFO: Acknowledgment sent {"connection_id":173224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:26:27] local.INFO: TCP Data received {"connection_id":174602,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0082e8012d077c0006f6bfe00010014125..."} 
[2026-09-07 09:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0082e8012d077c0006f6bfe00010014125..."} 
[2026-09-07 09:26:27] local.INFO: Processing buffer {"connection_id":174602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0082e8012d077c0006f6bfe00010014125..."} 
[2026-09-07 09:26:27] local.INFO: Packet analysis {"connection_id":174602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:26:27] local.INFO: Extracted packet for processing {"connection_id":174602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":755465216,"raw_latitude":116834272,"longitude_deg":75.5465216,"latitude_deg":11.6834272,"altitude":16,"angle":321,"satellites":37,"speed":26,"hex_longitude":"2d077c00","hex_latitude":"06f6bfe0","is_valid_coordinates":true} 
[2026-09-07 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920829184001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401028062864474112,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":545991115982299136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788753249000,"timestamp_ms":1788753249000,"timestamp_seconds":1788753249,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0082e8"} 
[2026-09-07 09:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-09-07 09:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:26:27] 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-07 09:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920829184001,"66":27876,"42":206,"80":6400,"24":26,"16":401028062864474112,"45":545991115982299136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920829184001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:26:27] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:26:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401028062864474112,"km_value":401028062864474.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":545991115982299136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920829184001,"power":27876,"unknown_42":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":545991115982299136}} 
[2026-09-07 09:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":174602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:26:27] local.INFO: GPS data processed {"connection_id":174602,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:26:27] local.INFO: Acknowledgment sent {"connection_id":174602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:26:45] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:45] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:45] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:26:48] local.INFO: TCP Data received {"connection_id":175948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:48] local.INFO: Processing buffer {"connection_id":175948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:48] local.INFO: IMEI packet received {"connection_id":175948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":175948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:26:50] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:50] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:26:50] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:26:53] local.INFO: TCP Data received {"connection_id":175948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:53] local.INFO: Processing buffer {"connection_id":175948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:26:53] local.INFO: IMEI packet received {"connection_id":175948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":175948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:26:53] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a00d4f0012d07664006f6d978000e014924..."} 
[2026-09-07 09:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a00d4f0012d07664006f6d978000e014924..."} 
[2026-09-07 09:26:53] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a00d4f0012d07664006f6d978000e014924..."} 
[2026-09-07 09:26:53] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:26:53] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a00"} 
[2026-09-07 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":755459648,"raw_latitude":116840824,"longitude_deg":75.5459648,"latitude_deg":11.6840824,"altitude":14,"angle":329,"satellites":36,"speed":4,"hex_longitude":"2d076640","hex_latitude":"06f6d978","is_valid_coordinates":true} 
[2026-09-07 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920831744001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401028475181334528,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":539306085287190528,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788753270000,"timestamp_ms":1788753270000,"timestamp_seconds":1788753270,"priority":1,"record_length":96,"hex_timestamp":"000001a07a00d4f0"} 
[2026-09-07 09:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:26:53] 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-07 09:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:26:53] 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-07 09:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920831744001,"66":27821,"42":206,"80":6400,"24":4,"16":401028475181334528,"45":539306085287190528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920831744001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:26:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:26:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401028475181334528,"km_value":401028475181334.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":539306085287190528,"description":"Unknown IO ID 45"} 
[2026-09-07 09:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920831744001,"power":27821,"unknown_42":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":539306085287190528}} 
[2026-09-07 09:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:26:54] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:26:54] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:26:54] local.INFO: TCP Data received {"connection_id":175948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a021928012d7d360005ec5b080000015e1f..."} 
[2026-09-07 09:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a021928012d7d360005ec5b080000015e1f..."} 
[2026-09-07 09:26:54] local.INFO: Processing buffer {"connection_id":175948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a021928012d7d360005ec5b080000015e1f..."} 
[2026-09-07 09:26:54] local.INFO: Packet analysis {"connection_id":175948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:26:54] local.INFO: Extracted packet for processing {"connection_id":175948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99375880,"longitude_deg":76.3180544,"latitude_deg":9.937588,"altitude":0,"angle":350,"satellites":31,"speed":7,"hex_longitude":"2d7d3600","hex_latitude":"05ec5b08","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920856064001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358221612679168,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560178821120,"note":"Value kept but may cause issues"} 
[2026-09-07 09:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788753353000,"timestamp_ms":1788753353000,"timestamp_seconds":1788753353,"priority":1,"record_length":96,"hex_timestamp":"000001a07a021928"} 
[2026-09-07 09: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-07 09:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 09:26:54] 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-07 09: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-07 09: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-07 09:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920856064001,"66":13537,"110":206,"87":13824,"24":7,"16":129358221612679168,"45":9022328560178821120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920856064001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:26:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:26:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358221612679168,"km_value":129358221612679.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560178821120,"description":"Unknown IO ID 45"} 
[2026-09-07 09:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920856064001,"power":13537,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9022328560178821120}} 
[2026-09-07 09:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":175948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:26:54] local.INFO: GPS data processed {"connection_id":175948,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:26:54] local.INFO: Acknowledgment sent {"connection_id":175948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:27:09] local.INFO: TCP Data received {"connection_id":174601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a020d70012d0bd1c0070577d8001a000b22..."} 
[2026-09-07 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a020d70012d0bd1c0070577d8001a000b22..."} 
[2026-09-07 09:27:09] local.INFO: Processing buffer {"connection_id":174601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a020d70012d0bd1c0070577d8001a000b22..."} 
[2026-09-07 09:27:09] local.INFO: Packet analysis {"connection_id":174601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:27:09] local.INFO: Extracted packet for processing {"connection_id":174601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:27:09] local.INFO: GPS Element Parsed {"raw_longitude":755749312,"raw_latitude":117798872,"longitude_deg":75.5749312,"latitude_deg":11.7798872,"altitude":26,"angle":11,"satellites":34,"speed":41,"hex_longitude":"2d0bd1c0","hex_latitude":"070577d8","is_valid_coordinates":true} 
[2026-09-07 09:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920855296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30459736264540160,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850547041029609472,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788753350000,"timestamp_ms":1788753350000,"timestamp_seconds":1788753350,"priority":1,"record_length":96,"hex_timestamp":"000001a07a020d70"} 
[2026-09-07 09:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174601,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920855296001,"66":14428,"164":206,"94":10240,"24":41,"16":30459736264540160,"45":850547041029609472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 09:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920855296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:27:09] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 09:27:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30459736264540160,"km_value":30459736264540.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":850547041029609472,"description":"Unknown IO ID 45"} 
[2026-09-07 09:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920855296001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":850547041029609472}} 
[2026-09-07 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":174601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777867,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:27:10] local.INFO: GPS data processed {"connection_id":174601,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:27:10] local.INFO: Acknowledgment sent {"connection_id":174601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:27:25] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0126f8012d075b8006f6e8d80010014626..."} 
[2026-09-07 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0126f8012d075b8006f6e8d80010014626..."} 
[2026-09-07 09:27:25] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0126f8012d075b8006f6e8d80010014626..."} 
[2026-09-07 09:27:25] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:27:25] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a01"} 
[2026-09-07 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":755456896,"raw_latitude":116844760,"longitude_deg":75.5456896,"latitude_deg":11.684476,"altitude":16,"angle":326,"satellites":38,"speed":19,"hex_longitude":"2d075b80","hex_latitude":"06f6e8d8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920837120001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401028707109568512,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533184004545411072,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788753291000,"timestamp_ms":1788753291000,"timestamp_seconds":1788753291,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0126f8"} 
[2026-09-07 09: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-07 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920837120001,"66":28050,"42":206,"80":6400,"24":19,"16":401028707109568512,"45":533184004545411072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 09:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920837120001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:27:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 09:27:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401028707109568512,"km_value":401028707109568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":533184004545411072,"description":"Unknown IO ID 45"} 
[2026-09-07 09:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920837120001,"power":28050,"unknown_42":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":533184004545411072}} 
[2026-09-07 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:27:25] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:27:25] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:27:26] local.INFO: TCP Data received {"connection_id":175948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a026748012d7d34c005ec5c60000001601c..."} 
[2026-09-07 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a026748012d7d34c005ec5c60000001601c..."} 
[2026-09-07 09:27:26] local.INFO: Processing buffer {"connection_id":175948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a026748012d7d34c005ec5c60000001601c..."} 
[2026-09-07 09:27:26] local.INFO: Packet analysis {"connection_id":175948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:27:26] local.INFO: Extracted packet for processing {"connection_id":175948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763180224,"raw_latitude":99376224,"longitude_deg":76.3180224,"latitude_deg":9.9376224,"altitude":0,"angle":352,"satellites":28,"speed":0,"hex_longitude":"2d7d34c0","hex_latitude":"05ec5c60","is_valid_coordinates":true} 
[2026-09-07 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-07 09:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920858368001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358247382482944,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928923592704,"note":"Value kept but may cause issues"} 
[2026-09-07 09:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788753373000,"timestamp_ms":1788753373000,"timestamp_seconds":1788753373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a026748"} 
[2026-09-07 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-07 09:27: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-07 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-09-07 09:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920858368001,"66":13722,"110":206,"87":13824,"24":0,"16":129358247382482944,"45":9022398928923592704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920858368001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:27:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:27:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358247382482944,"km_value":129358247382482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928923592704,"description":"Unknown IO ID 45"} 
[2026-09-07 09:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920858368001,"power":13722,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022398928923592704}} 
[2026-09-07 09:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":175948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:27:26] local.INFO: GPS data processed {"connection_id":175948,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:27:26] local.INFO: Acknowledgment sent {"connection_id":175948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:27:46] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:46] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:46] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:27:49] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:49] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:49] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:27:51] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:51] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:51] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:27:53] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:53] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:53] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:27:54] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:54] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:27:54] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:27:54] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:54] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:27:54] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:28:14] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:14] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:14] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:28:25] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:25] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:25] local.INFO: IMEI packet received {"connection_id":173459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":173459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:28:27] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a02fbb8012d06538006f81e90000b013d29..."} 
[2026-09-07 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a02fbb8012d06538006f81e90000b013d29..."} 
[2026-09-07 09:28:27] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a02fbb8012d06538006f81e90000b013d29..."} 
[2026-09-07 09:28:27] local.INFO: Packet analysis {"connection_id":173459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:28:27] local.INFO: Extracted packet for processing {"connection_id":173459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a02"} 
[2026-09-07 09:28:27] local.INFO: GPS Element Parsed {"raw_longitude":755389312,"raw_latitude":116924048,"longitude_deg":75.5389312,"latitude_deg":11.6924048,"altitude":11,"angle":317,"satellites":41,"speed":47,"hex_longitude":"2d065380","hex_latitude":"06f81e90","is_valid_coordinates":true} 
[2026-09-07 09:28: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-07 09:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920871168001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401033723631370240,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":462674522898946048,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788753411000,"timestamp_ms":1788753411000,"timestamp_seconds":1788753411,"priority":1,"record_length":96,"hex_timestamp":"000001a07a02fbb8"} 
[2026-09-07 09:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 09:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:28: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-07 09:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:27] 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-07 09:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920871168001,"66":27919,"15":206,"80":6400,"24":47,"16":401033723631370240,"45":462674522898946048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-09-07 09:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920871168001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:28:27] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 09:28:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401033723631370240,"km_value":401033723631370.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":462674522898946048,"description":"Unknown IO ID 45"} 
[2026-09-07 09:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920871168001,"power":27919,"unknown_15":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":462674522898946048}} 
[2026-09-07 09:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":173459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:28:27] local.INFO: GPS data processed {"connection_id":173459,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:28:27] local.INFO: Acknowledgment sent {"connection_id":173459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:28:28] local.INFO: TCP Data received {"connection_id":173459,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a031af8012d063a8006f839e0000c013e29..."} 
[2026-09-07 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a031af8012d063a8006f839e0000c013e29..."} 
[2026-09-07 09:28:28] local.INFO: Processing buffer {"connection_id":173459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a031af8012d063a8006f839e0000c013e29..."} 
[2026-09-07 09:28:28] local.INFO: Packet analysis {"connection_id":173459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:28:28] local.INFO: Extracted packet for processing {"connection_id":173459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":755382912,"raw_latitude":116931040,"longitude_deg":75.5382912,"latitude_deg":11.693104,"altitude":12,"angle":318,"satellites":41,"speed":45,"hex_longitude":"2d063a80","hex_latitude":"06f839e0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920873216001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401034178897903616,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":455848754715463680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788753419000,"timestamp_ms":1788753419000,"timestamp_seconds":1788753419,"priority":1,"record_length":96,"hex_timestamp":"000001a07a031af8"} 
[2026-09-07 09: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-07 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 09:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:28] 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-07 09:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920873216001,"66":27821,"15":206,"80":6400,"24":45,"16":401034178897903616,"45":455848754715463680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-09-07 09:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920873216001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:28:28] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 09:28:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401034178897903616,"km_value":401034178897903.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":455848754715463680,"description":"Unknown IO ID 45"} 
[2026-09-07 09:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920873216001,"power":27821,"unknown_15":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":455848754715463680}} 
[2026-09-07 09:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":173459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:28:28] local.INFO: GPS data processed {"connection_id":173459,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:28:28] local.INFO: Acknowledgment sent {"connection_id":173459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:28:45] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:45] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:45] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:28:48] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:48] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:28:48] local.INFO: IMEI packet received {"connection_id":174603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":174603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:28:52] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a033e20012d06208006f85560000d01392b..."} 
[2026-09-07 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a033e20012d06208006f85560000d01392b..."} 
[2026-09-07 09:28:52] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a033e20012d06208006f85560000d01392b..."} 
[2026-09-07 09:28:52] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:28:52] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":755376256,"raw_latitude":116938080,"longitude_deg":75.5376256,"latitude_deg":11.693808,"altitude":13,"angle":313,"satellites":43,"speed":37,"hex_longitude":"2d062080","hex_latitude":"06f85560","is_valid_coordinates":true} 
[2026-09-07 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-07 09:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920875264001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401034642754371584,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":448811880299487232,"note":"Value kept but may cause issues"} 
[2026-09-07 09:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788753428000,"timestamp_ms":1788753428000,"timestamp_seconds":1788753428,"priority":1,"record_length":96,"hex_timestamp":"000001a07a033e20"} 
[2026-09-07 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-07 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:28:52] 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-07 09:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920875264001,"66":27843,"15":206,"80":6400,"24":37,"16":401034642754371584,"45":448811880299487232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-09-07 09:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920875264001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:28:52] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 09:28:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401034642754371584,"km_value":401034642754371.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":448811880299487232,"description":"Unknown IO ID 45"} 
[2026-09-07 09:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920875264001,"power":27843,"unknown_15":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":448811880299487232}} 
[2026-09-07 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:28:52] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:28:52] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:29:24] local.INFO: TCP Data received {"connection_id":174603,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a038858012d06058006f86c380010013c2d..."} 
[2026-09-07 09:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a038858012d06058006f86c380010013c2d..."} 
[2026-09-07 09:29:24] local.INFO: Processing buffer {"connection_id":174603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a038858012d06058006f86c380010013c2d..."} 
[2026-09-07 09:29:24] local.INFO: Packet analysis {"connection_id":174603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:29:24] local.INFO: Extracted packet for processing {"connection_id":174603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:29:24] local.INFO: GPS Element Parsed {"raw_longitude":755369344,"raw_latitude":116943928,"longitude_deg":75.5369344,"latitude_deg":11.6943928,"altitude":16,"angle":316,"satellites":45,"speed":25,"hex_longitude":"2d060580","hex_latitude":"06f86c38","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920877568001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401035076546068480,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":441493530906812416,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788753447000,"timestamp_ms":1788753447000,"timestamp_seconds":1788753447,"priority":1,"record_length":96,"hex_timestamp":"000001a07a038858"} 
[2026-09-07 09: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-07 09:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:29:24] 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-07 09:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920877568001,"66":27908,"15":206,"80":6400,"24":25,"16":401035076546068480,"45":441493530906812416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,80,24,16,45]} 
[2026-09-07 09:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920877568001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:29:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 09:29:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 09:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401035076546068480,"km_value":401035076546068.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":441493530906812416,"description":"Unknown IO ID 45"} 
[2026-09-07 09:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920877568001,"power":27908,"unknown_15":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":441493530906812416}} 
[2026-09-07 09:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":174603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:29:24] local.INFO: GPS data processed {"connection_id":174603,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:29:24] local.INFO: Acknowledgment sent {"connection_id":174603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:29:45] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:45] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:45] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:29:47] local.INFO: TCP Data received {"connection_id":175952,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:29:47] local.INFO: Processing buffer {"connection_id":175952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:29:47] local.INFO: IMEI packet received {"connection_id":175952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":175952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:29:50] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:50] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:29:50] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:29:52] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a03b738012d05ea0006f886e8000f013b27..."} 
[2026-09-07 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a03b738012d05ea0006f886e8000f013b27..."} 
[2026-09-07 09:29:52] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a03b738012d05ea0006f886e8000f013b27..."} 
[2026-09-07 09:29:52] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:29:52] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:29:52] local.INFO: GPS Element Parsed {"raw_longitude":755362304,"raw_latitude":116950760,"longitude_deg":75.5362304,"latitude_deg":11.695076,"altitude":15,"angle":315,"satellites":39,"speed":41,"hex_longitude":"2d05ea00","hex_latitude":"06f886e8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920882432001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401035548992471040,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":433893706537121792,"note":"Value kept but may cause issues"} 
[2026-09-07 09:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788753459000,"timestamp_ms":1788753459000,"timestamp_seconds":1788753459,"priority":1,"record_length":96,"hex_timestamp":"000001a07a03b738"} 
[2026-09-07 09: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-07 09:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:29:52] 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-07 09:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920882432001,"66":27876,"138":206,"94":11008,"24":41,"16":401035548992471040,"45":433893706537121792},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-07 09:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920882432001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:29:52] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 09:29:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401035548992471040,"km_value":401035548992471.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":433893706537121792,"description":"Unknown IO ID 45"} 
[2026-09-07 09:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920882432001,"power":27876,"unknown_138":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":433893706537121792}} 
[2026-09-07 09:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:29:52] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:29:52] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:30:23] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0597b0012d05a60006f9c248001201572d..."} 
[2026-09-07 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0597b0012d05a60006f9c248001201572d..."} 
[2026-09-07 09:30:23] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0597b0012d05a60006f9c248001201572d..."} 
[2026-09-07 09:30:23] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:23] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":755344896,"raw_latitude":117031496,"longitude_deg":75.5344896,"latitude_deg":11.7031496,"altitude":18,"angle":343,"satellites":45,"speed":24,"hex_longitude":"2d05a600","hex_latitude":"06f9c248","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920915712001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401039654981206016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":407223952515270656,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788753582000,"timestamp_ms":1788753582000,"timestamp_seconds":1788753582,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0597b0"} 
[2026-09-07 09: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-07 09:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:30: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-07 09: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-07 09: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-07 09:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:30:23] 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-07 09:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920915712001,"66":27626,"5":206,"94":11008,"24":24,"16":401039654981206016,"45":407223952515270656},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-09-07 09:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920915712001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:30:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 09:30:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401039654981206016,"km_value":401039654981206.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":407223952515270656,"description":"Unknown IO ID 45"} 
[2026-09-07 09:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920915712001,"power":27626,"unknown_5":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":407223952515270656}} 
[2026-09-07 09:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:30:23] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:30:23] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:30:45] local.INFO: TCP Data received {"connection_id":175953,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:45] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:45] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:30:48] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:48] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:48] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:30:49] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:49] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:49] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:30:50] local.INFO: TCP Data received {"connection_id":175953,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:50] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:30:50] local.INFO: IMEI packet received {"connection_id":175953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":175953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:30:52] local.INFO: TCP Data received {"connection_id":175953,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a059b98012d05a54006f9c490001201482c..."} 
[2026-09-07 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a059b98012d05a54006f9c490001201482c..."} 
[2026-09-07 09:30:52] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a059b98012d05a54006f9c490001201482c..."} 
[2026-09-07 09:30:52] local.INFO: Packet analysis {"connection_id":175953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:52] local.INFO: Extracted packet for processing {"connection_id":175953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":755344704,"raw_latitude":117032080,"longitude_deg":75.5344704,"latitude_deg":11.703208,"altitude":18,"angle":328,"satellites":44,"speed":25,"hex_longitude":"2d05a540","hex_latitude":"06f9c490","is_valid_coordinates":true} 
[2026-09-07 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-07 09:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920916992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401039685045977088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":407012846283671552,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788753583000,"timestamp_ms":1788753583000,"timestamp_seconds":1788753583,"priority":1,"record_length":96,"hex_timestamp":"000001a07a059b98"} 
[2026-09-07 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-07 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 09:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 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-07 09:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:30:52] 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-07 09:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920916992001,"66":27626,"5":206,"94":11008,"24":25,"16":401039685045977088,"45":407012846283671552},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-09-07 09:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920916992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:30:52] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 09:30:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401039685045977088,"km_value":401039685045977.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":407012846283671552,"description":"Unknown IO ID 45"} 
[2026-09-07 09:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920916992001,"power":27626,"unknown_5":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":407012846283671552}} 
[2026-09-07 09:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":175953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:30:52] local.INFO: GPS data processed {"connection_id":175953,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:30:52] local.INFO: Acknowledgment sent {"connection_id":175953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:30:53] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:53] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:30:53] local.INFO: IMEI packet received {"connection_id":175954,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":175954,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:30:53] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":1360,"data_hex":"000000000000030f8e0a000001a07a057c58012d0c550007063c780015008223..."} 
[2026-09-07 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a07a057c58012d0c550007063c780015008223..."} 
[2026-09-07 09:30:53] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a07a057c58012d0c550007063c780015008223..."} 
[2026-09-07 09:30:53] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:53] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117849208,"longitude_deg":75.5782912,"latitude_deg":11.7849208,"altitude":21,"angle":130,"satellites":35,"speed":25,"hex_longitude":"2d0c5500","hex_latitude":"07063c78","is_valid_coordinates":true} 
[2026-09-07 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920914176001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30463795008634880,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886294363087405056,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788753575000,"timestamp_ms":1788753575000,"timestamp_seconds":1788753575,"priority":1,"record_length":96,"hex_timestamp":"000001a07a057c58"} 
[2026-09-07 09:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:30: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-07 09:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920914176001,"66":14450,"164":206,"94":10240,"24":25,"16":30463795008634880,"45":886294363087405056},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920914176001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30463795008634880,"km_value":30463795008634.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":886294363087405056,"description":"Unknown IO ID 45"} 
[2026-09-07 09:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920914176001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":886294363087405056}} 
[2026-09-07 09:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:30:54] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:30:54] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:30:54] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":175954,"needed":795,"available":565} 
[2026-09-07 09:30:54] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":230,"data_hex":"2d0c3c4007064510001700212000060000000a000400ef0100714d00f0010045..."} 
[2026-09-07 09:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":230,"packet_hex":"2d0c3c4007064510001700212000060000000a000400ef0100714d00f0010045..."} 
[2026-09-07 09:30:54] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a058fe0012d0c5e40070632d00015009021..."} 
[2026-09-07 09:30:54] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:54] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":117846736,"longitude_deg":75.578528,"latitude_deg":11.7846736,"altitude":21,"angle":144,"satellites":33,"speed":25,"hex_longitude":"2d0c5e40","hex_latitude":"070632d0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920915200001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30463958217392128,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531644938240,"note":"Value kept but may cause issues"} 
[2026-09-07 09:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788753580000,"timestamp_ms":1788753580000,"timestamp_seconds":1788753580,"priority":1,"record_length":96,"hex_timestamp":"000001a07a058fe0"} 
[2026-09-07 09: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-07 09:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:30:54] 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-07 09: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-07 09: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-07 09:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920915200001,"66":14450,"164":206,"94":10240,"24":25,"16":30463958217392128,"45":888616531644938240},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 09:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920915200001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30463958217392128,"km_value":30463958217392.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531644938240,"description":"Unknown IO ID 45"} 
[2026-09-07 09:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920915200001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":888616531644938240}} 
[2026-09-07 09:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:30:54] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:30:54] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:31:00] local.INFO: TCP Data received {"connection_id":175954,"ip":"117.224.222.211","data_length":795,"data_hex":"000000000000030f8e0a000001a07a05ce60012d0c74c0070617e00014008622..."} 
[2026-09-07 09:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a05ce60012d0c74c0070617e00014008622..."} 
[2026-09-07 09:31:00] local.INFO: Processing buffer {"connection_id":175954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a05ce60012d0c74c0070617e00014008622..."} 
[2026-09-07 09:31:00] local.INFO: Packet analysis {"connection_id":175954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:31:00] local.INFO: Extracted packet for processing {"connection_id":175954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a05"} 
[2026-09-07 09:31:00] local.INFO: GPS Element Parsed {"raw_longitude":755791040,"raw_latitude":117839840,"longitude_deg":75.579104,"latitude_deg":11.783984,"altitude":20,"angle":134,"satellites":34,"speed":10,"hex_longitude":"2d0c74c0","hex_latitude":"070617e0","is_valid_coordinates":true} 
[2026-09-07 09:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920916480001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30464392009089024,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220175178878976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788753596000,"timestamp_ms":1788753596000,"timestamp_seconds":1788753596,"priority":1,"record_length":96,"hex_timestamp":"000001a07a05ce60"} 
[2026-09-07 09:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:31:00] 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-07 09:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:31:00] 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-07 09:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175954,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920916480001,"66":14309,"164":206,"94":10240,"24":10,"16":30464392009089024,"45":891220175178878976},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 09:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920916480001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:31:00] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 09:31:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30464392009089024,"km_value":30464392009089.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220175178878976,"description":"Unknown IO ID 45"} 
[2026-09-07 09:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920916480001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":891220175178878976}} 
[2026-09-07 09:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":175954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:31:00] local.INFO: GPS data processed {"connection_id":175954,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:31:00] local.INFO: Acknowledgment sent {"connection_id":175954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:31:24] local.INFO: TCP Data received {"connection_id":175953,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a066aa0012d05a14006fa21200007001128..."} 
[2026-09-07 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a066aa0012d05a14006fa21200007001128..."} 
[2026-09-07 09:31:24] local.INFO: Processing buffer {"connection_id":175953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a066aa0012d05a14006fa21200007001128..."} 
[2026-09-07 09:31:24] local.INFO: Packet analysis {"connection_id":175953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:24] local.INFO: Extracted packet for processing {"connection_id":175953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755343680,"raw_latitude":117055776,"longitude_deg":75.534368,"latitude_deg":11.7055776,"altitude":7,"angle":17,"satellites":40,"speed":18,"hex_longitude":"2d05a140","hex_latitude":"06fa2120","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920929536001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401041531881914368,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":403705515312893952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788753636000,"timestamp_ms":1788753636000,"timestamp_seconds":1788753636,"priority":1,"record_length":96,"hex_timestamp":"000001a07a066aa0"} 
[2026-09-07 09: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-07 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:31:24] 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-07 09:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920929536001,"66":27876,"138":206,"94":11008,"24":18,"16":401041531881914368,"45":403705515312893952},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-07 09:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920929536001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:31:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 09:31:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401041531881914368,"km_value":401041531881914.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":403705515312893952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920929536001,"power":27876,"unknown_138":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":403705515312893952}} 
[2026-09-07 09:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":175953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:31:25] local.INFO: GPS data processed {"connection_id":175953,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:31:25] local.INFO: Acknowledgment sent {"connection_id":175953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:31:28] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:28] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:28] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:31:34] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:34] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:31:34] local.INFO: IMEI packet received {"connection_id":174605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":174605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:31:35] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.224.222.211","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0608f8012d0c8500070608600015007922..."} 
[2026-09-07 09:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0608f8012d0c8500070608600015007922..."} 
[2026-09-07 09:31:35] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0608f8012d0c8500070608600015007922..."} 
[2026-09-07 09:31:35] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:35] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":755795200,"raw_latitude":117835872,"longitude_deg":75.57952,"latitude_deg":11.7835872,"altitude":21,"angle":121,"satellites":34,"speed":12,"hex_longitude":"2d0c8500","hex_latitude":"07060860","is_valid_coordinates":true} 
[2026-09-07 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920920576001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30464666886995968,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897553362153103360,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788753611000,"timestamp_ms":1788753611000,"timestamp_seconds":1788753611,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0608f8"} 
[2026-09-07 09:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 09:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920920576001,"66":14537,"164":206,"94":10240,"24":12,"16":30464666886995968,"45":897553362153103360},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 09:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920920576001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:31:35] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 09:31:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30464666886995968,"km_value":30464666886995.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":897553362153103360,"description":"Unknown IO ID 45"} 
[2026-09-07 09:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920920576001,"power":14537,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":897553362153103360}} 
[2026-09-07 09:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777881,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:31:35] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:31:35] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:31:38] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.224.222.211","data_length":795,"data_hex":"000000000000030f8e0a000001a07a062450012d0c8c80070603080016008522..."} 
[2026-09-07 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a062450012d0c8c80070603080016008522..."} 
[2026-09-07 09:31:38] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a062450012d0c8c80070603080016008522..."} 
[2026-09-07 09:31:38] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:38] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117834504,"longitude_deg":75.579712,"latitude_deg":11.7834504,"altitude":22,"angle":133,"satellites":34,"speed":16,"hex_longitude":"2d0c8c80","hex_latitude":"07060308","is_valid_coordinates":true} 
[2026-09-07 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30464778556145664,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":902127330523635712,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788753618000,"timestamp_ms":1788753618000,"timestamp_seconds":1788753618,"priority":1,"record_length":96,"hex_timestamp":"000001a07a062450"} 
[2026-09-07 09:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 09:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920924416001,"66":14439,"220":206,"28":32256,"24":16,"16":30464778556145664,"45":902127330523635712},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-07 09:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:31:38] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 09:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-07 09:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30464778556145664,"km_value":30464778556145.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":902127330523635712,"description":"Unknown IO ID 45"} 
[2026-09-07 09:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920924416001,"power":14439,"unknown_220":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":902127330523635712}} 
[2026-09-07 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:31:38] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:31:38] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:31:45] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:45] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:45] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:31:46] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:46] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:46] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:31:50] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:50] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:31:50] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:31:51] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a066e88012d05a1c006fa22a80007000228..."} 
[2026-09-07 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a066e88012d05a1c006fa22a80007000228..."} 
[2026-09-07 09:31:51] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a066e88012d05a1c006fa22a80007000228..."} 
[2026-09-07 09:31:51] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:51] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755343808,"raw_latitude":117056168,"longitude_deg":75.5343808,"latitude_deg":11.7056168,"altitude":7,"angle":2,"satellites":40,"speed":14,"hex_longitude":"2d05a1c0","hex_latitude":"06fa22a8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920930816001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401041553356750848,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405675840150511616,"note":"Value kept but may cause issues"} 
[2026-09-07 09:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788753637000,"timestamp_ms":1788753637000,"timestamp_seconds":1788753637,"priority":1,"record_length":96,"hex_timestamp":"000001a07a066e88"} 
[2026-09-07 09: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-07 09:31: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-07 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:31:51] 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-07 09:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920930816001,"66":27876,"138":206,"94":11008,"24":14,"16":401041553356750848,"45":405675840150511616},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-07 09:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920930816001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:31:51] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 09:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401041553356750848,"km_value":401041553356750.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":405675840150511616,"description":"Unknown IO ID 45"} 
[2026-09-07 09:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920930816001,"power":27876,"unknown_138":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":405675840150511616}} 
[2026-09-07 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:31:51] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:31:51] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:32:10] local.INFO: TCP Data received {"connection_id":174605,"ip":"117.224.222.211","data_length":795,"data_hex":"000000000000030f8e0a000001a07a07aed8012d0c6e8007059178001a00da21..."} 
[2026-09-07 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a07aed8012d0c6e8007059178001a00da21..."} 
[2026-09-07 09:32:10] local.INFO: Processing buffer {"connection_id":174605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a07aed8012d0c6e8007059178001a00da21..."} 
[2026-09-07 09:32:10] local.INFO: Packet analysis {"connection_id":174605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:10] local.INFO: Extracted packet for processing {"connection_id":174605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":755789440,"raw_latitude":117805432,"longitude_deg":75.578944,"latitude_deg":11.7805432,"altitude":26,"angle":218,"satellites":33,"speed":18,"hex_longitude":"2d0c6e80","hex_latitude":"07059178","is_valid_coordinates":true} 
[2026-09-07 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920951808001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30467157968027648,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881028319232,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788753719000,"timestamp_ms":1788753719000,"timestamp_seconds":1788753719,"priority":1,"record_length":96,"hex_timestamp":"000001a07a07aed8"} 
[2026-09-07 09:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920951808001,"66":14428,"220":206,"28":32256,"24":18,"16":30467157968027648,"45":895934881028319232},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-09-07 09:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920951808001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-07 09:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30467157968027648,"km_value":30467157968027.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881028319232,"description":"Unknown IO ID 45"} 
[2026-09-07 09:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920951808001,"power":14428,"unknown_220":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":895934881028319232}} 
[2026-09-07 09:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":174605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777884,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:32:10] local.INFO: GPS data processed {"connection_id":174605,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:32:10] local.INFO: Acknowledgment sent {"connection_id":174605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:32:29] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a067658012d05a14006fa25780007015a2a..."} 
[2026-09-07 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a067658012d05a14006fa25780007015a2a..."} 
[2026-09-07 09:32:29] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a067658012d05a14006fa25780007015a2a..."} 
[2026-09-07 09:32:29] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:32:29] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a06"} 
[2026-09-07 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":755343680,"raw_latitude":117056888,"longitude_deg":75.534368,"latitude_deg":11.7056888,"altitude":7,"angle":346,"satellites":42,"speed":12,"hex_longitude":"2d05a140","hex_latitude":"06fa2578","is_valid_coordinates":true} 
[2026-09-07 09:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920931072001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401041587716489216,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405816577638967296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788753639000,"timestamp_ms":1788753639000,"timestamp_seconds":1788753639,"priority":1,"record_length":96,"hex_timestamp":"000001a07a067658"} 
[2026-09-07 09:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:29] 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-07 09:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920931072001,"66":27919,"138":206,"94":11008,"24":12,"16":401041587716489216,"45":405816577638967296},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-07 09:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920931072001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:32:29] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 09:32:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401041587716489216,"km_value":401041587716489.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":405816577638967296,"description":"Unknown IO ID 45"} 
[2026-09-07 09:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920931072001,"power":27919,"unknown_138":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":405816577638967296}} 
[2026-09-07 09:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:32:29] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:32:29] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:32:45] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:45] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:45] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:32:46] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:46] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:46] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:32:49] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:49] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:49] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:32:50] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:50] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:32:50] local.INFO: IMEI packet received {"connection_id":175957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":175957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:32:51] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a07aaf0012d0514c006fa7ce0001301292b..."} 
[2026-09-07 09:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a07aaf0012d0514c006fa7ce0001301292b..."} 
[2026-09-07 09:32:51] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a07aaf0012d0514c006fa7ce0001301292b..."} 
[2026-09-07 09:32:51] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:51] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755307712,"raw_latitude":117079264,"longitude_deg":75.5307712,"latitude_deg":11.7079264,"altitude":19,"angle":297,"satellites":43,"speed":35,"hex_longitude":"2d0514c0","hex_latitude":"06fa7ce0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920951296001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401043795329679360,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":367817455788673024,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788753718000,"timestamp_ms":1788753718000,"timestamp_seconds":1788753718,"priority":1,"record_length":96,"hex_timestamp":"000001a07a07aaf0"} 
[2026-09-07 09: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-07 09:32: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-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:51] 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-07 09:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920951296001,"66":27767,"138":206,"94":11008,"24":35,"16":401043795329679360,"45":367817455788673024},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-09-07 09:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920951296001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:32:51] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 09:32:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401043795329679360,"km_value":401043795329679.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":367817455788673024,"description":"Unknown IO ID 45"} 
[2026-09-07 09:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920951296001,"power":27767,"unknown_138":206,"unknown_94":11008,"ignition":35,"odometer":null,"unknown_45":367817455788673024}} 
[2026-09-07 09:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:32:51] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:32:51] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:32:56] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a07b2c0012d050dc006fa7f500014011a28..."} 
[2026-09-07 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a07b2c0012d050dc006fa7f500014011a28..."} 
[2026-09-07 09:32:56] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a07b2c0012d050dc006fa7f500014011a28..."} 
[2026-09-07 09:32:56] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:56] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a07"} 
[2026-09-07 09:32:56] local.INFO: GPS Element Parsed {"raw_longitude":755305920,"raw_latitude":117079888,"longitude_deg":75.530592,"latitude_deg":11.7079888,"altitude":20,"angle":282,"satellites":40,"speed":33,"hex_longitude":"2d050dc0","hex_latitude":"06fa7f50","is_valid_coordinates":true} 
[2026-09-07 09:32: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-07 09:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920951808001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401043881229025280,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":366128605928677376,"note":"Value kept but may cause issues"} 
[2026-09-07 09:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788753720000,"timestamp_ms":1788753720000,"timestamp_seconds":1788753720,"priority":1,"record_length":96,"hex_timestamp":"000001a07a07b2c0"} 
[2026-09-07 09:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:32: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-07 09:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:32:56] 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-07 09:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920951808001,"66":27767,"5":206,"94":11008,"24":33,"16":401043881229025280,"45":366128605928677376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-09-07 09:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920951808001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:32:56] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 09:32:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401043881229025280,"km_value":401043881229025.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":366128605928677376,"description":"Unknown IO ID 45"} 
[2026-09-07 09:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920951808001,"power":27767,"unknown_5":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":366128605928677376}} 
[2026-09-07 09:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:32:56] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:32:56] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:32:58] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:32:58] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:32:58] local.INFO: IMEI packet received {"connection_id":173227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":173227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:33:00] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a03f5b8012d7d320005ec5b700000012f1c..."} 
[2026-09-07 09:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a03f5b8012d7d320005ec5b700000012f1c..."} 
[2026-09-07 09:33:00] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a03f5b8012d7d320005ec5b700000012f1c..."} 
[2026-09-07 09:33:00] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:00] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":99375984,"longitude_deg":76.317952,"latitude_deg":9.9375984,"altitude":0,"angle":303,"satellites":28,"speed":3,"hex_longitude":"2d7d3200","hex_latitude":"05ec5b70","is_valid_coordinates":true} 
[2026-09-07 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920889344001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358311806992384,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413766505119744,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788753475000,"timestamp_ms":1788753475000,"timestamp_seconds":1788753475,"priority":1,"record_length":96,"hex_timestamp":"000001a07a03f5b8"} 
[2026-09-07 09:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 09:33:00] 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-07 09:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33: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-07 09:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920889344001,"66":13472,"110":206,"87":13824,"24":3,"16":129358311806992384,"45":9021413766505119744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920889344001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:33:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:33:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358311806992384,"km_value":129358311806992.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413766505119744,"description":"Unknown IO ID 45"} 
[2026-09-07 09:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920889344001,"power":13472,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9021413766505119744}} 
[2026-09-07 09:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:33:00] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:33:00] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:33:03] local.INFO: TCP Data received {"connection_id":174608,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:03] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:03] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:33:28] local.INFO: TCP Data received {"connection_id":175957,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a084b18012d049c8006fafad8000e015027..."} 
[2026-09-07 09:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a084b18012d049c8006fafad8000e015027..."} 
[2026-09-07 09:33:28] local.INFO: Processing buffer {"connection_id":175957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a084b18012d049c8006fafad8000e015027..."} 
[2026-09-07 09:33:28] local.INFO: Packet analysis {"connection_id":175957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:33:28] local.INFO: Extracted packet for processing {"connection_id":175957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:33:28] local.INFO: GPS Element Parsed {"raw_longitude":755276928,"raw_latitude":117111512,"longitude_deg":75.5276928,"latitude_deg":11.7111512,"altitude":14,"angle":336,"satellites":39,"speed":62,"hex_longitude":"2d049c80","hex_latitude":"06fafad8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920960512001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401046183331495936,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":335658939705524224,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788753759000,"timestamp_ms":1788753759000,"timestamp_seconds":1788753759,"priority":1,"record_length":96,"hex_timestamp":"000001a07a084b18"} 
[2026-09-07 09: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-07 09:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:33:28] 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-07 09: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-07 09: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-07 09:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:33:28] 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-07 09:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920960512001,"66":27800,"139":206,"94":11008,"24":62,"16":401046183331495936,"45":335658939705524224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-07 09:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920960512001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:33:28] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-07 09:33:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401046183331495936,"km_value":401046183331495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":335658939705524224,"description":"Unknown IO ID 45"} 
[2026-09-07 09:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920960512001,"power":27800,"unknown_139":206,"unknown_94":11008,"ignition":62,"odometer":null,"unknown_45":335658939705524224}} 
[2026-09-07 09:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":175957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:33:28] local.INFO: GPS data processed {"connection_id":175957,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:33:28] local.INFO: Acknowledgment sent {"connection_id":175957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:33:32] local.INFO: TCP Data received {"connection_id":173227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:32] local.INFO: Processing buffer {"connection_id":173227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:32] local.INFO: Packet analysis {"connection_id":173227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:32] local.INFO: Extracted packet for processing {"connection_id":173227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99375992,"longitude_deg":76.3179456,"latitude_deg":9.9375992,"altitude":0,"angle":303,"satellites":30,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec5b78","is_valid_coordinates":true} 
[2026-09-07 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920889600001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273029016776704,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788753476000,"timestamp_ms":1788753476000,"timestamp_seconds":1788753476,"priority":1,"record_length":96,"hex_timestamp":"000001a07a03f9a0"} 
[2026-09-07 09:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 09:33:32] 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-07 09:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920889600001,"66":13526,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021273029016776704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920889600001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:33:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:33:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273029016776704,"description":"Unknown IO ID 45"} 
[2026-09-07 09:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920889600001,"power":13526,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021273029016776704}} 
[2026-09-07 09:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":173227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:33:32] local.INFO: GPS data processed {"connection_id":173227,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:33:32] local.INFO: Acknowledgment sent {"connection_id":173227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:33:48] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:48] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:48] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:33:52] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:52] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:52] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:33:53] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:53] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:33:53] local.INFO: IMEI packet received {"connection_id":173463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":173463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:33:55] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:55] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a03f9a0012d7d31c005ec5b780000012f1e..."} 
[2026-09-07 09:33:55] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:55] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a03"} 
[2026-09-07 09:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99375992,"longitude_deg":76.3179456,"latitude_deg":9.9375992,"altitude":0,"angle":303,"satellites":30,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec5b78","is_valid_coordinates":true} 
[2026-09-07 09:33:55] 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-07 09:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920889856001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272601088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788753476000,"timestamp_ms":1788753476000,"timestamp_seconds":1788753476,"priority":1,"record_length":96,"hex_timestamp":"000001a07a03f9a0"} 
[2026-09-07 09:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:33: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-07 09:33: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":214,"data_length":795,"current_offset":136} 
[2026-09-07 09:33:55] 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-07 09:33: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-07 09:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:33: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-07 09:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920889856001,"66":13526,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272601088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920889856001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:33:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:33:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272601088,"description":"Unknown IO ID 45"} 
[2026-09-07 09:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920889856001,"power":13526,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272601088}} 
[2026-09-07 09:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:33:55] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:33:55] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:33:56] local.INFO: TCP Data received {"connection_id":174608,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174608,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:56] local.INFO: Processing buffer {"connection_id":174608,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:33:56] local.INFO: IMEI packet received {"connection_id":174608,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":174608,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:33:56] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:33:56] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:33:56] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:00] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:00] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:00] local.INFO: IMEI packet received {"connection_id":175958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":175958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:01] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a085ea0012d048c8006fb14200010014429..."} 
[2026-09-07 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a085ea0012d048c8006fb14200010014429..."} 
[2026-09-07 09:34:01] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a085ea0012d048c8006fb14200010014429..."} 
[2026-09-07 09:34:01] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:34:01] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:34:01] local.INFO: GPS Element Parsed {"raw_longitude":755272832,"raw_latitude":117117984,"longitude_deg":75.5272832,"latitude_deg":11.7117984,"altitude":16,"angle":324,"satellites":41,"speed":57,"hex_longitude":"2d048c80","hex_latitude":"06fb1420","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920962304001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401046552698683392,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":332281239987476480,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788753764000,"timestamp_ms":1788753764000,"timestamp_seconds":1788753764,"priority":1,"record_length":96,"hex_timestamp":"000001a07a085ea0"} 
[2026-09-07 09: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-07 09:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:01] 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-07 09: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-07 09: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-07 09:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:01] 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-07 09:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920962304001,"66":27865,"139":206,"94":11008,"24":57,"16":401046552698683392,"45":332281239987476480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-07 09:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920962304001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:01] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-07 09:34:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401046552698683392,"km_value":401046552698683.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":332281239987476480,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920962304001,"power":27865,"unknown_139":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":332281239987476480}} 
[2026-09-07 09:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:01] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:01] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:34:03] local.INFO: TCP Data received {"connection_id":175958,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a086670012d0486c006fb1d980012014f29..."} 
[2026-09-07 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a086670012d0486c006fb1d980012014f29..."} 
[2026-09-07 09:34:03] local.INFO: Processing buffer {"connection_id":175958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a086670012d0486c006fb1d980012014f29..."} 
[2026-09-07 09:34:03] local.INFO: Packet analysis {"connection_id":175958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:34:03] local.INFO: Extracted packet for processing {"connection_id":175958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:34:03] local.INFO: GPS Element Parsed {"raw_longitude":755271360,"raw_latitude":117120408,"longitude_deg":75.527136,"latitude_deg":11.7120408,"altitude":18,"angle":335,"satellites":41,"speed":54,"hex_longitude":"2d0486c0","hex_latitude":"06fb1d98","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920963584001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401046690137636864,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":327777640361762816,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788753766000,"timestamp_ms":1788753766000,"timestamp_seconds":1788753766,"priority":1,"record_length":96,"hex_timestamp":"000001a07a086670"} 
[2026-09-07 09: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-07 09:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":175958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":175958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920963584001,"66":26723,"139":206,"94":11008,"24":54,"16":401046690137636864,"45":327777640361762816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-09-07 09:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920963584001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:03] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-09-07 09:34:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401046690137636864,"km_value":401046690137636.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":327777640361762816,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920963584001,"power":26723,"unknown_139":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":327777640361762816}} 
[2026-09-07 09:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":175958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:03] local.INFO: GPS data processed {"connection_id":175958,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:03] local.INFO: Acknowledgment sent {"connection_id":175958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:34:08] local.INFO: TCP Data received {"connection_id":173228,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:08] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:08] local.INFO: IMEI packet received {"connection_id":173228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":173228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:34:10] local.INFO: TCP Data received {"connection_id":173228,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:10] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:34:10] local.INFO: IMEI packet received {"connection_id":173228,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":173228,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:12] local.INFO: TCP Data received {"connection_id":173228,"ip":"117.224.222.211","data_length":795,"data_hex":"000000000000030f8e0a000001a07a093d48012d0c4940070585d0001500f422..."} 
[2026-09-07 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a093d48012d0c4940070585d0001500f422..."} 
[2026-09-07 09:34:12] local.INFO: Processing buffer {"connection_id":173228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a093d48012d0c4940070585d0001500f422..."} 
[2026-09-07 09:34:12] local.INFO: Packet analysis {"connection_id":173228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:34:12] local.INFO: Extracted packet for processing {"connection_id":173228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":755779904,"raw_latitude":117802448,"longitude_deg":75.5779904,"latitude_deg":11.7802448,"altitude":21,"angle":244,"satellites":34,"speed":3,"hex_longitude":"2d0c4940","hex_latitude":"070585d0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920977920001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30467643299332096,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885379569400807424,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788753821000,"timestamp_ms":1788753821000,"timestamp_seconds":1788753821,"priority":1,"record_length":96,"hex_timestamp":"000001a07a093d48"} 
[2026-09-07 09: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-07 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173228,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.222.211","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920977920001,"66":14450,"219":206,"28":32256,"24":3,"16":30467643299332096,"45":885379569400807424},"client_ip":"117.224.222.211","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-09-07 09:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920977920001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 09:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-09-07 09:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30467643299332096,"km_value":30467643299332.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":885379569400807424,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920977920001,"power":14450,"unknown_219":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":885379569400807424}} 
[2026-09-07 09:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":173228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:12] local.INFO: GPS data processed {"connection_id":173228,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:12] local.INFO: Acknowledgment sent {"connection_id":173228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:34:26] local.INFO: TCP Data received {"connection_id":173463,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:26] local.INFO: Processing buffer {"connection_id":173463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:26] local.INFO: Packet analysis {"connection_id":173463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a04"} 
[2026-09-07 09:34:26] local.INFO: Extracted packet for processing {"connection_id":173463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a04"} 
[2026-09-07 09:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99376000,"longitude_deg":76.3179456,"latitude_deg":9.9376,"altitude":0,"angle":303,"satellites":31,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec5b80","is_valid_coordinates":true} 
[2026-09-07 09:34:26] 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-07 09:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920889856001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272601088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788753486000,"timestamp_ms":1788753486000,"timestamp_seconds":1788753486,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0420b0"} 
[2026-09-07 09: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-07 09:34: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-07 09: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:26] 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-07 09: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-07 09: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-07 09:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:34: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-07 09:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920889856001,"66":13450,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272601088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920889856001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272601088,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920889856001,"power":13450,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272601088}} 
[2026-09-07 09:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":173463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:26] local.INFO: GPS data processed {"connection_id":173463,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:26] local.INFO: Acknowledgment sent {"connection_id":173463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:34:41] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:41] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:41] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:34:45] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:45] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:45] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:48] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:48] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:34:48] local.INFO: IMEI packet received {"connection_id":174610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":174610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:48] local.INFO: TCP Data received {"connection_id":173465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:48] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:48] local.INFO: IMEI packet received {"connection_id":173465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":173465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:34:49] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0958a0012d037fc006fbd4c8000b013b27..."} 
[2026-09-07 09:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0958a0012d037fc006fbd4c8000b013b27..."} 
[2026-09-07 09:34:49] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0958a0012d037fc006fbd4c8000b013b27..."} 
[2026-09-07 09:34:49] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:34:49] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":755204032,"raw_latitude":117167304,"longitude_deg":75.5204032,"latitude_deg":11.7167304,"altitude":11,"angle":315,"satellites":39,"speed":58,"hex_longitude":"2d037fc0","hex_latitude":"06fbd4c8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920978432001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401050727406895104,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":260434752194828288,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788753828000,"timestamp_ms":1788753828000,"timestamp_seconds":1788753828,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0958a0"} 
[2026-09-07 09: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-07 09:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:49] 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-07 09: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-07 09: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-07 09:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920978432001,"66":27745,"130":206,"94":11008,"24":58,"16":401050727406895104,"45":260434752194828288},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-07 09:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920978432001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 09:34:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401050727406895104,"km_value":401050727406895.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":260434752194828288,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920978432001,"power":27745,"unknown_130":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":260434752194828288}} 
[2026-09-07 09:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:49] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:49] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:34:53] local.INFO: TCP Data received {"connection_id":173465,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:53] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:34:53] local.INFO: IMEI packet received {"connection_id":173465,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":173465,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:34:55] local.INFO: TCP Data received {"connection_id":173465,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:55] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0420b0012d7d31c005ec5b800000012f1f..."} 
[2026-09-07 09:34:55] local.INFO: Packet analysis {"connection_id":173465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a04"} 
[2026-09-07 09:34:55] local.INFO: Extracted packet for processing {"connection_id":173465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a04"} 
[2026-09-07 09:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99376000,"longitude_deg":76.3179456,"latitude_deg":9.9376,"altitude":0,"angle":303,"satellites":31,"speed":0,"hex_longitude":"2d7d31c0","hex_latitude":"05ec5b80","is_valid_coordinates":true} 
[2026-09-07 09:34: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-07 09:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788753486000,"timestamp_ms":1788753486000,"timestamp_seconds":1788753486,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0420b0"} 
[2026-09-07 09: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-07 09:34: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-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:34: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-07 09:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":13450,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:34:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:34:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":13450,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":173465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:34:55] local.INFO: GPS data processed {"connection_id":173465,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:34:55] local.INFO: Acknowledgment sent {"connection_id":173465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:35:12] local.INFO: TCP Data received {"connection_id":173466,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:35:12] local.INFO: Processing buffer {"connection_id":173466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:35:12] local.INFO: IMEI packet received {"connection_id":173466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":173466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:35:20] local.INFO: TCP Data received {"connection_id":174610,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a096070012d03790006fbde200008014a28..."} 
[2026-09-07 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a096070012d03790006fbde200008014a28..."} 
[2026-09-07 09:35:20] local.INFO: Processing buffer {"connection_id":174610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a096070012d03790006fbde200008014a28..."} 
[2026-09-07 09:35:20] local.INFO: Packet analysis {"connection_id":174610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:35:20] local.INFO: Extracted packet for processing {"connection_id":174610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a09"} 
[2026-09-07 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":755202304,"raw_latitude":117169696,"longitude_deg":75.5202304,"latitude_deg":11.7169696,"altitude":8,"angle":330,"satellites":40,"speed":60,"hex_longitude":"2d037900","hex_latitude":"06fbde20","is_valid_coordinates":true} 
[2026-09-07 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-07 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920979968001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401050864845848576,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":252131240383399936,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788753830000,"timestamp_ms":1788753830000,"timestamp_seconds":1788753830,"priority":1,"record_length":96,"hex_timestamp":"000001a07a096070"} 
[2026-09-07 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-07 09:35: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-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:35:20] 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-07 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920979968001,"66":27767,"130":206,"94":11008,"24":60,"16":401050864845848576,"45":252131240383399936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-09-07 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920979968001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:35:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 09:35:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401050864845848576,"km_value":401050864845848.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":252131240383399936,"description":"Unknown IO ID 45"} 
[2026-09-07 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920979968001,"power":27767,"unknown_130":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":252131240383399936}} 
[2026-09-07 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:35:20] local.INFO: GPS data processed {"connection_id":174610,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:35:20] local.INFO: Acknowledgment sent {"connection_id":174610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:35:25] local.INFO: TCP Data received {"connection_id":173464,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:25] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:25] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:35:27] local.INFO: TCP Data received {"connection_id":173464,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:27] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:27] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:35:27] local.INFO: TCP Data received {"connection_id":173465,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:27] local.INFO: Processing buffer {"connection_id":173465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:27] local.INFO: Packet analysis {"connection_id":173465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:35:27] local.INFO: Extracted packet for processing {"connection_id":173465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:35: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-07 09:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173465,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:35:27] 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-07 09:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:35:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:35:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":173465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:35:27] local.INFO: GPS data processed {"connection_id":173465,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:35:27] local.INFO: Acknowledgment sent {"connection_id":173465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:35:31] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:31] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:31] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:35:33] local.INFO: TCP Data received {"connection_id":174611,"ip":"117.224.222.211","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:33] local.INFO: Processing buffer {"connection_id":174611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:35:33] local.INFO: IMEI packet received {"connection_id":174611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":174611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:35:45] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:45] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:45] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:35:46] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:46] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:46] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:35:48] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:48] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:48] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:35:50] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:50] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:35:50] local.INFO: IMEI packet received {"connection_id":175959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":175959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:35:51] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0a46e8012d02a48006fcb118000901312a..."} 
[2026-09-07 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0a46e8012d02a48006fcb118000901312a..."} 
[2026-09-07 09:35:51] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0a46e8012d02a48006fcb118000901312a..."} 
[2026-09-07 09:35:51] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:35:51] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":755147904,"raw_latitude":117223704,"longitude_deg":75.5147904,"latitude_deg":11.7223704,"altitude":9,"angle":305,"satellites":42,"speed":50,"hex_longitude":"2d02a480","hex_latitude":"06fcb118","is_valid_coordinates":true} 
[2026-09-07 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-07 09:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920993792001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401054837690597376,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":199988000960808960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788753889000,"timestamp_ms":1788753889000,"timestamp_seconds":1788753889,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0a46e8"} 
[2026-09-07 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-07 09:35: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-07 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 09:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:35:51] 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-07 09:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920993792001,"66":27919,"131":206,"94":11008,"24":50,"16":401054837690597376,"45":199988000960808960},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920993792001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:35:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:35:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401054837690597376,"km_value":401054837690597.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":199988000960808960,"description":"Unknown IO ID 45"} 
[2026-09-07 09:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920993792001,"power":27919,"unknown_131":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":199988000960808960}} 
[2026-09-07 09:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:35:51] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:35:51] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:35:53] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:53] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:35:53] local.INFO: IMEI packet received {"connection_id":175960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":175960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:35:55] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:55] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:35:55] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:35:55] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09: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-07 09:35: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-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:35: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-07 09:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:35:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:35:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:35:55] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:35:55] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:36:22] local.INFO: TCP Data received {"connection_id":175959,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0a5688012d02968006fcbcc0000801412b..."} 
[2026-09-07 09:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0a5688012d02968006fcbcc0000801412b..."} 
[2026-09-07 09:36:22] local.INFO: Processing buffer {"connection_id":175959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0a5688012d02968006fcbcc0000801412b..."} 
[2026-09-07 09:36:22] local.INFO: Packet analysis {"connection_id":175959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:36:22] local.INFO: Extracted packet for processing {"connection_id":175959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755144320,"raw_latitude":117226688,"longitude_deg":75.514432,"latitude_deg":11.7226688,"altitude":8,"angle":321,"satellites":43,"speed":45,"hex_longitude":"2d029680","hex_latitude":"06fcbcc0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920995584001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401055065323864064,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":190417851754027008,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788753893000,"timestamp_ms":1788753893000,"timestamp_seconds":1788753893,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0a5688"} 
[2026-09-07 09: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-07 09:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 09:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:36:22] 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-07 09:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920995584001,"66":27843,"131":206,"94":11008,"24":45,"16":401055065323864064,"45":190417851754027008},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920995584001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:36:22] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401055065323864064,"km_value":401055065323864.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":190417851754027008,"description":"Unknown IO ID 45"} 
[2026-09-07 09:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920995584001,"power":27843,"unknown_131":206,"unknown_94":11008,"ignition":45,"odometer":null,"unknown_45":190417851754027008}} 
[2026-09-07 09:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":175959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:36:22] local.INFO: GPS data processed {"connection_id":175959,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:36:22] local.INFO: Acknowledgment sent {"connection_id":175959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:36:26] local.INFO: TCP Data received {"connection_id":175960,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:26] local.INFO: Processing buffer {"connection_id":175960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:26] local.INFO: Packet analysis {"connection_id":175960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:36:26] local.INFO: Extracted packet for processing {"connection_id":175960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:36:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09: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-07 09:36: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-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:36:26] 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-07 09: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-07 09: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-07 09:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:36: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-07 09:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:36:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:36:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:36:26] local.INFO: GPS data processed {"connection_id":175960,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:36:26] local.INFO: Acknowledgment sent {"connection_id":175960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:36:45] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:45] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:45] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:36:48] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:48] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:48] local.INFO: IMEI packet received {"connection_id":175963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":175963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:36:49] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:49] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:36:49] local.INFO: IMEI packet received {"connection_id":173229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":173229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:36:50] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0a75c8012d0281c006fcde98000701472c..."} 
[2026-09-07 09:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0a75c8012d0281c006fcde98000701472c..."} 
[2026-09-07 09:36:50] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0a75c8012d0281c006fcde98000701472c..."} 
[2026-09-07 09:36:50] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:36:50] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":755139008,"raw_latitude":117235352,"longitude_deg":75.5139008,"latitude_deg":11.7235352,"altitude":7,"angle":327,"satellites":44,"speed":54,"hex_longitude":"2d0281c0","hex_latitude":"06fcde98","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920996608001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401055554950135808,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":186477202080841728,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788753901000,"timestamp_ms":1788753901000,"timestamp_seconds":1788753901,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0a75c8"} 
[2026-09-07 09: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-07 09:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:36:50] 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-07 09: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-07 09: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-07 09:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:36:50] 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-07 09:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920996608001,"66":27745,"131":206,"94":11008,"24":54,"16":401055554950135808,"45":186477202080841728},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920996608001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:36:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:36:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401055554950135808,"km_value":401055554950135.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":186477202080841728,"description":"Unknown IO ID 45"} 
[2026-09-07 09:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920996608001,"power":27745,"unknown_131":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":186477202080841728}} 
[2026-09-07 09:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:36:50] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:36:50] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:36:54] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:54] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:36:54] local.INFO: IMEI packet received {"connection_id":175963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":175963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:36:55] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:55] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:36:55] local.INFO: Packet analysis {"connection_id":175963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:36:55] local.INFO: Extracted packet for processing {"connection_id":175963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09: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-07 09:36: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-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:36: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-07 09:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:36:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:36:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":175963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:36:55] local.INFO: GPS data processed {"connection_id":175963,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:36:55] local.INFO: Acknowledgment sent {"connection_id":175963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:37:21] local.INFO: TCP Data received {"connection_id":173229,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0a9120012d026c0006fcfec8000701472c..."} 
[2026-09-07 09:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0a9120012d026c0006fcfec8000701472c..."} 
[2026-09-07 09:37:21] local.INFO: Processing buffer {"connection_id":173229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0a9120012d026c0006fcfec8000701472c..."} 
[2026-09-07 09:37:21] local.INFO: Packet analysis {"connection_id":173229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:37:21] local.INFO: Extracted packet for processing {"connection_id":173229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:37:21] local.INFO: GPS Element Parsed {"raw_longitude":755133440,"raw_latitude":117243592,"longitude_deg":75.513344,"latitude_deg":11.7243592,"altitude":7,"angle":327,"satellites":44,"speed":57,"hex_longitude":"2d026c00","hex_latitude":"06fcfec8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920998656001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401056031691505664,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":180636596316313600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788753908000,"timestamp_ms":1788753908000,"timestamp_seconds":1788753908,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0a9120"} 
[2026-09-07 09: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-07 09:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:37: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-07 09: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-07 09: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-07 09:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920998656001,"66":27691,"131":206,"94":11008,"24":57,"16":401056031691505664,"45":180636596316313600},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920998656001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:37:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:37:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401056031691505664,"km_value":401056031691505.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":180636596316313600,"description":"Unknown IO ID 45"} 
[2026-09-07 09:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920998656001,"power":27691,"unknown_131":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":180636596316313600}} 
[2026-09-07 09:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":173229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:37:21] local.INFO: GPS data processed {"connection_id":173229,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:37:21] local.INFO: Acknowledgment sent {"connection_id":173229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:37:27] local.INFO: TCP Data received {"connection_id":175963,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:37:27] local.INFO: Processing buffer {"connection_id":175963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:37:27] local.INFO: Packet analysis {"connection_id":175963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:37:27] local.INFO: Extracted packet for processing {"connection_id":175963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:37: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-07 09:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:37: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-07 09:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:37: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-07 09:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:37:27] 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-07 09:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:37:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:37:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":175963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:37:27] local.INFO: GPS data processed {"connection_id":175963,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:37:27] local.INFO: Acknowledgment sent {"connection_id":175963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:37:46] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:46] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:46] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:37:53] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:53] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:53] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:37:56] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:56] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:37:56] local.INFO: IMEI packet received {"connection_id":175965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":175965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:37:57] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0aac78012d02580006fd1ee0000801482b..."} 
[2026-09-07 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0aac78012d02580006fd1ee0000801482b..."} 
[2026-09-07 09:37:57] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0aac78012d02580006fd1ee0000801482b..."} 
[2026-09-07 09:37:57] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:37:57] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0a"} 
[2026-09-07 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755128320,"raw_latitude":117251808,"longitude_deg":75.512832,"latitude_deg":11.7251808,"altitude":8,"angle":328,"satellites":43,"speed":49,"hex_longitude":"2d025800","hex_latitude":"06fd1ee0","is_valid_coordinates":true} 
[2026-09-07 09:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921000448001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401056499842940928,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":174514515574966272,"note":"Value kept but may cause issues"} 
[2026-09-07 09:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788753915000,"timestamp_ms":1788753915000,"timestamp_seconds":1788753915,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0aac78"} 
[2026-09-07 09:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 09:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:37:57] 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-07 09:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921000448001,"66":27843,"131":206,"94":11008,"24":49,"16":401056499842940928,"45":174514515574966272},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921000448001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:37:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:37:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401056499842940928,"km_value":401056499842940.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":174514515574966272,"description":"Unknown IO ID 45"} 
[2026-09-07 09:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921000448001,"power":27843,"unknown_131":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":174514515574966272}} 
[2026-09-07 09:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:37:57] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:37:57] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:37:58] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:58] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:37:58] local.INFO: IMEI packet received {"connection_id":174614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":174614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:38:01] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:01] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:01] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:38:01] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09: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-07 09:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:38:01] 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-07 09: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-07 09: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-07 09:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:38:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:38:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:38:01] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:38:01] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:38:04] local.INFO: TCP Data received {"connection_id":174614,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:04] local.INFO: Processing buffer {"connection_id":174614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a08a108012d7d304005ec5b880000012f20..."} 
[2026-09-07 09:38:04] local.INFO: Packet analysis {"connection_id":174614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:38:04] local.INFO: Extracted packet for processing {"connection_id":174614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a08"} 
[2026-09-07 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":32,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920892416001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660272603136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788753781000,"timestamp_ms":1788753781000,"timestamp_seconds":1788753781,"priority":1,"record_length":96,"hex_timestamp":"000001a07a08a108"} 
[2026-09-07 09:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 09:38:04] 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-07 09:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38: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-07 09:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920892416001,"66":2470,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9021202660272603136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920892416001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:38:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:38:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660272603136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920892416001,"power":2470,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021202660272603136}} 
[2026-09-07 09:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":174614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:38:04] local.INFO: GPS data processed {"connection_id":174614,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:38:04] local.INFO: Acknowledgment sent {"connection_id":174614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:38:29] local.INFO: TCP Data received {"connection_id":175965,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0ccf58012d01780006fe5560000701242b..."} 
[2026-09-07 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0ccf58012d01780006fe5560000701242b..."} 
[2026-09-07 09:38:29] local.INFO: Processing buffer {"connection_id":175965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0ccf58012d01780006fe5560000701242b..."} 
[2026-09-07 09:38:29] local.INFO: Packet analysis {"connection_id":175965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:38:29] local.INFO: Extracted packet for processing {"connection_id":175965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:38:29] local.INFO: GPS Element Parsed {"raw_longitude":755070976,"raw_latitude":117331296,"longitude_deg":75.5070976,"latitude_deg":11.7331296,"altitude":7,"angle":292,"satellites":43,"speed":46,"hex_longitude":"2d017800","hex_latitude":"06fe5560","is_valid_coordinates":true} 
[2026-09-07 09:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921037312001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401061340271083520,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":109282689744291840,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788754055000,"timestamp_ms":1788754055000,"timestamp_seconds":1788754055,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0ccf58"} 
[2026-09-07 09:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 09:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:38:29] 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-07 09:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921037312001,"66":27908,"131":206,"94":11008,"24":46,"16":401061340271083520,"45":109282689744291840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921037312001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:38:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:38:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401061340271083520,"km_value":401061340271083.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":109282689744291840,"description":"Unknown IO ID 45"} 
[2026-09-07 09:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921037312001,"power":27908,"unknown_131":206,"unknown_94":11008,"ignition":46,"odometer":null,"unknown_45":109282689744291840}} 
[2026-09-07 09:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":175965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:38:29] local.INFO: GPS data processed {"connection_id":175965,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:38:29] local.INFO: Acknowledgment sent {"connection_id":175965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:38:44] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:44] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:44] local.INFO: IMEI packet received {"connection_id":173230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":173230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:38:45] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:45] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:45] local.INFO: IMEI packet received {"connection_id":173230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:38:48] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:48] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:48] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:38:50] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:50] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:38:50] local.INFO: IMEI packet received {"connection_id":173230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:38:51] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:38:51] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:38:51] local.INFO: Packet analysis {"connection_id":173230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:38:51] local.INFO: Extracted packet for processing {"connection_id":173230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:38:51] local.INFO: GPS Element Parsed {"raw_longitude":755062208,"raw_latitude":117334864,"longitude_deg":75.5062208,"latitude_deg":11.7334864,"altitude":8,"angle":304,"satellites":39,"speed":39,"hex_longitude":"2d0155c0","hex_latitude":"06fe6350","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921038080001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401061791242649600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":105834621280018432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754063000,"timestamp_ms":1788754063000,"timestamp_seconds":1788754063,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0cee98"} 
[2026-09-07 09: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-07 09:38: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-07 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:38:51] 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-07 09:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921038080001,"66":27876,"131":206,"94":11008,"24":39,"16":401061791242649600,"45":105834621280018432},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921038080001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:38:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:38:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401061791242649600,"km_value":401061791242649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":105834621280018432,"description":"Unknown IO ID 45"} 
[2026-09-07 09:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921038080001,"power":27876,"unknown_131":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":105834621280018432}} 
[2026-09-07 09:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":173230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:38:51] local.INFO: GPS data processed {"connection_id":173230,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:38:51] local.INFO: Acknowledgment sent {"connection_id":173230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:38:53] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:53] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:38:53] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:38:54] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:38:54] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:38:54] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:38:54] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:38: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-07 09:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:38: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-07 09:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:38:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:38:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:38:54] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:38:54] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:39:22] local.INFO: TCP Data received {"connection_id":173230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:39:22] local.INFO: Processing buffer {"connection_id":173230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0cee98012d0155c006fe63500008013027..."} 
[2026-09-07 09:39:22] local.INFO: Packet analysis {"connection_id":173230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:39:22] local.INFO: Extracted packet for processing {"connection_id":173230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0c"} 
[2026-09-07 09:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755062208,"raw_latitude":117334864,"longitude_deg":75.5062208,"latitude_deg":11.7334864,"altitude":8,"angle":304,"satellites":39,"speed":39,"hex_longitude":"2d0155c0","hex_latitude":"06fe6350","is_valid_coordinates":true} 
[2026-09-07 09:39: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-07 09:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921040128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401061791242649600,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":96194103328591872,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754063000,"timestamp_ms":1788754063000,"timestamp_seconds":1788754063,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0cee98"} 
[2026-09-07 09:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:39: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-07 09:39: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-07 09:39: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-07 09:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:39:22] 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-07 09:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921040128001,"66":27876,"131":206,"94":11008,"24":39,"16":401061791242649600,"45":96194103328591872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-09-07 09:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921040128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:39:22] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 09:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401061791242649600,"km_value":401061791242649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":96194103328591872,"description":"Unknown IO ID 45"} 
[2026-09-07 09:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921040128001,"power":27876,"unknown_131":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":96194103328591872}} 
[2026-09-07 09:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":173230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:39:22] local.INFO: GPS data processed {"connection_id":173230,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:39:22] local.INFO: Acknowledgment sent {"connection_id":173230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:39:27] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:27] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:27] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:27] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:39: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-07 09:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:39: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:39: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-07 09:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:39:27] 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-07 09:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:39:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:39:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:39:27] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:39:27] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:39:45] local.INFO: TCP Data received {"connection_id":174616,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:45] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:45] local.INFO: IMEI packet received {"connection_id":174616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":174616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:39:49] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:49] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:49] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:39:50] local.INFO: TCP Data received {"connection_id":174616,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:50] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:39:50] local.INFO: IMEI packet received {"connection_id":174616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:39:51] local.INFO: TCP Data received {"connection_id":174616,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0ddce0012d0080c006fec4500009013e23..."} 
[2026-09-07 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0ddce0012d0080c006fec4500009013e23..."} 
[2026-09-07 09:39:51] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0ddce0012d0080c006fec4500009013e23..."} 
[2026-09-07 09:39:51] local.INFO: Packet analysis {"connection_id":174616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:51] local.INFO: Extracted packet for processing {"connection_id":174616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":755007680,"raw_latitude":117359696,"longitude_deg":75.500768,"latitude_deg":11.7359696,"altitude":9,"angle":318,"satellites":35,"speed":38,"hex_longitude":"2d0080c0","hex_latitude":"06fec450","is_valid_coordinates":true} 
[2026-09-07 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921055232001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401064716115378176,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":37928783155492864,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754124000,"timestamp_ms":1788754124000,"timestamp_seconds":1788754124,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0ddce0"} 
[2026-09-07 09:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:39: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-07 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 09:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:39:51] 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-07 09:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921055232001,"66":27865,"27":206,"94":10240,"24":38,"16":401064716115378176,"45":37928783155492864},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-07 09:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921055232001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:39:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 09:39:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401064716115378176,"km_value":401064716115378.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":37928783155492864,"description":"Unknown IO ID 45"} 
[2026-09-07 09:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921055232001,"power":27865,"unknown_27":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":37928783155492864}} 
[2026-09-07 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:39:51] local.INFO: GPS data processed {"connection_id":174616,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:39:51] local.INFO: Acknowledgment sent {"connection_id":174616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:39:53] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:53] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:39:53] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:39:55] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:55] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:39:55] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:55] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:39: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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:39: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-07 09:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:39:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:39:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:39:55] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:39:55] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:40:26] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:26] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:26] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:26] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:40:26] 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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:40: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-07 09:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:40:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:40:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:40:26] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:40:26] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:40:30] local.INFO: TCP Data received {"connection_id":174616,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0de4b0012d007d0006fecae8000a015325..."} 
[2026-09-07 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0de4b0012d007d0006fecae8000a015325..."} 
[2026-09-07 09:40:30] local.INFO: Processing buffer {"connection_id":174616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0de4b0012d007d0006fecae8000a015325..."} 
[2026-09-07 09:40:30] local.INFO: Packet analysis {"connection_id":174616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:30] local.INFO: Extracted packet for processing {"connection_id":174616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":755006720,"raw_latitude":117361384,"longitude_deg":75.500672,"latitude_deg":11.7361384,"altitude":10,"angle":339,"satellites":37,"speed":39,"hex_longitude":"2d007d00","hex_latitude":"06fecae8","is_valid_coordinates":true} 
[2026-09-07 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921055744001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401064810604658688,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":36239933295579136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788754126000,"timestamp_ms":1788754126000,"timestamp_seconds":1788754126,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0de4b0"} 
[2026-09-07 09:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:40:30] 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-07 09:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921055744001,"66":27908,"27":206,"94":10240,"24":39,"16":401064810604658688,"45":36239933295579136},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-07 09:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921055744001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401064810604658688,"km_value":401064810604658.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":36239933295579136,"description":"Unknown IO ID 45"} 
[2026-09-07 09:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921055744001,"power":27908,"unknown_27":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":36239933295579136}} 
[2026-09-07 09:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":174616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:40:30] local.INFO: GPS data processed {"connection_id":174616,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:40:30] local.INFO: Acknowledgment sent {"connection_id":174616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:40:45] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:45] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:45] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:40:48] local.INFO: TCP Data received {"connection_id":174618,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:48] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:48] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:40:50] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:50] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:40:50] local.INFO: IMEI packet received {"connection_id":175967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":175967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:40:51] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0dec80012d007b4006fed288000b015e27..."} 
[2026-09-07 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0dec80012d007b4006fed288000b015e27..."} 
[2026-09-07 09:40:51] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0dec80012d007b4006fed288000b015e27..."} 
[2026-09-07 09:40:51] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:51] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755006272,"raw_latitude":117363336,"longitude_deg":75.5006272,"latitude_deg":11.7363336,"altitude":11,"angle":350,"satellites":39,"speed":40,"hex_longitude":"2d007b40","hex_latitude":"06fed288","is_valid_coordinates":true} 
[2026-09-07 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921056256001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401064905093939200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":35184402133346304,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754128000,"timestamp_ms":1788754128000,"timestamp_seconds":1788754128,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0dec80"} 
[2026-09-07 09:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:40: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-07 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:40:51] 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-07 09:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921056256001,"66":27767,"27":206,"94":10240,"24":40,"16":401064905093939200,"45":35184402133346304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-09-07 09:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921056256001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:40:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 09:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401064905093939200,"km_value":401064905093939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":35184402133346304,"description":"Unknown IO ID 45"} 
[2026-09-07 09:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921056256001,"power":27767,"unknown_27":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":35184402133346304}} 
[2026-09-07 09:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:40:51] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:40:51] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:40:53] local.INFO: TCP Data received {"connection_id":174618,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:53] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:40:53] local.INFO: IMEI packet received {"connection_id":174618,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":174618,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:40:54] local.INFO: TCP Data received {"connection_id":174618,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:54] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:40:54] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:54] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:40: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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:40: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-07 09:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:40:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:40:55] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:40:55] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:40:58] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:40:58] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:40:58] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:41:08] local.INFO: TCP Data received {"connection_id":173232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:08] local.INFO: Processing buffer {"connection_id":173232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:08] local.INFO: IMEI packet received {"connection_id":173232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":173232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:41:22] local.INFO: TCP Data received {"connection_id":175967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0f34a0012cffeac006ffb818000f012727..."} 
[2026-09-07 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0f34a0012cffeac006ffb818000f012727..."} 
[2026-09-07 09:41:22] local.INFO: Processing buffer {"connection_id":175967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0f34a0012cffeac006ffb818000f012727..."} 
[2026-09-07 09:41:22] local.INFO: Packet analysis {"connection_id":175967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:41:22] local.INFO: Extracted packet for processing {"connection_id":175967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":754969280,"raw_latitude":117422104,"longitude_deg":75.496928,"latitude_deg":11.7422104,"altitude":15,"angle":295,"satellites":39,"speed":40,"hex_longitude":"2cffeac0","hex_latitude":"06ffb818","is_valid_coordinates":true} 
[2026-09-07 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921076224001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401068525751369728,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1548142430687232,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754212000,"timestamp_ms":1788754212000,"timestamp_seconds":1788754212,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0f34a0"} 
[2026-09-07 09:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:41:22] 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-07 09:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921076224001,"66":27908,"102":206,"94":10240,"24":40,"16":401068525751369728,"45":1548142430687232},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,45]} 
[2026-09-07 09:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921076224001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:41:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401068525751369728,"km_value":401068525751369.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1548142430687232,"description":"Unknown IO ID 45"} 
[2026-09-07 09:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921076224001,"power":27908,"unknown_102":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":1548142430687232}} 
[2026-09-07 09:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":175967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:41:22] local.INFO: GPS data processed {"connection_id":175967,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:41:22] local.INFO: Acknowledgment sent {"connection_id":175967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:41:28] local.INFO: TCP Data received {"connection_id":174618,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:28] local.INFO: Processing buffer {"connection_id":174618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:28] local.INFO: Packet analysis {"connection_id":174618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:41:28] local.INFO: Extracted packet for processing {"connection_id":174618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:41: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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174618,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:41:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:41:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":174618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:41:28] local.INFO: GPS data processed {"connection_id":174618,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:41:28] local.INFO: Acknowledgment sent {"connection_id":174618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:41:38] local.INFO: TCP Data received {"connection_id":173471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:38] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:38] local.INFO: IMEI packet received {"connection_id":173471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":173471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:41:40] local.INFO: TCP Data received {"connection_id":173471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:40] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:40] local.INFO: IMEI packet received {"connection_id":173471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":173471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:41:41] local.INFO: TCP Data received {"connection_id":173471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173471,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:41] local.INFO: Processing buffer {"connection_id":173471,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:41:41] local.INFO: IMEI packet received {"connection_id":173471,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":173471,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:41:48] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:48] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:48] local.INFO: IMEI packet received {"connection_id":175968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:41:49] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:49] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:49] local.INFO: IMEI packet received {"connection_id":174619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:41:50] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:50] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:50] local.INFO: IMEI packet received {"connection_id":174619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":174619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:41:53] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:53] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:41:53] local.INFO: IMEI packet received {"connection_id":175968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":175968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:41:54] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:54] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:41:54] local.INFO: Packet analysis {"connection_id":175968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:41:54] local.INFO: Extracted packet for processing {"connection_id":175968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:41: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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:41: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-07 09:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:41:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:41:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":175968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:41:54] local.INFO: GPS data processed {"connection_id":175968,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:41:54] local.INFO: Acknowledgment sent {"connection_id":175968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:41:55] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:55] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:41:55] local.INFO: IMEI packet received {"connection_id":174619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":174619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:41:56] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0f57c8012cffc64006ffc4f8000e012226..."} 
[2026-09-07 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0f57c8012cffc64006ffc4f8000e012226..."} 
[2026-09-07 09:41:56] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0f57c8012cffc64006ffc4f8000e012226..."} 
[2026-09-07 09:41:56] local.INFO: Packet analysis {"connection_id":174619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:41:56] local.INFO: Extracted packet for processing {"connection_id":174619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":754959936,"raw_latitude":117425400,"longitude_deg":75.4959936,"latitude_deg":11.74254,"altitude":14,"angle":290,"satellites":38,"speed":40,"hex_longitude":"2cffc640","hex_latitude":"06ffc4f8","is_valid_coordinates":true} 
[2026-09-07 09:41: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-07 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921078272001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401068998197772288,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5981313195042816,"note":"Value kept but may cause issues"} 
[2026-09-07 09:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788754221000,"timestamp_ms":1788754221000,"timestamp_seconds":1788754221,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0f57c8"} 
[2026-09-07 09:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09:41: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-07 09:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:41:56] 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-07 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921078272001,"66":27974,"102":206,"94":10240,"24":40,"16":401068998197772288,"44":-5981313195042816},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-09-07 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921078272001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:41:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:41:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401068998197772288,"km_value":401068998197772.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5981313195042816,"description":"Unknown IO ID 44"} 
[2026-09-07 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921078272001,"power":27974,"unknown_102":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-5981313195042816}} 
[2026-09-07 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":174619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:41:56] local.INFO: GPS data processed {"connection_id":174619,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:41:56] local.INFO: Acknowledgment sent {"connection_id":174619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:42:25] local.INFO: TCP Data received {"connection_id":175968,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:42:25] local.INFO: Processing buffer {"connection_id":175968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:42:25] local.INFO: Packet analysis {"connection_id":175968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:42:25] local.INFO: Extracted packet for processing {"connection_id":175968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:42:25] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:42:25] 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-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:42:25] 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-07 09:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:42:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:42:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":175968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:42:26] local.INFO: GPS data processed {"connection_id":175968,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:42:26] local.INFO: Acknowledgment sent {"connection_id":175968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:42:28] local.INFO: TCP Data received {"connection_id":174619,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0f7af0012cffa28006ffd410000b012529..."} 
[2026-09-07 09:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0f7af0012cffa28006ffd410000b012529..."} 
[2026-09-07 09:42:28] local.INFO: Processing buffer {"connection_id":174619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0f7af0012cffa28006ffd410000b012529..."} 
[2026-09-07 09:42:28] local.INFO: Packet analysis {"connection_id":174619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:42:28] local.INFO: Extracted packet for processing {"connection_id":174619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:42:28] local.INFO: GPS Element Parsed {"raw_longitude":754950784,"raw_latitude":117429264,"longitude_deg":75.4950784,"latitude_deg":11.7429264,"altitude":11,"angle":293,"satellites":41,"speed":44,"hex_longitude":"2cffa280","hex_latitude":"06ffd410","is_valid_coordinates":true} 
[2026-09-07 09:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921080576001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401069470644174848,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-16255149844137984,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788754230000,"timestamp_ms":1788754230000,"timestamp_seconds":1788754230,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0f7af0"} 
[2026-09-07 09:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 09:42:28] 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-07 09:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:28] 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-07 09:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921080576001,"66":27930,"102":206,"94":10240,"24":44,"16":401069470644174848,"44":-16255149844137984},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-09-07 09:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921080576001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:42:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:42:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401069470644174848,"km_value":401069470644174.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:42:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-16255149844137984,"description":"Unknown IO ID 44"} 
[2026-09-07 09:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921080576001,"power":27930,"unknown_102":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-16255149844137984}} 
[2026-09-07 09:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":174619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:42:28] local.INFO: GPS data processed {"connection_id":174619,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:42:28] local.INFO: Acknowledgment sent {"connection_id":174619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:42:45] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:45] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:45] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:42:46] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:46] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:46] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:42:50] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:50] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:42:50] local.INFO: IMEI packet received {"connection_id":175969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":175969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:42:51] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0fc528012cff824006ffe2680009012428..."} 
[2026-09-07 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0fc528012cff824006ffe2680009012428..."} 
[2026-09-07 09:42:51] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0fc528012cff824006ffe2680009012428..."} 
[2026-09-07 09:42:51] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:42:51] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0f"} 
[2026-09-07 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":754942528,"raw_latitude":117432936,"longitude_deg":75.4942528,"latitude_deg":11.7432936,"altitude":9,"angle":292,"satellites":40,"speed":7,"hex_longitude":"2cff8240","hex_latitude":"06ffe268","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921082880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401069900140904448,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-26317880260554752,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754249000,"timestamp_ms":1788754249000,"timestamp_seconds":1788754249,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0fc528"} 
[2026-09-07 09: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-07 09:42: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-07 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 09:42:51] 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-07 09: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-07 09: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-07 09:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:51] 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-07 09:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921082880001,"66":28050,"102":206,"94":10240,"24":7,"16":401069900140904448,"44":-26317880260554752},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-09-07 09:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921082880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401069900140904448,"km_value":401069900140904.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-26317880260554752,"description":"Unknown IO ID 44"} 
[2026-09-07 09:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921082880001,"power":28050,"unknown_102":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_44":-26317880260554752}} 
[2026-09-07 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:42:51] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:42:51] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:42:54] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:54] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:54] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:42:55] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a101730012cff79c006ffe5080009011d2a..."} 
[2026-09-07 09:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a101730012cff79c006ffe5080009011d2a..."} 
[2026-09-07 09:42:55] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a101730012cff79c006ffe5080009011d2a..."} 
[2026-09-07 09:42:55] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:42:55] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:42:55] local.INFO: GPS Element Parsed {"raw_longitude":754940352,"raw_latitude":117433608,"longitude_deg":75.4940352,"latitude_deg":11.7433608,"altitude":9,"angle":285,"satellites":42,"speed":5,"hex_longitude":"2cff79c0","hex_latitude":"06ffe508","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921087744001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401070011810054144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-35395448258533376,"note":"Value kept but may cause issues"} 
[2026-09-07 09:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754270000,"timestamp_ms":1788754270000,"timestamp_seconds":1788754270,"priority":1,"record_length":96,"hex_timestamp":"000001a07a101730"} 
[2026-09-07 09: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-07 09:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 09:42:55] 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-07 09: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-07 09: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-07 09:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:42:55] 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-07 09:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921087744001,"66":27745,"102":206,"94":10240,"24":5,"16":401070011810054144,"44":-35395448258533376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-09-07 09:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921087744001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401070011810054144,"km_value":401070011810054.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-35395448258533376,"description":"Unknown IO ID 44"} 
[2026-09-07 09:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921087744001,"power":27745,"unknown_102":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-35395448258533376}} 
[2026-09-07 09:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:42:55] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:42:55] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:42:59] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:59] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:42:59] local.INFO: IMEI packet received {"connection_id":175971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":175971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:43:01] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:01] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:01] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:43:01] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09: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-07 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:43:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:43:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:43:01] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:43:01] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:43:04] local.INFO: TCP Data received {"connection_id":175971,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:04] local.INFO: Processing buffer {"connection_id":175971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a0d38d0012d7d304005ec5b880000012f26..."} 
[2026-09-07 09:43:04] local.INFO: Packet analysis {"connection_id":175971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:43:04] local.INFO: Extracted packet for processing {"connection_id":175971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a0d"} 
[2026-09-07 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457920967936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788754082000,"timestamp_ms":1788754082000,"timestamp_seconds":1788754082,"priority":1,"record_length":96,"hex_timestamp":"000001a07a0d38d0"} 
[2026-09-07 09:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 09:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43: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-07 09:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457920967936001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457920967936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:43:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:43:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457920967936001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":175971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:43:04] local.INFO: GPS data processed {"connection_id":175971,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:43:04] local.INFO: Acknowledgment sent {"connection_id":175971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:43:27] local.INFO: TCP Data received {"connection_id":175969,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a106938012cff754006ffe5e8000a01152a..."} 
[2026-09-07 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a106938012cff754006ffe5e8000a01152a..."} 
[2026-09-07 09:43:27] local.INFO: Processing buffer {"connection_id":175969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a106938012cff754006ffe5e8000a01152a..."} 
[2026-09-07 09:43:27] local.INFO: Packet analysis {"connection_id":175969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:43:27] local.INFO: Extracted packet for processing {"connection_id":175969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":754939200,"raw_latitude":117433832,"longitude_deg":75.49392,"latitude_deg":11.7433832,"altitude":10,"angle":277,"satellites":42,"speed":5,"hex_longitude":"2cff7540","hex_latitude":"06ffe5e8","is_valid_coordinates":true} 
[2026-09-07 09:43: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-07 09:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921093120001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401070067644628992,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-37787985560401920,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788754291000,"timestamp_ms":1788754291000,"timestamp_seconds":1788754291,"priority":1,"record_length":96,"hex_timestamp":"000001a07a106938"} 
[2026-09-07 09:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:43:27] 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-07 09:43: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-07 09:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:43:27] 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-07 09:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921093120001,"66":27767,"102":206,"94":10240,"24":5,"16":401070067644628992,"44":-37787985560401920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-09-07 09:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921093120001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:43:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 09:43:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401070067644628992,"km_value":401070067644629.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-37787985560401920,"description":"Unknown IO ID 44"} 
[2026-09-07 09:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921093120001,"power":27767,"unknown_102":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-37787985560401920}} 
[2026-09-07 09:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":175969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:43:27] local.INFO: GPS data processed {"connection_id":175969,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:43:27] local.INFO: Acknowledgment sent {"connection_id":175969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:43:43] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:43] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:43] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:43:45] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:45] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:45] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:43:48] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:48] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:48] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:43:50] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:50] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:43:50] local.INFO: IMEI packet received {"connection_id":173234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":173234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:43:51] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a10af88012cff704006ffe6f8000e01212b..."} 
[2026-09-07 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a10af88012cff704006ffe6f8000e01212b..."} 
[2026-09-07 09:43:51] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a10af88012cff704006ffe6f8000e01212b..."} 
[2026-09-07 09:43:51] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:43:51] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a10"} 
[2026-09-07 09:43:51] local.INFO: GPS Element Parsed {"raw_longitude":754937920,"raw_latitude":117434104,"longitude_deg":75.493792,"latitude_deg":11.7434104,"altitude":14,"angle":289,"satellites":43,"speed":10,"hex_longitude":"2cff7040","hex_latitude":"06ffe6f8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921098496001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401070132069138432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39054622955542528,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754309000,"timestamp_ms":1788754309000,"timestamp_seconds":1788754309,"priority":1,"record_length":96,"hex_timestamp":"000001a07a10af88"} 
[2026-09-07 09: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-07 09:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:43:51] 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-07 09:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921098496001,"66":27908,"141":206,"94":10240,"24":10,"16":401070132069138432,"44":-39054622955542528},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921098496001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:43:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:43:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401070132069138432,"km_value":401070132069138.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39054622955542528,"description":"Unknown IO ID 44"} 
[2026-09-07 09:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921098496001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-39054622955542528}} 
[2026-09-07 09:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:43:51] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:43:51] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:43:53] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:53] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:43:53] local.INFO: IMEI packet received {"connection_id":175973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":175973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:43:55] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:43:55] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:43:55] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:43:55] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:43:55] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:43: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-07 09:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:43:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:43:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:43:55] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:43:55] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:44:22] local.INFO: TCP Data received {"connection_id":173234,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1222a0012cfefd0007005a00000f01102a..."} 
[2026-09-07 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1222a0012cfefd0007005a00000f01102a..."} 
[2026-09-07 09:44:22] local.INFO: Processing buffer {"connection_id":173234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1222a0012cfefd0007005a00000f01102a..."} 
[2026-09-07 09:44:22] local.INFO: Packet analysis {"connection_id":173234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a12"} 
[2026-09-07 09:44:22] local.INFO: Extracted packet for processing {"connection_id":173234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a12"} 
[2026-09-07 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":754908416,"raw_latitude":117463552,"longitude_deg":75.4908416,"latitude_deg":11.7463552,"altitude":15,"angle":272,"satellites":42,"speed":7,"hex_longitude":"2cfefd00","hex_latitude":"07005a00","is_valid_coordinates":true} 
[2026-09-07 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921127168001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401072154998734848,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72620513920692224,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754404000,"timestamp_ms":1788754404000,"timestamp_seconds":1788754404,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1222a0"} 
[2026-09-07 09:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:44:22] 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-07 09:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:44:22] 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-07 09:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921127168001,"66":27767,"141":206,"94":10240,"24":7,"16":401072154998734848,"44":-72620513920692224},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921127168001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401072154998734848,"km_value":401072154998734.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72620513920692224,"description":"Unknown IO ID 44"} 
[2026-09-07 09:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921127168001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_44":-72620513920692224}} 
[2026-09-07 09:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":173234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:44:22] local.INFO: GPS data processed {"connection_id":173234,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:44:22] local.INFO: Acknowledgment sent {"connection_id":173234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:44:26] local.INFO: TCP Data received {"connection_id":175973,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:26] local.INFO: Processing buffer {"connection_id":175973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:26] local.INFO: Packet analysis {"connection_id":175973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:44:26] local.INFO: Extracted packet for processing {"connection_id":175973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:44:26] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:44: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-07 09:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:44:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:44:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":175973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:44:26] local.INFO: GPS data processed {"connection_id":175973,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:44:26] local.INFO: Acknowledgment sent {"connection_id":175973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:44:45] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:45] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:45] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:44:48] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:48] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:48] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:44:49] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:49] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:44:49] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:44:50] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a122688012cfefc8007005a00000f00ff2a..."} 
[2026-09-07 09:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a122688012cfefc8007005a00000f00ff2a..."} 
[2026-09-07 09:44:50] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a122688012cfefc8007005a00000f00ff2a..."} 
[2026-09-07 09:44:50] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a12"} 
[2026-09-07 09:44:50] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a12"} 
[2026-09-07 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":754908288,"raw_latitude":117463552,"longitude_deg":75.4908288,"latitude_deg":11.7463552,"altitude":15,"angle":255,"satellites":42,"speed":5,"hex_longitude":"2cfefc80","hex_latitude":"07005a00","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921127424001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401072159293702144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72901988897390592,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788754405000,"timestamp_ms":1788754405000,"timestamp_seconds":1788754405,"priority":1,"record_length":96,"hex_timestamp":"000001a07a122688"} 
[2026-09-07 09: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-07 09:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:44:50] 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-07 09:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921127424001,"66":27767,"141":206,"94":10240,"24":5,"16":401072159293702144,"44":-72901988897390592},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921127424001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:44:50] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:44:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401072159293702144,"km_value":401072159293702.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72901988897390592,"description":"Unknown IO ID 44"} 
[2026-09-07 09:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921127424001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-72901988897390592}} 
[2026-09-07 09:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:44:50] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:44:50] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:44:53] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:53] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:44:53] local.INFO: IMEI packet received {"connection_id":174621,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":174621,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:44:54] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:54] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:44:54] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:44:54] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:44: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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:44: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-07 09:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:44:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:44:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:44:54] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:44:54] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:45:22] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a133028012cff018007003a08000700c025..."} 
[2026-09-07 09:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a133028012cff018007003a08000700c025..."} 
[2026-09-07 09:45:22] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a133028012cff018007003a08000700c025..."} 
[2026-09-07 09:45:22] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a13"} 
[2026-09-07 09:45:22] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a13"} 
[2026-09-07 09:45:22] local.INFO: GPS Element Parsed {"raw_longitude":754909568,"raw_latitude":117455368,"longitude_deg":75.4909568,"latitude_deg":11.7455368,"altitude":7,"angle":192,"satellites":37,"speed":5,"hex_longitude":"2cff0180","hex_latitude":"07003a08","is_valid_coordinates":true} 
[2026-09-07 09:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921144832001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401072734819319808,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71705720248426496,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754473000,"timestamp_ms":1788754473000,"timestamp_seconds":1788754473,"priority":1,"record_length":96,"hex_timestamp":"000001a07a133028"} 
[2026-09-07 09:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:45: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-07 09:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:45:22] 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-07 09:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921144832001,"66":27865,"141":206,"94":10240,"24":5,"16":401072734819319808,"44":-71705720248426496},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921144832001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:45:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:45:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401072734819319808,"km_value":401072734819319.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71705720248426496,"description":"Unknown IO ID 44"} 
[2026-09-07 09:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921144832001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-71705720248426496}} 
[2026-09-07 09:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:45:22] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:45:22] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:45:26] local.INFO: TCP Data received {"connection_id":174621,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:26] local.INFO: Processing buffer {"connection_id":174621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:26] local.INFO: Packet analysis {"connection_id":174621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:45:26] local.INFO: Extracted packet for processing {"connection_id":174621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:45:26] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174621,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:45: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-07 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:45:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":174621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:45:26] local.INFO: GPS data processed {"connection_id":174621,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:45:26] local.INFO: Acknowledgment sent {"connection_id":174621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:45:44] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:44] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:44] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:45:45] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:45] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:45] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:45:48] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:48] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:48] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:45:49] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:49] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:45:49] local.INFO: IMEI packet received {"connection_id":173236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:45:50] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a133410012cff014007003950000700cc25..."} 
[2026-09-07 09:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a133410012cff014007003950000700cc25..."} 
[2026-09-07 09:45:50] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a133410012cff014007003950000700cc25..."} 
[2026-09-07 09:45:50] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a13"} 
[2026-09-07 09:45:50] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a13"} 
[2026-09-07 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":754909504,"raw_latitude":117455184,"longitude_deg":75.4909504,"latitude_deg":11.7455184,"altitude":7,"angle":204,"satellites":37,"speed":6,"hex_longitude":"2cff0140","hex_latitude":"07003950","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921145088001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401072743409254400,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71635351504287744,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788754474000,"timestamp_ms":1788754474000,"timestamp_seconds":1788754474,"priority":1,"record_length":96,"hex_timestamp":"000001a07a133410"} 
[2026-09-07 09: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-07 09:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:45:50] 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-07 09:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921145088001,"66":27800,"141":206,"94":10240,"24":6,"16":401072743409254400,"44":-71635351504287744},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921145088001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:45:50] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401072743409254400,"km_value":401072743409254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71635351504287744,"description":"Unknown IO ID 44"} 
[2026-09-07 09:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921145088001,"power":27800,"unknown_141":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_44":-71635351504287744}} 
[2026-09-07 09:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:45:50] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:45:50] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:45:53] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:53] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:45:53] local.INFO: IMEI packet received {"connection_id":175976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":175976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:45:55] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:55] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:45:55] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:45:55] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:45:55] 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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:45: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-07 09:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:45:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:45:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:45:55] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:45:55] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:46:21] local.INFO: TCP Data received {"connection_id":173236,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a140ae8012cfef40007002280000a00002a..."} 
[2026-09-07 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a140ae8012cfef40007002280000a00002a..."} 
[2026-09-07 09:46:21] local.INFO: Processing buffer {"connection_id":173236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a140ae8012cfef40007002280000a00002a..."} 
[2026-09-07 09:46:21] local.INFO: Packet analysis {"connection_id":173236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:21] local.INFO: Extracted packet for processing {"connection_id":173236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":754906112,"raw_latitude":117449344,"longitude_deg":75.4906112,"latitude_deg":11.7449344,"altitude":10,"angle":0,"satellites":42,"speed":14,"hex_longitude":"2cfef400","hex_latitude":"07002280","is_valid_coordinates":true} 
[2026-09-07 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921159168001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073323229839360,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75364894947328000,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788754529000,"timestamp_ms":1788754529000,"timestamp_seconds":1788754529,"priority":1,"record_length":96,"hex_timestamp":"000001a07a140ae8"} 
[2026-09-07 09:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:46: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-07 09:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921159168001,"66":27745,"141":206,"94":10240,"24":14,"16":401073323229839360,"44":-75364894947328000},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921159168001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073323229839360,"km_value":401073323229839.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75364894947328000,"description":"Unknown IO ID 44"} 
[2026-09-07 09:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921159168001,"power":27745,"unknown_141":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_44":-75364894947328000}} 
[2026-09-07 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":173236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:46:21] local.INFO: GPS data processed {"connection_id":173236,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:46:21] local.INFO: Acknowledgment sent {"connection_id":173236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:46:26] local.INFO: TCP Data received {"connection_id":175976,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:46:26] local.INFO: Processing buffer {"connection_id":175976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:46:26] local.INFO: Packet analysis {"connection_id":175976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:46:26] local.INFO: Extracted packet for processing {"connection_id":175976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:46:26] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:46: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-07 09:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:46:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:46:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":175976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:46:26] local.INFO: GPS data processed {"connection_id":175976,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:46:26] local.INFO: Acknowledgment sent {"connection_id":175976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:46:27] local.INFO: TCP Data received {"connection_id":175975,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:27] local.INFO: Processing buffer {"connection_id":175975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:27] local.INFO: IMEI packet received {"connection_id":175975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":175975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:46:43] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:46:43] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:46:43] local.INFO: IMEI packet received {"connection_id":175977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":175977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:46:44] local.INFO: TCP Data received {"connection_id":175977,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a143db0012d0c91c00704cb78001500ad24..."} 
[2026-09-07 09:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a143db0012d0c91c00704cb78001500ad24..."} 
[2026-09-07 09:46:44] local.INFO: Processing buffer {"connection_id":175977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a143db0012d0c91c00704cb78001500ad24..."} 
[2026-09-07 09:46:44] local.INFO: Packet analysis {"connection_id":175977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:44] local.INFO: Extracted packet for processing {"connection_id":175977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:44] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":117754744,"longitude_deg":75.5798464,"latitude_deg":11.7754744,"altitude":21,"angle":173,"satellites":36,"speed":11,"hex_longitude":"2d0c91c0","hex_latitude":"0704cb78","is_valid_coordinates":true} 
[2026-09-07 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921162240001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30480742949584896,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873944406016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788754542000,"timestamp_ms":1788754542000,"timestamp_seconds":1788754542,"priority":1,"record_length":96,"hex_timestamp":"000001a07a143db0"} 
[2026-09-07 09:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:46: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-07 09:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 09:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":175977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":175977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":175977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921162240001,"66":14461,"95":206,"94":10240,"24":11,"16":30480742949584896,"45":905856873944406016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 09:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921162240001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:46:44] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 09:46:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30480742949584896,"km_value":30480742949584.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873944406016,"description":"Unknown IO ID 45"} 
[2026-09-07 09:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921162240001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":905856873944406016}} 
[2026-09-07 09:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":175977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777945,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:46:44] local.INFO: GPS data processed {"connection_id":175977,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:46:44] local.INFO: Acknowledgment sent {"connection_id":175977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:46:45] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:45] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:45] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:46:47] local.INFO: TCP Data received {"connection_id":175978,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:47] local.INFO: Processing buffer {"connection_id":175978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:46:47] local.INFO: IMEI packet received {"connection_id":175978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:46:50] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:50] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:46:50] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:46:51] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a140ed0012cfef44007002410000a001a2a..."} 
[2026-09-07 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a140ed0012cfef44007002410000a001a2a..."} 
[2026-09-07 09:46:51] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a140ed0012cfef44007002410000a001a2a..."} 
[2026-09-07 09:46:51] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:51] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:46:51] local.INFO: GPS Element Parsed {"raw_longitude":754906176,"raw_latitude":117449744,"longitude_deg":75.4906176,"latitude_deg":11.7449744,"altitude":10,"angle":26,"satellites":42,"speed":16,"hex_longitude":"2cfef440","hex_latitude":"07002410","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921159424001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073340409708544,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75435263691423744,"note":"Value kept but may cause issues"} 
[2026-09-07 09:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754530000,"timestamp_ms":1788754530000,"timestamp_seconds":1788754530,"priority":1,"record_length":96,"hex_timestamp":"000001a07a140ed0"} 
[2026-09-07 09: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-07 09:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 09:46:51] 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-07 09: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-07 09: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-07 09:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:46:51] 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-07 09:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921159424001,"66":27865,"141":206,"94":10240,"24":16,"16":401073340409708544,"44":-75435263691423744},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921159424001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:46:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:46:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073340409708544,"km_value":401073340409708.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75435263691423744,"description":"Unknown IO ID 44"} 
[2026-09-07 09:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921159424001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_44":-75435263691423744}} 
[2026-09-07 09:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:46:51] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:46:51] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:46:53] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:53] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:53] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:46:58] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:58] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:46:58] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:47:00] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:00] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:00] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:00] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:47: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-07 09:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:47:00] 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-07 09:47: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:47: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-07 09:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47: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-07 09:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:47:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:00] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:00] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:47:04] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:04] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:04] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:04] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:47:04] 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-07 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47: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-07 09:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:47:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:04] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:04] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:47:22] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1412b8012cfef50007002578000a00252a..."} 
[2026-09-07 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1412b8012cfef50007002578000a00252a..."} 
[2026-09-07 09:47:22] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1412b8012cfef50007002578000a00252a..."} 
[2026-09-07 09:47:22] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:47:22] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":754906368,"raw_latitude":117450104,"longitude_deg":75.4906368,"latitude_deg":11.7450104,"altitude":10,"angle":37,"satellites":42,"speed":17,"hex_longitude":"2cfef500","hex_latitude":"07002578","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921159680001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073361884545024,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75364894947143680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754531000,"timestamp_ms":1788754531000,"timestamp_seconds":1788754531,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1412b8"} 
[2026-09-07 09: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-07 09:47: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-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 09: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-07 09: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-07 09:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:47:22] 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-07 09:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921159680001,"66":27865,"141":206,"94":10240,"24":17,"16":401073361884545024,"44":-75364894947143680},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921159680001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:47:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073361884545024,"km_value":401073361884545.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75364894947143680,"description":"Unknown IO ID 44"} 
[2026-09-07 09:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921159680001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_44":-75364894947143680}} 
[2026-09-07 09:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:22] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:22] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:47:27] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:27] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:27] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:47:33] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:33] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:47:33] local.INFO: IMEI packet received {"connection_id":174622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":174622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:47:34] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1562a8012d0c6ec00703fa20001200e923..."} 
[2026-09-07 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1562a8012d0c6ec00703fa20001200e923..."} 
[2026-09-07 09:47:34] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1562a8012d0c6ec00703fa20001200e923..."} 
[2026-09-07 09:47:34] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:47:34] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117701152,"longitude_deg":75.5789504,"latitude_deg":11.7701152,"altitude":18,"angle":233,"satellites":35,"speed":28,"hex_longitude":"2d0c6ec0","hex_latitude":"0703fa20","is_valid_coordinates":true} 
[2026-09-07 09:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921178880001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30483813851201536,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904519867792613376,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788754617000,"timestamp_ms":1788754617000,"timestamp_seconds":1788754617,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1562a8"} 
[2026-09-07 09:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921178880001,"66":14537,"16":30483813851201536,"94":11008,"24":28,"45":904519867792613376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921178880001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30483813851201536,"km_value":30483813851201.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":904519867792613376,"description":"Unknown IO ID 45"} 
[2026-09-07 09:47:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921178880001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":904519867792613376}} 
[2026-09-07 09:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777950,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:34] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:34] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:47:45] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:45] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:45] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:47:48] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:48] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:48] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:47:50] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:50] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:47:50] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:47:51] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07a144968012cff0280070039c8000a001428..."} 
[2026-09-07 09:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a144968012cff0280070039c8000a001428..."} 
[2026-09-07 09:47:51] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a144968012cff0280070039c8000a001428..."} 
[2026-09-07 09:47:51] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:47:51] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455304,"longitude_deg":75.4909824,"latitude_deg":11.7455304,"altitude":10,"angle":20,"satellites":40,"speed":9,"hex_longitude":"2cff0280","hex_latitude":"070039c8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921159936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073662532255744,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75153788714518528,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754545000,"timestamp_ms":1788754545000,"timestamp_seconds":1788754545,"priority":1,"record_length":96,"hex_timestamp":"000001a07a144968"} 
[2026-09-07 09: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-07 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:47:51] 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-07 09:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921159936001,"66":27974,"141":206,"94":10240,"24":9,"16":401073662532255744,"44":-75153788714518528},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921159936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:47:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073662532255744,"km_value":401073662532255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75153788714518528,"description":"Unknown IO ID 44"} 
[2026-09-07 09:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921159936001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_44":-75153788714518528}} 
[2026-09-07 09:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:51] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:51] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:47:53] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:53] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:47:53] local.INFO: IMEI packet received {"connection_id":173477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":173477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:47:54] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:54] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a11d098012d7d304005ec5b880000012f22..."} 
[2026-09-07 09:47:54] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:54] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a11"} 
[2026-09-07 09:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921044992001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754383000,"timestamp_ms":1788754383000,"timestamp_seconds":1788754383,"priority":1,"record_length":96,"hex_timestamp":"000001a07a11d098"} 
[2026-09-07 09: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-07 09:47: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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:47: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-07 09:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921044992001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921044992001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:47:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:47:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921044992001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:47:54] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:47:54] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:05] local.INFO: TCP Data received {"connection_id":174622,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a158da0012d0c54800703e578001000dc25..."} 
[2026-09-07 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a158da0012d0c54800703e578001000dc25..."} 
[2026-09-07 09:48:05] local.INFO: Processing buffer {"connection_id":174622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a158da0012d0c54800703e578001000dc25..."} 
[2026-09-07 09:48:05] local.INFO: Packet analysis {"connection_id":174622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:05] local.INFO: Extracted packet for processing {"connection_id":174622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117695864,"longitude_deg":75.5782784,"latitude_deg":11.7695864,"altitude":16,"angle":220,"satellites":37,"speed":16,"hex_longitude":"2d0c5480","hex_latitude":"0703e578","is_valid_coordinates":true} 
[2026-09-07 09:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921181952001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30484221873094656,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512257335296,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788754628000,"timestamp_ms":1788754628000,"timestamp_seconds":1788754628,"priority":1,"record_length":96,"hex_timestamp":"000001a07a158da0"} 
[2026-09-07 09:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921181952001,"66":14559,"16":30484221873094656,"94":11008,"24":16,"45":895864512257335296},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921181952001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30484221873094656,"km_value":30484221873094.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512257335296,"description":"Unknown IO ID 45"} 
[2026-09-07 09:48:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921181952001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":16,"unknown_45":895864512257335296}} 
[2026-09-07 09:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":174622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:05] local.INFO: GPS data processed {"connection_id":174622,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:05] local.INFO: Acknowledgment sent {"connection_id":174622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:22] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07a144d50012cff028007003ac0000b016027..."} 
[2026-09-07 09:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a144d50012cff028007003ac0000b016027..."} 
[2026-09-07 09:48:22] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a144d50012cff028007003ac0000b016027..."} 
[2026-09-07 09:48:22] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:48:22] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:48:22] local.INFO: GPS Element Parsed {"raw_longitude":754909824,"raw_latitude":117455552,"longitude_deg":75.4909824,"latitude_deg":11.7455552,"altitude":11,"angle":352,"satellites":39,"speed":10,"hex_longitude":"2cff0280","hex_latitude":"07003ac0","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921163520001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073675417157632,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527593472,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754546000,"timestamp_ms":1788754546000,"timestamp_seconds":1788754546,"priority":1,"record_length":96,"hex_timestamp":"000001a07a144d50"} 
[2026-09-07 09: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-07 09:48: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-07 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:48: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-07 09:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921163520001,"66":27767,"141":206,"94":10240,"24":10,"16":401073675417157632,"44":-71353876527593472},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921163520001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:48:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073675417157632,"km_value":401073675417157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527593472,"description":"Unknown IO ID 44"} 
[2026-09-07 09:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921163520001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-71353876527593472}} 
[2026-09-07 09:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:22] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:22] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:26] local.INFO: TCP Data received {"connection_id":173477,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:26] local.INFO: Processing buffer {"connection_id":173477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:26] local.INFO: Packet analysis {"connection_id":173477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:48:26] local.INFO: Extracted packet for processing {"connection_id":173477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:48:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 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-07 09:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 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-07 09:48:26] 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-07 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:48: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-07 09:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:48:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":173477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:26] local.INFO: GPS data processed {"connection_id":173477,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:26] local.INFO: Acknowledgment sent {"connection_id":173477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:27] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:27] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:27] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:48:36] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:36] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:48:36] local.INFO: IMEI packet received {"connection_id":175979,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":175979,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:48:38] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a159570012d0c53800703e3e8001000c425..."} 
[2026-09-07 09:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a159570012d0c53800703e3e8001000c425..."} 
[2026-09-07 09:48:38] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a159570012d0c53800703e3e8001000c425..."} 
[2026-09-07 09:48:38] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:38] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117695464,"longitude_deg":75.5782528,"latitude_deg":11.7695464,"altitude":16,"angle":196,"satellites":37,"speed":7,"hex_longitude":"2d0c5380","hex_latitude":"0703e3e8","is_valid_coordinates":true} 
[2026-09-07 09:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921184768001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30484243347931136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475794117326848,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788754630000,"timestamp_ms":1788754630000,"timestamp_seconds":1788754630,"priority":1,"record_length":96,"hex_timestamp":"000001a07a159570"} 
[2026-09-07 09:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921184768001,"66":14363,"16":30484243347931136,"94":11008,"24":7,"45":888475794117326848},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921184768001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30484243347931136,"km_value":30484243347931.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475794117326848,"description":"Unknown IO ID 45"} 
[2026-09-07 09:48:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921184768001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":888475794117326848}} 
[2026-09-07 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777956,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:39] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:39] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:39] local.INFO: TCP Data received {"connection_id":175979,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a15b898012d0c55000703e1c8000f005c24..."} 
[2026-09-07 09:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a15b898012d0c55000703e1c8000f005c24..."} 
[2026-09-07 09:48:39] local.INFO: Processing buffer {"connection_id":175979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a15b898012d0c55000703e1c8000f005c24..."} 
[2026-09-07 09:48:39] local.INFO: Packet analysis {"connection_id":175979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:39] local.INFO: Extracted packet for processing {"connection_id":175979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a15"} 
[2026-09-07 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117694920,"longitude_deg":75.5782912,"latitude_deg":11.769492,"altitude":15,"angle":92,"satellites":36,"speed":7,"hex_longitude":"2d0c5500","hex_latitude":"0703e1c8","is_valid_coordinates":true} 
[2026-09-07 09:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921185280001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30484290592571392,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319140513792,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788754639000,"timestamp_ms":1788754639000,"timestamp_seconds":1788754639,"priority":1,"record_length":96,"hex_timestamp":"000001a07a15b898"} 
[2026-09-07 09:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:39] 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-07 09:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":175979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":175979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":175979,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921185280001,"66":14396,"16":30484290592571392,"94":11008,"24":7,"45":888194319140513792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921185280001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30484290592571392,"km_value":30484290592571.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319140513792,"description":"Unknown IO ID 45"} 
[2026-09-07 09:48:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921185280001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":888194319140513792}} 
[2026-09-07 09:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":175979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:39] local.INFO: GPS data processed {"connection_id":175979,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:39] local.INFO: Acknowledgment sent {"connection_id":175979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:48] local.INFO: TCP Data received {"connection_id":173480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:48] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:48] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:48:50] local.INFO: TCP Data received {"connection_id":173237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:50] local.INFO: Processing buffer {"connection_id":173237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:50] local.INFO: IMEI packet received {"connection_id":173237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:48:53] local.INFO: TCP Data received {"connection_id":173480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:53] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:48:53] local.INFO: IMEI packet received {"connection_id":173480,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":173480,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:48:54] local.INFO: TCP Data received {"connection_id":173480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:54] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:48:54] local.INFO: Packet analysis {"connection_id":173480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:48:54] local.INFO: Extracted packet for processing {"connection_id":173480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:48: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-07 09:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:48: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-07 09:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:48:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":173480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:54] local.INFO: GPS data processed {"connection_id":173480,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:54] local.INFO: Acknowledgment sent {"connection_id":173480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:48:55] local.INFO: TCP Data received {"connection_id":173237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:55] local.INFO: Processing buffer {"connection_id":173237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:48:55] local.INFO: IMEI packet received {"connection_id":173237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":173237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:48:56] local.INFO: TCP Data received {"connection_id":173237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a145138012cff024007003bd0000b014f27..."} 
[2026-09-07 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a145138012cff024007003bd0000b014f27..."} 
[2026-09-07 09:48:56] local.INFO: Processing buffer {"connection_id":173237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a145138012cff024007003bd0000b014f27..."} 
[2026-09-07 09:48:56] local.INFO: Packet analysis {"connection_id":173237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:48:56] local.INFO: Extracted packet for processing {"connection_id":173237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":754909760,"raw_latitude":117455824,"longitude_deg":75.490976,"latitude_deg":11.7455824,"altitude":11,"angle":335,"satellites":39,"speed":13,"hex_longitude":"2cff0240","hex_latitude":"07003bd0","is_valid_coordinates":true} 
[2026-09-07 09:48: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-07 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921163776001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073688302059520,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71353876527529984,"note":"Value kept but may cause issues"} 
[2026-09-07 09:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788754547000,"timestamp_ms":1788754547000,"timestamp_seconds":1788754547,"priority":1,"record_length":96,"hex_timestamp":"000001a07a145138"} 
[2026-09-07 09:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:48: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-07 09:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:48:56] 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-07 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921163776001,"66":27767,"141":206,"94":10240,"24":13,"16":401073688302059520,"44":-71353876527529984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921163776001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:48:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:48:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073688302059520,"km_value":401073688302059.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71353876527529984,"description":"Unknown IO ID 44"} 
[2026-09-07 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921163776001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_44":-71353876527529984}} 
[2026-09-07 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":173237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:48:56] local.INFO: GPS data processed {"connection_id":173237,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:48:56] local.INFO: Acknowledgment sent {"connection_id":173237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:49:27] local.INFO: TCP Data received {"connection_id":173480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:27] local.INFO: Processing buffer {"connection_id":173480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:27] local.INFO: Packet analysis {"connection_id":173480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:49:27] local.INFO: Extracted packet for processing {"connection_id":173480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09: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-07 09:49:27] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173480,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:49:27] 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-07 09:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:49:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:49:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":173480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:49:27] local.INFO: GPS data processed {"connection_id":173480,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:49:27] local.INFO: Acknowledgment sent {"connection_id":173480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:49:27] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:27] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:27] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:49:28] local.INFO: TCP Data received {"connection_id":173237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a145520012cff014007003cd0000b013a27..."} 
[2026-09-07 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a145520012cff014007003cd0000b013a27..."} 
[2026-09-07 09:49:28] local.INFO: Processing buffer {"connection_id":173237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a145520012cff014007003cd0000b013a27..."} 
[2026-09-07 09:49:28] local.INFO: Packet analysis {"connection_id":173237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:49:28] local.INFO: Extracted packet for processing {"connection_id":173237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":754909504,"raw_latitude":117456080,"longitude_deg":75.4909504,"latitude_deg":11.745608,"altitude":11,"angle":314,"satellites":39,"speed":12,"hex_longitude":"2cff0140","hex_latitude":"07003cd0","is_valid_coordinates":true} 
[2026-09-07 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921164032001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073705481928704,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71424245271638016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788754548000,"timestamp_ms":1788754548000,"timestamp_seconds":1788754548,"priority":1,"record_length":96,"hex_timestamp":"000001a07a145520"} 
[2026-09-07 09:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:49:28] 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-07 09:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921164032001,"66":27908,"141":206,"94":10240,"24":12,"16":401073705481928704,"44":-71424245271638016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921164032001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:49:28] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:49:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073705481928704,"km_value":401073705481928.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:49:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71424245271638016,"description":"Unknown IO ID 44"} 
[2026-09-07 09:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921164032001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_44":-71424245271638016}} 
[2026-09-07 09:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":173237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:49:28] local.INFO: GPS data processed {"connection_id":173237,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:49:28] local.INFO: Acknowledgment sent {"connection_id":173237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:49:33] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:33] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:49:33] local.INFO: IMEI packet received {"connection_id":173238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":173238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:49:34] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a176260012d0c6140070370b0001300e225..."} 
[2026-09-07 09:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a176260012d0c6140070370b0001300e225..."} 
[2026-09-07 09:49:34] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a176260012d0c6140070370b0001300e225..."} 
[2026-09-07 09:49:34] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:49:34] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117665968,"longitude_deg":75.5786048,"latitude_deg":11.7665968,"altitude":19,"angle":226,"satellites":37,"speed":9,"hex_longitude":"2d0c6140","hex_latitude":"070370b0","is_valid_coordinates":true} 
[2026-09-07 09:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921215232001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30485969924784128,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892275706295314432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788754748000,"timestamp_ms":1788754748000,"timestamp_seconds":1788754748,"priority":1,"record_length":96,"hex_timestamp":"000001a07a176260"} 
[2026-09-07 09:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921215232001,"66":14548,"16":30485969924784128,"94":11008,"24":9,"45":892275706295314432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921215232001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30485969924784128,"km_value":30485969924784.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:49:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":892275706295314432,"description":"Unknown IO ID 45"} 
[2026-09-07 09:49:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921215232001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":892275706295314432}} 
[2026-09-07 09:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:49:34] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:49:34] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:49:45] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:45] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:45] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:49:50] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:50] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:49:50] local.INFO: IMEI packet received {"connection_id":175980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":175980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:49:51] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a145908012cff00c007003d78000b012d26..."} 
[2026-09-07 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a145908012cff00c007003d78000b012d26..."} 
[2026-09-07 09:49:51] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a145908012cff00c007003d78000b012d26..."} 
[2026-09-07 09:49:51] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:49:51] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117456248,"longitude_deg":75.4909376,"latitude_deg":11.7456248,"altitude":11,"angle":301,"satellites":38,"speed":10,"hex_longitude":"2cff00c0","hex_latitude":"07003d78","is_valid_coordinates":true} 
[2026-09-07 09:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921164288001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073718366830592,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71705720248283136,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754549000,"timestamp_ms":1788754549000,"timestamp_seconds":1788754549,"priority":1,"record_length":96,"hex_timestamp":"000001a07a145908"} 
[2026-09-07 09:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:49: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-07 09:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921164288001,"66":27908,"141":206,"94":10240,"24":10,"16":401073718366830592,"44":-71705720248283136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921164288001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:49:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:49:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073718366830592,"km_value":401073718366830.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71705720248283136,"description":"Unknown IO ID 44"} 
[2026-09-07 09:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921164288001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-71705720248283136}} 
[2026-09-07 09:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:49:51] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:49:51] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:49:53] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:53] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:53] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:49:58] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:58] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:49:58] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:49:59] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:59] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:49:59] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:49:59] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09: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-07 09:49:59] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:49:59] 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-07 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:49:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:49:59] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:49:59] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:03] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:03] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:03] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:50:03] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:50:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:04] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:04] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:05] local.INFO: TCP Data received {"connection_id":173238,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a176648012d0c608007037020001300ed25..."} 
[2026-09-07 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a176648012d0c608007037020001300ed25..."} 
[2026-09-07 09:50:05] local.INFO: Processing buffer {"connection_id":173238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a176648012d0c608007037020001300ed25..."} 
[2026-09-07 09:50:05] local.INFO: Packet analysis {"connection_id":173238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:50:05] local.INFO: Extracted packet for processing {"connection_id":173238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":117665824,"longitude_deg":75.5785856,"latitude_deg":11.7665824,"altitude":19,"angle":237,"satellites":37,"speed":9,"hex_longitude":"2d0c6080","hex_latitude":"07037020","is_valid_coordinates":true} 
[2026-09-07 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921215488001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30485982809686016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600062734336,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788754749000,"timestamp_ms":1788754749000,"timestamp_seconds":1788754749,"priority":1,"record_length":96,"hex_timestamp":"000001a07a176648"} 
[2026-09-07 09:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 09:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921215488001,"66":14548,"16":30485982809686016,"94":11008,"24":9,"45":892064600062734336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921215488001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30485982809686016,"km_value":30485982809686.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600062734336,"description":"Unknown IO ID 45"} 
[2026-09-07 09:50:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921215488001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":892064600062734336}} 
[2026-09-07 09:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":173238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777966,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:05] local.INFO: GPS data processed {"connection_id":173238,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:05] local.INFO: Acknowledgment sent {"connection_id":173238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:22] local.INFO: TCP Data received {"connection_id":175980,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:22] local.INFO: Processing buffer {"connection_id":175980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:22] local.INFO: Packet analysis {"connection_id":175980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:50:22] local.INFO: Extracted packet for processing {"connection_id":175980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:50:22] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456800,"longitude_deg":75.4908544,"latitude_deg":11.74568,"altitude":12,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003fa0","is_valid_coordinates":true} 
[2026-09-07 09:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921164544001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736595456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754563000,"timestamp_ms":1788754563000,"timestamp_seconds":1788754563,"priority":1,"record_length":96,"hex_timestamp":"000001a07a148fb8"} 
[2026-09-07 09: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-07 09:50: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-07 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:50: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-07 09: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-07 09: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-07 09:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:50:22] 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-07 09:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921164544001,"66":27767,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-71846457736595456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921164544001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:50:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736595456,"description":"Unknown IO ID 44"} 
[2026-09-07 09:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921164544001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736595456}} 
[2026-09-07 09:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":175980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:22] local.INFO: GPS data processed {"connection_id":175980,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:22] local.INFO: Acknowledgment sent {"connection_id":175980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:27] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:27] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:27] local.INFO: IMEI packet received {"connection_id":173239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":173239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:50:32] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:32] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:50:32] local.INFO: IMEI packet received {"connection_id":173239,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":173239,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:50:33] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a176a30012d0c5f8007036fa8001400fa25..."} 
[2026-09-07 09:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a176a30012d0c5f8007036fa8001400fa25..."} 
[2026-09-07 09:50:33] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a176a30012d0c5f8007036fa8001400fa25..."} 
[2026-09-07 09:50:33] local.INFO: Packet analysis {"connection_id":173239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:50:33] local.INFO: Extracted packet for processing {"connection_id":173239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":755785600,"raw_latitude":117665704,"longitude_deg":75.57856,"latitude_deg":11.7665704,"altitude":20,"angle":250,"satellites":37,"speed":11,"hex_longitude":"2d0c5f80","hex_latitude":"07036fa8","is_valid_coordinates":true} 
[2026-09-07 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921215744001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30485995694587904,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493830164480,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788754750000,"timestamp_ms":1788754750000,"timestamp_seconds":1788754750,"priority":1,"record_length":96,"hex_timestamp":"000001a07a176a30"} 
[2026-09-07 09:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 09:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921215744001,"66":14428,"16":30485995694587904,"94":11008,"24":11,"45":891853493830164480},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921215744001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30485995694587904,"km_value":30485995694587.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493830164480,"description":"Unknown IO ID 45"} 
[2026-09-07 09:50:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921215744001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":891853493830164480}} 
[2026-09-07 09:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":173239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777968,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:33] local.INFO: GPS data processed {"connection_id":173239,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:33] local.INFO: Acknowledgment sent {"connection_id":173239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:45] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:45] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:45] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:50:48] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:48] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:48] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:50:50] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:50] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:50:50] local.INFO: IMEI packet received {"connection_id":175982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":175982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:50:51] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:51] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:50:51] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:50:51] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:50:51] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456800,"longitude_deg":75.4908544,"latitude_deg":11.74568,"altitude":12,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003fa0","is_valid_coordinates":true} 
[2026-09-07 09:50: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-07 09:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921164544001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736595456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754563000,"timestamp_ms":1788754563000,"timestamp_seconds":1788754563,"priority":1,"record_length":96,"hex_timestamp":"000001a07a148fb8"} 
[2026-09-07 09: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-07 09:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:50: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-07 09:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921164544001,"66":27767,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-71846457736595456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921164544001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736595456,"description":"Unknown IO ID 44"} 
[2026-09-07 09:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921164544001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736595456}} 
[2026-09-07 09:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:51] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:51] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:50:53] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:53] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:50:53] local.INFO: IMEI packet received {"connection_id":175983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":175983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:50:55] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:55] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:50:55] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:50:55] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09: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-07 09:50:55] 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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:50: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-07 09:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:50:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:50:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:50:55] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:50:55] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:05] local.INFO: TCP Data received {"connection_id":173239,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a178588012d0c534007036a80001500ef25..."} 
[2026-09-07 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a178588012d0c534007036a80001500ef25..."} 
[2026-09-07 09:51:05] local.INFO: Processing buffer {"connection_id":173239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a178588012d0c534007036a80001500ef25..."} 
[2026-09-07 09:51:05] local.INFO: Packet analysis {"connection_id":173239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:51:05] local.INFO: Extracted packet for processing {"connection_id":173239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a17"} 
[2026-09-07 09:51:05] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":117664384,"longitude_deg":75.5782464,"latitude_deg":11.7664384,"altitude":21,"angle":239,"satellites":37,"speed":19,"hex_longitude":"2d0c5340","hex_latitude":"07036a80","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921216000001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30486158903345152,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891572018853423104,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 09:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788754757000,"timestamp_ms":1788754757000,"timestamp_seconds":1788754757,"priority":1,"record_length":96,"hex_timestamp":"000001a07a178588"} 
[2026-09-07 09: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-07 09:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173239,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921216000001,"66":14450,"16":30486158903345152,"94":11008,"24":19,"45":891572018853423104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 09:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921216000001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30486158903345152,"km_value":30486158903345.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":891572018853423104,"description":"Unknown IO ID 45"} 
[2026-09-07 09:51:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921216000001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":19,"unknown_45":891572018853423104}} 
[2026-09-07 09:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":173239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:05] local.INFO: GPS data processed {"connection_id":173239,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:05] local.INFO: Acknowledgment sent {"connection_id":173239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:23] local.INFO: TCP Data received {"connection_id":175982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:51:23] local.INFO: Processing buffer {"connection_id":175982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a148fb8012cfefd8007003fa0000c012e24..."} 
[2026-09-07 09:51:23] local.INFO: Packet analysis {"connection_id":175982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:51:23] local.INFO: Extracted packet for processing {"connection_id":175982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a14"} 
[2026-09-07 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456800,"longitude_deg":75.4908544,"latitude_deg":11.74568,"altitude":12,"angle":302,"satellites":36,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003fa0","is_valid_coordinates":true} 
[2026-09-07 09:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921164544001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736595456,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788754563000,"timestamp_ms":1788754563000,"timestamp_seconds":1788754563,"priority":1,"record_length":96,"hex_timestamp":"000001a07a148fb8"} 
[2026-09-07 09: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-07 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 09:51: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-07 09: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-07 09: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-07 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:51: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-07 09:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921164544001,"66":27767,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-71846457736595456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921164544001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736595456,"description":"Unknown IO ID 44"} 
[2026-09-07 09:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921164544001,"power":27767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736595456}} 
[2026-09-07 09:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":175982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:23] local.INFO: GPS data processed {"connection_id":175982,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:23] local.INFO: Acknowledgment sent {"connection_id":175982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:26] local.INFO: TCP Data received {"connection_id":175983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:26] local.INFO: Processing buffer {"connection_id":175983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:26] local.INFO: Packet analysis {"connection_id":175983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:51:26] local.INFO: Extracted packet for processing {"connection_id":175983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:51:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09: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-07 09:51:26] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:51: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-07 09:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:51:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":175983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:26] local.INFO: GPS data processed {"connection_id":175983,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:26] local.INFO: Acknowledgment sent {"connection_id":175983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:32] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:32] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:32] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:51:33] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:33] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:33] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:51:38] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:38] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:51:38] local.INFO: IMEI packet received {"connection_id":173240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":173240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:51:38] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a192b68012d0c290007035720001600fd25..."} 
[2026-09-07 09:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a192b68012d0c290007035720001600fd25..."} 
[2026-09-07 09:51:38] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a192b68012d0c290007035720001600fd25..."} 
[2026-09-07 09:51:38] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:38] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":755771648,"raw_latitude":117659424,"longitude_deg":75.5771648,"latitude_deg":11.7659424,"altitude":22,"angle":253,"satellites":37,"speed":15,"hex_longitude":"2d0c2900","hex_latitude":"07035720","is_valid_coordinates":true} 
[2026-09-07 09:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921243904001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30486777378635776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878624169923266560,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788754865000,"timestamp_ms":1788754865000,"timestamp_seconds":1788754865,"priority":1,"record_length":96,"hex_timestamp":"000001a07a192b68"} 
[2026-09-07 09:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921243904001,"66":14515,"37":206,"94":11008,"24":15,"16":30486777378635776,"45":878624169923266560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921243904001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:38] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:51:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30486777378635776,"km_value":30486777378635.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":878624169923266560,"description":"Unknown IO ID 45"} 
[2026-09-07 09:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921243904001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":878624169923266560}} 
[2026-09-07 09:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777974,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:39] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:39] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:43] local.INFO: TCP Data received {"connection_id":173240,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193b08012d0c218007035450001500f224..."} 
[2026-09-07 09:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193b08012d0c218007035450001500f224..."} 
[2026-09-07 09:51:43] local.INFO: Processing buffer {"connection_id":173240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193b08012d0c218007035450001500f224..."} 
[2026-09-07 09:51:43] local.INFO: Packet analysis {"connection_id":173240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:43] local.INFO: Extracted packet for processing {"connection_id":173240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:43] local.INFO: GPS Element Parsed {"raw_longitude":755769728,"raw_latitude":117658704,"longitude_deg":75.5769728,"latitude_deg":11.7658704,"altitude":21,"angle":242,"satellites":36,"speed":17,"hex_longitude":"2d0c2180","hex_latitude":"07035450","is_valid_coordinates":true} 
[2026-09-07 09:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921245440001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30486876162883584,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876231632621084672,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788754869000,"timestamp_ms":1788754869000,"timestamp_seconds":1788754869,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193b08"} 
[2026-09-07 09:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921245440001,"66":14494,"37":206,"94":11008,"24":17,"16":30486876162883584,"45":876231632621084672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921245440001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:51:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30486876162883584,"km_value":30486876162883.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":876231632621084672,"description":"Unknown IO ID 45"} 
[2026-09-07 09:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921245440001,"power":14494,"unknown_37":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":876231632621084672}} 
[2026-09-07 09:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":173240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777975,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:43] local.INFO: GPS data processed {"connection_id":173240,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:43] local.INFO: Acknowledgment sent {"connection_id":173240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:45] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:45] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:45] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:51:46] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:46] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:46] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:51:48] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:48] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:48] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:51:50] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:50] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:51:50] local.INFO: IMEI packet received {"connection_id":173482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:51:51] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:51:51] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:51:51] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:51] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09: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-07 09:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:51: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-07 09:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:51] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:51] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:51:53] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:53] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:51:53] local.INFO: IMEI packet received {"connection_id":175984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:51:54] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:54] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:51:54] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:51:54] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:51:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:51: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-07 09:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:51: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-07 09:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:51:54] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:51:54] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:52:17] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:17] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:17] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:52:23] local.INFO: TCP Data received {"connection_id":173482,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:23] local.INFO: Processing buffer {"connection_id":173482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:23] local.INFO: Packet analysis {"connection_id":173482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:52:23] local.INFO: Extracted packet for processing {"connection_id":173482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 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-07 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:52: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-07 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:52:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:52:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":173482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:52:23] local.INFO: GPS data processed {"connection_id":173482,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:52:23] local.INFO: Acknowledgment sent {"connection_id":173482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:52:25] local.INFO: TCP Data received {"connection_id":175984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:25] local.INFO: Processing buffer {"connection_id":175984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:25] local.INFO: Packet analysis {"connection_id":175984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:52:25] local.INFO: Extracted packet for processing {"connection_id":175984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 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-07 09:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 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-07 09:52:25] 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-07 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:52:25] 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-07 09:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:52:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:52:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":175984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:52:26] local.INFO: GPS data processed {"connection_id":175984,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:52:26] local.INFO: Acknowledgment sent {"connection_id":175984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:52:26] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:26] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:26] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:52:27] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:27] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:27] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:52:32] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:33] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:52:33] local.INFO: IMEI packet received {"connection_id":174625,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":174625,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:52:33] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1a1d98012d0bf940070359e0000e013421..."} 
[2026-09-07 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1a1d98012d0bf940070359e0000e013421..."} 
[2026-09-07 09:52:33] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1a1d98012d0bf940070359e0000e013421..."} 
[2026-09-07 09:52:33] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:52:33] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755759424,"raw_latitude":117660128,"longitude_deg":75.5759424,"latitude_deg":11.7660128,"altitude":14,"angle":308,"satellites":33,"speed":12,"hex_longitude":"2d0bf940","hex_latitude":"070359e0","is_valid_coordinates":true} 
[2026-09-07 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921261056001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30487773811048448,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863072677459994624,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788754927000,"timestamp_ms":1788754927000,"timestamp_seconds":1788754927,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1a1d98"} 
[2026-09-07 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921261056001,"66":14428,"37":206,"94":11008,"24":12,"16":30487773811048448,"45":863072677459994624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921261056001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30487773811048448,"km_value":30487773811048.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":863072677459994624,"description":"Unknown IO ID 45"} 
[2026-09-07 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921261056001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":863072677459994624}} 
[2026-09-07 09:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777980,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:52:34] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:52:34] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:52:45] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:45] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:45] local.INFO: IMEI packet received {"connection_id":175985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:52:47] local.INFO: TCP Data received {"connection_id":173241,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:47] local.INFO: Processing buffer {"connection_id":173241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:52:47] local.INFO: IMEI packet received {"connection_id":173241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":173241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:52:48] local.INFO: TCP Data received {"connection_id":173484,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:48] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:48] local.INFO: IMEI packet received {"connection_id":173484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":173484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:52:50] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:50] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:52:50] local.INFO: IMEI packet received {"connection_id":175985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":175985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:52:52] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:52] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:52:52] local.INFO: Packet analysis {"connection_id":175985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:52:52] local.INFO: Extracted packet for processing {"connection_id":175985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 09:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 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-07 09:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:52:52] 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-07 09:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:52:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:52:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":175985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:52:52] local.INFO: GPS data processed {"connection_id":175985,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:52:52] local.INFO: Acknowledgment sent {"connection_id":175985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:52:53] local.INFO: TCP Data received {"connection_id":173484,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:53] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:52:53] local.INFO: IMEI packet received {"connection_id":173484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:52:54] local.INFO: TCP Data received {"connection_id":173484,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:54] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a166860012d7d304005ec5b880000012f21..."} 
[2026-09-07 09:52:54] local.INFO: Packet analysis {"connection_id":173484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:52:54] local.INFO: Extracted packet for processing {"connection_id":173484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a16"} 
[2026-09-07 09:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":33,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921122048001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754684000,"timestamp_ms":1788754684000,"timestamp_seconds":1788754684,"priority":1,"record_length":96,"hex_timestamp":"000001a07a166860"} 
[2026-09-07 09: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-07 09: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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:52: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-07 09:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921122048001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921122048001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:52:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:52:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921122048001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:52:54] local.INFO: GPS data processed {"connection_id":173484,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:52:54] local.INFO: Acknowledgment sent {"connection_id":173484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:06] local.INFO: TCP Data received {"connection_id":174625,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1a2568012d0bf74007035b38000e012222..."} 
[2026-09-07 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1a2568012d0bf74007035b38000e012222..."} 
[2026-09-07 09:53:06] local.INFO: Processing buffer {"connection_id":174625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1a2568012d0bf74007035b38000e012222..."} 
[2026-09-07 09:53:06] local.INFO: Packet analysis {"connection_id":174625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:53:06] local.INFO: Extracted packet for processing {"connection_id":174625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755758912,"raw_latitude":117660472,"longitude_deg":75.5758912,"latitude_deg":11.7660472,"altitude":14,"angle":290,"satellites":34,"speed":12,"hex_longitude":"2d0bf740","hex_latitude":"07035b38","is_valid_coordinates":true} 
[2026-09-07 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921261312001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30487808170786816,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862791202483331072,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788754929000,"timestamp_ms":1788754929000,"timestamp_seconds":1788754929,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1a2568"} 
[2026-09-07 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174625,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921261312001,"66":14537,"37":206,"94":11008,"24":12,"16":30487808170786816,"45":862791202483331072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921261312001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30487808170786816,"km_value":30487808170786.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":862791202483331072,"description":"Unknown IO ID 45"} 
[2026-09-07 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921261312001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":862791202483331072}} 
[2026-09-07 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":174625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777983,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:06] local.INFO: GPS data processed {"connection_id":174625,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:06] local.INFO: Acknowledgment sent {"connection_id":174625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:24] local.INFO: TCP Data received {"connection_id":175985,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:24] local.INFO: Processing buffer {"connection_id":175985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:24] local.INFO: Packet analysis {"connection_id":175985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:53:24] local.INFO: Extracted packet for processing {"connection_id":175985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:24] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:53:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":175985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:24] local.INFO: GPS data processed {"connection_id":175985,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:24] local.INFO: Acknowledgment sent {"connection_id":175985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:26] local.INFO: TCP Data received {"connection_id":173484,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:26] local.INFO: Processing buffer {"connection_id":173484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:26] local.INFO: Packet analysis {"connection_id":173484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:53:26] local.INFO: Extracted packet for processing {"connection_id":173484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:53: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-07 09:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:26] local.INFO: GPS data processed {"connection_id":173484,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:26] local.INFO: Acknowledgment sent {"connection_id":173484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:28] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:28] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:28] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:53:33] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:33] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:53:33] local.INFO: IMEI packet received {"connection_id":173242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":173242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:53:34] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1a2950012d0bf5c007035b68000d011323..."} 
[2026-09-07 09:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1a2950012d0bf5c007035b68000d011323..."} 
[2026-09-07 09:53:34] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1a2950012d0bf5c007035b68000d011323..."} 
[2026-09-07 09:53:34] local.INFO: Packet analysis {"connection_id":173242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:53:34] local.INFO: Extracted packet for processing {"connection_id":173242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1a"} 
[2026-09-07 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755758528,"raw_latitude":117660520,"longitude_deg":75.5758528,"latitude_deg":11.766052,"altitude":13,"angle":275,"satellites":35,"speed":14,"hex_longitude":"2d0bf5c0","hex_latitude":"07035b68","is_valid_coordinates":true} 
[2026-09-07 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921261824001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30487825350656000,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862228252529997824,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788754930000,"timestamp_ms":1788754930000,"timestamp_seconds":1788754930,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1a2950"} 
[2026-09-07 09:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921261824001,"66":14461,"37":206,"94":11008,"24":14,"16":30487825350656000,"45":862228252529997824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921261824001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30487825350656000,"km_value":30487825350656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":862228252529997824,"description":"Unknown IO ID 45"} 
[2026-09-07 09:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921261824001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":862228252529997824}} 
[2026-09-07 09:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":173242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777986,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:34] local.INFO: GPS data processed {"connection_id":173242,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:34] local.INFO: Acknowledgment sent {"connection_id":173242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:48] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:48] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:48] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:53:50] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:50] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:50] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:53:53] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:53] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:53:53] local.INFO: IMEI packet received {"connection_id":174626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":174626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:53:54] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:54] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:53:54] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:53:54] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:53:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:54] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:54] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:53:55] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:55] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:53:55] local.INFO: IMEI packet received {"connection_id":173243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":173243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:53:56] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:56] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:53:56] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:53:56] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:53:56] local.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-07 09:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:53:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:53:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:53:56] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:53:56] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:01] local.INFO: TCP Data received {"connection_id":173243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:01] local.INFO: Processing buffer {"connection_id":173243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:01] local.INFO: Packet analysis {"connection_id":173243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:54:01] local.INFO: Extracted packet for processing {"connection_id":173243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":173243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:01] local.INFO: GPS data processed {"connection_id":173243,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:01] local.INFO: Acknowledgment sent {"connection_id":173243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:05] local.INFO: TCP Data received {"connection_id":173242,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1bc760012d0b86c0070350d0001300dd23..."} 
[2026-09-07 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1bc760012d0b86c0070350d0001300dd23..."} 
[2026-09-07 09:54:05] local.INFO: Processing buffer {"connection_id":173242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1bc760012d0b86c0070350d0001300dd23..."} 
[2026-09-07 09:54:05] local.INFO: Packet analysis {"connection_id":173242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:05] local.INFO: Extracted packet for processing {"connection_id":173242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755730112,"raw_latitude":117657808,"longitude_deg":75.5730112,"latitude_deg":11.7657808,"altitude":19,"angle":221,"satellites":35,"speed":9,"hex_longitude":"2d0b86c0","hex_latitude":"070350d0","is_valid_coordinates":true} 
[2026-09-07 09:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921288960001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30489204035158016,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830843792626110464,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788755036000,"timestamp_ms":1788755036000,"timestamp_seconds":1788755036,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1bc760"} 
[2026-09-07 09:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921288960001,"66":14428,"37":206,"94":11008,"24":9,"16":30489204035158016,"45":830843792626110464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921288960001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:54:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30489204035158016,"km_value":30489204035158.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":830843792626110464,"description":"Unknown IO ID 45"} 
[2026-09-07 09:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921288960001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":830843792626110464}} 
[2026-09-07 09:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":173242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777990,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:05] local.INFO: GPS data processed {"connection_id":173242,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:05] local.INFO: Acknowledgment sent {"connection_id":173242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:26] local.INFO: TCP Data received {"connection_id":174626,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:26] local.INFO: Processing buffer {"connection_id":174626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:26] local.INFO: Packet analysis {"connection_id":174626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:26] local.INFO: Extracted packet for processing {"connection_id":174626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:54:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":174626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:26] local.INFO: GPS data processed {"connection_id":174626,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:26] local.INFO: Acknowledgment sent {"connection_id":174626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:28] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:28] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:28] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:54:33] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:33] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:54:33] local.INFO: IMEI packet received {"connection_id":173245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":173245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:54:33] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1bcb48012d0b864007034fd8001300c823..."} 
[2026-09-07 09:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1bcb48012d0b864007034fd8001300c823..."} 
[2026-09-07 09:54:33] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1bcb48012d0b864007034fd8001300c823..."} 
[2026-09-07 09:54:33] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:33] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:33] local.INFO: GPS Element Parsed {"raw_longitude":755729984,"raw_latitude":117657560,"longitude_deg":75.5729984,"latitude_deg":11.765756,"altitude":19,"angle":200,"satellites":35,"speed":11,"hex_longitude":"2d0b8640","hex_latitude":"07034fd8","is_valid_coordinates":true} 
[2026-09-07 09:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921289216001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30489221215027200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830562317649367040,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788755037000,"timestamp_ms":1788755037000,"timestamp_seconds":1788755037,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1bcb48"} 
[2026-09-07 09:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921289216001,"66":14428,"37":206,"94":11008,"24":11,"16":30489221215027200,"45":830562317649367040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921289216001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:54:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30489221215027200,"km_value":30489221215027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":830562317649367040,"description":"Unknown IO ID 45"} 
[2026-09-07 09:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921289216001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":830562317649367040}} 
[2026-09-07 09:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777992,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:34] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:34] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:45] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:45] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:45] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:54:50] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:50] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:54:50] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:54:51] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:51] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:54:51] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:54:51] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09:54: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-07 09:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:54: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-07 09:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:54:51] 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-07 09:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:51] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:51] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:54:53] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:53] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:53] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:54:58] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:58] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:54:58] local.INFO: IMEI packet received {"connection_id":175987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":175987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:54:59] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:59] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:54:59] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:59] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:54:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:54:59] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:54:59] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:04] local.INFO: TCP Data received {"connection_id":175987,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:04] local.INFO: Processing buffer {"connection_id":175987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:04] local.INFO: Packet analysis {"connection_id":175987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:04] local.INFO: Extracted packet for processing {"connection_id":175987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":175987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:04] local.INFO: GPS data processed {"connection_id":175987,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:04] local.INFO: Acknowledgment sent {"connection_id":175987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:05] local.INFO: TCP Data received {"connection_id":173245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1bcf30012d0b860007034e90001300bc23..."} 
[2026-09-07 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1bcf30012d0b860007034e90001300bc23..."} 
[2026-09-07 09:55:05] local.INFO: Processing buffer {"connection_id":173245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1bcf30012d0b860007034e90001300bc23..."} 
[2026-09-07 09:55:05] local.INFO: Packet analysis {"connection_id":173245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:05] local.INFO: Extracted packet for processing {"connection_id":173245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755729920,"raw_latitude":117657232,"longitude_deg":75.572992,"latitude_deg":11.7657232,"altitude":19,"angle":188,"satellites":35,"speed":12,"hex_longitude":"2d0b8600","hex_latitude":"07034e90","is_valid_coordinates":true} 
[2026-09-07 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921289472001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30489234099929088,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830421580160948224,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788755038000,"timestamp_ms":1788755038000,"timestamp_seconds":1788755038,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1bcf30"} 
[2026-09-07 09:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921289472001,"66":14407,"37":206,"94":11008,"24":12,"16":30489234099929088,"45":830421580160948224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921289472001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:55:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30489234099929088,"km_value":30489234099929.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":830421580160948224,"description":"Unknown IO ID 45"} 
[2026-09-07 09:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921289472001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":830421580160948224}} 
[2026-09-07 09:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":173245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777996,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:05] local.INFO: GPS data processed {"connection_id":173245,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:05] local.INFO: Acknowledgment sent {"connection_id":173245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:22] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:22] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:22] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:55:22] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:55:22] 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-07 09:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:55:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:22] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:22] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:28] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:28] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:28] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:55:32] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:32] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:32] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:55:35] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:35] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:55:35] local.INFO: IMEI packet received {"connection_id":175988,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":175988,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:55:37] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1cadd8012d0b688007034eb00011011f21..."} 
[2026-09-07 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1cadd8012d0b688007034eb00011011f21..."} 
[2026-09-07 09:55:37] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1cadd8012d0b688007034eb00011011f21..."} 
[2026-09-07 09:55:37] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:55:37] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":755722368,"raw_latitude":117657264,"longitude_deg":75.5722368,"latitude_deg":11.7657264,"altitude":17,"angle":287,"satellites":33,"speed":18,"hex_longitude":"2d0b6880","hex_latitude":"07034eb0","is_valid_coordinates":true} 
[2026-09-07 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921303808001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30489762380906496,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124533790720,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788755095000,"timestamp_ms":1788755095000,"timestamp_seconds":1788755095,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1cadd8"} 
[2026-09-07 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921303808001,"66":14450,"37":206,"94":11008,"24":18,"16":30489762380906496,"45":822892124533790720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921303808001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30489762380906496,"km_value":30489762380906.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124533790720,"description":"Unknown IO ID 45"} 
[2026-09-07 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921303808001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":822892124533790720}} 
[2026-09-07 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777998,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:37] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:37] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:40] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1ce0a0012d0b5280070352900013011223..."} 
[2026-09-07 09:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1ce0a0012d0b5280070352900013011223..."} 
[2026-09-07 09:55:40] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1ce0a0012d0b5280070352900013011223..."} 
[2026-09-07 09:55:40] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:55:40] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":117658256,"longitude_deg":75.5716736,"latitude_deg":11.7658256,"altitude":19,"angle":274,"satellites":35,"speed":19,"hex_longitude":"2d0b5280","hex_latitude":"07035290","is_valid_coordinates":true} 
[2026-09-07 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921304320001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30490037258813440,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822047699603730432,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788755108000,"timestamp_ms":1788755108000,"timestamp_seconds":1788755108,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1ce0a0"} 
[2026-09-07 09:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921304320001,"66":14407,"37":206,"94":11008,"24":19,"16":30490037258813440,"45":822047699603730432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921304320001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:40] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:55:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30490037258813440,"km_value":30490037258813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":822047699603730432,"description":"Unknown IO ID 45"} 
[2026-09-07 09:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921304320001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":822047699603730432}} 
[2026-09-07 09:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":777999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:40] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:40] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:46] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:46] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:46] local.INFO: IMEI packet received {"connection_id":173246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:55:48] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:48] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:48] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:55:50] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:50] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:55:50] local.INFO: IMEI packet received {"connection_id":173246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":173246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:55:51] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:51] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:55:51] local.INFO: Packet analysis {"connection_id":173246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:55:51] local.INFO: Extracted packet for processing {"connection_id":173246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:55:51] 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-07 09:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:55:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":173246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:51] local.INFO: GPS data processed {"connection_id":173246,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:51] local.INFO: Acknowledgment sent {"connection_id":173246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:55:54] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:54] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:55:54] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:55:55] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:55] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:55:55] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:55] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:55:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:55:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:55:55] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:55:55] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:14] local.INFO: TCP Data received {"connection_id":175988,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1ce870012d0b4e40070352400013010123..."} 
[2026-09-07 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1ce870012d0b4e40070352400013010123..."} 
[2026-09-07 09:56:14] local.INFO: Processing buffer {"connection_id":175988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1ce870012d0b4e40070352400013010123..."} 
[2026-09-07 09:56:14] local.INFO: Packet analysis {"connection_id":175988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:56:14] local.INFO: Extracted packet for processing {"connection_id":175988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1c"} 
[2026-09-07 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117658176,"longitude_deg":75.5715648,"latitude_deg":11.7658176,"altitude":19,"angle":257,"satellites":35,"speed":22,"hex_longitude":"2d0b4e40","hex_latitude":"07035240","is_valid_coordinates":true} 
[2026-09-07 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921307648001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30490088798420992,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250116349952,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788755110000,"timestamp_ms":1788755110000,"timestamp_seconds":1788755110,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1ce870"} 
[2026-09-07 09:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":175988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":175988,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921307648001,"66":14374,"37":206,"94":11008,"24":22,"16":30490088798420992,"45":815855250116349952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921307648001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:56:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30490088798420992,"km_value":30490088798420.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250116349952,"description":"Unknown IO ID 45"} 
[2026-09-07 09:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921307648001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":815855250116349952}} 
[2026-09-07 09:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":175988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778002,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:14] local.INFO: GPS data processed {"connection_id":175988,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:14] local.INFO: Acknowledgment sent {"connection_id":175988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:22] local.INFO: TCP Data received {"connection_id":173246,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:56:22] local.INFO: Processing buffer {"connection_id":173246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a193720012cfefa8007004238000d012e28..."} 
[2026-09-07 09:56:22] local.INFO: Packet analysis {"connection_id":173246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:56:22] local.INFO: Extracted packet for processing {"connection_id":173246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a19"} 
[2026-09-07 09:56:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921168128001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410763776,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788754868000,"timestamp_ms":1788754868000,"timestamp_seconds":1788754868,"priority":1,"record_length":96,"hex_timestamp":"000001a07a193720"} 
[2026-09-07 09: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-07 09:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:56:22] 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-07 09:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921168128001,"66":26452,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-72761251410763776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921168128001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410763776,"description":"Unknown IO ID 44"} 
[2026-09-07 09:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921168128001,"power":26452,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410763776}} 
[2026-09-07 09:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":173246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:22] local.INFO: GPS data processed {"connection_id":173246,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:22] local.INFO: Acknowledgment sent {"connection_id":173246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:27] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:27] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:27] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:56:27] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:56:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:27] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:27] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:41] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:41] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:41] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:56:43] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:43] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:43] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:45] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:45] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:45] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:56:47] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:47] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:47] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:48] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:48] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:56:48] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:48] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:48] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:48] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:56:50] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1e1d08012d0b278007036078001400dc1f..."} 
[2026-09-07 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1e1d08012d0b278007036078001400dc1f..."} 
[2026-09-07 09:56:50] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1e1d08012d0b278007036078001400dc1f..."} 
[2026-09-07 09:56:50] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:56:50] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:56:50] local.INFO: GPS Element Parsed {"raw_longitude":755705728,"raw_latitude":117661816,"longitude_deg":75.5705728,"latitude_deg":11.7661816,"altitude":20,"angle":220,"satellites":31,"speed":3,"hex_longitude":"2d0b2780","hex_latitude":"07036078","is_valid_coordinates":true} 
[2026-09-07 09:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30490891957305344,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804736988537643008,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788755189000,"timestamp_ms":1788755189000,"timestamp_seconds":1788755189,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1e1d08"} 
[2026-09-07 09:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:56:50] 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-07 09:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":14396,"17":206,"94":11008,"24":3,"16":30490891957305344,"45":804736988537643008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 09:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30490891957305344,"km_value":30490891957305.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":804736988537643008,"description":"Unknown IO ID 45"} 
[2026-09-07 09:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":804736988537643008}} 
[2026-09-07 09:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:50] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:50] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:50] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:50] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:56:50] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:51] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:56:51] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:56:51] local.INFO: Packet analysis {"connection_id":173489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:56:51] local.INFO: Extracted packet for processing {"connection_id":173489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:56:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09: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-07 09:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:56:51] 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-07 09:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:56:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":173489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:51] local.INFO: GPS data processed {"connection_id":173489,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:51] local.INFO: Acknowledgment sent {"connection_id":173489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:52] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1e2ca8012d0b260007035e58001400ce1f..."} 
[2026-09-07 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1e2ca8012d0b260007035e58001400ce1f..."} 
[2026-09-07 09:56:52] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1e2ca8012d0b260007035e58001400ce1f..."} 
[2026-09-07 09:56:52] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:56:52] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:56:52] local.INFO: GPS Element Parsed {"raw_longitude":755705344,"raw_latitude":117661272,"longitude_deg":75.5705344,"latitude_deg":11.7661272,"altitude":20,"angle":206,"satellites":31,"speed":5,"hex_longitude":"2d0b2600","hex_latitude":"07035e58","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921328384001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30490926317043712,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803751826118703104,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788755193000,"timestamp_ms":1788755193000,"timestamp_seconds":1788755193,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1e2ca8"} 
[2026-09-07 09: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-07 09: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-07 09:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:56: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-07 09: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-07 09: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-07 09:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921328384001,"66":14309,"17":206,"94":11008,"24":5,"16":30490926317043712,"45":803751826118703104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 09:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921328384001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30490926317043712,"km_value":30490926317043.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":803751826118703104,"description":"Unknown IO ID 45"} 
[2026-09-07 09:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921328384001,"power":14309,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":803751826118703104}} 
[2026-09-07 09:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778007,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:52] local.INFO: GPS data processed {"connection_id":173488,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:52] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:56:53] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:53] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:56:53] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:56:54] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:54] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:56:54] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:56:54] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:56:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:56:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:56:54] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:56:54] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:57:22] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:22] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:22] local.INFO: Packet analysis {"connection_id":173489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:57:22] local.INFO: Extracted packet for processing {"connection_id":173489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09: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-07 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:57:22] 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-07 09:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:57:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":173489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:57:22] local.INFO: GPS data processed {"connection_id":173489,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:57:22] local.INFO: Acknowledgment sent {"connection_id":173489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:57:26] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:26] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:26] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:57:26] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:57:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:57:26] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:57:26] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:57:27] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:27] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:27] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:57:33] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:33] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:57:33] local.INFO: IMEI packet received {"connection_id":173247,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":173247,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:57:35] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1e3860012d0b250007035d08001400db20..."} 
[2026-09-07 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1e3860012d0b250007035d08001400db20..."} 
[2026-09-07 09:57:35] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1e3860012d0b250007035d08001400db20..."} 
[2026-09-07 09:57:35] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:57:35] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1e"} 
[2026-09-07 09:57:35] local.INFO: GPS Element Parsed {"raw_longitude":755705088,"raw_latitude":117660936,"longitude_deg":75.5705088,"latitude_deg":11.7660936,"altitude":20,"angle":219,"satellites":32,"speed":4,"hex_longitude":"2d0b2500","hex_latitude":"07035d08","is_valid_coordinates":true} 
[2026-09-07 09:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921329408001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30490943496912896,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803329613653497856,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788755196000,"timestamp_ms":1788755196000,"timestamp_seconds":1788755196,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1e3860"} 
[2026-09-07 09:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 09:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921329408001,"66":14515,"17":206,"94":11008,"24":4,"16":30490943496912896,"45":803329613653497856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 09:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921329408001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:57:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30490943496912896,"km_value":30490943496912.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":803329613653497856,"description":"Unknown IO ID 45"} 
[2026-09-07 09:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921329408001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":803329613653497856}} 
[2026-09-07 09:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:57:35] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:57:35] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:57:45] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:45] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:45] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:57:48] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:48] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:48] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:57:50] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:50] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:57:50] local.INFO: IMEI packet received {"connection_id":173248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:57:51] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:51] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:57:51] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:57:51] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:57:51] 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-07 09:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:57:51] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:57:51] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:57:53] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:53] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:57:53] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:57:55] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:55] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1b0028012d7d304005ec5b880000012f24..."} 
[2026-09-07 09:57:55] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:57:55] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1b"} 
[2026-09-07 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921199104001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788754985000,"timestamp_ms":1788754985000,"timestamp_seconds":1788754985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1b0028"} 
[2026-09-07 09: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-07 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 09:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921199104001,"66":2242,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921199104001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:57:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:57:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921199104001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:57:55] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:57:55] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:06] local.INFO: TCP Data received {"connection_id":173247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f8080012d0aea400702d628000300bd22..."} 
[2026-09-07 09:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f8080012d0aea400702d628000300bd22..."} 
[2026-09-07 09:58:06] local.INFO: Processing buffer {"connection_id":173247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f8080012d0aea400702d628000300bd22..."} 
[2026-09-07 09:58:06] local.INFO: Packet analysis {"connection_id":173247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:06] local.INFO: Extracted packet for processing {"connection_id":173247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":755690048,"raw_latitude":117626408,"longitude_deg":75.5690048,"latitude_deg":11.7626408,"altitude":3,"angle":189,"satellites":34,"speed":13,"hex_longitude":"2d0aea40","hex_latitude":"0702d628","is_valid_coordinates":true} 
[2026-09-07 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921350144001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30492798922784768,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787215171228416000,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788755280000,"timestamp_ms":1788755280000,"timestamp_seconds":1788755280,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f8080"} 
[2026-09-07 09:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173247,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921350144001,"66":14428,"37":206,"94":11008,"24":13,"16":30492798922784768,"45":787215171228416000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921350144001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:58:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30492798922784768,"km_value":30492798922784.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":787215171228416000,"description":"Unknown IO ID 45"} 
[2026-09-07 09:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921350144001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":787215171228416000}} 
[2026-09-07 09:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":173247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:06] local.INFO: GPS data processed {"connection_id":173247,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:06] local.INFO: Acknowledgment sent {"connection_id":173247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:12] local.INFO: TCP Data received {"connection_id":174628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:58:12] local.INFO: Processing buffer {"connection_id":174628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 09:58:12] local.INFO: IMEI packet received {"connection_id":174628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 09:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":174628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:58:24] local.INFO: TCP Data received {"connection_id":173248,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:24] local.INFO: Processing buffer {"connection_id":173248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:24] local.INFO: Packet analysis {"connection_id":173248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:58:24] local.INFO: Extracted packet for processing {"connection_id":173248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09: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-07 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:58:24] 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-07 09:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:24] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:58:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":173248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:24] local.INFO: GPS data processed {"connection_id":173248,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:24] local.INFO: Acknowledgment sent {"connection_id":173248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:27] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:27] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:27] local.INFO: Packet analysis {"connection_id":173492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:27] local.INFO: Extracted packet for processing {"connection_id":173492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921276160001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788755286000,"timestamp_ms":1788755286000,"timestamp_seconds":1788755286,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f97f0"} 
[2026-09-07 09:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:58:27] 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-07 09:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173492,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921276160001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921276160001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921276160001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":173492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:27] local.INFO: GPS data processed {"connection_id":173492,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:27] local.INFO: Acknowledgment sent {"connection_id":173492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:29] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:29] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:29] local.INFO: IMEI packet received {"connection_id":173493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":173493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:58:32] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:32] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:58:32] local.INFO: IMEI packet received {"connection_id":173493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":173493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:58:33] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f8468012d0aea400702d4d8000300a922..."} 
[2026-09-07 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f8468012d0aea400702d4d8000300a922..."} 
[2026-09-07 09:58:33] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f8468012d0aea400702d4d8000300a922..."} 
[2026-09-07 09:58:33] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:33] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":755690048,"raw_latitude":117626072,"longitude_deg":75.5690048,"latitude_deg":11.7626072,"altitude":3,"angle":169,"satellites":34,"speed":12,"hex_longitude":"2d0aea40","hex_latitude":"0702d4d8","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921351680001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30492811807686656,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786511483786110976,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788755281000,"timestamp_ms":1788755281000,"timestamp_seconds":1788755281,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f8468"} 
[2026-09-07 09:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921351680001,"66":14428,"37":206,"94":11008,"24":12,"16":30492811807686656,"45":786511483786110976},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921351680001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30492811807686656,"km_value":30492811807686.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":786511483786110976,"description":"Unknown IO ID 45"} 
[2026-09-07 09:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921351680001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":786511483786110976}} 
[2026-09-07 09:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778017,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:34] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:34] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:37] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f8850012d0aeb000702d3980003009a21..."} 
[2026-09-07 09:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f8850012d0aeb000702d3980003009a21..."} 
[2026-09-07 09:58:37] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f8850012d0aeb000702d3980003009a21..."} 
[2026-09-07 09:58:37] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:37] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":755690240,"raw_latitude":117625752,"longitude_deg":75.569024,"latitude_deg":11.7625752,"altitude":3,"angle":154,"satellites":33,"speed":13,"hex_longitude":"2d0aeb00","hex_latitude":"0702d398","is_valid_coordinates":true} 
[2026-09-07 09:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921351936001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30492828987555840,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786511483786024960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788755282000,"timestamp_ms":1788755282000,"timestamp_seconds":1788755282,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f8850"} 
[2026-09-07 09:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921351936001,"66":14374,"37":206,"94":11008,"24":13,"16":30492828987555840,"45":786511483786024960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 09:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921351936001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:37] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 09:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30492828987555840,"km_value":30492828987555.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":786511483786024960,"description":"Unknown IO ID 45"} 
[2026-09-07 09:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921351936001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":786511483786024960}} 
[2026-09-07 09:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:37] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:37] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:48] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:48] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:48] local.INFO: IMEI packet received {"connection_id":175989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 09:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:58:50] local.INFO: TCP Data received {"connection_id":173249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:50] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:50] local.INFO: IMEI packet received {"connection_id":173249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":173249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:58:53] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:53] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 09:58:53] local.INFO: IMEI packet received {"connection_id":175989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":175989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:58:55] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:55] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:58:55] local.INFO: Packet analysis {"connection_id":175989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:55] local.INFO: Extracted packet for processing {"connection_id":175989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921276160001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788755286000,"timestamp_ms":1788755286000,"timestamp_seconds":1788755286,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f97f0"} 
[2026-09-07 09: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-07 09:58:55] 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-07 09: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":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921276160001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921276160001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:58:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921276160001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":175989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:55] local.INFO: GPS data processed {"connection_id":175989,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:55] local.INFO: Acknowledgment sent {"connection_id":175989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:58:55] local.INFO: TCP Data received {"connection_id":173249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:55] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:58:55] local.INFO: IMEI packet received {"connection_id":173249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":173249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:58:56] local.INFO: TCP Data received {"connection_id":173249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:56] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:58:56] local.INFO: Packet analysis {"connection_id":173249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:58:56] local.INFO: Extracted packet for processing {"connection_id":173249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:58:56] 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-07 09:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:58:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:58:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":173249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:58:56] local.INFO: GPS data processed {"connection_id":173249,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:58:56] local.INFO: Acknowledgment sent {"connection_id":173249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:59:01] local.INFO: TCP Data received {"connection_id":173249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:01] local.INFO: Processing buffer {"connection_id":173249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:01] local.INFO: Packet analysis {"connection_id":173249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:59:01] local.INFO: Extracted packet for processing {"connection_id":173249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:59:01] 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-07 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:59:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:59:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":173249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:59:01] local.INFO: GPS data processed {"connection_id":173249,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:59:01] local.INFO: Acknowledgment sent {"connection_id":173249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:59:16] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2072b0012d0b160007029d60000f00751f..."} 
[2026-09-07 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2072b0012d0b160007029d60000f00751f..."} 
[2026-09-07 09:59:16] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2072b0012d0b160007029d60000f00751f..."} 
[2026-09-07 09:59:16] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 09:59:16] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 09:59:16] local.INFO: GPS Element Parsed {"raw_longitude":755701248,"raw_latitude":117611872,"longitude_deg":75.5701248,"latitude_deg":11.7611872,"altitude":15,"angle":117,"satellites":31,"speed":8,"hex_longitude":"2d0b1600","hex_latitude":"07029d60","is_valid_coordinates":true} 
[2026-09-07 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-07 09:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921367040001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493773880360960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798403801548460032,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788755342000,"timestamp_ms":1788755342000,"timestamp_seconds":1788755342,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2072b0"} 
[2026-09-07 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-07 09:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 09:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 09:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921367040001,"66":13602,"17":206,"94":11008,"24":8,"16":30493773880360960,"45":798403801548460032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 09:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921367040001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:59:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493773880360960,"km_value":30493773880360.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":798403801548460032,"description":"Unknown IO ID 45"} 
[2026-09-07 09:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921367040001,"power":13602,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":798403801548460032}} 
[2026-09-07 09:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:59:17] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:59:17] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:59:27] local.INFO: TCP Data received {"connection_id":175989,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:59:27] local.INFO: Processing buffer {"connection_id":175989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1f97f0012d7d304005ec5b880000012f25..."} 
[2026-09-07 09:59:27] local.INFO: Packet analysis {"connection_id":175989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:59:27] local.INFO: Extracted packet for processing {"connection_id":175989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1f"} 
[2026-09-07 09:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":99376008,"longitude_deg":76.3179072,"latitude_deg":9.9376008,"altitude":0,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7d3040","hex_latitude":"05ec5b88","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921276160001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447807539200,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788755286000,"timestamp_ms":1788755286000,"timestamp_seconds":1788755286,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1f97f0"} 
[2026-09-07 09: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-07 09:59:27] 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-07 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-07 09:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09: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-07 09: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-07 09:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 09:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 09:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 09:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921276160001,"66":2253,"110":206,"87":13824,"24":0,"16":129358316101959680,"45":9020780447807539200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-09-07 09:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 09:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 09:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921276160001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:59:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 09:59:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 09:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447807539200,"description":"Unknown IO ID 45"} 
[2026-09-07 09:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921276160001,"power":2253,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020780447807539200}} 
[2026-09-07 09:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":175989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:59:27] local.INFO: GPS data processed {"connection_id":175989,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:59:27] local.INFO: Acknowledgment sent {"connection_id":175989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:59:38] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:38] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:38] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 09:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:59:43] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:43] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 09:59:43] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 09:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:59:44] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a207a80012d0b170007029d08000f00651f..."} 
[2026-09-07 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a207a80012d0b170007029d08000f00651f..."} 
[2026-09-07 09:59:44] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a207a80012d0b170007029d08000f00651f..."} 
[2026-09-07 09:59:44] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 09:59:44] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":755701504,"raw_latitude":117611784,"longitude_deg":75.5701504,"latitude_deg":11.7611784,"altitude":15,"angle":101,"satellites":31,"speed":5,"hex_longitude":"2d0b1700","hex_latitude":"07029d08","is_valid_coordinates":true} 
[2026-09-07 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921367552001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493791060230144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798826014013480960,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788755344000,"timestamp_ms":1788755344000,"timestamp_seconds":1788755344,"priority":1,"record_length":96,"hex_timestamp":"000001a07a207a80"} 
[2026-09-07 09:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 09:59:44] 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-07 09:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921367552001,"66":14439,"17":206,"94":11008,"24":5,"16":30493791060230144,"45":798826014013480960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921367552001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:59:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493791060230144,"km_value":30493791060230.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":798826014013480960,"description":"Unknown IO ID 45"} 
[2026-09-07 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921367552001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":798826014013480960}} 
[2026-09-07 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778024,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:59:44] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:59:44] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 09:59:45] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:45] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:45] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 09:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 09:59:50] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:50] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 09:59:50] local.INFO: IMEI packet received {"connection_id":173250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 09:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 09:59:51] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:51] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 09:59:51] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:59:51] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 09: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-07 09:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 09:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 09:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 09: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-07 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 09: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 09:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 09:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 09: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-07 09:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 09:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 09:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 09:59: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-07 09:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 09:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 09:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 09:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 09:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 09:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 09:59:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 09:59:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 09:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 09:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 09:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 09:59:51] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-07 09:59:51] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:00:22] local.INFO: TCP Data received {"connection_id":173250,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:00:22] local.INFO: Processing buffer {"connection_id":173250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:00:22] local.INFO: Packet analysis {"connection_id":173250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 10:00:22] local.INFO: Extracted packet for processing {"connection_id":173250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 10:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 10:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:00:22] 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-07 10:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":173250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:00:22] local.INFO: GPS data processed {"connection_id":173250,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:00:22] local.INFO: Acknowledgment sent {"connection_id":173250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:00:28] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:28] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:28] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 10:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:00:33] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:33] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:00:33] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 10:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:00:34] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a207e68012d0b17c007029d280010005920..."} 
[2026-09-07 10:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a207e68012d0b17c007029d280010005920..."} 
[2026-09-07 10:00:34] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a207e68012d0b17c007029d280010005920..."} 
[2026-09-07 10:00:34] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:00:34] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755701696,"raw_latitude":117611816,"longitude_deg":75.5701696,"latitude_deg":11.7611816,"altitude":16,"angle":89,"satellites":32,"speed":5,"hex_longitude":"2d0b17c0","hex_latitude":"07029d28","is_valid_coordinates":true} 
[2026-09-07 10:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921368064001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493799650164736,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799107488990169088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788755345000,"timestamp_ms":1788755345000,"timestamp_seconds":1788755345,"priority":1,"record_length":96,"hex_timestamp":"000001a07a207e68"} 
[2026-09-07 10:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 10:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 10:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 10:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921368064001,"66":14439,"17":206,"94":11008,"24":5,"16":30493799650164736,"45":799107488990169088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 10:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 10:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 10:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921368064001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:00:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 10:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493799650164736,"km_value":30493799650164.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":799107488990169088,"description":"Unknown IO ID 45"} 
[2026-09-07 10:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921368064001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":799107488990169088}} 
[2026-09-07 10:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:00:34] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:00:34] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:01:00] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:00] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:00] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:01:05] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a20cc88012d0b154007029eb0001100591a..."} 
[2026-09-07 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a20cc88012d0b154007029eb0001100591a..."} 
[2026-09-07 10:01:05] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a20cc88012d0b154007029eb0001100591a..."} 
[2026-09-07 10:01:05] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:05] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":755701056,"raw_latitude":117612208,"longitude_deg":75.5701056,"latitude_deg":11.7612208,"altitude":17,"angle":89,"satellites":26,"speed":0,"hex_longitude":"2d0b1540","hex_latitude":"07029eb0","is_valid_coordinates":true} 
[2026-09-07 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921368320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799318595222710272,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788755365000,"timestamp_ms":1788755365000,"timestamp_seconds":1788755365,"priority":1,"record_length":96,"hex_timestamp":"000001a07a20cc88"} 
[2026-09-07 10:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 10:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 10:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 10:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921368320001,"66":14537,"17":206,"94":11008,"24":0,"16":30493846894804992,"45":799318595222710272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 10:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 10:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921368320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 10:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493846894804992,"km_value":30493846894804.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":799318595222710272,"description":"Unknown IO ID 45"} 
[2026-09-07 10:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921368320001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":799318595222710272}} 
[2026-09-07 10:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778028,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:01:05] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:01:05] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:01:05] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:05] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:05] local.INFO: IMEI packet received {"connection_id":173252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":173252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:01:06] local.INFO: TCP Data received {"connection_id":173252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:01:06] local.INFO: Processing buffer {"connection_id":173252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a1dcee8012cfefa8007004238000d012e27..."} 
[2026-09-07 10:01:06] local.INFO: Packet analysis {"connection_id":173252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 10:01:06] local.INFO: Extracted packet for processing {"connection_id":173252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a1d"} 
[2026-09-07 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":39,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921246208001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788755169000,"timestamp_ms":1788755169000,"timestamp_seconds":1788755169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a1dcee8"} 
[2026-09-07 10:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 10:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921246208001,"66":26223,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921246208001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:01:06] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:01:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921246208001,"power":26223,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":173252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:01:06] local.INFO: GPS data processed {"connection_id":173252,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:01:06] local.INFO: Acknowledgment sent {"connection_id":173252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:01:32] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:32] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:32] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 10:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:01:39] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:39] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 10:01:39] local.INFO: IMEI packet received {"connection_id":175991,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 10:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":175991,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:01:40] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:40] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:40] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:40] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":755701056,"raw_latitude":117612208,"longitude_deg":75.5701056,"latitude_deg":11.7612208,"altitude":17,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d0b1540","hex_latitude":"07029eb0","is_valid_coordinates":true} 
[2026-09-07 10:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921373440001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798614907781033984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788755371000,"timestamp_ms":1788755371000,"timestamp_seconds":1788755371,"priority":1,"record_length":96,"hex_timestamp":"000001a07a20e3f8"} 
[2026-09-07 10:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 10:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 10:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 10:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921373440001,"66":14396,"17":206,"94":11008,"24":0,"16":30493846894804992,"45":798614907781033984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 10:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 10:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 10:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921373440001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:01:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 10:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493846894804992,"km_value":30493846894804.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":798614907781033984,"description":"Unknown IO ID 45"} 
[2026-09-07 10:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921373440001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798614907781033984}} 
[2026-09-07 10:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778030,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:01:40] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:01:40] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:01:45] local.INFO: TCP Data received {"connection_id":175991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:45] local.INFO: Processing buffer {"connection_id":175991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a20e3f8012d0b154007029eb0001100591c..."} 
[2026-09-07 10:01:45] local.INFO: Packet analysis {"connection_id":175991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:45] local.INFO: Extracted packet for processing {"connection_id":175991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a20"} 
[2026-09-07 10:01:45] local.INFO: GPS Element Parsed {"raw_longitude":755701056,"raw_latitude":117612208,"longitude_deg":75.5701056,"latitude_deg":11.7612208,"altitude":17,"angle":89,"satellites":28,"speed":0,"hex_longitude":"2d0b1540","hex_latitude":"07029eb0","is_valid_coordinates":true} 
[2026-09-07 10:01: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-07 10:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921374976001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798614907781033984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788755371000,"timestamp_ms":1788755371000,"timestamp_seconds":1788755371,"priority":1,"record_length":96,"hex_timestamp":"000001a07a20e3f8"} 
[2026-09-07 10: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-07 10:01:45] 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-07 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 10:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":175991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":175991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":175991,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 10:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 10:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 10:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921374976001,"66":14396,"17":206,"94":11008,"24":0,"16":30493846894804992,"45":798614907781033984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 10:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 10:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 10:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921374976001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:01:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 10:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493846894804992,"km_value":30493846894804.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":798614907781033984,"description":"Unknown IO ID 45"} 
[2026-09-07 10:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921374976001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":798614907781033984}} 
[2026-09-07 10:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":175991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778031,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:01:45] local.INFO: GPS data processed {"connection_id":175991,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:01:45] local.INFO: Acknowledgment sent {"connection_id":175991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:01:45] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:45] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:45] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:01:48] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:48] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:01:48] local.INFO: IMEI packet received {"connection_id":173253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:01:49] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:01:49] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:01:49] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:01:49] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:01: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-07 10:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:01:49] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:01:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:01:49] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:01:49] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:02:21] local.INFO: TCP Data received {"connection_id":173253,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:21] local.INFO: Processing buffer {"connection_id":173253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:21] local.INFO: Packet analysis {"connection_id":173253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:02:21] local.INFO: Extracted packet for processing {"connection_id":173253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:02: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-07 10:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:02:21] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:02:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":173253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:02:21] local.INFO: GPS data processed {"connection_id":173253,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:02:21] local.INFO: Acknowledgment sent {"connection_id":173253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:02:45] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:45] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:45] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:02:50] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:50] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:02:50] local.INFO: IMEI packet received {"connection_id":173497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:02:51] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:51] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:02:51] local.INFO: Packet analysis {"connection_id":173497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:02:51] local.INFO: Extracted packet for processing {"connection_id":173497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:02:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:02:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:02:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":173497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:02:51] local.INFO: GPS data processed {"connection_id":173497,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:02:51] local.INFO: Acknowledgment sent {"connection_id":173497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:03:22] local.INFO: TCP Data received {"connection_id":173497,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:22] local.INFO: Processing buffer {"connection_id":173497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:22] local.INFO: Packet analysis {"connection_id":173497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:03:22] local.INFO: Extracted packet for processing {"connection_id":173497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:03:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:03: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-07 10:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:03:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:03:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":173497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:03:23] local.INFO: GPS data processed {"connection_id":173497,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:03:23] local.INFO: Acknowledgment sent {"connection_id":173497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:03:45] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:45] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:45] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:03:47] local.INFO: TCP Data received {"connection_id":174632,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:03:47] local.INFO: Processing buffer {"connection_id":174632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:03:47] local.INFO: IMEI packet received {"connection_id":174632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":174632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:03:50] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:50] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:03:50] local.INFO: IMEI packet received {"connection_id":174631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":174631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:03:51] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:51] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:03:51] local.INFO: Packet analysis {"connection_id":174631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:03:51] local.INFO: Extracted packet for processing {"connection_id":174631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:03:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":174631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:03:51] local.INFO: GPS data processed {"connection_id":174631,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:03:51] local.INFO: Acknowledgment sent {"connection_id":174631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:04:22] local.INFO: TCP Data received {"connection_id":174631,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:22] local.INFO: Processing buffer {"connection_id":174631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:22] local.INFO: Packet analysis {"connection_id":174631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:04:22] local.INFO: Extracted packet for processing {"connection_id":174631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 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-07 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:04: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-07 10:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:04:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:04:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":174631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:04:22] local.INFO: GPS data processed {"connection_id":174631,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:04:22] local.INFO: Acknowledgment sent {"connection_id":174631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:04:45] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:45] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:45] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:04:50] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:50] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:04:50] local.INFO: IMEI packet received {"connection_id":173254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:04:51] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:51] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:04:51] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:04:51] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:04:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:04:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:04:51] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:04:51] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:05:23] local.INFO: TCP Data received {"connection_id":173254,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:23] local.INFO: Processing buffer {"connection_id":173254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:23] local.INFO: Packet analysis {"connection_id":173254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:05:23] local.INFO: Extracted packet for processing {"connection_id":173254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 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-07 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:05:23] local.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-07 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:05:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:05:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:05:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":173254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:05:23] local.INFO: GPS data processed {"connection_id":173254,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:05:23] local.INFO: Acknowledgment sent {"connection_id":173254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:05:45] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:45] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:45] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:05:50] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:50] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:05:50] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:05:51] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:51] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:05:51] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:05:51] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:05: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-07 10:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:05:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:05:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:05:51] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:05:51] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:06:22] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:06:22] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2266b0012cfefa8007004238000d012e28..."} 
[2026-09-07 10:06:22] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:06:22] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a22"} 
[2026-09-07 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921323264001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755470000,"timestamp_ms":1788755470000,"timestamp_seconds":1788755470,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2266b0"} 
[2026-09-07 10: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-07 10:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 10:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:06: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-07 10:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921323264001,"66":26136,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921323264001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:06:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:06:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921323264001,"power":26136,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:06:22] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:06:22] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:06:49] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:49] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:49] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:06:50] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:50] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:50] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:06:55] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:55] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:06:55] local.INFO: IMEI packet received {"connection_id":175992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":175992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:06:56] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:06:56] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:06:56] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:06:56] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:06:56] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:06: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-07 10:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:06: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:06: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-07 10:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:06:56] 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-07 10:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:06:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:06:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:06:56] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:06:56] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:07:29] local.INFO: TCP Data received {"connection_id":175992,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:29] local.INFO: Processing buffer {"connection_id":175992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:29] local.INFO: Packet analysis {"connection_id":175992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:07:29] local.INFO: Extracted packet for processing {"connection_id":175992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:07:29] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:07:29] 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-07 10:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:07:29] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:07:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":175992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:07:29] local.INFO: GPS data processed {"connection_id":175992,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:07:29] local.INFO: Acknowledgment sent {"connection_id":175992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:07:45] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:45] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:45] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:07:50] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:50] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:07:50] local.INFO: IMEI packet received {"connection_id":173256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:07:51] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:51] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:07:51] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:07:51] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:07:51] 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-07 10:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:07:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:07:51] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:07:51] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:08:23] local.INFO: TCP Data received {"connection_id":173256,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:23] local.INFO: Processing buffer {"connection_id":173256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:23] local.INFO: Packet analysis {"connection_id":173256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:08:23] local.INFO: Extracted packet for processing {"connection_id":173256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 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-07 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:08:23] 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-07 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:08:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:08:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:08:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":173256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:08:23] local.INFO: GPS data processed {"connection_id":173256,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:08:23] local.INFO: Acknowledgment sent {"connection_id":173256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:08:45] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:45] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:45] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:08:50] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:50] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:08:50] local.INFO: IMEI packet received {"connection_id":174634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":174634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:08:51] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:51] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:08:51] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:08:51] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10: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-07 10:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:08:51] 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-07 10:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:08:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:08:51] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:08:51] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:09:07] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:09:07] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:09:07] local.INFO: IMEI packet received {"connection_id":173501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":173501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:09:23] local.INFO: TCP Data received {"connection_id":174634,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:23] local.INFO: Processing buffer {"connection_id":174634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:23] local.INFO: Packet analysis {"connection_id":174634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:09:23] local.INFO: Extracted packet for processing {"connection_id":174634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 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-07 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:09:23] 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-07 10:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:09:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":174634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:09:23] local.INFO: GPS data processed {"connection_id":174634,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:09:23] local.INFO: Acknowledgment sent {"connection_id":174634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:09:45] local.INFO: TCP Data received {"connection_id":173257,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:45] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:45] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:09:50] local.INFO: TCP Data received {"connection_id":173257,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:50] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:09:50] local.INFO: IMEI packet received {"connection_id":173257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":173257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:09:51] local.INFO: TCP Data received {"connection_id":173257,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:51] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:09:51] local.INFO: Packet analysis {"connection_id":173257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:09:51] local.INFO: Extracted packet for processing {"connection_id":173257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10: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-07 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:09:51] 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-07 10:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:09:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:09:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":173257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:09:51] local.INFO: GPS data processed {"connection_id":173257,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:09:51] local.INFO: Acknowledgment sent {"connection_id":173257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:10:23] local.INFO: TCP Data received {"connection_id":173257,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:23] local.INFO: Processing buffer {"connection_id":173257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:23] local.INFO: Packet analysis {"connection_id":173257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:10:23] local.INFO: Extracted packet for processing {"connection_id":173257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10: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-07 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:10:23] 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-07 10:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:10:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:10:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:10:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":173257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:10:23] local.INFO: GPS data processed {"connection_id":173257,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:10:23] local.INFO: Acknowledgment sent {"connection_id":173257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:10:45] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:45] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:45] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:10:50] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:50] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:10:50] local.INFO: IMEI packet received {"connection_id":174635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":174635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:10:51] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:51] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:10:51] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:10:51] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:10: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-07 10:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:10: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-07 10:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:10:51] 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-07 10:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:10:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:10:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:10:51] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:10:51] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:11:22] local.INFO: TCP Data received {"connection_id":174635,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:11:22] local.INFO: Processing buffer {"connection_id":174635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a26fe78012cfefa8007004238000d012e26..."} 
[2026-09-07 10:11:22] local.INFO: Packet analysis {"connection_id":174635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:11:22] local.INFO: Extracted packet for processing {"connection_id":174635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a26"} 
[2026-09-07 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921400320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788755771000,"timestamp_ms":1788755771000,"timestamp_seconds":1788755771,"priority":1,"record_length":96,"hex_timestamp":"000001a07a26fe78"} 
[2026-09-07 10: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-07 10:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 10:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:11:22] 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-07 10:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921400320001,"66":26115,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921400320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:11:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:11:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921400320001,"power":26115,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:11:22] local.INFO: GPS data processed {"connection_id":174635,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:11:22] local.INFO: Acknowledgment sent {"connection_id":174635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:11:45] local.INFO: TCP Data received {"connection_id":174636,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:45] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:45] local.INFO: IMEI packet received {"connection_id":174636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":174636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:11:50] local.INFO: TCP Data received {"connection_id":174636,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:50] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:11:50] local.INFO: IMEI packet received {"connection_id":174636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":174636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:11:51] local.INFO: TCP Data received {"connection_id":174636,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:11:51] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:11:51] local.INFO: Packet analysis {"connection_id":174636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:11:51] local.INFO: Extracted packet for processing {"connection_id":174636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:11:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:11:51] 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-07 10:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:11:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:11:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":174636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:11:51] local.INFO: GPS data processed {"connection_id":174636,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:11:51] local.INFO: Acknowledgment sent {"connection_id":174636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:12:22] local.INFO: TCP Data received {"connection_id":174636,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:22] local.INFO: Processing buffer {"connection_id":174636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:22] local.INFO: Packet analysis {"connection_id":174636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:12:22] local.INFO: Extracted packet for processing {"connection_id":174636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:12: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-07 10:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:12:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":174636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:12:22] local.INFO: GPS data processed {"connection_id":174636,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:12:22] local.INFO: Acknowledgment sent {"connection_id":174636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:12:45] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:45] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:45] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:12:50] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:50] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:12:50] local.INFO: IMEI packet received {"connection_id":173260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":173260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:12:51] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:51] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:12:51] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:12:51] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:12:51] 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-07 10:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:12:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:12:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:12:51] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:12:51] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:13:22] local.INFO: TCP Data received {"connection_id":173260,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:22] local.INFO: Processing buffer {"connection_id":173260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:22] local.INFO: Packet analysis {"connection_id":173260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:13:22] local.INFO: Extracted packet for processing {"connection_id":173260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:13:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:13: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-07 10:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:13:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:13:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":173260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:13:22] local.INFO: GPS data processed {"connection_id":173260,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:13:22] local.INFO: Acknowledgment sent {"connection_id":173260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:13:45] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:45] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:45] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:13:50] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:50] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:13:50] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:13:51] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:51] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:13:51] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:13:51] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:13:51] 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-07 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:13:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:13:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:13:51] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:13:51] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:14:23] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:23] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:23] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:14:23] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 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-07 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:14: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-07 10:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:14:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:14:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:14:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:14:23] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:14:23] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:14:45] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:45] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:45] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:14:49] local.INFO: TCP Data received {"connection_id":175996,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:14:49] local.INFO: Processing buffer {"connection_id":175996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:14:49] local.INFO: IMEI packet received {"connection_id":175996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":175996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:14:50] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:50] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:14:50] local.INFO: IMEI packet received {"connection_id":173261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:14:51] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:51] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:14:51] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:14:51] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:14:51] 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-07 10:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:14:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:14:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:14:51] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:14:51] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:15:22] local.INFO: TCP Data received {"connection_id":173261,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:22] local.INFO: Processing buffer {"connection_id":173261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:22] local.INFO: Packet analysis {"connection_id":173261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:15:22] local.INFO: Extracted packet for processing {"connection_id":173261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:15: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-07 10:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:15:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:15:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:15:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":173261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:15:22] local.INFO: GPS data processed {"connection_id":173261,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:15:22] local.INFO: Acknowledgment sent {"connection_id":173261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:15:45] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:45] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:45] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:15:50] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:50] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:15:50] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:15:51] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:51] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:15:51] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:15:51] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:15:51] 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-07 10:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:15:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:15:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:15:51] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:15:51] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:16:22] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:16:22] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a2b9640012cfefa8007004238000d012e28..."} 
[2026-09-07 10:16:22] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:16:22] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a2b"} 
[2026-09-07 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":40,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921477376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756072000,"timestamp_ms":1788756072000,"timestamp_seconds":1788756072,"priority":1,"record_length":96,"hex_timestamp":"000001a07a2b9640"} 
[2026-09-07 10: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-07 10:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 10:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16: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-07 10:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921477376001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921477376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:16:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:16:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921477376001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:16:22] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:16:22] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:16:50] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:50] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:50] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:16:51] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:51] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:16:51] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:16:52] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:52] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:52] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:16:52] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:16:52] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 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-07 10:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16:52] 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-07 10:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:16:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:16:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:16:52] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:16:52] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:16:55] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:55] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:16:55] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:16:55] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10: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-07 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:16:55] 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-07 10:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:16:55] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:16:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:16:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:16:55] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:16:55] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:17:26] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:26] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:26] local.INFO: Packet analysis {"connection_id":173505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:17:26] local.INFO: Extracted packet for processing {"connection_id":173505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10: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-07 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:17:26] 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-07 10:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:17:26] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:17:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":173505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:17:26] local.INFO: GPS data processed {"connection_id":173505,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:17:26] local.INFO: Acknowledgment sent {"connection_id":173505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:17:45] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:45] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:45] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:17:50] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:50] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:17:50] local.INFO: IMEI packet received {"connection_id":175998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":175998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:17:51] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:51] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:17:51] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:17:51] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10: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-07 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:17: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-07 10:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:17:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:17:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:17:51] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:17:51] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:18:23] local.INFO: TCP Data received {"connection_id":175998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:23] local.INFO: Processing buffer {"connection_id":175998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:23] local.INFO: Packet analysis {"connection_id":175998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:18:23] local.INFO: Extracted packet for processing {"connection_id":175998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:18:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10: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-07 10:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:18:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:18:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:18:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":175998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:18:23] local.INFO: GPS data processed {"connection_id":175998,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:18:23] local.INFO: Acknowledgment sent {"connection_id":175998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:18:45] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:45] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:45] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:18:50] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:50] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:18:50] local.INFO: IMEI packet received {"connection_id":173263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":173263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:18:52] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:52] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:18:52] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:18:52] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:18:52] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 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-07 10:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:18:52] local.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-07 10:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:18:52] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:18:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:18:52] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:18:52] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:19:23] local.INFO: TCP Data received {"connection_id":173263,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:23] local.INFO: Processing buffer {"connection_id":173263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:23] local.INFO: Packet analysis {"connection_id":173263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:19:23] local.INFO: Extracted packet for processing {"connection_id":173263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 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-07 10:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 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-07 10:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:19:23] local.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-07 10:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:19:23] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:19:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":173263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:19:23] local.INFO: GPS data processed {"connection_id":173263,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:19:23] local.INFO: Acknowledgment sent {"connection_id":173263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:19:45] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:45] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:45] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:19:50] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:50] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:19:50] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:19:51] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:51] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:19:51] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:19:51] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:19:51] local.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-07 10:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:19:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:19:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:19:51] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:19:51] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:20:12] local.INFO: TCP Data received {"connection_id":175999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:20:12] local.INFO: Processing buffer {"connection_id":175999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:20:12] local.INFO: IMEI packet received {"connection_id":175999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":175999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:20:22] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:20:22] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a302e08012cfefa8007004238000d012e2c..."} 
[2026-09-07 10:20:22] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:20:22] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a30"} 
[2026-09-07 10:20:22] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":44,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756373000,"timestamp_ms":1788756373000,"timestamp_seconds":1788756373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a302e08"} 
[2026-09-07 10: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-07 10:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921554432001,"66":26039,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:20:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:20:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921554432001,"power":26039,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:20:22] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:20:22] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:20:51] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:51] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:51] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:20:52] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:52] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:52] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:20:55] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:55] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:20:55] local.INFO: IMEI packet received {"connection_id":173265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":173265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:20:56] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a338198012cfefa8007004238000d012e29..."} 
[2026-09-07 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a338198012cfefa8007004238000d012e29..."} 
[2026-09-07 10:20:56] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a338198012cfefa8007004238000d012e29..."} 
[2026-09-07 10:20:56] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a33"} 
[2026-09-07 10:20:56] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a33"} 
[2026-09-07 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117457464,"longitude_deg":75.4907776,"latitude_deg":11.7457464,"altitude":13,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07004238","is_valid_coordinates":true} 
[2026-09-07 10:20: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-07 10:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921631488001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788756591000,"timestamp_ms":1788756591000,"timestamp_seconds":1788756591,"priority":1,"record_length":96,"hex_timestamp":"000001a07a338198"} 
[2026-09-07 10: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-07 10:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 10: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":101,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 10:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2350,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:20:56] 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-07 10:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921631488001,"66":26006,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921631488001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:20:56] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:20:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921631488001,"power":26006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:20:56] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:20:56] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:21:01] local.INFO: TCP Data received {"connection_id":173265,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a33d788012cfef94007004348000d013826..."} 
[2026-09-07 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a33d788012cfef94007004348000d013826..."} 
[2026-09-07 10:21:01] local.INFO: Processing buffer {"connection_id":173265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a33d788012cfef94007004348000d013826..."} 
[2026-09-07 10:21:01] local.INFO: Packet analysis {"connection_id":173265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a33"} 
[2026-09-07 10:21:01] local.INFO: Extracted packet for processing {"connection_id":173265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a33"} 
[2026-09-07 10:21:01] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457736,"longitude_deg":75.4907456,"latitude_deg":11.7457736,"altitude":13,"angle":312,"satellites":38,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004348","is_valid_coordinates":true} 
[2026-09-07 10:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921687296001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340725760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788756613000,"timestamp_ms":1788756613000,"timestamp_seconds":1788756613,"priority":1,"record_length":96,"hex_timestamp":"000001a07a33d788"} 
[2026-09-07 10:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:21:01] 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-07 10:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921687296001,"66":27865,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73605676340725760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921687296001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:21:01] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:21:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340725760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921687296001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340725760}} 
[2026-09-07 10:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":173265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:21:01] local.INFO: GPS data processed {"connection_id":173265,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:21:01] local.INFO: Acknowledgment sent {"connection_id":173265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:21:01] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:01] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:01] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:21:02] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:02] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:02] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:21:06] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:06] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:21:06] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:21:07] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-07 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":93,"packet_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-07 10:21:07] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000bb800100000000000000000000000000..."} 
[2026-09-07 10:21:07] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-07 10:21:07] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-09-07 10:21:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 10:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:21:07] 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-07 10:21:07] 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-07 10:21:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:21:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:21:07] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:21:07] local.ERROR: GPS data processing failed {"connection_id":173509,"error":"No valid data to process"} 
[2026-09-07 10:21:07] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:21:37] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-07 10:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":93,"packet_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-07 10:21:37] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":93,"buffer_hex":"00000000000000518e010000000000010d880100000000000000000000000000..."} 
[2026-09-07 10:21:37] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-07 10:21:37] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-09-07 10:21:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 10:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:21:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:21:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:21:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:21:37] local.ERROR: GPS data processing failed {"connection_id":173509,"error":"No valid data to process"} 
[2026-09-07 10:21:37] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:21:43] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:43] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:43] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:21:45] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:45] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:45] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:21:50] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:50] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:21:50] local.INFO: IMEI packet received {"connection_id":176000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":176000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:21:51] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a342990012cfef94007004348000d01382a..."} 
[2026-09-07 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a342990012cfef94007004348000d01382a..."} 
[2026-09-07 10:21:51] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a342990012cfef94007004348000d01382a..."} 
[2026-09-07 10:21:51] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a34"} 
[2026-09-07 10:21:51] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a34"} 
[2026-09-07 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457736,"longitude_deg":75.4907456,"latitude_deg":11.7457736,"altitude":13,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004348","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921692928001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073769906438144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061544448,"note":"Value kept but may cause issues"} 
[2026-09-07 10:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756634000,"timestamp_ms":1788756634000,"timestamp_seconds":1788756634,"priority":1,"record_length":96,"hex_timestamp":"000001a07a342990"} 
[2026-09-07 10: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-07 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:21:51] 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-07 10:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921692928001,"66":27887,"141":206,"94":10240,"24":0,"16":401073769906438144,"44":-73957520061544448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921692928001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:21:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:21:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073769906438144,"km_value":401073769906438.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061544448,"description":"Unknown IO ID 44"} 
[2026-09-07 10:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921692928001,"power":27887,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73957520061544448}} 
[2026-09-07 10:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:21:51] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:21:51] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:22:08] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a07a353330012d196700071fee78003b00000d..."} 
[2026-09-07 10:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":93,"packet_hex":"00000000000000518e01000001a07a353330012d196700071fee78003b00000d..."} 
[2026-09-07 10:22:08] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07a353330012d196700071fee78003b00000d..."} 
[2026-09-07 10:22:08] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:22:08] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533176,"longitude_deg":75.6639488,"latitude_deg":11.9533176,"altitude":59,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee78","is_valid_coordinates":true} 
[2026-09-07 10:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:22:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:22:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:22:08] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:22:08] local.ERROR: GPS data processing failed {"connection_id":173509,"error":"No valid data to process"} 
[2026-09-07 10:22:08] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:22:22] local.INFO: TCP Data received {"connection_id":176000,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a352b60012cfeef8007004b70001001552b..."} 
[2026-09-07 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a352b60012cfeef8007004b70001001552b..."} 
[2026-09-07 10:22:22] local.INFO: Processing buffer {"connection_id":176000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a352b60012cfeef8007004b70001001552b..."} 
[2026-09-07 10:22:22] local.INFO: Packet analysis {"connection_id":176000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:22:22] local.INFO: Extracted packet for processing {"connection_id":176000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":754904960,"raw_latitude":117459824,"longitude_deg":75.490496,"latitude_deg":11.7459824,"altitude":16,"angle":341,"satellites":43,"speed":6,"hex_longitude":"2cfeef80","hex_latitude":"07004b70","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921714944001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073933115195392,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76631532339793920,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756700000,"timestamp_ms":1788756700000,"timestamp_seconds":1788756700,"priority":1,"record_length":96,"hex_timestamp":"000001a07a352b60"} 
[2026-09-07 10: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-07 10:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 10:22: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-07 10: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-07 10: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-07 10:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:22:22] 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-07 10:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921714944001,"66":27800,"141":206,"94":10240,"24":6,"16":401073933115195392,"44":-76631532339793920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921714944001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:22:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:22:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073933115195392,"km_value":401073933115195.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76631532339793920,"description":"Unknown IO ID 44"} 
[2026-09-07 10:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921714944001,"power":27800,"unknown_141":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_44":-76631532339793920}} 
[2026-09-07 10:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":176000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:22:22] local.INFO: GPS data processed {"connection_id":176000,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:22:22] local.INFO: Acknowledgment sent {"connection_id":176000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:22:39] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a07a358538012d196740071fee48003a000012..."} 
[2026-09-07 10:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":93,"packet_hex":"00000000000000518e01000001a07a358538012d196740071fee48003a000012..."} 
[2026-09-07 10:22:39] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07a358538012d196740071fee48003a000012..."} 
[2026-09-07 10:22:39] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:22:39] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:22:39] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533128,"longitude_deg":75.6639552,"latitude_deg":11.9533128,"altitude":58,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071fee48","is_valid_coordinates":true} 
[2026-09-07 10:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:22:39] 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-07 10:22:39] 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-07 10:22:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:22:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:22:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:22:39] local.ERROR: GPS data processing failed {"connection_id":173509,"error":"No valid data to process"} 
[2026-09-07 10:22:39] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:22:45] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:45] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:45] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:22:49] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:49] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:22:49] local.INFO: IMEI packet received {"connection_id":176001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":176001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:22:50] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a352f48012cfeef8007004bf0001000002b..."} 
[2026-09-07 10:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a352f48012cfeef8007004bf0001000002b..."} 
[2026-09-07 10:22:50] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a352f48012cfeef8007004bf0001000002b..."} 
[2026-09-07 10:22:50] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:22:50] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":754904960,"raw_latitude":117459952,"longitude_deg":75.490496,"latitude_deg":11.7459952,"altitude":16,"angle":0,"satellites":43,"speed":5,"hex_longitude":"2cfeef80","hex_latitude":"07004bf0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921715200001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073941705129984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76701901083938816,"note":"Value kept but may cause issues"} 
[2026-09-07 10:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788756701000,"timestamp_ms":1788756701000,"timestamp_seconds":1788756701,"priority":1,"record_length":96,"hex_timestamp":"000001a07a352f48"} 
[2026-09-07 10: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-07 10:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:22:50] 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-07 10: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-07 10: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-07 10:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:22: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-07 10:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921715200001,"66":27800,"141":206,"94":10240,"24":5,"16":401073941705129984,"44":-76701901083938816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921715200001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:22:50] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:22:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073941705129984,"km_value":401073941705130.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76701901083938816,"description":"Unknown IO ID 44"} 
[2026-09-07 10:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921715200001,"power":27800,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-76701901083938816}} 
[2026-09-07 10:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:22:50] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:22:50] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:23:12] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a07a35d740012d196700071fee70003a000012..."} 
[2026-09-07 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":93,"packet_hex":"00000000000000518e01000001a07a35d740012d196700071fee70003a000012..."} 
[2026-09-07 10:23:12] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07a35d740012d196700071fee70003a000012..."} 
[2026-09-07 10:23:12] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:23:12] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07a35"} 
[2026-09-07 10:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533168,"longitude_deg":75.6639488,"latitude_deg":11.9533168,"altitude":58,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-09-07 10:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:23:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:23:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-07 10:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:23:12] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:23:12] local.ERROR: GPS data processing failed {"connection_id":173509,"error":"No valid data to process"} 
[2026-09-07 10:23:12] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:23:22] local.INFO: TCP Data received {"connection_id":176001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a353718012cfeef8007004d28001000242d..."} 
[2026-09-07 10:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a353718012cfeef8007004d28001000242d..."} 
[2026-09-07 10:23:22] local.INFO: Processing buffer {"connection_id":176001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a353718012cfeef8007004d28001000242d..."} 
[2026-09-07 10:23:22] local.INFO: Packet analysis {"connection_id":176001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:23:22] local.INFO: Extracted packet for processing {"connection_id":176001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a35"} 
[2026-09-07 10:23:22] local.INFO: GPS Element Parsed {"raw_longitude":754904960,"raw_latitude":117460264,"longitude_deg":75.490496,"latitude_deg":11.7460264,"altitude":16,"angle":36,"satellites":45,"speed":3,"hex_longitude":"2cfeef80","hex_latitude":"07004d28","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921715456001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401073954590031872,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76701901083906048,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788756703000,"timestamp_ms":1788756703000,"timestamp_seconds":1788756703,"priority":1,"record_length":96,"hex_timestamp":"000001a07a353718"} 
[2026-09-07 10: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-07 10:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:23:22] 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-07 10: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-07 10: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-07 10:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:23:22] 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-07 10:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921715456001,"66":27745,"141":206,"94":10240,"24":3,"16":401073954590031872,"44":-76701901083906048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-09-07 10:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921715456001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:23:22] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 10:23:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401073954590031872,"km_value":401073954590031.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76701901083906048,"description":"Unknown IO ID 44"} 
[2026-09-07 10:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921715456001,"power":27745,"unknown_141":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_44":-76701901083906048}} 
[2026-09-07 10:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":176001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:23:22] local.INFO: GPS data processed {"connection_id":176001,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:23:22] local.INFO: Acknowledgment sent {"connection_id":176001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:23:43] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a36d910012d19a940071ff1800030006a12..."} 
[2026-09-07 10:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a36d910012d19a940071ff1800030006a12..."} 
[2026-09-07 10:23:43] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a36d910012d19a940071ff1800030006a12..."} 
[2026-09-07 10:23:43] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:23:43] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756656448,"raw_latitude":119533952,"longitude_deg":75.6656448,"latitude_deg":11.9533952,"altitude":48,"angle":106,"satellites":18,"speed":19,"hex_longitude":"2d19a940","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-09-07 10:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921742848001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18250063365013504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848094358938734592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788756810000,"timestamp_ms":1788756810000,"timestamp_seconds":1788756810,"priority":1,"record_length":96,"hex_timestamp":"000001a07a36d910"} 
[2026-09-07 10:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 10:23:43] 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-07 10:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921742848001,"66":14004,"102":206,"83":41984,"24":19,"16":18250063365013504,"45":1848094358938734592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921742848001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:23:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18250063365013504,"km_value":18250063365013.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848094358938734592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921742848001,"power":14004,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1848094358938734592}} 
[2026-09-07 10:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:23:43] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:23:43] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:24:14] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a36e4c8012d19b040071fefe0002b005e12..."} 
[2026-09-07 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a36e4c8012d19b040071fefe0002b005e12..."} 
[2026-09-07 10:24:14] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a36e4c8012d19b040071fefe0002b005e12..."} 
[2026-09-07 10:24:14] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:14] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756658240,"raw_latitude":119533536,"longitude_deg":75.665824,"latitude_deg":11.9533536,"altitude":43,"angle":94,"satellites":18,"speed":24,"hex_longitude":"2d19b040","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921743360001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18250153559326720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849079521357168640,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788756813000,"timestamp_ms":1788756813000,"timestamp_seconds":1788756813,"priority":1,"record_length":96,"hex_timestamp":"000001a07a36e4c8"} 
[2026-09-07 10: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-07 10:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 10:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921743360001,"66":13993,"102":206,"83":41984,"24":24,"16":18250153559326720,"45":1849079521357168640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921743360001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:24:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:24:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18250153559326720,"km_value":18250153559326.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849079521357168640,"description":"Unknown IO ID 45"} 
[2026-09-07 10:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921743360001,"power":13993,"unknown_102":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1849079521357168640}} 
[2026-09-07 10:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:24:14] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:24:14] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:24:18] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:18] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:18] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:24:19] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:19] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:19] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:24:20] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:20] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:20] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:24:25] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:25] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:25] local.INFO: IMEI packet received {"connection_id":173268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":173268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:24:26] local.INFO: TCP Data received {"connection_id":173268,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a36fc38012cfe45800700eaa8000701642b..."} 
[2026-09-07 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a36fc38012cfe45800700eaa8000701642b..."} 
[2026-09-07 10:24:26] local.INFO: Processing buffer {"connection_id":173268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a36fc38012cfe45800700eaa8000701642b..."} 
[2026-09-07 10:24:26] local.INFO: Packet analysis {"connection_id":173268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:26] local.INFO: Extracted packet for processing {"connection_id":173268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:26] local.INFO: GPS Element Parsed {"raw_longitude":754861440,"raw_latitude":117500584,"longitude_deg":75.486144,"latitude_deg":11.7500584,"altitude":7,"angle":356,"satellites":43,"speed":21,"hex_longitude":"2cfe4580","hex_latitude":"0700eaa8","is_valid_coordinates":true} 
[2026-09-07 10:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921745408001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401077162930601984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124482278370275328,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788756819000,"timestamp_ms":1788756819000,"timestamp_seconds":1788756819,"priority":1,"record_length":96,"hex_timestamp":"000001a07a36fc38"} 
[2026-09-07 10:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 10:24:26] 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-07 10:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:24: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-07 10:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921745408001,"66":27789,"61":206,"94":10240,"24":21,"16":401077162930601984,"44":-124482278370275328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-09-07 10:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921745408001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:24:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 10:24:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401077162930601984,"km_value":401077162930602.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124482278370275328,"description":"Unknown IO ID 44"} 
[2026-09-07 10:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921745408001,"power":27789,"unknown_61":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_44":-124482278370275328}} 
[2026-09-07 10:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":173268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:24:26] local.INFO: GPS data processed {"connection_id":173268,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:24:26] local.INFO: Acknowledgment sent {"connection_id":173268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:24:45] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a36ec98012d19b5c0071ff070002a005012..."} 
[2026-09-07 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a36ec98012d19b5c0071ff070002a005012..."} 
[2026-09-07 10:24:45] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a36ec98012d19b5c0071ff070002a005012..."} 
[2026-09-07 10:24:45] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:45] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a36"} 
[2026-09-07 10:24:45] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119533680,"longitude_deg":75.6659648,"latitude_deg":11.953368,"altitude":42,"angle":80,"satellites":18,"speed":26,"hex_longitude":"2d19b5c0","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-09-07 10:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921744128001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18250217983836160,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851049846194036736,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24: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-07 10:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788756815000,"timestamp_ms":1788756815000,"timestamp_seconds":1788756815,"priority":1,"record_length":96,"hex_timestamp":"000001a07a36ec98"} 
[2026-09-07 10:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:24: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-07 10:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 10:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921744128001,"66":14070,"102":206,"83":41984,"24":26,"16":18250217983836160,"45":1851049846194036736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921744128001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:24:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:24:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18250217983836160,"km_value":18250217983836.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851049846194036736,"description":"Unknown IO ID 45"} 
[2026-09-07 10:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921744128001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1851049846194036736}} 
[2026-09-07 10:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:24:45] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:24:45] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:24:50] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:50] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:50] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:24:51] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:51] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:51] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:24:55] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:55] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:24:55] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:24:56] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a370020012cfe46800700ecb80007001129..."} 
[2026-09-07 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a370020012cfe46800700ecb80007001129..."} 
[2026-09-07 10:24:56] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a370020012cfe46800700ecb80007001129..."} 
[2026-09-07 10:24:56] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:24:56] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":754861696,"raw_latitude":117501112,"longitude_deg":75.4861696,"latitude_deg":11.7501112,"altitude":7,"angle":17,"satellites":41,"speed":21,"hex_longitude":"2cfe4680","hex_latitude":"0700ecb8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921745664001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401077192995373056,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124552647114315776,"note":"Value kept but may cause issues"} 
[2026-09-07 10:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788756820000,"timestamp_ms":1788756820000,"timestamp_seconds":1788756820,"priority":1,"record_length":96,"hex_timestamp":"000001a07a370020"} 
[2026-09-07 10: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-07 10:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 10:24:56] 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-07 10:24: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-07 10: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-07 10:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:24:56] 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-07 10:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921745664001,"66":27767,"61":206,"94":10240,"24":21,"16":401077192995373056,"44":-124552647114315776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-09-07 10:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921745664001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:24:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 10:24:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401077192995373056,"km_value":401077192995373.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124552647114315776,"description":"Unknown IO ID 44"} 
[2026-09-07 10:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921745664001,"power":27767,"unknown_61":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_44":-124552647114315776}} 
[2026-09-07 10:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:24:56] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:24:56] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:25:16] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a370fc0012d19ca00071ff390002c003b12..."} 
[2026-09-07 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a370fc0012d19ca00071ff390002c003b12..."} 
[2026-09-07 10:25:16] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a370fc0012d19ca00071ff390002c003b12..."} 
[2026-09-07 10:25:16] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:16] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534480,"longitude_deg":75.6664832,"latitude_deg":11.953448,"altitude":44,"angle":59,"satellites":18,"speed":16,"hex_longitude":"2d19ca00","hex_latitude":"071ff390","is_valid_coordinates":true} 
[2026-09-07 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-07 10:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921744640001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18250471386906624,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958565982208,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:16] local.INFO: IO Element Parsed {"io_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-07 10:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788756824000,"timestamp_ms":1788756824000,"timestamp_seconds":1788756824,"priority":1,"record_length":96,"hex_timestamp":"000001a07a370fc0"} 
[2026-09-07 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-07 10:25: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-07 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 10:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921744640001,"66":14298,"101":206,"83":41984,"24":16,"16":18250471386906624,"45":1852597958565982208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 10:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921744640001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:25:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 10:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18250471386906624,"km_value":18250471386906.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958565982208,"description":"Unknown IO ID 45"} 
[2026-09-07 10:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921744640001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1852597958565982208}} 
[2026-09-07 10:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:25:16] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:25:16] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:25:28] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a370408012cfe48000700eed00006002529..."} 
[2026-09-07 10:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a370408012cfe48000700eed00006002529..."} 
[2026-09-07 10:25:28] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a370408012cfe48000700eed00006002529..."} 
[2026-09-07 10:25:28] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:28] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:28] local.INFO: GPS Element Parsed {"raw_longitude":754862080,"raw_latitude":117501648,"longitude_deg":75.486208,"latitude_deg":11.7501648,"altitude":6,"angle":37,"satellites":41,"speed":25,"hex_longitude":"2cfe4800","hex_latitude":"0700eed0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921745920001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401077223060144128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124271172137469952,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788756821000,"timestamp_ms":1788756821000,"timestamp_seconds":1788756821,"priority":1,"record_length":96,"hex_timestamp":"000001a07a370408"} 
[2026-09-07 10: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-07 10:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:28] 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-07 10:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921745920001,"66":27767,"61":206,"94":10240,"24":25,"16":401077223060144128,"44":-124271172137469952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-09-07 10:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921745920001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:25:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 10:25:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401077223060144128,"km_value":401077223060144.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124271172137469952,"description":"Unknown IO ID 44"} 
[2026-09-07 10:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921745920001,"power":27767,"unknown_61":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_44":-124271172137469952}} 
[2026-09-07 10:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:25:28] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:25:28] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:25:41] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:41] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:41] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:25:46] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:46] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:25:46] local.INFO: IMEI packet received {"connection_id":176002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":176002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:25:46] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:46] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:46] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:25:46] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3713a8012d19cb00071ff4a0002c002f12..."} 
[2026-09-07 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3713a8012d19cb00071ff4a0002c002f12..."} 
[2026-09-07 10:25:46] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3713a8012d19cb00071ff4a0002c002f12..."} 
[2026-09-07 10:25:46] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:46] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a37"} 
[2026-09-07 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119534752,"longitude_deg":75.6665088,"latitude_deg":11.9534752,"altitude":44,"angle":47,"satellites":18,"speed":14,"hex_longitude":"2d19cb00","hex_latitude":"071ff4a0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921746944001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18250488566775808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844577792,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:46] local.INFO: IO Element Parsed {"io_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-07 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788756825000,"timestamp_ms":1788756825000,"timestamp_seconds":1788756825,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3713a8"} 
[2026-09-07 10: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-07 10:25: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 10:25:46] 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-07 10: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-07 10: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-07 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921746944001,"66":14298,"101":206,"83":41984,"24":14,"16":18250488566775808,"45":1858297826844577792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921746944001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:25:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 10:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18250488566775808,"km_value":18250488566775.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844577792,"description":"Unknown IO ID 45"} 
[2026-09-07 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921746944001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858297826844577792}} 
[2026-09-07 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:25:46] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:25:46] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:25:47] local.INFO: TCP Data received {"connection_id":173270,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:25:47] local.INFO: Processing buffer {"connection_id":173270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:25:47] local.INFO: IMEI packet received {"connection_id":173270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":173270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:25:49] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:49] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:49] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:25:50] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:50] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:25:50] local.INFO: IMEI packet received {"connection_id":176003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":176003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:25:51] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a382130012cfdf84007018190000e012a2f..."} 
[2026-09-07 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a382130012cfdf84007018190000e012a2f..."} 
[2026-09-07 10:25:51] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a382130012cfdf84007018190000e012a2f..."} 
[2026-09-07 10:25:51] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:25:51] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":754841664,"raw_latitude":117539216,"longitude_deg":75.4841664,"latitude_deg":11.7539216,"altitude":14,"angle":298,"satellites":47,"speed":18,"hex_longitude":"2cfdf840","hex_latitude":"07018190","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921764864001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401079538047516672,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-146296589055324160,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788756894000,"timestamp_ms":1788756894000,"timestamp_seconds":1788756894,"priority":1,"record_length":96,"hex_timestamp":"000001a07a382130"} 
[2026-09-07 10: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-07 10:25: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-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:51] 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-07 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921764864001,"66":27865,"62":206,"94":10240,"24":18,"16":401079538047516672,"44":-146296589055324160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-09-07 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921764864001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:25:51] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 10:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401079538047516672,"km_value":401079538047516.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-146296589055324160,"description":"Unknown IO ID 44"} 
[2026-09-07 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921764864001,"power":27865,"unknown_62":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_44":-146296589055324160}} 
[2026-09-07 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:25:51] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:25:51] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:25:54] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3834b8012cfdee40070186180010011d2e..."} 
[2026-09-07 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3834b8012cfdee40070186180010011d2e..."} 
[2026-09-07 10:25:54] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3834b8012cfdee40070186180010011d2e..."} 
[2026-09-07 10:25:54] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:25:54] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":754839104,"raw_latitude":117540376,"longitude_deg":75.4839104,"latitude_deg":11.7540376,"altitude":16,"angle":285,"satellites":46,"speed":25,"hex_longitude":"2cfdee40","hex_latitude":"07018618","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921764864001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401079675486470144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-146296589055324160,"note":"Value kept but may cause issues"} 
[2026-09-07 10:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788756899000,"timestamp_ms":1788756899000,"timestamp_seconds":1788756899,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3834b8"} 
[2026-09-07 10: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-07 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 10: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-07 10: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-07 10:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:25:54] 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-07 10:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921764864001,"66":27767,"62":206,"94":10240,"24":25,"16":401079675486470144,"44":-146296589055324160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-09-07 10:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921764864001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:25:54] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 10:25:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401079675486470144,"km_value":401079675486470.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-146296589055324160,"description":"Unknown IO ID 44"} 
[2026-09-07 10:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921764864001,"power":27767,"unknown_62":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_44":-146296589055324160}} 
[2026-09-07 10:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:25:54] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:25:54] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:26:17] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a38ec50012d19ce0007201a200027014a1b..."} 
[2026-09-07 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a38ec50012d19ce0007201a200027014a1b..."} 
[2026-09-07 10:26:17] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a38ec50012d19ce0007201a200027014a1b..."} 
[2026-09-07 10:26:17] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:26:17] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544352,"longitude_deg":75.6665856,"latitude_deg":11.9544352,"altitude":39,"angle":330,"satellites":27,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201a20","is_valid_coordinates":true} 
[2026-09-07 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-07 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921772800001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18251205826314240,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753947648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788756946000,"timestamp_ms":1788756946000,"timestamp_seconds":1788756946,"priority":1,"record_length":96,"hex_timestamp":"000001a07a38ec50"} 
[2026-09-07 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-07 10:26:17] 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-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 10:26:17] 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-07 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-07 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-07 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921772800001,"66":12841,"101":206,"83":41984,"24":0,"16":18251205826314240,"45":1859423726753947648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921772800001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:26:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 10:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18251205826314240,"km_value":18251205826314.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753947648,"description":"Unknown IO ID 45"} 
[2026-09-07 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921772800001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753947648}} 
[2026-09-07 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:26:17] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:26:17] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:26:26] local.INFO: TCP Data received {"connection_id":176003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a386398012cfdcb4007018eb0001401182e..."} 
[2026-09-07 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a386398012cfdcb4007018eb0001401182e..."} 
[2026-09-07 10:26:26] local.INFO: Processing buffer {"connection_id":176003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a386398012cfdcb4007018eb0001401182e..."} 
[2026-09-07 10:26:26] local.INFO: Packet analysis {"connection_id":176003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:26:26] local.INFO: Extracted packet for processing {"connection_id":176003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a38"} 
[2026-09-07 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":754830144,"raw_latitude":117542576,"longitude_deg":75.4830144,"latitude_deg":11.7542576,"altitude":20,"angle":280,"satellites":46,"speed":34,"hex_longitude":"2cfdcb40","hex_latitude":"07018eb0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921766144001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401080109278167040,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-149111338822133760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788756911000,"timestamp_ms":1788756911000,"timestamp_seconds":1788756911,"priority":1,"record_length":96,"hex_timestamp":"000001a07a386398"} 
[2026-09-07 10: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-07 10:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10: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-07 10:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921766144001,"66":27745,"223":206,"94":10240,"24":34,"16":401080109278167040,"44":-149111338822133760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-09-07 10:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921766144001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:26:26] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 10:26:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401080109278167040,"km_value":401080109278167.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-149111338822133760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921766144001,"power":27745,"unknown_223":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_44":-149111338822133760}} 
[2026-09-07 10:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":176003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:26:26] local.INFO: GPS data processed {"connection_id":176003,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:26:26] local.INFO: Acknowledgment sent {"connection_id":176003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:26:49] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a393e58012d19ce0007201a200027014a1d..."} 
[2026-09-07 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a393e58012d19ce0007201a200027014a1d..."} 
[2026-09-07 10:26:49] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a393e58012d19ce0007201a200027014a1d..."} 
[2026-09-07 10:26:49] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:26:49] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544352,"longitude_deg":75.6665856,"latitude_deg":11.9544352,"altitude":39,"angle":330,"satellites":29,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201a20","is_valid_coordinates":true} 
[2026-09-07 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-07 10:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921778176001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18251205826314240,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753947648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:26:49] local.INFO: IO Element Parsed {"io_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-07 10:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788756967000,"timestamp_ms":1788756967000,"timestamp_seconds":1788756967,"priority":1,"record_length":96,"hex_timestamp":"000001a07a393e58"} 
[2026-09-07 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-07 10:26:49] 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-07 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 10:26:49] 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-07 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-07 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-07 10:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921778176001,"66":12776,"101":206,"83":41984,"24":0,"16":18251205826314240,"45":1859423726753947648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 10:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921778176001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:26:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 10:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18251205826314240,"km_value":18251205826314.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753947648,"description":"Unknown IO ID 45"} 
[2026-09-07 10:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921778176001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753947648}} 
[2026-09-07 10:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:26:49] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:26:49] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:26:52] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:26:52] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:26:52] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:27:03] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 10:27:03] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 10:27:03] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:27:08] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a392ad0012cfd3e0007021b18000c001c2c..."} 
[2026-09-07 10:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a392ad0012cfd3e0007021b18000c001c2c..."} 
[2026-09-07 10:27:08] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07a..."} 
[2026-09-07 10:27:08] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:27:20] local.INFO: TCP Data received {"connection_id":176002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3a47f8012d19b8c00720a7e80032015a1e..."} 
[2026-09-07 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3a47f8012d19b8c00720a7e80032015a1e..."} 
[2026-09-07 10:27:20] local.INFO: Processing buffer {"connection_id":176002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3a47f8012d19b8c00720a7e80032015a1e..."} 
[2026-09-07 10:27:20] local.INFO: Packet analysis {"connection_id":176002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:27:20] local.INFO: Extracted packet for processing {"connection_id":176002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119580648,"longitude_deg":75.6660416,"latitude_deg":11.9580648,"altitude":50,"angle":346,"satellites":30,"speed":10,"hex_longitude":"2d19b8c0","hex_latitude":"0720a7e8","is_valid_coordinates":true} 
[2026-09-07 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921800704001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18253108496826368,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252239872,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:20] local.INFO: IO Element Parsed {"io_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-07 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788757035000,"timestamp_ms":1788757035000,"timestamp_seconds":1788757035,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3a47f8"} 
[2026-09-07 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:27:20] 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-07 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921800704001,"66":14363,"103":206,"83":41984,"24":10,"16":18253108496826368,"45":1853512752252239872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921800704001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:27:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18253108496826368,"km_value":18253108496826.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252239872,"description":"Unknown IO ID 45"} 
[2026-09-07 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921800704001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1853512752252239872}} 
[2026-09-07 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":176002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:27:20] local.INFO: GPS data processed {"connection_id":176002,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:27:20] local.INFO: Acknowledgment sent {"connection_id":176002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:27:29] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a392eb8012cfd400007021cf8000c002c2e..."} 
[2026-09-07 10:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a392eb8012cfd400007021cf8000c002c2e..."} 
[2026-09-07 10:27:29] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07a392ad0012cfd3e0007021b18000c001c2c..."} 
[2026-09-07 10:27:29] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:29] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":754793984,"raw_latitude":117578520,"longitude_deg":75.4793984,"latitude_deg":11.757852,"altitude":12,"angle":28,"satellites":44,"speed":26,"hex_longitude":"2cfd3e00","hex_latitude":"07021b18","is_valid_coordinates":true} 
[2026-09-07 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-07 10:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921782016001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401082621834035200,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198932409690310656,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788756962000,"timestamp_ms":1788756962000,"timestamp_seconds":1788756962,"priority":1,"record_length":96,"hex_timestamp":"000001a07a392ad0"} 
[2026-09-07 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-07 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:29] 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-07 10:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921782016001,"66":27887,"223":206,"94":10240,"24":26,"16":401082621834035200,"44":-198932409690310656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921782016001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401082621834035200,"km_value":401082621834035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198932409690310656,"description":"Unknown IO ID 44"} 
[2026-09-07 10:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921782016001,"power":27887,"unknown_223":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-198932409690310656}} 
[2026-09-07 10:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:27:29] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:27:29] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:27:29] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:29] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":754794496,"raw_latitude":117579000,"longitude_deg":75.4794496,"latitude_deg":11.7579,"altitude":12,"angle":44,"satellites":46,"speed":25,"hex_longitude":"2cfd4000","hex_latitude":"07021cf8","is_valid_coordinates":true} 
[2026-09-07 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-07 10:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921782272001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401082651898806272,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198721303457622016,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788756963000,"timestamp_ms":1788756963000,"timestamp_seconds":1788756963,"priority":1,"record_length":96,"hex_timestamp":"000001a07a392eb8"} 
[2026-09-07 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-07 10:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 10:27:29] 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-07 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-07 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-07 10:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:29] 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-07 10:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921782272001,"66":27887,"223":206,"94":10240,"24":25,"16":401082651898806272,"44":-198721303457622016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,94,24,16,44]} 
[2026-09-07 10:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921782272001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401082651898806272,"km_value":401082651898806.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198721303457622016,"description":"Unknown IO ID 44"} 
[2026-09-07 10:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921782272001,"power":27887,"unknown_223":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_44":-198721303457622016}} 
[2026-09-07 10:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:27:29] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:27:29] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:27:41] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:41] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:41] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:27:44] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:44] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:44] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:27:45] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:45] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:45] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:27:46] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:46] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:27:46] local.INFO: IMEI packet received {"connection_id":174637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":174637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:27:46] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3a4be0012d19b8400720a8d8003201441f..."} 
[2026-09-07 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3a4be0012d19b8400720a8d8003201441f..."} 
[2026-09-07 10:27:46] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3a4be0012d19b8400720a8d8003201441f..."} 
[2026-09-07 10:27:46] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:27:46] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119580888,"longitude_deg":75.6660288,"latitude_deg":11.9580888,"altitude":50,"angle":324,"satellites":31,"speed":11,"hex_longitude":"2d19b840","hex_latitude":"0720a8d8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921800960001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18253121381728256,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383508137984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:46] local.INFO: IO Element Parsed {"io_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-07 10:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788757036000,"timestamp_ms":1788757036000,"timestamp_seconds":1788757036,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3a4be0"} 
[2026-09-07 10: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-07 10:27:46] 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-07 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921800960001,"66":13820,"103":206,"83":41984,"24":11,"16":18253121381728256,"45":1853442383508137984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921800960001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:27:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18253121381728256,"km_value":18253121381728.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383508137984,"description":"Unknown IO ID 45"} 
[2026-09-07 10:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921800960001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1853442383508137984}} 
[2026-09-07 10:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:27:46] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:27:46] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:27:50] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:50] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:27:50] local.INFO: IMEI packet received {"connection_id":174638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":174638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:27:52] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a394a10012cfd4d0007022a70000c001d2c..."} 
[2026-09-07 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a394a10012cfd4d0007022a70000c001d2c..."} 
[2026-09-07 10:27:52] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a394a10012cfd4d0007022a70000c001d2c..."} 
[2026-09-07 10:27:52] local.INFO: Packet analysis {"connection_id":174638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:52] local.INFO: Extracted packet for processing {"connection_id":174638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":754797824,"raw_latitude":117582448,"longitude_deg":75.4797824,"latitude_deg":11.7582448,"altitude":12,"angle":29,"satellites":44,"speed":30,"hex_longitude":"2cfd4d00","hex_latitude":"07022a70","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921782528001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401082883827040256,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-198158353504077824,"note":"Value kept but may cause issues"} 
[2026-09-07 10:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788756970000,"timestamp_ms":1788756970000,"timestamp_seconds":1788756970,"priority":1,"record_length":96,"hex_timestamp":"000001a07a394a10"} 
[2026-09-07 10: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-07 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 10:27:52] 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-07 10: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-07 10: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-07 10:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921782528001,"66":27821,"206":206,"94":10240,"24":30,"16":401082883827040256,"44":-198158353504077824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-09-07 10:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921782528001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:27:52] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 10:27:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401082883827040256,"km_value":401082883827040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-198158353504077824,"description":"Unknown IO ID 44"} 
[2026-09-07 10:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921782528001,"power":27821,"unknown_206":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_44":-198158353504077824}} 
[2026-09-07 10:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":174638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:27:52] local.INFO: GPS data processed {"connection_id":174638,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:27:52] local.INFO: Acknowledgment sent {"connection_id":174638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:28:17] local.INFO: TCP Data received {"connection_id":174637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3a4fc8012d19b7800720a9b8003201351e..."} 
[2026-09-07 10:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3a4fc8012d19b7800720a9b8003201351e..."} 
[2026-09-07 10:28:17] local.INFO: Processing buffer {"connection_id":174637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3a4fc8012d19b7800720a9b8003201351e..."} 
[2026-09-07 10:28:17] local.INFO: Packet analysis {"connection_id":174637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:17] local.INFO: Extracted packet for processing {"connection_id":174637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756660096,"raw_latitude":119581112,"longitude_deg":75.6660096,"latitude_deg":11.9581112,"altitude":50,"angle":309,"satellites":30,"speed":14,"hex_longitude":"2d19b780","hex_latitude":"0720a9b8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921801216001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18253134266630144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019844096,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788757037000,"timestamp_ms":1788757037000,"timestamp_seconds":1788757037,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3a4fc8"} 
[2026-09-07 10: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-07 10:28:17] 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-07 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 10:28:17] 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-07 10: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-07 10: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-07 10:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921801216001,"66":13820,"103":206,"83":41984,"24":14,"16":18253134266630144,"45":1853301646019844096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921801216001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:28:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18253134266630144,"km_value":18253134266630.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019844096,"description":"Unknown IO ID 45"} 
[2026-09-07 10:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921801216001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1853301646019844096}} 
[2026-09-07 10:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":174637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:28:17] local.INFO: GPS data processed {"connection_id":174637,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:28:17] local.INFO: Acknowledgment sent {"connection_id":174637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:28:23] local.INFO: TCP Data received {"connection_id":174638,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3959b0012cfd520007023698000c00102a..."} 
[2026-09-07 10:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3959b0012cfd520007023698000c00102a..."} 
[2026-09-07 10:28:23] local.INFO: Processing buffer {"connection_id":174638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3959b0012cfd520007023698000c00102a..."} 
[2026-09-07 10:28:23] local.INFO: Packet analysis {"connection_id":174638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:28:23] local.INFO: Extracted packet for processing {"connection_id":174638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a39"} 
[2026-09-07 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":754799104,"raw_latitude":117585560,"longitude_deg":75.4799104,"latitude_deg":11.758556,"altitude":12,"angle":16,"satellites":42,"speed":36,"hex_longitude":"2cfd5200","hex_latitude":"07023698","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921784320001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401083047035797504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-194499178805956608,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788756974000,"timestamp_ms":1788756974000,"timestamp_seconds":1788756974,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3959b0"} 
[2026-09-07 10: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-07 10:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:28:23] 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-07 10: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-07 10: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-07 10:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:28:23] 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-07 10:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921784320001,"66":27800,"206":206,"94":10240,"24":36,"16":401083047035797504,"44":-194499178805956608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-09-07 10:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921784320001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:28:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 10:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401083047035797504,"km_value":401083047035797.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:28:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-194499178805956608,"description":"Unknown IO ID 44"} 
[2026-09-07 10:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921784320001,"power":27800,"unknown_206":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_44":-194499178805956608}} 
[2026-09-07 10:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":174638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:28:23] local.INFO: GPS data processed {"connection_id":174638,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:28:23] local.INFO: Acknowledgment sent {"connection_id":174638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:28:41] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:41] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:41] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:28:45] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:45] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:45] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:28:46] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:46] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:28:46] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:28:46] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3a5798012d19b4c00720ab50003301271f..."} 
[2026-09-07 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3a5798012d19b4c00720ab50003301271f..."} 
[2026-09-07 10:28:46] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3a5798012d19b4c00720ab50003301271f..."} 
[2026-09-07 10:28:46] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:46] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119581520,"longitude_deg":75.6659392,"latitude_deg":11.958152,"altitude":51,"angle":295,"satellites":31,"speed":19,"hex_longitude":"2d19b4c0","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-09-07 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921801472001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18253172921335808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787368448,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:46] local.INFO: IO Element Parsed {"io_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-07 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788757039000,"timestamp_ms":1788757039000,"timestamp_seconds":1788757039,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3a5798"} 
[2026-09-07 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:28:46] 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-07 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 10:28:46] 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-07 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921801472001,"66":14113,"103":206,"83":41984,"24":19,"16":18253172921335808,"45":1853090539787368448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921801472001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:28:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18253172921335808,"km_value":18253172921335.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787368448,"description":"Unknown IO ID 45"} 
[2026-09-07 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921801472001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853090539787368448}} 
[2026-09-07 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:28:46] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:28:46] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:28:50] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:50] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:28:50] local.INFO: IMEI packet received {"connection_id":173272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":173272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:28:52] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3abd28012cfd180007036e880005012e2c..."} 
[2026-09-07 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3abd28012cfd180007036e880005012e2c..."} 
[2026-09-07 10:28:52] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3abd28012cfd180007036e880005012e2c..."} 
[2026-09-07 10:28:52] local.INFO: Packet analysis {"connection_id":173272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:52] local.INFO: Extracted packet for processing {"connection_id":173272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":754784256,"raw_latitude":117665416,"longitude_deg":75.4784256,"latitude_deg":11.7665416,"altitude":5,"angle":302,"satellites":44,"speed":40,"hex_longitude":"2cfd1800","hex_latitude":"07036e88","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921807872001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401087243218845696,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-207024815248807936,"note":"Value kept but may cause issues"} 
[2026-09-07 10:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788757065000,"timestamp_ms":1788757065000,"timestamp_seconds":1788757065,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3abd28"} 
[2026-09-07 10: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-07 10:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:28: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-07 10: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-07 10: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-07 10:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921807872001,"66":27767,"80":206,"94":10240,"24":40,"16":401087243218845696,"44":-207024815248807936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-09-07 10:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921807872001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:28:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 10:28:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401087243218845696,"km_value":401087243218845.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-207024815248807936,"description":"Unknown IO ID 44"} 
[2026-09-07 10:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921807872001,"power":27767,"unknown_80":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_44":-207024815248807936}} 
[2026-09-07 10:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":173272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:28:52] local.INFO: GPS data processed {"connection_id":173272,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:28:52] local.INFO: Acknowledgment sent {"connection_id":173272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:29:17] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3bf990012d18cf8007211990003a016420..."} 
[2026-09-07 10:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3bf990012d18cf8007211990003a016420..."} 
[2026-09-07 10:29:17] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3bf990012d18cf8007211990003a016420..."} 
[2026-09-07 10:29:17] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3b"} 
[2026-09-07 10:29:17] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3b"} 
[2026-09-07 10:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756600704,"raw_latitude":119609744,"longitude_deg":75.6600704,"latitude_deg":11.9609744,"altitude":58,"angle":356,"satellites":32,"speed":35,"hex_longitude":"2d18cf80","hex_latitude":"07211990","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921828096001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18256626075041792,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401382668288,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788757146000,"timestamp_ms":1788757146000,"timestamp_seconds":1788757146,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3bf990"} 
[2026-09-07 10: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-07 10:29:17] 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-07 10: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 10:29: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-07 10: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-07 10: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-07 10:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921828096001,"66":13656,"103":206,"83":41984,"24":35,"16":18256626075041792,"45":1788562401382668288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921828096001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:29:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18256626075041792,"km_value":18256626075041.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401382668288,"description":"Unknown IO ID 45"} 
[2026-09-07 10:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921828096001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1788562401382668288}} 
[2026-09-07 10:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:29:17] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:29:17] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:29:23] local.INFO: TCP Data received {"connection_id":173272,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3ac8e0012cfd0c80070373a0000601222c..."} 
[2026-09-07 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3ac8e0012cfd0c80070373a0000601222c..."} 
[2026-09-07 10:29:23] local.INFO: Processing buffer {"connection_id":173272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3ac8e0012cfd0c80070373a0000601222c..."} 
[2026-09-07 10:29:23] local.INFO: Packet analysis {"connection_id":173272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:29:23] local.INFO: Extracted packet for processing {"connection_id":173272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":754781312,"raw_latitude":117666720,"longitude_deg":75.4781312,"latitude_deg":11.766672,"altitude":6,"angle":290,"satellites":44,"speed":42,"hex_longitude":"2cfd0c80","hex_latitude":"070373a0","is_valid_coordinates":true} 
[2026-09-07 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-07 10:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921808640001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401087393542701056,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-209417352550381568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788757068000,"timestamp_ms":1788757068000,"timestamp_seconds":1788757068,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3ac8e0"} 
[2026-09-07 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-07 10:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:29:23] 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-07 10:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921808640001,"66":27865,"80":206,"94":10240,"24":42,"16":401087393542701056,"44":-209417352550381568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-09-07 10:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921808640001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:29:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 10:29:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401087393542701056,"km_value":401087393542701.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-209417352550381568,"description":"Unknown IO ID 44"} 
[2026-09-07 10:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921808640001,"power":27865,"unknown_80":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_44":-209417352550381568}} 
[2026-09-07 10:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":173272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:29:23] local.INFO: GPS data processed {"connection_id":173272,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:29:23] local.INFO: Acknowledgment sent {"connection_id":173272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:29:45] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:45] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:45] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:29:46] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:46] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:46] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:29:50] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:50] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:29:50] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:29:50] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:50] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:29:50] local.INFO: IMEI packet received {"connection_id":176005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":176005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:29:50] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c0d18012d18cf0007212b88003d015720..."} 
[2026-09-07 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c0d18012d18cf0007212b88003d015720..."} 
[2026-09-07 10:29:50] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c0d18012d18cf0007212b88003d015720..."} 
[2026-09-07 10:29:50] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:29:50] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":119614344,"longitude_deg":75.6600576,"latitude_deg":11.9614344,"altitude":61,"angle":343,"satellites":32,"speed":35,"hex_longitude":"2d18cf00","hex_latitude":"07212b88","is_valid_coordinates":true} 
[2026-09-07 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-07 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921829376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18256849413341184,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787788345197826048,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29: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-07 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788757151000,"timestamp_ms":1788757151000,"timestamp_seconds":1788757151,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c0d18"} 
[2026-09-07 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-07 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 10:29:50] 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-07 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-07 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-07 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921829376001,"66":14396,"103":206,"83":41984,"24":35,"16":18256849413341184,"45":1787788345197826048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921829376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:29:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18256849413341184,"km_value":18256849413341.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787788345197826048,"description":"Unknown IO ID 45"} 
[2026-09-07 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921829376001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1787788345197826048}} 
[2026-09-07 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:29:51] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:29:51] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:29:51] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3ae820012cfce9c007037eb00005011e2a..."} 
[2026-09-07 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3ae820012cfce9c007037eb00005011e2a..."} 
[2026-09-07 10:29:51] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3ae820012cfce9c007037eb00005011e2a..."} 
[2026-09-07 10:29:51] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:29:51] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3a"} 
[2026-09-07 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":754772416,"raw_latitude":117669552,"longitude_deg":75.4772416,"latitude_deg":11.7669552,"altitude":5,"angle":286,"satellites":42,"speed":47,"hex_longitude":"2cfce9c0","hex_latitude":"07037eb0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921809408001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401087840219299840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-212654314782220288,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757076000,"timestamp_ms":1788757076000,"timestamp_seconds":1788757076,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3ae820"} 
[2026-09-07 10: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-07 10:29: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-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:29:51] 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-07 10:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921809408001,"66":27843,"80":206,"94":10240,"24":47,"16":401087840219299840,"44":-212654314782220288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921809408001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401087840219299840,"km_value":401087840219299.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-212654314782220288,"description":"Unknown IO ID 44"} 
[2026-09-07 10:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921809408001,"power":27843,"unknown_80":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_44":-212654314782220288}} 
[2026-09-07 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:29:51] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:29:51] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:29:51] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c14e8012d18cbc007213210003d01481f..."} 
[2026-09-07 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c14e8012d18cbc007213210003d01481f..."} 
[2026-09-07 10:29:51] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c14e8012d18cbc007213210003d01481f..."} 
[2026-09-07 10:29:51] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:29:51] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756599744,"raw_latitude":119616016,"longitude_deg":75.6599744,"latitude_deg":11.9616016,"altitude":61,"angle":328,"satellites":31,"speed":36,"hex_longitude":"2d18cbc0","hex_latitude":"07213210","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921830656001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18256939607654400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787647607710648320,"note":"Value kept but may cause issues"} 
[2026-09-07 10:29: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-07 10:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757153000,"timestamp_ms":1788757153000,"timestamp_seconds":1788757153,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c14e8"} 
[2026-09-07 10: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-07 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 10:29: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-07 10: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-07 10: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-07 10:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921830656001,"66":14189,"103":206,"83":41984,"24":36,"16":18256939607654400,"45":1787647607710648320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921830656001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18256939607654400,"km_value":18256939607654.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787647607710648320,"description":"Unknown IO ID 45"} 
[2026-09-07 10:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921830656001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1787647607710648320}} 
[2026-09-07 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:29:51] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:29:51] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:30:22] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c2870012d18c400072142000040015c1f..."} 
[2026-09-07 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c2870012d18c400072142000040015c1f..."} 
[2026-09-07 10:30:22] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c2870012d18c400072142000040015c1f..."} 
[2026-09-07 10:30:22] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:22] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620096,"longitude_deg":75.659776,"latitude_deg":11.9620096,"altitude":64,"angle":348,"satellites":31,"speed":36,"hex_longitude":"2d18c400","hex_latitude":"07214200","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921831168001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18257162945953792,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814036766720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30: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-07 10:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757158000,"timestamp_ms":1788757158000,"timestamp_seconds":1788757158,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c2870"} 
[2026-09-07 10: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-07 10:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 10:30:22] 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-07 10: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-07 10: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-07 10:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921831168001,"66":14363,"103":206,"83":41984,"24":36,"16":18257162945953792,"45":1786732814036766720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921831168001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:30:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18257162945953792,"km_value":18257162945953.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814036766720,"description":"Unknown IO ID 45"} 
[2026-09-07 10:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921831168001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1786732814036766720}} 
[2026-09-07 10:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:30:22] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:30:22] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:30:27] local.INFO: TCP Data received {"connection_id":176005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c43c8012cfbb100070400f0000e01352f..."} 
[2026-09-07 10:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c43c8012cfbb100070400f0000e01352f..."} 
[2026-09-07 10:30:27] local.INFO: Processing buffer {"connection_id":176005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c43c8012cfbb100070400f0000e01352f..."} 
[2026-09-07 10:30:27] local.INFO: Packet analysis {"connection_id":176005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:27] local.INFO: Extracted packet for processing {"connection_id":176005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":754692352,"raw_latitude":117702896,"longitude_deg":75.4692352,"latitude_deg":11.7702896,"altitude":14,"angle":309,"satellites":47,"speed":27,"hex_longitude":"2cfbb100","hex_latitude":"070400f0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921832704001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401092014927511552,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-307018800715761664,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788757165000,"timestamp_ms":1788757165000,"timestamp_seconds":1788757165,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c43c8"} 
[2026-09-07 10: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-07 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 10:30:27] 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-07 10: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-07 10: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-07 10:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:30:27] 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-07 10:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921832704001,"66":27800,"78":206,"94":10240,"24":27,"16":401092014927511552,"44":-307018800715761664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-09-07 10:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921832704001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:30:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 10:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401092014927511552,"km_value":401092014927511.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:30:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-307018800715761664,"description":"Unknown IO ID 44"} 
[2026-09-07 10:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921832704001,"power":27800,"unknown_78":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-307018800715761664}} 
[2026-09-07 10:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":176005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:30:27] local.INFO: GPS data processed {"connection_id":176005,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:30:27] local.INFO: Acknowledgment sent {"connection_id":176005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:30:41] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:41] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:41] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:30:42] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:42] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:30:42] local.INFO: IMEI packet received {"connection_id":173273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":173273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:30:42] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c3fe0012d18c000072156200042014b20..."} 
[2026-09-07 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c3fe0012d18c000072156200042014b20..."} 
[2026-09-07 10:30:42] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c3fe0012d18c000072156200042014b20..."} 
[2026-09-07 10:30:42] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:42] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625248,"longitude_deg":75.6596736,"latitude_deg":11.9625248,"altitude":66,"angle":331,"satellites":32,"speed":34,"hex_longitude":"2d18c000","hex_latitude":"07215620","is_valid_coordinates":true} 
[2026-09-07 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921832448001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18257416349024256,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968303616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788757164000,"timestamp_ms":1788757164000,"timestamp_seconds":1788757164,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c3fe0"} 
[2026-09-07 10:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921832448001,"66":14396,"103":206,"83":41984,"24":34,"16":18257416349024256,"45":1784551382968303616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921832448001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:30:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18257416349024256,"km_value":18257416349024.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968303616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921832448001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1784551382968303616}} 
[2026-09-07 10:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:30:42] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:30:42] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:30:45] local.INFO: TCP Data received {"connection_id":174640,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:45] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:45] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:30:50] local.INFO: TCP Data received {"connection_id":174640,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:50] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:30:50] local.INFO: IMEI packet received {"connection_id":174640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":174640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:30:51] local.INFO: TCP Data received {"connection_id":174640,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c4f80012cfbaa80070407d0000c01432b..."} 
[2026-09-07 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c4f80012cfbaa80070407d0000c01432b..."} 
[2026-09-07 10:30:51] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c4f80012cfbaa80070407d0000c01432b..."} 
[2026-09-07 10:30:51] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:51] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:30:51] local.INFO: GPS Element Parsed {"raw_longitude":754690688,"raw_latitude":117704656,"longitude_deg":75.4690688,"latitude_deg":11.7704656,"altitude":12,"angle":323,"satellites":43,"speed":35,"hex_longitude":"2cfbaa80","hex_latitude":"070407d0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921834240001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401092135186595840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-310466869179912192,"note":"Value kept but may cause issues"} 
[2026-09-07 10:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757168000,"timestamp_ms":1788757168000,"timestamp_seconds":1788757168,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c4f80"} 
[2026-09-07 10: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-07 10:30: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-07 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:30:51] 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-07 10: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-07 10: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-07 10:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:30:51] 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-07 10:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921834240001,"66":27843,"78":206,"94":10240,"24":35,"16":401092135186595840,"44":-310466869179912192},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-09-07 10:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921834240001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:30:51] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 10:30:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401092135186595840,"km_value":401092135186595.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-310466869179912192,"description":"Unknown IO ID 44"} 
[2026-09-07 10:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921834240001,"power":27843,"unknown_78":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_44":-310466869179912192}} 
[2026-09-07 10:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:30:51] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:30:51] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:31:12] local.INFO: TCP Data received {"connection_id":174641,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:12] local.INFO: Processing buffer {"connection_id":174641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:12] local.INFO: IMEI packet received {"connection_id":174641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":174641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:31:13] local.INFO: TCP Data received {"connection_id":173273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c66f0012d18ad40072170a00049013e1f..."} 
[2026-09-07 10:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c66f0012d18ad40072170a00049013e1f..."} 
[2026-09-07 10:31:13] local.INFO: Processing buffer {"connection_id":173273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c66f0012d18ad40072170a00049013e1f..."} 
[2026-09-07 10:31:13] local.INFO: Packet analysis {"connection_id":173273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:31:13] local.INFO: Extracted packet for processing {"connection_id":173273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632032,"longitude_deg":75.6591936,"latitude_deg":11.9632032,"altitude":73,"angle":318,"satellites":31,"speed":29,"hex_longitude":"2d18ad40","hex_latitude":"072170a0","is_valid_coordinates":true} 
[2026-09-07 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921833984001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18257820075950080,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483062779904,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788757174000,"timestamp_ms":1788757174000,"timestamp_seconds":1788757174,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c66f0"} 
[2026-09-07 10:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 10:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921833984001,"66":14461,"103":206,"83":41984,"24":29,"16":18257820075950080,"45":1783425483062779904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921833984001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:31:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18257820075950080,"km_value":18257820075950.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483062779904,"description":"Unknown IO ID 45"} 
[2026-09-07 10:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921833984001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1783425483062779904}} 
[2026-09-07 10:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":173273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:31:13] local.INFO: GPS data processed {"connection_id":173273,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:31:13] local.INFO: Acknowledgment sent {"connection_id":173273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:31:22] local.INFO: TCP Data received {"connection_id":174640,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3c72a8012cfb94c0070424e0000a014427..."} 
[2026-09-07 10:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3c72a8012cfb94c0070424e0000a014427..."} 
[2026-09-07 10:31:22] local.INFO: Processing buffer {"connection_id":174640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3c72a8012cfb94c0070424e0000a014427..."} 
[2026-09-07 10:31:22] local.INFO: Packet analysis {"connection_id":174640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:31:22] local.INFO: Extracted packet for processing {"connection_id":174640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3c"} 
[2026-09-07 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":754685120,"raw_latitude":117712096,"longitude_deg":75.468512,"latitude_deg":11.7712096,"altitude":10,"angle":324,"satellites":39,"speed":44,"hex_longitude":"2cfb94c0","hex_latitude":"070424e0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921835008001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401092581863194624,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-312296456528080896,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757177000,"timestamp_ms":1788757177000,"timestamp_seconds":1788757177,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3c72a8"} 
[2026-09-07 10: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-07 10:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:31:22] 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-07 10: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-07 10: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-07 10:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:31:22] 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-07 10:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921835008001,"66":27865,"78":206,"94":10240,"24":44,"16":401092581863194624,"44":-312296456528080896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-09-07 10:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921835008001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:31:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 10:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401092581863194624,"km_value":401092581863194.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-312296456528080896,"description":"Unknown IO ID 44"} 
[2026-09-07 10:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921835008001,"power":27865,"unknown_78":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-312296456528080896}} 
[2026-09-07 10:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":174640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:31:22] local.INFO: GPS data processed {"connection_id":174640,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:31:22] local.INFO: Acknowledgment sent {"connection_id":174640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:31:38] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:38] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:38] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:31:39] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:39] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:39] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:31:40] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:40] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:40] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:31:41] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:41] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:31:41] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:31:45] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:45] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:45] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:31:46] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:46] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:46] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:31:50] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:50] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:31:50] local.INFO: IMEI packet received {"connection_id":173274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:31:51] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3d68c0012cfae5c00704e378000b013f26..."} 
[2026-09-07 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3d68c0012cfae5c00704e378000b013f26..."} 
[2026-09-07 10:31:51] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3d68c0012cfae5c00704e378000b013f26..."} 
[2026-09-07 10:31:51] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:31:51] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":754640320,"raw_latitude":117760888,"longitude_deg":75.464032,"latitude_deg":11.7760888,"altitude":11,"angle":319,"satellites":38,"speed":48,"hex_longitude":"2cfae5c0","hex_latitude":"0704e378","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921851392001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401095871808143360,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-360991627486433280,"note":"Value kept but may cause issues"} 
[2026-09-07 10:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757240000,"timestamp_ms":1788757240000,"timestamp_seconds":1788757240,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3d68c0"} 
[2026-09-07 10: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-07 10:31: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-07 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:31:51] 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-07 10:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921851392001,"66":27984,"103":206,"94":10240,"24":48,"16":401095871808143360,"44":-360991627486433280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,94,24,16,44]} 
[2026-09-07 10:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921851392001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:31:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401095871808143360,"km_value":401095871808143.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-360991627486433280,"description":"Unknown IO ID 44"} 
[2026-09-07 10:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921851392001,"power":27984,"unknown_103":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-360991627486433280}} 
[2026-09-07 10:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:31:51] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:31:51] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:31:52] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:52] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:31:52] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:32:31] local.INFO: TCP Data received {"connection_id":173274,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3d8800012cfacdc0070502a8000a014528..."} 
[2026-09-07 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3d8800012cfacdc0070502a8000a014528..."} 
[2026-09-07 10:32:31] local.INFO: Processing buffer {"connection_id":173274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3d8800012cfacdc0070502a8000a014528..."} 
[2026-09-07 10:32:31] local.INFO: Packet analysis {"connection_id":173274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:31] local.INFO: Extracted packet for processing {"connection_id":173274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":754634176,"raw_latitude":117768872,"longitude_deg":75.4634176,"latitude_deg":11.7768872,"altitude":10,"angle":325,"satellites":40,"speed":48,"hex_longitude":"2cfacdc0","hex_latitude":"070502a8","is_valid_coordinates":true} 
[2026-09-07 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921853440001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401096357139447808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-367676658181507072,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788757248000,"timestamp_ms":1788757248000,"timestamp_seconds":1788757248,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3d8800"} 
[2026-09-07 10:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 10:32:31] 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-07 10:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921853440001,"66":27767,"103":206,"94":10240,"24":48,"16":401096357139447808,"44":-367676658181507072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,94,24,16,44]} 
[2026-09-07 10:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921853440001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:32:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:32:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401096357139447808,"km_value":401096357139447.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-367676658181507072,"description":"Unknown IO ID 44"} 
[2026-09-07 10:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921853440001,"power":27767,"unknown_103":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-367676658181507072}} 
[2026-09-07 10:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":173274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:32:31] local.INFO: GPS data processed {"connection_id":173274,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:32:31] local.INFO: Acknowledgment sent {"connection_id":173274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:32:48] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:48] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:48] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:32:50] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:50] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:50] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:32:55] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:55] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:32:55] local.INFO: IMEI packet received {"connection_id":174642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":174642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:32:56] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3da740012cfab6c007052210000a014429..."} 
[2026-09-07 10:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3da740012cfab6c007052210000a014429..."} 
[2026-09-07 10:32:56] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3da740012cfab6c007052210000a014429..."} 
[2026-09-07 10:32:56] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:56] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:56] local.INFO: GPS Element Parsed {"raw_longitude":754628288,"raw_latitude":117776912,"longitude_deg":75.4628288,"latitude_deg":11.7776912,"altitude":10,"angle":324,"satellites":41,"speed":42,"hex_longitude":"2cfab6c0","hex_latitude":"07052210","is_valid_coordinates":true} 
[2026-09-07 10:32: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-07 10:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921855488001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401096838175784960,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-374432057620518912,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788757256000,"timestamp_ms":1788757256000,"timestamp_seconds":1788757256,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3da740"} 
[2026-09-07 10:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:32: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-07 10:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:56] 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-07 10:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921855488001,"66":27865,"103":206,"94":10240,"24":42,"16":401096838175784960,"44":-374432057620518912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,94,24,16,44]} 
[2026-09-07 10:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921855488001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:32:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:32:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401096838175784960,"km_value":401096838175784.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-374432057620518912,"description":"Unknown IO ID 44"} 
[2026-09-07 10:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921855488001,"power":27865,"unknown_103":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_44":-374432057620518912}} 
[2026-09-07 10:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:32:56] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:32:56] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:32:57] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3dc680012cfaa10007053d58000a013c29..."} 
[2026-09-07 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3dc680012cfaa10007053d58000a013c29..."} 
[2026-09-07 10:32:57] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3dc680012cfaa10007053d58000a013c29..."} 
[2026-09-07 10:32:57] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:57] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3d"} 
[2026-09-07 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":754622720,"raw_latitude":117783896,"longitude_deg":75.462272,"latitude_deg":11.7783896,"altitude":10,"angle":316,"satellites":41,"speed":43,"hex_longitude":"2cfaa100","hex_latitude":"07053d58","is_valid_coordinates":true} 
[2026-09-07 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921857536001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401097267672514560,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-380905982082805760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788757264000,"timestamp_ms":1788757264000,"timestamp_seconds":1788757264,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3dc680"} 
[2026-09-07 10:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 10:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:32:57] 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-07 10:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921857536001,"66":27843,"103":206,"94":10240,"24":43,"16":401097267672514560,"44":-380905982082805760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,94,24,16,44]} 
[2026-09-07 10:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921857536001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:32:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:32:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 10:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401097267672514560,"km_value":401097267672514.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-380905982082805760,"description":"Unknown IO ID 44"} 
[2026-09-07 10:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921857536001,"power":27843,"unknown_103":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-380905982082805760}} 
[2026-09-07 10:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:32:57] local.INFO: GPS data processed {"connection_id":174642,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:32:57] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:33:27] local.INFO: TCP Data received {"connection_id":174642,"ip":"42.106.6.27","data_length":93,"data_hex":"00000000000000518e01000001a07a3f29f8012cf9b3c007063230000f016428..."} 
[2026-09-07 10:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174642,"packet_length":93,"packet_hex":"00000000000000518e01000001a07a3f29f8012cf9b3c007063230000f016428..."} 
[2026-09-07 10:33:27] local.INFO: Processing buffer {"connection_id":174642,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07a3f29f8012cf9b3c007063230000f016428..."} 
[2026-09-07 10:33:27] local.INFO: Packet analysis {"connection_id":174642,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07a3f"} 
[2026-09-07 10:33:27] local.INFO: Extracted packet for processing {"connection_id":174642,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07a3f"} 
[2026-09-07 10:33:27] local.INFO: GPS Element Parsed {"raw_longitude":754561984,"raw_latitude":117846576,"longitude_deg":75.4561984,"latitude_deg":11.7846576,"altitude":15,"angle":356,"satellites":40,"speed":43,"hex_longitude":"2cf9b3c0","hex_latitude":"07063230","is_valid_coordinates":true} 
[2026-09-07 10:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 10:33: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-07 10:33: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-07 10:33:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:33:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 10:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174642,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 10:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-07 10:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174642,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-07 10:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 10:33:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 10:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":174642,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 10:33:27] local.ERROR: GPS data processing failed {"connection_id":174642,"error":"No valid data to process"} 
[2026-09-07 10:33:27] local.INFO: Acknowledgment sent {"connection_id":174642,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 10:33:45] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:45] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:45] local.INFO: IMEI packet received {"connection_id":173275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:33:46] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:46] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:46] local.INFO: IMEI packet received {"connection_id":173275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":173275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:33:51] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:51] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:33:51] local.INFO: IMEI packet received {"connection_id":173275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":173275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:33:52] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3f4d20012cf9b3c007065938000f016229..."} 
[2026-09-07 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3f4d20012cf9b3c007065938000f016229..."} 
[2026-09-07 10:33:52] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3f4d20012cf9b3c007065938000f016229..."} 
[2026-09-07 10:33:52] local.INFO: Packet analysis {"connection_id":173275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:33:52] local.INFO: Extracted packet for processing {"connection_id":173275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":754561984,"raw_latitude":117856568,"longitude_deg":75.4561984,"latitude_deg":11.7856568,"altitude":15,"angle":354,"satellites":41,"speed":47,"hex_longitude":"2cf9b3c0","hex_latitude":"07065938","is_valid_coordinates":true} 
[2026-09-07 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921882880001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401102176820133888,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453808001033031680,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788757364000,"timestamp_ms":1788757364000,"timestamp_seconds":1788757364,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3f4d20"} 
[2026-09-07 10:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 10:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921882880001,"66":27974,"85":206,"83":41728,"24":47,"16":401102176820133888,"44":-453808001033031680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 10:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921882880001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 10:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401102176820133888,"km_value":401102176820133.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453808001033031680,"description":"Unknown IO ID 44"} 
[2026-09-07 10:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921882880001,"power":27974,"unknown_85":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-453808001033031680}} 
[2026-09-07 10:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":173275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:33:52] local.INFO: GPS data processed {"connection_id":173275,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:33:52] local.INFO: Acknowledgment sent {"connection_id":173275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:33:55] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3f54f0012cf9b20007066280000e015529..."} 
[2026-09-07 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3f54f0012cf9b20007066280000e015529..."} 
[2026-09-07 10:33:55] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3f54f0012cf9b20007066280000e015529..."} 
[2026-09-07 10:33:55] local.INFO: Packet analysis {"connection_id":173275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:33:55] local.INFO: Extracted packet for processing {"connection_id":173275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":754561536,"raw_latitude":117858944,"longitude_deg":75.4561536,"latitude_deg":11.7858944,"altitude":14,"angle":341,"satellites":41,"speed":48,"hex_longitude":"2cf9b200","hex_latitude":"07066280","is_valid_coordinates":true} 
[2026-09-07 10:33: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-07 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921885184001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401102292784250880,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453808001030473728,"note":"Value kept but may cause issues"} 
[2026-09-07 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788757366000,"timestamp_ms":1788757366000,"timestamp_seconds":1788757366,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3f54f0"} 
[2026-09-07 10:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 10:33:55] 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-07 10:33: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-07 10:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:33:55] 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-07 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921885184001,"66":27800,"85":206,"83":41728,"24":48,"16":401102292784250880,"44":-453808001030473728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921885184001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 10:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401102292784250880,"km_value":401102292784250.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:33:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453808001030473728,"description":"Unknown IO ID 44"} 
[2026-09-07 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921885184001,"power":27800,"unknown_85":206,"unknown_83":41728,"ignition":48,"odometer":null,"unknown_44":-453808001030473728}} 
[2026-09-07 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:33:55] local.INFO: GPS data processed {"connection_id":173275,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:33:55] local.INFO: Acknowledgment sent {"connection_id":173275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:34:26] local.INFO: TCP Data received {"connection_id":173275,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3f7048012cf9a400070682b0000b015328..."} 
[2026-09-07 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3f7048012cf9a400070682b0000b015328..."} 
[2026-09-07 10:34:26] local.INFO: Processing buffer {"connection_id":173275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3f7048012cf9a400070682b0000b015328..."} 
[2026-09-07 10:34:26] local.INFO: Packet analysis {"connection_id":173275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:34:26] local.INFO: Extracted packet for processing {"connection_id":173275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":754557952,"raw_latitude":117867184,"longitude_deg":75.4557952,"latitude_deg":11.7867184,"altitude":11,"angle":339,"satellites":40,"speed":53,"hex_longitude":"2cf9a400","hex_latitude":"070682b0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921885696001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401102726575947776,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454300582239109120,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788757373000,"timestamp_ms":1788757373000,"timestamp_seconds":1788757373,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3f7048"} 
[2026-09-07 10: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-07 10:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:34:26] 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-07 10: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-07 10: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-07 10:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:34: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-07 10:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921885696001,"66":27821,"85":206,"83":41728,"24":53,"16":401102726575947776,"44":-454300582239109120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 10:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921885696001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 10:34:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401102726575947776,"km_value":401102726575947.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454300582239109120,"description":"Unknown IO ID 44"} 
[2026-09-07 10:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921885696001,"power":27821,"unknown_85":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-454300582239109120}} 
[2026-09-07 10:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":173275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:34:26] local.INFO: GPS data processed {"connection_id":173275,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:34:26] local.INFO: Acknowledgment sent {"connection_id":173275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:34:52] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:52] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:52] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:34:54] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:54] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:54] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:34:55] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:55] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:55] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:34:58] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:58] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:34:58] local.INFO: IMEI packet received {"connection_id":174643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":174643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:34:59] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3f8ba0012cf998000706a5e0000901552a..."} 
[2026-09-07 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3f8ba0012cf998000706a5e0000901552a..."} 
[2026-09-07 10:34:59] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3f8ba0012cf998000706a5e0000901552a..."} 
[2026-09-07 10:34:59] local.INFO: Packet analysis {"connection_id":174643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:34:59] local.INFO: Extracted packet for processing {"connection_id":174643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":754554880,"raw_latitude":117876192,"longitude_deg":75.455488,"latitude_deg":11.7876192,"altitude":9,"angle":341,"satellites":42,"speed":52,"hex_longitude":"2cf99800","hex_latitude":"0706a5e0","is_valid_coordinates":true} 
[2026-09-07 10:34: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-07 10:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921887488001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401103186137448448,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458241231910948864,"note":"Value kept but may cause issues"} 
[2026-09-07 10:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788757380000,"timestamp_ms":1788757380000,"timestamp_seconds":1788757380,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3f8ba0"} 
[2026-09-07 10:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:34:59] 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-07 10:34: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-07 10:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:34:59] 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-07 10:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921887488001,"66":27876,"85":206,"83":41728,"24":52,"16":401103186137448448,"44":-458241231910948864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 10:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921887488001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 10:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401103186137448448,"km_value":401103186137448.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458241231910948864,"description":"Unknown IO ID 44"} 
[2026-09-07 10:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921887488001,"power":27876,"unknown_85":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-458241231910948864}} 
[2026-09-07 10:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":174643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:34:59] local.INFO: GPS data processed {"connection_id":174643,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:34:59] local.INFO: Acknowledgment sent {"connection_id":174643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:35:00] local.INFO: TCP Data received {"connection_id":174643,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a3faae0012cf98dc00706c9a80008015a2a..."} 
[2026-09-07 10:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a3faae0012cf98dc00706c9a80008015a2a..."} 
[2026-09-07 10:35:00] local.INFO: Processing buffer {"connection_id":174643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a3faae0012cf98dc00706c9a80008015a2a..."} 
[2026-09-07 10:35:00] local.INFO: Packet analysis {"connection_id":174643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:35:00] local.INFO: Extracted packet for processing {"connection_id":174643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a3f"} 
[2026-09-07 10:35:00] local.INFO: GPS Element Parsed {"raw_longitude":754552256,"raw_latitude":117885352,"longitude_deg":75.4552256,"latitude_deg":11.7885352,"altitude":8,"angle":346,"satellites":42,"speed":45,"hex_longitude":"2cf98dc0","hex_latitude":"0706c9a8","is_valid_coordinates":true} 
[2026-09-07 10:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921889280001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401103649993916416,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461618931629170688,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788757388000,"timestamp_ms":1788757388000,"timestamp_seconds":1788757388,"priority":1,"record_length":96,"hex_timestamp":"000001a07a3faae0"} 
[2026-09-07 10:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 10:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:35:00] 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-07 10:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921889280001,"66":27789,"85":206,"83":41728,"24":45,"16":401103649993916416,"44":-461618931629170688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 10:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921889280001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 10:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401103649993916416,"km_value":401103649993916.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461618931629170688,"description":"Unknown IO ID 44"} 
[2026-09-07 10:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921889280001,"power":27789,"unknown_85":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-461618931629170688}} 
[2026-09-07 10:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":174643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:35:00] local.INFO: GPS data processed {"connection_id":174643,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:35:00] local.INFO: Acknowledgment sent {"connection_id":174643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:35:45] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:45] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:45] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:35:48] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:48] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:35:48] local.INFO: IMEI packet received {"connection_id":174645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:35:49] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a411df8012cf8e74007080ba8000e01442d..."} 
[2026-09-07 10:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a411df8012cf8e74007080ba8000e01442d..."} 
[2026-09-07 10:35:49] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a411df8012cf8e74007080ba8000e01442d..."} 
[2026-09-07 10:35:49] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:35:49] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":754509632,"raw_latitude":117967784,"longitude_deg":75.4509632,"latitude_deg":11.7967784,"altitude":14,"angle":324,"satellites":45,"speed":54,"hex_longitude":"2cf8e740","hex_latitude":"07080ba8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921913856001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401108176889446400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-505388290486118400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788757483000,"timestamp_ms":1788757483000,"timestamp_seconds":1788757483,"priority":1,"record_length":96,"hex_timestamp":"000001a07a411df8"} 
[2026-09-07 10: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-07 10:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:35:49] 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-07 10:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921913856001,"66":27865,"30":206,"83":41728,"24":54,"16":401108176889446400,"44":-505388290486118400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-07 10:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921913856001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:35:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 10:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401108176889446400,"km_value":401108176889446.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-505388290486118400,"description":"Unknown IO ID 44"} 
[2026-09-07 10:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921913856001,"power":27865,"unknown_30":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-505388290486118400}} 
[2026-09-07 10:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:35:49] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:35:49] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:36:19] local.INFO: TCP Data received {"connection_id":174645,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a413950012cf8cfc007082c70000b01442e..."} 
[2026-09-07 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a413950012cf8cfc007082c70000b01442e..."} 
[2026-09-07 10:36:19] local.INFO: Processing buffer {"connection_id":174645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a413950012cf8cfc007082c70000b01442e..."} 
[2026-09-07 10:36:19] local.INFO: Packet analysis {"connection_id":174645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:19] local.INFO: Extracted packet for processing {"connection_id":174645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":754503616,"raw_latitude":117976176,"longitude_deg":75.4503616,"latitude_deg":11.7976176,"altitude":11,"angle":324,"satellites":46,"speed":61,"hex_longitude":"2cf8cfc0","hex_latitude":"07082c70","is_valid_coordinates":true} 
[2026-09-07 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-07 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921915648001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401108675105652736,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-511369633739331584,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788757490000,"timestamp_ms":1788757490000,"timestamp_seconds":1788757490,"priority":1,"record_length":96,"hex_timestamp":"000001a07a413950"} 
[2026-09-07 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-07 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:36: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-07 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921915648001,"66":27865,"30":206,"83":41728,"24":61,"16":401108675105652736,"44":-511369633739331584},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-07 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921915648001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:36:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 10:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401108675105652736,"km_value":401108675105652.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-511369633739331584,"description":"Unknown IO ID 44"} 
[2026-09-07 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921915648001,"power":27865,"unknown_30":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-511369633739331584}} 
[2026-09-07 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":174645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:36:19] local.INFO: GPS data processed {"connection_id":174645,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:36:19] local.INFO: Acknowledgment sent {"connection_id":174645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:36:45] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:45] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:45] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:36:46] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:46] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:46] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:36:46] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:46] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:46] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:36:48] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:48] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:36:48] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:36:49] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a415890012d18298007219dc00055008925..."} 
[2026-09-07 10:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a415890012d18298007219dc00055008925..."} 
[2026-09-07 10:36:49] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a415890012d18298007219dc00055008925..."} 
[2026-09-07 10:36:49] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:49] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643584,"longitude_deg":75.6558208,"latitude_deg":11.9643584,"altitude":85,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219dc0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921914368001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18259967559598080,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072520192,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36: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-07 10:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788757498000,"timestamp_ms":1788757498000,"timestamp_seconds":1788757498,"priority":1,"record_length":96,"hex_timestamp":"000001a07a415890"} 
[2026-09-07 10: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-07 10:36:49] 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-07 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:36:49] 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-07 10: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-07 10: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-07 10:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921914368001,"66":12885,"105":206,"83":41984,"24":0,"16":18259967559598080,"45":1741063499072520192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 10:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921914368001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:36:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 10:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18259967559598080,"km_value":18259967559598.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072520192,"description":"Unknown IO ID 45"} 
[2026-09-07 10:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921914368001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741063499072520192}} 
[2026-09-07 10:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:36:50] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:36:50] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:36:50] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:50] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:36:50] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:36:51] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4150c0012cf8bb0007084950000a01442e..."} 
[2026-09-07 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4150c0012cf8bb0007084950000a01442e..."} 
[2026-09-07 10:36:51] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4150c0012cf8bb0007084950000a01442e..."} 
[2026-09-07 10:36:51] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:51] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":754498304,"raw_latitude":117983568,"longitude_deg":75.4498304,"latitude_deg":11.7983568,"altitude":10,"angle":324,"satellites":46,"speed":59,"hex_longitude":"2cf8bb00","hex_latitude":"07084950","is_valid_coordinates":true} 
[2026-09-07 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-07 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921917440001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401109113192316928,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-517984295689883648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757496000,"timestamp_ms":1788757496000,"timestamp_seconds":1788757496,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4150c0"} 
[2026-09-07 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-07 10:36: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-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:36:51] 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-07 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921917440001,"66":27767,"30":206,"83":41728,"24":59,"16":401109113192316928,"44":-517984295689883648},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921917440001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401109113192316928,"km_value":401109113192316.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-517984295689883648,"description":"Unknown IO ID 44"} 
[2026-09-07 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921917440001,"power":27767,"unknown_30":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-517984295689883648}} 
[2026-09-07 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:36:51] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:36:51] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:36:51] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a419af8012d182e4007219ab0004d007c25..."} 
[2026-09-07 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a419af8012d182e4007219ab0004d007c25..."} 
[2026-09-07 10:36:51] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a419af8012d182e4007219ab0004d007c25..."} 
[2026-09-07 10:36:51] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:51] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a41"} 
[2026-09-07 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642800,"longitude_deg":75.6559424,"latitude_deg":11.96428,"altitude":77,"angle":124,"satellites":37,"speed":17,"hex_longitude":"2d182e40","hex_latitude":"07219ab0","is_valid_coordinates":true} 
[2026-09-07 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-07 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921919488001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18260036279074816,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741063499072520192,"note":"Value kept but may cause issues"} 
[2026-09-07 10:36: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-07 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757515000,"timestamp_ms":1788757515000,"timestamp_seconds":1788757515,"priority":1,"record_length":96,"hex_timestamp":"000001a07a419af8"} 
[2026-09-07 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-07 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 10:36: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-07 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-07 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-07 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921919488001,"66":14189,"105":206,"83":41984,"24":17,"16":18260036279074816,"45":1741063499072520192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921919488001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18260036279074816,"km_value":18260036279074.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741063499072520192,"description":"Unknown IO ID 45"} 
[2026-09-07 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921919488001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1741063499072520192}} 
[2026-09-07 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:36:51] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:36:51] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:37:22] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a42b050012cf791800709ef38000b013c2b..."} 
[2026-09-07 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a42b050012cf791800709ef38000b013c2b..."} 
[2026-09-07 10:37:22] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a42b050012cf791800709ef38000b013c2b..."} 
[2026-09-07 10:37:22] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:37:22] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":754422144,"raw_latitude":118091576,"longitude_deg":75.4422144,"latitude_deg":11.8091576,"altitude":11,"angle":316,"satellites":43,"speed":59,"hex_longitude":"2cf79180","hex_latitude":"0709ef38","is_valid_coordinates":true} 
[2026-09-07 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-07 10:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921940480001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401115521283522560,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-600878676303319040,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757586000,"timestamp_ms":1788757586000,"timestamp_seconds":1788757586,"priority":1,"record_length":96,"hex_timestamp":"000001a07a42b050"} 
[2026-09-07 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-07 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 10:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:37:22] 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-07 10:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921940480001,"66":27865,"12":206,"83":41728,"24":59,"16":401115521283522560,"44":-600878676303319040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921940480001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401115521283522560,"km_value":401115521283522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-600878676303319040,"description":"Unknown IO ID 44"} 
[2026-09-07 10:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921940480001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-600878676303319040}} 
[2026-09-07 10:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:37:22] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:37:22] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:37:22] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a435078012d18c3c007215220004300a125..."} 
[2026-09-07 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a435078012d18c3c007215220004300a125..."} 
[2026-09-07 10:37:22] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a435078012d18c3c007215220004300a125..."} 
[2026-09-07 10:37:22] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:22] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624224,"longitude_deg":75.6597696,"latitude_deg":11.9624224,"altitude":67,"angle":161,"satellites":37,"speed":37,"hex_longitude":"2d18c3c0","hex_latitude":"07215220","is_valid_coordinates":true} 
[2026-09-07 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-07 10:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921950208001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262218122461184,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779344095901982720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37: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-07 10:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757627000,"timestamp_ms":1788757627000,"timestamp_seconds":1788757627,"priority":1,"record_length":96,"hex_timestamp":"000001a07a435078"} 
[2026-09-07 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-07 10:37:22] 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-07 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 10:37: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-07 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-07 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-07 10:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921950208001,"66":12950,"106":206,"83":41984,"24":37,"16":18262218122461184,"45":1779344095901982720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921950208001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262218122461184,"km_value":18262218122461.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779344095901982720,"description":"Unknown IO ID 45"} 
[2026-09-07 10:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921950208001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1779344095901982720}} 
[2026-09-07 10:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:37:22] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:37:22] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:37:22] local.INFO: TCP Data received {"connection_id":173521,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:22] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:22] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:37:37] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:37] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:37] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:37:41] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:41] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:41] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:37:46] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:46] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:37:46] local.INFO: IMEI packet received {"connection_id":174646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":174646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:37:47] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a435848012d18c4c007214ae8004200af25..."} 
[2026-09-07 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a435848012d18c4c007214ae8004200af25..."} 
[2026-09-07 10:37:47] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a435848012d18c4c007214ae8004200af25..."} 
[2026-09-07 10:37:47] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:47] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119622376,"longitude_deg":75.6597952,"latitude_deg":11.9622376,"altitude":66,"angle":175,"satellites":37,"speed":37,"hex_longitude":"2d18c4c0","hex_latitude":"07214ae8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921952512001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262308316774400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014225182720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:47] 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-07 10:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757629000,"timestamp_ms":1788757629000,"timestamp_seconds":1788757629,"priority":1,"record_length":96,"hex_timestamp":"000001a07a435848"} 
[2026-09-07 10: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-07 10:37:47] 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-07 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:37:47] 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-07 10: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-07 10: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-07 10:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921952512001,"66":12885,"106":206,"83":41984,"24":37,"16":18262308316774400,"45":1784481014225182720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921952512001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:37:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262308316774400,"km_value":18262308316774.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014225182720,"description":"Unknown IO ID 45"} 
[2026-09-07 10:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921952512001,"power":12885,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1784481014225182720}} 
[2026-09-07 10:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:37:47] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:37:47] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:37:47] local.INFO: TCP Data received {"connection_id":174647,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:47] local.INFO: Processing buffer {"connection_id":174647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:37:47] local.INFO: IMEI packet received {"connection_id":174647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:37:50] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:50] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:50] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:37:52] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4367e8012d18c70007213c580041009f25..."} 
[2026-09-07 10:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4367e8012d18c70007213c580041009f25..."} 
[2026-09-07 10:37:52] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4367e8012d18c70007213c580041009f25..."} 
[2026-09-07 10:37:52] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:52] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618648,"longitude_deg":75.6598528,"latitude_deg":11.9618648,"altitude":65,"angle":159,"satellites":37,"speed":36,"hex_longitude":"2d18c700","hex_latitude":"07213c58","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921953024001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262493000368128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201420288,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37: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-07 10:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788757633000,"timestamp_ms":1788757633000,"timestamp_seconds":1788757633,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4367e8"} 
[2026-09-07 10: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-07 10:37: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-07 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 10:37: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-07 10: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-07 10: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-07 10:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921953024001,"66":12841,"106":206,"83":41984,"24":36,"16":18262493000368128,"45":1784762489201420288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921953024001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:37:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:37:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262493000368128,"km_value":18262493000368.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201420288,"description":"Unknown IO ID 45"} 
[2026-09-07 10:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921953024001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1784762489201420288}} 
[2026-09-07 10:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:37:52] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:37:52] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:37:53] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:53] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:53] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:37:55] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:55] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:37:55] local.INFO: IMEI packet received {"connection_id":176011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":176011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:37:55] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a42cba8012cf775c0070a0c50000d013e2f..."} 
[2026-09-07 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a42cba8012cf775c0070a0c50000d013e2f..."} 
[2026-09-07 10:37:55] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a42cba8012cf775c0070a0c50000d013e2f..."} 
[2026-09-07 10:37:55] local.INFO: Packet analysis {"connection_id":176011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:37:55] local.INFO: Extracted packet for processing {"connection_id":176011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":754415040,"raw_latitude":118099024,"longitude_deg":75.441504,"latitude_deg":11.8099024,"altitude":13,"angle":318,"satellites":47,"speed":57,"hex_longitude":"2cf775c0","hex_latitude":"070a0c50","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921942016001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401116015204761600,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-607563706998507520,"note":"Value kept but may cause issues"} 
[2026-09-07 10:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788757593000,"timestamp_ms":1788757593000,"timestamp_seconds":1788757593,"priority":1,"record_length":96,"hex_timestamp":"000001a07a42cba8"} 
[2026-09-07 10: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-07 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 10: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-07 10: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-07 10:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:37:55] 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-07 10:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921942016001,"66":27865,"12":206,"83":41728,"24":57,"16":401116015204761600,"44":-607563706998507520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 10:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921942016001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:37:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 10:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401116015204761600,"km_value":401116015204761.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-607563706998507520,"description":"Unknown IO ID 44"} 
[2026-09-07 10:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921942016001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-607563706998507520}} 
[2026-09-07 10:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":176011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:37:55] local.INFO: GPS data processed {"connection_id":176011,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:37:55] local.INFO: Acknowledgment sent {"connection_id":176011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:38:00] local.INFO: TCP Data received {"connection_id":176011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a42e700012cf75c80070a2ac8000d01412f..."} 
[2026-09-07 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a42e700012cf75c80070a2ac8000d01412f..."} 
[2026-09-07 10:38:00] local.INFO: Processing buffer {"connection_id":176011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a42e700012cf75c80070a2ac8000d01412f..."} 
[2026-09-07 10:38:00] local.INFO: Packet analysis {"connection_id":176011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:38:00] local.INFO: Extracted packet for processing {"connection_id":176011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a42"} 
[2026-09-07 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":754408576,"raw_latitude":118106824,"longitude_deg":75.4408576,"latitude_deg":11.8106824,"altitude":13,"angle":321,"satellites":47,"speed":57,"hex_longitude":"2cf75c80","hex_latitude":"070a2ac8","is_valid_coordinates":true} 
[2026-09-07 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921943808001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401116504831033344,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-615374637600321536,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788757600000,"timestamp_ms":1788757600000,"timestamp_seconds":1788757600,"priority":1,"record_length":96,"hex_timestamp":"000001a07a42e700"} 
[2026-09-07 10:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:38:00] 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-07 10:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921943808001,"66":27658,"12":206,"83":41728,"24":57,"16":401116504831033344,"44":-615374637600321536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 10:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921943808001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:38:00] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 10:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401116504831033344,"km_value":401116504831033.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-615374637600321536,"description":"Unknown IO ID 44"} 
[2026-09-07 10:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921943808001,"power":27658,"unknown_12":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-615374637600321536}} 
[2026-09-07 10:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":176011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:38:00] local.INFO: GPS data processed {"connection_id":176011,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:38:00] local.INFO: Acknowledgment sent {"connection_id":176011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:38:23] local.INFO: TCP Data received {"connection_id":174646,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a436fb8012d18ca80072135e00040009325..."} 
[2026-09-07 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a436fb8012d18ca80072135e00040009325..."} 
[2026-09-07 10:38:23] local.INFO: Processing buffer {"connection_id":174646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a436fb8012d18ca80072135e00040009325..."} 
[2026-09-07 10:38:23] local.INFO: Packet analysis {"connection_id":174646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:23] local.INFO: Extracted packet for processing {"connection_id":174646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756599424,"raw_latitude":119616992,"longitude_deg":75.6599424,"latitude_deg":11.9616992,"altitude":64,"angle":147,"satellites":37,"speed":36,"hex_longitude":"2d18ca80","hex_latitude":"072135e0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921954048001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262583194681344,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898064896,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38: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-07 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788757635000,"timestamp_ms":1788757635000,"timestamp_seconds":1788757635,"priority":1,"record_length":96,"hex_timestamp":"000001a07a436fb8"} 
[2026-09-07 10: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-07 10:38: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-07 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 10:38: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-07 10: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-07 10: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-07 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921954048001,"66":12863,"106":206,"83":41984,"24":36,"16":18262583194681344,"45":1785395807898064896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921954048001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:38:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262583194681344,"km_value":18262583194681.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898064896,"description":"Unknown IO ID 45"} 
[2026-09-07 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921954048001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785395807898064896}} 
[2026-09-07 10:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":174646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:38:23] local.INFO: GPS data processed {"connection_id":174646,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:38:23] local.INFO: Acknowledgment sent {"connection_id":174646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:38:40] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:40] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:40] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:38:41] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:41] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:41] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:38:45] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:45] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:45] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:38:46] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:46] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:38:46] local.INFO: IMEI packet received {"connection_id":173278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":173278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:38:47] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a438340012d18d24007212658003e00a925..."} 
[2026-09-07 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a438340012d18d24007212658003e00a925..."} 
[2026-09-07 10:38:47] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a438340012d18d24007212658003e00a925..."} 
[2026-09-07 10:38:47] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:47] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613016,"longitude_deg":75.6601408,"latitude_deg":11.9613016,"altitude":62,"angle":169,"satellites":37,"speed":33,"hex_longitude":"2d18d240","hex_latitude":"07212658","is_valid_coordinates":true} 
[2026-09-07 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921954560001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262802238013440,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786380970316128256,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:47] 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-07 10:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757640000,"timestamp_ms":1788757640000,"timestamp_seconds":1788757640,"priority":1,"record_length":96,"hex_timestamp":"000001a07a438340"} 
[2026-09-07 10:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:38:47] 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-07 10:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 10:38:47] 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-07 10:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921954560001,"66":12809,"106":206,"83":41984,"24":33,"16":18262802238013440,"45":1786380970316128256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921954560001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:38:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262802238013440,"km_value":18262802238013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786380970316128256,"description":"Unknown IO ID 45"} 
[2026-09-07 10:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921954560001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1786380970316128256}} 
[2026-09-07 10:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:38:47] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:38:47] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:38:50] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:50] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:38:50] local.INFO: IMEI packet received {"connection_id":174648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":174648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:38:51] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a430258012cf743c0070a48a0000e01402f..."} 
[2026-09-07 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a430258012cf743c0070a48a0000e01402f..."} 
[2026-09-07 10:38:51] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a430258012cf743c0070a48a0000e01402f..."} 
[2026-09-07 10:38:51] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:51] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":754402240,"raw_latitude":118114464,"longitude_deg":75.440224,"latitude_deg":11.8114464,"altitude":14,"angle":320,"satellites":47,"speed":56,"hex_longitude":"2cf743c0","hex_latitude":"070a48a0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921945600001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401116981572403200,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-622481880760268800,"note":"Value kept but may cause issues"} 
[2026-09-07 10:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757607000,"timestamp_ms":1788757607000,"timestamp_seconds":1788757607,"priority":1,"record_length":96,"hex_timestamp":"000001a07a430258"} 
[2026-09-07 10: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-07 10:38: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-07 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 10:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:38:51] 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-07 10:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921945600001,"66":27800,"12":206,"83":41728,"24":56,"16":401116981572403200,"44":-622481880760268800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 10:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921945600001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:38:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 10:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401116981572403200,"km_value":401116981572403.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-622481880760268800,"description":"Unknown IO ID 44"} 
[2026-09-07 10:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921945600001,"power":27800,"unknown_12":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-622481880760268800}} 
[2026-09-07 10:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:38:51] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:38:51] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:39:19] local.INFO: TCP Data received {"connection_id":173278,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4392e0012d18d280072118e0003c00b625..."} 
[2026-09-07 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4392e0012d18d280072118e0003c00b625..."} 
[2026-09-07 10:39:19] local.INFO: Processing buffer {"connection_id":173278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4392e0012d18d280072118e0003c00b625..."} 
[2026-09-07 10:39:19] local.INFO: Packet analysis {"connection_id":173278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:19] local.INFO: Extracted packet for processing {"connection_id":173278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119609568,"longitude_deg":75.6601472,"latitude_deg":11.9609568,"altitude":60,"angle":182,"satellites":37,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"072118e0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921955840001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18262969741737984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384617984,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] 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-07 10:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788757644000,"timestamp_ms":1788757644000,"timestamp_seconds":1788757644,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4392e0"} 
[2026-09-07 10: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-07 10:39:19] 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-07 10: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2017612633229755392,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3775266816,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4838414117219380544,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2147950957,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2409962363559117605,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-2954135498626380205,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,225,160,111,45,128,53,64,37,10,66,103,60,65,88,192,1,240,85,227,122,33,4,113,205,177,32,36,239,51,2,7,74,28,50,164,244],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-07 10:39:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467756806732578816,"timestamp_seconds":4467756806732579.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 10: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-07 10:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921955840001,"66":12798,"106":206,"83":41984,"24":33,"16":18262969741737984,"45":1788562401384617984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921955840001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:39:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:39:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18262969741737984,"km_value":18262969741737.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384617984,"description":"Unknown IO ID 45"} 
[2026-09-07 10:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921955840001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788562401384617984}} 
[2026-09-07 10:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":173278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:39:19] local.INFO: GPS data processed {"connection_id":173278,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:39:19] local.INFO: Acknowledgment sent {"connection_id":173278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:39:22] local.INFO: TCP Data received {"connection_id":174648,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a448ce0012cf62800070b9488000801302d..."} 
[2026-09-07 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a448ce0012cf62800070b9488000801302d..."} 
[2026-09-07 10:39:22] local.INFO: Processing buffer {"connection_id":174648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a448ce0012cf62800070b9488000801302d..."} 
[2026-09-07 10:39:22] local.INFO: Packet analysis {"connection_id":174648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:39:22] local.INFO: Extracted packet for processing {"connection_id":174648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":754329600,"raw_latitude":118199432,"longitude_deg":75.43296,"latitude_deg":11.8199432,"altitude":8,"angle":304,"satellites":45,"speed":18,"hex_longitude":"2cf62800","hex_latitude":"070b9488","is_valid_coordinates":true} 
[2026-09-07 10:39: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-07 10:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921971456001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-705024417658052608,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401122363166425088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 10:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757708000,"timestamp_ms":1788757708000,"timestamp_seconds":1788757708,"priority":1,"record_length":96,"hex_timestamp":"000001a07a448ce0"} 
[2026-09-07 10:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:39: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":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:39:22] 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-07 10:39: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-07 10:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:39:22] 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-07 10:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921971456001,"66":27843,"44":-705024417658052608,"83":41728,"24":18,"16":401122363166425088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 10:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921971456001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-705024417658052608,"description":"Unknown IO ID 44"} 
[2026-09-07 10:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401122363166425088,"km_value":401122363166425.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:39:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921971456001,"power":27843,"unknown_44":-705024417658052608,"unknown_83":41728,"ignition":18,"odometer":null}} 
[2026-09-07 10:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":174648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:39:22] local.INFO: GPS data processed {"connection_id":174648,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:39:22] local.INFO: Acknowledgment sent {"connection_id":174648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:39:41] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:41] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:41] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:39:43] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:43] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:43] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:39:45] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:45] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:45] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:39:46] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:46] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:39:46] local.INFO: IMEI packet received {"connection_id":174650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":174650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:39:47] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a439e98012d18d2c007210ff0003b00a825..."} 
[2026-09-07 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a439e98012d18d2c007210ff0003b00a825..."} 
[2026-09-07 10:39:47] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a439e98012d18d2c007210ff0003b00a825..."} 
[2026-09-07 10:39:47] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:47] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119607280,"longitude_deg":75.6601536,"latitude_deg":11.960728,"altitude":59,"angle":168,"satellites":37,"speed":28,"hex_longitude":"2d18d2c0","hex_latitude":"07210ff0","is_valid_coordinates":true} 
[2026-09-07 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-07 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921956864001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263077115920384,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127912960,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:47] 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-07 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757647000,"timestamp_ms":1788757647000,"timestamp_seconds":1788757647,"priority":1,"record_length":96,"hex_timestamp":"000001a07a439e98"} 
[2026-09-07 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-07 10:39:47] 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-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 10:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921956864001,"66":12798,"106":206,"83":41984,"24":28,"16":18263077115920384,"45":1788632770127912960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921956864001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:39:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 10:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263077115920384,"km_value":18263077115920.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127912960,"description":"Unknown IO ID 45"} 
[2026-09-07 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921956864001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1788632770127912960}} 
[2026-09-07 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:39:47] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:39:47] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:39:50] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:50] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:39:50] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:39:51] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4494b0012cf62500070b95e8000801212d..."} 
[2026-09-07 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4494b0012cf62500070b95e8000801212d..."} 
[2026-09-07 10:39:51] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4494b0012cf62500070b95e8000801212d..."} 
[2026-09-07 10:39:51] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:39:51] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":754328832,"raw_latitude":118199784,"longitude_deg":75.4328832,"latitude_deg":11.8199784,"altitude":8,"angle":289,"satellites":45,"speed":13,"hex_longitude":"2cf62500","hex_latitude":"070b95e8","is_valid_coordinates":true} 
[2026-09-07 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921973248001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-709316911051798528,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401122401821130752,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 10:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757710000,"timestamp_ms":1788757710000,"timestamp_seconds":1788757710,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4494b0"} 
[2026-09-07 10:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:39: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-07 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:39:51] 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-07 10:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921973248001,"66":27789,"44":-709316911051798528,"83":41728,"24":13,"16":401122401821130752},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921973248001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-709316911051798528,"description":"Unknown IO ID 44"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401122401821130752,"km_value":401122401821130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:39:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921973248001,"power":27789,"unknown_44":-709316911051798528,"unknown_83":41728,"ignition":13,"odometer":null}} 
[2026-09-07 10:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:39:51] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:39:51] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:39:51] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a43ecb8012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a43ecb8012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:39:51] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a43ecb8012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:39:51] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:51] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a43"} 
[2026-09-07 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921957632001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138871504896,"note":"Value kept but may cause issues"} 
[2026-09-07 10:39: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-07 10:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757667000,"timestamp_ms":1788757667000,"timestamp_seconds":1788757667,"priority":1,"record_length":96,"hex_timestamp":"000001a07a43ecb8"} 
[2026-09-07 10:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:39:51] 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-07 10:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 10:39: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-07 10:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921957632001,"66":12841,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1788703138871504896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921957632001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138871504896,"description":"Unknown IO ID 45"} 
[2026-09-07 10:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921957632001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1788703138871504896}} 
[2026-09-07 10:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:39:51] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:39:51] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:40:23] local.INFO: TCP Data received {"connection_id":174650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a443ec0012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a443ec0012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:40:23] local.INFO: Processing buffer {"connection_id":174650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a443ec0012d18d6c00720fc78003b00ac25..."} 
[2026-09-07 10:40:23] local.INFO: Packet analysis {"connection_id":174650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:23] local.INFO: Extracted packet for processing {"connection_id":174650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921962752001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40: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-07 10:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788757688000,"timestamp_ms":1788757688000,"timestamp_seconds":1788757688,"priority":1,"record_length":96,"hex_timestamp":"000001a07a443ec0"} 
[2026-09-07 10: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-07 10: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-07 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 10:40: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-07 10: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-07 10: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-07 10:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921962752001,"66":12798,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921962752001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:40:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921962752001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":174650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:40:23] local.INFO: GPS data processed {"connection_id":174650,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:40:23] local.INFO: Acknowledgment sent {"connection_id":174650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:40:33] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a44a450012cf62200070b96b0000801132e..."} 
[2026-09-07 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a44a450012cf62200070b96b0000801132e..."} 
[2026-09-07 10:40:33] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a44a450012cf62200070b96b0000801132e..."} 
[2026-09-07 10:40:33] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:33] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":754328064,"raw_latitude":118199984,"longitude_deg":75.4328064,"latitude_deg":11.8199984,"altitude":8,"angle":275,"satellites":46,"speed":5,"hex_longitude":"2cf62200","hex_latitude":"070b96b0","is_valid_coordinates":true} 
[2026-09-07 10:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921973760001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-710161335981840384,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401122440475836416,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 10:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788757714000,"timestamp_ms":1788757714000,"timestamp_seconds":1788757714,"priority":1,"record_length":96,"hex_timestamp":"000001a07a44a450"} 
[2026-09-07 10:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 10:40:33] 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-07 10:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921973760001,"66":27887,"44":-710161335981840384,"83":41728,"24":5,"16":401122440475836416},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 10:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921973760001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-710161335981840384,"description":"Unknown IO ID 44"} 
[2026-09-07 10:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401122440475836416,"km_value":401122440475836.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:40:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457921973760001,"power":27887,"unknown_44":-710161335981840384,"unknown_83":41728,"ignition":5,"odometer":null}} 
[2026-09-07 10:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:40:33] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:40:33] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:40:41] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:41] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:41] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:40:45] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:45] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:45] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:40:46] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:46] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:46] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:40:46] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:46] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:40:46] local.INFO: IMEI packet received {"connection_id":176012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":176012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:40:47] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a448ce0012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a448ce0012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:40:47] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a448ce0012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:40:47] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:47] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 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-07 10:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921968128001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757708000,"timestamp_ms":1788757708000,"timestamp_seconds":1788757708,"priority":1,"record_length":96,"hex_timestamp":"000001a07a448ce0"} 
[2026-09-07 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-07 10:40:47] 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-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 10:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921968128001,"66":12722,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921968128001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:40:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921968128001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:40:47] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:40:47] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:40:50] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:50] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:40:50] local.INFO: IMEI packet received {"connection_id":173279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:40:51] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a45b9a8012cf5e380070c0a68000a014929..."} 
[2026-09-07 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a45b9a8012cf5e380070c0a68000a014929..."} 
[2026-09-07 10:40:51] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a45b9a8012cf5e380070c0a68000a014929..."} 
[2026-09-07 10:40:51] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:40:51] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":754312064,"raw_latitude":118229608,"longitude_deg":75.4312064,"latitude_deg":11.8229608,"altitude":10,"angle":329,"satellites":41,"speed":47,"hex_longitude":"2cf5e380","hex_latitude":"070c0a68","is_valid_coordinates":true} 
[2026-09-07 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921990912001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401124188527525888,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-723672134858385408,"note":"Value kept but may cause issues"} 
[2026-09-07 10:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788757785000,"timestamp_ms":1788757785000,"timestamp_seconds":1788757785,"priority":1,"record_length":96,"hex_timestamp":"000001a07a45b9a8"} 
[2026-09-07 10:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:40: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-07 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:40:51] 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-07 10:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:40:51] 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-07 10:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921990912001,"66":27658,"177":206,"83":41728,"24":47,"16":401124188527525888,"44":-723672134858385408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 10:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921990912001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:40:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 10:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401124188527525888,"km_value":401124188527525.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-723672134858385408,"description":"Unknown IO ID 44"} 
[2026-09-07 10:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921990912001,"power":27658,"unknown_177":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-723672134858385408}} 
[2026-09-07 10:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:40:51] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:40:51] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:41:18] local.INFO: TCP Data received {"connection_id":176012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a44db00012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a44db00012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:18] local.INFO: Processing buffer {"connection_id":176012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a44db00012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:18] local.INFO: Packet analysis {"connection_id":176012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:41:18] local.INFO: Extracted packet for processing {"connection_id":176012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a44"} 
[2026-09-07 10:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921973248001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:18] local.INFO: IO Element Parsed {"io_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-07 10:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788757728000,"timestamp_ms":1788757728000,"timestamp_seconds":1788757728,"priority":1,"record_length":96,"hex_timestamp":"000001a07a44db00"} 
[2026-09-07 10:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:41:18] 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-07 10:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-07 10:41:18] 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-07 10:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921973248001,"66":12711,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921973248001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:41:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921973248001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:41:18] local.INFO: GPS data processed {"connection_id":176012,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:41:18] local.INFO: Acknowledgment sent {"connection_id":176012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:41:22] local.INFO: TCP Data received {"connection_id":173279,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a45d8e8012cf5cf40070c2ab8000c01462c..."} 
[2026-09-07 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a45d8e8012cf5cf40070c2ab8000c01462c..."} 
[2026-09-07 10:41:22] local.INFO: Processing buffer {"connection_id":173279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a45d8e8012cf5cf40070c2ab8000c01462c..."} 
[2026-09-07 10:41:22] local.INFO: Packet analysis {"connection_id":173279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:41:22] local.INFO: Extracted packet for processing {"connection_id":173279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":754306880,"raw_latitude":118237880,"longitude_deg":75.430688,"latitude_deg":11.823788,"altitude":12,"angle":326,"satellites":44,"speed":47,"hex_longitude":"2cf5cf40","hex_latitude":"070c2ab8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921992960001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401124656678961152,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-728597946948753408,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788757793000,"timestamp_ms":1788757793000,"timestamp_seconds":1788757793,"priority":1,"record_length":96,"hex_timestamp":"000001a07a45d8e8"} 
[2026-09-07 10: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-07 10:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 10:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:41:22] 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-07 10:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921992960001,"66":27919,"177":206,"83":41728,"24":47,"16":401124656678961152,"44":-728597946948753408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 10:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921992960001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:41:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 10:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401124656678961152,"km_value":401124656678961.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-728597946948753408,"description":"Unknown IO ID 44"} 
[2026-09-07 10:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921992960001,"power":27919,"unknown_177":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-728597946948753408}} 
[2026-09-07 10:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":173279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:41:22] local.INFO: GPS data processed {"connection_id":173279,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:41:22] local.INFO: Acknowledgment sent {"connection_id":173279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:41:41] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:41] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:41] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:41:46] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:46] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:41:46] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:41:47] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a452d08012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a452d08012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:47] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a452d08012d18d6c00720fc78003b00ac27..."} 
[2026-09-07 10:41:47] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:41:47] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":39,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 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-07 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921978368001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757749000,"timestamp_ms":1788757749000,"timestamp_seconds":1788757749,"priority":1,"record_length":96,"hex_timestamp":"000001a07a452d08"} 
[2026-09-07 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-07 10:41:47] 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-07 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-07 10:41:47] 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-07 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-07 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-07 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921978368001,"66":12667,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921978368001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:41:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921978368001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:41:47] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:41:47] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:41:50] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:50] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:50] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:41:56] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:56] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:41:56] local.INFO: IMEI packet received {"connection_id":176014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":176014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:42:05] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a45f828012cf5b980070c4bc8000b01482d..."} 
[2026-09-07 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a45f828012cf5b980070c4bc8000b01482d..."} 
[2026-09-07 10:42:05] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a45f828012cf5b980070c4bc8000b01482d..."} 
[2026-09-07 10:42:05] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:05] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:05] local.INFO: GPS Element Parsed {"raw_longitude":754301312,"raw_latitude":118246344,"longitude_deg":75.4301312,"latitude_deg":11.8246344,"altitude":11,"angle":328,"satellites":45,"speed":51,"hex_longitude":"2cf5b980","hex_latitude":"070c4bc8","is_valid_coordinates":true} 
[2026-09-07 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921995008001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401125146305232896,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-734297815225026560,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788757801000,"timestamp_ms":1788757801000,"timestamp_seconds":1788757801,"priority":1,"record_length":96,"hex_timestamp":"000001a07a45f828"} 
[2026-09-07 10:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 10:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921995008001,"66":27865,"131":206,"83":41728,"24":51,"16":401125146305232896,"44":-734297815225026560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,44]} 
[2026-09-07 10:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921995008001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:42:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 10:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401125146305232896,"km_value":401125146305232.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:42:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-734297815225026560,"description":"Unknown IO ID 44"} 
[2026-09-07 10:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921995008001,"power":27865,"unknown_131":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-734297815225026560}} 
[2026-09-07 10:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:42:05] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:42:05] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:42:06] local.INFO: TCP Data received {"connection_id":176014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07a461380012cf5a740070c6998000a014a2c..."} 
[2026-09-07 10:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a461380012cf5a740070c6998000a014a2c..."} 
[2026-09-07 10:42:06] local.INFO: Processing buffer {"connection_id":176014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a461380012cf5a740070c6998000a014a2c..."} 
[2026-09-07 10:42:06] local.INFO: Packet analysis {"connection_id":176014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a46"} 
[2026-09-07 10:42:06] local.INFO: Extracted packet for processing {"connection_id":176014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a46"} 
[2026-09-07 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":754296640,"raw_latitude":118253976,"longitude_deg":75.429664,"latitude_deg":11.8253976,"altitude":10,"angle":330,"satellites":44,"speed":50,"hex_longitude":"2cf5a740","hex_latitude":"070c6998","is_valid_coordinates":true} 
[2026-09-07 10:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921997056001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401125580096929792,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-740419895966316544,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788757808000,"timestamp_ms":1788757808000,"timestamp_seconds":1788757808,"priority":1,"record_length":96,"hex_timestamp":"000001a07a461380"} 
[2026-09-07 10:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921997056001,"66":27137,"131":206,"83":41728,"24":50,"16":401125580096929792,"44":-740419895966316544},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,44]} 
[2026-09-07 10:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921997056001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:42:06] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 10:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 10:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401125580096929792,"km_value":401125580096929.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:42:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-740419895966316544,"description":"Unknown IO ID 44"} 
[2026-09-07 10:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921997056001,"power":27137,"unknown_131":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-740419895966316544}} 
[2026-09-07 10:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":176014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:42:06] local.INFO: GPS data processed {"connection_id":176014,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:42:06] local.INFO: Acknowledgment sent {"connection_id":176014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:42:18] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a457b28012d18d6c00720fc78003b00ac28..."} 
[2026-09-07 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a457b28012d18d6c00720fc78003b00ac28..."} 
[2026-09-07 10:42:18] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a457b28012d18d6c00720fc78003b00ac28..."} 
[2026-09-07 10:42:18] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:18] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":40,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921983744001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:18] local.INFO: IO Element Parsed {"io_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-07 10:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788757769000,"timestamp_ms":1788757769000,"timestamp_seconds":1788757769,"priority":1,"record_length":96,"hex_timestamp":"000001a07a457b28"} 
[2026-09-07 10:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:42:18] 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-07 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 10:42: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-07 10:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921983744001,"66":12558,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921983744001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:42:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921983744001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:42:18] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:42:18] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:42:38] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:38] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:38] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:42:39] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:39] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:39] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:42:40] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:42:40] local.INFO: TCP Data received {"connection_id":173281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: Processing buffer {"connection_id":173281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:42:40] local.INFO: IMEI packet received {"connection_id":173281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:42:41] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:41] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:41] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:42:46] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:46] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:42:46] local.INFO: IMEI packet received {"connection_id":173282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:42:47] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a45c948012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a45c948012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:42:47] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a45c948012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:42:47] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:47] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a45"} 
[2026-09-07 10:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921988864001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788757789000,"timestamp_ms":1788757789000,"timestamp_seconds":1788757789,"priority":1,"record_length":96,"hex_timestamp":"000001a07a45c948"} 
[2026-09-07 10: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-07 10:42:47] 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-07 10: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578578465069280,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4235722811,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3798401024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":28,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409944066,"note":"Value kept but may cause issues"} 
[2026-09-07 10:42:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,226,160,45,192,252,59,39,10,66,219,140,1,240,178,227,122,32,4,113,205,236,214,120,37,239,50,2,64,7,28,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 10:42:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251587336036417536,"timestamp_seconds":4251587336036417.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 10: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-07 10:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921988864001,"66":12558,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921988864001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:42:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921988864001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:42:47] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:42:47] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:43:18] local.INFO: TCP Data received {"connection_id":173282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a461768012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a461768012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:43:18] local.INFO: Processing buffer {"connection_id":173282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a461768012d18d6c00720fc78003b00ac29..."} 
[2026-09-07 10:43:18] local.INFO: Packet analysis {"connection_id":173282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a46"} 
[2026-09-07 10:43:18] local.INFO: Extracted packet for processing {"connection_id":173282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a46"} 
[2026-09-07 10:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119602296,"longitude_deg":75.660256,"latitude_deg":11.9602296,"altitude":59,"angle":172,"satellites":41,"speed":0,"hex_longitude":"2d18d6c0","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-09-07 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457921993984001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263330518990848,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777071616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.INFO: IO Element Parsed {"io_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-07 10:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788757809000,"timestamp_ms":1788757809000,"timestamp_seconds":1788757809,"priority":1,"record_length":96,"hex_timestamp":"000001a07a461768"} 
[2026-09-07 10:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:43:18] 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-07 10:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249578853342973936,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4235722811,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3221692668,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":37,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465464,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3798401024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409616386,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,226,160,123,45,192,252,59,40,10,66,39,219,1,240,167,227,122,32,4,113,205,62,214,120,37,239,49,2,64,7,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 10:43:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251587340331384832,"timestamp_seconds":4251587340331385.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 10:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457921993984001,"66":11363,"103":206,"83":41984,"24":0,"16":18263330518990848,"45":1789829038777071616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457921993984001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:43:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263330518990848,"km_value":18263330518990.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777071616,"description":"Unknown IO ID 45"} 
[2026-09-07 10:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457921993984001,"power":11363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1789829038777071616}} 
[2026-09-07 10:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":173282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:43:18] local.INFO: GPS data processed {"connection_id":173282,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:43:18] local.INFO: Acknowledgment sent {"connection_id":173282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:43:27] local.INFO: TCP Data received {"connection_id":173283,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:27] local.INFO: Processing buffer {"connection_id":173283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:27] local.INFO: IMEI packet received {"connection_id":173283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":173283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:43:46] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:43:46] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:43:46] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:43:47] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 10:43:47] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 10:43:47] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:43:48] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a48d688012d18d44007210450004000de2a..."} 
[2026-09-07 10:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a48d688012d18d44007210450004000de2a..."} 
[2026-09-07 10:43:48] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07a48d2a0012d18d4c007210488004000ca2a..."} 
[2026-09-07 10:43:48] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:48] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119604360,"longitude_deg":75.6602048,"latitude_deg":11.960436,"altitude":64,"angle":202,"satellites":42,"speed":3,"hex_longitude":"2d18d4c0","hex_latitude":"07210488","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922044416001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263459368009728,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789336457568407552,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.INFO: IO Element Parsed {"io_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-07 10:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788757988000,"timestamp_ms":1788757988000,"timestamp_seconds":1788757988,"priority":1,"record_length":96,"hex_timestamp":"000001a07a48d2a0"} 
[2026-09-07 10: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-07 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 10:43:48] 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-07 10: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-07 10: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-07 10:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922044416001,"66":13917,"103":206,"83":41984,"24":3,"16":18263459368009728,"45":1789336457568407552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922044416001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263459368009728,"km_value":18263459368009.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789336457568407552,"description":"Unknown IO ID 45"} 
[2026-09-07 10:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922044416001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789336457568407552}} 
[2026-09-07 10:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:43:48] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:43:48] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:43:48] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:48] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604304,"longitude_deg":75.660192,"latitude_deg":11.9604304,"altitude":64,"angle":222,"satellites":42,"speed":3,"hex_longitude":"2d18d440","hex_latitude":"07210450","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922044928001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263463662977024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088824178688,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:48] local.INFO: IO Element Parsed {"io_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-07 10:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788757989000,"timestamp_ms":1788757989000,"timestamp_seconds":1788757989,"priority":1,"record_length":96,"hex_timestamp":"000001a07a48d688"} 
[2026-09-07 10: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-07 10:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 10:43:48] 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-07 10: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-07 10: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-07 10:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922044928001,"66":13917,"103":206,"83":41984,"24":3,"16":18263463662977024,"45":1789266088824178688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922044928001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263463662977024,"km_value":18263463662977.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088824178688,"description":"Unknown IO ID 45"} 
[2026-09-07 10:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922044928001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789266088824178688}} 
[2026-09-07 10:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:43:48] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:43:48] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:43:49] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a48da70012d18d40007210440004000f62a..."} 
[2026-09-07 10:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a48da70012d18d40007210440004000f62a..."} 
[2026-09-07 10:43:49] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a48da70012d18d40007210440004000f62a..."} 
[2026-09-07 10:43:49] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:49] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119604288,"longitude_deg":75.6601856,"latitude_deg":11.9604288,"altitude":64,"angle":246,"satellites":42,"speed":2,"hex_longitude":"2d18d400","hex_latitude":"07210440","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922045184001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263467957944320,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351335809024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:43: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-07 10:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788757990000,"timestamp_ms":1788757990000,"timestamp_seconds":1788757990,"priority":1,"record_length":96,"hex_timestamp":"000001a07a48da70"} 
[2026-09-07 10: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-07 10:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 10:43:49] 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-07 10: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-07 10: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-07 10:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922045184001,"66":13917,"103":206,"83":41984,"24":2,"16":18263467957944320,"45":1789125351335809024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922045184001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:43:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263467957944320,"km_value":18263467957944.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351335809024,"description":"Unknown IO ID 45"} 
[2026-09-07 10:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922045184001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1789125351335809024}} 
[2026-09-07 10:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:43:49] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:43:49] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:43:52] local.INFO: TCP Data received {"connection_id":174651,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:52] local.INFO: Processing buffer {"connection_id":174651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:43:52] local.INFO: IMEI packet received {"connection_id":174651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":174651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:44:20] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a48de58012d18d3c0072104380040010a2a..."} 
[2026-09-07 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a48de58012d18d3c0072104380040010a2a..."} 
[2026-09-07 10:44:20] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a48de58012d18d3c0072104380040010a2a..."} 
[2026-09-07 10:44:20] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:44:20] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119604280,"longitude_deg":75.6601792,"latitude_deg":11.960428,"altitude":64,"angle":266,"satellites":42,"speed":3,"hex_longitude":"2d18d3c0","hex_latitude":"07210438","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922045440001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263472252911616,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982591627264,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:20] local.INFO: IO Element Parsed {"io_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-07 10:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788757991000,"timestamp_ms":1788757991000,"timestamp_seconds":1788757991,"priority":1,"record_length":96,"hex_timestamp":"000001a07a48de58"} 
[2026-09-07 10: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-07 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 10:44:20] 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-07 10: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-07 10: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-07 10:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922045440001,"66":13972,"103":206,"83":41984,"24":3,"16":18263472252911616,"45":1789054982591627264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922045440001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:44:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263472252911616,"km_value":18263472252911.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982591627264,"description":"Unknown IO ID 45"} 
[2026-09-07 10:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922045440001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1789054982591627264}} 
[2026-09-07 10:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:44:20] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:44:20] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:44:41] local.INFO: TCP Data received {"connection_id":174652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:41] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:41] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:44:47] local.INFO: TCP Data received {"connection_id":174652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:47] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:44:47] local.INFO: IMEI packet received {"connection_id":174652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":174652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:44:48] local.INFO: TCP Data received {"connection_id":174652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a48e240012d18d34007210440004001172a..."} 
[2026-09-07 10:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a48e240012d18d34007210440004001172a..."} 
[2026-09-07 10:44:48] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a48e240012d18d34007210440004001172a..."} 
[2026-09-07 10:44:48] local.INFO: Packet analysis {"connection_id":174652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:44:48] local.INFO: Extracted packet for processing {"connection_id":174652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a48"} 
[2026-09-07 10:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119604288,"longitude_deg":75.6601664,"latitude_deg":11.9604288,"altitude":64,"angle":279,"satellites":42,"speed":4,"hex_longitude":"2d18d340","hex_latitude":"07210440","is_valid_coordinates":true} 
[2026-09-07 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-07 10:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922045696001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18263476547878912,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847447552,"note":"Value kept but may cause issues"} 
[2026-09-07 10:44:48] local.INFO: IO Element Parsed {"io_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-07 10:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788757992000,"timestamp_ms":1788757992000,"timestamp_seconds":1788757992,"priority":1,"record_length":96,"hex_timestamp":"000001a07a48e240"} 
[2026-09-07 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-07 10:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 10:44:48] 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-07 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-07 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-07 10:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922045696001,"66":13972,"103":206,"83":41984,"24":4,"16":18263476547878912,"45":1788984613847447552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922045696001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:44:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18263476547878912,"km_value":18263476547878.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847447552,"description":"Unknown IO ID 45"} 
[2026-09-07 10:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922045696001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1788984613847447552}} 
[2026-09-07 10:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":174652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:44:48] local.INFO: GPS data processed {"connection_id":174652,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:44:48] local.INFO: Acknowledgment sent {"connection_id":174652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:45:19] local.INFO: TCP Data received {"connection_id":174652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a49a1a8012d18c5400720d068003700ab2a..."} 
[2026-09-07 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a49a1a8012d18c5400720d068003700ab2a..."} 
[2026-09-07 10:45:19] local.INFO: Processing buffer {"connection_id":174652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a49a1a8012d18c5400720d068003700ab2a..."} 
[2026-09-07 10:45:19] local.INFO: Packet analysis {"connection_id":174652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a49"} 
[2026-09-07 10:45:19] local.INFO: Extracted packet for processing {"connection_id":174652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a49"} 
[2026-09-07 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119591016,"longitude_deg":75.659808,"latitude_deg":11.9591016,"altitude":55,"angle":171,"satellites":42,"speed":12,"hex_longitude":"2d18c540","hex_latitude":"0720d068","is_valid_coordinates":true} 
[2026-09-07 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-07 10:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922054400001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18264215282253824,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595427475456,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:19] local.INFO: IO Element Parsed {"io_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-07 10:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788758041000,"timestamp_ms":1788758041000,"timestamp_seconds":1788758041,"priority":1,"record_length":96,"hex_timestamp":"000001a07a49a1a8"} 
[2026-09-07 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-07 10:45:19] 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-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:45:19] 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-07 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-07 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-07 10:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922054400001,"66":14363,"103":206,"83":41984,"24":12,"16":18264215282253824,"45":1784973595427475456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922054400001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:45:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18264215282253824,"km_value":18264215282253.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595427475456,"description":"Unknown IO ID 45"} 
[2026-09-07 10:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922054400001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784973595427475456}} 
[2026-09-07 10:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":174652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:45:19] local.INFO: GPS data processed {"connection_id":174652,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:45:19] local.INFO: Acknowledgment sent {"connection_id":174652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:45:41] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:41] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:41] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:45:44] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:44] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:44] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:45:46] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:46] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:45:46] local.INFO: IMEI packet received {"connection_id":173284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":173284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:45:47] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a49ebe0012d18c6c00720b860003b00b62a..."} 
[2026-09-07 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a49ebe0012d18c6c00720b860003b00b62a..."} 
[2026-09-07 10:45:47] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a49ebe0012d18c6c00720b860003b00b62a..."} 
[2026-09-07 10:45:47] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a49"} 
[2026-09-07 10:45:47] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a49"} 
[2026-09-07 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756598464,"raw_latitude":119584864,"longitude_deg":75.6598464,"latitude_deg":11.9584864,"altitude":59,"angle":182,"satellites":42,"speed":16,"hex_longitude":"2d18c6c0","hex_latitude":"0720b860","is_valid_coordinates":true} 
[2026-09-07 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-07 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922058496001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18264520224931840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226681747456,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758060000,"timestamp_ms":1788758060000,"timestamp_seconds":1788758060,"priority":1,"record_length":96,"hex_timestamp":"000001a07a49ebe0"} 
[2026-09-07 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-07 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922058496001,"66":14102,"103":206,"83":41984,"24":16,"16":18264520224931840,"45":1784903226681747456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922058496001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:45:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18264520224931840,"km_value":18264520224931.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226681747456,"description":"Unknown IO ID 45"} 
[2026-09-07 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922058496001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1784903226681747456}} 
[2026-09-07 10:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:45:47] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:45:47] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:45:51] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4a3618012d18c40007209be8003500b82a..."} 
[2026-09-07 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4a3618012d18c40007209be8003500b82a..."} 
[2026-09-07 10:45:51] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4a3618012d18c40007209be8003500b82a..."} 
[2026-09-07 10:45:51] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4a"} 
[2026-09-07 10:45:51] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4a"} 
[2026-09-07 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119577576,"longitude_deg":75.659776,"latitude_deg":11.9577576,"altitude":53,"angle":184,"satellites":42,"speed":10,"hex_longitude":"2d18c400","hex_latitude":"07209be8","is_valid_coordinates":true} 
[2026-09-07 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-07 10:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922063360001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18264876707217408,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785325439145238528,"note":"Value kept but may cause issues"} 
[2026-09-07 10:45: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-07 10:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758079000,"timestamp_ms":1788758079000,"timestamp_seconds":1788758079,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4a3618"} 
[2026-09-07 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-07 10:45:51] 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-07 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 10:45:51] 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-07 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-07 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-07 10:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922063360001,"66":14374,"103":206,"83":41984,"24":10,"16":18264876707217408,"45":1785325439145238528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922063360001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:45:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18264876707217408,"km_value":18264876707217.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785325439145238528,"description":"Unknown IO ID 45"} 
[2026-09-07 10:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922063360001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1785325439145238528}} 
[2026-09-07 10:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:45:51] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:45:51] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:46:22] local.INFO: TCP Data received {"connection_id":173284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4a5558012d18c2c007209328003100c62a..."} 
[2026-09-07 10:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4a5558012d18c2c007209328003100c62a..."} 
[2026-09-07 10:46:22] local.INFO: Processing buffer {"connection_id":173284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4a5558012d18c2c007209328003100c62a..."} 
[2026-09-07 10:46:22] local.INFO: Packet analysis {"connection_id":173284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4a"} 
[2026-09-07 10:46:22] local.INFO: Extracted packet for processing {"connection_id":173284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4a"} 
[2026-09-07 10:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119575336,"longitude_deg":75.659744,"latitude_deg":11.9575336,"altitude":49,"angle":198,"satellites":42,"speed":8,"hex_longitude":"2d18c2c0","hex_latitude":"07209328","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922068224001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18264984081399808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382957418496,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46: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-07 10:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758087000,"timestamp_ms":1788758087000,"timestamp_seconds":1788758087,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4a5558"} 
[2026-09-07 10: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-07 10:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 10:46: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-07 10: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-07 10: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-07 10:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922068224001,"66":14341,"103":206,"83":41984,"24":8,"16":18264984081399808,"45":1784551382957418496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922068224001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:46:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18264984081399808,"km_value":18264984081399.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382957418496,"description":"Unknown IO ID 45"} 
[2026-09-07 10:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922068224001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1784551382957418496}} 
[2026-09-07 10:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":173284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:46:22] local.INFO: GPS data processed {"connection_id":173284,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:46:22] local.INFO: Acknowledgment sent {"connection_id":173284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:46:40] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:40] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:40] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:46:41] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:46:41] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:41] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:46:44] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:44] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:46:44] local.INFO: IMEI packet received {"connection_id":176018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:46:45] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4b2848012d18cb0007206eb8002900a329..."} 
[2026-09-07 10:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4b2848012d18cb0007206eb8002900a329..."} 
[2026-09-07 10:46:45] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4b2848012d18cb0007206eb8002900a329..."} 
[2026-09-07 10:46:45] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:46:45] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756599552,"raw_latitude":119566008,"longitude_deg":75.6599552,"latitude_deg":11.9566008,"altitude":41,"angle":163,"satellites":41,"speed":12,"hex_longitude":"2d18cb00","hex_latitude":"07206eb8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922082048001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18265538132180992,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785466176629305344,"note":"Value kept but may cause issues"} 
[2026-09-07 10:46:45] local.INFO: IO Element Parsed {"io_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-07 10:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788758141000,"timestamp_ms":1788758141000,"timestamp_seconds":1788758141,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4b2848"} 
[2026-09-07 10: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-07 10:46:45] 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-07 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 10:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922082048001,"66":14341,"103":206,"83":41984,"24":12,"16":18265538132180992,"45":1785466176629305344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922082048001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:46:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18265538132180992,"km_value":18265538132180.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785466176629305344,"description":"Unknown IO ID 45"} 
[2026-09-07 10:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922082048001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1785466176629305344}} 
[2026-09-07 10:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:46:45] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:46:45] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:47:16] local.INFO: TCP Data received {"connection_id":176018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4b5728012d18cf00072062d00028009429..."} 
[2026-09-07 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4b5728012d18cf00072062d00028009429..."} 
[2026-09-07 10:47:16] local.INFO: Processing buffer {"connection_id":176018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4b5728012d18cf00072062d00028009429..."} 
[2026-09-07 10:47:16] local.INFO: Packet analysis {"connection_id":176018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:47:16] local.INFO: Extracted packet for processing {"connection_id":176018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":119562960,"longitude_deg":75.6600576,"latitude_deg":11.956296,"altitude":40,"angle":148,"satellites":41,"speed":11,"hex_longitude":"2d18cf00","hex_latitude":"072062d0","is_valid_coordinates":true} 
[2026-09-07 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-07 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922084096001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18265692751003648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786521707791431680,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.INFO: IO Element Parsed {"io_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-07 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788758153000,"timestamp_ms":1788758153000,"timestamp_seconds":1788758153,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4b5728"} 
[2026-09-07 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-07 10:47:16] 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-07 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987336351,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":12948549679449344,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3827171328,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":192,"raw_value":2147950725,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503878332121088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2181038123,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 10:47:16] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2281778456,"corrected_to":0} 
[2026-09-07 10:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2883714,"corrected_to":0} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84751168018260111,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:16] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,228,160,9,45,64,118,42,10,66,245,192,123,43,233,1,240,127,227,122,32,4,113,205,11,202,200,239,55,2,7,8,206,144],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":202,"original":2281778456,"validated":0},{"io_id":200,"original":2883714,"validated":0}]} 
[2026-09-07 10:47:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954540752044818432,"timestamp_seconds":2954540752044818.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922084096001,"66":14374,"103":206,"83":41984,"24":11,"16":18265692751003648,"45":1786521707791431680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 10:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922084096001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:47:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 10:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18265692751003648,"km_value":18265692751003.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786521707791431680,"description":"Unknown IO ID 45"} 
[2026-09-07 10:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922084096001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1786521707791431680}} 
[2026-09-07 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":176018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:47:16] local.INFO: GPS data processed {"connection_id":176018,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:47:16] local.INFO: Acknowledgment sent {"connection_id":176018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:47:41] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:41] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:41] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:47:45] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:45] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:45] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:47:46] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:46] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:47:46] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:47:47] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4c4958012d18da4007201f40003200a62a..."} 
[2026-09-07 10:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4c4958012d18da4007201f40003200a62a..."} 
[2026-09-07 10:47:47] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4c4958012d18da4007201f40003200a62a..."} 
[2026-09-07 10:47:47] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:47:47] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:47:47] local.INFO: GPS Element Parsed {"raw_longitude":756603456,"raw_latitude":119545664,"longitude_deg":75.6603456,"latitude_deg":11.9545664,"altitude":50,"angle":166,"satellites":42,"speed":7,"hex_longitude":"2d18da40","hex_latitude":"07201f40","is_valid_coordinates":true} 
[2026-09-07 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-07 10:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922102272001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18266629053874176,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307413772288,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47: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-07 10:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758215000,"timestamp_ms":1788758215000,"timestamp_seconds":1788758215,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4c4958"} 
[2026-09-07 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-07 10:47:47] 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-07 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 10:47:47] 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-07 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-07 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-07 10:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922102272001,"66":14374,"102":206,"83":41984,"24":7,"16":18266629053874176,"45":1791025307413772288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922102272001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:47:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:47:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18266629053874176,"km_value":18266629053874.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307413772288,"description":"Unknown IO ID 45"} 
[2026-09-07 10:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922102272001,"power":14374,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1791025307413772288}} 
[2026-09-07 10:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:47:47] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:47:47] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:47:49] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:49] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:47:49] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:47:50] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4bd810012cf2f1800710a5880011011129..."} 
[2026-09-07 10:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4bd810012cf2f1800710a5880011011129..."} 
[2026-09-07 10:47:50] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4bd810012cf2f1800710a5880011011129..."} 
[2026-09-07 10:47:50] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:47:50] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4b"} 
[2026-09-07 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":754119040,"raw_latitude":118531464,"longitude_deg":75.411904,"latitude_deg":11.8531464,"altitude":17,"angle":273,"satellites":41,"speed":34,"hex_longitude":"2cf2f180","hex_latitude":"0710a588","is_valid_coordinates":true} 
[2026-09-07 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-07 10:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922095104001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401143047728922624,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-939000491962646528,"note":"Value kept but may cause issues"} 
[2026-09-07 10:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788758186000,"timestamp_ms":1788758186000,"timestamp_seconds":1788758186,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4bd810"} 
[2026-09-07 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-07 10:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:47: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-07 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-07 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-07 10:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:47:50] 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-07 10:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922095104001,"66":27865,"217":206,"83":41472,"24":34,"16":401143047728922624,"44":-939000491962646528},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-09-07 10:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922095104001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:47:50] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 10:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401143047728922624,"km_value":401143047728922.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-939000491962646528,"description":"Unknown IO ID 44"} 
[2026-09-07 10:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922095104001,"power":27865,"unknown_217":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-939000491962646528}} 
[2026-09-07 10:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:47:50] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:47:50] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:48:17] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4c4d40012d18db0007201e680032008f2a..."} 
[2026-09-07 10:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4c4d40012d18db0007201e680032008f2a..."} 
[2026-09-07 10:48:17] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4c4d40012d18db0007201e680032008f2a..."} 
[2026-09-07 10:48:17] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:17] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756603648,"raw_latitude":119545448,"longitude_deg":75.6603648,"latitude_deg":11.9545448,"altitude":50,"angle":143,"satellites":42,"speed":9,"hex_longitude":"2d18db00","hex_latitude":"07201e68","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922103040001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18266641938776064,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790814201181061120,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788758216000,"timestamp_ms":1788758216000,"timestamp_seconds":1788758216,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4c4d40"} 
[2026-09-07 10: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-07 10:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 10:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922103040001,"66":14363,"102":206,"83":41984,"24":9,"16":18266641938776064,"45":1790814201181061120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922103040001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:48:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18266641938776064,"km_value":18266641938776.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790814201181061120,"description":"Unknown IO ID 45"} 
[2026-09-07 10:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922103040001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1790814201181061120}} 
[2026-09-07 10:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:48:17] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:48:17] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:48:21] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4ced68012cf219800710b100001600e829..."} 
[2026-09-07 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4ced68012cf219800710b100001600e829..."} 
[2026-09-07 10:48:21] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4ced68012cf219800710b100001600e829..."} 
[2026-09-07 10:48:21] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:21] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":754063744,"raw_latitude":118534400,"longitude_deg":75.4063744,"latitude_deg":11.85344,"altitude":22,"angle":232,"satellites":41,"speed":16,"hex_longitude":"2cf21980","hex_latitude":"0710b100","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922113536001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401145839457665024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001417568047450112,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788758257000,"timestamp_ms":1788758257000,"timestamp_seconds":1788758257,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4ced68"} 
[2026-09-07 10: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-07 10:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 10:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:48: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-07 10:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922113536001,"66":27658,"157":206,"83":41472,"24":16,"16":401145839457665024,"44":-1001417568047450112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 10:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922113536001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:48:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 10:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401145839457665024,"km_value":401145839457665.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001417568047450112,"description":"Unknown IO ID 44"} 
[2026-09-07 10:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922113536001,"power":27658,"unknown_157":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1001417568047450112}} 
[2026-09-07 10:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:48:21] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:48:21] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:48:40] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:40] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:40] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:48:41] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:48:41] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:41] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:48:45] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:45] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:45] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:48:46] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:46] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:48:46] local.INFO: IMEI packet received {"connection_id":174654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:48:46] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4d2fd0012d19134007200c88003700ca2a..."} 
[2026-09-07 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4d2fd0012d19134007200c88003700ca2a..."} 
[2026-09-07 10:48:46] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4d2fd0012d19134007200c88003700ca2a..."} 
[2026-09-07 10:48:46] local.INFO: Packet analysis {"connection_id":174654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:48:46] local.INFO: Extracted packet for processing {"connection_id":174654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756618048,"raw_latitude":119540872,"longitude_deg":75.6618048,"latitude_deg":11.9540872,"altitude":55,"angle":202,"satellites":42,"speed":8,"hex_longitude":"2d191340","hex_latitude":"07200c88","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922117888001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18267453687595008,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806928643596566528,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788758274000,"timestamp_ms":1788758274000,"timestamp_seconds":1788758274,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4d2fd0"} 
[2026-09-07 10: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-07 10:48:46] 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-07 10: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 10:48:46] 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-07 10: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-07 10: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-07 10:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922117888001,"66":14363,"102":206,"83":41984,"24":8,"16":18267453687595008,"45":1806928643596566528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922117888001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18267453687595008,"km_value":18267453687595.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806928643596566528,"description":"Unknown IO ID 45"} 
[2026-09-07 10:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922117888001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1806928643596566528}} 
[2026-09-07 10:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":174654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:48:46] local.INFO: GPS data processed {"connection_id":174654,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:48:46] local.INFO: Acknowledgment sent {"connection_id":174654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:48:50] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:50] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:48:50] local.INFO: IMEI packet received {"connection_id":173286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:48:51] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4cf150012cf218400710b060001600fb29..."} 
[2026-09-07 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4cf150012cf218400710b060001600fb29..."} 
[2026-09-07 10:48:51] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4cf150012cf218400710b060001600fb29..."} 
[2026-09-07 10:48:51] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:51] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":754063424,"raw_latitude":118534240,"longitude_deg":75.4063424,"latitude_deg":11.853424,"altitude":22,"angle":251,"satellites":41,"speed":14,"hex_longitude":"2cf21840","hex_latitude":"0710b060","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922113792001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401145856637534208,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001628674280062976,"note":"Value kept but may cause issues"} 
[2026-09-07 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758258000,"timestamp_ms":1788758258000,"timestamp_seconds":1788758258,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4cf150"} 
[2026-09-07 10: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-07 10:48: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-07 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 10:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922113792001,"66":27658,"157":206,"83":41472,"24":14,"16":401145856637534208,"44":-1001628674280062976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 10:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922113792001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:48:52] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 10:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401145856637534208,"km_value":401145856637534.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001628674280062976,"description":"Unknown IO ID 44"} 
[2026-09-07 10:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922113792001,"power":27658,"unknown_157":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1001628674280062976}} 
[2026-09-07 10:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:48:52] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:48:52] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:49:17] local.INFO: TCP Data received {"connection_id":174654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4d33b8012d19130007200be0003700da2a..."} 
[2026-09-07 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4d33b8012d19130007200be0003700da2a..."} 
[2026-09-07 10:49:17] local.INFO: Processing buffer {"connection_id":174654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4d33b8012d19130007200be0003700da2a..."} 
[2026-09-07 10:49:17] local.INFO: Packet analysis {"connection_id":174654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:49:17] local.INFO: Extracted packet for processing {"connection_id":174654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756617984,"raw_latitude":119540704,"longitude_deg":75.6617984,"latitude_deg":11.9540704,"altitude":55,"angle":218,"satellites":42,"speed":7,"hex_longitude":"2d191300","hex_latitude":"07200be0","is_valid_coordinates":true} 
[2026-09-07 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-07 10:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922118144001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18267462277529600,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806858274852341760,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788758275000,"timestamp_ms":1788758275000,"timestamp_seconds":1788758275,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4d33b8"} 
[2026-09-07 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-07 10:49:17] 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-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:49:17] 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-07 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-07 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-07 10:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922118144001,"66":14363,"102":206,"83":41984,"24":7,"16":18267462277529600,"45":1806858274852341760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922118144001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:49:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18267462277529600,"km_value":18267462277529.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806858274852341760,"description":"Unknown IO ID 45"} 
[2026-09-07 10:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922118144001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1806858274852341760}} 
[2026-09-07 10:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":174654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:49:17] local.INFO: GPS data processed {"connection_id":174654,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:49:17] local.INFO: Acknowledgment sent {"connection_id":174654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:49:22] local.INFO: TCP Data received {"connection_id":173285,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:22] local.INFO: Processing buffer {"connection_id":173285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:22] local.INFO: IMEI packet received {"connection_id":173285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":173285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:49:22] local.INFO: TCP Data received {"connection_id":173286,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4cf538012cf216c00710b0380015011029..."} 
[2026-09-07 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4cf538012cf216c00710b0380015011029..."} 
[2026-09-07 10:49:22] local.INFO: Processing buffer {"connection_id":173286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4cf538012cf216c00710b0380015011029..."} 
[2026-09-07 10:49:22] local.INFO: Packet analysis {"connection_id":173286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:49:22] local.INFO: Extracted packet for processing {"connection_id":173286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4c"} 
[2026-09-07 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":754063040,"raw_latitude":118534200,"longitude_deg":75.406304,"latitude_deg":11.85342,"altitude":21,"angle":272,"satellites":41,"speed":13,"hex_longitude":"2cf216c0","hex_latitude":"0710b038","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922114048001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401145873817403392,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001980518000992256,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758259000,"timestamp_ms":1788758259000,"timestamp_seconds":1788758259,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4cf538"} 
[2026-09-07 10: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-07 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 10:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:49:22] 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-07 10:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922114048001,"66":27658,"157":206,"83":41472,"24":13,"16":401145873817403392,"44":-1001980518000992256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 10:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922114048001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:49:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 10:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401145873817403392,"km_value":401145873817403.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001980518000992256,"description":"Unknown IO ID 44"} 
[2026-09-07 10:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922114048001,"power":27658,"unknown_157":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1001980518000992256}} 
[2026-09-07 10:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":173286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:49:22] local.INFO: GPS data processed {"connection_id":173286,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:49:22] local.INFO: Acknowledgment sent {"connection_id":173286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:49:41] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:41] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:41] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:49:45] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:45] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:45] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:49:46] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:46] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:49:46] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:49:46] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4d37a0012d19124007200b60003700ed2a..."} 
[2026-09-07 10:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4d37a0012d19124007200b60003700ed2a..."} 
[2026-09-07 10:49:46] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4d37a0012d19124007200b60003700ed2a..."} 
[2026-09-07 10:49:46] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:49:46] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4d"} 
[2026-09-07 10:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756617792,"raw_latitude":119540576,"longitude_deg":75.6617792,"latitude_deg":11.9540576,"altitude":55,"angle":237,"satellites":42,"speed":6,"hex_longitude":"2d191240","hex_latitude":"07200b60","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922118400001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18267470867464192,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806787906108121088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788758276000,"timestamp_ms":1788758276000,"timestamp_seconds":1788758276,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4d37a0"} 
[2026-09-07 10: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-07 10:49:46] 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-07 10:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 10:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922118400001,"66":14363,"102":206,"83":41984,"24":6,"16":18267470867464192,"45":1806787906108121088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922118400001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:49:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18267470867464192,"km_value":18267470867464.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806787906108121088,"description":"Unknown IO ID 45"} 
[2026-09-07 10:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922118400001,"power":14363,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1806787906108121088}} 
[2026-09-07 10:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:49:46] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:49:46] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:49:47] local.INFO: TCP Data received {"connection_id":176021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:47] local.INFO: Processing buffer {"connection_id":176021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:49:47] local.INFO: IMEI packet received {"connection_id":176021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":176021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:49:50] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:50] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:49:50] local.INFO: IMEI packet received {"connection_id":173287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":173287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:49:51] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4e0a90012cf13d400710c1f8000a011b29..."} 
[2026-09-07 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4e0a90012cf13d400710c1f8000a011b29..."} 
[2026-09-07 10:49:51] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4e0a90012cf13d400710c1f8000a011b29..."} 
[2026-09-07 10:49:51] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:49:51] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":754007360,"raw_latitude":118538744,"longitude_deg":75.400736,"latitude_deg":11.8538744,"altitude":10,"angle":283,"satellites":41,"speed":39,"hex_longitude":"2cf13d40","hex_latitude":"0710c1f8","is_valid_coordinates":true} 
[2026-09-07 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-07 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922130176001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401148601121636352,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1053560807482583040,"note":"Value kept but may cause issues"} 
[2026-09-07 10:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758330000,"timestamp_ms":1788758330000,"timestamp_seconds":1788758330,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4e0a90"} 
[2026-09-07 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-07 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922130176001,"66":27821,"242":206,"83":41472,"24":39,"16":401148601121636352,"44":-1053560807482583040},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-09-07 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922130176001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:49:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-09-07 10:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401148601121636352,"km_value":401148601121636.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1053560807482583040,"description":"Unknown IO ID 44"} 
[2026-09-07 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922130176001,"power":27821,"unknown_242":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-1053560807482583040}} 
[2026-09-07 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:49:51] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:49:51] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:50:17] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4e6080012d190fc0071fcf300041006b2a..."} 
[2026-09-07 10:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4e6080012d190fc0071fcf300041006b2a..."} 
[2026-09-07 10:50:17] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4e6080012d190fc0071fcf300041006b2a..."} 
[2026-09-07 10:50:17] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:17] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756617152,"raw_latitude":119525168,"longitude_deg":75.6617152,"latitude_deg":11.9525168,"altitude":65,"angle":107,"satellites":42,"speed":6,"hex_longitude":"2d190fc0","hex_latitude":"071fcf30","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922137856001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268261141446656,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805662006197319680,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788758352000,"timestamp_ms":1788758352000,"timestamp_seconds":1788758352,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4e6080"} 
[2026-09-07 10: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-07 10:50:17] 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-07 10: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 10:50:17] 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-07 10: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-07 10: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-07 10:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922137856001,"66":12885,"102":206,"83":41984,"24":6,"16":18268261141446656,"45":1805662006197319680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922137856001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:50:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268261141446656,"km_value":18268261141446.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805662006197319680,"description":"Unknown IO ID 45"} 
[2026-09-07 10:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922137856001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1805662006197319680}} 
[2026-09-07 10:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:50:17] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:50:17] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:50:22] local.INFO: TCP Data received {"connection_id":173287,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4e1648012cf132800710c330000a01092b..."} 
[2026-09-07 10:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4e1648012cf132800710c330000a01092b..."} 
[2026-09-07 10:50:22] local.INFO: Processing buffer {"connection_id":173287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4e1648012cf132800710c330000a01092b..."} 
[2026-09-07 10:50:22] local.INFO: Packet analysis {"connection_id":173287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:22] local.INFO: Extracted packet for processing {"connection_id":173287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:22] local.INFO: GPS Element Parsed {"raw_longitude":754004608,"raw_latitude":118539056,"longitude_deg":75.4004608,"latitude_deg":11.8539056,"altitude":10,"angle":265,"satellites":43,"speed":33,"hex_longitude":"2cf13280","hex_latitude":"0710c330","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922132480001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401148729970655232,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1063623537899472896,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758333000,"timestamp_ms":1788758333000,"timestamp_seconds":1788758333,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4e1648"} 
[2026-09-07 10: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-07 10:50: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-07 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:50:22] 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-07 10: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-07 10: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-07 10:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:50:22] 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-07 10:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922132480001,"66":27908,"243":206,"83":41472,"24":33,"16":401148729970655232,"44":-1063623537899472896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-07 10:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922132480001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:50:22] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-07 10:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401148729970655232,"km_value":401148729970655.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:50:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1063623537899472896,"description":"Unknown IO ID 44"} 
[2026-09-07 10:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922132480001,"power":27908,"unknown_243":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-1063623537899472896}} 
[2026-09-07 10:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":173287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:50:22] local.INFO: GPS data processed {"connection_id":173287,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:50:22] local.INFO: Acknowledgment sent {"connection_id":173287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:50:45] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:45] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:45] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:50:46] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:46] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:46] local.INFO: IMEI packet received {"connection_id":173288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:50:49] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:49] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:49] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:50:50] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:50] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:50:50] local.INFO: IMEI packet received {"connection_id":174656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":174656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:50:50] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4e1a30012cf12f400710c288000a00fe2c..."} 
[2026-09-07 10:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4e1a30012cf12f400710c288000a00fe2c..."} 
[2026-09-07 10:50:50] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4e1a30012cf12f400710c288000a00fe2c..."} 
[2026-09-07 10:50:50] local.INFO: Packet analysis {"connection_id":174656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:50] local.INFO: Extracted packet for processing {"connection_id":174656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:50] local.INFO: GPS Element Parsed {"raw_longitude":754003776,"raw_latitude":118538888,"longitude_deg":75.4003776,"latitude_deg":11.8538888,"altitude":10,"angle":254,"satellites":44,"speed":34,"hex_longitude":"2cf12f40","hex_latitude":"0710c288","is_valid_coordinates":true} 
[2026-09-07 10:50: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-07 10:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922133248001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401148772920328192,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1066649393899032576,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788758334000,"timestamp_ms":1788758334000,"timestamp_seconds":1788758334,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4e1a30"} 
[2026-09-07 10:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 10:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:50: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-07 10:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:50:50] 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-07 10:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922133248001,"66":27832,"243":206,"83":41472,"24":34,"16":401148772920328192,"44":-1066649393899032576},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-09-07 10:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922133248001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:50:50] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-09-07 10:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401148772920328192,"km_value":401148772920328.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1066649393899032576,"description":"Unknown IO ID 44"} 
[2026-09-07 10:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922133248001,"power":27832,"unknown_243":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1066649393899032576}} 
[2026-09-07 10:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":174656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:50:50] local.INFO: GPS data processed {"connection_id":174656,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:50:50] local.INFO: Acknowledgment sent {"connection_id":174656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:50:51] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:51] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:50:51] local.INFO: IMEI packet received {"connection_id":173288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:50:52] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4e6468012d191040071fcf18004100502a..."} 
[2026-09-07 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4e6468012d191040071fcf18004100502a..."} 
[2026-09-07 10:50:52] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4e6468012d191040071fcf18004100502a..."} 
[2026-09-07 10:50:52] local.INFO: Packet analysis {"connection_id":173288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:52] local.INFO: Extracted packet for processing {"connection_id":173288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756617280,"raw_latitude":119525144,"longitude_deg":75.661728,"latitude_deg":11.9525144,"altitude":65,"angle":80,"satellites":42,"speed":5,"hex_longitude":"2d191040","hex_latitude":"071fcf18","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922138112001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268265436413952,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805873112429834240,"note":"Value kept but may cause issues"} 
[2026-09-07 10: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-07 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788758353000,"timestamp_ms":1788758353000,"timestamp_seconds":1788758353,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4e6468"} 
[2026-09-07 10: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-07 10: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-07 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 10:50: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-07 10: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-07 10: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-07 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922138112001,"66":12885,"102":206,"83":41984,"24":5,"16":18268265436413952,"45":1805873112429834240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922138112001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:50:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:50:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268265436413952,"km_value":18268265436413.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805873112429834240,"description":"Unknown IO ID 45"} 
[2026-09-07 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922138112001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1805873112429834240}} 
[2026-09-07 10:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:50:52] local.INFO: GPS data processed {"connection_id":173288,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:50:52] local.INFO: Acknowledgment sent {"connection_id":173288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:50:55] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4eb670012d191400071fd088004200502a..."} 
[2026-09-07 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4eb670012d191400071fd088004200502a..."} 
[2026-09-07 10:50:55] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4eb670012d191400071fd088004200502a..."} 
[2026-09-07 10:50:55] local.INFO: Packet analysis {"connection_id":173288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:55] local.INFO: Extracted packet for processing {"connection_id":173288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4e"} 
[2026-09-07 10:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922138368001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849918183424,"note":"Value kept but may cause issues"} 
[2026-09-07 10: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-07 10:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788758374000,"timestamp_ms":1788758374000,"timestamp_seconds":1788758374,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4eb670"} 
[2026-09-07 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-07 10:50:55] 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-07 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 10:50:55] 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-07 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-07 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-07 10:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922138368001,"66":12711,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1806013849918183424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922138368001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849918183424,"description":"Unknown IO ID 45"} 
[2026-09-07 10:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922138368001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806013849918183424}} 
[2026-09-07 10:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":173288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:50:55] local.INFO: GPS data processed {"connection_id":173288,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:50:55] local.INFO: Acknowledgment sent {"connection_id":173288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:51:21] local.INFO: TCP Data received {"connection_id":174656,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4f6a20012cf029000710ee38000a010e2b..."} 
[2026-09-07 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4f6a20012cf029000710ee38000a010e2b..."} 
[2026-09-07 10:51:21] local.INFO: Processing buffer {"connection_id":174656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4f6a20012cf029000710ee38000a010e2b..."} 
[2026-09-07 10:51:21] local.INFO: Packet analysis {"connection_id":174656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:21] local.INFO: Extracted packet for processing {"connection_id":174656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":753936640,"raw_latitude":118550072,"longitude_deg":75.393664,"latitude_deg":11.8550072,"altitude":10,"angle":270,"satellites":43,"speed":38,"hex_longitude":"2cf02900","hex_latitude":"0710ee38","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922153216001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401152088635080704,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1131670113516505088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788758420000,"timestamp_ms":1788758420000,"timestamp_seconds":1788758420,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4f6a20"} 
[2026-09-07 10: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-07 10:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51: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-07 10:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922153216001,"66":27843,"202":206,"83":41472,"24":38,"16":401152088635080704,"44":-1131670113516505088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-07 10:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922153216001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401152088635080704,"km_value":401152088635080.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1131670113516505088,"description":"Unknown IO ID 44"} 
[2026-09-07 10:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922153216001,"power":27843,"mcc":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-1131670113516505088}} 
[2026-09-07 10:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":174656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:51:21] local.INFO: GPS data processed {"connection_id":174656,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:51:21] local.INFO: Acknowledgment sent {"connection_id":174656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:51:26] local.INFO: TCP Data received {"connection_id":173288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4f0878012d191400071fd088004200502a..."} 
[2026-09-07 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4f0878012d191400071fd088004200502a..."} 
[2026-09-07 10:51:26] local.INFO: Processing buffer {"connection_id":173288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4f0878012d191400071fd088004200502a..."} 
[2026-09-07 10:51:26] local.INFO: Packet analysis {"connection_id":173288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:26] local.INFO: Extracted packet for processing {"connection_id":173288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922143744001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51: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-07 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788758395000,"timestamp_ms":1788758395000,"timestamp_seconds":1788758395,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4f0878"} 
[2026-09-07 10: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-07 10:51:26] 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-07 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-07 10:51:26] 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-07 10: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-07 10: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-07 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922143744001,"66":12743,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922143744001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:51:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922143744001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:51:26] local.INFO: GPS data processed {"connection_id":173288,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:51:26] local.INFO: Acknowledgment sent {"connection_id":173288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:51:41] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:41] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:41] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:51:46] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:46] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:51:46] local.INFO: IMEI packet received {"connection_id":174657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":174657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:51:47] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4f5a80012d191400071fd088004200502a..."} 
[2026-09-07 10:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4f5a80012d191400071fd088004200502a..."} 
[2026-09-07 10:51:47] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4f5a80012d191400071fd088004200502a..."} 
[2026-09-07 10:51:47] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:47] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922149120001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51: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-07 10:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758416000,"timestamp_ms":1788758416000,"timestamp_seconds":1788758416,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4f5a80"} 
[2026-09-07 10: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-07 10:51:47] 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-07 10: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-07 10:51:47] 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-07 10: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-07 10: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-07 10:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922149120001,"66":12765,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922149120001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:51:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:51:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922149120001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:51:47] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:51:47] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:51:50] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:50] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:50] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:51:53] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:53] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:51:53] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:51:53] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4f9518012cf005800710ef08000901152d..."} 
[2026-09-07 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4f9518012cf005800710ef08000901152d..."} 
[2026-09-07 10:51:53] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4f9518012cf005800710ef08000901152d..."} 
[2026-09-07 10:51:53] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:53] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":753927552,"raw_latitude":118550280,"longitude_deg":75.3927552,"latitude_deg":11.855028,"altitude":9,"angle":277,"satellites":45,"speed":31,"hex_longitude":"2cf00580","hex_latitude":"0710ef08","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922155520001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401152518131810304,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1141381000212891648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788758431000,"timestamp_ms":1788758431000,"timestamp_seconds":1788758431,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4f9518"} 
[2026-09-07 10: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-07 10:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:51:53] 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-07 10: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-07 10: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-07 10:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51:53] 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-07 10:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922155520001,"66":27887,"202":206,"83":41472,"24":31,"16":401152518131810304,"44":-1141381000212891648},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-07 10:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922155520001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401152518131810304,"km_value":401152518131810.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1141381000212891648,"description":"Unknown IO ID 44"} 
[2026-09-07 10:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922155520001,"power":27887,"mcc":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-1141381000212891648}} 
[2026-09-07 10:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:51:53] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:51:53] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:51:54] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4fbc28012cefe2000710f768000b011f2b..."} 
[2026-09-07 10:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4fbc28012cefe2000710f768000b011f2b..."} 
[2026-09-07 10:51:54] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4fbc28012cefe2000710f768000b011f2b..."} 
[2026-09-07 10:51:54] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:54] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:51:54] local.INFO: GPS Element Parsed {"raw_longitude":753918464,"raw_latitude":118552424,"longitude_deg":75.3918464,"latitude_deg":11.8552424,"altitude":11,"angle":287,"satellites":43,"speed":38,"hex_longitude":"2cefe200","hex_latitude":"0710f768","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922158336001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401152964808409088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1151373361886066688,"note":"Value kept but may cause issues"} 
[2026-09-07 10:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788758441000,"timestamp_ms":1788758441000,"timestamp_seconds":1788758441,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4fbc28"} 
[2026-09-07 10: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-07 10:51: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-07 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 10:51:54] 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-07 10: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-07 10: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-07 10:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:51:54] 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-07 10:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922158336001,"66":27865,"202":206,"83":41472,"24":38,"16":401152964808409088,"44":-1151373361886066688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-07 10:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922158336001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401152964808409088,"km_value":401152964808409.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1151373361886066688,"description":"Unknown IO ID 44"} 
[2026-09-07 10:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922158336001,"power":27865,"mcc":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-1151373361886066688}} 
[2026-09-07 10:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:51:54] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:51:54] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:52:17] local.INFO: TCP Data received {"connection_id":174657,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4fac88012d191400071fd088004200502a..."} 
[2026-09-07 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4fac88012d191400071fd088004200502a..."} 
[2026-09-07 10:52:17] local.INFO: Processing buffer {"connection_id":174657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4fac88012d191400071fd088004200502a..."} 
[2026-09-07 10:52:17] local.INFO: Packet analysis {"connection_id":174657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:17] local.INFO: Extracted packet for processing {"connection_id":174657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922154496001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788758437000,"timestamp_ms":1788758437000,"timestamp_seconds":1788758437,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4fac88"} 
[2026-09-07 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-07 10:52:17] 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-07 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 10:52: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-07 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-07 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-07 10:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922154496001,"66":12711,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922154496001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:52:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922154496001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":174657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:52:17] local.INFO: GPS data processed {"connection_id":174657,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:52:17] local.INFO: Acknowledgment sent {"connection_id":174657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:52:25] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4fe338012cefc000071105900009012729..."} 
[2026-09-07 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4fe338012cefc000071105900009012729..."} 
[2026-09-07 10:52:25] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4fe338012cefc000071105900009012729..."} 
[2026-09-07 10:52:25] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:25] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":753909760,"raw_latitude":118556048,"longitude_deg":75.390976,"latitude_deg":11.8556048,"altitude":9,"angle":295,"satellites":41,"speed":36,"hex_longitude":"2cefc000","hex_latitude":"07110590","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922160896001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401153411485007872,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1161365723558746112,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788758451000,"timestamp_ms":1788758451000,"timestamp_seconds":1788758451,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4fe338"} 
[2026-09-07 10: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-07 10:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:52: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-07 10: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-07 10: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-07 10:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922160896001,"66":27876,"202":206,"83":41472,"24":36,"16":401153411485007872,"44":-1161365723558746112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-07 10:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922160896001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401153411485007872,"km_value":401153411485007.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1161365723558746112,"description":"Unknown IO ID 44"} 
[2026-09-07 10:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922160896001,"power":27876,"mcc":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-1161365723558746112}} 
[2026-09-07 10:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:52:25] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:52:25] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:52:39] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:39] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:39] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:52:41] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:41] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:41] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:52:45] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:45] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:45] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:52:46] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:46] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:52:46] local.INFO: IMEI packet received {"connection_id":176022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":176022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:52:47] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a4ffe90012d191400071fd088004200502b..."} 
[2026-09-07 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a4ffe90012d191400071fd088004200502b..."} 
[2026-09-07 10:52:47] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a4ffe90012d191400071fd088004200502b..."} 
[2026-09-07 10:52:47] local.INFO: Packet analysis {"connection_id":176022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:47] local.INFO: Extracted packet for processing {"connection_id":176022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a4f"} 
[2026-09-07 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922159872001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52: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-07 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758458000,"timestamp_ms":1788758458000,"timestamp_seconds":1788758458,"priority":1,"record_length":96,"hex_timestamp":"000001a07a4ffe90"} 
[2026-09-07 10:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-07 10:52:47] 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-07 10:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922159872001,"66":12689,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922159872001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:52:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:52:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922159872001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":176022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:52:47] local.INFO: GPS data processed {"connection_id":176022,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:52:47] local.INFO: Acknowledgment sent {"connection_id":176022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:52:49] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:49] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:52:49] local.INFO: IMEI packet received {"connection_id":176023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:52:49] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a500a48012cef9d8007111520000a012629..."} 
[2026-09-07 10:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a500a48012cef9d8007111520000a012629..."} 
[2026-09-07 10:52:49] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a500a48012cef9d8007111520000a012629..."} 
[2026-09-07 10:52:49] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:52:49] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":753900928,"raw_latitude":118560032,"longitude_deg":75.3900928,"latitude_deg":11.8560032,"altitude":10,"angle":294,"satellites":41,"speed":35,"hex_longitude":"2cef9d80","hex_latitude":"07111520","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922163456001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401153875341475840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1170935872765980672,"note":"Value kept but may cause issues"} 
[2026-09-07 10:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788758461000,"timestamp_ms":1788758461000,"timestamp_seconds":1788758461,"priority":1,"record_length":96,"hex_timestamp":"000001a07a500a48"} 
[2026-09-07 10: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-07 10:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 10:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:52: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-07 10:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922163456001,"66":27800,"202":206,"83":41472,"24":35,"16":401153875341475840,"44":-1170935872765980672},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-09-07 10:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922163456001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401153875341475840,"km_value":401153875341475.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1170935872765980672,"description":"Unknown IO ID 44"} 
[2026-09-07 10:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922163456001,"power":27800,"mcc":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1170935872765980672}} 
[2026-09-07 10:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:52:49] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:52:49] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:53:18] local.INFO: TCP Data received {"connection_id":176022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a505098012d191400071fd088004200502c..."} 
[2026-09-07 10:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a505098012d191400071fd088004200502c..."} 
[2026-09-07 10:53:18] local.INFO: Processing buffer {"connection_id":176022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a505098012d191400071fd088004200502c..."} 
[2026-09-07 10:53:18] local.INFO: Packet analysis {"connection_id":176022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:18] local.INFO: Extracted packet for processing {"connection_id":176022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922165248001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53: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-07 10:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758479000,"timestamp_ms":1788758479000,"timestamp_seconds":1788758479,"priority":1,"record_length":96,"hex_timestamp":"000001a07a505098"} 
[2026-09-07 10:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:53:18] 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-07 10:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-07 10:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922165248001,"66":12667,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922165248001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922165248001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":176022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:53:18] local.INFO: GPS data processed {"connection_id":176022,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:53:18] local.INFO: Acknowledgment sent {"connection_id":176022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:53:22] local.INFO: TCP Data received {"connection_id":176023,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a503d10012cef7d8007112628000a01212c..."} 
[2026-09-07 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a503d10012cef7d8007112628000a01212c..."} 
[2026-09-07 10:53:22] local.INFO: Processing buffer {"connection_id":176023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a503d10012cef7d8007112628000a01212c..."} 
[2026-09-07 10:53:22] local.INFO: Packet analysis {"connection_id":176023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:22] local.INFO: Extracted packet for processing {"connection_id":176023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:22] local.INFO: GPS Element Parsed {"raw_longitude":753892736,"raw_latitude":118564392,"longitude_deg":75.3892736,"latitude_deg":11.8564392,"altitude":10,"angle":289,"satellites":44,"speed":15,"hex_longitude":"2cef7d80","hex_latitude":"07112628","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922166016001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401154317723107328,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180646759461478400,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758474000,"timestamp_ms":1788758474000,"timestamp_seconds":1788758474,"priority":1,"record_length":96,"hex_timestamp":"000001a07a503d10"} 
[2026-09-07 10: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-07 10:53: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-07 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 10:53:22] 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-07 10: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-07 10: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-07 10:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:53:22] 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-07 10:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922166016001,"66":27876,"203":206,"83":41472,"24":15,"16":401154317723107328,"44":-1180646759461478400},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 10:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922166016001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401154317723107328,"km_value":401154317723107.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180646759461478400,"description":"Unknown IO ID 44"} 
[2026-09-07 10:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922166016001,"power":27876,"mnc":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1180646759461478400}} 
[2026-09-07 10:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":176023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:53:22] local.INFO: GPS data processed {"connection_id":176023,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:53:22] local.INFO: Acknowledgment sent {"connection_id":176023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:53:41] local.INFO: TCP Data received {"connection_id":174658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:41] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:41] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:53:42] local.INFO: TCP Data received {"connection_id":174658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:42] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:42] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:53:46] local.INFO: TCP Data received {"connection_id":174658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:46] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:53:46] local.INFO: IMEI packet received {"connection_id":174658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:53:47] local.INFO: TCP Data received {"connection_id":174658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a50a2a0012d191400071fd088004200502c..."} 
[2026-09-07 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a50a2a0012d191400071fd088004200502c..."} 
[2026-09-07 10:53:47] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a50a2a0012d191400071fd088004200502c..."} 
[2026-09-07 10:53:47] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:47] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922170624001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53: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-07 10:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758500000,"timestamp_ms":1788758500000,"timestamp_seconds":1788758500,"priority":1,"record_length":96,"hex_timestamp":"000001a07a50a2a0"} 
[2026-09-07 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-07 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 10:53: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-07 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-07 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-07 10:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922170624001,"66":12558,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922170624001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:53:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922170624001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:53:47] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:53:47] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:53:50] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:50] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:50] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:53:55] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:55] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:53:55] local.INFO: IMEI packet received {"connection_id":176024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":176024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:53:56] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5190e8012cef31c007111e90000b01402e..."} 
[2026-09-07 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5190e8012cef31c007111e90000b01402e..."} 
[2026-09-07 10:53:56] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5190e8012cef31c007111e90000b01402e..."} 
[2026-09-07 10:53:56] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:53:56] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:53:56] local.INFO: GPS Element Parsed {"raw_longitude":753873344,"raw_latitude":118562448,"longitude_deg":75.3873344,"latitude_deg":11.8562448,"altitude":11,"angle":320,"satellites":46,"speed":8,"hex_longitude":"2cef31c0","hex_latitude":"07111e90","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922190336001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401155348515258368,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210201632015607808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788758561000,"timestamp_ms":1788758561000,"timestamp_seconds":1788758561,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5190e8"} 
[2026-09-07 10: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-07 10:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 10:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 10: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-07 10: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-07 10:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:53:56] 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-07 10:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922190336001,"66":27767,"203":206,"83":41472,"24":8,"16":401155348515258368,"44":-1210201632015607808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 10:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922190336001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:53:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401155348515258368,"km_value":401155348515258.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:53:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210201632015607808,"description":"Unknown IO ID 44"} 
[2026-09-07 10:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922190336001,"power":27767,"mnc":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1210201632015607808}} 
[2026-09-07 10:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:53:56] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:53:56] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:54:18] local.INFO: TCP Data received {"connection_id":174658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a50f4a8012d191400071fd088004200502c..."} 
[2026-09-07 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a50f4a8012d191400071fd088004200502c..."} 
[2026-09-07 10:54:18] local.INFO: Processing buffer {"connection_id":174658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a50f4a8012d191400071fd088004200502c..."} 
[2026-09-07 10:54:18] local.INFO: Packet analysis {"connection_id":174658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:54:18] local.INFO: Extracted packet for processing {"connection_id":174658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a50"} 
[2026-09-07 10:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922176000001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54: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-07 10:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758521000,"timestamp_ms":1788758521000,"timestamp_seconds":1788758521,"priority":1,"record_length":96,"hex_timestamp":"000001a07a50f4a8"} 
[2026-09-07 10:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:54:18] 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-07 10:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249646473308000024,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3498573890,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718584,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3874488320,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408109058,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,230,160,80,45,208,66,44,10,254,43,172,1,240,167,227,122,31,4,113,205,8,20,136,42,239,49,2,64,7,120,50,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 10:54:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755889356412026880,"timestamp_seconds":4755889356412027.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 10:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922176000001,"66":12526,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922176000001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922176000001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":174658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:54:18] local.INFO: GPS data processed {"connection_id":174658,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:54:18] local.INFO: Acknowledgment sent {"connection_id":174658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:54:27] local.INFO: TCP Data received {"connection_id":176024,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a51a088012cef300007112178000a014b2e..."} 
[2026-09-07 10:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a51a088012cef300007112178000a014b2e..."} 
[2026-09-07 10:54:27] local.INFO: Processing buffer {"connection_id":176024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a51a088012cef300007112178000a014b2e..."} 
[2026-09-07 10:54:27] local.INFO: Packet analysis {"connection_id":176024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:54:27] local.INFO: Extracted packet for processing {"connection_id":176024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:54:27] local.INFO: GPS Element Parsed {"raw_longitude":753872896,"raw_latitude":118563192,"longitude_deg":75.3872896,"latitude_deg":11.8563192,"altitude":10,"angle":331,"satellites":46,"speed":9,"hex_longitude":"2cef3000","hex_latitude":"07112178","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922191616001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401155391464931328,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210975688201433088,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788758565000,"timestamp_ms":1788758565000,"timestamp_seconds":1788758565,"priority":1,"record_length":96,"hex_timestamp":"000001a07a51a088"} 
[2026-09-07 10: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-07 10:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:54:27] 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-07 10:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922191616001,"66":27908,"203":206,"83":41472,"24":9,"16":401155391464931328,"44":-1210975688201433088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 10:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922191616001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401155391464931328,"km_value":401155391464931.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:54:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210975688201433088,"description":"Unknown IO ID 44"} 
[2026-09-07 10:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922191616001,"power":27908,"mnc":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-1210975688201433088}} 
[2026-09-07 10:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":176024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:54:27] local.INFO: GPS data processed {"connection_id":176024,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:54:27] local.INFO: Acknowledgment sent {"connection_id":176024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:54:41] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:41] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:41] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:54:45] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:45] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:54:45] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:54:45] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:45] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:45] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:54:46] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:46] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:46] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:54:46] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5146b0012d191400071fd088004200502c..."} 
[2026-09-07 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5146b0012d191400071fd088004200502c..."} 
[2026-09-07 10:54:46] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5146b0012d191400071fd088004200502c..."} 
[2026-09-07 10:54:46] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:54:46] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922181376001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788758542000,"timestamp_ms":1788758542000,"timestamp_seconds":1788758542,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5146b0"} 
[2026-09-07 10: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-07 10:54:46] 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-07 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 10:54:46] 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-07 10: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-07 10: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-07 10:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922181376001,"66":12548,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922181376001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922181376001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:54:46] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:54:46] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:54:47] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:47] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:47] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:54:48] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:48] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:54:48] local.INFO: IMEI packet received {"connection_id":174659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":174659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:54:48] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a52e0d8012cee640007118e70000901222a..."} 
[2026-09-07 10:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a52e0d8012cee640007118e70000901222a..."} 
[2026-09-07 10:54:48] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a52e0d8012cee640007118e70000901222a..."} 
[2026-09-07 10:54:48] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:54:48] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:54:48] local.INFO: GPS Element Parsed {"raw_longitude":753820672,"raw_latitude":118591088,"longitude_deg":75.3820672,"latitude_deg":11.8591088,"altitude":9,"angle":290,"satellites":42,"speed":24,"hex_longitude":"2cee6400","hex_latitude":"07118e70","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922211072001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401158299157790720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1259670859165943808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788758647000,"timestamp_ms":1788758647000,"timestamp_seconds":1788758647,"priority":1,"record_length":96,"hex_timestamp":"000001a07a52e0d8"} 
[2026-09-07 10: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-07 10:54: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-07 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 10:54:48] 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-07 10: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-07 10: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-07 10:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10: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-07 10:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922211072001,"66":27832,"219":206,"83":41472,"24":24,"16":401158299157790720,"44":-1259670859165943808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 10:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922211072001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:54:48] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 10:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401158299157790720,"km_value":401158299157790.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1259670859165943808,"description":"Unknown IO ID 44"} 
[2026-09-07 10:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922211072001,"power":27832,"unknown_219":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-1259670859165943808}} 
[2026-09-07 10:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:54:48] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:54:48] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:55:12] local.INFO: TCP Data received {"connection_id":173535,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:55:12] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 10:55:12] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 10:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:55:17] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5198b8012d191400071fd088004200502c..."} 
[2026-09-07 10:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5198b8012d191400071fd088004200502c..."} 
[2026-09-07 10:55:17] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5198b8012d191400071fd088004200502c..."} 
[2026-09-07 10:55:17] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:55:17] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922186752001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788758563000,"timestamp_ms":1788758563000,"timestamp_seconds":1788758563,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5198b8"} 
[2026-09-07 10: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-07 10:55:17] 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-07 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211251405,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3498573890,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3874488320,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,230,160,244,45,208,66,44,10,162,80,1,240,123,227,122,31,4,113,205,172,20,136,42,239,49,2,64,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 10:55:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755889356412026880,"timestamp_seconds":4755889356412027.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 10: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-07 10:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922186752001,"66":12526,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922186752001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922186752001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:55:17] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:55:17] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:55:20] local.INFO: TCP Data received {"connection_id":174659,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a52e8a8012cee604007119058000901392a..."} 
[2026-09-07 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a52e8a8012cee604007119058000901392a..."} 
[2026-09-07 10:55:20] local.INFO: Processing buffer {"connection_id":174659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a52e8a8012cee604007119058000901392a..."} 
[2026-09-07 10:55:20] local.INFO: Packet analysis {"connection_id":174659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:55:20] local.INFO: Extracted packet for processing {"connection_id":174659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":753819712,"raw_latitude":118591576,"longitude_deg":75.3819712,"latitude_deg":11.8591576,"altitude":9,"angle":313,"satellites":42,"speed":19,"hex_longitude":"2cee6040","hex_latitude":"07119058","is_valid_coordinates":true} 
[2026-09-07 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-07 10:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922213632001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401158350697398272,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1268889164652318720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788758649000,"timestamp_ms":1788758649000,"timestamp_seconds":1788758649,"priority":1,"record_length":96,"hex_timestamp":"000001a07a52e8a8"} 
[2026-09-07 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-07 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 10:55:20] 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-07 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-07 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-07 10:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922213632001,"66":27626,"219":206,"83":41472,"24":19,"16":401158350697398272,"44":-1268889164652318720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 10:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922213632001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:55:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 10:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401158350697398272,"km_value":401158350697398.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1268889164652318720,"description":"Unknown IO ID 44"} 
[2026-09-07 10:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922213632001,"power":27626,"unknown_219":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1268889164652318720}} 
[2026-09-07 10:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":174659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:55:20] local.INFO: GPS data processed {"connection_id":174659,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:55:20] local.INFO: Acknowledgment sent {"connection_id":174659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:55:41] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:41] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:41] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:55:44] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:44] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:44] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:55:45] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:55:45] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:45] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:55:46] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:46] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:55:46] local.INFO: IMEI packet received {"connection_id":176025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":176025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:55:47] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a51eac0012d191400071fd088004200502c..."} 
[2026-09-07 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a51eac0012d191400071fd088004200502c..."} 
[2026-09-07 10:55:47] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a51eac0012d191400071fd088004200502c..."} 
[2026-09-07 10:55:47] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:55:47] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a51"} 
[2026-09-07 10:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922192128001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55: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-07 10:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758584000,"timestamp_ms":1788758584000,"timestamp_seconds":1788758584,"priority":1,"record_length":96,"hex_timestamp":"000001a07a51eac0"} 
[2026-09-07 10: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-07 10:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 10:55:47] 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-07 10: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-07 10: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-07 10:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922192128001,"66":12385,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922192128001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:55:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922192128001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:55:47] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:55:47] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:55:50] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:50] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:55:50] local.INFO: IMEI packet received {"connection_id":176026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":176026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:55:51] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5384e8012cee27800711b5c8000900d82b..."} 
[2026-09-07 10:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5384e8012cee27800711b5c8000900d82b..."} 
[2026-09-07 10:55:51] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5384e8012cee27800711b5c8000900d82b..."} 
[2026-09-07 10:55:51] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:55:51] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:55:51] local.INFO: GPS Element Parsed {"raw_longitude":753805184,"raw_latitude":118601160,"longitude_deg":75.3805184,"latitude_deg":11.860116,"altitude":9,"angle":216,"satellites":43,"speed":17,"hex_longitude":"2cee2780","hex_latitude":"0711b5c8","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922224128001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401159342834843648,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1285636925763946496,"note":"Value kept but may cause issues"} 
[2026-09-07 10:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758689000,"timestamp_ms":1788758689000,"timestamp_seconds":1788758689,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5384e8"} 
[2026-09-07 10: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-07 10:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10: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-07 10: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-07 10:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922224128001,"66":27843,"170":206,"83":41472,"24":17,"16":401159342834843648,"44":-1285636925763946496},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922224128001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:55:51] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401159342834843648,"km_value":401159342834843.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1285636925763946496,"description":"Unknown IO ID 44"} 
[2026-09-07 10:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922224128001,"power":27843,"unknown_170":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-1285636925763946496}} 
[2026-09-07 10:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:55:51] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:55:51] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:56:18] local.INFO: TCP Data received {"connection_id":176025,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a523cc8012d191400071fd088004200502b..."} 
[2026-09-07 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a523cc8012d191400071fd088004200502b..."} 
[2026-09-07 10:56:18] local.INFO: Processing buffer {"connection_id":176025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a523cc8012d191400071fd088004200502b..."} 
[2026-09-07 10:56:18] local.INFO: Packet analysis {"connection_id":176025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:56:18] local.INFO: Extracted packet for processing {"connection_id":176025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922197504001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56: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-07 10:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758605000,"timestamp_ms":1788758605000,"timestamp_seconds":1788758605,"priority":1,"record_length":96,"hex_timestamp":"000001a07a523cc8"} 
[2026-09-07 10:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:56:18] 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-07 10:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 10:56:18] 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-07 10:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922197504001,"66":12504,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922197504001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922197504001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":176025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:56:18] local.INFO: GPS data processed {"connection_id":176025,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:56:18] local.INFO: Acknowledgment sent {"connection_id":176025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:56:22] local.INFO: TCP Data received {"connection_id":176026,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5388d0012cee26800711b418000900c62c..."} 
[2026-09-07 10:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5388d0012cee26800711b418000900c62c..."} 
[2026-09-07 10:56:22] local.INFO: Processing buffer {"connection_id":176026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5388d0012cee26800711b418000900c62c..."} 
[2026-09-07 10:56:22] local.INFO: Packet analysis {"connection_id":176026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:56:22] local.INFO: Extracted packet for processing {"connection_id":176026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:56:22] local.INFO: GPS Element Parsed {"raw_longitude":753804928,"raw_latitude":118600728,"longitude_deg":75.3804928,"latitude_deg":11.8600728,"altitude":9,"angle":198,"satellites":44,"speed":19,"hex_longitude":"2cee2680","hex_latitude":"0711b418","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922224384001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401159368604647424,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1285918400740734976,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758690000,"timestamp_ms":1788758690000,"timestamp_seconds":1788758690,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5388d0"} 
[2026-09-07 10: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-07 10:56: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-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:56:22] 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-07 10: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-07 10: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-07 10:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:56:22] 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-07 10:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922224384001,"66":27800,"170":206,"83":41472,"24":19,"16":401159368604647424,"44":-1285918400740734976},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922224384001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:56:22] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401159368604647424,"km_value":401159368604647.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1285918400740734976,"description":"Unknown IO ID 44"} 
[2026-09-07 10:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922224384001,"power":27800,"unknown_170":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1285918400740734976}} 
[2026-09-07 10:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":176026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:56:22] local.INFO: GPS data processed {"connection_id":176026,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:56:22] local.INFO: Acknowledgment sent {"connection_id":176026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:56:45] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:45] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:45] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:56:46] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:46] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:46] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:56:48] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:48] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:48] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:56:50] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:50] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:56:50] local.INFO: IMEI packet received {"connection_id":176029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":176029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:56:50] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a549a40012ced914007119380000a00e12a..."} 
[2026-09-07 10:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a549a40012ced914007119380000a00e12a..."} 
[2026-09-07 10:56:50] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a549a40012ced914007119380000a00e12a..."} 
[2026-09-07 10:56:50] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:56:50] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753766720,"raw_latitude":118592384,"longitude_deg":75.376672,"latitude_deg":11.8592384,"altitude":10,"angle":225,"satellites":42,"speed":16,"hex_longitude":"2ced9140","hex_latitude":"07119380","is_valid_coordinates":true} 
[2026-09-07 10:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922241792001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401161520383262720,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1327576697295874048,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788758760000,"timestamp_ms":1788758760000,"timestamp_seconds":1788758760,"priority":1,"record_length":96,"hex_timestamp":"000001a07a549a40"} 
[2026-09-07 10:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:56:50] 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-07 10:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:56:50] 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-07 10:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922241792001,"66":27821,"170":206,"83":41472,"24":16,"16":401161520383262720,"44":-1327576697295874048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922241792001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:56:50] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401161520383262720,"km_value":401161520383262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1327576697295874048,"description":"Unknown IO ID 44"} 
[2026-09-07 10:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922241792001,"power":27821,"unknown_170":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1327576697295874048}} 
[2026-09-07 10:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:56:50] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:56:50] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:56:51] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:51] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:56:51] local.INFO: IMEI packet received {"connection_id":176028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":176028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:56:52] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a528ed0012d191400071fd088004200502c..."} 
[2026-09-07 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a528ed0012d191400071fd088004200502c..."} 
[2026-09-07 10:56:52] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a528ed0012d191400071fd088004200502c..."} 
[2026-09-07 10:56:52] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:56:52] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922202880001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10: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-07 10:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788758626000,"timestamp_ms":1788758626000,"timestamp_seconds":1788758626,"priority":1,"record_length":96,"hex_timestamp":"000001a07a528ed0"} 
[2026-09-07 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-07 10:56: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-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 10: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-07 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-07 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-07 10:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922202880001,"66":12461,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922202880001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:56:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:56:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922202880001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:56:52] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:56:52] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:57:21] local.INFO: TCP Data received {"connection_id":176029,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a549e28012ced8fc0071192e0000a01002c..."} 
[2026-09-07 10:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a549e28012ced8fc0071192e0000a01002c..."} 
[2026-09-07 10:57:21] local.INFO: Processing buffer {"connection_id":176029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a549e28012ced8fc0071192e0000a01002c..."} 
[2026-09-07 10:57:21] local.INFO: Packet analysis {"connection_id":176029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:21] local.INFO: Extracted packet for processing {"connection_id":176029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:21] local.INFO: GPS Element Parsed {"raw_longitude":753766336,"raw_latitude":118592224,"longitude_deg":75.3766336,"latitude_deg":11.8592224,"altitude":10,"angle":256,"satellites":44,"speed":17,"hex_longitude":"2ced8fc0","hex_latitude":"071192e0","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922242560001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401161541858099200,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1328210015993757696,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788758761000,"timestamp_ms":1788758761000,"timestamp_seconds":1788758761,"priority":1,"record_length":96,"hex_timestamp":"000001a07a549e28"} 
[2026-09-07 10: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-07 10:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:57:21] 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-07 10: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-07 10: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-07 10:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57: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-07 10:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922242560001,"66":27821,"170":206,"83":41472,"24":17,"16":401161541858099200,"44":-1328210015993757696},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922242560001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:57:21] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401161541858099200,"km_value":401161541858099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1328210015993757696,"description":"Unknown IO ID 44"} 
[2026-09-07 10:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922242560001,"power":27821,"unknown_170":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-1328210015993757696}} 
[2026-09-07 10:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":176029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:57:21] local.INFO: GPS data processed {"connection_id":176029,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:57:21] local.INFO: Acknowledgment sent {"connection_id":176029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:57:23] local.INFO: TCP Data received {"connection_id":176028,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a52e0d8012d191400071fd088004200502a..."} 
[2026-09-07 10:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a52e0d8012d191400071fd088004200502a..."} 
[2026-09-07 10:57:23] local.INFO: Processing buffer {"connection_id":176028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a52e0d8012d191400071fd088004200502a..."} 
[2026-09-07 10:57:23] local.INFO: Packet analysis {"connection_id":176028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:57:23] local.INFO: Extracted packet for processing {"connection_id":176028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a52"} 
[2026-09-07 10:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":42,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922208256001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10: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-07 10:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788758647000,"timestamp_ms":1788758647000,"timestamp_seconds":1788758647,"priority":1,"record_length":96,"hex_timestamp":"000001a07a52e0d8"} 
[2026-09-07 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-07 10:57: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:57: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-07 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-07 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-07 10:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922208256001,"66":12428,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922208256001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922208256001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":176028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:57:23] local.INFO: GPS data processed {"connection_id":176028,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:57:23] local.INFO: Acknowledgment sent {"connection_id":176028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:57:41] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:41] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:41] local.INFO: IMEI packet received {"connection_id":173537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":173537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:57:46] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:46] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:57:46] local.INFO: IMEI packet received {"connection_id":173537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:57:47] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5332e0012d191400071fd088004200502b..."} 
[2026-09-07 10:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5332e0012d191400071fd088004200502b..."} 
[2026-09-07 10:57:47] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5332e0012d191400071fd088004200502b..."} 
[2026-09-07 10:57:47] local.INFO: Packet analysis {"connection_id":173537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:57:47] local.INFO: Extracted packet for processing {"connection_id":173537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922213632001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57: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-07 10:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758668000,"timestamp_ms":1788758668000,"timestamp_seconds":1788758668,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5332e0"} 
[2026-09-07 10: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-07 10:57:47] 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-07 10: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 10:57:47] 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-07 10: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-07 10: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-07 10:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922213632001,"66":12439,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922213632001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922213632001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":173537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:57:47] local.INFO: GPS data processed {"connection_id":173537,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:57:47] local.INFO: Acknowledgment sent {"connection_id":173537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:57:50] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:50] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:50] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:57:51] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:51] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:51] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:57:55] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:55] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:57:55] local.INFO: IMEI packet received {"connection_id":173291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:57:56] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a54a210012ced8e00071192d0000a01162c..."} 
[2026-09-07 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a54a210012ced8e00071192d0000a01162c..."} 
[2026-09-07 10:57:56] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a54a210012ced8e00071192d0000a01162c..."} 
[2026-09-07 10:57:56] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:56] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:56] local.INFO: GPS Element Parsed {"raw_longitude":753765888,"raw_latitude":118592208,"longitude_deg":75.3765888,"latitude_deg":11.8592208,"altitude":10,"angle":278,"satellites":44,"speed":18,"hex_longitude":"2ced8e00","hex_latitude":"071192d0","is_valid_coordinates":true} 
[2026-09-07 10:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922242816001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401161563332935680,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1328632228458864640,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788758762000,"timestamp_ms":1788758762000,"timestamp_seconds":1788758762,"priority":1,"record_length":96,"hex_timestamp":"000001a07a54a210"} 
[2026-09-07 10:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:57:56] 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-07 10:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57:56] 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-07 10:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922242816001,"66":27767,"170":206,"83":41472,"24":18,"16":401161563332935680,"44":-1328632228458864640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922242816001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:57:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401161563332935680,"km_value":401161563332935.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1328632228458864640,"description":"Unknown IO ID 44"} 
[2026-09-07 10:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922242816001,"power":27767,"unknown_170":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-1328632228458864640}} 
[2026-09-07 10:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:57:56] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:57:56] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:57:57] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a54c150012ced7dc007119410000801092b..."} 
[2026-09-07 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a54c150012ced7dc007119410000801092b..."} 
[2026-09-07 10:57:57] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a54c150012ced7dc007119410000801092b..."} 
[2026-09-07 10:57:57] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:57] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:57:57] local.INFO: GPS Element Parsed {"raw_longitude":753761728,"raw_latitude":118592528,"longitude_deg":75.3761728,"latitude_deg":11.8592528,"altitude":8,"angle":265,"satellites":43,"speed":21,"hex_longitude":"2ced7dc0","hex_latitude":"07119410","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922243072001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401161760901431296,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1329124809668112384,"note":"Value kept but may cause issues"} 
[2026-09-07 10:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788758770000,"timestamp_ms":1788758770000,"timestamp_seconds":1788758770,"priority":1,"record_length":96,"hex_timestamp":"000001a07a54c150"} 
[2026-09-07 10: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-07 10:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 10:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:57: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-07 10: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-07 10:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:57:57] 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-07 10:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922243072001,"66":27865,"170":206,"83":41472,"24":21,"16":401161760901431296,"44":-1329124809668112384},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-09-07 10:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922243072001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:57:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 10:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401161760901431296,"km_value":401161760901431.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:57:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1329124809668112384,"description":"Unknown IO ID 44"} 
[2026-09-07 10:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922243072001,"power":27865,"unknown_170":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-1329124809668112384}} 
[2026-09-07 10:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:57:57] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:57:57] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:58:00] local.INFO: TCP Data received {"connection_id":173291,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a54e860012ced62c007119430000901162a..."} 
[2026-09-07 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a54e860012ced62c007119430000901162a..."} 
[2026-09-07 10:58:00] local.INFO: Processing buffer {"connection_id":173291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a54e860012ced62c007119430000901162a..."} 
[2026-09-07 10:58:00] local.INFO: Packet analysis {"connection_id":173291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:58:00] local.INFO: Extracted packet for processing {"connection_id":173291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":753754816,"raw_latitude":118592560,"longitude_deg":75.3754816,"latitude_deg":11.859256,"altitude":9,"angle":278,"satellites":42,"speed":30,"hex_longitude":"2ced62c0","hex_latitude":"07119430","is_valid_coordinates":true} 
[2026-09-07 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922245120001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401162087318945792,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333698778039578624,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788758780000,"timestamp_ms":1788758780000,"timestamp_seconds":1788758780,"priority":1,"record_length":96,"hex_timestamp":"000001a07a54e860"} 
[2026-09-07 10:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:58:00] 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-07 10:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922245120001,"66":27865,"45":206,"83":41472,"24":30,"16":401162087318945792,"44":-1333698778039578624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 10:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922245120001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401162087318945792,"km_value":401162087318945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333698778039578624,"description":"Unknown IO ID 44"} 
[2026-09-07 10:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922245120001,"power":27865,"unknown_45":206,"unknown_83":41472,"ignition":30,"odometer":null,"unknown_44":-1333698778039578624}} 
[2026-09-07 10:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":173291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:58:00] local.INFO: GPS data processed {"connection_id":173291,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:58:00] local.INFO: Acknowledgment sent {"connection_id":173291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:58:18] local.INFO: TCP Data received {"connection_id":173537,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5384e8012d191400071fd088004200502b..."} 
[2026-09-07 10:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5384e8012d191400071fd088004200502b..."} 
[2026-09-07 10:58:18] local.INFO: Processing buffer {"connection_id":173537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5384e8012d191400071fd088004200502b..."} 
[2026-09-07 10:58:18] local.INFO: Packet analysis {"connection_id":173537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:58:18] local.INFO: Extracted packet for processing {"connection_id":173537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922219008001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58: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-07 10:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758689000,"timestamp_ms":1788758689000,"timestamp_seconds":1788758689,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5384e8"} 
[2026-09-07 10: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-07 10:58:18] 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-07 10: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 10:58:18] 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-07 10: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-07 10: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-07 10:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922219008001,"66":12428,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922219008001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922219008001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":173537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:58:18] local.INFO: GPS data processed {"connection_id":173537,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:58:18] local.INFO: Acknowledgment sent {"connection_id":173537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:58:41] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:41] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:41] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:58:45] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:45] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:45] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:58:46] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:46] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:58:46] local.INFO: IMEI packet received {"connection_id":173293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:58:47] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a53d6f0012d191400071fd088004200502c..."} 
[2026-09-07 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a53d6f0012d191400071fd088004200502c..."} 
[2026-09-07 10:58:47] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a53d6f0012d191400071fd088004200502c..."} 
[2026-09-07 10:58:47] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:58:47] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a53"} 
[2026-09-07 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922224384001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58: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-07 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758710000,"timestamp_ms":1788758710000,"timestamp_seconds":1788758710,"priority":1,"record_length":96,"hex_timestamp":"000001a07a53d6f0"} 
[2026-09-07 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-07 10:58:47] 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-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 10:58:47] 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-07 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-07 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-07 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922224384001,"66":12374,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922224384001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:58:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922224384001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:58:47] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:58:47] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:58:58] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:58] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:58:58] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:58:59] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5507a0012ced4a8007119a40000a01232a..."} 
[2026-09-07 10:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5507a0012ced4a8007119a40000a01232a..."} 
[2026-09-07 10:58:59] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5507a0012ced4a8007119a40000a01232a..."} 
[2026-09-07 10:58:59] local.INFO: Packet analysis {"connection_id":173538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:58:59] local.INFO: Extracted packet for processing {"connection_id":173538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:58:59] local.INFO: GPS Element Parsed {"raw_longitude":753748608,"raw_latitude":118594112,"longitude_deg":75.3748608,"latitude_deg":11.8594112,"altitude":10,"angle":291,"satellites":42,"speed":23,"hex_longitude":"2ced4a80","hex_latitude":"07119a40","is_valid_coordinates":true} 
[2026-09-07 10:58: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-07 10:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922247680001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401162392261623808,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1341298602410758144,"note":"Value kept but may cause issues"} 
[2026-09-07 10:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788758788000,"timestamp_ms":1788758788000,"timestamp_seconds":1788758788,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5507a0"} 
[2026-09-07 10:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 10:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 10:58: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-07 10:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:58:59] 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-07 10:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922247680001,"66":27821,"45":206,"83":41472,"24":23,"16":401162392261623808,"44":-1341298602410758144},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 10:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922247680001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 10:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401162392261623808,"km_value":401162392261623.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:58:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1341298602410758144,"description":"Unknown IO ID 44"} 
[2026-09-07 10:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922247680001,"power":27821,"unknown_45":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1341298602410758144}} 
[2026-09-07 10:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":173538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:58:59] local.INFO: GPS data processed {"connection_id":173538,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:58:59] local.INFO: Acknowledgment sent {"connection_id":173538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:59:00] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5555c0012ced27c00711a768000a011b29..."} 
[2026-09-07 10:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5555c0012ced27c00711a768000a011b29..."} 
[2026-09-07 10:59:00] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5555c0012ced27c00711a768000a011b29..."} 
[2026-09-07 10:59:00] local.INFO: Packet analysis {"connection_id":173538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:00] local.INFO: Extracted packet for processing {"connection_id":173538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":753739712,"raw_latitude":118597480,"longitude_deg":75.3739712,"latitude_deg":11.859748,"altitude":10,"angle":283,"satellites":41,"speed":26,"hex_longitude":"2ced27c0","hex_latitude":"0711a768","is_valid_coordinates":true} 
[2026-09-07 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922249728001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401162847528157184,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1348124370595594240,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788758808000,"timestamp_ms":1788758808000,"timestamp_seconds":1788758808,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5555c0"} 
[2026-09-07 10:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 10:59:00] 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-07 10:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:00] 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-07 10:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922249728001,"66":27887,"45":206,"83":41472,"24":26,"16":401162847528157184,"44":-1348124370595594240},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 10:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922249728001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401162847528157184,"km_value":401162847528157.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1348124370595594240,"description":"Unknown IO ID 44"} 
[2026-09-07 10:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922249728001,"power":27887,"unknown_45":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1348124370595594240}} 
[2026-09-07 10:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":173538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:59:00] local.INFO: GPS data processed {"connection_id":173538,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:59:00] local.INFO: Acknowledgment sent {"connection_id":173538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:59:18] local.INFO: TCP Data received {"connection_id":173293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5428f8012d191400071fd088004200502c..."} 
[2026-09-07 10:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5428f8012d191400071fd088004200502c..."} 
[2026-09-07 10:59:18] local.INFO: Processing buffer {"connection_id":173293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5428f8012d191400071fd088004200502c..."} 
[2026-09-07 10:59:18] local.INFO: Packet analysis {"connection_id":173293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:59:18] local.INFO: Extracted packet for processing {"connection_id":173293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 10:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 10:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922229760001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59: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-07 10:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758731000,"timestamp_ms":1788758731000,"timestamp_seconds":1788758731,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5428f8"} 
[2026-09-07 10:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 10:59:18] 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-07 10:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 10:59:18] 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-07 10:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 10:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922229760001,"66":12385,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922229760001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922229760001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":173293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:59:18] local.INFO: GPS data processed {"connection_id":173293,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:59:18] local.INFO: Acknowledgment sent {"connection_id":173293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:59:41] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:41] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:41] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 10:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:59:45] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:45] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:45] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 10:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 10:59:46] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:46] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 10:59:46] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 10:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:59:47] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a547b00012d191400071fd088004200502b..."} 
[2026-09-07 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a547b00012d191400071fd088004200502b..."} 
[2026-09-07 10:59:47] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a547b00012d191400071fd088004200502b..."} 
[2026-09-07 10:59:47] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:59:47] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 10:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 10:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922235136001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59: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-07 10:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758752000,"timestamp_ms":1788758752000,"timestamp_seconds":1788758752,"priority":1,"record_length":96,"hex_timestamp":"000001a07a547b00"} 
[2026-09-07 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-07 10:59:47] 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-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 10:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 10:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 10:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 10:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 10:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922235136001,"66":12385,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 10:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 10:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 10:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922235136001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:59:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 10:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 10:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 10:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922235136001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 10:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:59:47] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:59:47] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:59:47] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:47] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:47] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:59:50] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:50] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 10:59:50] local.INFO: IMEI packet received {"connection_id":173294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 10:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":173294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 10:59:51] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a559058012ced04800711b370000d01212a..."} 
[2026-09-07 10:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a559058012ced04800711b370000d01212a..."} 
[2026-09-07 10:59:51] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a559058012ced04800711b370000d01212a..."} 
[2026-09-07 10:59:51] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:51] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:51] local.INFO: GPS Element Parsed {"raw_longitude":753730688,"raw_latitude":118600560,"longitude_deg":75.3730688,"latitude_deg":11.860056,"altitude":13,"angle":289,"satellites":42,"speed":21,"hex_longitude":"2ced0480","hex_latitude":"0711b370","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922254848001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401163298499723264,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357905626035427328,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758823000,"timestamp_ms":1788758823000,"timestamp_seconds":1788758823,"priority":1,"record_length":96,"hex_timestamp":"000001a07a559058"} 
[2026-09-07 10: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-07 10:59: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-07 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 10:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 10:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 10: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-07 10:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 10:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922254848001,"66":27843,"45":206,"83":41472,"24":21,"16":401163298499723264,"44":-1357905626035427328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 10:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922254848001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 10:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401163298499723264,"km_value":401163298499723.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357905626035427328,"description":"Unknown IO ID 44"} 
[2026-09-07 10:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922254848001,"power":27843,"unknown_45":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-1357905626035427328}} 
[2026-09-07 10:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:59:51] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:59:51] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 10:59:55] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a55b380012cecf2000711bb40000e012f2b..."} 
[2026-09-07 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a55b380012cecf2000711bb40000e012f2b..."} 
[2026-09-07 10:59:55] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a55b380012cecf2000711bb40000e012f2b..."} 
[2026-09-07 10:59:55] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:55] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":753725952,"raw_latitude":118602560,"longitude_deg":75.3725952,"latitude_deg":11.860256,"altitude":14,"angle":303,"satellites":43,"speed":20,"hex_longitude":"2cecf200","hex_latitude":"0711bb40","is_valid_coordinates":true} 
[2026-09-07 10: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-07 10:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922258688001,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401163543312859136,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1367827618963689472,"note":"Value kept but may cause issues"} 
[2026-09-07 10:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 10:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788758832000,"timestamp_ms":1788758832000,"timestamp_seconds":1788758832,"priority":1,"record_length":96,"hex_timestamp":"000001a07a55b380"} 
[2026-09-07 10: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-07 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 10:59:55] 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-07 10: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-07 10: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-07 10:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 10:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 10:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 10:59:55] 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-07 10:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 10:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 10:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922258688001,"66":27876,"47":206,"83":41472,"24":20,"16":401163543312859136,"44":-1367827618963689472},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-09-07 10:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 10:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 10:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922258688001,"description":"Unknown IO ID 0"} 
[2026-09-07 10:59:55] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 10:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 10:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401163543312859136,"km_value":401163543312859.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 10:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1367827618963689472,"description":"Unknown IO ID 44"} 
[2026-09-07 10:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922258688001,"power":27876,"unknown_47":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-1367827618963689472}} 
[2026-09-07 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 10:59:55] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-07 10:59:55] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:00:18] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a54cd08012d191400071fd088004200502b..."} 
[2026-09-07 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a54cd08012d191400071fd088004200502b..."} 
[2026-09-07 11:00:18] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a54cd08012d191400071fd088004200502b..."} 
[2026-09-07 11:00:18] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 11:00:18] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a54"} 
[2026-09-07 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922240512001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00: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-07 11:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758773000,"timestamp_ms":1788758773000,"timestamp_seconds":1788758773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a54cd08"} 
[2026-09-07 11: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-07 11:00:18] 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-07 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:00:18] 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-07 11: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-07 11: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-07 11:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922240512001,"66":12385,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922240512001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922240512001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:00:18] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:00:18] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:00:28] local.INFO: TCP Data received {"connection_id":173294,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a580540012cebfe4007129d60001701012a..."} 
[2026-09-07 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a580540012cebfe4007129d60001701012a..."} 
[2026-09-07 11:00:28] local.INFO: Processing buffer {"connection_id":173294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a580540012cebfe4007129d60001701012a..."} 
[2026-09-07 11:00:28] local.INFO: Packet analysis {"connection_id":173294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:00:28] local.INFO: Extracted packet for processing {"connection_id":173294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":753663552,"raw_latitude":118660448,"longitude_deg":75.3663552,"latitude_deg":11.8660448,"altitude":23,"angle":257,"satellites":42,"speed":15,"hex_longitude":"2cebfe40","hex_latitude":"07129d60","is_valid_coordinates":true} 
[2026-09-07 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922299392001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401167670776430592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440729637916432384,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788758984000,"timestamp_ms":1788758984000,"timestamp_seconds":1788758984,"priority":1,"record_length":96,"hex_timestamp":"000001a07a580540"} 
[2026-09-07 11:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 11:00:28] 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-07 11:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:00:28] 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-07 11:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922299392001,"66":27767,"203":206,"83":41472,"24":15,"16":401167670776430592,"44":-1440729637916432384},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 11:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922299392001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:00:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401167670776430592,"km_value":401167670776430.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:00:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440729637916432384,"description":"Unknown IO ID 44"} 
[2026-09-07 11:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922299392001,"power":27767,"mnc":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1440729637916432384}} 
[2026-09-07 11:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":173294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:00:28] local.INFO: GPS data processed {"connection_id":173294,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:00:28] local.INFO: Acknowledgment sent {"connection_id":173294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:00:40] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:40] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:40] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:00:42] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:42] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:42] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:00:45] local.INFO: TCP Data received {"connection_id":174661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:45] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:45] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:00:46] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:46] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:00:46] local.INFO: IMEI packet received {"connection_id":173541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":173541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:00:47] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a551f10012d191400071fd088004200502b..."} 
[2026-09-07 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a551f10012d191400071fd088004200502b..."} 
[2026-09-07 11:00:47] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a551f10012d191400071fd088004200502b..."} 
[2026-09-07 11:00:47] local.INFO: Packet analysis {"connection_id":173541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:00:47] local.INFO: Extracted packet for processing {"connection_id":173541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922245888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00: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-07 11:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758794000,"timestamp_ms":1788758794000,"timestamp_seconds":1788758794,"priority":1,"record_length":96,"hex_timestamp":"000001a07a551f10"} 
[2026-09-07 11: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-07 11:00:47] 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-07 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922245888001,"66":11874,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922245888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:00:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922245888001,"power":11874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":173541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:00:47] local.INFO: GPS data processed {"connection_id":173541,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:00:47] local.INFO: Acknowledgment sent {"connection_id":173541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:00:47] local.INFO: TCP Data received {"connection_id":174662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:00:47] local.INFO: Processing buffer {"connection_id":174662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:00:47] local.INFO: IMEI packet received {"connection_id":174662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":174662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:00:50] local.INFO: TCP Data received {"connection_id":174661,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:50] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:00:50] local.INFO: IMEI packet received {"connection_id":174661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":174661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:00:51] local.INFO: TCP Data received {"connection_id":174661,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a580928012cebfd0007129ce0001700f12b..."} 
[2026-09-07 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a580928012cebfd0007129ce0001700f12b..."} 
[2026-09-07 11:00:51] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a580928012cebfd0007129ce0001700f12b..."} 
[2026-09-07 11:00:51] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:00:51] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:00:51] local.INFO: GPS Element Parsed {"raw_longitude":753663232,"raw_latitude":118660320,"longitude_deg":75.3663232,"latitude_deg":11.866032,"altitude":23,"angle":241,"satellites":43,"speed":14,"hex_longitude":"2cebfd00","hex_latitude":"07129ce0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922299904001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401167687956299776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1441644431590727680,"note":"Value kept but may cause issues"} 
[2026-09-07 11:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788758985000,"timestamp_ms":1788758985000,"timestamp_seconds":1788758985,"priority":1,"record_length":96,"hex_timestamp":"000001a07a580928"} 
[2026-09-07 11: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-07 11:00: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-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922299904001,"66":27767,"203":206,"83":41472,"24":14,"16":401167687956299776,"44":-1441644431590727680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 11:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922299904001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401167687956299776,"km_value":401167687956299.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1441644431590727680,"description":"Unknown IO ID 44"} 
[2026-09-07 11:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922299904001,"power":27767,"mnc":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1441644431590727680}} 
[2026-09-07 11:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:00:51] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:00:51] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:01:18] local.INFO: TCP Data received {"connection_id":173541,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a557118012d191400071fd088004200502b..."} 
[2026-09-07 11:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a557118012d191400071fd088004200502b..."} 
[2026-09-07 11:01:18] local.INFO: Processing buffer {"connection_id":173541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a557118012d191400071fd088004200502b..."} 
[2026-09-07 11:01:18] local.INFO: Packet analysis {"connection_id":173541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:01:18] local.INFO: Extracted packet for processing {"connection_id":173541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 11:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922251264001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01: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-07 11:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788758815000,"timestamp_ms":1788758815000,"timestamp_seconds":1788758815,"priority":1,"record_length":96,"hex_timestamp":"000001a07a557118"} 
[2026-09-07 11:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:01:18] 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-07 11:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 11:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922251264001,"66":11287,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922251264001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:01:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922251264001,"power":11287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":173541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:01:18] local.INFO: GPS data processed {"connection_id":173541,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:01:18] local.INFO: Acknowledgment sent {"connection_id":173541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:01:22] local.INFO: TCP Data received {"connection_id":174661,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5810f8012cebfa0007129af8001800e02b..."} 
[2026-09-07 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5810f8012cebfa0007129af8001800e02b..."} 
[2026-09-07 11:01:22] local.INFO: Processing buffer {"connection_id":174661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5810f8012cebfa0007129af8001800e02b..."} 
[2026-09-07 11:01:22] local.INFO: Packet analysis {"connection_id":174661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:01:22] local.INFO: Extracted packet for processing {"connection_id":174661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":753662464,"raw_latitude":118659832,"longitude_deg":75.3662464,"latitude_deg":11.8659832,"altitude":24,"angle":224,"satellites":43,"speed":18,"hex_longitude":"2cebfa00","hex_latitude":"07129af8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922300160001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401167730905972736,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1441996275311648768,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788758987000,"timestamp_ms":1788758987000,"timestamp_seconds":1788758987,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5810f8"} 
[2026-09-07 11: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-07 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:01:22] 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-07 11:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922300160001,"66":27865,"203":206,"83":41472,"24":18,"16":401167730905972736,"44":-1441996275311648768},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-09-07 11:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922300160001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401167730905972736,"km_value":401167730905972.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1441996275311648768,"description":"Unknown IO ID 44"} 
[2026-09-07 11:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922300160001,"power":27865,"mnc":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-1441996275311648768}} 
[2026-09-07 11:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":174661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:01:22] local.INFO: GPS data processed {"connection_id":174661,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:01:22] local.INFO: Acknowledgment sent {"connection_id":174661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:01:45] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:45] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:45] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:01:45] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:01:45] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:45] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:01:51] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:51] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:01:51] local.INFO: IMEI packet received {"connection_id":173295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":173295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:01:51] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:51] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:01:51] local.INFO: IMEI packet received {"connection_id":174663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":174663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:01:52] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a55c320012d191400071fd088004200502c..."} 
[2026-09-07 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a55c320012d191400071fd088004200502c..."} 
[2026-09-07 11:01:52] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a55c320012d191400071fd088004200502c..."} 
[2026-09-07 11:01:52] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:01:52] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a55"} 
[2026-09-07 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922256640001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788758836000,"timestamp_ms":1788758836000,"timestamp_seconds":1788758836,"priority":1,"record_length":96,"hex_timestamp":"000001a07a55c320"} 
[2026-09-07 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-07 11: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-07 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":44,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3498573890,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":5972010605456462848,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630726329923686,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":214,"raw_value":4026608921,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":136,"raw_value":18577692781707264,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-7565821456991334829,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3874488320,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751541680414672,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":25,"raw_value":1441159713982513218,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2292481745020276778,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194916864,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,230,160,31,45,208,66,43,10,205,123,1,240,97,227,122,4,113,214,20,136,44,239,48,2,64,232,25,164,7,69],"length":631,"final_offset":761,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 11:01:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755889352117059584,"timestamp_seconds":4755889352117060.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922256640001,"66":12287,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922256640001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922256640001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:01:52] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:01:52] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:01:52] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a585360012cebde0007128250001500e22c..."} 
[2026-09-07 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a585360012cebde0007128250001500e22c..."} 
[2026-09-07 11:01:52] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a585360012cebde0007128250001500e22c..."} 
[2026-09-07 11:01:52] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:01:52] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a58"} 
[2026-09-07 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":753655296,"raw_latitude":118653520,"longitude_deg":75.3655296,"latitude_deg":11.865352,"altitude":21,"angle":226,"satellites":44,"speed":25,"hex_longitude":"2cebde00","hex_latitude":"07128250","is_valid_coordinates":true} 
[2026-09-07 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-07 11:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922300672001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401168186172506112,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442840700241905664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788759004000,"timestamp_ms":1788759004000,"timestamp_seconds":1788759004,"priority":1,"record_length":96,"hex_timestamp":"000001a07a585360"} 
[2026-09-07 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-07 11:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 11:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 11:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:01: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-07 11:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922300672001,"66":27821,"56":206,"83":41472,"24":25,"16":401168186172506112,"44":-1442840700241905664},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,83,24,16,44]} 
[2026-09-07 11:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922300672001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401168186172506112,"km_value":401168186172506.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442840700241905664,"description":"Unknown IO ID 44"} 
[2026-09-07 11:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922300672001,"power":27821,"unknown_56":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1442840700241905664}} 
[2026-09-07 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:01:52] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:01:52] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:02:23] local.INFO: TCP Data received {"connection_id":173295,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a561528012d191400071fd088004200502c..."} 
[2026-09-07 11:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a561528012d191400071fd088004200502c..."} 
[2026-09-07 11:02:23] local.INFO: Processing buffer {"connection_id":173295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a561528012d191400071fd088004200502c..."} 
[2026-09-07 11:02:23] local.INFO: Packet analysis {"connection_id":173295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a56"} 
[2026-09-07 11:02:23] local.INFO: Extracted packet for processing {"connection_id":173295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a56"} 
[2026-09-07 11:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":44,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 11:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922262016001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788758857000,"timestamp_ms":1788758857000,"timestamp_seconds":1788758857,"priority":1,"record_length":96,"hex_timestamp":"000001a07a561528"} 
[2026-09-07 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-07 11: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-07 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:02: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-07 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-07 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-07 11:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922262016001,"66":12287,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922262016001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922262016001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":173295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:02:23] local.INFO: GPS data processed {"connection_id":173295,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:02:23] local.INFO: Acknowledgment sent {"connection_id":173295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:02:25] local.INFO: TCP Data received {"connection_id":174663,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a59b6d8012ceada000711e2b8001801342b..."} 
[2026-09-07 11:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a59b6d8012ceada000711e2b8001801342b..."} 
[2026-09-07 11:02:25] local.INFO: Processing buffer {"connection_id":174663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a59b6d8012ceada000711e2b8001801342b..."} 
[2026-09-07 11:02:25] local.INFO: Packet analysis {"connection_id":174663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:02:25] local.INFO: Extracted packet for processing {"connection_id":174663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:02:25] local.INFO: GPS Element Parsed {"raw_longitude":753588736,"raw_latitude":118612664,"longitude_deg":75.3588736,"latitude_deg":11.8612664,"altitude":24,"angle":308,"satellites":43,"speed":15,"hex_longitude":"2ceada00","hex_latitude":"0711e2b8","is_valid_coordinates":true} 
[2026-09-07 11:02: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-07 11:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922327808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401172055938039808,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523061068616591360,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788759095000,"timestamp_ms":1788759095000,"timestamp_seconds":1788759095,"priority":1,"record_length":96,"hex_timestamp":"000001a07a59b6d8"} 
[2026-09-07 11:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:02: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-07 11:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922327808001,"66":27865,"106":206,"83":41472,"24":15,"16":401172055938039808,"44":-1523061068616591360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-09-07 11:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922327808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:02:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401172055938039808,"km_value":401172055938039.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523061068616591360,"description":"Unknown IO ID 44"} 
[2026-09-07 11:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922327808001,"power":27865,"unknown_106":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1523061068616591360}} 
[2026-09-07 11:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":174663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:02:25] local.INFO: GPS data processed {"connection_id":174663,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:02:25] local.INFO: Acknowledgment sent {"connection_id":174663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:02:41] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:41] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:41] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:02:45] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:45] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:45] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:02:46] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:46] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:02:46] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:02:47] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a566730012d191400071fd088004200502b..."} 
[2026-09-07 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a566730012d191400071fd088004200502b..."} 
[2026-09-07 11:02:47] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a566730012d191400071fd088004200502b..."} 
[2026-09-07 11:02:47] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a56"} 
[2026-09-07 11:02:47] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a56"} 
[2026-09-07 11:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756618240,"raw_latitude":119525512,"longitude_deg":75.661824,"latitude_deg":11.9525512,"altitude":66,"angle":80,"satellites":43,"speed":0,"hex_longitude":"2d191400","hex_latitude":"071fd088","is_valid_coordinates":true} 
[2026-09-07 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-07 11:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922267392001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268316976021504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807069381080942592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02: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-07 11:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788758878000,"timestamp_ms":1788758878000,"timestamp_seconds":1788758878,"priority":1,"record_length":96,"hex_timestamp":"000001a07a566730"} 
[2026-09-07 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-07 11:02:47] 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-07 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:02:47] 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-07 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-07 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-07 11:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922267392001,"66":12341,"102":206,"83":41984,"24":0,"16":18268316976021504,"45":1807069381080942592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922267392001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:02:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268316976021504,"km_value":18268316976021.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807069381080942592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922267392001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807069381080942592}} 
[2026-09-07 11:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:02:47] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:02:47] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:02:48] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:48] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:48] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:02:50] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:50] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:02:50] local.INFO: IMEI packet received {"connection_id":173297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:02:50] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a59bac0012cead9000711e3e80019014c2c..."} 
[2026-09-07 11:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a59bac0012cead9000711e3e80019014c2c..."} 
[2026-09-07 11:02:50] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a59bac0012cead9000711e3e80019014c2c..."} 
[2026-09-07 11:02:50] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:02:50] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:02:50] local.INFO: GPS Element Parsed {"raw_longitude":753588480,"raw_latitude":118612968,"longitude_deg":75.358848,"latitude_deg":11.8612968,"altitude":25,"angle":332,"satellites":44,"speed":15,"hex_longitude":"2cead900","hex_latitude":"0711e3e8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922328320001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401172073117908992,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523905493546649600,"note":"Value kept but may cause issues"} 
[2026-09-07 11:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788759096000,"timestamp_ms":1788759096000,"timestamp_seconds":1788759096,"priority":1,"record_length":96,"hex_timestamp":"000001a07a59bac0"} 
[2026-09-07 11: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-07 11:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 11:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:02:50] 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-07 11:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922328320001,"66":27745,"106":206,"83":41472,"24":15,"16":401172073117908992,"44":-1523905493546649600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-09-07 11:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922328320001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:02:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401172073117908992,"km_value":401172073117909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523905493546649600,"description":"Unknown IO ID 44"} 
[2026-09-07 11:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922328320001,"power":27745,"unknown_106":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1523905493546649600}} 
[2026-09-07 11:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:02:50] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:02:50] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:03:17] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5aa908012d193600071fd4e0004600332e..."} 
[2026-09-07 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5aa908012d193600071fd4e0004600332e..."} 
[2026-09-07 11:03:17] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5aa908012d193600071fd4e0004600332e..."} 
[2026-09-07 11:03:17] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5a"} 
[2026-09-07 11:03:17] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5a"} 
[2026-09-07 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756626944,"raw_latitude":119526624,"longitude_deg":75.6626944,"latitude_deg":11.9526624,"altitude":70,"angle":51,"satellites":46,"speed":7,"hex_longitude":"2d193600","hex_latitude":"071fd4e0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922340864001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268737882816512,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812487774382682112,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788759157000,"timestamp_ms":1788759157000,"timestamp_seconds":1788759157,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5aa908"} 
[2026-09-07 11: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-07 11:03:17] 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-07 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 11:03:17] 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-07 11: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-07 11: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-07 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922340864001,"66":14080,"102":206,"83":41984,"24":7,"16":18268737882816512,"45":1812487774382682112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922340864001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:03:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268737882816512,"km_value":18268737882816.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812487774382682112,"description":"Unknown IO ID 45"} 
[2026-09-07 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922340864001,"power":14080,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1812487774382682112}} 
[2026-09-07 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:03:17] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:03:17] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:03:22] local.INFO: TCP Data received {"connection_id":173297,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a59bea8012cead8c00711e5680018015f2d..."} 
[2026-09-07 11:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a59bea8012cead8c00711e5680018015f2d..."} 
[2026-09-07 11:03:22] local.INFO: Processing buffer {"connection_id":173297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a59bea8012cead8c00711e5680018015f2d..."} 
[2026-09-07 11:03:22] local.INFO: Packet analysis {"connection_id":173297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:03:22] local.INFO: Extracted packet for processing {"connection_id":173297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":753588416,"raw_latitude":118613352,"longitude_deg":75.3588416,"latitude_deg":11.8613352,"altitude":24,"angle":351,"satellites":45,"speed":17,"hex_longitude":"2cead8c0","hex_latitude":"0711e568","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922328576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401172090297778176,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1524186968523282432,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759097000,"timestamp_ms":1788759097000,"timestamp_seconds":1788759097,"priority":1,"record_length":96,"hex_timestamp":"000001a07a59bea8"} 
[2026-09-07 11: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-07 11:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:03:22] 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-07 11: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-07 11: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-07 11:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:03:22] 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-07 11:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922328576001,"66":27745,"106":206,"83":41472,"24":17,"16":401172090297778176,"44":-1524186968523282432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-09-07 11:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922328576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:03:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401172090297778176,"km_value":401172090297778.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1524186968523282432,"description":"Unknown IO ID 44"} 
[2026-09-07 11:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922328576001,"power":27745,"unknown_106":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-1524186968523282432}} 
[2026-09-07 11:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":173297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:03:22] local.INFO: GPS data processed {"connection_id":173297,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:03:22] local.INFO: Acknowledgment sent {"connection_id":173297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:03:41] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:41] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:41] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:03:45] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:45] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:45] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:03:46] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:46] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:03:46] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:03:47] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5aacf0012d1936c0071fd5780045001d2e..."} 
[2026-09-07 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5aacf0012d1936c0071fd5780045001d2e..."} 
[2026-09-07 11:03:47] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5aacf0012d1936c0071fd5780045001d2e..."} 
[2026-09-07 11:03:47] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5a"} 
[2026-09-07 11:03:47] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5a"} 
[2026-09-07 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756627136,"raw_latitude":119526776,"longitude_deg":75.6627136,"latitude_deg":11.9526776,"altitude":69,"angle":29,"satellites":46,"speed":9,"hex_longitude":"2d1936c0","hex_latitude":"071fd578","is_valid_coordinates":true} 
[2026-09-07 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-07 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922344192001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18268750767718400,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816639530289389568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03: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-07 11:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759158000,"timestamp_ms":1788759158000,"timestamp_seconds":1788759158,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5aacf0"} 
[2026-09-07 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-07 11:03:47] 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-07 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219712,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3874488320,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3498573890,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,231,160,118,45,64,209,67,46,10,66,94,208,63,192,1,240,137,227,230,122,31,4,113,205,155,20,136,239,47,2,7],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 11:03:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044087855316926464,"timestamp_seconds":5044087855316926.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 11:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922344192001,"66":14102,"102":206,"83":41984,"24":9,"16":18268750767718400,"45":1816639530289389568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 11:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922344192001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:03:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 11:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18268750767718400,"km_value":18268750767718.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816639530289389568,"description":"Unknown IO ID 45"} 
[2026-09-07 11:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922344192001,"power":14102,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1816639530289389568}} 
[2026-09-07 11:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:03:47] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:03:47] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:03:50] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:50] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:03:50] local.INFO: IMEI packet received {"connection_id":174664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":174664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:03:51] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a59e9a0012cead2c00711fa90001701532b..."} 
[2026-09-07 11:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a59e9a0012cead2c00711fa90001701532b..."} 
[2026-09-07 11:03:51] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a59e9a0012cead2c00711fa90001701532b..."} 
[2026-09-07 11:03:51] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:03:51] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a59"} 
[2026-09-07 11:03:51] local.INFO: GPS Element Parsed {"raw_longitude":753586880,"raw_latitude":118618768,"longitude_deg":75.358688,"latitude_deg":11.8618768,"altitude":23,"angle":339,"satellites":43,"speed":26,"hex_longitude":"2cead2c0","hex_latitude":"0711fa90","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922328832001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401172365175685120,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1524257337267361792,"note":"Value kept but may cause issues"} 
[2026-09-07 11:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759108000,"timestamp_ms":1788759108000,"timestamp_seconds":1788759108,"priority":1,"record_length":96,"hex_timestamp":"000001a07a59e9a0"} 
[2026-09-07 11: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-07 11:03: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-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:03:51] 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-07 11: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-07 11: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-07 11:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922328832001,"66":27691,"106":206,"83":41472,"24":26,"16":401172365175685120,"44":-1524257337267361792},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-09-07 11:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922328832001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:03:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401172365175685120,"km_value":401172365175685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1524257337267361792,"description":"Unknown IO ID 44"} 
[2026-09-07 11:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922328832001,"power":27691,"unknown_106":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1524257337267361792}} 
[2026-09-07 11:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:03:51] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:03:51] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:04:18] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5b6c58012d195400071ff1e0004700702e..."} 
[2026-09-07 11:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5b6c58012d195400071ff1e0004700702e..."} 
[2026-09-07 11:04:18] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5b6c58012d195400071ff1e0004700702e..."} 
[2026-09-07 11:04:18] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:18] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119534048,"longitude_deg":75.6634624,"latitude_deg":11.9534048,"altitude":71,"angle":112,"satellites":46,"speed":20,"hex_longitude":"2d195400","hex_latitude":"071ff1e0","is_valid_coordinates":true} 
[2026-09-07 11:04: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-07 11:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922356480001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269506681962496,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824028248430063616,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:18] local.INFO: IO Element Parsed {"io_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-07 11:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759207000,"timestamp_ms":1788759207000,"timestamp_seconds":1788759207,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5b6c58"} 
[2026-09-07 11:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:04:18] 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-07 11:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 11:04:18] 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-07 11:04: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-07 11:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922356480001,"66":13048,"103":206,"83":41984,"24":20,"16":18269506681962496,"45":1824028248430063616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922356480001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:04:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269506681962496,"km_value":18269506681962.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824028248430063616,"description":"Unknown IO ID 45"} 
[2026-09-07 11:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922356480001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1824028248430063616}} 
[2026-09-07 11:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:04:18] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:04:18] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:04:25] local.INFO: TCP Data received {"connection_id":174664,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:25] local.INFO: Processing buffer {"connection_id":174664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:25] local.INFO: Packet analysis {"connection_id":174664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:25] local.INFO: Extracted packet for processing {"connection_id":174664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:25] local.INFO: GPS Element Parsed {"raw_longitude":753590016,"raw_latitude":118693264,"longitude_deg":75.3590016,"latitude_deg":11.8693264,"altitude":17,"angle":31,"satellites":46,"speed":29,"hex_longitude":"2ceadf00","hex_latitude":"07131d90","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922356992001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401176161926774784,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1526298030830336000,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788759221000,"timestamp_ms":1788759221000,"timestamp_seconds":1788759221,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5ba308"} 
[2026-09-07 11: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-07 11:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 11:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922356992001,"66":27767,"107":206,"83":41472,"24":29,"16":401176161926774784,"44":-1526298030830336000},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,44]} 
[2026-09-07 11:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922356992001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:04:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-07 11:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401176161926774784,"km_value":401176161926774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1526298030830336000,"description":"Unknown IO ID 44"} 
[2026-09-07 11:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922356992001,"power":27767,"unknown_107":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1526298030830336000}} 
[2026-09-07 11:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":174664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:04:25] local.INFO: GPS data processed {"connection_id":174664,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:04:25] local.INFO: Acknowledgment sent {"connection_id":174664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:04:41] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:41] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:41] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:04:46] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:46] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:04:46] local.INFO: IMEI packet received {"connection_id":173298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:04:47] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5b83c8012d195f80071feed8004500642d..."} 
[2026-09-07 11:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5b83c8012d195f80071feed8004500642d..."} 
[2026-09-07 11:04:47] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5b83c8012d195f80071feed8004500642d..."} 
[2026-09-07 11:04:47] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:47] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119533272,"longitude_deg":75.6637568,"latitude_deg":11.9533272,"altitude":69,"angle":100,"satellites":45,"speed":17,"hex_longitude":"2d195f80","hex_latitude":"071feed8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922356992001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269652710850560,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779592609792,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759213000,"timestamp_ms":1788759213000,"timestamp_seconds":1788759213,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5b83c8"} 
[2026-09-07 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-07 11:04:47] 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-07 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 11:04:47] 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-07 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-07 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-07 11:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922356992001,"66":13004,"103":206,"83":41984,"24":17,"16":18269652710850560,"45":1825083779592609792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922356992001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:04:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269652710850560,"km_value":18269652710850.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779592609792,"description":"Unknown IO ID 45"} 
[2026-09-07 11:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922356992001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1825083779592609792}} 
[2026-09-07 11:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:04:47] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:04:47] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:04:49] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:49] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:49] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:04:50] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:50] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:50] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:04:55] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:55] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:04:55] local.INFO: IMEI packet received {"connection_id":173299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":173299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:04:55] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:55] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5ba308012ceadf0007131d900011001f2e..."} 
[2026-09-07 11:04:55] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:55] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":753590016,"raw_latitude":118693264,"longitude_deg":75.3590016,"latitude_deg":11.8693264,"altitude":17,"angle":31,"satellites":46,"speed":29,"hex_longitude":"2ceadf00","hex_latitude":"07131d90","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922360576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401176161926774784,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1522498118642462720,"note":"Value kept but may cause issues"} 
[2026-09-07 11:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788759221000,"timestamp_ms":1788759221000,"timestamp_seconds":1788759221,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5ba308"} 
[2026-09-07 11: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-07 11:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:04:55] 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-07 11:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922360576001,"66":27767,"107":206,"83":41472,"24":29,"16":401176161926774784,"44":-1522498118642462720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,44]} 
[2026-09-07 11:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922360576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:04:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-07 11:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401176161926774784,"km_value":401176161926774.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1522498118642462720,"description":"Unknown IO ID 44"} 
[2026-09-07 11:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922360576001,"power":27767,"unknown_107":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1522498118642462720}} 
[2026-09-07 11:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:04:55] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:04:55] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:05:00] local.INFO: TCP Data received {"connection_id":173299,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5baad8012ceae340071322080011002c2e..."} 
[2026-09-07 11:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5baad8012ceae340071322080011002c2e..."} 
[2026-09-07 11:05:00] local.INFO: Processing buffer {"connection_id":173299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5baad8012ceae340071322080011002c2e..."} 
[2026-09-07 11:05:00] local.INFO: Packet analysis {"connection_id":173299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:00] local.INFO: Extracted packet for processing {"connection_id":173299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":753591104,"raw_latitude":118694408,"longitude_deg":75.3591104,"latitude_deg":11.8694408,"altitude":17,"angle":44,"satellites":46,"speed":29,"hex_longitude":"2ceae340","hex_latitude":"07132208","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922360576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401176234941218816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1522498118642462720,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788759223000,"timestamp_ms":1788759223000,"timestamp_seconds":1788759223,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5baad8"} 
[2026-09-07 11: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-07 11:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:05:00] 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-07 11:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922360576001,"66":27974,"5":206,"83":41472,"24":29,"16":401176234941218816,"44":-1522498118642462720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,83,24,16,44]} 
[2026-09-07 11:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922360576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:05:00] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 11:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401176234941218816,"km_value":401176234941218.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1522498118642462720,"description":"Unknown IO ID 44"} 
[2026-09-07 11:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922360576001,"power":27974,"unknown_5":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1522498118642462720}} 
[2026-09-07 11:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":173299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:05:00] local.INFO: GPS data processed {"connection_id":173299,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:05:00] local.INFO: Acknowledgment sent {"connection_id":173299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:05:17] local.INFO: TCP Data received {"connection_id":173298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5b8f80012d196440071fee50004300582d..."} 
[2026-09-07 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5b8f80012d196440071fee50004300582d..."} 
[2026-09-07 11:05:17] local.INFO: Processing buffer {"connection_id":173298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5b8f80012d196440071fee50004300582d..."} 
[2026-09-07 11:05:17] local.INFO: Packet analysis {"connection_id":173298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:17] local.INFO: Extracted packet for processing {"connection_id":173298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756638784,"raw_latitude":119533136,"longitude_deg":75.6638784,"latitude_deg":11.9533136,"altitude":67,"angle":88,"satellites":45,"speed":10,"hex_longitude":"2d196440","hex_latitude":"071fee50","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922358528001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269712840392704,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828320741824583680,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788759216000,"timestamp_ms":1788759216000,"timestamp_seconds":1788759216,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5b8f80"} 
[2026-09-07 11: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-07 11:05:17] 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-07 11:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 11:05:17] 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-07 11: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-07 11: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-07 11:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922358528001,"66":13048,"103":206,"83":41984,"24":10,"16":18269712840392704,"45":1828320741824583680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922358528001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:05:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269712840392704,"km_value":18269712840392.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828320741824583680,"description":"Unknown IO ID 45"} 
[2026-09-07 11:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922358528001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1828320741824583680}} 
[2026-09-07 11:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":173298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:05:18] local.INFO: GPS data processed {"connection_id":173298,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:05:18] local.INFO: Acknowledgment sent {"connection_id":173298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:05:41] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:41] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:41] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:05:46] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:46] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:05:46] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:05:47] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5be188012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5be188012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:05:47] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5be188012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:05:47] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:47] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5b"} 
[2026-09-07 11:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922359296001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829657747963924480,"note":"Value kept but may cause issues"} 
[2026-09-07 11:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759237000,"timestamp_ms":1788759237000,"timestamp_seconds":1788759237,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5be188"} 
[2026-09-07 11: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-07 11:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 11:05:47] 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-07 11: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-07 11: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-07 11:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922359296001,"66":12972,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1829657747963924480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922359296001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:05:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829657747963924480,"description":"Unknown IO ID 45"} 
[2026-09-07 11:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922359296001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829657747963924480}} 
[2026-09-07 11:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:05:47] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:05:47] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:06:13] local.INFO: TCP Data received {"connection_id":174666,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:13] local.INFO: Processing buffer {"connection_id":174666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:13] local.INFO: IMEI packet received {"connection_id":174666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":174666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:06:15] local.INFO: TCP Data received {"connection_id":174667,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:15] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:15] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:06:17] local.INFO: TCP Data received {"connection_id":174667,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:17] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:17] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:06:18] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5c3390012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5c3390012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:06:18] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5c3390012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:06:18] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:18] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922364672001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:18] local.INFO: IO Element Parsed {"io_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-07 11:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759258000,"timestamp_ms":1788759258000,"timestamp_seconds":1788759258,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5c3390"} 
[2026-09-07 11:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:06:18] 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-07 11:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-07 11:06:18] 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-07 11:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922364672001,"66":12928,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922364672001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:06:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922364672001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:06:18] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:06:18] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:06:19] local.INFO: TCP Data received {"connection_id":174667,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:19] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:19] local.INFO: IMEI packet received {"connection_id":174667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":174667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:06:20] local.INFO: TCP Data received {"connection_id":174667,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5ceb28012ceaf0c00713ee880011003f2c..."} 
[2026-09-07 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5ceb28012ceaf0c00713ee880011003f2c..."} 
[2026-09-07 11:06:20] local.INFO: Processing buffer {"connection_id":174667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5ceb28012ceaf0c00713ee880011003f2c..."} 
[2026-09-07 11:06:20] local.INFO: Packet analysis {"connection_id":174667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:20] local.INFO: Extracted packet for processing {"connection_id":174667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:20] local.INFO: GPS Element Parsed {"raw_longitude":753594560,"raw_latitude":118746760,"longitude_deg":75.359456,"latitude_deg":11.874676,"altitude":17,"angle":63,"satellites":44,"speed":12,"hex_longitude":"2ceaf0c0","hex_latitude":"0713ee88","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922381824001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401178910705844224,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517713044024725504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788759305000,"timestamp_ms":1788759305000,"timestamp_seconds":1788759305,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5ceb28"} 
[2026-09-07 11: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-07 11:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 11:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922381824001,"66":27691,"38":206,"83":41472,"24":12,"16":401178910705844224,"44":-1517713044024725504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922381824001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:06:20] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401178910705844224,"km_value":401178910705844.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517713044024725504,"description":"Unknown IO ID 44"} 
[2026-09-07 11:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922381824001,"power":27691,"unknown_38":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1517713044024725504}} 
[2026-09-07 11:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:06:20] local.INFO: GPS data processed {"connection_id":174667,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:06:20] local.INFO: Acknowledgment sent {"connection_id":174667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:06:41] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:06:41] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:41] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:06:45] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:45] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:45] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:06:46] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:46] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:06:46] local.INFO: IMEI packet received {"connection_id":176031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":176031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:06:47] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5c8598012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5c8598012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:06:47] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5c8598012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:06:47] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:47] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922370048001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759279000,"timestamp_ms":1788759279000,"timestamp_seconds":1788759279,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5c8598"} 
[2026-09-07 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-07 11:06:47] 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-07 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-07 11:06:47] 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-07 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-07 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-07 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922370048001,"66":12863,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922370048001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:06:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922370048001,"power":12863,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:06:47] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:06:47] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:06:50] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:50] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:06:50] local.INFO: IMEI packet received {"connection_id":176032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":176032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:06:51] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5cef10012ceaf2400713eef80010004c2b..."} 
[2026-09-07 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5cef10012ceaf2400713eef80010004c2b..."} 
[2026-09-07 11:06:51] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5cef10012ceaf2400713eef80010004c2b..."} 
[2026-09-07 11:06:51] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:51] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":753594944,"raw_latitude":118746872,"longitude_deg":75.3594944,"latitude_deg":11.8746872,"altitude":16,"angle":76,"satellites":43,"speed":15,"hex_longitude":"2ceaf240","hex_latitude":"0713eef8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922382080001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401178927885713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517501937792153600,"note":"Value kept but may cause issues"} 
[2026-09-07 11:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759306000,"timestamp_ms":1788759306000,"timestamp_seconds":1788759306,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5cef10"} 
[2026-09-07 11: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-07 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 11:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922382080001,"66":27887,"38":206,"83":41472,"24":15,"16":401178927885713408,"44":-1517501937792153600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922382080001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:06:51] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401178927885713408,"km_value":401178927885713.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517501937792153600,"description":"Unknown IO ID 44"} 
[2026-09-07 11:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922382080001,"power":27887,"unknown_38":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1517501937792153600}} 
[2026-09-07 11:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:06:51] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:06:51] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:06:52] local.INFO: TCP Data received {"connection_id":173545,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:52] local.INFO: Processing buffer {"connection_id":173545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:06:52] local.INFO: IMEI packet received {"connection_id":173545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":173545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:07:18] local.INFO: TCP Data received {"connection_id":176031,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5cd7a0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5cd7a0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:07:18] local.INFO: Processing buffer {"connection_id":176031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5cd7a0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:07:18] local.INFO: Packet analysis {"connection_id":176031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:18] local.INFO: Extracted packet for processing {"connection_id":176031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922375424001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:18] local.INFO: IO Element Parsed {"io_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-07 11:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759300000,"timestamp_ms":1788759300000,"timestamp_seconds":1788759300,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5cd7a0"} 
[2026-09-07 11: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-07 11:07:18] 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-07 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 11:07:18] 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-07 11: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-07 11: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-07 11:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922375424001,"66":12809,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922375424001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:07:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922375424001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":176031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:07:18] local.INFO: GPS data processed {"connection_id":176031,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:07:18] local.INFO: Acknowledgment sent {"connection_id":176031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:07:22] local.INFO: TCP Data received {"connection_id":176032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5cf2f8012ceaf3c00713ef300010005e2c..."} 
[2026-09-07 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5cf2f8012ceaf3c00713ef300010005e2c..."} 
[2026-09-07 11:07:22] local.INFO: Processing buffer {"connection_id":176032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5cf2f8012ceaf3c00713ef300010005e2c..."} 
[2026-09-07 11:07:22] local.INFO: Packet analysis {"connection_id":176032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:22] local.INFO: Extracted packet for processing {"connection_id":176032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:22] local.INFO: GPS Element Parsed {"raw_longitude":753595328,"raw_latitude":118746928,"longitude_deg":75.3595328,"latitude_deg":11.8746928,"altitude":16,"angle":94,"satellites":44,"speed":16,"hex_longitude":"2ceaf3c0","hex_latitude":"0713ef30","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922382336001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401178945065582592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1517079725327058944,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759307000,"timestamp_ms":1788759307000,"timestamp_seconds":1788759307,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5cf2f8"} 
[2026-09-07 11: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-07 11:07: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-07 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 11:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:22] 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-07 11:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922382336001,"66":27887,"38":206,"83":41472,"24":16,"16":401178945065582592,"44":-1517079725327058944},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922382336001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:07:22] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401178945065582592,"km_value":401178945065582.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1517079725327058944,"description":"Unknown IO ID 44"} 
[2026-09-07 11:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922382336001,"power":27887,"unknown_38":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1517079725327058944}} 
[2026-09-07 11:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":176032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:07:22] local.INFO: GPS data processed {"connection_id":176032,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:07:22] local.INFO: Acknowledgment sent {"connection_id":176032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:07:40] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:40] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:40] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:07:44] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:44] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:44] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:07:45] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:45] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:07:45] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:07:46] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5d29a8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5d29a8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:07:46] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5d29a8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:07:46] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:07:46] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922380800001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.INFO: IO Element Parsed {"io_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-07 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788759321000,"timestamp_ms":1788759321000,"timestamp_seconds":1788759321,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5d29a8"} 
[2026-09-07 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:07:46] 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-07 11:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1441151880926331904,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":6585538093755486272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3998220355,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234835295547821,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3894870016,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2302377349754158894,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:46] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,232,160,133,45,192,238,66,10,51,46,225,1,240,172,227,122,31,4,113,205,131,95,216,239,50,2,64,7,71,20,164,5],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 11:07:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755903658653122560,"timestamp_seconds":4755903658653123.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922380800001,"66":12776,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922380800001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:07:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922380800001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:07:46] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:07:46] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:07:50] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:50] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:50] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:07:54] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:54] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:07:54] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:07:55] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5cf6e0012ceaf5c00713eee80011006e2c..."} 
[2026-09-07 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5cf6e0012ceaf5c00713eee80011006e2c..."} 
[2026-09-07 11:07:55] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5cf6e0012ceaf5c00713eee80011006e2c..."} 
[2026-09-07 11:07:55] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:55] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":753595840,"raw_latitude":118746856,"longitude_deg":75.359584,"latitude_deg":11.8746856,"altitude":17,"angle":110,"satellites":44,"speed":19,"hex_longitude":"2ceaf5c0","hex_latitude":"0713eee8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922382592001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401178966540419072,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1516657512861978624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788759308000,"timestamp_ms":1788759308000,"timestamp_seconds":1788759308,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5cf6e0"} 
[2026-09-07 11: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-07 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 11:07:55] 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-07 11: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-07 11: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-07 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:55] 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-07 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922382592001,"66":27821,"38":206,"83":41472,"24":19,"16":401178966540419072,"44":-1516657512861978624},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922382592001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:07:55] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401178966540419072,"km_value":401178966540419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1516657512861978624,"description":"Unknown IO ID 44"} 
[2026-09-07 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922382592001,"power":27821,"unknown_38":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1516657512861978624}} 
[2026-09-07 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:07:55] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:07:55] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:07:56] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5cfac8012ceaf7800713ee200010007b2d..."} 
[2026-09-07 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5cfac8012ceaf7800713ee200010007b2d..."} 
[2026-09-07 11:07:56] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5cfac8012ceaf7800713ee200010007b2d..."} 
[2026-09-07 11:07:56] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:56] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5c"} 
[2026-09-07 11:07:56] local.INFO: GPS Element Parsed {"raw_longitude":753596288,"raw_latitude":118746656,"longitude_deg":75.3596288,"latitude_deg":11.8746656,"altitude":16,"angle":123,"satellites":45,"speed":20,"hex_longitude":"2ceaf780","hex_latitude":"0713ee20","is_valid_coordinates":true} 
[2026-09-07 11:07: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-07 11:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922382848001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401178992310222848,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1516094562908575744,"note":"Value kept but may cause issues"} 
[2026-09-07 11:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788759309000,"timestamp_ms":1788759309000,"timestamp_seconds":1788759309,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5cfac8"} 
[2026-09-07 11:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 11:07:56] 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-07 11:07: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-07 11:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:07:56] 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-07 11:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922382848001,"66":27821,"38":206,"83":41472,"24":20,"16":401178992310222848,"44":-1516094562908575744},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922382848001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:07:56] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:07:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401178992310222848,"km_value":401178992310222.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1516094562908575744,"description":"Unknown IO ID 44"} 
[2026-09-07 11:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922382848001,"power":27821,"unknown_38":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-1516094562908575744}} 
[2026-09-07 11:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:07:56] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:07:56] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:08:17] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5d7bb0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5d7bb0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:08:17] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5d7bb0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:08:17] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:08:17] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922386176001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788759342000,"timestamp_ms":1788759342000,"timestamp_seconds":1788759342,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5d7bb0"} 
[2026-09-07 11:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:08:17] 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-07 11:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 11:08:17] 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-07 11:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922386176001,"66":12689,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922386176001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:08:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922386176001,"power":12689,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:08:18] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:08:18] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:08:27] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f2d48012ceb72800713c4c00012004832..."} 
[2026-09-07 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f2d48012ceb72800713c4c00012004832..."} 
[2026-09-07 11:08:27] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f2d48012ceb72800713c4c00012004832..."} 
[2026-09-07 11:08:27] local.INFO: Packet analysis {"connection_id":173547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:08:27] local.INFO: Extracted packet for processing {"connection_id":173547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":753627776,"raw_latitude":118736064,"longitude_deg":75.3627776,"latitude_deg":11.8736064,"altitude":18,"angle":72,"satellites":50,"speed":9,"hex_longitude":"2ceb7280","hex_latitude":"0713c4c0","is_valid_coordinates":true} 
[2026-09-07 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922419456001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180671642435584,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481543509520136192,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788759453000,"timestamp_ms":1788759453000,"timestamp_seconds":1788759453,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f2d48"} 
[2026-09-07 11:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:08: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-07 11:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:08:27] 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-07 11:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922419456001,"66":27767,"190":206,"83":41472,"24":9,"16":401180671642435584,"44":-1481543509520136192},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922419456001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:08:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180671642435584,"km_value":401180671642435.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481543509520136192,"description":"Unknown IO ID 44"} 
[2026-09-07 11:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922419456001,"power":27767,"unknown_190":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-1481543509520136192}} 
[2026-09-07 11:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":173547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:08:27] local.INFO: GPS data processed {"connection_id":173547,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:08:27] local.INFO: Acknowledgment sent {"connection_id":173547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:08:45] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:45] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:45] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:08:46] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:46] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:46] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:08:47] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:47] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:08:47] local.INFO: IMEI packet received {"connection_id":176034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":176034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:08:47] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5dcdb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5dcdb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:47] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5dcdb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:47] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:08:47] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5d"} 
[2026-09-07 11:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922391552001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759363000,"timestamp_ms":1788759363000,"timestamp_seconds":1788759363,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5dcdb8"} 
[2026-09-07 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-07 11:08:47] 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-07 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-07 11:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922391552001,"66":12667,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922391552001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:08:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922391552001,"power":12667,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:08:47] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:08:47] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:08:50] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:50] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:08:50] local.INFO: IMEI packet received {"connection_id":176035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":176035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:08:51] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5e1fc0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5e1fc0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:51] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5e1fc0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:08:51] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:08:51] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922396928001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759384000,"timestamp_ms":1788759384000,"timestamp_seconds":1788759384,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5e1fc0"} 
[2026-09-07 11: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-07 11:08:51] 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-07 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 11:08: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-07 11: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-07 11: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-07 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922396928001,"66":12645,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922396928001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922396928001,"power":12645,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:08:51] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:08:51] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:08:51] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f3900012ceb75800713c5580012005630..."} 
[2026-09-07 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f3900012ceb75800713c5580012005630..."} 
[2026-09-07 11:08:51] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f3900012ceb75800713c5580012005630..."} 
[2026-09-07 11:08:51] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:08:51] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":753628544,"raw_latitude":118736216,"longitude_deg":75.3628544,"latitude_deg":11.8736216,"altitude":18,"angle":86,"satellites":48,"speed":7,"hex_longitude":"2ceb7580","hex_latitude":"0713c558","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922419968001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180710297141248,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480980559566684160,"note":"Value kept but may cause issues"} 
[2026-09-07 11:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759456000,"timestamp_ms":1788759456000,"timestamp_seconds":1788759456,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f3900"} 
[2026-09-07 11: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-07 11:08: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-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922419968001,"66":27919,"190":206,"83":41472,"24":7,"16":401180710297141248,"44":-1480980559566684160},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922419968001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180710297141248,"km_value":401180710297141.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480980559566684160,"description":"Unknown IO ID 44"} 
[2026-09-07 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922419968001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1480980559566684160}} 
[2026-09-07 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:08:51] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:08:51] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:09:22] local.INFO: TCP Data received {"connection_id":176034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5e71c8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5e71c8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:22] local.INFO: Processing buffer {"connection_id":176034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5e71c8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:22] local.INFO: Packet analysis {"connection_id":176034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:09:22] local.INFO: Extracted packet for processing {"connection_id":176034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922402304001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759405000,"timestamp_ms":1788759405000,"timestamp_seconds":1788759405,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5e71c8"} 
[2026-09-07 11: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-07 11:09:22] 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-07 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 11:09:22] 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-07 11: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-07 11: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-07 11:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922402304001,"66":12591,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922402304001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922402304001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":176034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:09:22] local.INFO: GPS data processed {"connection_id":176034,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:09:22] local.INFO: Acknowledgment sent {"connection_id":176034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:09:22] local.INFO: TCP Data received {"connection_id":176035,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f67e0012ceb79c00713c318001200ab30..."} 
[2026-09-07 11:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f67e0012ceb79c00713c318001200ab30..."} 
[2026-09-07 11:09:22] local.INFO: Processing buffer {"connection_id":176035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f67e0012ceb79c00713c318001200ab30..."} 
[2026-09-07 11:09:22] local.INFO: Packet analysis {"connection_id":176035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:09:22] local.INFO: Extracted packet for processing {"connection_id":176035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735640,"longitude_deg":75.3629632,"latitude_deg":11.873564,"altitude":18,"angle":171,"satellites":48,"speed":7,"hex_longitude":"2ceb79c0","hex_latitude":"0713c318","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922420736001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180779016617984,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480136134636513280,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759468000,"timestamp_ms":1788759468000,"timestamp_seconds":1788759468,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f67e0"} 
[2026-09-07 11: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-07 11:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:09:22] 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-07 11:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922420736001,"66":27767,"190":206,"83":41472,"24":7,"16":401180779016617984,"44":-1480136134636513280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922420736001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180779016617984,"km_value":401180779016618.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480136134636513280,"description":"Unknown IO ID 44"} 
[2026-09-07 11:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922420736001,"power":27767,"unknown_190":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-1480136134636513280}} 
[2026-09-07 11:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":176035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:09:22] local.INFO: GPS data processed {"connection_id":176035,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:09:22] local.INFO: Acknowledgment sent {"connection_id":176035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:09:41] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:41] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:41] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:09:45] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:45] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:45] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:09:46] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:46] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:09:46] local.INFO: IMEI packet received {"connection_id":174668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":174668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:09:47] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5ec3d0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5ec3d0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:47] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5ec3d0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:09:47] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:09:47] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5e"} 
[2026-09-07 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922407680001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759426000,"timestamp_ms":1788759426000,"timestamp_seconds":1788759426,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5ec3d0"} 
[2026-09-07 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-07 11:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 11:09:47] 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-07 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-07 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-07 11:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922407680001,"66":12537,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922407680001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:09:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:09:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922407680001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:09:47] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:09:47] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:09:50] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:50] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:09:50] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:09:51] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:09:51] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:09:51] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:09:51] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:09:51] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:09: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-07 11:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11: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-07 11:09: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-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:09:51] 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-07 11:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:09:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:09:51] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:09:51] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:10:18] local.INFO: TCP Data received {"connection_id":174668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f15d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f15d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:18] local.INFO: Processing buffer {"connection_id":174668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f15d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:18] local.INFO: Packet analysis {"connection_id":174668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:18] local.INFO: Extracted packet for processing {"connection_id":174668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922413056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:18] local.INFO: IO Element Parsed {"io_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-07 11:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759447000,"timestamp_ms":1788759447000,"timestamp_seconds":1788759447,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f15d8"} 
[2026-09-07 11:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-07 11:10:18] 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-07 11:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922413056001,"66":12526,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922413056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:10:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922413056001,"power":12526,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":174668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:10:18] local.INFO: GPS data processed {"connection_id":174668,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:10:18] local.INFO: Acknowledgment sent {"connection_id":174668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:10:22] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:22] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:22] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:22] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:10: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-07 11:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:10:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:10:22] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:10:22] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:10:41] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:41] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:41] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:10:45] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:45] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:45] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:10:46] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:46] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:10:46] local.INFO: IMEI packet received {"connection_id":173301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:10:47] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f67e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f67e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:47] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f67e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:10:47] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:47] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922418432001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759468000,"timestamp_ms":1788759468000,"timestamp_seconds":1788759468,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f67e0"} 
[2026-09-07 11: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-07 11:10:47] 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-07 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 11:10:47] 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-07 11: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-07 11: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-07 11:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922418432001,"66":12504,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922418432001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:10:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922418432001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:10:47] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:10:47] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:10:50] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:50] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:10:50] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:10:51] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:51] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:10:51] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:51] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:10:51] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:10: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-07 11:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:10: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-07 11:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:10: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-07 11:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:10:51] 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-07 11:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:10:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:10:51] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:10:51] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:11:18] local.INFO: TCP Data received {"connection_id":173301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5fb9e8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5fb9e8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:18] local.INFO: Processing buffer {"connection_id":173301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5fb9e8012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:18] local.INFO: Packet analysis {"connection_id":173301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:18] local.INFO: Extracted packet for processing {"connection_id":173301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:18] local.INFO: IO Element Parsed {"io_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-07 11:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759489000,"timestamp_ms":1788759489000,"timestamp_seconds":1788759489,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5fb9e8"} 
[2026-09-07 11:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 11:11:18] 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-07 11:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":12461,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:11:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":173301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:11:18] local.INFO: GPS data processed {"connection_id":173301,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:11:18] local.INFO: Acknowledgment sent {"connection_id":173301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:11:22] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:22] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:22] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:22] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11: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-07 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11: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-07 11:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:11:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:11:22] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:11:22] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:11:41] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:41] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:41] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:11:45] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:45] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:45] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:11:46] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:46] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:11:46] local.INFO: IMEI packet received {"connection_id":173552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":173552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:11:47] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a600bf0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a600bf0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:47] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a600bf0012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:11:47] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:11:47] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922429184001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759510000,"timestamp_ms":1788759510000,"timestamp_seconds":1788759510,"priority":1,"record_length":96,"hex_timestamp":"000001a07a600bf0"} 
[2026-09-07 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-07 11:11:47] 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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 11:11:47] 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-07 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-07 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-07 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922429184001,"66":12461,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922429184001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:11:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922429184001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:11:47] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:11:47] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:11:50] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:50] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:11:50] local.INFO: IMEI packet received {"connection_id":173304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:11:51] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:51] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:11:51] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:51] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:11: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-07 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11: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-07 11:11: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-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:11:51] 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-07 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:11:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:11:51] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:11:51] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:12:18] local.INFO: TCP Data received {"connection_id":173552,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a605df8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a605df8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:12:18] local.INFO: Processing buffer {"connection_id":173552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a605df8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:12:18] local.INFO: Packet analysis {"connection_id":173552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:12:18] local.INFO: Extracted packet for processing {"connection_id":173552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922434560001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:18] local.INFO: IO Element Parsed {"io_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-07 11:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759531000,"timestamp_ms":1788759531000,"timestamp_seconds":1788759531,"priority":1,"record_length":96,"hex_timestamp":"000001a07a605df8"} 
[2026-09-07 11:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:12:18] 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-07 11:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 11:12:18] 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-07 11:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922434560001,"66":12374,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922434560001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:12:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922434560001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":173552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:12:18] local.INFO: GPS data processed {"connection_id":173552,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:12:18] local.INFO: Acknowledgment sent {"connection_id":173552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:12:22] local.INFO: TCP Data received {"connection_id":173303,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:22] local.INFO: Processing buffer {"connection_id":173303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:22] local.INFO: IMEI packet received {"connection_id":173303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":173303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:12:23] local.INFO: TCP Data received {"connection_id":173304,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:23] local.INFO: Processing buffer {"connection_id":173304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:23] local.INFO: Packet analysis {"connection_id":173304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:12:23] local.INFO: Extracted packet for processing {"connection_id":173304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:12:23] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 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-07 11:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:12: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-07 11:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:12:23] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:12:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":173304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:12:23] local.INFO: GPS data processed {"connection_id":173304,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:12:23] local.INFO: Acknowledgment sent {"connection_id":173304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:12:41] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:41] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:41] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:12:45] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:45] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:45] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:12:46] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:46] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:12:46] local.INFO: IMEI packet received {"connection_id":176037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":176037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:12:47] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a60b000012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a60b000012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:12:47] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a60b000012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:12:47] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:12:47] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a60"} 
[2026-09-07 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922439936001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759552000,"timestamp_ms":1788759552000,"timestamp_seconds":1788759552,"priority":1,"record_length":96,"hex_timestamp":"000001a07a60b000"} 
[2026-09-07 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-07 11:12:47] 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-07 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 11:12:47] 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-07 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-07 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-07 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922439936001,"66":12406,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922439936001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:12:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:12:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922439936001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:12:47] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:12:47] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:12:47] local.INFO: TCP Data received {"connection_id":174669,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:47] local.INFO: Processing buffer {"connection_id":174669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:12:47] local.INFO: IMEI packet received {"connection_id":174669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":174669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:12:50] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:50] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:12:50] local.INFO: IMEI packet received {"connection_id":174670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:12:50] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:50] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:12:50] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:12:50] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:12:50] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 11:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11: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-07 11:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:12:50] 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-07 11:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:12:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:12:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:12:50] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:12:50] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:13:18] local.INFO: TCP Data received {"connection_id":176037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a610208012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a610208012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:13:18] local.INFO: Processing buffer {"connection_id":176037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a610208012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:13:18] local.INFO: Packet analysis {"connection_id":176037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:13:18] local.INFO: Extracted packet for processing {"connection_id":176037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922445312001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:18] local.INFO: IO Element Parsed {"io_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-07 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759573000,"timestamp_ms":1788759573000,"timestamp_seconds":1788759573,"priority":1,"record_length":96,"hex_timestamp":"000001a07a610208"} 
[2026-09-07 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 11:13:18] 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-07 11:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922445312001,"66":12385,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922445312001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:13:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922445312001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":176037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:13:18] local.INFO: GPS data processed {"connection_id":176037,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:13:18] local.INFO: Acknowledgment sent {"connection_id":176037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:13:22] local.INFO: TCP Data received {"connection_id":174670,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:13:22] local.INFO: Processing buffer {"connection_id":174670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a5f7398012ceb79c00713c0e0001200b02f..."} 
[2026-09-07 11:13:22] local.INFO: Packet analysis {"connection_id":174670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:13:22] local.INFO: Extracted packet for processing {"connection_id":174670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a5f"} 
[2026-09-07 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":18,"angle":176,"satellites":47,"speed":5,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-09-07 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922423808001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985640448,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759471000,"timestamp_ms":1788759471000,"timestamp_seconds":1788759471,"priority":1,"record_length":96,"hex_timestamp":"000001a07a5f7398"} 
[2026-09-07 11:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:13: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-07 11:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922423808001,"66":27745,"190":206,"83":41472,"24":5,"16":401180804786421760,"44":-1478939865985640448},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922423808001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:13:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985640448,"description":"Unknown IO ID 44"} 
[2026-09-07 11:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922423808001,"power":27745,"unknown_190":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1478939865985640448}} 
[2026-09-07 11:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":174670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:13:22] local.INFO: GPS data processed {"connection_id":174670,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:13:22] local.INFO: Acknowledgment sent {"connection_id":174670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:13:41] local.INFO: TCP Data received {"connection_id":174671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:13:41] local.INFO: TCP Data received {"connection_id":174671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:41] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:13:46] local.INFO: TCP Data received {"connection_id":174671,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:46] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:13:46] local.INFO: IMEI packet received {"connection_id":174671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:13:47] local.INFO: TCP Data received {"connection_id":174671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a615410012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a615410012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:13:47] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a615410012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:13:47] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:13:47] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922450688001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759594000,"timestamp_ms":1788759594000,"timestamp_seconds":1788759594,"priority":1,"record_length":96,"hex_timestamp":"000001a07a615410"} 
[2026-09-07 11: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-07 11:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922450688001,"66":12298,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922450688001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:13:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:13:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922450688001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:13:47] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:13:47] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:13:50] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:50] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:50] local.INFO: IMEI packet received {"connection_id":174672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":174672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:13:55] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:55] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:13:55] local.INFO: IMEI packet received {"connection_id":174672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":174672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:13:56] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:13:56] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:13:56] local.INFO: Packet analysis {"connection_id":174672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:13:56] local.INFO: Extracted packet for processing {"connection_id":174672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:13:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:13:56] 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-07 11: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-07 11: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-07 11:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:13:56] 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-07 11:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:13:56] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:13:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:13:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":174672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:13:56] local.INFO: GPS data processed {"connection_id":174672,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:13:56] local.INFO: Acknowledgment sent {"connection_id":174672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:14:01] local.INFO: TCP Data received {"connection_id":174672,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:01] local.INFO: Processing buffer {"connection_id":174672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:01] local.INFO: Packet analysis {"connection_id":174672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:14:01] local.INFO: Extracted packet for processing {"connection_id":174672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:14:01] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:14:01] 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-07 11:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:14:01] 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-07 11:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":174672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:14:01] local.INFO: GPS data processed {"connection_id":174672,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:14:01] local.INFO: Acknowledgment sent {"connection_id":174672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:14:18] local.INFO: TCP Data received {"connection_id":174671,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a61a618012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a61a618012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:18] local.INFO: Processing buffer {"connection_id":174671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a61a618012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:18] local.INFO: Packet analysis {"connection_id":174671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:14:18] local.INFO: Extracted packet for processing {"connection_id":174671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922456064001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.INFO: IO Element Parsed {"io_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-07 11:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759615000,"timestamp_ms":1788759615000,"timestamp_seconds":1788759615,"priority":1,"record_length":96,"hex_timestamp":"000001a07a61a618"} 
[2026-09-07 11: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-07 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4323455642275676161,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8817790612891572582,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391116071075933,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563991278354638,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001366082,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3896246272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:18] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,232,160,2,45,192,238,66,46,10,176,93,1,240,86,227,122,31,4,113,205,185,102,128,239,48,64,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 11:14:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755903650063187968,"timestamp_seconds":4755903650063188.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11: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-07 11:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922456064001,"66":12287,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922456064001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:14:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922456064001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":174671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:14:18] local.INFO: GPS data processed {"connection_id":174671,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:14:18] local.INFO: Acknowledgment sent {"connection_id":174671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:14:40] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:40] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:40] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:14:44] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:44] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:44] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:14:45] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:45] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:45] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:14:46] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:46] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:14:46] local.INFO: IMEI packet received {"connection_id":176038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":176038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:14:47] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a61f820012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a61f820012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:47] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a61f820012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:14:47] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:14:47] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a61"} 
[2026-09-07 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922461440001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759636000,"timestamp_ms":1788759636000,"timestamp_seconds":1788759636,"priority":1,"record_length":96,"hex_timestamp":"000001a07a61f820"} 
[2026-09-07 11: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-07 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:14:47] 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-07 11: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-07 11: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-07 11:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922461440001,"66":12298,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922461440001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:14:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922461440001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:14:47] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:14:47] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:14:50] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:50] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:14:50] local.INFO: IMEI packet received {"connection_id":173306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:14:51] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:51] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:14:51] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:14:51] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:14:51] 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-07 11:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:14:51] 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-07 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:14:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:14:51] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:14:51] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:15:18] local.INFO: TCP Data received {"connection_id":176038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a624a28012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a624a28012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:15:18] local.INFO: Processing buffer {"connection_id":176038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a624a28012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:15:18] local.INFO: Packet analysis {"connection_id":176038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:18] local.INFO: Extracted packet for processing {"connection_id":176038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:15: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-07 11:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922466816001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.INFO: IO Element Parsed {"io_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-07 11:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759657000,"timestamp_ms":1788759657000,"timestamp_seconds":1788759657,"priority":1,"record_length":96,"hex_timestamp":"000001a07a624a28"} 
[2026-09-07 11:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4323455642275676161,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8817971001518004582,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391116071075933,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460567279796430,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001366082,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":93,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3896246272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,103,83,24,241,157,16,232,160,166,45,192,238,66,10,84,44,2,1,240,97,227,122,31,4,113,205,93,102,128,46,239,48,64,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 11:15:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755903654358155264,"timestamp_seconds":4755903654358155.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922466816001,"66":12319,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922466816001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:15:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922466816001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":176038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:15:18] local.INFO: GPS data processed {"connection_id":176038,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:15:18] local.INFO: Acknowledgment sent {"connection_id":176038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:15:23] local.INFO: TCP Data received {"connection_id":173306,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:23] local.INFO: Processing buffer {"connection_id":173306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:23] local.INFO: Packet analysis {"connection_id":173306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:15:23] local.INFO: Extracted packet for processing {"connection_id":173306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 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-07 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:15:23] 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-07 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-07 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-07 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:15: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-07 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:15:23] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:15:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":173306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:15:23] local.INFO: GPS data processed {"connection_id":173306,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:15:23] local.INFO: Acknowledgment sent {"connection_id":173306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:15:45] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:45] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:45] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:15:46] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:46] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:46] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:15:47] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:47] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:15:47] local.INFO: IMEI packet received {"connection_id":176039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":176039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:15:47] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a629c30012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a629c30012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:47] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a629c30012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:47] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:47] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922472192001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759678000,"timestamp_ms":1788759678000,"timestamp_seconds":1788759678,"priority":1,"record_length":96,"hex_timestamp":"000001a07a629c30"} 
[2026-09-07 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-07 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 11:15:47] 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-07 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-07 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-07 11:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922472192001,"66":12298,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922472192001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:15:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922472192001,"power":12298,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:15:47] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:15:47] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:15:50] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:50] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:15:50] local.INFO: IMEI packet received {"connection_id":176040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":176040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:15:51] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:51] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:15:51] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:15:51] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:15:51] 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-07 11: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-07 11: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-07 11:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:15:51] 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-07 11:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:15:51] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:15:51] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:15:51] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a62ee38012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a62ee38012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:51] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a62ee38012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:15:51] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:51] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a62"} 
[2026-09-07 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922477568001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759699000,"timestamp_ms":1788759699000,"timestamp_seconds":1788759699,"priority":1,"record_length":96,"hex_timestamp":"000001a07a62ee38"} 
[2026-09-07 11: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-07 11:15:51] 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-07 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4323455642275676161,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8818151390144436582,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513391116071075933,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443560710350,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4001366082,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221692398,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3896246272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:15:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,103,83,24,241,157,16,232,160,74,45,192,238,66,46,10,248,166,1,240,255,227,122,31,4,113,205,2,102,128,239,48,64,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-07 11:15:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755903654358155264,"timestamp_seconds":4755903654358155.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11: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-07 11:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922477568001,"66":12287,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922477568001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922477568001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:15:51] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:15:51] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:16:22] local.INFO: TCP Data received {"connection_id":176039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a634040012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a634040012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:22] local.INFO: Processing buffer {"connection_id":176039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a634040012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:22] local.INFO: Packet analysis {"connection_id":176039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:16:22] local.INFO: Extracted packet for processing {"connection_id":176039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922482944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16: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-07 11:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759720000,"timestamp_ms":1788759720000,"timestamp_seconds":1788759720,"priority":1,"record_length":96,"hex_timestamp":"000001a07a634040"} 
[2026-09-07 11: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-07 11:16:22] 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-07 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:16:22] 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-07 11: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-07 11: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-07 11:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922482944001,"66":12287,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922482944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922482944001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":176039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:16:22] local.INFO: GPS data processed {"connection_id":176039,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:16:22] local.INFO: Acknowledgment sent {"connection_id":176039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:16:22] local.INFO: TCP Data received {"connection_id":176040,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:22] local.INFO: Processing buffer {"connection_id":176040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:22] local.INFO: Packet analysis {"connection_id":176040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:16:22] local.INFO: Extracted packet for processing {"connection_id":176040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:16:22] 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-07 11: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-07 11: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-07 11:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:16: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-07 11:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":176040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:16:22] local.INFO: GPS data processed {"connection_id":176040,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:16:22] local.INFO: Acknowledgment sent {"connection_id":176040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:16:41] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:41] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:41] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:16:45] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:45] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:45] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:16:46] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:46] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:16:46] local.INFO: IMEI packet received {"connection_id":173308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:16:46] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a639248012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a639248012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:46] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a639248012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:16:46] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:16:46] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922488320001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:46] local.INFO: IO Element Parsed {"io_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-07 11:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788759741000,"timestamp_ms":1788759741000,"timestamp_seconds":1788759741,"priority":1,"record_length":96,"hex_timestamp":"000001a07a639248"} 
[2026-09-07 11:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:16:46] 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-07 11:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:16:46] 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-07 11:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922488320001,"66":12287,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922488320001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:16:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922488320001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:16:47] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:16:47] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:16:50] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:50] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:16:50] local.INFO: IMEI packet received {"connection_id":174673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":174673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:16:51] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:51] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:16:51] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:16:51] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:16:51] 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-07 11: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-07 11: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-07 11:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:16:51] 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-07 11:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:16:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:16:51] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:16:51] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:17:18] local.INFO: TCP Data received {"connection_id":173308,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a63e450012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a63e450012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:17:18] local.INFO: Processing buffer {"connection_id":173308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a63e450012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:17:18] local.INFO: Packet analysis {"connection_id":173308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:17:18] local.INFO: Extracted packet for processing {"connection_id":173308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a63"} 
[2026-09-07 11:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922493696001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:18] local.INFO: IO Element Parsed {"io_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-07 11:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788759762000,"timestamp_ms":1788759762000,"timestamp_seconds":1788759762,"priority":1,"record_length":96,"hex_timestamp":"000001a07a63e450"} 
[2026-09-07 11: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-07 11:17:18] 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-07 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:17:18] 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-07 11: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-07 11: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-07 11:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922493696001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922493696001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:17:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922493696001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":173308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:17:18] local.INFO: GPS data processed {"connection_id":173308,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:17:18] local.INFO: Acknowledgment sent {"connection_id":173308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:17:22] local.INFO: TCP Data received {"connection_id":174673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:22] local.INFO: Processing buffer {"connection_id":174673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:22] local.INFO: Packet analysis {"connection_id":174673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:22] local.INFO: Extracted packet for processing {"connection_id":174673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:17:22] 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-07 11: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-07 11: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-07 11:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:17: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-07 11:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:17:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":174673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:17:22] local.INFO: GPS data processed {"connection_id":174673,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:17:22] local.INFO: Acknowledgment sent {"connection_id":174673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:17:41] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:41] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:41] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:17:45] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:45] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:45] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:17:46] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:46] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:17:46] local.INFO: IMEI packet received {"connection_id":173310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":173310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:17:47] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a643658012d1966c0071fee800042005d2b..."} 
[2026-09-07 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a643658012d1966c0071fee800042005d2b..."} 
[2026-09-07 11:17:47] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a643658012d1966c0071fee800042005d2b..."} 
[2026-09-07 11:17:47] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:47] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":43,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922499072001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788759783000,"timestamp_ms":1788759783000,"timestamp_seconds":1788759783,"priority":1,"record_length":96,"hex_timestamp":"000001a07a643658"} 
[2026-09-07 11: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-07 11:17:47] 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-07 11:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922499072001,"66":11602,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922499072001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:17:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922499072001,"power":11602,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:17:47] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:17:47] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:17:50] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:50] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:17:50] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:17:51] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:51] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:17:51] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:51] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 11: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-07 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:17:51] 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-07 11: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-07 11: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-07 11:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:17:51] 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-07 11:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:17:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:17:51] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:17:51] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:18:18] local.INFO: TCP Data received {"connection_id":173310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a67bcb0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a67bcb0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:18] local.INFO: Processing buffer {"connection_id":173310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a67bcb0012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:18] local.INFO: Packet analysis {"connection_id":173310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a67"} 
[2026-09-07 11:18:18] local.INFO: Extracted packet for processing {"connection_id":173310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a67"} 
[2026-09-07 11:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922558208001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:18] local.INFO: IO Element Parsed {"io_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-07 11:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760014000,"timestamp_ms":1788760014000,"timestamp_seconds":1788760014,"priority":1,"record_length":96,"hex_timestamp":"000001a07a67bcb0"} 
[2026-09-07 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-07 11:18:18] 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-07 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922558208001,"66":12178,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922558208001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:18:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922558208001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":173310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:18:18] local.INFO: GPS data processed {"connection_id":173310,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:18:18] local.INFO: Acknowledgment sent {"connection_id":173310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:18:23] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:18:23] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a640f48012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:18:23] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:18:23] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a64"} 
[2026-09-07 11:18:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922424576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788759773000,"timestamp_ms":1788759773000,"timestamp_seconds":1788759773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a640f48"} 
[2026-09-07 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-07 11:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:18:23] 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-07 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-07 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-07 11:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:18:23] 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-07 11:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922424576001,"66":26539,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478939865985785856},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922424576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:18:23] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:18:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-09-07 11:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922424576001,"power":26539,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-09-07 11:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:18:23] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:18:23] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:18:27] local.INFO: TCP Data received {"connection_id":174674,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:27] local.INFO: Processing buffer {"connection_id":174674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:27] local.INFO: IMEI packet received {"connection_id":174674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":174674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:18:41] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:41] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:41] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:18:45] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:45] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:18:45] local.INFO: IMEI packet received {"connection_id":173311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":173311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:18:46] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a680eb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a680eb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:46] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a680eb8012d1966c0071fee800042005d2c..."} 
[2026-09-07 11:18:46] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:18:46] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":44,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922563584001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:46] local.INFO: IO Element Parsed {"io_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-07 11:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788760035000,"timestamp_ms":1788760035000,"timestamp_seconds":1788760035,"priority":1,"record_length":96,"hex_timestamp":"000001a07a680eb8"} 
[2026-09-07 11: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-07 11:18:46] 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-07 11: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 11:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922563584001,"66":12211,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922563584001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:18:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922563584001,"power":12211,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:18:46] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:18:46] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:18:47] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:47] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:18:47] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:18:50] local.INFO: TCP Data received {"connection_id":173312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:50] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:50] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:18:55] local.INFO: TCP Data received {"connection_id":173312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:55] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:18:55] local.INFO: IMEI packet received {"connection_id":173312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":173312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:18:56] local.INFO: TCP Data received {"connection_id":173312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:18:56] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:18:56] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:18:56] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:18:56] 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-07 11:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:18:56] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:18:56] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:18:56] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:19:17] local.INFO: TCP Data received {"connection_id":173311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6860c0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6860c0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:17] local.INFO: Processing buffer {"connection_id":173311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6860c0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:17] local.INFO: Packet analysis {"connection_id":173311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:17] local.INFO: Extracted packet for processing {"connection_id":173311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922568960001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788760056000,"timestamp_ms":1788760056000,"timestamp_seconds":1788760056,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6860c0"} 
[2026-09-07 11: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-07 11:19:17] 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-07 11: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 11:19:17] 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-07 11: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-07 11: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-07 11:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922568960001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922568960001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:19:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922568960001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":173311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:19:17] local.INFO: GPS data processed {"connection_id":173311,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:19:17] local.INFO: Acknowledgment sent {"connection_id":173311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:19:28] local.INFO: TCP Data received {"connection_id":173312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:28] local.INFO: Processing buffer {"connection_id":173312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:28] local.INFO: Packet analysis {"connection_id":173312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:28] local.INFO: Extracted packet for processing {"connection_id":173312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 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-07 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:19:28] 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-07 11:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:19:28] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":173312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:19:28] local.INFO: GPS data processed {"connection_id":173312,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:19:28] local.INFO: Acknowledgment sent {"connection_id":173312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:19:41] local.INFO: TCP Data received {"connection_id":173555,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:41] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:41] local.INFO: IMEI packet received {"connection_id":173555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":173555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:19:45] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:45] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:45] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:19:46] local.INFO: TCP Data received {"connection_id":173555,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:46] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:19:46] local.INFO: IMEI packet received {"connection_id":173555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:19:47] local.INFO: TCP Data received {"connection_id":173555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68b2c8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68b2c8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:47] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68b2c8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:19:47] local.INFO: Packet analysis {"connection_id":173555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:47] local.INFO: Extracted packet for processing {"connection_id":173555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922574336001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760077000,"timestamp_ms":1788760077000,"timestamp_seconds":1788760077,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68b2c8"} 
[2026-09-07 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-07 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922574336001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922574336001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:19:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:19:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922574336001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":173555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:19:47] local.INFO: GPS data processed {"connection_id":173555,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:19:47] local.INFO: Acknowledgment sent {"connection_id":173555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:19:50] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:50] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:19:50] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:19:52] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:52] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:19:52] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:52] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:19:52] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:19:52] 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-07 11:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:19:52] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:19:52] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:19:52] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:20:17] local.INFO: TCP Data received {"connection_id":173555,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6904d0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6904d0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:17] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6904d0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:17] local.INFO: Packet analysis {"connection_id":173555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:20:17] local.INFO: Extracted packet for processing {"connection_id":173555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922579712001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788760098000,"timestamp_ms":1788760098000,"timestamp_seconds":1788760098,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6904d0"} 
[2026-09-07 11:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:20:17] 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-07 11:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:20:17] 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-07 11:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922579712001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922579712001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:20:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922579712001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":173555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:20:18] local.INFO: GPS data processed {"connection_id":173555,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:20:18] local.INFO: Acknowledgment sent {"connection_id":173555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:20:23] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:23] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:23] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:20:23] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:20:23] 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-07 11:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:20:23] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:20:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:20:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:20:23] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:20:23] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:20:41] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:20:41] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:41] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:20:45] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:45] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:45] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:20:46] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:46] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:20:46] local.INFO: IMEI packet received {"connection_id":174675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":174675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:20:47] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6956d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6956d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:47] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6956d8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:20:47] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:20:47] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922585088001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760119000,"timestamp_ms":1788760119000,"timestamp_seconds":1788760119,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6956d8"} 
[2026-09-07 11: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-07 11:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922585088001,"66":12200,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922585088001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:20:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922585088001,"power":12200,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:20:47] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:20:47] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:20:50] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:50] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:20:50] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:20:50] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:50] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:20:50] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:20:50] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:20:50] 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-07 11:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:20:50] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:20:50] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:20:50] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:21:18] local.INFO: TCP Data received {"connection_id":174675,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a69a8e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a69a8e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:18] local.INFO: Processing buffer {"connection_id":174675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a69a8e0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:18] local.INFO: Packet analysis {"connection_id":174675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:21:18] local.INFO: Extracted packet for processing {"connection_id":174675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922590464001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:18] local.INFO: IO Element Parsed {"io_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-07 11:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760140000,"timestamp_ms":1788760140000,"timestamp_seconds":1788760140,"priority":1,"record_length":96,"hex_timestamp":"000001a07a69a8e0"} 
[2026-09-07 11: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-07 11:21:18] 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-07 11: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-07 11:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922590464001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922590464001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:21:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922590464001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":174675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:21:18] local.INFO: GPS data processed {"connection_id":174675,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:21:18] local.INFO: Acknowledgment sent {"connection_id":174675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:21:22] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:22] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:22] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:21:22] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:21:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:21: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-07 11:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:21:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:21:22] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:21:22] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:21:44] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:44] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:44] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:21:45] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:45] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:45] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:21:45] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:45] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:45] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:21:50] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:50] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:21:50] local.INFO: IMEI packet received {"connection_id":173314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":173314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:21:50] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:50] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:21:50] local.INFO: IMEI packet received {"connection_id":173313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":173313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:21:51] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:51] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:21:51] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:21:51] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:21:51] 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-07 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:21:51] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:21:51] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:21:51] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a69fae8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a69fae8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:51] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a69fae8012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:51] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:21:51] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a69"} 
[2026-09-07 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922595840001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21: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-07 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760161000,"timestamp_ms":1788760161000,"timestamp_seconds":1788760161,"priority":1,"record_length":96,"hex_timestamp":"000001a07a69fae8"} 
[2026-09-07 11: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-07 11:21:51] 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-07 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:21:51] 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-07 11: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-07 11: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-07 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922595840001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922595840001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922595840001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:21:51] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:21:51] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:21:56] local.INFO: TCP Data received {"connection_id":173313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6a4cf0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6a4cf0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:56] local.INFO: Processing buffer {"connection_id":173313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6a4cf0012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:21:56] local.INFO: Packet analysis {"connection_id":173313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:21:56] local.INFO: Extracted packet for processing {"connection_id":173313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:21: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-07 11:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922601216001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:21: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-07 11:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760182000,"timestamp_ms":1788760182000,"timestamp_seconds":1788760182,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6a4cf0"} 
[2026-09-07 11:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:21:56] 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-07 11:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:21:56] 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-07 11:21: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-07 11:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922601216001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922601216001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:21:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:21:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922601216001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":173313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:21:56] local.INFO: GPS data processed {"connection_id":173313,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:21:56] local.INFO: Acknowledgment sent {"connection_id":173313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:22:22] local.INFO: TCP Data received {"connection_id":173314,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:22] local.INFO: Processing buffer {"connection_id":173314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:22] local.INFO: Packet analysis {"connection_id":173314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:22:22] local.INFO: Extracted packet for processing {"connection_id":173314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:22: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-07 11:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:22:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":173314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:22:22] local.INFO: GPS data processed {"connection_id":173314,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:22:22] local.INFO: Acknowledgment sent {"connection_id":173314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:22:41] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:41] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:41] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:22:45] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:45] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:45] local.INFO: IMEI packet received {"connection_id":173560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:22:46] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:46] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:22:46] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:22:47] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6a9ef8012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6a9ef8012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:22:47] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6a9ef8012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:22:47] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:22:47] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922606592001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760203000,"timestamp_ms":1788760203000,"timestamp_seconds":1788760203,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6a9ef8"} 
[2026-09-07 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-07 11:22:47] 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-07 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922606592001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922606592001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:22:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922606592001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:22:47] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:22:47] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:22:50] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:50] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:22:50] local.INFO: IMEI packet received {"connection_id":173560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:22:51] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:51] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:22:51] local.INFO: Packet analysis {"connection_id":173560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:22:51] local.INFO: Extracted packet for processing {"connection_id":173560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:22:51] 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-07 11:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:22:51] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:22:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":173560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:22:51] local.INFO: GPS data processed {"connection_id":173560,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:22:51] local.INFO: Acknowledgment sent {"connection_id":173560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:23:18] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6af100012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6af100012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:18] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6af100012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:18] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:23:18] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6a"} 
[2026-09-07 11:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922611968001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:18] local.INFO: IO Element Parsed {"io_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-07 11:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760224000,"timestamp_ms":1788760224000,"timestamp_seconds":1788760224,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6af100"} 
[2026-09-07 11: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-07 11:23:18] 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-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922611968001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922611968001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:23:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922611968001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:23:18] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:23:18] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:23:22] local.INFO: TCP Data received {"connection_id":173560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:23:22] local.INFO: Processing buffer {"connection_id":173560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a68a710012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:23:22] local.INFO: Packet analysis {"connection_id":173560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:23:22] local.INFO: Extracted packet for processing {"connection_id":173560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a68"} 
[2026-09-07 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922501888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760074000,"timestamp_ms":1788760074000,"timestamp_seconds":1788760074,"priority":1,"record_length":96,"hex_timestamp":"000001a07a68a710"} 
[2026-09-07 11: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-07 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 11:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:23: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-07 11:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922501888001,"66":26267,"190":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-09-07 11:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922501888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:23:22] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-09-07 11:23:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922501888001,"power":26267,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":173560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:23:22] local.INFO: GPS data processed {"connection_id":173560,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:23:22] local.INFO: Acknowledgment sent {"connection_id":173560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:23:41] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:41] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:41] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:23:46] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:46] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:23:46] local.INFO: IMEI packet received {"connection_id":176043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:23:47] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6b4308012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6b4308012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:47] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6b4308012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:23:47] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:23:47] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922617344001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760245000,"timestamp_ms":1788760245000,"timestamp_seconds":1788760245,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6b4308"} 
[2026-09-07 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-07 11:23:47] 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-07 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922617344001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922617344001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:23:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922617344001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:23:47] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:23:47] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:23:50] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:50] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:50] local.INFO: IMEI packet received {"connection_id":174677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":174677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:23:55] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:55] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:23:55] local.INFO: IMEI packet received {"connection_id":174677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":174677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:23:56] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:23:56] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:23:56] local.INFO: Packet analysis {"connection_id":174677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:23:56] local.INFO: Extracted packet for processing {"connection_id":174677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:23: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-07 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:23: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:23: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-07 11:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:23:56] 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-07 11:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:23:56] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":174677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:23:56] local.INFO: GPS data processed {"connection_id":174677,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:23:56] local.INFO: Acknowledgment sent {"connection_id":174677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:24:00] local.INFO: TCP Data received {"connection_id":174677,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:00] local.INFO: Processing buffer {"connection_id":174677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:00] local.INFO: Packet analysis {"connection_id":174677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:24:00] local.INFO: Extracted packet for processing {"connection_id":174677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:24: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-07 11:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:24:00] 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-07 11:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:24:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":174677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:24:00] local.INFO: GPS data processed {"connection_id":174677,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:24:00] local.INFO: Acknowledgment sent {"connection_id":174677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:24:18] local.INFO: TCP Data received {"connection_id":176043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6b9510012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6b9510012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:24:18] local.INFO: Processing buffer {"connection_id":176043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6b9510012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:24:18] local.INFO: Packet analysis {"connection_id":176043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:24:18] local.INFO: Extracted packet for processing {"connection_id":176043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922622720001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:18] local.INFO: IO Element Parsed {"io_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-07 11:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760266000,"timestamp_ms":1788760266000,"timestamp_seconds":1788760266,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6b9510"} 
[2026-09-07 11:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:24:18] 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-07 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:24:18] 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-07 11:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922622720001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922622720001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:24:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922622720001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:24:18] local.INFO: GPS data processed {"connection_id":176043,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:24:18] local.INFO: Acknowledgment sent {"connection_id":176043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:24:41] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:41] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:41] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:24:45] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:45] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:45] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:24:46] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:46] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:24:46] local.INFO: IMEI packet received {"connection_id":176044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":176044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:24:47] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6be718012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6be718012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:24:47] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6be718012d1966c0071fee800042005d2e..."} 
[2026-09-07 11:24:47] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:24:47] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6b"} 
[2026-09-07 11:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":46,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922628096001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760287000,"timestamp_ms":1788760287000,"timestamp_seconds":1788760287,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6be718"} 
[2026-09-07 11: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-07 11:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922628096001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922628096001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:24:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922628096001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:24:47] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:24:47] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:24:47] local.INFO: TCP Data received {"connection_id":173561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:24:47] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:24:47] local.INFO: IMEI packet received {"connection_id":173561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":173561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:24:50] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:50] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:24:50] local.INFO: IMEI packet received {"connection_id":173316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:24:50] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:50] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:24:50] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:24:50] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11: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-07 11:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:24:50] 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-07 11:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:24:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:24:50] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:24:50] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:25:18] local.INFO: TCP Data received {"connection_id":176044,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6c3920012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6c3920012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:25:18] local.INFO: Processing buffer {"connection_id":176044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6c3920012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:25:18] local.INFO: Packet analysis {"connection_id":176044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:25:18] local.INFO: Extracted packet for processing {"connection_id":176044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922633472001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:18] local.INFO: IO Element Parsed {"io_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-07 11:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760308000,"timestamp_ms":1788760308000,"timestamp_seconds":1788760308,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6c3920"} 
[2026-09-07 11:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:25:18] 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-07 11:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922633472001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922633472001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:25:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922633472001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":176044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:25:18] local.INFO: GPS data processed {"connection_id":176044,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:25:18] local.INFO: Acknowledgment sent {"connection_id":176044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:25:22] local.INFO: TCP Data received {"connection_id":173316,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:22] local.INFO: Processing buffer {"connection_id":173316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:22] local.INFO: Packet analysis {"connection_id":173316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:25:22] local.INFO: Extracted packet for processing {"connection_id":173316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:25:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11: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-07 11:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:25: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-07 11:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:25:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":173316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:25:22] local.INFO: GPS data processed {"connection_id":173316,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:25:22] local.INFO: Acknowledgment sent {"connection_id":173316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:25:40] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:40] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:40] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:25:45] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:45] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:45] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:25:46] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:46] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:25:46] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:25:47] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6c8b28012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6c8b28012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:25:47] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6c8b28012d1966c0071fee800042005d2d..."} 
[2026-09-07 11:25:47] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:25:47] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922638848001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760329000,"timestamp_ms":1788760329000,"timestamp_seconds":1788760329,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6c8b28"} 
[2026-09-07 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:25:47] 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-07 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922638848001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922638848001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:25:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922638848001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:25:47] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:25:47] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:25:50] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:50] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:25:50] local.INFO: IMEI packet received {"connection_id":173317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:25:51] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:51] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:25:51] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:25:51] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11: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-07 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:25:51] 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-07 11:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:25:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:25:51] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:25:51] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:25:52] local.INFO: TCP Data received {"connection_id":174679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:25:52] local.INFO: Processing buffer {"connection_id":174679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:25:52] local.INFO: IMEI packet received {"connection_id":174679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:26:17] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6cdd30012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6cdd30012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:17] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6cdd30012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:17] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:26:17] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6c"} 
[2026-09-07 11:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922644224001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788760350000,"timestamp_ms":1788760350000,"timestamp_seconds":1788760350,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6cdd30"} 
[2026-09-07 11:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:26:17] 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-07 11:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922644224001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922644224001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:26:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922644224001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:26:18] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:26:18] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:26:23] local.INFO: TCP Data received {"connection_id":173317,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:23] local.INFO: Processing buffer {"connection_id":173317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:23] local.INFO: Packet analysis {"connection_id":173317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:23] local.INFO: Extracted packet for processing {"connection_id":173317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 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-07 11:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 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-07 11:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:26:23] 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-07 11:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:26:23] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:26:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":173317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:26:23] local.INFO: GPS data processed {"connection_id":173317,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:26:23] local.INFO: Acknowledgment sent {"connection_id":173317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:26:40] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:40] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:40] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:26:45] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:45] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:45] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:26:46] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:46] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:26:46] local.INFO: IMEI packet received {"connection_id":176045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":176045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:26:46] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d2f38012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d2f38012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:46] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d2f38012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:26:46] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:46] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922649600001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:46] local.INFO: IO Element Parsed {"io_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-07 11:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788760371000,"timestamp_ms":1788760371000,"timestamp_seconds":1788760371,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d2f38"} 
[2026-09-07 11: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-07 11:26:46] 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-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922649600001,"66":12178,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922649600001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:26:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922649600001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:26:47] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:26:47] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:26:50] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:50] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:26:50] local.INFO: IMEI packet received {"connection_id":176046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":176046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:26:51] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:51] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:26:51] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:51] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:26:51] 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-07 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:26:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:26:51] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:26:51] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:27:18] local.INFO: TCP Data received {"connection_id":176045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d8140012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d8140012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:18] local.INFO: Processing buffer {"connection_id":176045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d8140012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:18] local.INFO: Packet analysis {"connection_id":176045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:18] local.INFO: Extracted packet for processing {"connection_id":176045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922654976001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:18] local.INFO: IO Element Parsed {"io_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-07 11:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760392000,"timestamp_ms":1788760392000,"timestamp_seconds":1788760392,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d8140"} 
[2026-09-07 11:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:27:18] 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-07 11:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 11:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922654976001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922654976001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:27:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922654976001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":176045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:27:18] local.INFO: GPS data processed {"connection_id":176045,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:27:18] local.INFO: Acknowledgment sent {"connection_id":176045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:27:22] local.INFO: TCP Data received {"connection_id":176046,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:22] local.INFO: Processing buffer {"connection_id":176046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:22] local.INFO: Packet analysis {"connection_id":176046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:22] local.INFO: Extracted packet for processing {"connection_id":176046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11: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-07 11:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:27: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-07 11:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:27:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":176046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:27:22] local.INFO: GPS data processed {"connection_id":176046,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:27:22] local.INFO: Acknowledgment sent {"connection_id":176046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:27:41] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:27:41] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:41] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:27:45] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:45] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:45] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:27:46] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:46] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:27:46] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:27:46] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6dd348012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6dd348012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:46] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6dd348012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:27:46] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:46] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922660352001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:46] local.INFO: IO Element Parsed {"io_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-07 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788760413000,"timestamp_ms":1788760413000,"timestamp_seconds":1788760413,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6dd348"} 
[2026-09-07 11: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-07 11:27:46] 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-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922660352001,"66":12254,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922660352001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:27:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922660352001,"power":12254,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:27:47] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:27:47] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:27:50] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:50] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:27:50] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:27:51] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:51] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:27:51] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:51] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:27:51] 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-07 11:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:27:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:27:51] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:27:51] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:28:18] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6e2550012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6e2550012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:18] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6e2550012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:18] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:18] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922665728001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:18] local.INFO: IO Element Parsed {"io_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-07 11:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760434000,"timestamp_ms":1788760434000,"timestamp_seconds":1788760434,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6e2550"} 
[2026-09-07 11:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:28:18] 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-07 11:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:28:18] 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-07 11:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922665728001,"66":11580,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922665728001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:28:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922665728001,"power":11580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:28:18] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:28:18] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:28:22] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:22] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6d3ed8012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:22] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:28:22] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6d"} 
[2026-09-07 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922578944001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760375000,"timestamp_ms":1788760375000,"timestamp_seconds":1788760375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6d3ed8"} 
[2026-09-07 11: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-07 11:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 11:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:28: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-07 11:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922578944001,"66":26169,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922578944001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:28:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922578944001,"power":26169,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:28:22] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:28:22] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:28:44] local.INFO: TCP Data received {"connection_id":173318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:44] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:44] local.INFO: IMEI packet received {"connection_id":173318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:28:45] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:45] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:45] local.INFO: IMEI packet received {"connection_id":173319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":173319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:28:46] local.INFO: TCP Data received {"connection_id":173318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:46] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:46] local.INFO: IMEI packet received {"connection_id":173318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":173318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:28:50] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:50] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:28:50] local.INFO: IMEI packet received {"connection_id":173319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":173319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:28:50] local.INFO: TCP Data received {"connection_id":173318,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:50] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:28:50] local.INFO: IMEI packet received {"connection_id":173318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":173318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:28:50] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:50] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:28:50] local.INFO: Packet analysis {"connection_id":173319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:28:50] local.INFO: Extracted packet for processing {"connection_id":173319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:28:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:28:50] 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-07 11:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:28:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:28:50] local.INFO: GPS data processed {"connection_id":173319,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:28:50] local.INFO: Acknowledgment sent {"connection_id":173319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:28:51] local.INFO: TCP Data received {"connection_id":173318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6e7758012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6e7758012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:51] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6e7758012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:51] local.INFO: Packet analysis {"connection_id":173318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:51] local.INFO: Extracted packet for processing {"connection_id":173318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922671104001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760455000,"timestamp_ms":1788760455000,"timestamp_seconds":1788760455,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6e7758"} 
[2026-09-07 11: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-07 11:28:51] 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-07 11: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 11:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922671104001,"66":12113,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922671104001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:28:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922671104001,"power":12113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":173318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:28:51] local.INFO: GPS data processed {"connection_id":173318,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:28:51] local.INFO: Acknowledgment sent {"connection_id":173318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:28:56] local.INFO: TCP Data received {"connection_id":173318,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a6ec960012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a6ec960012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:56] local.INFO: Processing buffer {"connection_id":173318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a6ec960012d1966c0071fee800042005d2f..."} 
[2026-09-07 11:28:56] local.INFO: Packet analysis {"connection_id":173318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:56] local.INFO: Extracted packet for processing {"connection_id":173318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a6e"} 
[2026-09-07 11:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":47,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922676480001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:28: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-07 11:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760476000,"timestamp_ms":1788760476000,"timestamp_seconds":1788760476,"priority":1,"record_length":96,"hex_timestamp":"000001a07a6ec960"} 
[2026-09-07 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-07 11:28: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-07 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-07 11:28:56] 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-07 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-07 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-07 11:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922676480001,"66":12232,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922676480001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:28:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922676480001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":173318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:28:56] local.INFO: GPS data processed {"connection_id":173318,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:28:56] local.INFO: Acknowledgment sent {"connection_id":173318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:29:22] local.INFO: TCP Data received {"connection_id":173319,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:22] local.INFO: Processing buffer {"connection_id":173319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:22] local.INFO: Packet analysis {"connection_id":173319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:29:22] local.INFO: Extracted packet for processing {"connection_id":173319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:29: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-07 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:29:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":173319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:29:22] local.INFO: GPS data processed {"connection_id":173319,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:29:22] local.INFO: Acknowledgment sent {"connection_id":173319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:29:41] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:41] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:41] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:29:42] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:42] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:42] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:29:46] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:46] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:29:46] local.INFO: IMEI packet received {"connection_id":176048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":176048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:29:47] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a724fb8012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a724fb8012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:47] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a724fb8012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:47] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:29:47] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 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-07 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922735616001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760707000,"timestamp_ms":1788760707000,"timestamp_seconds":1788760707,"priority":1,"record_length":96,"hex_timestamp":"000001a07a724fb8"} 
[2026-09-07 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-07 11:29:47] 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-07 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 11:29:47] 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-07 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-07 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-07 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922735616001,"66":13972,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922735616001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:29:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922735616001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:29:47] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:29:47] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:29:49] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a72a1c0012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a72a1c0012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:49] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a72a1c0012d1966c0071fee800042005d30..."} 
[2026-09-07 11:29:49] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:29:49] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533184,"longitude_deg":75.6639424,"latitude_deg":11.9533184,"altitude":66,"angle":93,"satellites":48,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071fee80","is_valid_coordinates":true} 
[2026-09-07 11:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922740992001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269742905163776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29: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-07 11:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788760728000,"timestamp_ms":1788760728000,"timestamp_seconds":1788760728,"priority":1,"record_length":96,"hex_timestamp":"000001a07a72a1c0"} 
[2026-09-07 11:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:29:49] 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-07 11:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 11:29: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-07 11:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922740992001,"66":14113,"103":206,"83":41984,"24":0,"16":18269742905163776,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922740992001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:29:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269742905163776,"km_value":18269742905163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922740992001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:29:49] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:29:49] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:29:50] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:50] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:50] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:29:55] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:55] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:29:55] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:29:56] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:56] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:29:56] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:29:56] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:29:56] 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-07 11:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:29:56] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:29:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:29:56] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:29:56] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:01] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:01] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:01] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:30:01] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:30:01] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:30:01] 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-07 11:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:30:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:30:01] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:30:01] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:20] local.INFO: TCP Data received {"connection_id":176048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a72e040012d196a80071fed20003a006930..."} 
[2026-09-07 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a72e040012d196a80071fed20003a006930..."} 
[2026-09-07 11:30:20] local.INFO: Processing buffer {"connection_id":176048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a72e040012d196a80071fed20003a006930..."} 
[2026-09-07 11:30:20] local.INFO: Packet analysis {"connection_id":176048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:30:20] local.INFO: Extracted packet for processing {"connection_id":176048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532832,"longitude_deg":75.6640384,"latitude_deg":11.9532832,"altitude":58,"angle":105,"satellites":48,"speed":9,"hex_longitude":"2d196a80","hex_latitude":"071fed20","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922746368001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269794444771328,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405713408,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30: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-07 11:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788760744000,"timestamp_ms":1788760744000,"timestamp_seconds":1788760744,"priority":1,"record_length":96,"hex_timestamp":"000001a07a72e040"} 
[2026-09-07 11: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-07 11:30:20] 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-07 11: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 11:30:20] 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-07 11: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-07 11: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-07 11:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922746368001,"66":12798,"101":206,"83":41984,"24":9,"16":18269794444771328,"45":1830361435405713408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922746368001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:30:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:30:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269794444771328,"km_value":18269794444771.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405713408,"description":"Unknown IO ID 45"} 
[2026-09-07 11:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922746368001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1830361435405713408}} 
[2026-09-07 11:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":176048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:30:20] local.INFO: GPS data processed {"connection_id":176048,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:30:20] local.INFO: Acknowledgment sent {"connection_id":176048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:41] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:41] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:41] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:30:43] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:43] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:43] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:30:45] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:45] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:45] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:30:46] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:46] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:30:46] local.INFO: IMEI packet received {"connection_id":173321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":173321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:30:47] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a72fb98012d197200071fec30003a005c30..."} 
[2026-09-07 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a72fb98012d197200071fec30003a005c30..."} 
[2026-09-07 11:30:47] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a72fb98012d197200071fec30003a005c30..."} 
[2026-09-07 11:30:47] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:30:47] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a72"} 
[2026-09-07 11:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756642304,"raw_latitude":119532592,"longitude_deg":75.6642304,"latitude_deg":11.9532592,"altitude":58,"angle":92,"satellites":48,"speed":12,"hex_longitude":"2d197200","hex_latitude":"071fec30","is_valid_coordinates":true} 
[2026-09-07 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-07 11:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922750464001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269884639084544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568288256,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760751000,"timestamp_ms":1788760751000,"timestamp_seconds":1788760751,"priority":1,"record_length":96,"hex_timestamp":"000001a07a72fb98"} 
[2026-09-07 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-07 11:30:47] 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-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 11:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922750464001,"66":12428,"101":206,"83":41984,"24":12,"16":18269884639084544,"45":1831416966568288256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922750464001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269884639084544,"km_value":18269884639084.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568288256,"description":"Unknown IO ID 45"} 
[2026-09-07 11:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922750464001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1831416966568288256}} 
[2026-09-07 11:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:30:47] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:30:47] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:47] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7316f0012d197a00071fec48003b004f30..."} 
[2026-09-07 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7316f0012d197a00071fec48003b004f30..."} 
[2026-09-07 11:30:47] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7316f0012d197a00071fec48003b004f30..."} 
[2026-09-07 11:30:47] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a73"} 
[2026-09-07 11:30:47] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a73"} 
[2026-09-07 11:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756644352,"raw_latitude":119532616,"longitude_deg":75.6644352,"latitude_deg":11.9532616,"altitude":59,"angle":79,"satellites":48,"speed":12,"hex_longitude":"2d197a00","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-09-07 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-07 11:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922752256001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18269983423332352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833528028893556736,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760758000,"timestamp_ms":1788760758000,"timestamp_seconds":1788760758,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7316f0"} 
[2026-09-07 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-07 11:30:47] 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-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 11:30:47] 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-07 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-07 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-07 11:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922752256001,"66":12798,"101":206,"83":41984,"24":12,"16":18269983423332352,"45":1833528028893556736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922752256001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18269983423332352,"km_value":18269983423332.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833528028893556736,"description":"Unknown IO ID 45"} 
[2026-09-07 11:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922752256001,"power":12798,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1833528028893556736}} 
[2026-09-07 11:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:30:47] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:30:47] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:50] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:50] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:30:50] local.INFO: IMEI packet received {"connection_id":176049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":176049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:30:50] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:50] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:30:50] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:30:50] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:30:50] 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-07 11:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:30:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:30:50] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:30:50] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:30:57] local.INFO: TCP Data received {"connection_id":176050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:30:57] local.INFO: Processing buffer {"connection_id":176050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:30:57] local.INFO: IMEI packet received {"connection_id":176050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":176050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:31:19] local.INFO: TCP Data received {"connection_id":173321,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7322a8012d197d00071fed18003b004030..."} 
[2026-09-07 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7322a8012d197d00071fed18003b004030..."} 
[2026-09-07 11:31:19] local.INFO: Processing buffer {"connection_id":173321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7322a8012d197d00071fed18003b004030..."} 
[2026-09-07 11:31:19] local.INFO: Packet analysis {"connection_id":173321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a73"} 
[2026-09-07 11:31:19] local.INFO: Extracted packet for processing {"connection_id":173321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a73"} 
[2026-09-07 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756645120,"raw_latitude":119532824,"longitude_deg":75.664512,"latitude_deg":11.9532824,"altitude":59,"angle":64,"satellites":48,"speed":7,"hex_longitude":"2d197d00","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922754048001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18270022078038016,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835779828707248128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31: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-07 11:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788760761000,"timestamp_ms":1788760761000,"timestamp_seconds":1788760761,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7322a8"} 
[2026-09-07 11: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-07 11:31:19] 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-07 11: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 11:31:19] 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-07 11: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-07 11: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-07 11:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922754048001,"66":12298,"101":206,"83":41984,"24":7,"16":18270022078038016,"45":1835779828707248128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922754048001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:31:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18270022078038016,"km_value":18270022078038.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835779828707248128,"description":"Unknown IO ID 45"} 
[2026-09-07 11:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922754048001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1835779828707248128}} 
[2026-09-07 11:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":173321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:31:19] local.INFO: GPS data processed {"connection_id":173321,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:31:19] local.INFO: Acknowledgment sent {"connection_id":173321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:31:22] local.INFO: TCP Data received {"connection_id":176049,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:22] local.INFO: Processing buffer {"connection_id":176049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:22] local.INFO: Packet analysis {"connection_id":176049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:31:22] local.INFO: Extracted packet for processing {"connection_id":176049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:31: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-07 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:31:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":176049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:31:22] local.INFO: GPS data processed {"connection_id":176049,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:31:22] local.INFO: Acknowledgment sent {"connection_id":176049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:31:41] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:41] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:41] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:31:45] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:45] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:45] local.INFO: IMEI packet received {"connection_id":176051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":176051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:31:46] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:46] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:31:46] local.INFO: IMEI packet received {"connection_id":173322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:31:47] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a746ac8012d19ca40071ff408003100232f..."} 
[2026-09-07 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a746ac8012d19ca40071ff408003100232f..."} 
[2026-09-07 11:31:47] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a746ac8012d19ca40071ff408003100232f..."} 
[2026-09-07 11:31:47] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a74"} 
[2026-09-07 11:31:47] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a74"} 
[2026-09-07 11:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534600,"longitude_deg":75.6664896,"latitude_deg":11.95346,"altitude":49,"angle":35,"satellites":47,"speed":16,"hex_longitude":"2d19ca40","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922776064001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18270992740646912,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867826176,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760845000,"timestamp_ms":1788760845000,"timestamp_seconds":1788760845,"priority":1,"record_length":96,"hex_timestamp":"000001a07a746ac8"} 
[2026-09-07 11: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-07 11:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 11:31:47] 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-07 11: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-07 11: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-07 11:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922776064001,"66":14157,"101":206,"83":41984,"24":16,"16":18270992740646912,"45":1858016351867826176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922776064001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:31:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18270992740646912,"km_value":18270992740646.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867826176,"description":"Unknown IO ID 45"} 
[2026-09-07 11:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922776064001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858016351867826176}} 
[2026-09-07 11:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:31:47] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:31:47] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:31:50] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:50] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:31:50] local.INFO: IMEI packet received {"connection_id":176051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":176051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:31:51] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:51] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:31:51] local.INFO: Packet analysis {"connection_id":176051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:31:51] local.INFO: Extracted packet for processing {"connection_id":176051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:31:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:31:51] 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-07 11:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:31:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":176051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:31:51] local.INFO: GPS data processed {"connection_id":176051,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:31:51] local.INFO: Acknowledgment sent {"connection_id":176051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:32:18] local.INFO: TCP Data received {"connection_id":173322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a746eb0012d19cac0071ff568003100142f..."} 
[2026-09-07 11:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a746eb0012d19cac0071ff568003100142f..."} 
[2026-09-07 11:32:18] local.INFO: Processing buffer {"connection_id":173322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a746eb0012d19cac0071ff568003100142f..."} 
[2026-09-07 11:32:18] local.INFO: Packet analysis {"connection_id":173322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a74"} 
[2026-09-07 11:32:18] local.INFO: Extracted packet for processing {"connection_id":173322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a74"} 
[2026-09-07 11:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534952,"longitude_deg":75.6665024,"latitude_deg":11.9534952,"altitude":49,"angle":20,"satellites":47,"speed":15,"hex_longitude":"2d19cac0","hex_latitude":"071ff568","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922776320001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18271009920516096,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588786176,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:18] local.INFO: IO Element Parsed {"io_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-07 11:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760846000,"timestamp_ms":1788760846000,"timestamp_seconds":1788760846,"priority":1,"record_length":96,"hex_timestamp":"000001a07a746eb0"} 
[2026-09-07 11: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-07 11:32:18] 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-07 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 11:32:18] 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-07 11: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-07 11: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-07 11:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922776320001,"66":14102,"101":206,"83":41984,"24":15,"16":18271009920516096,"45":1858368195588786176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 11:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922776320001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:32:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 11:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18271009920516096,"km_value":18271009920516.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588786176,"description":"Unknown IO ID 45"} 
[2026-09-07 11:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922776320001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858368195588786176}} 
[2026-09-07 11:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":173322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:32:18] local.INFO: GPS data processed {"connection_id":173322,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:32:18] local.INFO: Acknowledgment sent {"connection_id":173322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:32:22] local.INFO: TCP Data received {"connection_id":176051,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:22] local.INFO: Processing buffer {"connection_id":176051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:22] local.INFO: Packet analysis {"connection_id":176051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:32:22] local.INFO: Extracted packet for processing {"connection_id":176051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:32:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:32: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-07 11:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:32:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":176051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:32:22] local.INFO: GPS data processed {"connection_id":176051,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:32:22] local.INFO: Acknowledgment sent {"connection_id":176051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:32:41] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:41] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:41] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:32:45] local.INFO: TCP Data received {"connection_id":174682,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:45] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:45] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:32:46] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:46] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:32:46] local.INFO: IMEI packet received {"connection_id":173324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":173324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:32:47] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a754d58012d19c48007202648003201502e..."} 
[2026-09-07 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a754d58012d19c48007202648003201502e..."} 
[2026-09-07 11:32:47] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a754d58012d19c48007202648003201502e..."} 
[2026-09-07 11:32:47] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:32:47] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119547464,"longitude_deg":75.6663424,"latitude_deg":11.9547464,"altitude":50,"angle":336,"satellites":46,"speed":35,"hex_longitude":"2d19c480","hex_latitude":"07202648","is_valid_coordinates":true} 
[2026-09-07 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-07 11:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922789632001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18271860324040704,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777013760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760903000,"timestamp_ms":1788760903000,"timestamp_seconds":1788760903,"priority":1,"record_length":96,"hex_timestamp":"000001a07a754d58"} 
[2026-09-07 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-07 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 11:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922789632001,"66":14189,"103":206,"83":41984,"24":35,"16":18271860324040704,"45":1859142251777013760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922789632001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:32:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:32:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18271860324040704,"km_value":18271860324040.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777013760,"description":"Unknown IO ID 45"} 
[2026-09-07 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922789632001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1859142251777013760}} 
[2026-09-07 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:32:47] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:32:47] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:32:50] local.INFO: TCP Data received {"connection_id":174682,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:50] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:32:50] local.INFO: IMEI packet received {"connection_id":174682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":174682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:32:51] local.INFO: TCP Data received {"connection_id":174682,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:51] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:32:51] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:32:51] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:32:51] 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-07 11:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:32:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:32:51] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:32:51] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:33:18] local.INFO: TCP Data received {"connection_id":173324,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a75e998012d19b5400720ad48003301302e..."} 
[2026-09-07 11:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a75e998012d19b5400720ad48003301302e..."} 
[2026-09-07 11:33:18] local.INFO: Processing buffer {"connection_id":173324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a75e998012d19b5400720ad48003301302e..."} 
[2026-09-07 11:33:18] local.INFO: Packet analysis {"connection_id":173324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:33:18] local.INFO: Extracted packet for processing {"connection_id":173324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119582024,"longitude_deg":75.665952,"latitude_deg":11.9582024,"altitude":51,"angle":304,"satellites":46,"speed":24,"hex_longitude":"2d19b540","hex_latitude":"0720ad48","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922801152001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18273664210305024,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853160908531699712,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:18] local.INFO: IO Element Parsed {"io_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-07 11:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760943000,"timestamp_ms":1788760943000,"timestamp_seconds":1788760943,"priority":1,"record_length":96,"hex_timestamp":"000001a07a75e998"} 
[2026-09-07 11: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-07 11:33:18] 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-07 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 11:33:18] 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-07 11: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-07 11: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-07 11:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922801152001,"66":14233,"103":206,"83":41984,"24":24,"16":18273664210305024,"45":1853160908531699712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922801152001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:33:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18273664210305024,"km_value":18273664210305.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853160908531699712,"description":"Unknown IO ID 45"} 
[2026-09-07 11:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922801152001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853160908531699712}} 
[2026-09-07 11:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":173324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:33:18] local.INFO: GPS data processed {"connection_id":173324,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:33:18] local.INFO: Acknowledgment sent {"connection_id":173324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:33:22] local.INFO: TCP Data received {"connection_id":174682,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:33:22] local.INFO: Processing buffer {"connection_id":174682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a71d6a0012ceb7b400713b7b8001000a931..."} 
[2026-09-07 11:33:22] local.INFO: Packet analysis {"connection_id":174682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:33:22] local.INFO: Extracted packet for processing {"connection_id":174682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a71"} 
[2026-09-07 11:33:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":49,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922656000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760676000,"timestamp_ms":1788760676000,"timestamp_seconds":1788760676,"priority":1,"record_length":96,"hex_timestamp":"000001a07a71d6a0"} 
[2026-09-07 11: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-07 11:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-09-07 11:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:33: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-07 11:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922656000001,"66":26136,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922656000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:33:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922656000001,"power":26136,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":174682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:33:22] local.INFO: GPS data processed {"connection_id":174682,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:33:22] local.INFO: Acknowledgment sent {"connection_id":174682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:33:40] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:40] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:40] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:33:45] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:45] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:45] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:33:46] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:46] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:33:46] local.INFO: IMEI packet received {"connection_id":173566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":173566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:33:47] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a75f168012d19b0000720af40003501242e..."} 
[2026-09-07 11:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a75f168012d19b0000720af40003501242e..."} 
[2026-09-07 11:33:47] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a75f168012d19b0000720af40003501242e..."} 
[2026-09-07 11:33:47] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:33:47] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119582528,"longitude_deg":75.6658176,"latitude_deg":11.9582528,"altitude":53,"angle":292,"satellites":46,"speed":28,"hex_longitude":"2d19b000","hex_latitude":"0720af40","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922801408001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18273732929781760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221090002944,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788760945000,"timestamp_ms":1788760945000,"timestamp_seconds":1788760945,"priority":1,"record_length":96,"hex_timestamp":"000001a07a75f168"} 
[2026-09-07 11: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-07 11:33:47] 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-07 11: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 11:33:47] 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-07 11: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-07 11: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-07 11:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922801408001,"66":13678,"103":206,"83":41984,"24":28,"16":18273732929781760,"45":1852457221090002944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922801408001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:33:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18273732929781760,"km_value":18273732929781.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221090002944,"description":"Unknown IO ID 45"} 
[2026-09-07 11:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922801408001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852457221090002944}} 
[2026-09-07 11:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:33:47] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:33:47] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:33:50] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:50] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:33:50] local.INFO: IMEI packet received {"connection_id":173325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":173325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:33:51] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:33:51] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:33:51] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:33:51] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 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-07 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:33:51] local.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-07 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:33:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:33:51] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:33:51] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:34:18] local.INFO: TCP Data received {"connection_id":173566,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a75f938012d19aa000720b0e8003601192e..."} 
[2026-09-07 11:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a75f938012d19aa000720b0e8003601192e..."} 
[2026-09-07 11:34:18] local.INFO: Processing buffer {"connection_id":173566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a75f938012d19aa000720b0e8003601192e..."} 
[2026-09-07 11:34:18] local.INFO: Packet analysis {"connection_id":173566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:34:18] local.INFO: Extracted packet for processing {"connection_id":173566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a75"} 
[2026-09-07 11:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119582952,"longitude_deg":75.665664,"latitude_deg":11.9582952,"altitude":54,"angle":281,"satellites":46,"speed":29,"hex_longitude":"2d19aa00","hex_latitude":"0720b0e8","is_valid_coordinates":true} 
[2026-09-07 11:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922801920001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18273805944225792,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850979477462401024,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:18] local.INFO: IO Element Parsed {"io_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-07 11:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788760947000,"timestamp_ms":1788760947000,"timestamp_seconds":1788760947,"priority":1,"record_length":96,"hex_timestamp":"000001a07a75f938"} 
[2026-09-07 11:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:34:18] 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-07 11:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 11:34:18] 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-07 11:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922801920001,"66":14189,"103":206,"83":41984,"24":29,"16":18273805944225792,"45":1850979477462401024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922801920001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:34:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18273805944225792,"km_value":18273805944225.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850979477462401024,"description":"Unknown IO ID 45"} 
[2026-09-07 11:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922801920001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850979477462401024}} 
[2026-09-07 11:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":173566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:34:18] local.INFO: GPS data processed {"connection_id":173566,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:34:18] local.INFO: Acknowledgment sent {"connection_id":173566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:34:23] local.INFO: TCP Data received {"connection_id":173325,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:23] local.INFO: Processing buffer {"connection_id":173325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:23] local.INFO: Packet analysis {"connection_id":173325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:34:23] local.INFO: Extracted packet for processing {"connection_id":173325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 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-07 11:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:34: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-07 11:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:34:23] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:34:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":173325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:34:23] local.INFO: GPS data processed {"connection_id":173325,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:34:23] local.INFO: Acknowledgment sent {"connection_id":173325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:34:42] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:42] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:42] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:34:45] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:45] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:45] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:34:45] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:45] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:45] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:34:50] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:50] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:34:50] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:34:51] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:51] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:34:51] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:34:51] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:34:51] 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-07 11:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:34:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:34:51] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:34:51] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:34:51] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:51] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:34:51] local.INFO: IMEI packet received {"connection_id":174684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":174684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:34:52] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a775cb0012d18dec00720f6480041013a2d..."} 
[2026-09-07 11:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a775cb0012d18dec00720f6480041013a2d..."} 
[2026-09-07 11:34:52] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a775cb0012d18dec00720f6480041013a2d..."} 
[2026-09-07 11:34:52] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:34:52] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119600712,"longitude_deg":75.6604608,"latitude_deg":11.9600712,"altitude":65,"angle":314,"satellites":45,"speed":28,"hex_longitude":"2d18dec0","hex_latitude":"0720f648","is_valid_coordinates":true} 
[2026-09-07 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-07 11:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922823168001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18276632032706560,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796443700727853056,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34: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-07 11:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788761038000,"timestamp_ms":1788761038000,"timestamp_seconds":1788761038,"priority":1,"record_length":96,"hex_timestamp":"000001a07a775cb0"} 
[2026-09-07 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-07 11:34:52] 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-07 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-07 11:34: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-07 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-07 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-07 11:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922823168001,"66":14265,"103":206,"83":41984,"24":28,"16":18276632032706560,"45":1796443700727853056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922823168001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:34:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:34:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18276632032706560,"km_value":18276632032706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796443700727853056,"description":"Unknown IO ID 45"} 
[2026-09-07 11:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922823168001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1796443700727853056}} 
[2026-09-07 11:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:34:52] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:34:52] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:34:53] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a776c50012d18d7000720fe00004201462e..."} 
[2026-09-07 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a776c50012d18d7000720fe00004201462e..."} 
[2026-09-07 11:34:53] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a776c50012d18d7000720fe00004201462e..."} 
[2026-09-07 11:34:53] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:34:53] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119602688,"longitude_deg":75.6602624,"latitude_deg":11.9602688,"altitude":66,"angle":326,"satellites":46,"speed":25,"hex_longitude":"2d18d700","hex_latitude":"0720fe00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922825728001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18276765176692736,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838590351360,"note":"Value kept but may cause issues"} 
[2026-09-07 11:34: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-07 11:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788761042000,"timestamp_ms":1788761042000,"timestamp_seconds":1788761042,"priority":1,"record_length":96,"hex_timestamp":"000001a07a776c50"} 
[2026-09-07 11: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-07 11:34:53] 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-07 11: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":185,"data_length":795,"current_offset":136} 
[2026-09-07 11:34: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-07 11: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-07 11: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-07 11:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922825728001,"66":14211,"103":206,"83":41984,"24":25,"16":18276765176692736,"45":1792080838590351360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922825728001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:34:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18276765176692736,"km_value":18276765176692.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838590351360,"description":"Unknown IO ID 45"} 
[2026-09-07 11:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922825728001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1792080838590351360}} 
[2026-09-07 11:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:34:53] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:34:53] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:35:22] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:22] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:22] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:35:22] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:35:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11: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-07 11:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:35: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-07 11:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:35:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:35:22] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:35:22] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:35:24] local.INFO: TCP Data received {"connection_id":174684,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a777420012d18d50007210260004201552e..."} 
[2026-09-07 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a777420012d18d50007210260004201552e..."} 
[2026-09-07 11:35:24] local.INFO: Processing buffer {"connection_id":174684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a777420012d18d50007210260004201552e..."} 
[2026-09-07 11:35:24] local.INFO: Packet analysis {"connection_id":174684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:35:24] local.INFO: Extracted packet for processing {"connection_id":174684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a77"} 
[2026-09-07 11:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119603808,"longitude_deg":75.6602112,"latitude_deg":11.9603808,"altitude":66,"angle":341,"satellites":46,"speed":24,"hex_longitude":"2d18d500","hex_latitude":"07210260","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922826752001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18276825306234880,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521349632,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35: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-07 11:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788761044000,"timestamp_ms":1788761044000,"timestamp_seconds":1788761044,"priority":1,"record_length":96,"hex_timestamp":"000001a07a777420"} 
[2026-09-07 11: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-07 11:35:24] 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-07 11: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 11:35:24] 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-07 11: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-07 11: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-07 11:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922826752001,"66":13798,"103":206,"83":41984,"24":24,"16":18276825306234880,"45":1789899407521349632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 11:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922826752001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:35:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 11:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18276825306234880,"km_value":18276825306234.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521349632,"description":"Unknown IO ID 45"} 
[2026-09-07 11:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922826752001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1789899407521349632}} 
[2026-09-07 11:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":174684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:35:24] local.INFO: GPS data processed {"connection_id":174684,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:35:24] local.INFO: Acknowledgment sent {"connection_id":174684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:35:38] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:38] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:38] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:35:41] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:35:41] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:41] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:35:46] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:46] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:35:46] local.INFO: IMEI packet received {"connection_id":176052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":176052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:35:47] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a783f40012d18908007217c30004c01282f..."} 
[2026-09-07 11:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a783f40012d18908007217c30004c01282f..."} 
[2026-09-07 11:35:47] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a783f40012d18908007217c30004c01282f..."} 
[2026-09-07 11:35:47] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:35:47] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119634992,"longitude_deg":75.6584576,"latitude_deg":11.9634992,"altitude":76,"angle":296,"satellites":47,"speed":32,"hex_longitude":"2d189080","hex_latitude":"07217c30","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922839552001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18278693617008640,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773362752647553024,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:47] 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-07 11:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761096000,"timestamp_ms":1788761096000,"timestamp_seconds":1788761096,"priority":1,"record_length":96,"hex_timestamp":"000001a07a783f40"} 
[2026-09-07 11: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-07 11:35:47] 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-07 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 11:35:47] 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-07 11: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-07 11: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-07 11:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922839552001,"66":14070,"106":206,"83":41984,"24":32,"16":18278693617008640,"45":1773362752647553024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 11:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922839552001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:35:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18278693617008640,"km_value":18278693617008.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773362752647553024,"description":"Unknown IO ID 45"} 
[2026-09-07 11:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922839552001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1773362752647553024}} 
[2026-09-07 11:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:35:47] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:35:47] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:35:49] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a784ee0012d188480072180d0004c011b2f..."} 
[2026-09-07 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a784ee0012d188480072180d0004c011b2f..."} 
[2026-09-07 11:35:49] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a784ee0012d188480072180d0004c011b2f..."} 
[2026-09-07 11:35:49] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:35:49] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636176,"longitude_deg":75.6581504,"latitude_deg":11.9636176,"altitude":76,"angle":283,"satellites":47,"speed":32,"hex_longitude":"2d188480","hex_latitude":"072180d0","is_valid_coordinates":true} 
[2026-09-07 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-07 11:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922840576001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18278852530798592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421671518208,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35: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-07 11:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788761100000,"timestamp_ms":1788761100000,"timestamp_seconds":1788761100,"priority":1,"record_length":96,"hex_timestamp":"000001a07a784ee0"} 
[2026-09-07 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-07 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 11:35:49] 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-07 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-07 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-07 11:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922840576001,"66":14070,"106":206,"83":41984,"24":32,"16":18278852530798592,"45":1770055421671518208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 11:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922840576001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:35:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18278852530798592,"km_value":18278852530798.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421671518208,"description":"Unknown IO ID 45"} 
[2026-09-07 11:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922840576001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1770055421671518208}} 
[2026-09-07 11:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:35:49] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:35:49] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:35:50] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:50] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:50] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:35:55] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:55] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:35:55] local.INFO: IMEI packet received {"connection_id":173326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":173326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:35:56] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:56] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:35:56] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:35:56] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:35:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11: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-07 11:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:35:56] local.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-07 11:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:35:56] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:35:56] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:35:56] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:36:00] local.INFO: TCP Data received {"connection_id":173326,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:00] local.INFO: Processing buffer {"connection_id":173326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:00] local.INFO: Packet analysis {"connection_id":173326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:36:00] local.INFO: Extracted packet for processing {"connection_id":173326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:36:00] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:36:00] local.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-07 11:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":173326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:36:00] local.INFO: GPS data processed {"connection_id":173326,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:36:00] local.INFO: Acknowledgment sent {"connection_id":173326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:36:20] local.INFO: TCP Data received {"connection_id":176052,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a785a98012d187b8007218228004c010f2f..."} 
[2026-09-07 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a785a98012d187b8007218228004c010f2f..."} 
[2026-09-07 11:36:20] local.INFO: Processing buffer {"connection_id":176052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a785a98012d187b8007218228004c010f2f..."} 
[2026-09-07 11:36:20] local.INFO: Packet analysis {"connection_id":176052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:36:20] local.INFO: Extracted packet for processing {"connection_id":176052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636520,"longitude_deg":75.65792,"latitude_deg":11.963652,"altitude":76,"angle":271,"satellites":47,"speed":29,"hex_longitude":"2d187b80","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922841600001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18278959904980992,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951293440,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:20] 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-07 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788761103000,"timestamp_ms":1788761103000,"timestamp_seconds":1788761103,"priority":1,"record_length":96,"hex_timestamp":"000001a07a785a98"} 
[2026-09-07 11: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-07 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 11:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922841600001,"66":14070,"106":206,"83":41984,"24":29,"16":18278959904980992,"45":1766677721951293440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922841600001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:36:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 11:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18278959904980992,"km_value":18278959904980.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951293440,"description":"Unknown IO ID 45"} 
[2026-09-07 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922841600001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1766677721951293440}} 
[2026-09-07 11:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":176052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:36:20] local.INFO: GPS data processed {"connection_id":176052,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:36:20] local.INFO: Acknowledgment sent {"connection_id":176052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:36:41] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:41] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:41] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:36:45] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:45] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:45] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:36:46] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:46] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:36:46] local.INFO: IMEI packet received {"connection_id":174686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:36:47] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7879d8012d18640007218240004d011c2e..."} 
[2026-09-07 11:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7879d8012d18640007218240004d011c2e..."} 
[2026-09-07 11:36:47] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7879d8012d18640007218240004d011c2e..."} 
[2026-09-07 11:36:47] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:36:47] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636544,"longitude_deg":75.6573184,"latitude_deg":11.9636544,"altitude":77,"angle":284,"satellites":46,"speed":33,"hex_longitude":"2d186400","hex_latitude":"07218240","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922842368001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18279247667789824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160985600,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761111000,"timestamp_ms":1788761111000,"timestamp_seconds":1788761111,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7879d8"} 
[2026-09-07 11: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-07 11:36:47] 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-07 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 11:36:47] 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-07 11: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-07 11: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-07 11:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922842368001,"66":14080,"105":206,"83":41984,"24":33,"16":18279247667789824,"45":1764144447160985600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922842368001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:36:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18279247667789824,"km_value":18279247667789.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160985600,"description":"Unknown IO ID 45"} 
[2026-09-07 11:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922842368001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1764144447160985600}} 
[2026-09-07 11:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:36:47] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:36:47] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:36:50] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:50] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:36:50] local.INFO: IMEI packet received {"connection_id":173327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:36:50] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:50] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:36:50] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:36:50] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:36:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11: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-07 11:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:36:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:36:50] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:36:50] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:36:52] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:36:52] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:36:52] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:37:18] local.INFO: TCP Data received {"connection_id":174686,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a788d60012d1854c007218838004f01272f..."} 
[2026-09-07 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a788d60012d1854c007218838004f01272f..."} 
[2026-09-07 11:37:18] local.INFO: Processing buffer {"connection_id":174686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a788d60012d1854c007218838004f01272f..."} 
[2026-09-07 11:37:18] local.INFO: Packet analysis {"connection_id":174686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:37:18] local.INFO: Extracted packet for processing {"connection_id":174686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a78"} 
[2026-09-07 11:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756569280,"raw_latitude":119638072,"longitude_deg":75.656928,"latitude_deg":11.9638072,"altitude":79,"angle":295,"satellites":47,"speed":32,"hex_longitude":"2d1854c0","hex_latitude":"07218838","is_valid_coordinates":true} 
[2026-09-07 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922844416001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18279445236285440,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208291328,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761116000,"timestamp_ms":1788761116000,"timestamp_seconds":1788761116,"priority":1,"record_length":96,"hex_timestamp":"000001a07a788d60"} 
[2026-09-07 11:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:37:18] 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-07 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462122,"corrected_to":0} 
[2026-09-07 11:37:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3221692787,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4028235776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,240,160,90,45,128,130,76,47,10,66,106,78,63,1,246,227,122,33,4,113,205,32,167,104,239,55,2,64,7,29],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":246,"original":13462122,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-07 11:37:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548747199793397760,"timestamp_seconds":5548747199793398.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922844416001,"66":14243,"105":206,"83":41984,"24":32,"16":18279445236285440,"45":1757529785208291328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922844416001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:37:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18279445236285440,"km_value":18279445236285.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208291328,"description":"Unknown IO ID 45"} 
[2026-09-07 11:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922844416001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1757529785208291328}} 
[2026-09-07 11:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":174686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:37:18] local.INFO: GPS data processed {"connection_id":174686,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:37:18] local.INFO: Acknowledgment sent {"connection_id":174686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:37:22] local.INFO: TCP Data received {"connection_id":173327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:22] local.INFO: Processing buffer {"connection_id":173327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:22] local.INFO: Packet analysis {"connection_id":173327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:37:22] local.INFO: Extracted packet for processing {"connection_id":173327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11: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-07 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:37: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-07 11:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:37:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":173327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:37:22] local.INFO: GPS data processed {"connection_id":173327,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:37:22] local.INFO: Acknowledgment sent {"connection_id":173327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:37:41] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:41] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:41] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:37:42] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:42] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:42] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:37:43] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:43] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:43] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:37:44] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:44] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:37:44] local.INFO: IMEI packet received {"connection_id":176053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":176053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:37:44] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a3340012d182c000721c020004f01482d..."} 
[2026-09-07 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a3340012d182c000721c020004f01482d..."} 
[2026-09-07 11:37:44] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a3340012d182c000721c020004f01482d..."} 
[2026-09-07 11:37:44] local.INFO: Packet analysis {"connection_id":176053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:37:44] local.INFO: Extracted packet for processing {"connection_id":176053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119652384,"longitude_deg":75.6558848,"latitude_deg":11.9652384,"altitude":79,"angle":328,"satellites":45,"speed":5,"hex_longitude":"2d182c00","hex_latitude":"0721c020","is_valid_coordinates":true} 
[2026-09-07 11:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922868736001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280591992553472,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342795393024,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788761224000,"timestamp_ms":1788761224000,"timestamp_seconds":1788761224,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a3340"} 
[2026-09-07 11:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:37:44] 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-07 11:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4056612864,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249390836854660760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6365837733962699264,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692841,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":218,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":121,"raw_value":1029073808043966471,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:44] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,105,83,24,241,157,16,242,160,225,45,192,186,78,46,10,66,151,183,79,143,64,1,240,27,227,122,33,4,113,205,3,29,30,232,239,54,2,7,6,218,121,5,106,62],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:37:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692596306053496832,"timestamp_seconds":5692596306053497.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922868736001,"66":13243,"105":206,"83":41984,"24":5,"16":18280591992553472,"45":1741415342795393024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922868736001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:37:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280591992553472,"km_value":18280591992553.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342795393024,"description":"Unknown IO ID 45"} 
[2026-09-07 11:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922868736001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741415342795393024}} 
[2026-09-07 11:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":176053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:37:44] local.INFO: GPS data processed {"connection_id":176053,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:37:44] local.INFO: Acknowledgment sent {"connection_id":176053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:37:45] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:45] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:45] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:37:50] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:50] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:37:50] local.INFO: IMEI packet received {"connection_id":173328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":173328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:37:51] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:51] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:37:51] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:37:51] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11: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-07 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:37:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:37:51] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:37:51] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:38:01] local.INFO: TCP Data received {"connection_id":173571,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 11:38:01] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 11:38:01] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 11:38:01] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 11:38:01] 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-07 11:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:01] 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-07 11:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-07 11:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-07 11:38:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 11:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":null,"avl_records_count":1} 
[2026-09-07 11:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":null,"avl_records_count":1} 
[2026-09-07 11:38:01] 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-07 11:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 11:38:01] local.INFO: GPS data processed {"connection_id":173571,"processed":0,"errors":0,"total":1} 
[2026-09-07 11:38:01] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:38:15] local.INFO: TCP Data received {"connection_id":176053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a3728012d182bc00721c088004f012d2e..."} 
[2026-09-07 11:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a3728012d182bc00721c088004f012d2e..."} 
[2026-09-07 11:38:15] local.INFO: Processing buffer {"connection_id":176053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a3728012d182bc00721c088004f012d2e..."} 
[2026-09-07 11:38:15] local.INFO: Packet analysis {"connection_id":176053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:38:15] local.INFO: Extracted packet for processing {"connection_id":176053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119652488,"longitude_deg":75.6558784,"latitude_deg":11.9652488,"altitude":79,"angle":301,"satellites":46,"speed":6,"hex_longitude":"2d182bc0","hex_latitude":"0721c088","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922873344001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280596287520768,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741767186516549632,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788761225000,"timestamp_ms":1788761225000,"timestamp_seconds":1788761225,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a3728"} 
[2026-09-07 11: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-07 11:38:15] 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-07 11:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 11:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922873344001,"66":13243,"105":206,"83":41984,"24":6,"16":18280596287520768,"45":1741767186516549632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922873344001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:38:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:38:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280596287520768,"km_value":18280596287520.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741767186516549632,"description":"Unknown IO ID 45"} 
[2026-09-07 11:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922873344001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741767186516549632}} 
[2026-09-07 11:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":176053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:38:15] local.INFO: GPS data processed {"connection_id":176053,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:38:15] local.INFO: Acknowledgment sent {"connection_id":176053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:38:22] local.INFO: TCP Data received {"connection_id":173328,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:22] local.INFO: Processing buffer {"connection_id":173328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a766e68012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:22] local.INFO: Packet analysis {"connection_id":173328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:38:22] local.INFO: Extracted packet for processing {"connection_id":173328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a76"} 
[2026-09-07 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922733056001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788760977000,"timestamp_ms":1788760977000,"timestamp_seconds":1788760977,"priority":1,"record_length":96,"hex_timestamp":"000001a07a766e68"} 
[2026-09-07 11:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-07 11:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:38: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-07 11:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922733056001,"66":26115,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922733056001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:38:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922733056001,"power":26115,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":173328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:38:22] local.INFO: GPS data processed {"connection_id":173328,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:38:22] local.INFO: Acknowledgment sent {"connection_id":173328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:38:40] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:40] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:40] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:38:45] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:45] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:45] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:38:46] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:46] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:38:46] local.INFO: IMEI packet received {"connection_id":173572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":173572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:38:47] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a3b10012d182ac00721c0c0004f01102e..."} 
[2026-09-07 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a3b10012d182ac00721c0c0004f01102e..."} 
[2026-09-07 11:38:47] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a3b10012d182ac00721c0c0004f01102e..."} 
[2026-09-07 11:38:47] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:38:47] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:38:47] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119652544,"longitude_deg":75.6558528,"latitude_deg":11.9652544,"altitude":79,"angle":272,"satellites":46,"speed":7,"hex_longitude":"2d182ac0","hex_latitude":"0721c0c0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922873600001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280609172422656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817772398592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761226000,"timestamp_ms":1788761226000,"timestamp_seconds":1788761226,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a3b10"} 
[2026-09-07 11: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-07 11:38:47] 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-07 11:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 11:38:47] 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-07 11: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-07 11: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-07 11:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922873600001,"66":13156,"105":206,"83":41984,"24":7,"16":18280609172422656,"45":1741696817772398592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922873600001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:38:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:38:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280609172422656,"km_value":18280609172422.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817772398592,"description":"Unknown IO ID 45"} 
[2026-09-07 11:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922873600001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741696817772398592}} 
[2026-09-07 11:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:38:47] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:38:47] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:38:50] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:50] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:38:50] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:38:50] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:50] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:38:50] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:38:50] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 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-07 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:38:50] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:38:50] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:38:50] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:39:18] local.INFO: TCP Data received {"connection_id":173572,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a3ef8012d182a400721c0a0004f00e92e..."} 
[2026-09-07 11:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a3ef8012d182a400721c0a0004f00e92e..."} 
[2026-09-07 11:39:18] local.INFO: Processing buffer {"connection_id":173572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a3ef8012d182a400721c0a0004f00e92e..."} 
[2026-09-07 11:39:18] local.INFO: Packet analysis {"connection_id":173572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:39:18] local.INFO: Extracted packet for processing {"connection_id":173572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119652512,"longitude_deg":75.65584,"latitude_deg":11.9652512,"altitude":79,"angle":233,"satellites":46,"speed":5,"hex_longitude":"2d182a40","hex_latitude":"0721c0a0","is_valid_coordinates":true} 
[2026-09-07 11:39: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-07 11:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922873856001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280613467389952,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342795702272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761227000,"timestamp_ms":1788761227000,"timestamp_seconds":1788761227,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a3ef8"} 
[2026-09-07 11:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:39:18] 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-07 11:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-07 11:39:18] 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-07 11:39: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-07 11:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922873856001,"66":13156,"105":206,"83":41984,"24":5,"16":18280613467389952,"45":1741415342795702272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922873856001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:39:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280613467389952,"km_value":18280613467389.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342795702272,"description":"Unknown IO ID 45"} 
[2026-09-07 11:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922873856001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741415342795702272}} 
[2026-09-07 11:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":173572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:39:18] local.INFO: GPS data processed {"connection_id":173572,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:39:18] local.INFO: Acknowledgment sent {"connection_id":173572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:39:22] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:22] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:22] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:39:22] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:39: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-07 11:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 11:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:39: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-07 11:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:39: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-07 11:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:39:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:39:22] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:39:22] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:39:40] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:40] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:40] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:39:46] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:46] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:39:46] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:39:46] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a42e0012d1829c00721c038004f00d22e..."} 
[2026-09-07 11:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a42e0012d1829c00721c038004f00d22e..."} 
[2026-09-07 11:39:47] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a42e0012d1829c00721c038004f00d22e..."} 
[2026-09-07 11:39:47] local.INFO: Packet analysis {"connection_id":173574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:39:47] local.INFO: Extracted packet for processing {"connection_id":173574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119652408,"longitude_deg":75.6558272,"latitude_deg":11.9652408,"altitude":79,"angle":210,"satellites":46,"speed":5,"hex_longitude":"2d1829c0","hex_latitude":"0721c038","is_valid_coordinates":true} 
[2026-09-07 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922874112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280622057324544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307338752,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761228000,"timestamp_ms":1788761228000,"timestamp_seconds":1788761228,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a42e0"} 
[2026-09-07 11:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:39:47] 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-07 11:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-07 11:39:47] 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-07 11: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-07 11:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922874112001,"66":12863,"105":206,"83":41984,"24":5,"16":18280622057324544,"45":1741274605307338752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922874112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:39:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:39:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280622057324544,"km_value":18280622057324.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307338752,"description":"Unknown IO ID 45"} 
[2026-09-07 11:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922874112001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1741274605307338752}} 
[2026-09-07 11:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":173574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:39:47] local.INFO: GPS data processed {"connection_id":173574,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:39:47] local.INFO: Acknowledgment sent {"connection_id":173574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:39:50] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:50] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:50] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:39:55] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:55] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:39:55] local.INFO: IMEI packet received {"connection_id":174688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":174688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:39:56] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:56] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:39:56] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:39:56] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:39:56] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 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-07 11:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 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-07 11:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:39:56] 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-07 11:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:39:56] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:39:56] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:39:56] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:40:00] local.INFO: TCP Data received {"connection_id":174688,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:00] local.INFO: Processing buffer {"connection_id":174688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:00] local.INFO: Packet analysis {"connection_id":174688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:00] local.INFO: Extracted packet for processing {"connection_id":174688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:00] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 11:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:40:00] 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-07 11:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:40:00] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":174688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:40:01] local.INFO: GPS data processed {"connection_id":174688,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:40:01] local.INFO: Acknowledgment sent {"connection_id":174688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:40:18] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7a94e8012d1826800721bb40004f00d12e..."} 
[2026-09-07 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7a94e8012d1826800721bb40004f00d12e..."} 
[2026-09-07 11:40:18] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7a94e8012d1826800721bb40004f00d12e..."} 
[2026-09-07 11:40:18] local.INFO: Packet analysis {"connection_id":173574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:40:18] local.INFO: Extracted packet for processing {"connection_id":173574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119651136,"longitude_deg":75.655744,"latitude_deg":11.9651136,"altitude":79,"angle":209,"satellites":46,"speed":2,"hex_longitude":"2d182680","hex_latitude":"0721bb40","is_valid_coordinates":true} 
[2026-09-07 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922874368001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280699366735872,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867818956800,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761249000,"timestamp_ms":1788761249000,"timestamp_seconds":1788761249,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7a94e8"} 
[2026-09-07 11:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:40:18] 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-07 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 11:40:18] 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-07 11:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922874368001,"66":13135,"105":206,"83":41984,"24":2,"16":18280699366735872,"45":1741133867818956800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922874368001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:40:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280699366735872,"km_value":18280699366735.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867818956800,"description":"Unknown IO ID 45"} 
[2026-09-07 11:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922874368001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1741133867818956800}} 
[2026-09-07 11:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":173574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:40:18] local.INFO: GPS data processed {"connection_id":173574,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:40:18] local.INFO: Acknowledgment sent {"connection_id":173574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:40:45] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:45] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:45] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:40:46] local.INFO: TCP Data received {"connection_id":173329,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:46] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:46] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:40:50] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:50] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:40:50] local.INFO: IMEI packet received {"connection_id":173330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:40:51] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:51] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:40:51] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:51] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:40:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:40:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:40:51] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:40:51] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:40:51] local.INFO: TCP Data received {"connection_id":173329,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:51] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:40:51] local.INFO: IMEI packet received {"connection_id":173329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":173329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:40:52] local.INFO: TCP Data received {"connection_id":173329,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7ae6f0012d1825c00721ba00004f00d12e..."} 
[2026-09-07 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7ae6f0012d1825c00721ba00004f00d12e..."} 
[2026-09-07 11:40:52] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7ae6f0012d1825c00721ba00004f00d12e..."} 
[2026-09-07 11:40:52] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:40:52] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7a"} 
[2026-09-07 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922879744001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144321536,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788761270000,"timestamp_ms":1788761270000,"timestamp_seconds":1788761270,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7ae6f0"} 
[2026-09-07 11: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-07 11:40:52] 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-07 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-07 11:40: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-07 11: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-07 11: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-07 11:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922879744001,"66":12993,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740219074144321536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922879744001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:40:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144321536,"description":"Unknown IO ID 45"} 
[2026-09-07 11:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922879744001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740219074144321536}} 
[2026-09-07 11:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:40:52] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:40:52] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:40:55] local.INFO: TCP Data received {"connection_id":173329,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b38f8012d1825c00721ba00004f00d12d..."} 
[2026-09-07 11:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b38f8012d1825c00721ba00004f00d12d..."} 
[2026-09-07 11:40:55] local.INFO: Processing buffer {"connection_id":173329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b38f8012d1825c00721ba00004f00d12d..."} 
[2026-09-07 11:40:55] local.INFO: Packet analysis {"connection_id":173329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:55] local.INFO: Extracted packet for processing {"connection_id":173329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922885120001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:40: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-07 11:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788761291000,"timestamp_ms":1788761291000,"timestamp_seconds":1788761291,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b38f8"} 
[2026-09-07 11: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-07 11:40:55] 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-07 11: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-07 11:40:55] 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-07 11: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-07 11: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-07 11:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922885120001,"66":12982,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922885120001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:40:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922885120001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":173329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:40:55] local.INFO: GPS data processed {"connection_id":173329,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:40:55] local.INFO: Acknowledgment sent {"connection_id":173329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:41:22] local.INFO: TCP Data received {"connection_id":173330,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:22] local.INFO: Processing buffer {"connection_id":173330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:22] local.INFO: Packet analysis {"connection_id":173330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:22] local.INFO: Extracted packet for processing {"connection_id":173330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 11: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-07 11:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:41: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-07 11:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:41:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:41:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":173330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:41:22] local.INFO: GPS data processed {"connection_id":173330,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:41:22] local.INFO: Acknowledgment sent {"connection_id":173330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:41:41] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:41] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:41] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:41:45] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:45] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:45] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:41:46] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:46] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:41:46] local.INFO: IMEI packet received {"connection_id":174689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:41:47] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b8b00012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b8b00012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:41:47] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b8b00012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:41:47] local.INFO: Packet analysis {"connection_id":174689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:47] local.INFO: Extracted packet for processing {"connection_id":174689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 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-07 11:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922890496001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761312000,"timestamp_ms":1788761312000,"timestamp_seconds":1788761312,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b8b00"} 
[2026-09-07 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-07 11:41:47] 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-07 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-07 11:41:47] 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-07 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-07 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-07 11:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922890496001,"66":12939,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922890496001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:41:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922890496001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":174689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:41:47] local.INFO: GPS data processed {"connection_id":174689,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:41:47] local.INFO: Acknowledgment sent {"connection_id":174689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:41:50] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:50] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:41:50] local.INFO: IMEI packet received {"connection_id":176056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":176056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:41:51] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:51] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7b0630012ceb7b400713b7b8001000a92f..."} 
[2026-09-07 11:41:51] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:51] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":16,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922810112001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761278000,"timestamp_ms":1788761278000,"timestamp_seconds":1788761278,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7b0630"} 
[2026-09-07 11: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-07 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 11:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:41: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-07 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922810112001,"66":26082,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922810112001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:41:51] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922810112001,"power":26082,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:41:51] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:41:51] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:42:17] local.INFO: TCP Data received {"connection_id":174690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:17] local.INFO: Processing buffer {"connection_id":174690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:17] local.INFO: IMEI packet received {"connection_id":174690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":174690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:42:18] local.INFO: TCP Data received {"connection_id":174689,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7bdd08012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7bdd08012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:42:18] local.INFO: Processing buffer {"connection_id":174689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7bdd08012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:42:18] local.INFO: Packet analysis {"connection_id":174689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:42:18] local.INFO: Extracted packet for processing {"connection_id":174689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7b"} 
[2026-09-07 11:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922895872001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761333000,"timestamp_ms":1788761333000,"timestamp_seconds":1788761333,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7bdd08"} 
[2026-09-07 11:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:42:18] 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-07 11:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 11:42:18] 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-07 11:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922895872001,"66":12917,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922895872001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:42:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922895872001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":174689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:42:18] local.INFO: GPS data processed {"connection_id":174689,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:42:18] local.INFO: Acknowledgment sent {"connection_id":174689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:42:23] local.INFO: TCP Data received {"connection_id":176056,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7e6578012ceb7b400713b7b8001100a932..."} 
[2026-09-07 11:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7e6578012ceb7b400713b7b8001100a932..."} 
[2026-09-07 11:42:23] local.INFO: Processing buffer {"connection_id":176056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7e6578012ceb7b400713b7b8001100a932..."} 
[2026-09-07 11:42:23] local.INFO: Packet analysis {"connection_id":176056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:42:23] local.INFO: Extracted packet for processing {"connection_id":176056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118732728,"longitude_deg":75.3630016,"latitude_deg":11.8732728,"altitude":17,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713b7b8","is_valid_coordinates":true} 
[2026-09-07 11:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922887168001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788761499000,"timestamp_ms":1788761499000,"timestamp_seconds":1788761499,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7e6578"} 
[2026-09-07 11: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-07 11:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 11:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:42:23] 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-07 11:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922887168001,"66":26060,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922887168001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:42:23] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:42:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922887168001,"power":26060,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":176056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:42:23] local.INFO: GPS data processed {"connection_id":176056,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:42:23] local.INFO: Acknowledgment sent {"connection_id":176056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:42:40] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:40] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:40] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:42:40] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:42:40] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:40] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:42:41] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:41] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:41] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:42:45] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:45] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:42:45] local.INFO: IMEI packet received {"connection_id":173332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:42:46] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:46] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:42:46] local.INFO: IMEI packet received {"connection_id":173331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:42:46] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7ec338012ceb7bc00713b1c0001100b12e..."} 
[2026-09-07 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7ec338012ceb7bc00713b1c0001100b12e..."} 
[2026-09-07 11:42:46] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7ec338012ceb7bc00713b1c0001100b12e..."} 
[2026-09-07 11:42:46] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:42:46] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731200,"longitude_deg":75.3630144,"latitude_deg":11.87312,"altitude":17,"angle":177,"satellites":46,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b1c0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922943744001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653521319936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761523000,"timestamp_ms":1788761523000,"timestamp_seconds":1788761523,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7ec338"} 
[2026-09-07 11: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-07 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 11:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922943744001,"66":27908,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478517653521319936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922943744001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:42:46] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653521319936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922943744001,"power":27908,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478517653521319936}} 
[2026-09-07 11:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:42:46] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:42:46] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:42:46] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7c2f10012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7c2f10012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:42:46] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7c2f10012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:42:46] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:42:46] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922901248001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761354000,"timestamp_ms":1788761354000,"timestamp_seconds":1788761354,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7c2f10"} 
[2026-09-07 11: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-07 11:42:46] 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-07 11: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 11:42:46] 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-07 11: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-07 11: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-07 11:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922901248001,"66":12852,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922901248001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:42:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922901248001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:42:47] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:42:47] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:42:52] local.INFO: TCP Data received {"connection_id":173333,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:52] local.INFO: Processing buffer {"connection_id":173333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:42:52] local.INFO: IMEI packet received {"connection_id":173333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":173333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:43:17] local.INFO: TCP Data received {"connection_id":173332,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7f1540012ceb7bc00713b1c0001100b131..."} 
[2026-09-07 11:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7f1540012ceb7bc00713b1c0001100b131..."} 
[2026-09-07 11:43:17] local.INFO: Processing buffer {"connection_id":173332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7f1540012ceb7bc00713b1c0001100b131..."} 
[2026-09-07 11:43:17] local.INFO: Packet analysis {"connection_id":173332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:17] local.INFO: Extracted packet for processing {"connection_id":173332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:17] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731200,"longitude_deg":75.3630144,"latitude_deg":11.87312,"altitude":17,"angle":177,"satellites":49,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b1c0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922949888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033355776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788761544000,"timestamp_ms":1788761544000,"timestamp_seconds":1788761544,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7f1540"} 
[2026-09-07 11: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-07 11:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43: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-07 11:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922949888001,"66":27908,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478376916033355776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922949888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:17] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033355776,"description":"Unknown IO ID 44"} 
[2026-09-07 11:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922949888001,"power":27908,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033355776}} 
[2026-09-07 11:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":173332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:17] local.INFO: GPS data processed {"connection_id":173332,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:17] local.INFO: Acknowledgment sent {"connection_id":173332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:43:18] local.INFO: TCP Data received {"connection_id":173331,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7c8118012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7c8118012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:43:18] local.INFO: Processing buffer {"connection_id":173331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7c8118012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:43:18] local.INFO: Packet analysis {"connection_id":173331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:43:18] local.INFO: Extracted packet for processing {"connection_id":173331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922906624001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761375000,"timestamp_ms":1788761375000,"timestamp_seconds":1788761375,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7c8118"} 
[2026-09-07 11:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:43:18] 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-07 11:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-07 11:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922906624001,"66":12809,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922906624001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922906624001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":173331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:18] local.INFO: GPS data processed {"connection_id":173331,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:18] local.INFO: Acknowledgment sent {"connection_id":173331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:43:41] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:41] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:41] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:43:43] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:43] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:43] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:43:46] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:46] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:43:46] local.INFO: IMEI packet received {"connection_id":176057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:43:47] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7cd320012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7cd320012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:43:47] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7cd320012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:43:47] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:43:47] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7c"} 
[2026-09-07 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922912000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761396000,"timestamp_ms":1788761396000,"timestamp_seconds":1788761396,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7cd320"} 
[2026-09-07 11: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-07 11:43:47] 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-07 11: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":8809850116746258880,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3120562255,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692858,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055274,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4063756288,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2432005372756677166,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,242,160,47,45,192,186,79,48,10,66,221,139,1,240,227,122,33,4,113,205,230,37,46,239,50,2,64,7,51,164],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:43:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692779933084942336,"timestamp_seconds":5692779933084942.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11: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-07 11:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922912000001,"66":12776,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922912000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922912000001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:47] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:47] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:43:50] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:50] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:50] local.INFO: IMEI packet received {"connection_id":176058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":176058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:43:51] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:51] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:43:51] local.INFO: IMEI packet received {"connection_id":176058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":176058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:43:51] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7d2528012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7d2528012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:43:51] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7d2528012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:43:51] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:43:51] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922917376001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43: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-07 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761417000,"timestamp_ms":1788761417000,"timestamp_seconds":1788761417,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7d2528"} 
[2026-09-07 11: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-07 11:43:51] 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-07 11: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":232,"data_length":795,"current_offset":136} 
[2026-09-07 11:43: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-07 11: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-07 11: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-07 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922917376001,"66":12667,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922917376001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:43:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922917376001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:51] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:51] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:43:53] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7f6748012ceb7bc00713b1c0001100b130..."} 
[2026-09-07 11:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7f6748012ceb7bc00713b1c0001100b130..."} 
[2026-09-07 11:43:53] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7f6748012ceb7bc00713b1c0001100b130..."} 
[2026-09-07 11:43:53] local.INFO: Packet analysis {"connection_id":176058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:53] local.INFO: Extracted packet for processing {"connection_id":176058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":753630144,"raw_latitude":118731200,"longitude_deg":75.3630144,"latitude_deg":11.87312,"altitude":17,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2ceb7bc0","hex_latitude":"0713b1c0","is_valid_coordinates":true} 
[2026-09-07 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-07 11:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922955264001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180804786421760,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033355776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788761565000,"timestamp_ms":1788761565000,"timestamp_seconds":1788761565,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7f6748"} 
[2026-09-07 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-07 11:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 11:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43: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-07 11:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922955264001,"66":27843,"191":206,"83":41472,"24":0,"16":401180804786421760,"44":-1478376916033355776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922955264001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:53] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180804786421760,"km_value":401180804786421.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033355776,"description":"Unknown IO ID 44"} 
[2026-09-07 11:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922955264001,"power":27843,"unknown_191":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478376916033355776}} 
[2026-09-07 11:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":176058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:53] local.INFO: GPS data processed {"connection_id":176058,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:53] local.INFO: Acknowledgment sent {"connection_id":176058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:43:55] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7f6f18012ceb7c000713b4c80011015f30..."} 
[2026-09-07 11:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7f6f18012ceb7c000713b4c80011015f30..."} 
[2026-09-07 11:43:55] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7f6f18012ceb7c000713b4c80011015f30..."} 
[2026-09-07 11:43:55] local.INFO: Packet analysis {"connection_id":176058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:55] local.INFO: Extracted packet for processing {"connection_id":176058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:43:55] local.INFO: GPS Element Parsed {"raw_longitude":753630208,"raw_latitude":118731976,"longitude_deg":75.3630208,"latitude_deg":11.8731976,"altitude":17,"angle":351,"satellites":48,"speed":1,"hex_longitude":"2ceb7c00","hex_latitude":"0713b4c8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922960640001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401180843441127424,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478376916033355776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788761567000,"timestamp_ms":1788761567000,"timestamp_seconds":1788761567,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7f6f18"} 
[2026-09-07 11: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-07 11:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 11:43:55] 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-07 11: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-07 11: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-07 11:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:43:55] 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-07 11:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922960640001,"66":27865,"191":206,"83":41472,"24":1,"16":401180843441127424,"44":-1478376916033355776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,83,24,16,44]} 
[2026-09-07 11:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922960640001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:43:55] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-09-07 11:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401180843441127424,"km_value":401180843441127.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478376916033355776,"description":"Unknown IO ID 44"} 
[2026-09-07 11:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922960640001,"power":27865,"unknown_191":206,"unknown_83":41472,"ignition":1,"odometer":null,"unknown_44":-1478376916033355776}} 
[2026-09-07 11:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":176058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:43:55] local.INFO: GPS data processed {"connection_id":176058,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:43:55] local.INFO: Acknowledgment sent {"connection_id":176058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:44:22] local.INFO: TCP Data received {"connection_id":176057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7d7730012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7d7730012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:44:22] local.INFO: Processing buffer {"connection_id":176057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7d7730012d1825c00721ba00004f00d131..."} 
[2026-09-07 11:44:22] local.INFO: Packet analysis {"connection_id":176057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:44:22] local.INFO: Extracted packet for processing {"connection_id":176057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":49,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922922752001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44: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-07 11:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761438000,"timestamp_ms":1788761438000,"timestamp_seconds":1788761438,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7d7730"} 
[2026-09-07 11: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-07 11:44:22] 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-07 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 11:44: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-07 11: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-07 11: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-07 11:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922922752001,"66":12678,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922922752001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:44:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922922752001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":176057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:44:22] local.INFO: GPS data processed {"connection_id":176057,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:44:22] local.INFO: Acknowledgment sent {"connection_id":176057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:44:31] local.INFO: TCP Data received {"connection_id":176058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a803e20012ceb69800713bd100010010f2f..."} 
[2026-09-07 11:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a803e20012ceb69800713bd100010010f2f..."} 
[2026-09-07 11:44:31] local.INFO: Processing buffer {"connection_id":176058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a803e20012ceb69800713bd100010010f2f..."} 
[2026-09-07 11:44:31] local.INFO: Packet analysis {"connection_id":176058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:44:31] local.INFO: Extracted packet for processing {"connection_id":176058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:44:31] local.INFO: GPS Element Parsed {"raw_longitude":753625472,"raw_latitude":118734096,"longitude_deg":75.3625472,"latitude_deg":11.8734096,"altitude":16,"angle":271,"satellites":47,"speed":19,"hex_longitude":"2ceb6980","hex_latitude":"0713bd10","is_valid_coordinates":true} 
[2026-09-07 11:44: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-07 11:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922973440001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181199923412992,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481121297055488000,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788761620000,"timestamp_ms":1788761620000,"timestamp_seconds":1788761620,"priority":1,"record_length":96,"hex_timestamp":"000001a07a803e20"} 
[2026-09-07 11:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 11:44:31] 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-07 11:44: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-07 11:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:44:31] 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-07 11:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922973440001,"66":27919,"192":206,"83":41472,"24":19,"16":401181199923412992,"44":-1481121297055488000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 11:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922973440001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:44:31] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 11:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181199923412992,"km_value":401181199923413.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481121297055488000,"description":"Unknown IO ID 44"} 
[2026-09-07 11:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922973440001,"power":27919,"unknown_192":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1481121297055488000}} 
[2026-09-07 11:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":176058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:44:31] local.INFO: GPS data processed {"connection_id":176058,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:44:31] local.INFO: Acknowledgment sent {"connection_id":176058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:44:40] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:40] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:40] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:44:41] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:41] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:41] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:44:43] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:43] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:43] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:44:45] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:45] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:45] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:44:46] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:46] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:44:46] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:44:46] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7dc938012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7dc938012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:44:46] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7dc938012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:44:46] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:44:46] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7d"} 
[2026-09-07 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922928128001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761459000,"timestamp_ms":1788761459000,"timestamp_seconds":1788761459,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7dc938"} 
[2026-09-07 11: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-07 11:44:46] 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-07 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-07 11:44:46] 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-07 11: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-07 11: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-07 11:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922928128001,"66":12645,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922928128001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:44:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922928128001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:44:47] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:44:47] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:44:52] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:52] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:44:52] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:44:55] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8045f0012ceb65c00713bdb00010011b2f..."} 
[2026-09-07 11:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8045f0012ceb65c00713bdb00010011b2f..."} 
[2026-09-07 11:44:55] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8045f0012ceb65c00713bdb00010011b2f..."} 
[2026-09-07 11:44:55] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:44:55] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:44:55] local.INFO: GPS Element Parsed {"raw_longitude":753624512,"raw_latitude":118734256,"longitude_deg":75.3624512,"latitude_deg":11.8734256,"altitude":16,"angle":283,"satellites":47,"speed":21,"hex_longitude":"2ceb65c0","hex_latitude":"0713bdb0","is_valid_coordinates":true} 
[2026-09-07 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-07 11:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922974720001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181247168053248,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483513834357583872,"note":"Value kept but may cause issues"} 
[2026-09-07 11:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788761622000,"timestamp_ms":1788761622000,"timestamp_seconds":1788761622,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8045f0"} 
[2026-09-07 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-07 11:44:55] 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-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 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-07 11:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:44:55] 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-07 11:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922974720001,"66":27908,"192":206,"83":41472,"24":21,"16":401181247168053248,"44":-1483513834357583872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 11:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922974720001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:44:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 11:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181247168053248,"km_value":401181247168053.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:44:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483513834357583872,"description":"Unknown IO ID 44"} 
[2026-09-07 11:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922974720001,"power":27908,"unknown_192":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-1483513834357583872}} 
[2026-09-07 11:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:44:55] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:44:55] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:45:18] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7e1b40012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7e1b40012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:18] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7e1b40012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:18] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:45:18] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922933504001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761480000,"timestamp_ms":1788761480000,"timestamp_seconds":1788761480,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7e1b40"} 
[2026-09-07 11: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-07 11:45:18] 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-07 11: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 11:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922933504001,"66":12645,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922933504001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:45:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922933504001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:45:18] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:45:18] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:45:25] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a805978012ceb5c800713c100000e012b30..."} 
[2026-09-07 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a805978012ceb5c800713c100000e012b30..."} 
[2026-09-07 11:45:25] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a805978012ceb5c800713c100000e012b30..."} 
[2026-09-07 11:45:25] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:45:25] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":753622144,"raw_latitude":118735104,"longitude_deg":75.3622144,"latitude_deg":11.8735104,"altitude":14,"angle":299,"satellites":48,"speed":17,"hex_longitude":"2ceb5c80","hex_latitude":"0713c100","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922975232001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181367427137536,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484569365520207872,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788761627000,"timestamp_ms":1788761627000,"timestamp_seconds":1788761627,"priority":1,"record_length":96,"hex_timestamp":"000001a07a805978"} 
[2026-09-07 11: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-07 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 11: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-07 11: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-07 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:45:25] 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-07 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922975232001,"66":27865,"192":206,"83":41472,"24":17,"16":401181367427137536,"44":-1484569365520207872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922975232001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:45:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 11:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181367427137536,"km_value":401181367427137.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484569365520207872,"description":"Unknown IO ID 44"} 
[2026-09-07 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922975232001,"power":27865,"unknown_192":206,"unknown_83":41472,"ignition":17,"odometer":null,"unknown_44":-1484569365520207872}} 
[2026-09-07 11:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:45:26] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:45:26] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:45:40] local.INFO: TCP Data received {"connection_id":173334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:40] local.INFO: Processing buffer {"connection_id":173334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:40] local.INFO: IMEI packet received {"connection_id":173334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":173334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:45:45] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:45] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:45] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:45:46] local.INFO: TCP Data received {"connection_id":173334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:46] local.INFO: Processing buffer {"connection_id":173334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:45:46] local.INFO: IMEI packet received {"connection_id":173334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":173334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:45:47] local.INFO: TCP Data received {"connection_id":173334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7e6d48012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7e6d48012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:47] local.INFO: Processing buffer {"connection_id":173334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7e6d48012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:45:47] local.INFO: Packet analysis {"connection_id":173334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:45:47] local.INFO: Extracted packet for processing {"connection_id":173334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 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-07 11:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922938880001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761501000,"timestamp_ms":1788761501000,"timestamp_seconds":1788761501,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7e6d48"} 
[2026-09-07 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-07 11:45:47] 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-07 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 11:45:47] 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-07 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-07 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-07 11:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922938880001,"66":12591,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922938880001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:45:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922938880001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":173334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:45:47] local.INFO: GPS data processed {"connection_id":173334,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:45:47] local.INFO: Acknowledgment sent {"connection_id":173334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:45:50] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:50] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:45:50] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:45:51] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8070e8012ceb52800713c800000d01362f..."} 
[2026-09-07 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8070e8012ceb52800713c800000d01362f..."} 
[2026-09-07 11:45:51] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8070e8012ceb52800713c800000d01362f..."} 
[2026-09-07 11:45:51] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:45:51] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:45:51] local.INFO: GPS Element Parsed {"raw_longitude":753619584,"raw_latitude":118736896,"longitude_deg":75.3619584,"latitude_deg":11.8736896,"altitude":13,"angle":310,"satellites":47,"speed":19,"hex_longitude":"2ceb5280","hex_latitude":"0713c800","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922976512001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181517750992896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487173009054564352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761633000,"timestamp_ms":1788761633000,"timestamp_seconds":1788761633,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8070e8"} 
[2026-09-07 11: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-07 11:45:51] 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-07 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 11:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:45: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-07 11:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922976512001,"66":27919,"37":206,"83":41472,"24":19,"16":401181517750992896,"44":-1487173009054564352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-07 11:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922976512001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:45:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 11:45:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181517750992896,"km_value":401181517750992.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487173009054564352,"description":"Unknown IO ID 44"} 
[2026-09-07 11:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922976512001,"power":27919,"unknown_37":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1487173009054564352}} 
[2026-09-07 11:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:45:51] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:45:51] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:46:18] local.INFO: TCP Data received {"connection_id":173334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7ebf50012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7ebf50012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:46:18] local.INFO: Processing buffer {"connection_id":173334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7ebf50012d1825c00721ba00004f00d12f..."} 
[2026-09-07 11:46:18] local.INFO: Packet analysis {"connection_id":173334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:46:18] local.INFO: Extracted packet for processing {"connection_id":173334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7e"} 
[2026-09-07 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 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-07 11:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922944256001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761522000,"timestamp_ms":1788761522000,"timestamp_seconds":1788761522,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7ebf50"} 
[2026-09-07 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-07 11:46:18] 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-07 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 11:46:18] 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-07 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-07 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-07 11:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922944256001,"66":12548,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922944256001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922944256001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":173334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:46:18] local.INFO: GPS data processed {"connection_id":173334,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:46:18] local.INFO: Acknowledgment sent {"connection_id":173334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:46:22] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8097f8012ceb43c00713d1f0000b01292b..."} 
[2026-09-07 11:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8097f8012ceb43c00713d1f0000b01292b..."} 
[2026-09-07 11:46:22] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8097f8012ceb43c00713d1f0000b01292b..."} 
[2026-09-07 11:46:22] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:46:22] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:46:22] local.INFO: GPS Element Parsed {"raw_longitude":753615808,"raw_latitude":118739440,"longitude_deg":75.3615808,"latitude_deg":11.873944,"altitude":11,"angle":297,"satellites":43,"speed":15,"hex_longitude":"2ceb43c0","hex_latitude":"0713d1f0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922978048001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181736794324992,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489987758821212160,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761643000,"timestamp_ms":1788761643000,"timestamp_seconds":1788761643,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8097f8"} 
[2026-09-07 11: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-07 11:46: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-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:46: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-07 11:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922978048001,"66":27919,"37":206,"83":41472,"24":15,"16":401181736794324992,"44":-1489987758821212160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-07 11:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922978048001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:46:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 11:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181736794324992,"km_value":401181736794325.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489987758821212160,"description":"Unknown IO ID 44"} 
[2026-09-07 11:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922978048001,"power":27919,"unknown_37":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1489987758821212160}} 
[2026-09-07 11:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:46:22] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:46:22] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:46:40] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:40] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:40] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:46:45] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:45] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:45] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:46:46] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:46] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:46:46] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:46:46] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7f1158012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7f1158012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:46:47] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7f1158012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:46:47] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:46:47] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 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-07 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922949632001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761543000,"timestamp_ms":1788761543000,"timestamp_seconds":1788761543,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7f1158"} 
[2026-09-07 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-07 11:46:47] 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-07 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3120562255,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692858,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4063756288,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,242,160,109,45,192,186,79,48,10,66,27,201,1,240,101,227,122,33,4,113,205,37,47,239,49,2,64,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:46:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692779928789975040,"timestamp_seconds":5692779928789975.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922949632001,"66":12558,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922949632001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:46:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922949632001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:46:47] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:46:47] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:46:50] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:50] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:46:50] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:46:51] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a809fc8012ceb40c00713d318000b011c2c..."} 
[2026-09-07 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a809fc8012ceb40c00713d318000b011c2c..."} 
[2026-09-07 11:46:51] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a809fc8012ceb40c00713d318000b011c2c..."} 
[2026-09-07 11:46:51] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:46:51] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":753615040,"raw_latitude":118739736,"longitude_deg":75.361504,"latitude_deg":11.8739736,"altitude":11,"angle":284,"satellites":44,"speed":18,"hex_longitude":"2ceb40c0","hex_latitude":"0713d318","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922980608001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401181775449030656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494139514727043072,"note":"Value kept but may cause issues"} 
[2026-09-07 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761645000,"timestamp_ms":1788761645000,"timestamp_seconds":1788761645,"priority":1,"record_length":96,"hex_timestamp":"000001a07a809fc8"} 
[2026-09-07 11: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-07 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:46: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-07 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922980608001,"66":27887,"37":206,"83":41472,"24":18,"16":401181775449030656,"44":-1494139514727043072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-09-07 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922980608001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:46:51] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 11:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401181775449030656,"km_value":401181775449030.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494139514727043072,"description":"Unknown IO ID 44"} 
[2026-09-07 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922980608001,"power":27887,"unknown_37":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-1494139514727043072}} 
[2026-09-07 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:46:51] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:46:51] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:17] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a7f6360012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a7f6360012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:47:17] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a7f6360012d1825c00721ba00004f00d130..."} 
[2026-09-07 11:47:17] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:47:17] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a7f"} 
[2026-09-07 11:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650816,"longitude_deg":75.6557248,"latitude_deg":11.9650816,"altitude":79,"angle":209,"satellites":48,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721ba00","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922955008001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280720841572352,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911706624,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788761564000,"timestamp_ms":1788761564000,"timestamp_seconds":1788761564,"priority":1,"record_length":96,"hex_timestamp":"000001a07a7f6360"} 
[2026-09-07 11: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-07 11:47:17] 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-07 11: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249388637831412224,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3120562255,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3221692858,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199530,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4063756288,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,242,160,191,45,192,186,79,47,10,66,109,48,27,1,240,101,227,122,33,4,113,205,119,37,49,239,2,64,7,106,62,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:47:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692779933084942336,"timestamp_seconds":5692779933084942.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11: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-07 11:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922955008001,"66":12558,"105":206,"83":41984,"24":0,"16":18280720841572352,"45":1740007967911706624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922955008001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:47:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280720841572352,"km_value":18280720841572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911706624,"description":"Unknown IO ID 45"} 
[2026-09-07 11:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922955008001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967911706624}} 
[2026-09-07 11:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:47:17] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:47:17] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:22] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a80e618012ceb1dc00713d970000d011323..."} 
[2026-09-07 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a80e618012ceb1dc00713d970000d011323..."} 
[2026-09-07 11:47:22] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a80e618012ceb1dc00713d970000d011323..."} 
[2026-09-07 11:47:22] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:47:22] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a80"} 
[2026-09-07 11:47:22] local.INFO: GPS Element Parsed {"raw_longitude":753606080,"raw_latitude":118741360,"longitude_deg":75.360608,"latitude_deg":11.874136,"altitude":13,"angle":275,"satellites":35,"speed":19,"hex_longitude":"2ceb1dc0","hex_latitude":"0713d970","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457922981120001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401182204945760256,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1494983939657099264,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761663000,"timestamp_ms":1788761663000,"timestamp_seconds":1788761663,"priority":1,"record_length":96,"hex_timestamp":"000001a07a80e618"} 
[2026-09-07 11: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-07 11:47: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-07 11: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 11:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:47: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-07 11:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457922981120001,"66":27865,"38":206,"83":41472,"24":19,"16":401182204945760256,"44":-1494983939657099264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 11:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457922981120001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:47:22] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 11:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 11:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401182204945760256,"km_value":401182204945760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1494983939657099264,"description":"Unknown IO ID 44"} 
[2026-09-07 11:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457922981120001,"power":27865,"unknown_38":206,"unknown_83":41472,"ignition":19,"odometer":null,"unknown_44":-1494983939657099264}} 
[2026-09-07 11:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:47:22] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:47:22] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:45] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:45] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:45] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:47:46] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:46] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:46] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:47:50] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:50] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:47:50] local.INFO: IMEI packet received {"connection_id":173584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":173584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:47:50] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:50] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:47:50] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:47:51] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a82e9b8012ceaa6c0071468e0000901472e..."} 
[2026-09-07 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a82e9b8012ceaa6c0071468e0000901472e..."} 
[2026-09-07 11:47:51] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a82e9b8012ceaa6c0071468e0000901472e..."} 
[2026-09-07 11:47:51] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:51] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":753575616,"raw_latitude":118778080,"longitude_deg":75.3575616,"latitude_deg":11.877808,"altitude":9,"angle":327,"satellites":46,"speed":26,"hex_longitude":"2ceaa6c0","hex_latitude":"071468e0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923015168001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401184592947576832,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1533053430249474048,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761795000,"timestamp_ms":1788761795000,"timestamp_seconds":1788761795,"priority":1,"record_length":96,"hex_timestamp":"000001a07a82e9b8"} 
[2026-09-07 11: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-07 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:47: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-07 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923015168001,"66":27995,"82":206,"83":41216,"24":26,"16":401184592947576832,"44":-1533053430249474048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923015168001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401184592947576832,"km_value":401184592947576.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1533053430249474048,"description":"Unknown IO ID 44"} 
[2026-09-07 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923015168001,"power":27995,"unknown_82":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1533053430249474048}} 
[2026-09-07 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:47:51] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:47:51] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:51] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a82ab38012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a82ab38012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:51] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a82ab38012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:51] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:51] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650160,"longitude_deg":75.6556864,"latitude_deg":11.965016,"altitude":77,"angle":185,"satellites":47,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b770","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923010048001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280759496278016,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446495232,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47: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-07 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761779000,"timestamp_ms":1788761779000,"timestamp_seconds":1788761779,"priority":1,"record_length":96,"hex_timestamp":"000001a07a82ab38"} 
[2026-09-07 11: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-07 11:47:51] 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-07 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 11:47:51] 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-07 11: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-07 11: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-07 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923010048001,"66":12439,"105":206,"83":41984,"24":0,"16":18280759496278016,"45":1739585755446495232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923010048001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280759496278016,"km_value":18280759496278.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446495232,"description":"Unknown IO ID 45"} 
[2026-09-07 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923010048001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446495232}} 
[2026-09-07 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:47:51] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:47:51] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:52] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a82fd40012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a82fd40012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:52] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a82fd40012d1824400721b770004d00b92f..."} 
[2026-09-07 11:47:52] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:52] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a82"} 
[2026-09-07 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650160,"longitude_deg":75.6556864,"latitude_deg":11.965016,"altitude":77,"angle":185,"satellites":47,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721b770","is_valid_coordinates":true} 
[2026-09-07 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-07 11:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923015424001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280759496278016,"note":"Value kept but may cause issues"} 
[2026-09-07 11:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446472704,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788761800000,"timestamp_ms":1788761800000,"timestamp_seconds":1788761800,"priority":1,"record_length":96,"hex_timestamp":"000001a07a82fd40"} 
[2026-09-07 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-07 11:47: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-07 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 11:47: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-07 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-07 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-07 11:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923015424001,"66":12385,"105":206,"83":41984,"24":0,"16":18280759496278016,"45":1739585755446472704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923015424001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:47:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:47:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280759496278016,"km_value":18280759496278.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446472704,"description":"Unknown IO ID 45"} 
[2026-09-07 11:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923015424001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446472704}} 
[2026-09-07 11:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:47:52] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:47:52] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:47:57] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:47:57] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:47:57] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:48:22] local.INFO: TCP Data received {"connection_id":173584,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a832068012cea944007148748000901492a..."} 
[2026-09-07 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a832068012cea944007148748000901492a..."} 
[2026-09-07 11:48:22] local.INFO: Processing buffer {"connection_id":173584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a832068012cea944007148748000901492a..."} 
[2026-09-07 11:48:22] local.INFO: Packet analysis {"connection_id":173584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:22] local.INFO: Extracted packet for processing {"connection_id":173584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:22] local.INFO: GPS Element Parsed {"raw_longitude":753570880,"raw_latitude":118785864,"longitude_deg":75.357088,"latitude_deg":11.8785864,"altitude":9,"angle":329,"satellites":42,"speed":21,"hex_longitude":"2cea9440","hex_latitude":"07148748","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923019520001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401185031034241024,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1538331086060724224,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761809000,"timestamp_ms":1788761809000,"timestamp_seconds":1788761809,"priority":1,"record_length":96,"hex_timestamp":"000001a07a832068"} 
[2026-09-07 11: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-07 11:48: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-07 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 11:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:48: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-07 11:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923019520001,"66":27995,"82":206,"83":41216,"24":21,"16":401185031034241024,"44":-1538331086060724224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-09-07 11:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923019520001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:48:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 11:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401185031034241024,"km_value":401185031034241.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1538331086060724224,"description":"Unknown IO ID 44"} 
[2026-09-07 11:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923019520001,"power":27995,"unknown_82":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1538331086060724224}} 
[2026-09-07 11:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":173584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:48:22] local.INFO: GPS data processed {"connection_id":173584,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:48:22] local.INFO: Acknowledgment sent {"connection_id":173584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:48:23] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a832c20012d1823000721b678004e00d02f..."} 
[2026-09-07 11:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a832c20012d1823000721b678004e00d02f..."} 
[2026-09-07 11:48:23] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a832c20012d1823000721b678004e00d02f..."} 
[2026-09-07 11:48:23] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:23] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":47,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923020800001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446472704,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788761812000,"timestamp_ms":1788761812000,"timestamp_seconds":1788761812,"priority":1,"record_length":96,"hex_timestamp":"000001a07a832c20"} 
[2026-09-07 11: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-07 11:48:23] 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-07 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:48: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-07 11: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-07 11: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-07 11:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923020800001,"66":12439,"105":206,"83":41984,"24":1,"16":18280776676147200,"45":1739585755446472704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923020800001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:48:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446472704,"description":"Unknown IO ID 45"} 
[2026-09-07 11:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923020800001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739585755446472704}} 
[2026-09-07 11:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:48:23] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:48:23] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:48:41] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:41] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:41] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:48:45] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:45] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:45] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:48:46] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:46] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:48:46] local.INFO: IMEI packet received {"connection_id":173336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":173336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:48:47] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a837e28012d1823000721b678004e00d02e..."} 
[2026-09-07 11:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a837e28012d1823000721b678004e00d02e..."} 
[2026-09-07 11:48:47] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a837e28012d1823000721b678004e00d02e..."} 
[2026-09-07 11:48:47] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:47] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923023872001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788761833000,"timestamp_ms":1788761833000,"timestamp_seconds":1788761833,"priority":1,"record_length":96,"hex_timestamp":"000001a07a837e28"} 
[2026-09-07 11: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-07 11:48:47] 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-07 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 11:48:47] 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-07 11: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-07 11: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-07 11:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923023872001,"66":12428,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923023872001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:48:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:48:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923023872001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:48:47] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:48:47] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:48:50] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:50] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:48:50] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:48:51] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a834390012cea8b80071493b00008013b28..."} 
[2026-09-07 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a834390012cea8b80071493b00008013b28..."} 
[2026-09-07 11:48:51] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a834390012cea8b80071493b00008013b28..."} 
[2026-09-07 11:48:51] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:51] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":753568640,"raw_latitude":118789040,"longitude_deg":75.356864,"latitude_deg":11.878904,"altitude":8,"angle":315,"satellites":40,"speed":21,"hex_longitude":"2cea8b80","hex_latitude":"071493b0","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923023104001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401185220012802048,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1543538373127878656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761818000,"timestamp_ms":1788761818000,"timestamp_seconds":1788761818,"priority":1,"record_length":96,"hex_timestamp":"000001a07a834390"} 
[2026-09-07 11: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-07 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 11:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:48: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-07 11:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923023104001,"66":27343,"122":206,"83":41216,"24":21,"16":401185220012802048,"44":-1543538373127878656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-09-07 11:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923023104001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:48:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-07 11:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401185220012802048,"km_value":401185220012802.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1543538373127878656,"description":"Unknown IO ID 44"} 
[2026-09-07 11:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923023104001,"power":27343,"unknown_122":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1543538373127878656}} 
[2026-09-07 11:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:48:51] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:48:51] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:49:18] local.INFO: TCP Data received {"connection_id":173336,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a83d030012d1823000721b678004e00d02d..."} 
[2026-09-07 11:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a83d030012d1823000721b678004e00d02d..."} 
[2026-09-07 11:49:18] local.INFO: Processing buffer {"connection_id":173336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a83d030012d1823000721b678004e00d02d..."} 
[2026-09-07 11:49:18] local.INFO: Packet analysis {"connection_id":173336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:18] local.INFO: Extracted packet for processing {"connection_id":173336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923029248001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761854000,"timestamp_ms":1788761854000,"timestamp_seconds":1788761854,"priority":1,"record_length":96,"hex_timestamp":"000001a07a83d030"} 
[2026-09-07 11:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:49:18] 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-07 11:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 11:49:18] 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-07 11:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923029248001,"66":12385,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923029248001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:49:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923029248001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":173336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:49:18] local.INFO: GPS data processed {"connection_id":173336,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:49:18] local.INFO: Acknowledgment sent {"connection_id":173336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:49:22] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a837a40012cea6fc00714aa18000e01342d..."} 
[2026-09-07 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a837a40012cea6fc00714aa18000e01342d..."} 
[2026-09-07 11:49:22] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a837a40012cea6fc00714aa18000e01342d..."} 
[2026-09-07 11:49:22] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:22] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":753561536,"raw_latitude":118794776,"longitude_deg":75.3561536,"latitude_deg":11.8794776,"altitude":14,"angle":308,"satellites":45,"speed":24,"hex_longitude":"2cea6fc0","hex_latitude":"0714aa18","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923025408001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401185658099466240,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546001279173283840,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761832000,"timestamp_ms":1788761832000,"timestamp_seconds":1788761832,"priority":1,"record_length":96,"hex_timestamp":"000001a07a837a40"} 
[2026-09-07 11: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-07 11:49: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-07 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 11:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49: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-07 11:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923025408001,"66":27984,"122":206,"83":41216,"24":24,"16":401185658099466240,"44":-1546001279173283840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-09-07 11:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923025408001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:49:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-07 11:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401185658099466240,"km_value":401185658099466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546001279173283840,"description":"Unknown IO ID 44"} 
[2026-09-07 11:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923025408001,"power":27984,"unknown_122":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1546001279173283840}} 
[2026-09-07 11:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:49:22] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:49:22] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:49:41] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:41] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:41] local.INFO: IMEI packet received {"connection_id":176061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":176061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:49:46] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:46] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:49:46] local.INFO: IMEI packet received {"connection_id":176061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":176061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:49:46] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a842238012d1823000721b678004e00d02c..."} 
[2026-09-07 11:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a842238012d1823000721b678004e00d02c..."} 
[2026-09-07 11:49:46] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a842238012d1823000721b678004e00d02c..."} 
[2026-09-07 11:49:46] local.INFO: Packet analysis {"connection_id":176061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:49:46] local.INFO: Extracted packet for processing {"connection_id":176061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923034624001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761875000,"timestamp_ms":1788761875000,"timestamp_seconds":1788761875,"priority":1,"record_length":96,"hex_timestamp":"000001a07a842238"} 
[2026-09-07 11: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-07 11:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 11:49:46] 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-07 11: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-07 11: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-07 11:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923034624001,"66":12428,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923034624001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:49:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923034624001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":176061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:49:47] local.INFO: GPS data processed {"connection_id":176061,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:49:47] local.INFO: Acknowledgment sent {"connection_id":176061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:49:50] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:50] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:50] local.INFO: IMEI packet received {"connection_id":173337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":173337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:49:55] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:55] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:49:55] local.INFO: IMEI packet received {"connection_id":173337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":173337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:49:56] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a83b4d8012cea55800714c1e80011013c2d..."} 
[2026-09-07 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a83b4d8012cea55800714c1e80011013c2d..."} 
[2026-09-07 11:49:56] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a83b4d8012cea55800714c1e80011013c2d..."} 
[2026-09-07 11:49:56] local.INFO: Packet analysis {"connection_id":173337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:56] local.INFO: Extracted packet for processing {"connection_id":173337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":753554816,"raw_latitude":118800872,"longitude_deg":75.3554816,"latitude_deg":11.8800872,"altitude":17,"angle":316,"satellites":45,"speed":28,"hex_longitude":"2cea5580","hex_latitude":"0714c1e8","is_valid_coordinates":true} 
[2026-09-07 11:49: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-07 11:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923028992001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401186091891163136,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1553812209775536128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788761847000,"timestamp_ms":1788761847000,"timestamp_seconds":1788761847,"priority":1,"record_length":96,"hex_timestamp":"000001a07a83b4d8"} 
[2026-09-07 11:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 11:49:56] 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-07 11:49: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-07 11:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49:56] 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-07 11:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923028992001,"66":27843,"122":206,"83":41216,"24":28,"16":401186091891163136,"44":-1553812209775536128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-09-07 11:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923028992001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:49:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-07 11:49:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401186091891163136,"km_value":401186091891163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1553812209775536128,"description":"Unknown IO ID 44"} 
[2026-09-07 11:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923028992001,"power":27843,"unknown_122":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1553812209775536128}} 
[2026-09-07 11:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":173337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:49:56] local.INFO: GPS data processed {"connection_id":173337,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:49:56] local.INFO: Acknowledgment sent {"connection_id":173337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:49:58] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a83e3b8012cea3dc00714dc38001001422c..."} 
[2026-09-07 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a83e3b8012cea3dc00714dc38001001422c..."} 
[2026-09-07 11:49:58] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a83e3b8012cea3dc00714dc38001001422c..."} 
[2026-09-07 11:49:58] local.INFO: Packet analysis {"connection_id":173337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:58] local.INFO: Extracted packet for processing {"connection_id":173337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a83"} 
[2026-09-07 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":753548736,"raw_latitude":118807608,"longitude_deg":75.3548736,"latitude_deg":11.8807608,"altitude":16,"angle":322,"satellites":44,"speed":32,"hex_longitude":"2cea3dc0","hex_latitude":"0714dc38","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923032832001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401186529977827328,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561200927912630272,"note":"Value kept but may cause issues"} 
[2026-09-07 11:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788761859000,"timestamp_ms":1788761859000,"timestamp_seconds":1788761859,"priority":1,"record_length":96,"hex_timestamp":"000001a07a83e3b8"} 
[2026-09-07 11: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-07 11:49:58] 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-07 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 11:49:58] 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-07 11: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-07 11: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-07 11:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:49:58] 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-07 11:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923032832001,"66":27865,"122":206,"83":41216,"24":32,"16":401186529977827328,"44":-1561200927912630272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-09-07 11:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923032832001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:49:58] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-09-07 11:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401186529977827328,"km_value":401186529977827.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561200927912630272,"description":"Unknown IO ID 44"} 
[2026-09-07 11:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923032832001,"power":27865,"unknown_122":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1561200927912630272}} 
[2026-09-07 11:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":173337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:49:59] local.INFO: GPS data processed {"connection_id":173337,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:49:59] local.INFO: Acknowledgment sent {"connection_id":173337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:50:18] local.INFO: TCP Data received {"connection_id":176061,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a847440012d1823000721b678004e00d02e..."} 
[2026-09-07 11:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a847440012d1823000721b678004e00d02e..."} 
[2026-09-07 11:50:18] local.INFO: Processing buffer {"connection_id":176061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a847440012d1823000721b678004e00d02e..."} 
[2026-09-07 11:50:18] local.INFO: Packet analysis {"connection_id":176061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:18] local.INFO: Extracted packet for processing {"connection_id":176061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923040000001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761896000,"timestamp_ms":1788761896000,"timestamp_seconds":1788761896,"priority":1,"record_length":96,"hex_timestamp":"000001a07a847440"} 
[2026-09-07 11:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:50:18] 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-07 11:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 11:50:18] 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-07 11:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923040000001,"66":12428,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923040000001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:50:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923040000001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":176061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:50:18] local.INFO: GPS data processed {"connection_id":176061,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:50:18] local.INFO: Acknowledgment sent {"connection_id":176061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:50:30] local.INFO: TCP Data received {"connection_id":173337,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a841298012cea27000714f778000e013f29..."} 
[2026-09-07 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a841298012cea27000714f778000e013f29..."} 
[2026-09-07 11:50:30] local.INFO: Processing buffer {"connection_id":173337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a841298012cea27000714f778000e013f29..."} 
[2026-09-07 11:50:30] local.INFO: Packet analysis {"connection_id":173337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:30] local.INFO: Extracted packet for processing {"connection_id":173337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":753542912,"raw_latitude":118814584,"longitude_deg":75.3542912,"latitude_deg":11.8814584,"altitude":14,"angle":319,"satellites":41,"speed":30,"hex_longitude":"2cea2700","hex_latitude":"0714f778","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923035904001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401186963769524224,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1567885958607783936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 11:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788761871000,"timestamp_ms":1788761871000,"timestamp_seconds":1788761871,"priority":1,"record_length":96,"hex_timestamp":"000001a07a841298"} 
[2026-09-07 11: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-07 11:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 11:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 11: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-07 11: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-07 11:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:50:30] 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-07 11:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923035904001,"66":27974,"83":41216,"24":30,"16":401186963769524224,"44":-1567885958607783936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-07 11:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923035904001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:50:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401186963769524224,"km_value":401186963769524.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1567885958607783936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:50:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923035904001,"power":27974,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1567885958607783936}} 
[2026-09-07 11:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":173337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:50:30] local.INFO: GPS data processed {"connection_id":173337,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:50:30] local.INFO: Acknowledgment sent {"connection_id":173337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:50:40] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:40] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:40] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:50:41] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:41] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:41] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:50:45] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:45] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:45] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:50:46] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:46] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:50:46] local.INFO: IMEI packet received {"connection_id":173338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:50:46] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a84c648012d1823000721b678004e00d02c..."} 
[2026-09-07 11:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a84c648012d1823000721b678004e00d02c..."} 
[2026-09-07 11:50:46] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a84c648012d1823000721b678004e00d02c..."} 
[2026-09-07 11:50:46] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:46] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923045376001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761917000,"timestamp_ms":1788761917000,"timestamp_seconds":1788761917,"priority":1,"record_length":96,"hex_timestamp":"000001a07a84c648"} 
[2026-09-07 11: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-07 11:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 11:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923045376001,"66":12428,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923045376001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:50:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923045376001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:50:47] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:50:47] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:50:50] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:50] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:50:50] local.INFO: IMEI packet received {"connection_id":173586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":173586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:50:51] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a844560012cea108007151360000b014229..."} 
[2026-09-07 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a844560012cea108007151360000b014229..."} 
[2026-09-07 11:50:51] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a844560012cea108007151360000b014229..."} 
[2026-09-07 11:50:51] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:51] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":753537152,"raw_latitude":118821728,"longitude_deg":75.3537152,"latitude_deg":11.8821728,"altitude":11,"angle":322,"satellites":41,"speed":22,"hex_longitude":"2cea1080","hex_latitude":"07151360","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923038976001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401187406151155712,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574289514326165504,"note":"Value kept but may cause issues"} 
[2026-09-07 11:50:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761884000,"timestamp_ms":1788761884000,"timestamp_seconds":1788761884,"priority":1,"record_length":96,"hex_timestamp":"000001a07a844560"} 
[2026-09-07 11: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-07 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:50: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-07 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923038976001,"66":28006,"83":41216,"24":22,"16":401187406151155712,"44":-1574289514326165504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-07 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923038976001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401187406151155712,"km_value":401187406151155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574289514326165504,"description":"Unknown IO ID 44"} 
[2026-09-07 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923038976001,"power":28006,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1574289514326165504}} 
[2026-09-07 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:50:51] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:50:51] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:51:18] local.INFO: TCP Data received {"connection_id":173338,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a851850012d1823000721b678004e00d02e..."} 
[2026-09-07 11:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a851850012d1823000721b678004e00d02e..."} 
[2026-09-07 11:51:18] local.INFO: Processing buffer {"connection_id":173338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a851850012d1823000721b678004e00d02e..."} 
[2026-09-07 11:51:18] local.INFO: Packet analysis {"connection_id":173338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:51:18] local.INFO: Extracted packet for processing {"connection_id":173338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649912,"longitude_deg":75.6556544,"latitude_deg":11.9649912,"altitude":78,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b678","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923050752001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280776676147200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761938000,"timestamp_ms":1788761938000,"timestamp_seconds":1788761938,"priority":1,"record_length":96,"hex_timestamp":"000001a07a851850"} 
[2026-09-07 11: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-07 11:51:18] 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-07 11: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 11:51:18] 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-07 11: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-07 11: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-07 11:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923050752001,"66":12232,"105":206,"83":41984,"24":0,"16":18280776676147200,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923050752001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:51:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280776676147200,"km_value":18280776676147.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923050752001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":173338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:51:18] local.INFO: GPS data processed {"connection_id":173338,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:51:18] local.INFO: Acknowledgment sent {"connection_id":173338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:51:22] local.INFO: TCP Data received {"connection_id":173586,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8487c8012ce9fb8007153200000c01472d..."} 
[2026-09-07 11:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8487c8012ce9fb8007153200000c01472d..."} 
[2026-09-07 11:51:22] local.INFO: Processing buffer {"connection_id":173586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8487c8012ce9fb8007153200000c01472d..."} 
[2026-09-07 11:51:22] local.INFO: Packet analysis {"connection_id":173586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:51:22] local.INFO: Extracted packet for processing {"connection_id":173586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":753531776,"raw_latitude":118829568,"longitude_deg":75.3531776,"latitude_deg":11.8829568,"altitude":12,"angle":327,"satellites":45,"speed":26,"hex_longitude":"2ce9fb80","hex_latitude":"07153200","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923042304001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401187865712656384,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580622701300326400,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788761901000,"timestamp_ms":1788761901000,"timestamp_seconds":1788761901,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8487c8"} 
[2026-09-07 11: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-07 11:51: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-07 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 11:51:22] 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-07 11: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-07 11: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-07 11:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:51: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-07 11:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923042304001,"66":27930,"123":206,"83":41216,"24":26,"16":401187865712656384,"44":-1580622701300326400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-09-07 11:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923042304001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:51:22] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-07 11:51:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401187865712656384,"km_value":401187865712656.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580622701300326400,"description":"Unknown IO ID 44"} 
[2026-09-07 11:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923042304001,"power":27930,"unknown_123":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1580622701300326400}} 
[2026-09-07 11:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":173586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:51:22] local.INFO: GPS data processed {"connection_id":173586,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:51:22] local.INFO: Acknowledgment sent {"connection_id":173586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:51:40] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:40] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:40] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:51:41] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:41] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:41] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:51:45] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:45] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:45] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:51:46] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:46] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:51:46] local.INFO: IMEI packet received {"connection_id":176062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":176062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:51:46] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a856a58012d1822400721b448005000d130..."} 
[2026-09-07 11:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a856a58012d1822400721b448005000d130..."} 
[2026-09-07 11:51:46] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a856a58012d1822400721b448005000d130..."} 
[2026-09-07 11:51:46] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:51:46] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649352,"longitude_deg":75.6556352,"latitude_deg":11.9649352,"altitude":80,"angle":209,"satellites":48,"speed":2,"hex_longitude":"2d182240","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923056128001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280815330852864,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725520896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788761959000,"timestamp_ms":1788761959000,"timestamp_seconds":1788761959,"priority":1,"record_length":96,"hex_timestamp":"000001a07a856a58"} 
[2026-09-07 11: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-07 11:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923056128001,"66":12374,"105":206,"83":41984,"24":2,"16":18280815330852864,"45":1739233911725520896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923056128001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:51:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280815330852864,"km_value":18280815330852.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725520896,"description":"Unknown IO ID 45"} 
[2026-09-07 11:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923056128001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725520896}} 
[2026-09-07 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:51:47] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:51:47] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:51:50] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:50] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:51:50] local.INFO: IMEI packet received {"connection_id":173339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:51:51] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a849f38012ce9f38007154090000f01572b..."} 
[2026-09-07 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a849f38012ce9f38007154090000f01572b..."} 
[2026-09-07 11:51:51] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a849f38012ce9f38007154090000f01572b..."} 
[2026-09-07 11:51:51] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:51:51] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a84"} 
[2026-09-07 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":753529728,"raw_latitude":118833296,"longitude_deg":75.3529728,"latitude_deg":11.8833296,"altitude":15,"angle":343,"satellites":43,"speed":28,"hex_longitude":"2ce9f380","hex_latitude":"07154090","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923046656001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401188071871086592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586533675809243136,"note":"Value kept but may cause issues"} 
[2026-09-07 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788761907000,"timestamp_ms":1788761907000,"timestamp_seconds":1788761907,"priority":1,"record_length":96,"hex_timestamp":"000001a07a849f38"} 
[2026-09-07 11: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-07 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 11:51:51] 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-07 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11: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-07 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:51: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-07 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923046656001,"66":27984,"123":206,"83":41216,"24":28,"16":401188071871086592,"44":-1586533675809243136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-09-07 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923046656001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:51:51] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-09-07 11:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401188071871086592,"km_value":401188071871086.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586533675809243136,"description":"Unknown IO ID 44"} 
[2026-09-07 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923046656001,"power":27984,"unknown_123":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1586533675809243136}} 
[2026-09-07 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:51:51] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:51:51] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:18] local.INFO: TCP Data received {"connection_id":176062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a85bc60012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a85bc60012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:52:18] local.INFO: Processing buffer {"connection_id":176062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a85bc60012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:52:18] local.INFO: Packet analysis {"connection_id":176062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:52:18] local.INFO: Extracted packet for processing {"connection_id":176062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a85"} 
[2026-09-07 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":79,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-09-07 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923061504001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280823920787456,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492844544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788761980000,"timestamp_ms":1788761980000,"timestamp_seconds":1788761980,"priority":1,"record_length":96,"hex_timestamp":"000001a07a85bc60"} 
[2026-09-07 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:52:18] 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-07 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 11:52:18] 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-07 11:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923061504001,"66":12232,"105":206,"83":41984,"24":0,"16":18280823920787456,"45":1739022805492844544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923061504001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280823920787456,"km_value":18280823920787.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492844544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923061504001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492844544}} 
[2026-09-07 11:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":176062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:18] local.INFO: GPS data processed {"connection_id":176062,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:18] local.INFO: Acknowledgment sent {"connection_id":176062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:22] local.INFO: TCP Data received {"connection_id":173339,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a873b30012ce99dc00716dd38000e01672e..."} 
[2026-09-07 11:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a873b30012ce99dc00716dd38000e01672e..."} 
[2026-09-07 11:52:22] local.INFO: Processing buffer {"connection_id":173339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a873b30012ce99dc00716dd38000e01672e..."} 
[2026-09-07 11:52:22] local.INFO: Packet analysis {"connection_id":173339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:22] local.INFO: Extracted packet for processing {"connection_id":173339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:22] local.INFO: GPS Element Parsed {"raw_longitude":753507776,"raw_latitude":118938936,"longitude_deg":75.3507776,"latitude_deg":11.8938936,"altitude":14,"angle":359,"satellites":46,"speed":19,"hex_longitude":"2ce99dc0","hex_latitude":"0716dd38","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923087360001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401193328911056896,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612499742385111040,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762078000,"timestamp_ms":1788762078000,"timestamp_seconds":1788762078,"priority":1,"record_length":96,"hex_timestamp":"000001a07a873b30"} 
[2026-09-07 11: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-07 11:52: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-07 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 11:52: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-07 11: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-07 11: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-07 11:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52: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-07 11:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923087360001,"66":27974,"23":206,"83":41216,"24":19,"16":401193328911056896,"44":-1612499742385111040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 11:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923087360001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:22] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 11:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401193328911056896,"km_value":401193328911056.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612499742385111040,"description":"Unknown IO ID 44"} 
[2026-09-07 11:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923087360001,"power":27974,"unknown_23":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1612499742385111040}} 
[2026-09-07 11:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":173339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:22] local.INFO: GPS data processed {"connection_id":173339,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:22] local.INFO: Acknowledgment sent {"connection_id":173339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:46] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:46] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:46] local.INFO: IMEI packet received {"connection_id":174693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":174693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:52:48] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:48] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:52:48] local.INFO: IMEI packet received {"connection_id":174693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:52:49] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a860e68012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a860e68012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:49] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a860e68012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:49] local.INFO: Packet analysis {"connection_id":174693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:52:49] local.INFO: Extracted packet for processing {"connection_id":174693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":79,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923066880001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280823920787456,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-09-07 11: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-07 11:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788762001000,"timestamp_ms":1788762001000,"timestamp_seconds":1788762001,"priority":1,"record_length":96,"hex_timestamp":"000001a07a860e68"} 
[2026-09-07 11: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-07 11:52:49] 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-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923066880001,"66":12374,"105":206,"83":41984,"24":0,"16":18280823920787456,"45":1738882068004460544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923066880001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280823920787456,"km_value":18280823920787.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923066880001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-09-07 11:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:49] local.INFO: GPS data processed {"connection_id":174693,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:49] local.INFO: Acknowledgment sent {"connection_id":174693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:50] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:50] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:50] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:52:51] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a866070012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a866070012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:51] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a866070012d1821c00721b3d8004f00d430..."} 
[2026-09-07 11:52:51] local.INFO: Packet analysis {"connection_id":174693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:52:51] local.INFO: Extracted packet for processing {"connection_id":174693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":79,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923072256001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280823920787456,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52: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-07 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762022000,"timestamp_ms":1788762022000,"timestamp_seconds":1788762022,"priority":1,"record_length":96,"hex_timestamp":"000001a07a866070"} 
[2026-09-07 11: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-07 11:52:51] 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-07 11: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 11:52:51] 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-07 11: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-07 11: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-07 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923072256001,"66":12341,"105":206,"83":41984,"24":0,"16":18280823920787456,"45":1738882068004460544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923072256001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280823920787456,"km_value":18280823920787.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923072256001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-09-07 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":174693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:51] local.INFO: GPS data processed {"connection_id":174693,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:51] local.INFO: Acknowledgment sent {"connection_id":174693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:52] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:52] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:52:52] local.INFO: IMEI packet received {"connection_id":173341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:52:53] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8752a0012ce99bc00716ea70000e015b2d..."} 
[2026-09-07 11:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8752a0012ce99bc00716ea70000e015b2d..."} 
[2026-09-07 11:52:53] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8752a0012ce99bc00716ea70000e015b2d..."} 
[2026-09-07 11:52:53] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:53] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":753507264,"raw_latitude":118942320,"longitude_deg":75.3507264,"latitude_deg":11.894232,"altitude":14,"angle":347,"satellites":45,"speed":23,"hex_longitude":"2ce99bc0","hex_latitude":"0716ea70","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923091968001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401193496414781440,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612921954847868928,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788762084000,"timestamp_ms":1788762084000,"timestamp_seconds":1788762084,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8752a0"} 
[2026-09-07 11: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-07 11:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 11:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52: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-07 11:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923091968001,"66":27930,"23":206,"83":41216,"24":23,"16":401193496414781440,"44":-1612921954847868928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 11:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923091968001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:53] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 11:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401193496414781440,"km_value":401193496414781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612921954847868928,"description":"Unknown IO ID 44"} 
[2026-09-07 11:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923091968001,"power":27930,"unknown_23":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1612921954847868928}} 
[2026-09-07 11:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:53] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:53] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:52:56] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a878d38012ce9944007170db8001101572c..."} 
[2026-09-07 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a878d38012ce9944007170db8001101572c..."} 
[2026-09-07 11:52:56] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a878d38012ce9944007170db8001101572c..."} 
[2026-09-07 11:52:56] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:56] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":753505344,"raw_latitude":118951352,"longitude_deg":75.3505344,"latitude_deg":11.8951352,"altitude":17,"angle":343,"satellites":44,"speed":23,"hex_longitude":"2ce99440","hex_latitude":"07170db8","is_valid_coordinates":true} 
[2026-09-07 11:52: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-07 11:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923093504001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401193943091380224,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613484904800423936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788762099000,"timestamp_ms":1788762099000,"timestamp_seconds":1788762099,"priority":1,"record_length":96,"hex_timestamp":"000001a07a878d38"} 
[2026-09-07 11:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 11:52:56] 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-07 11:52: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-07 11:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:52:56] 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-07 11:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923093504001,"66":27908,"23":206,"83":41216,"24":23,"16":401193943091380224,"44":-1613484904800423936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 11:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923093504001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:52:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 11:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401193943091380224,"km_value":401193943091380.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613484904800423936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923093504001,"power":27908,"unknown_23":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1613484904800423936}} 
[2026-09-07 11:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:52:56] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:52:56] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:53:22] local.INFO: TCP Data received {"connection_id":174693,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a86b278012d1821c00721b3d8004f00d42e..."} 
[2026-09-07 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a86b278012d1821c00721b3d8004f00d42e..."} 
[2026-09-07 11:53:22] local.INFO: Processing buffer {"connection_id":174693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a86b278012d1821c00721b3d8004f00d42e..."} 
[2026-09-07 11:53:22] local.INFO: Packet analysis {"connection_id":174693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:53:22] local.INFO: Extracted packet for processing {"connection_id":174693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a86"} 
[2026-09-07 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":79,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923077632001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280823920787456,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53: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-07 11:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762043000,"timestamp_ms":1788762043000,"timestamp_seconds":1788762043,"priority":1,"record_length":96,"hex_timestamp":"000001a07a86b278"} 
[2026-09-07 11: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-07 11:53:22] 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-07 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 11:53:22] 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-07 11: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-07 11: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-07 11:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923077632001,"66":12298,"105":206,"83":41984,"24":0,"16":18280823920787456,"45":1738882068004460544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923077632001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:53:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280823920787456,"km_value":18280823920787.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923077632001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-09-07 11:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":174693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:53:22] local.INFO: GPS data processed {"connection_id":174693,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:53:22] local.INFO: Acknowledgment sent {"connection_id":174693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:53:27] local.INFO: TCP Data received {"connection_id":173341,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a87a4a8012ce98f0007171a200012014a2b..."} 
[2026-09-07 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a87a4a8012ce98f0007171a200012014a2b..."} 
[2026-09-07 11:53:27] local.INFO: Processing buffer {"connection_id":173341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a87a4a8012ce98f0007171a200012014a2b..."} 
[2026-09-07 11:53:27] local.INFO: Packet analysis {"connection_id":173341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:53:27] local.INFO: Extracted packet for processing {"connection_id":173341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":753504000,"raw_latitude":118954528,"longitude_deg":75.3504,"latitude_deg":11.8954528,"altitude":18,"angle":330,"satellites":43,"speed":25,"hex_longitude":"2ce98f00","hex_latitude":"07171a20","is_valid_coordinates":true} 
[2026-09-07 11:53: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-07 11:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923097344001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401194110595104768,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615595967123441664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788762105000,"timestamp_ms":1788762105000,"timestamp_seconds":1788762105,"priority":1,"record_length":96,"hex_timestamp":"000001a07a87a4a8"} 
[2026-09-07 11:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 11:53: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-07 11:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:53:27] 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-07 11:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923097344001,"66":27876,"23":206,"83":41216,"24":25,"16":401194110595104768,"44":-1615595967123441664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 11:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923097344001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:53:27] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 11:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401194110595104768,"km_value":401194110595104.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:53:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615595967123441664,"description":"Unknown IO ID 44"} 
[2026-09-07 11:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923097344001,"power":27876,"unknown_23":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1615595967123441664}} 
[2026-09-07 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":173341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:53:27] local.INFO: GPS data processed {"connection_id":173341,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:53:27] local.INFO: Acknowledgment sent {"connection_id":173341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:53:41] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:41] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:41] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:53:41] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:41] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:41] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:53:45] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:45] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:45] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:53:46] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:46] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:53:46] local.INFO: IMEI packet received {"connection_id":173342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:53:46] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a870480012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a870480012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:53:46] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a870480012d1821c00721b3d8004f00d42f..."} 
[2026-09-07 11:53:46] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:53:46] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649240,"longitude_deg":75.6556224,"latitude_deg":11.964924,"altitude":79,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923083008001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280823920787456,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788762064000,"timestamp_ms":1788762064000,"timestamp_seconds":1788762064,"priority":1,"record_length":96,"hex_timestamp":"000001a07a870480"} 
[2026-09-07 11: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-07 11:53:47] 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-07 11: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513892459014389968,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4971973988617027585,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8828308987799476259,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171892813594830,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13462121,"corrected_to":0} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2238339073,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3024617552,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495786,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4064608256,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.WARNING: Large IO value detected {"io_id":78,"raw_value":58595173667438592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,242,160,96,45,192,179,79,48,10,66,14,188,1,240,200,227,122,33,4,113,205,2,35,120,46,239,47,64,7,78],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":200,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:53:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692783223029891072,"timestamp_seconds":5692783223029891.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11: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-07 11:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923083008001,"66":12298,"105":206,"83":41984,"24":0,"16":18280823920787456,"45":1738882068004460544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923083008001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:53:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:53:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280823920787456,"km_value":18280823920787.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923083008001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-09-07 11:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:53:47] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:53:47] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:53:47] local.INFO: TCP Data received {"connection_id":173343,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:53:47] local.INFO: Processing buffer {"connection_id":173343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:53:47] local.INFO: IMEI packet received {"connection_id":173343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":173343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:53:50] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:50] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:53:50] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:53:51] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a888738012ce9740007178970001f003b2c..."} 
[2026-09-07 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a888738012ce9740007178970001f003b2c..."} 
[2026-09-07 11:53:51] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a888738012ce9740007178970001f003b2c..."} 
[2026-09-07 11:53:51] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:53:51] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:53:51] local.INFO: GPS Element Parsed {"raw_longitude":753497088,"raw_latitude":118983024,"longitude_deg":75.3497088,"latitude_deg":11.8983024,"altitude":31,"angle":59,"satellites":44,"speed":10,"hex_longitude":"2ce97400","hex_latitude":"07178970","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923113216001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401195596653789184,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1625166116323618816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762163000,"timestamp_ms":1788762163000,"timestamp_seconds":1788762163,"priority":1,"record_length":96,"hex_timestamp":"000001a07a888738"} 
[2026-09-07 11: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-07 11:53: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-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:53: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-07 11:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923113216001,"66":27843,"52":206,"83":41216,"24":10,"16":401195596653789184,"44":-1625166116323618816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-09-07 11:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923113216001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:53:51] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 11:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401195596653789184,"km_value":401195596653789.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1625166116323618816,"description":"Unknown IO ID 44"} 
[2026-09-07 11:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923113216001,"power":27843,"unknown_52":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1625166116323618816}} 
[2026-09-07 11:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:53:51] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:53:51] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:54:18] local.INFO: TCP Data received {"connection_id":173342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a875688012d1821000721b250004d00cd2f..."} 
[2026-09-07 11:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a875688012d1821000721b250004d00cd2f..."} 
[2026-09-07 11:54:18] local.INFO: Processing buffer {"connection_id":173342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a875688012d1821000721b250004d00cd2f..."} 
[2026-09-07 11:54:18] local.INFO: Packet analysis {"connection_id":173342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:54:18] local.INFO: Extracted packet for processing {"connection_id":173342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648848,"longitude_deg":75.6556032,"latitude_deg":11.9648848,"altitude":77,"angle":205,"satellites":47,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b250","is_valid_coordinates":true} 
[2026-09-07 11:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923088384001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280845395623936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004460544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762085000,"timestamp_ms":1788762085000,"timestamp_seconds":1788762085,"priority":1,"record_length":96,"hex_timestamp":"000001a07a875688"} 
[2026-09-07 11:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:54:18] 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-07 11:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513892459014389968,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":242,"raw_value":4971973988617027585,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8828399182112692259,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2243715073,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3017277519,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4065198080,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.WARNING: Large IO value detected {"io_id":78,"raw_value":58597372690694144,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,242,160,178,45,192,179,79,46,10,66,96,48,14,1,240,86,227,122,33,4,113,205,106,34,72,239,2,64,7,78,44],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:54:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692783227324858368,"timestamp_seconds":5692783227324858.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923088384001,"66":12319,"105":206,"83":41984,"24":2,"16":18280845395623936,"45":1738882068004460544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923088384001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:54:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280845395623936,"km_value":18280845395623.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004460544,"description":"Unknown IO ID 45"} 
[2026-09-07 11:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923088384001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738882068004460544}} 
[2026-09-07 11:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":173342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:54:18] local.INFO: GPS data processed {"connection_id":173342,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:54:18] local.INFO: Acknowledgment sent {"connection_id":173342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:54:21] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a889ea8012ce97b8007178c68001e004e2d..."} 
[2026-09-07 11:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a889ea8012ce97b8007178c68001e004e2d..."} 
[2026-09-07 11:54:21] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a889ea8012ce97b8007178c68001e004e2d..."} 
[2026-09-07 11:54:21] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:54:21] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":753499008,"raw_latitude":118983784,"longitude_deg":75.3499008,"latitude_deg":11.8983784,"altitude":30,"angle":78,"satellites":45,"speed":18,"hex_longitude":"2ce97b80","hex_latitude":"07178c68","is_valid_coordinates":true} 
[2026-09-07 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923113728001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401195695438036992,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1624673535114252288,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788762169000,"timestamp_ms":1788762169000,"timestamp_seconds":1788762169,"priority":1,"record_length":96,"hex_timestamp":"000001a07a889ea8"} 
[2026-09-07 11:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 11:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:54: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-07 11:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923113728001,"66":27821,"52":206,"83":41216,"24":18,"16":401195695438036992,"44":-1624673535114252288},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-09-07 11:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923113728001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:54:21] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 11:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401195695438036992,"km_value":401195695438037.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1624673535114252288,"description":"Unknown IO ID 44"} 
[2026-09-07 11:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923113728001,"power":27821,"unknown_52":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1624673535114252288}} 
[2026-09-07 11:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:54:21] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:54:21] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:54:41] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:41] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:41] local.INFO: IMEI packet received {"connection_id":176064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:54:45] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:45] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:45] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:54:46] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:46] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:54:46] local.INFO: IMEI packet received {"connection_id":176064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":176064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:54:47] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a876240012d1820400721b180004d00d92e..."} 
[2026-09-07 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a876240012d1820400721b180004d00d92e..."} 
[2026-09-07 11:54:47] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a876240012d1820400721b180004d00d92e..."} 
[2026-09-07 11:54:47] local.INFO: Packet analysis {"connection_id":176064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:54:47] local.INFO: Extracted packet for processing {"connection_id":176064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648640,"longitude_deg":75.655584,"latitude_deg":11.964864,"altitude":77,"angle":217,"satellites":46,"speed":3,"hex_longitude":"2d182040","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-07 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-07 11:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923093760001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771827200,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762088000,"timestamp_ms":1788762088000,"timestamp_seconds":1788762088,"priority":1,"record_length":96,"hex_timestamp":"000001a07a876240"} 
[2026-09-07 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-07 11:54:47] 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-07 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 11:54:47] 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-07 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-07 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-07 11:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923093760001,"66":12298,"105":206,"83":41984,"24":3,"16":18280858280525824,"45":1738670961771827200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923093760001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:54:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771827200,"description":"Unknown IO ID 45"} 
[2026-09-07 11:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923093760001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738670961771827200}} 
[2026-09-07 11:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":176064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:54:47] local.INFO: GPS data processed {"connection_id":176064,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:54:47] local.INFO: Acknowledgment sent {"connection_id":176064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:54:47] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:47] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:54:47] local.INFO: IMEI packet received {"connection_id":173344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":173344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:54:48] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a88c1d0012ce98ac007178f88001c00432e..."} 
[2026-09-07 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a88c1d0012ce98ac007178f88001c00432e..."} 
[2026-09-07 11:54:48] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a88c1d0012ce98ac007178f88001c00432e..."} 
[2026-09-07 11:54:48] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:54:48] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":753502912,"raw_latitude":118984584,"longitude_deg":75.3502912,"latitude_deg":11.8984584,"altitude":28,"angle":67,"satellites":46,"speed":14,"hex_longitude":"2ce98ac0","hex_latitude":"07178f88","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923115264001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401195884416598016,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1622562472788727808,"note":"Value kept but may cause issues"} 
[2026-09-07 11:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788762178000,"timestamp_ms":1788762178000,"timestamp_seconds":1788762178,"priority":1,"record_length":96,"hex_timestamp":"000001a07a88c1d0"} 
[2026-09-07 11: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-07 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 11:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:54: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-07 11:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923115264001,"66":27919,"52":206,"83":41216,"24":14,"16":401195884416598016,"44":-1622562472788727808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-09-07 11:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923115264001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:54:48] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 11:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401195884416598016,"km_value":401195884416598.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1622562472788727808,"description":"Unknown IO ID 44"} 
[2026-09-07 11:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923115264001,"power":27919,"unknown_52":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1622562472788727808}} 
[2026-09-07 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:54:48] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:54:48] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:55:18] local.INFO: TCP Data received {"connection_id":176064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a87b448012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a87b448012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:18] local.INFO: Processing buffer {"connection_id":176064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a87b448012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:18] local.INFO: Packet analysis {"connection_id":176064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:55:18] local.INFO: Extracted packet for processing {"connection_id":176064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a87"} 
[2026-09-07 11:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923094528001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539240960,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762109000,"timestamp_ms":1788762109000,"timestamp_seconds":1788762109,"priority":1,"record_length":96,"hex_timestamp":"000001a07a87b448"} 
[2026-09-07 11:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:55:18] 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-07 11:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":242,"raw_value":5764607523034234881,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8828579570739124258,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002797378306254,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":59724372109164544,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2254467073,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":562949954076676,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513890053832835281,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:18] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,242,160,86,45,178,77,47,10,66,4,192,179,79,1,240,227,122,33,113,205,14,216,48,239,2,64,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:55:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673532512370688,"timestamp_seconds":5548673532512371.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 11:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923094528001,"66":12319,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539240960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923094528001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539240960,"description":"Unknown IO ID 45"} 
[2026-09-07 11:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923094528001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539240960}} 
[2026-09-07 11:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":176064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:55:18] local.INFO: GPS data processed {"connection_id":176064,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:55:18] local.INFO: Acknowledgment sent {"connection_id":176064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:55:20] local.INFO: TCP Data received {"connection_id":173344,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a89d728012ce99a40071895c0001d01662c..."} 
[2026-09-07 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a89d728012ce99a40071895c0001d01662c..."} 
[2026-09-07 11:55:20] local.INFO: Processing buffer {"connection_id":173344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a89d728012ce99a40071895c0001d01662c..."} 
[2026-09-07 11:55:20] local.INFO: Packet analysis {"connection_id":173344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:55:20] local.INFO: Extracted packet for processing {"connection_id":173344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":753506880,"raw_latitude":119051712,"longitude_deg":75.350688,"latitude_deg":11.9051712,"altitude":29,"angle":358,"satellites":44,"speed":36,"hex_longitude":"2ce99a40","hex_latitude":"071895c0","is_valid_coordinates":true} 
[2026-09-07 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-07 11:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923133184001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401199174361546752,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613836748495775744,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788762249000,"timestamp_ms":1788762249000,"timestamp_seconds":1788762249,"priority":1,"record_length":96,"hex_timestamp":"000001a07a89d728"} 
[2026-09-07 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-07 11:55: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-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 11:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 11:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923133184001,"66":27919,"224":206,"83":41216,"24":36,"16":401199174361546752,"44":-1613836748495775744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 11:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923133184001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:55:20] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 11:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401199174361546752,"km_value":401199174361546.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613836748495775744,"description":"Unknown IO ID 44"} 
[2026-09-07 11:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923133184001,"power":27919,"unknown_224":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1613836748495775744}} 
[2026-09-07 11:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":173344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:55:20] local.INFO: GPS data processed {"connection_id":173344,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:55:20] local.INFO: Acknowledgment sent {"connection_id":173344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:55:40] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:40] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:40] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:55:45] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:45] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:45] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:55:46] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:46] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:55:46] local.INFO: IMEI packet received {"connection_id":176065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":176065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:55:47] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a880650012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a880650012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:47] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a880650012d1820400721b168004d00d92f..."} 
[2026-09-07 11:55:47] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:55:47] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923099904001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762130000,"timestamp_ms":1788762130000,"timestamp_seconds":1788762130,"priority":1,"record_length":96,"hex_timestamp":"000001a07a880650"} 
[2026-09-07 11: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-07 11:55:47] 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-07 11: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 11:55:47] 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-07 11: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-07 11: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-07 11:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923099904001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923099904001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:55:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:55:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923099904001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:55:47] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:55:47] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:55:49] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:49] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:55:49] local.INFO: IMEI packet received {"connection_id":173345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:55:50] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8a0608012ce999c00718ba50001d00022d..."} 
[2026-09-07 11:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8a0608012ce999c00718ba50001d00022d..."} 
[2026-09-07 11:55:50] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8a0608012ce999c00718ba50001d00022d..."} 
[2026-09-07 11:55:50] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:55:50] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:55:50] local.INFO: GPS Element Parsed {"raw_longitude":753506752,"raw_latitude":119061072,"longitude_deg":75.3506752,"latitude_deg":11.9061072,"altitude":29,"angle":2,"satellites":45,"speed":24,"hex_longitude":"2ce999c0","hex_latitude":"0718ba50","is_valid_coordinates":true} 
[2026-09-07 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923135744001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401199629628080128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613907117237485568,"note":"Value kept but may cause issues"} 
[2026-09-07 11:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788762261000,"timestamp_ms":1788762261000,"timestamp_seconds":1788762261,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8a0608"} 
[2026-09-07 11:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:55:50] 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-07 11:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923135744001,"66":27919,"224":206,"83":41216,"24":24,"16":401199629628080128,"44":-1613907117237485568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 11:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923135744001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:55:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 11:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401199629628080128,"km_value":401199629628080.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613907117237485568,"description":"Unknown IO ID 44"} 
[2026-09-07 11:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923135744001,"power":27919,"unknown_224":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1613907117237485568}} 
[2026-09-07 11:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:55:50] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:55:50] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:56:18] local.INFO: TCP Data received {"connection_id":176065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a885858012d1820400721b168004d00d92f..."} 
[2026-09-07 11:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a885858012d1820400721b168004d00d92f..."} 
[2026-09-07 11:56:18] local.INFO: Processing buffer {"connection_id":176065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a885858012d1820400721b168004d00d92f..."} 
[2026-09-07 11:56:18] local.INFO: Packet analysis {"connection_id":176065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:56:18] local.INFO: Extracted packet for processing {"connection_id":176065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923105280001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762151000,"timestamp_ms":1788762151000,"timestamp_seconds":1788762151,"priority":1,"record_length":96,"hex_timestamp":"000001a07a885858"} 
[2026-09-07 11:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:56:18] 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-07 11:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:56:18] 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-07 11:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923105280001,"66":12298,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923105280001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:56:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923105280001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":176065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:56:18] local.INFO: GPS data processed {"connection_id":176065,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:56:18] local.INFO: Acknowledgment sent {"connection_id":176065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:56:21] local.INFO: TCP Data received {"connection_id":173345,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8a3100012ce999000718dd10001c01672e..."} 
[2026-09-07 11:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8a3100012ce999000718dd10001c01672e..."} 
[2026-09-07 11:56:21] local.INFO: Processing buffer {"connection_id":173345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8a3100012ce999000718dd10001c01672e..."} 
[2026-09-07 11:56:21] local.INFO: Packet analysis {"connection_id":173345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:56:21] local.INFO: Extracted packet for processing {"connection_id":173345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:56:21] local.INFO: GPS Element Parsed {"raw_longitude":753506560,"raw_latitude":119069968,"longitude_deg":75.350656,"latitude_deg":11.9069968,"altitude":28,"angle":359,"satellites":46,"speed":40,"hex_longitude":"2ce99900","hex_latitude":"0718dd10","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923138816001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401200059124809728,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1614047854723444736,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788762272000,"timestamp_ms":1788762272000,"timestamp_seconds":1788762272,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8a3100"} 
[2026-09-07 11: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-07 11:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 11:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:56: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-07 11:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923138816001,"66":27984,"224":206,"83":41216,"24":40,"16":401200059124809728,"44":-1614047854723444736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 11:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923138816001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:56:21] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 11:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401200059124809728,"km_value":401200059124809.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1614047854723444736,"description":"Unknown IO ID 44"} 
[2026-09-07 11:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923138816001,"power":27984,"unknown_224":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1614047854723444736}} 
[2026-09-07 11:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:56:21] local.INFO: GPS data processed {"connection_id":173345,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:56:21] local.INFO: Acknowledgment sent {"connection_id":173345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:56:40] local.INFO: TCP Data received {"connection_id":173346,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:40] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:40] local.INFO: IMEI packet received {"connection_id":173346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:56:45] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:45] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:45] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:56:46] local.INFO: TCP Data received {"connection_id":173346,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:46] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:56:46] local.INFO: IMEI packet received {"connection_id":173346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":173346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:56:47] local.INFO: TCP Data received {"connection_id":173346,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a88aa60012d1820400721b168004d00d92e..."} 
[2026-09-07 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a88aa60012d1820400721b168004d00d92e..."} 
[2026-09-07 11:56:47] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a88aa60012d1820400721b168004d00d92e..."} 
[2026-09-07 11:56:47] local.INFO: Packet analysis {"connection_id":173346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:56:47] local.INFO: Extracted packet for processing {"connection_id":173346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 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-07 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923110656001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762172000,"timestamp_ms":1788762172000,"timestamp_seconds":1788762172,"priority":1,"record_length":96,"hex_timestamp":"000001a07a88aa60"} 
[2026-09-07 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-07 11:56:47] 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-07 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185664,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":242,"raw_value":5764607523034234881,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8828850153678772257,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4065329152,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580145841209550,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2270595073,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":79,"raw_value":59723272597536768,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513889572796432596,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:47] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,242,160,6,45,64,177,77,47,10,66,180,98,1,240,227,122,33,4,113,205,2,216,239,48,7,79,192],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 11:56:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548673536807141376,"timestamp_seconds":5548673536807141.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923110656001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923110656001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:56:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:56:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923110656001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":173346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:56:47] local.INFO: GPS data processed {"connection_id":173346,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:56:47] local.INFO: Acknowledgment sent {"connection_id":173346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:56:49] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:49] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:56:49] local.INFO: IMEI packet received {"connection_id":173347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:56:50] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8b6598012ce98040071a0b90001e00212b..."} 
[2026-09-07 11:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8b6598012ce98040071a0b90001e00212b..."} 
[2026-09-07 11:56:50] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8b6598012ce98040071a0b90001e00212b..."} 
[2026-09-07 11:56:50] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8b"} 
[2026-09-07 11:56:50] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8b"} 
[2026-09-07 11:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753500224,"raw_latitude":119147408,"longitude_deg":75.3500224,"latitude_deg":11.9147408,"altitude":30,"angle":33,"satellites":43,"speed":27,"hex_longitude":"2ce98040","hex_latitude":"071a0b90","is_valid_coordinates":true} 
[2026-09-07 11:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923161600001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401203838696030208,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621647679072679936,"note":"Value kept but may cause issues"} 
[2026-09-07 11:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788762351000,"timestamp_ms":1788762351000,"timestamp_seconds":1788762351,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8b6598"} 
[2026-09-07 11:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 11:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:56:50] 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-07 11:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923161600001,"66":27908,"182":206,"83":41216,"24":27,"16":401203838696030208,"44":-1621647679072679936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-07 11:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923161600001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:56:50] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-07 11:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401203838696030208,"km_value":401203838696030.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621647679072679936,"description":"Unknown IO ID 44"} 
[2026-09-07 11:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923161600001,"power":27908,"unknown_182":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1621647679072679936}} 
[2026-09-07 11:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:56:50] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:56:50] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:57:19] local.INFO: TCP Data received {"connection_id":173346,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a88fc68012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a88fc68012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:19] local.INFO: Processing buffer {"connection_id":173346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a88fc68012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:19] local.INFO: Packet analysis {"connection_id":173346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:57:19] local.INFO: Extracted packet for processing {"connection_id":173346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a88"} 
[2026-09-07 11:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923116032001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788762193000,"timestamp_ms":1788762193000,"timestamp_seconds":1788762193,"priority":1,"record_length":96,"hex_timestamp":"000001a07a88fc68"} 
[2026-09-07 11: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-07 11:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:57: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-07 11: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-07 11: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-07 11:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923116032001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923116032001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:57:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923116032001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":173346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:57:19] local.INFO: GPS data processed {"connection_id":173346,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:57:19] local.INFO: Acknowledgment sent {"connection_id":173346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:57:25] local.INFO: TCP Data received {"connection_id":173347,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8c0d90012ce99100071a5170001e00062d..."} 
[2026-09-07 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8c0d90012ce99100071a5170001e00062d..."} 
[2026-09-07 11:57:25] local.INFO: Processing buffer {"connection_id":173347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8c0d90012ce99100071a5170001e00062d..."} 
[2026-09-07 11:57:25] local.INFO: Packet analysis {"connection_id":173347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:57:25] local.INFO: Extracted packet for processing {"connection_id":173347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":753504512,"raw_latitude":119165296,"longitude_deg":75.3504512,"latitude_deg":11.9165296,"altitude":30,"angle":6,"satellites":45,"speed":20,"hex_longitude":"2ce99100","hex_latitude":"071a5170","is_valid_coordinates":true} 
[2026-09-07 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923172608001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401205247445303296,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616510760743110656,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788762394000,"timestamp_ms":1788762394000,"timestamp_seconds":1788762394,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8c0d90"} 
[2026-09-07 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 11:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:57:25] 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-07 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923172608001,"66":27930,"246":206,"83":41216,"24":20,"16":401205247445303296,"44":-1616510760743110656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-09-07 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923172608001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:57:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401205247445303296,"km_value":401205247445303.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616510760743110656,"description":"Unknown IO ID 44"} 
[2026-09-07 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923172608001,"power":27930,"main_input_voltage":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1616510760743110656}} 
[2026-09-07 11:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":173347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:57:25] local.INFO: GPS data processed {"connection_id":173347,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:57:25] local.INFO: Acknowledgment sent {"connection_id":173347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:57:40] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:40] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:40] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:57:42] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:42] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:42] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:57:45] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:45] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:45] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:57:46] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:46] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:57:46] local.INFO: IMEI packet received {"connection_id":173348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:57:46] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:46] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:46] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:57:47] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a894e70012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a894e70012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:47] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a894e70012d1820400721b168004d00d92f..."} 
[2026-09-07 11:57:47] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:57:47] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 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-07 11:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923121408001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762214000,"timestamp_ms":1788762214000,"timestamp_seconds":1788762214,"priority":1,"record_length":96,"hex_timestamp":"000001a07a894e70"} 
[2026-09-07 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-07 11:57:47] 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-07 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:57:47] 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-07 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-07 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-07 11:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923121408001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923121408001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:57:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923121408001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:57:47] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:57:47] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:57:50] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:50] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:57:50] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:57:51] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8c1178012ce99180071a5340001e00162d..."} 
[2026-09-07 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8c1178012ce99180071a5340001e00162d..."} 
[2026-09-07 11:57:51] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8c1178012ce99180071a5340001e00162d..."} 
[2026-09-07 11:57:51] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:57:51] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":753504640,"raw_latitude":119165760,"longitude_deg":75.350464,"latitude_deg":11.916576,"altitude":30,"angle":22,"satellites":45,"speed":20,"hex_longitude":"2ce99180","hex_latitude":"071a5340","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923172864001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401205268920139776,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616510760742981632,"note":"Value kept but may cause issues"} 
[2026-09-07 11:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762395000,"timestamp_ms":1788762395000,"timestamp_seconds":1788762395,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8c1178"} 
[2026-09-07 11: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-07 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 11:57:51] 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-07 11: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-07 11: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-07 11:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:57: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-07 11:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923172864001,"66":27930,"246":206,"83":41216,"24":20,"16":401205268920139776,"44":-1616510760742981632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-09-07 11:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923172864001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:57:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401205268920139776,"km_value":401205268920139.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616510760742981632,"description":"Unknown IO ID 44"} 
[2026-09-07 11:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923172864001,"power":27930,"main_input_voltage":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1616510760742981632}} 
[2026-09-07 11:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:57:51] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:57:51] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:58:18] local.INFO: TCP Data received {"connection_id":173348,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a89a078012d1820400721b168004d00d92d..."} 
[2026-09-07 11:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a89a078012d1820400721b168004d00d92d..."} 
[2026-09-07 11:58:18] local.INFO: Processing buffer {"connection_id":173348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a89a078012d1820400721b168004d00d92d..."} 
[2026-09-07 11:58:18] local.INFO: Packet analysis {"connection_id":173348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:58:18] local.INFO: Extracted packet for processing {"connection_id":173348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 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-07 11:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923126784001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762235000,"timestamp_ms":1788762235000,"timestamp_seconds":1788762235,"priority":1,"record_length":96,"hex_timestamp":"000001a07a89a078"} 
[2026-09-07 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-07 11:58:18] 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-07 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:58:18] 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-07 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-07 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-07 11:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923126784001,"66":12232,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923126784001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:58:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923126784001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":173348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:58:18] local.INFO: GPS data processed {"connection_id":173348,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:58:18] local.INFO: Acknowledgment sent {"connection_id":173348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:58:22] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8c1d30012ce99380071a56e8001e00282d..."} 
[2026-09-07 11:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8c1d30012ce99380071a56e8001e00282d..."} 
[2026-09-07 11:58:22] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8c1d30012ce99380071a56e8001e00282d..."} 
[2026-09-07 11:58:22] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:58:22] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:58:22] local.INFO: GPS Element Parsed {"raw_longitude":753505152,"raw_latitude":119166696,"longitude_deg":75.3505152,"latitude_deg":11.9166696,"altitude":30,"angle":40,"satellites":45,"speed":12,"hex_longitude":"2ce99380","hex_latitude":"071a56e8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923173120001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401205320459747328,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616370023254507520,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762398000,"timestamp_ms":1788762398000,"timestamp_seconds":1788762398,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8c1d30"} 
[2026-09-07 11: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-07 11:58: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-07 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 11:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:58: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-07 11:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923173120001,"66":27767,"246":206,"83":41216,"24":12,"16":401205320459747328,"44":-1616370023254507520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,44]} 
[2026-09-07 11:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923173120001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401205320459747328,"km_value":401205320459747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616370023254507520,"description":"Unknown IO ID 44"} 
[2026-09-07 11:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923173120001,"power":27767,"main_input_voltage":206,"unknown_83":41216,"ignition":12,"odometer":null,"unknown_44":-1616370023254507520}} 
[2026-09-07 11:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:58:22] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:58:22] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:58:45] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:45] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:45] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:58:45] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:58:45] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:45] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:58:46] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:46] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:46] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:58:50] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:50] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:58:50] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:58:50] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:50] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:58:50] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:58:51] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8c6380012ce9a940071a72f8002000212e..."} 
[2026-09-07 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8c6380012ce9a940071a72f8002000212e..."} 
[2026-09-07 11:58:51] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8c6380012ce9a940071a72f8002000212e..."} 
[2026-09-07 11:58:51] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:58:51] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8c"} 
[2026-09-07 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":753510720,"raw_latitude":119173880,"longitude_deg":75.351072,"latitude_deg":11.917388,"altitude":32,"angle":33,"satellites":46,"speed":32,"hex_longitude":"2ce9a940","hex_latitude":"071a72f8","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923173888001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401205758546411520,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615807073300846592,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762416000,"timestamp_ms":1788762416000,"timestamp_seconds":1788762416,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8c6380"} 
[2026-09-07 11: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-07 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:58: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-07 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923173888001,"66":27865,"245":206,"83":41216,"24":32,"16":401205758546411520,"44":-1615807073300846592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923173888001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401205758546411520,"km_value":401205758546411.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615807073300846592,"description":"Unknown IO ID 44"} 
[2026-09-07 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923173888001,"power":27865,"geofence_id":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1615807073300846592}} 
[2026-09-07 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:58:51] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:58:51] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:58:51] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a89f280012d1820400721b168004d00d92f..."} 
[2026-09-07 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a89f280012d1820400721b168004d00d92f..."} 
[2026-09-07 11:58:51] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a89f280012d1820400721b168004d00d92f..."} 
[2026-09-07 11:58:51] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:58:51] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a89"} 
[2026-09-07 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923132160001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:58: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-07 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762256000,"timestamp_ms":1788762256000,"timestamp_seconds":1788762256,"priority":1,"record_length":96,"hex_timestamp":"000001a07a89f280"} 
[2026-09-07 11: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-07 11:58:51] 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-07 11: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 11:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 11: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-07 11: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-07 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923132160001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923132160001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923132160001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:58:51] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:58:51] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:59:22] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8a4488012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8a4488012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:22] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8a4488012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:22] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:59:22] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 11: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-07 11:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923137536001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59: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-07 11:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762277000,"timestamp_ms":1788762277000,"timestamp_seconds":1788762277,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8a4488"} 
[2026-09-07 11: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-07 11:59: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-07 11:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 11:59:22] 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-07 11: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-07 11: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-07 11:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923137536001,"66":12254,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923137536001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:59:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923137536001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:59:22] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:59:22] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:59:41] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:41] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:41] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 11:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:59:46] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:46] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 11:59:46] local.INFO: IMEI packet received {"connection_id":176067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":176067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 11:59:46] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8a9690012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8a9690012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:46] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8a9690012d1820400721b168004d00d92e..."} 
[2026-09-07 11:59:46] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:59:46] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8a"} 
[2026-09-07 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648616,"longitude_deg":75.655584,"latitude_deg":11.9648616,"altitude":77,"angle":217,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-09-07 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-07 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923142912001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280858280525824,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539234816,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788762298000,"timestamp_ms":1788762298000,"timestamp_seconds":1788762298,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8a9690"} 
[2026-09-07 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-07 11:59:46] 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-07 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 11:59:46] 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-07 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-07 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-07 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 11:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923142912001,"66":12287,"105":206,"83":41984,"24":0,"16":18280858280525824,"45":1738459855539234816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923142912001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 11:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280858280525824,"km_value":18280858280525.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539234816,"description":"Unknown IO ID 45"} 
[2026-09-07 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923142912001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539234816}} 
[2026-09-07 11:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:59:47] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:59:47] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:59:47] local.INFO: TCP Data received {"connection_id":174697,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:59:47] local.INFO: Processing buffer {"connection_id":174697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 11:59:47] local.INFO: IMEI packet received {"connection_id":174697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 11:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":174697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 11:59:50] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8df5d8012ce9d780071b45c0001e002c2e..."} 
[2026-09-07 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8df5d8012ce9d780071b45c0001e002c2e..."} 
[2026-09-07 11:59:50] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8df5d8012ce9d780071b45c0001e002c2e..."} 
[2026-09-07 11:59:50] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8d"} 
[2026-09-07 11:59:50] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8d"} 
[2026-09-07 11:59:50] local.INFO: GPS Element Parsed {"raw_longitude":753522560,"raw_latitude":119227840,"longitude_deg":75.352256,"latitude_deg":11.922784,"altitude":30,"angle":44,"satellites":46,"speed":5,"hex_longitude":"2ce9d780","hex_latitude":"071b45c0","is_valid_coordinates":true} 
[2026-09-07 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 11:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923203840001,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401208537390252032,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596807512357359616,"note":"Value kept but may cause issues"} 
[2026-09-07 11:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 11:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788762519000,"timestamp_ms":1788762519000,"timestamp_seconds":1788762519,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8df5d8"} 
[2026-09-07 11:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 11:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 11:59: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-07 11:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 11:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 11:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 11:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 11:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 11:59:50] 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-07 11:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 11:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 11:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923203840001,"66":27865,"245":206,"83":41216,"24":5,"16":401208537390252032,"44":-1596807512357359616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 11:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 11:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 11:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923203840001,"description":"Unknown IO ID 0"} 
[2026-09-07 11:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 11:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401208537390252032,"km_value":401208537390252.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 11:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596807512357359616,"description":"Unknown IO ID 44"} 
[2026-09-07 11:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923203840001,"power":27865,"geofence_id":206,"unknown_83":41216,"ignition":5,"odometer":null,"unknown_44":-1596807512357359616}} 
[2026-09-07 11:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 11:59:50] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-07 11:59:50] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 11:59:55] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:59:55] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 11:59:55] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 11:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:00:00] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:00] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:00] local.INFO: IMEI packet received {"connection_id":173349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":173349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:00:01] local.INFO: TCP Data received {"connection_id":173349,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8df9c0012ce9d840071b4618001e00402e..."} 
[2026-09-07 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8df9c0012ce9d840071b4618001e00402e..."} 
[2026-09-07 12:00:01] local.INFO: Processing buffer {"connection_id":173349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8df9c0012ce9d840071b4618001e00402e..."} 
[2026-09-07 12:00:01] local.INFO: Packet analysis {"connection_id":173349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8d"} 
[2026-09-07 12:00:01] local.INFO: Extracted packet for processing {"connection_id":173349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8d"} 
[2026-09-07 12:00:01] local.INFO: GPS Element Parsed {"raw_longitude":753522752,"raw_latitude":119227928,"longitude_deg":75.3522752,"latitude_deg":11.9227928,"altitude":30,"angle":64,"satellites":46,"speed":9,"hex_longitude":"2ce9d840","hex_latitude":"071b4618","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923204864001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401208545980186624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1596666774868869120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788762520000,"timestamp_ms":1788762520000,"timestamp_seconds":1788762520,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8df9c0"} 
[2026-09-07 12: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-07 12:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:00:01] 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-07 12:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923204864001,"66":27800,"245":206,"83":41216,"24":9,"16":401208545980186624,"44":-1596666774868869120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 12:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923204864001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 12:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401208545980186624,"km_value":401208545980186.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1596666774868869120,"description":"Unknown IO ID 44"} 
[2026-09-07 12:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923204864001,"power":27800,"geofence_id":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1596666774868869120}} 
[2026-09-07 12:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":173349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:00:01] local.INFO: GPS data processed {"connection_id":173349,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:00:01] local.INFO: Acknowledgment sent {"connection_id":173349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:00:18] local.INFO: TCP Data received {"connection_id":176067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8e1ce8012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8e1ce8012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:00:18] local.INFO: Processing buffer {"connection_id":176067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8e1ce8012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:00:18] local.INFO: Packet analysis {"connection_id":176067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:00:18] local.INFO: Extracted packet for processing {"connection_id":176067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647920,"longitude_deg":75.6555328,"latitude_deg":11.964792,"altitude":77,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923202048001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280905525166080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762529000,"timestamp_ms":1788762529000,"timestamp_seconds":1788762529,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8e1ce8"} 
[2026-09-07 12: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-07 12:00:18] 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-07 12: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 12:00:18] 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-07 12: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-07 12: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-07 12:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923202048001,"66":12254,"105":206,"83":41984,"24":0,"16":18280905525166080,"45":1737896905585635328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923202048001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:00:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280905525166080,"km_value":18280905525166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923202048001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-09-07 12:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":176067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:00:18] local.INFO: GPS data processed {"connection_id":176067,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:00:18] local.INFO: Acknowledgment sent {"connection_id":176067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:00:41] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:41] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:41] local.INFO: IMEI packet received {"connection_id":174698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":174698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:00:46] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:46] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:00:46] local.INFO: IMEI packet received {"connection_id":174698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":174698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:00:47] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8e6ef0012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8e6ef0012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:00:47] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8e6ef0012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:00:47] local.INFO: Packet analysis {"connection_id":174698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:00:47] local.INFO: Extracted packet for processing {"connection_id":174698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647920,"longitude_deg":75.6555328,"latitude_deg":11.964792,"altitude":77,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923207424001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280905525166080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762550000,"timestamp_ms":1788762550000,"timestamp_seconds":1788762550,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8e6ef0"} 
[2026-09-07 12: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-07 12:00:47] 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-07 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 12:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923207424001,"66":12232,"105":206,"83":41984,"24":0,"16":18280905525166080,"45":1737896905585635328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923207424001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:00:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280905525166080,"km_value":18280905525166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923207424001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-09-07 12:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":174698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:00:47] local.INFO: GPS data processed {"connection_id":174698,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:00:47] local.INFO: Acknowledgment sent {"connection_id":174698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:00:51] local.INFO: TCP Data received {"connection_id":174699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:51] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:00:51] local.INFO: IMEI packet received {"connection_id":174699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":174699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:01:08] local.INFO: TCP Data received {"connection_id":174699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:08] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:08] local.INFO: IMEI packet received {"connection_id":174699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":174699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:01:18] local.INFO: TCP Data received {"connection_id":174698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8ec0f8012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8ec0f8012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:18] local.INFO: Processing buffer {"connection_id":174698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8ec0f8012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:18] local.INFO: Packet analysis {"connection_id":174698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:18] local.INFO: Extracted packet for processing {"connection_id":174698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647920,"longitude_deg":75.6555328,"latitude_deg":11.964792,"altitude":77,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-07 12:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923212800001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280905525166080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762571000,"timestamp_ms":1788762571000,"timestamp_seconds":1788762571,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8ec0f8"} 
[2026-09-07 12:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 12:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923212800001,"66":12254,"105":206,"83":41984,"24":0,"16":18280905525166080,"45":1737896905585635328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923212800001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:01:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280905525166080,"km_value":18280905525166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923212800001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-09-07 12:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":174698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:01:18] local.INFO: GPS data processed {"connection_id":174698,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:01:18] local.INFO: Acknowledgment sent {"connection_id":174698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:01:22] local.INFO: TCP Data received {"connection_id":174699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8ed868012ce9f3c0071ba430001600472e..."} 
[2026-09-07 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8ed868012ce9f3c0071ba430001600472e..."} 
[2026-09-07 12:01:22] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8ed868012ce9f3c0071ba430001600472e..."} 
[2026-09-07 12:01:22] local.INFO: Packet analysis {"connection_id":174699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:22] local.INFO: Extracted packet for processing {"connection_id":174699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":753529792,"raw_latitude":119252016,"longitude_deg":75.3529792,"latitude_deg":11.9252016,"altitude":22,"angle":71,"satellites":46,"speed":10,"hex_longitude":"2ce9f3c0","hex_latitude":"071ba430","is_valid_coordinates":true} 
[2026-09-07 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-07 12:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923216896001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401210014859001856,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593289075142209536,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762577000,"timestamp_ms":1788762577000,"timestamp_seconds":1788762577,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8ed868"} 
[2026-09-07 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-07 12:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:01: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-07 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-07 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-07 12:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01: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-07 12:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923216896001,"66":27865,"209":206,"83":41216,"24":10,"16":401210014859001856,"44":-1593289075142209536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 12:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923216896001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:01:22] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 12:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 12:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401210014859001856,"km_value":401210014859001.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593289075142209536,"description":"Unknown IO ID 44"} 
[2026-09-07 12:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923216896001,"power":27865,"unknown_209":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1593289075142209536}} 
[2026-09-07 12:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":174699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:01:22] local.INFO: GPS data processed {"connection_id":174699,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:01:22] local.INFO: Acknowledgment sent {"connection_id":174699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:01:23] local.INFO: TCP Data received {"connection_id":174699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8edc50012ce9f4c0071ba4b00016002b2d..."} 
[2026-09-07 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8edc50012ce9f4c0071ba4b00016002b2d..."} 
[2026-09-07 12:01:23] local.INFO: Processing buffer {"connection_id":174699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8edc50012ce9f4c0071ba4b00016002b2d..."} 
[2026-09-07 12:01:23] local.INFO: Packet analysis {"connection_id":174699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:23] local.INFO: Extracted packet for processing {"connection_id":174699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":753530048,"raw_latitude":119252144,"longitude_deg":75.3530048,"latitude_deg":11.9252144,"altitude":22,"angle":43,"satellites":45,"speed":9,"hex_longitude":"2ce9f4c0","hex_latitude":"071ba4b0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923219712001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401210027743903744,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106770604032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788762578000,"timestamp_ms":1788762578000,"timestamp_seconds":1788762578,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8edc50"} 
[2026-09-07 12: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-07 12:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01:23] 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-07 12:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923219712001,"66":27919,"209":206,"83":41216,"24":9,"16":401210027743903744,"44":-1588715106770604032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 12:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923219712001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:01:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 12:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 12:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401210027743903744,"km_value":401210027743903.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:01:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588715106770604032,"description":"Unknown IO ID 44"} 
[2026-09-07 12:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923219712001,"power":27919,"unknown_209":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1588715106770604032}} 
[2026-09-07 12:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":174699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:01:23] local.INFO: GPS data processed {"connection_id":174699,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:01:23] local.INFO: Acknowledgment sent {"connection_id":174699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:01:40] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:40] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:40] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:01:42] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:42] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:42] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:01:45] local.INFO: TCP Data received {"connection_id":173593,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:45] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:45] local.INFO: IMEI packet received {"connection_id":173593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:01:46] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:46] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:01:46] local.INFO: IMEI packet received {"connection_id":174700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":174700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:01:47] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8f1300012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8f1300012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:47] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8f1300012d181e400721aeb0004d00d42c..."} 
[2026-09-07 12:01:47] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:01:47] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647920,"longitude_deg":75.6555328,"latitude_deg":11.964792,"altitude":77,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923218176001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280905525166080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762592000,"timestamp_ms":1788762592000,"timestamp_seconds":1788762592,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8f1300"} 
[2026-09-07 12: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-07 12:01:47] 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-07 12: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-09-07 12:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923218176001,"66":13820,"105":206,"83":41984,"24":0,"16":18280905525166080,"45":1737896905585635328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923218176001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:01:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280905525166080,"km_value":18280905525166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923218176001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-09-07 12:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:01:47] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:01:47] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:01:50] local.INFO: TCP Data received {"connection_id":173593,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:50] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:01:50] local.INFO: IMEI packet received {"connection_id":173593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:01:51] local.INFO: TCP Data received {"connection_id":173593,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8ee038012ce9f540071ba598001600142e..."} 
[2026-09-07 12:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8ee038012ce9f540071ba598001600142e..."} 
[2026-09-07 12:01:51] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8ee038012ce9f540071ba598001600142e..."} 
[2026-09-07 12:01:51] local.INFO: Packet analysis {"connection_id":173593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:51] local.INFO: Extracted packet for processing {"connection_id":173593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8e"} 
[2026-09-07 12:01:51] local.INFO: GPS Element Parsed {"raw_longitude":753530176,"raw_latitude":119252376,"longitude_deg":75.3530176,"latitude_deg":11.9252376,"altitude":22,"angle":20,"satellites":46,"speed":10,"hex_longitude":"2ce9f540","hex_latitude":"071ba598","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923219968001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401210040628805632,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588433631793860608,"note":"Value kept but may cause issues"} 
[2026-09-07 12:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762579000,"timestamp_ms":1788762579000,"timestamp_seconds":1788762579,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8ee038"} 
[2026-09-07 12: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-07 12:01: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-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:01: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-07 12:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923219968001,"66":27919,"209":206,"83":41216,"24":10,"16":401210040628805632,"44":-1588433631793860608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 12:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923219968001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:01:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 12:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 12:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401210040628805632,"km_value":401210040628805.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588433631793860608,"description":"Unknown IO ID 44"} 
[2026-09-07 12:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923219968001,"power":27919,"unknown_209":206,"unknown_83":41216,"ignition":10,"odometer":null,"unknown_44":-1588433631793860608}} 
[2026-09-07 12:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:01:51] local.INFO: GPS data processed {"connection_id":173593,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:01:51] local.INFO: Acknowledgment sent {"connection_id":173593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:18] local.INFO: TCP Data received {"connection_id":174700,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8f6508012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8f6508012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:02:18] local.INFO: Processing buffer {"connection_id":174700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8f6508012d181e400721aeb0004d00d42d..."} 
[2026-09-07 12:02:18] local.INFO: Packet analysis {"connection_id":174700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:02:18] local.INFO: Extracted packet for processing {"connection_id":174700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647920,"longitude_deg":75.6555328,"latitude_deg":11.964792,"altitude":77,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721aeb0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923223552001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18280905525166080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585635328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762613000,"timestamp_ms":1788762613000,"timestamp_seconds":1788762613,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8f6508"} 
[2026-09-07 12: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-07 12:02:18] 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-07 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923223552001,"66":14048,"105":206,"83":41984,"24":0,"16":18280905525166080,"45":1737896905585635328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923223552001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18280905525166080,"km_value":18280905525166.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585635328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923223552001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585635328}} 
[2026-09-07 12:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":174700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:18] local.INFO: GPS data processed {"connection_id":174700,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:18] local.INFO: Acknowledgment sent {"connection_id":174700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:23] local.INFO: TCP Data received {"connection_id":173593,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a8f16e8012cea0400071bc6f0001500142b..."} 
[2026-09-07 12:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a8f16e8012cea0400071bc6f0001500142b..."} 
[2026-09-07 12:02:23] local.INFO: Processing buffer {"connection_id":173593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a8f16e8012cea0400071bc6f0001500142b..."} 
[2026-09-07 12:02:23] local.INFO: Packet analysis {"connection_id":173593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:02:23] local.INFO: Extracted packet for processing {"connection_id":173593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a8f"} 
[2026-09-07 12:02:23] local.INFO: GPS Element Parsed {"raw_longitude":753533952,"raw_latitude":119260912,"longitude_deg":75.3533952,"latitude_deg":11.9260912,"altitude":21,"angle":20,"satellites":43,"speed":32,"hex_longitude":"2cea0400","hex_latitude":"071bc6f0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923220224001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401210491600371712,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588292894305445888,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788762593000,"timestamp_ms":1788762593000,"timestamp_seconds":1788762593,"priority":1,"record_length":96,"hex_timestamp":"000001a07a8f16e8"} 
[2026-09-07 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-07 12:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:23] 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-07 12:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923220224001,"66":27843,"209":206,"83":41216,"24":32,"16":401210491600371712,"44":-1588292894305445888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 12:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923220224001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 12:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401210491600371712,"km_value":401210491600371.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588292894305445888,"description":"Unknown IO ID 44"} 
[2026-09-07 12:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923220224001,"power":27843,"unknown_209":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1588292894305445888}} 
[2026-09-07 12:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":173593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:23] local.INFO: GPS data processed {"connection_id":173593,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:23] local.INFO: Acknowledgment sent {"connection_id":173593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:46] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:46] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:46] local.INFO: IMEI packet received {"connection_id":176069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":176069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:02:46] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:02:46] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:02:46] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:02:47] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:47] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:02:47] local.INFO: IMEI packet received {"connection_id":176069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":176069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:02:47] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 12:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 12:02:47] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 12:02:47] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:02:47] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a90ff30012d18ac80072171d0004c00822d..."} 
[2026-09-07 12:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a90ff30012d18ac80072171d0004c00822d..."} 
[2026-09-07 12:02:47] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a90ff30012d18ac80072171d0004c00822d..."} 
[2026-09-07 12:02:47] local.INFO: Packet analysis {"connection_id":176069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a90"} 
[2026-09-07 12:02:47] local.INFO: Extracted packet for processing {"connection_id":176069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a90"} 
[2026-09-07 12:02:47] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632336,"longitude_deg":75.6591744,"latitude_deg":11.9632336,"altitude":76,"angle":130,"satellites":45,"speed":21,"hex_longitude":"2d18ac80","hex_latitude":"072171d0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923252480001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18282876915154944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769492471718215680,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:47] 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-07 12:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762718000,"timestamp_ms":1788762718000,"timestamp_seconds":1788762718,"priority":1,"record_length":96,"hex_timestamp":"000001a07a90ff30"} 
[2026-09-07 12: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-07 12:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:47] 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-07 12: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-07 12: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-07 12:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923252480001,"66":13406,"106":206,"83":41984,"24":21,"16":18282876915154944,"45":1769492471718215680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923252480001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:02:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18282876915154944,"km_value":18282876915154.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769492471718215680,"description":"Unknown IO ID 45"} 
[2026-09-07 12:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923252480001,"power":13406,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1769492471718215680}} 
[2026-09-07 12:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":176069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:47] local.INFO: GPS data processed {"connection_id":176069,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:47] local.INFO: Acknowledgment sent {"connection_id":176069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:48] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a910ae8012d18b08007216d28004a008d2e..."} 
[2026-09-07 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a910ae8012d18b08007216d28004a008d2e..."} 
[2026-09-07 12:02:48] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a910ae8012d18b08007216d28004a008d2e..."} 
[2026-09-07 12:02:48] local.INFO: Packet analysis {"connection_id":176069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:02:48] local.INFO: Extracted packet for processing {"connection_id":176069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756592768,"raw_latitude":119631144,"longitude_deg":75.6592768,"latitude_deg":11.9631144,"altitude":74,"angle":141,"satellites":46,"speed":18,"hex_longitude":"2d18b080","hex_latitude":"07216d28","is_valid_coordinates":true} 
[2026-09-07 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-07 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923255808001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18282954224566272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777936721018736640,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:48] 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-07 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788762721000,"timestamp_ms":1788762721000,"timestamp_seconds":1788762721,"priority":1,"record_length":96,"hex_timestamp":"000001a07a910ae8"} 
[2026-09-07 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-07 12:02:48] 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-07 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923255808001,"66":13374,"106":206,"83":41984,"24":18,"16":18282954224566272,"45":1777936721018736640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923255808001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18282954224566272,"km_value":18282954224566.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777936721018736640,"description":"Unknown IO ID 45"} 
[2026-09-07 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923255808001,"power":13374,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1777936721018736640}} 
[2026-09-07 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":176069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:48] local.INFO: GPS data processed {"connection_id":176069,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:48] local.INFO: Acknowledgment sent {"connection_id":176069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:50] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:02:50] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 12:02:50] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:02:51] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a90dff0012cea0000071cfb70000f00022e..."} 
[2026-09-07 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a90dff0012cea0000071cfb70000f00022e..."} 
[2026-09-07 12:02:51] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07a..."} 
[2026-09-07 12:02:51] local.INFO: IMEI packet received {"connection_id":176071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":176071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:02:55] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a911e70012cea01c0071d1230000f000f2f..."} 
[2026-09-07 12:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a911e70012cea01c0071d1230000f000f2f..."} 
[2026-09-07 12:02:55] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07a90dff0012cea0000071cfb70000f00022e..."} 
[2026-09-07 12:02:55] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07a90"} 
[2026-09-07 12:02:55] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a90"} 
[2026-09-07 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":753532928,"raw_latitude":119339888,"longitude_deg":75.3532928,"latitude_deg":11.9339888,"altitude":15,"angle":2,"satellites":46,"speed":15,"hex_longitude":"2cea0000","hex_latitude":"071cfb70","is_valid_coordinates":true} 
[2026-09-07 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-07 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923249920001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401214382840741888,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585900356983310336,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788762710000,"timestamp_ms":1788762710000,"timestamp_seconds":1788762710,"priority":1,"record_length":96,"hex_timestamp":"000001a07a90dff0"} 
[2026-09-07 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-07 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:55] 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-07 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923249920001,"66":27919,"127":206,"83":43008,"24":15,"16":401214382840741888,"44":-1585900356983310336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923249920001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401214382840741888,"km_value":401214382840741.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585900356983310336,"description":"Unknown IO ID 44"} 
[2026-09-07 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923249920001,"power":27919,"unknown_127":206,"unknown_83":43008,"ignition":15,"odometer":null,"unknown_44":-1585900356983310336}} 
[2026-09-07 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:55] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:55] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:02:55] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:02:55] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":753533376,"raw_latitude":119345712,"longitude_deg":75.3533376,"latitude_deg":11.9345712,"altitude":15,"angle":15,"satellites":47,"speed":19,"hex_longitude":"2cea01c0","hex_latitude":"071d1230","is_valid_coordinates":true} 
[2026-09-07 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-07 12:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923253760001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401214666308583424,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585267038283403264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788762726000,"timestamp_ms":1788762726000,"timestamp_seconds":1788762726,"priority":1,"record_length":96,"hex_timestamp":"000001a07a911e70"} 
[2026-09-07 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-07 12:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:02:55] 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-07 12:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923253760001,"66":27821,"110":206,"83":43008,"24":19,"16":401214666308583424,"44":-1585267038283403264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923253760001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401214666308583424,"km_value":401214666308583.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585267038283403264,"description":"Unknown IO ID 44"} 
[2026-09-07 12:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923253760001,"power":27821,"unknown_110":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-1585267038283403264}} 
[2026-09-07 12:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:02:55] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:02:55] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:03:19] local.INFO: TCP Data received {"connection_id":176069,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a912a28012d18b6c007216470004900a32e..."} 
[2026-09-07 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a912a28012d18b6c007216470004900a32e..."} 
[2026-09-07 12:03:19] local.INFO: Processing buffer {"connection_id":176069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a912a28012d18b6c007216470004900a32e..."} 
[2026-09-07 12:03:19] local.INFO: Packet analysis {"connection_id":176069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:19] local.INFO: Extracted packet for processing {"connection_id":176069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119628912,"longitude_deg":75.6594368,"latitude_deg":11.9628912,"altitude":73,"angle":163,"satellites":46,"speed":8,"hex_longitude":"2d18b6c0","hex_latitude":"07216470","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923256576001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283083073585152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779062620925274112,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:19] 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-07 12:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788762729000,"timestamp_ms":1788762729000,"timestamp_seconds":1788762729,"priority":1,"record_length":96,"hex_timestamp":"000001a07a912a28"} 
[2026-09-07 12: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-07 12:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 12:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923256576001,"66":13330,"106":206,"83":41984,"24":8,"16":18283083073585152,"45":1779062620925274112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923256576001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:03:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283083073585152,"km_value":18283083073585.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779062620925274112,"description":"Unknown IO ID 45"} 
[2026-09-07 12:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923256576001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1779062620925274112}} 
[2026-09-07 12:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":176069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:03:19] local.INFO: GPS data processed {"connection_id":176069,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:03:19] local.INFO: Acknowledgment sent {"connection_id":176069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:03:26] local.INFO: TCP Data received {"connection_id":176071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a912640012cea0280071d1618000f01662f..."} 
[2026-09-07 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a912640012cea0280071d1618000f01662f..."} 
[2026-09-07 12:03:26] local.INFO: Processing buffer {"connection_id":176071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a912640012cea0280071d1618000f01662f..."} 
[2026-09-07 12:03:26] local.INFO: Packet analysis {"connection_id":176071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:26] local.INFO: Extracted packet for processing {"connection_id":176071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":753533568,"raw_latitude":119346712,"longitude_deg":75.3533568,"latitude_deg":11.9346712,"altitude":15,"angle":358,"satellites":47,"speed":21,"hex_longitude":"2cea0280","hex_latitude":"071d1618","is_valid_coordinates":true} 
[2026-09-07 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923257856001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401214713553223680,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584774457072668672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788762728000,"timestamp_ms":1788762728000,"timestamp_seconds":1788762728,"priority":1,"record_length":96,"hex_timestamp":"000001a07a912640"} 
[2026-09-07 12:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:03:26] 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-07 12:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:03: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-07 12:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923257856001,"66":27767,"110":206,"83":43008,"24":21,"16":401214713553223680,"44":-1584774457072668672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923257856001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:03:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401214713553223680,"km_value":401214713553223.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584774457072668672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923257856001,"power":27767,"unknown_110":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-1584774457072668672}} 
[2026-09-07 12:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":176071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:03:26] local.INFO: GPS data processed {"connection_id":176071,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:03:26] local.INFO: Acknowledgment sent {"connection_id":176071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:03:41] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:41] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:41] local.INFO: IMEI packet received {"connection_id":174701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":174701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:03:45] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:45] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:45] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:03:46] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:46] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:03:46] local.INFO: IMEI packet received {"connection_id":174701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":174701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:03:47] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a912e10012d18b6c0072163c0004900b12e..."} 
[2026-09-07 12:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a912e10012d18b6c0072163c0004900b12e..."} 
[2026-09-07 12:03:47] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a912e10012d18b6c0072163c0004900b12e..."} 
[2026-09-07 12:03:47] local.INFO: Packet analysis {"connection_id":174701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:47] local.INFO: Extracted packet for processing {"connection_id":174701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119628736,"longitude_deg":75.6594368,"latitude_deg":11.9628736,"altitude":73,"angle":177,"satellites":46,"speed":7,"hex_longitude":"2d18b6c0","hex_latitude":"072163c0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923258624001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283091663519744,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839529144320,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] 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-07 12:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762730000,"timestamp_ms":1788762730000,"timestamp_seconds":1788762730,"priority":1,"record_length":96,"hex_timestamp":"000001a07a912e10"} 
[2026-09-07 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-07 12:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221692802,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249397983680240216,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2428035073,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-8428486354723918080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4084400128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819373738283940,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":144,"raw_value":7692149456741941255,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:47] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,244,160,10,45,128,109,74,46,66,255,113,76,204,1,240,104,227,243,122,33,4,205,25,153,40,239,54,2,64,7,79,23,169,144,29],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-07 12:03:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260383782733086720,"timestamp_seconds":5260383782733087.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 12:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923258624001,"66":13254,"106":206,"83":41984,"24":7,"16":18283091663519744,"45":1780821839529144320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923258624001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:03:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283091663519744,"km_value":18283091663519.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839529144320,"description":"Unknown IO ID 45"} 
[2026-09-07 12:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923258624001,"power":13254,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1780821839529144320}} 
[2026-09-07 12:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":174701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:03:47] local.INFO: GPS data processed {"connection_id":174701,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:03:47] local.INFO: Acknowledgment sent {"connection_id":174701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:03:50] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:50] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:03:50] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:03:51] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a91ca50012ce9ba80071d3078000a00fc2b..."} 
[2026-09-07 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a91ca50012ce9ba80071d3078000a00fc2b..."} 
[2026-09-07 12:03:51] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a91ca50012ce9ba80071d3078000a00fc2b..."} 
[2026-09-07 12:03:51] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:51] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":753515136,"raw_latitude":119353464,"longitude_deg":75.3515136,"latitude_deg":11.9353464,"altitude":10,"angle":252,"satellites":43,"speed":32,"hex_longitude":"2ce9ba80","hex_latitude":"071d3078","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923267584001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401216165252169728,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599692630835640320,"note":"Value kept but may cause issues"} 
[2026-09-07 12:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762770000,"timestamp_ms":1788762770000,"timestamp_seconds":1788762770,"priority":1,"record_length":96,"hex_timestamp":"000001a07a91ca50"} 
[2026-09-07 12: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-07 12:03: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-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:03: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-07 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923267584001,"66":27843,"110":206,"83":43008,"24":32,"16":401216165252169728,"44":-1599692630835640320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923267584001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:03:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401216165252169728,"km_value":401216165252169.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599692630835640320,"description":"Unknown IO ID 44"} 
[2026-09-07 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923267584001,"power":27843,"unknown_110":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1599692630835640320}} 
[2026-09-07 12:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:03:51] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:03:51] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:18] local.INFO: TCP Data received {"connection_id":174701,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9131f8012d18b6c007216330004900cb2e..."} 
[2026-09-07 12:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9131f8012d18b6c007216330004900cb2e..."} 
[2026-09-07 12:04:18] local.INFO: Processing buffer {"connection_id":174701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9131f8012d18b6c007216330004900cb2e..."} 
[2026-09-07 12:04:18] local.INFO: Packet analysis {"connection_id":174701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:04:18] local.INFO: Extracted packet for processing {"connection_id":174701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756594368,"raw_latitude":119628592,"longitude_deg":75.6594368,"latitude_deg":11.9628592,"altitude":73,"angle":203,"satellites":46,"speed":5,"hex_longitude":"2d18b6c0","hex_latitude":"07216330","is_valid_coordinates":true} 
[2026-09-07 12:04: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-07 12:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923258880001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283100253454336,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839529099264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:18] 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-07 12:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762731000,"timestamp_ms":1788762731000,"timestamp_seconds":1788762731,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9131f8"} 
[2026-09-07 12:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:04:18] 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-07 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 12:04:18] 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-07 12:04: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-07 12:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923258880001,"66":13254,"106":206,"83":41984,"24":5,"16":18283100253454336,"45":1780821839529099264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923258880001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:04:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283100253454336,"km_value":18283100253454.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839529099264,"description":"Unknown IO ID 45"} 
[2026-09-07 12:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923258880001,"power":13254,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1780821839529099264}} 
[2026-09-07 12:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":174701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:04:18] local.INFO: GPS data processed {"connection_id":174701,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:04:18] local.INFO: Acknowledgment sent {"connection_id":174701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:21] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a926a78012ce9bc80071d9f98000b001c2e..."} 
[2026-09-07 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a926a78012ce9bc80071d9f98000b001c2e..."} 
[2026-09-07 12:04:21] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a926a78012ce9bc80071d9f98000b001c2e..."} 
[2026-09-07 12:04:21] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:21] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":753515648,"raw_latitude":119381912,"longitude_deg":75.3515648,"latitude_deg":11.9381912,"altitude":11,"angle":28,"satellites":46,"speed":44,"hex_longitude":"2ce9bc80","hex_latitude":"071d9f98","is_valid_coordinates":true} 
[2026-09-07 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923277568001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401217780159873024,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609333148783370240,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788762811000,"timestamp_ms":1788762811000,"timestamp_seconds":1788762811,"priority":1,"record_length":96,"hex_timestamp":"000001a07a926a78"} 
[2026-09-07 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 12:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04: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-07 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923277568001,"66":27876,"76":206,"83":43008,"24":44,"16":401217780159873024,"44":-1609333148783370240},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923277568001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:04:21] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401217780159873024,"km_value":401217780159873.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609333148783370240,"description":"Unknown IO ID 44"} 
[2026-09-07 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923277568001,"power":27876,"unknown_76":206,"unknown_83":43008,"ignition":44,"odometer":null,"unknown_44":-1609333148783370240}} 
[2026-09-07 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:04:21] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:04:21] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:41] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:41] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:41] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:04:42] local.INFO: TCP Data received {"connection_id":176074,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176074,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Processing buffer {"connection_id":176074,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Packet analysis {"connection_id":176074,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 12:04:42] local.INFO: Extracted packet for processing {"connection_id":176074,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 12:04: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-07 12:04:42] 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-07 12:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:42] 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-07 12:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-07 12:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-07 12:04:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176074,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 12:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176074,"device_imei":null,"avl_records_count":1} 
[2026-09-07 12:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176074,"device_imei":null,"avl_records_count":1} 
[2026-09-07 12:04:42] 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-07 12:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":176074,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 12:04:42] local.INFO: GPS data processed {"connection_id":176074,"processed":0,"errors":0,"total":1} 
[2026-09-07 12:04:42] local.INFO: Acknowledgment sent {"connection_id":176074,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:42] local.INFO: TCP Data received {"connection_id":176075,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176075,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Processing buffer {"connection_id":176075,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-07 12:04:42] local.INFO: Packet analysis {"connection_id":176075,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 12:04:42] local.INFO: Extracted packet for processing {"connection_id":176075,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-07 12:04: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-07 12:04:42] 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-07 12:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:42] 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-07 12:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-07 12:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-07 12:04:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":176075,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 12:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":176075,"device_imei":null,"avl_records_count":1} 
[2026-09-07 12:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":176075,"device_imei":null,"avl_records_count":1} 
[2026-09-07 12:04:42] 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-07 12:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":176075,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 12:04:42] local.INFO: GPS data processed {"connection_id":176075,"processed":0,"errors":0,"total":1} 
[2026-09-07 12:04:42] local.INFO: Acknowledgment sent {"connection_id":176075,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:46] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:46] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:46] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:04:46] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:46] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:04:46] local.INFO: IMEI packet received {"connection_id":176073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":176073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:04:47] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a918400012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a918400012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:04:47] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a918400012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:04:47] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:04:47] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923259136001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780821839529062400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762752000,"timestamp_ms":1788762752000,"timestamp_seconds":1788762752,"priority":1,"record_length":96,"hex_timestamp":"000001a07a918400"} 
[2026-09-07 12: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-07 12:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 12:04:47] 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-07 12: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-07 12: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-07 12:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923259136001,"66":13167,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1780821839529062400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923259136001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:04:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780821839529062400,"description":"Unknown IO ID 45"} 
[2026-09-07 12:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923259136001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1780821839529062400}} 
[2026-09-07 12:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:04:47] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:04:47] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:50] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:50] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:50] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:04:55] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:55] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:04:55] local.INFO: IMEI packet received {"connection_id":173351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":173351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:04:56] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:56] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:56] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:56] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":753519872,"raw_latitude":119390288,"longitude_deg":75.3519872,"latitude_deg":11.9390288,"altitude":11,"angle":15,"satellites":45,"speed":49,"hex_longitude":"2ce9cd00","hex_latitude":"071dc050","is_valid_coordinates":true} 
[2026-09-07 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923279616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401218235426406400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1604266599200614400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788762819000,"timestamp_ms":1788762819000,"timestamp_seconds":1788762819,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9289b8"} 
[2026-09-07 12:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:04:56] 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-07 12:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04:56] 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-07 12:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923279616001,"66":27930,"76":206,"83":43008,"24":49,"16":401218235426406400,"44":-1604266599200614400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923279616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:04:56] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401218235426406400,"km_value":401218235426406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:04:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1604266599200614400,"description":"Unknown IO ID 44"} 
[2026-09-07 12:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923279616001,"power":27930,"unknown_76":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1604266599200614400}} 
[2026-09-07 12:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:04:56] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:04:56] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:04:58] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:58] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9289b8012ce9cd00071dc050000b000f2d..."} 
[2026-09-07 12:04:58] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:58] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":753519872,"raw_latitude":119390288,"longitude_deg":75.3519872,"latitude_deg":11.9390288,"altitude":11,"angle":15,"satellites":45,"speed":49,"hex_longitude":"2ce9cd00","hex_latitude":"071dc050","is_valid_coordinates":true} 
[2026-09-07 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923281664001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401218235426406400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599622262082744320,"note":"Value kept but may cause issues"} 
[2026-09-07 12:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788762819000,"timestamp_ms":1788762819000,"timestamp_seconds":1788762819,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9289b8"} 
[2026-09-07 12:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:04:58] 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-07 12:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:04:58] 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-07 12:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923281664001,"66":27930,"76":206,"83":43008,"24":49,"16":401218235426406400,"44":-1599622262082744320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923281664001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:04:58] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401218235426406400,"km_value":401218235426406.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599622262082744320,"description":"Unknown IO ID 44"} 
[2026-09-07 12:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923281664001,"power":27930,"unknown_76":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1599622262082744320}} 
[2026-09-07 12:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:04:58] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:04:58] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:12] local.INFO: TCP Data received {"connection_id":174702,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:12] local.INFO: Processing buffer {"connection_id":174702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:12] local.INFO: IMEI packet received {"connection_id":174702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":174702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:05:18] local.INFO: TCP Data received {"connection_id":176073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a91d608012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a91d608012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:05:18] local.INFO: Processing buffer {"connection_id":176073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a91d608012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:05:18] local.INFO: Packet analysis {"connection_id":176073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:05:18] local.INFO: Extracted packet for processing {"connection_id":176073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a91"} 
[2026-09-07 12:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923264512001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762773000,"timestamp_ms":1788762773000,"timestamp_seconds":1788762773,"priority":1,"record_length":96,"hex_timestamp":"000001a07a91d608"} 
[2026-09-07 12: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-07 12:05:18] 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-07 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:18] 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-07 12: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-07 12: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-07 12:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923264512001,"66":13048,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923264512001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923264512001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":176073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:18] local.INFO: GPS data processed {"connection_id":176073,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:18] local.INFO: Acknowledgment sent {"connection_id":176073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:31] local.INFO: TCP Data received {"connection_id":173351,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a92a510012ce9d640071de240000b00102c..."} 
[2026-09-07 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a92a510012ce9d640071de240000b00102c..."} 
[2026-09-07 12:05:31] local.INFO: Processing buffer {"connection_id":173351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a92a510012ce9d640071de240000b00102c..."} 
[2026-09-07 12:05:31] local.INFO: Packet analysis {"connection_id":173351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:31] local.INFO: Extracted packet for processing {"connection_id":173351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":753522240,"raw_latitude":119398976,"longitude_deg":75.352224,"latitude_deg":11.9398976,"altitude":11,"angle":16,"satellites":44,"speed":53,"hex_longitude":"2ce9d640","hex_latitude":"071de240","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923281664001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401218669218103296,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1599622262082744320,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788762826000,"timestamp_ms":1788762826000,"timestamp_seconds":1788762826,"priority":1,"record_length":96,"hex_timestamp":"000001a07a92a510"} 
[2026-09-07 12: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-07 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:31] 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-07 12: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-07 12: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-07 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05:31] 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-07 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923281664001,"66":27876,"76":206,"83":43008,"24":53,"16":401218669218103296,"44":-1599622262082744320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923281664001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:31] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401218669218103296,"km_value":401218669218103.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1599622262082744320,"description":"Unknown IO ID 44"} 
[2026-09-07 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923281664001,"power":27876,"unknown_76":206,"unknown_83":43008,"ignition":53,"odometer":null,"unknown_44":-1599622262082744320}} 
[2026-09-07 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":173351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:31] local.INFO: GPS data processed {"connection_id":173351,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:31] local.INFO: Acknowledgment sent {"connection_id":173351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:42] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:42] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:42] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:05:45] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:45] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:45] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:05:46] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:46] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:46] local.INFO: IMEI packet received {"connection_id":174704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":174704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:05:47] local.INFO: TCP Data received {"connection_id":173595,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:47] local.INFO: Processing buffer {"connection_id":173595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:05:47] local.INFO: IMEI packet received {"connection_id":173595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":173595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:05:50] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:50] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:05:50] local.INFO: IMEI packet received {"connection_id":174703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:05:50] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:50] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:05:50] local.INFO: IMEI packet received {"connection_id":174704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:05:51] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a92c068012ce9e100071e03d8000b00122c..."} 
[2026-09-07 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a92c068012ce9e100071e03d8000b00122c..."} 
[2026-09-07 12:05:51] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a92c068012ce9e100071e03d8000b00122c..."} 
[2026-09-07 12:05:51] local.INFO: Packet analysis {"connection_id":174703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:51] local.INFO: Extracted packet for processing {"connection_id":174703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":753524992,"raw_latitude":119407576,"longitude_deg":75.3524992,"latitude_deg":11.9407576,"altitude":11,"angle":18,"satellites":44,"speed":51,"hex_longitude":"2ce9e100","hex_latitude":"071e03d8","is_valid_coordinates":true} 
[2026-09-07 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923283456001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401219107304767488,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597018618545946624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762833000,"timestamp_ms":1788762833000,"timestamp_seconds":1788762833,"priority":1,"record_length":96,"hex_timestamp":"000001a07a92c068"} 
[2026-09-07 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05: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-07 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923283456001,"66":27974,"76":206,"83":43008,"24":51,"16":401219107304767488,"44":-1597018618545946624},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923283456001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401219107304767488,"km_value":401219107304767.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597018618545946624,"description":"Unknown IO ID 44"} 
[2026-09-07 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923283456001,"power":27974,"unknown_76":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1597018618545946624}} 
[2026-09-07 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:51] local.INFO: GPS data processed {"connection_id":174703,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:51] local.INFO: Acknowledgment sent {"connection_id":174703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:51] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a922810012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a922810012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:51] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a922810012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:51] local.INFO: Packet analysis {"connection_id":174704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:51] local.INFO: Extracted packet for processing {"connection_id":174704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923269888001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05: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-07 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762794000,"timestamp_ms":1788762794000,"timestamp_seconds":1788762794,"priority":1,"record_length":96,"hex_timestamp":"000001a07a922810"} 
[2026-09-07 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923269888001,"66":12972,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923269888001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923269888001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:51] local.INFO: GPS data processed {"connection_id":174704,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:51] local.INFO: Acknowledgment sent {"connection_id":174704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:56] local.INFO: TCP Data received {"connection_id":174704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a927a18012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a927a18012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:56] local.INFO: Processing buffer {"connection_id":174704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a927a18012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:05:56] local.INFO: Packet analysis {"connection_id":174704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:56] local.INFO: Extracted packet for processing {"connection_id":174704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:56] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:05: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-07 12:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923275264001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05: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-07 12:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788762815000,"timestamp_ms":1788762815000,"timestamp_seconds":1788762815,"priority":1,"record_length":96,"hex_timestamp":"000001a07a927a18"} 
[2026-09-07 12:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:05:56] 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-07 12:05: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":172,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:56] 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-07 12:05: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-07 12:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923275264001,"66":12917,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923275264001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:05:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923275264001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":174704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:56] local.INFO: GPS data processed {"connection_id":174704,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:56] local.INFO: Acknowledgment sent {"connection_id":174704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:05:58] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a92dbc0012ce9ec80071e2650000c00112d..."} 
[2026-09-07 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a92dbc0012ce9ec80071e2650000c00112d..."} 
[2026-09-07 12:05:58] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a92dbc0012ce9ec80071e2650000c00112d..."} 
[2026-09-07 12:05:58] local.INFO: Packet analysis {"connection_id":174703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:58] local.INFO: Extracted packet for processing {"connection_id":174703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:05:58] local.INFO: GPS Element Parsed {"raw_longitude":753527936,"raw_latitude":119416400,"longitude_deg":75.3527936,"latitude_deg":11.94164,"altitude":12,"angle":17,"satellites":45,"speed":50,"hex_longitude":"2ce9ec80","hex_latitude":"071e2650","is_valid_coordinates":true} 
[2026-09-07 12:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923285248001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401219553981366272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1593992762544105472,"note":"Value kept but may cause issues"} 
[2026-09-07 12:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788762840000,"timestamp_ms":1788762840000,"timestamp_seconds":1788762840,"priority":1,"record_length":96,"hex_timestamp":"000001a07a92dbc0"} 
[2026-09-07 12:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:05:58] 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-07 12:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:05:58] 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-07 12:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923285248001,"66":27930,"76":206,"83":43008,"24":50,"16":401219553981366272,"44":-1593992762544105472},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923285248001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:05:58] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401219553981366272,"km_value":401219553981366.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:05:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1593992762544105472,"description":"Unknown IO ID 44"} 
[2026-09-07 12:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923285248001,"power":27930,"unknown_76":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-1593992762544105472}} 
[2026-09-07 12:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":174703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:05:58] local.INFO: GPS data processed {"connection_id":174703,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:05:58] local.INFO: Acknowledgment sent {"connection_id":174703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:06:29] local.INFO: TCP Data received {"connection_id":174703,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a92fb00012ce9f6c0071e47e8000c000e2d..."} 
[2026-09-07 12:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a92fb00012ce9f6c0071e47e8000c000e2d..."} 
[2026-09-07 12:06:29] local.INFO: Processing buffer {"connection_id":174703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a92fb00012ce9f6c0071e47e8000c000e2d..."} 
[2026-09-07 12:06:29] local.INFO: Packet analysis {"connection_id":174703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:06:29] local.INFO: Extracted packet for processing {"connection_id":174703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:06:29] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119425000,"longitude_deg":75.353056,"latitude_deg":11.9425,"altitude":12,"angle":14,"satellites":45,"speed":38,"hex_longitude":"2ce9f6c0","hex_latitude":"071e47e8","is_valid_coordinates":true} 
[2026-09-07 12:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923287040001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401219992068030464,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1590755800309673984,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788762848000,"timestamp_ms":1788762848000,"timestamp_seconds":1788762848,"priority":1,"record_length":96,"hex_timestamp":"000001a07a92fb00"} 
[2026-09-07 12:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:06:29] 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-07 12:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:06:29] 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-07 12:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923287040001,"66":27821,"76":206,"83":43008,"24":38,"16":401219992068030464,"44":-1590755800309673984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923287040001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:06:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401219992068030464,"km_value":401219992068030.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1590755800309673984,"description":"Unknown IO ID 44"} 
[2026-09-07 12:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923287040001,"power":27821,"unknown_76":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1590755800309673984}} 
[2026-09-07 12:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":174703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:06:29] local.INFO: GPS data processed {"connection_id":174703,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:06:29] local.INFO: Acknowledgment sent {"connection_id":174703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:06:40] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:06:40] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:40] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:06:43] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:43] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:43] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:06:45] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:45] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:45] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:06:46] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:46] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:06:46] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:06:47] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a92cc20012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a92cc20012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:06:47] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a92cc20012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:06:47] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:06:47] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a92"} 
[2026-09-07 12:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923280640001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762836000,"timestamp_ms":1788762836000,"timestamp_seconds":1788762836,"priority":1,"record_length":96,"hex_timestamp":"000001a07a92cc20"} 
[2026-09-07 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-07 12:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 12:06:47] 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-07 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-07 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-07 12:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923280640001,"66":12950,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923280640001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:06:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923280640001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:06:47] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:06:47] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:06:50] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:50] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:06:50] local.INFO: IMEI packet received {"connection_id":174705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":174705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:06:51] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9329e0012cea0140071e6a68000d00132a..."} 
[2026-09-07 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9329e0012cea0140071e6a68000d00132a..."} 
[2026-09-07 12:06:51] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9329e0012cea0140071e6a68000d00132a..."} 
[2026-09-07 12:06:51] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:06:51] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:06:51] local.INFO: GPS Element Parsed {"raw_longitude":753533248,"raw_latitude":119433832,"longitude_deg":75.3533248,"latitude_deg":11.9433832,"altitude":13,"angle":19,"satellites":42,"speed":36,"hex_longitude":"2cea0140","hex_latitude":"071e6a68","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923289088001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401220438744629248,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681796188160,"note":"Value kept but may cause issues"} 
[2026-09-07 12:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762860000,"timestamp_ms":1788762860000,"timestamp_seconds":1788762860,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9329e0"} 
[2026-09-07 12: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-07 12:06: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-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:06: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-07 12:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923289088001,"66":27821,"76":206,"83":43008,"24":36,"16":401220438744629248,"44":-1587870681796188160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 12:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923289088001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:06:51] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 12:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401220438744629248,"km_value":401220438744629.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681796188160,"description":"Unknown IO ID 44"} 
[2026-09-07 12:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923289088001,"power":27821,"unknown_76":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1587870681796188160}} 
[2026-09-07 12:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:06:51] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:06:51] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:18] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a931e28012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a931e28012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:07:18] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a931e28012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:07:18] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:18] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923286016001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762857000,"timestamp_ms":1788762857000,"timestamp_seconds":1788762857,"priority":1,"record_length":96,"hex_timestamp":"000001a07a931e28"} 
[2026-09-07 12: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-07 12:07:18] 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-07 12:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:18] 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-07 12: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-07 12: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-07 12:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923286016001,"66":12928,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923286016001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923286016001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:18] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:18] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:22] local.INFO: TCP Data received {"connection_id":174705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a94ef00012cea4b80071fbae8000b01672b..."} 
[2026-09-07 12:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a94ef00012cea4b80071fbae8000b01672b..."} 
[2026-09-07 12:07:22] local.INFO: Processing buffer {"connection_id":174705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a94ef00012cea4b80071fbae8000b01672b..."} 
[2026-09-07 12:07:22] local.INFO: Packet analysis {"connection_id":174705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:07:22] local.INFO: Extracted packet for processing {"connection_id":174705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":753552256,"raw_latitude":119519976,"longitude_deg":75.3552256,"latitude_deg":11.9519976,"altitude":11,"angle":359,"satellites":43,"speed":36,"hex_longitude":"2cea4b80","hex_latitude":"071fbae8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923319040001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401224815316303872,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563945308753741824,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762976000,"timestamp_ms":1788762976000,"timestamp_seconds":1788762976,"priority":1,"record_length":96,"hex_timestamp":"000001a07a94ef00"} 
[2026-09-07 12: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-07 12:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07: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-07 12:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923319040001,"66":27887,"184":206,"83":43008,"24":36,"16":401224815316303872,"44":-1563945308753741824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923319040001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401224815316303872,"km_value":401224815316303.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563945308753741824,"description":"Unknown IO ID 44"} 
[2026-09-07 12:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923319040001,"power":27887,"unknown_184":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1563945308753741824}} 
[2026-09-07 12:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":174705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:22] local.INFO: GPS data processed {"connection_id":174705,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:22] local.INFO: Acknowledgment sent {"connection_id":174705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:41] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:41] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:41] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:07:43] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:43] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:43] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:07:45] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:45] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:45] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:07:46] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:46] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:07:46] local.INFO: IMEI packet received {"connection_id":176076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":176076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:07:47] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a937030012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a937030012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:47] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a937030012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:47] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:47] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923291392001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762878000,"timestamp_ms":1788762878000,"timestamp_seconds":1788762878,"priority":1,"record_length":96,"hex_timestamp":"000001a07a937030"} 
[2026-09-07 12: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-07 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:47] 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-07 12: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-07 12: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-07 12:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923291392001,"66":12917,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923291392001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:07:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923291392001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:47] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:47] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:48] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:48] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:48] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:07:50] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:50] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:07:50] local.INFO: IMEI packet received {"connection_id":176077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":176077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:07:50] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9519f8012cea4d40071fde180009000729..."} 
[2026-09-07 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9519f8012cea4d40071fde180009000729..."} 
[2026-09-07 12:07:50] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9519f8012cea4d40071fde180009000729..."} 
[2026-09-07 12:07:50] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:07:50] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":753552704,"raw_latitude":119528984,"longitude_deg":75.3552704,"latitude_deg":11.9528984,"altitude":9,"angle":7,"satellites":41,"speed":35,"hex_longitude":"2cea4d40","hex_latitude":"071fde18","is_valid_coordinates":true} 
[2026-09-07 12:07: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-07 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923321856001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401225253402968064,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564015677495646208,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788762987000,"timestamp_ms":1788762987000,"timestamp_seconds":1788762987,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9519f8"} 
[2026-09-07 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:07: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":239,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:50] 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-07 12:07: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-07 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07:50] 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-07 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923321856001,"66":27930,"184":206,"83":43008,"24":35,"16":401225253402968064,"44":-1564015677495646208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923321856001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:50] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401225253402968064,"km_value":401225253402968.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564015677495646208,"description":"Unknown IO ID 44"} 
[2026-09-07 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923321856001,"power":27930,"unknown_184":206,"unknown_83":43008,"ignition":35,"odometer":null,"unknown_44":-1564015677495646208}} 
[2026-09-07 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:50] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:50] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:51] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a93c238012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a93c238012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:51] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a93c238012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:07:51] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:51] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a93"} 
[2026-09-07 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923296768001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07: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-07 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788762899000,"timestamp_ms":1788762899000,"timestamp_seconds":1788762899,"priority":1,"record_length":96,"hex_timestamp":"000001a07a93c238"} 
[2026-09-07 12: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-07 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:51] 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-07 12: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-07 12: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-07 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923296768001,"66":12885,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923296768001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923296768001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:51] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:51] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:07:55] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a954108012cea5180072001e0000a00062e..."} 
[2026-09-07 12:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a954108012cea5180072001e0000a00062e..."} 
[2026-09-07 12:07:55] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a954108012cea5180072001e0000a00062e..."} 
[2026-09-07 12:07:55] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:07:55] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":753553792,"raw_latitude":119538144,"longitude_deg":75.3553792,"latitude_deg":11.9538144,"altitude":10,"angle":6,"satellites":46,"speed":41,"hex_longitude":"2cea5180","hex_latitude":"072001e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923324672001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401225700079566848,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563523096284096512,"note":"Value kept but may cause issues"} 
[2026-09-07 12:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788762997000,"timestamp_ms":1788762997000,"timestamp_seconds":1788762997,"priority":1,"record_length":96,"hex_timestamp":"000001a07a954108"} 
[2026-09-07 12: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-07 12:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:07:55] 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-07 12:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923324672001,"66":27876,"184":206,"83":43008,"24":41,"16":401225700079566848,"44":-1563523096284096512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923324672001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:07:55] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401225700079566848,"km_value":401225700079566.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563523096284096512,"description":"Unknown IO ID 44"} 
[2026-09-07 12:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923324672001,"power":27876,"unknown_184":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-1563523096284096512}} 
[2026-09-07 12:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:07:55] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:07:55] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:08:22] local.INFO: TCP Data received {"connection_id":176076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a941440012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a941440012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:08:22] local.INFO: Processing buffer {"connection_id":176076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a941440012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:08:22] local.INFO: Packet analysis {"connection_id":176076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:08:22] local.INFO: Extracted packet for processing {"connection_id":176076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923302144001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08: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-07 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788762920000,"timestamp_ms":1788762920000,"timestamp_seconds":1788762920,"priority":1,"record_length":96,"hex_timestamp":"000001a07a941440"} 
[2026-09-07 12: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-07 12:08:22] 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-07 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 12:08: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-07 12: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-07 12: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-07 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923302144001,"66":12809,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923302144001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:08:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923302144001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":176076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:08:22] local.INFO: GPS data processed {"connection_id":176076,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:08:22] local.INFO: Acknowledgment sent {"connection_id":176076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:08:28] local.INFO: TCP Data received {"connection_id":176077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a956430012cea5580072026d8000a00072b..."} 
[2026-09-07 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a956430012cea5580072026d8000a00072b..."} 
[2026-09-07 12:08:28] local.INFO: Processing buffer {"connection_id":176077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a956430012cea5580072026d8000a00072b..."} 
[2026-09-07 12:08:28] local.INFO: Packet analysis {"connection_id":176077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:08:28] local.INFO: Extracted packet for processing {"connection_id":176077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":753554816,"raw_latitude":119547608,"longitude_deg":75.3554816,"latitude_deg":11.9547608,"altitude":10,"angle":7,"satellites":43,"speed":45,"hex_longitude":"2cea5580","hex_latitude":"072026d8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923327232001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401226163936034816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562326827630731264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788763006000,"timestamp_ms":1788763006000,"timestamp_seconds":1788763006,"priority":1,"record_length":96,"hex_timestamp":"000001a07a956430"} 
[2026-09-07 12: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-07 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:08:28] 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-07 12: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-07 12: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-07 12:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:08:28] 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-07 12:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923327232001,"66":27832,"184":206,"83":43008,"24":45,"16":401226163936034816,"44":-1562326827630731264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923327232001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:08:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:08:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401226163936034816,"km_value":401226163936034.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562326827630731264,"description":"Unknown IO ID 44"} 
[2026-09-07 12:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923327232001,"power":27832,"unknown_184":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1562326827630731264}} 
[2026-09-07 12:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":176077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:08:28] local.INFO: GPS data processed {"connection_id":176077,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:08:28] local.INFO: Acknowledgment sent {"connection_id":176077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:08:41] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:41] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:41] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:08:46] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:46] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:08:46] local.INFO: IMEI packet received {"connection_id":174706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":174706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:08:47] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a946648012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a946648012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:08:47] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a946648012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:08:47] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:08:47] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923307520001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788762941000,"timestamp_ms":1788762941000,"timestamp_seconds":1788762941,"priority":1,"record_length":96,"hex_timestamp":"000001a07a946648"} 
[2026-09-07 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-07 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7938148492049337472,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2147950945,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4100980736,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2405449967821966124,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,244,160,194,45,128,97,73,43,10,66,112,30,1,240,227,122,33,4,113,205,179,224,239,50,2,64,7,164],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-07 12:08:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260427758902706176,"timestamp_seconds":5260427758902706.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923307520001,"66":12841,"105":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923307520001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:08:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:08:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923307520001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:08:47] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:08:47] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:08:50] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:50] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:50] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:08:55] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:55] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:08:55] local.INFO: IMEI packet received {"connection_id":176078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":176078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:08:56] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a958370012cea59c007204c28000b000626..."} 
[2026-09-07 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a958370012cea59c007204c28000b000626..."} 
[2026-09-07 12:08:56] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a958370012cea59c007204c28000b000626..."} 
[2026-09-07 12:08:56] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:08:56] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":753555904,"raw_latitude":119557160,"longitude_deg":75.3555904,"latitude_deg":11.955716,"altitude":11,"angle":6,"satellites":38,"speed":49,"hex_longitude":"2cea59c0","hex_latitude":"07204c28","is_valid_coordinates":true} 
[2026-09-07 12:08: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-07 12:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923329536001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401226627792502784,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561200927721465856,"note":"Value kept but may cause issues"} 
[2026-09-07 12:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763014000,"timestamp_ms":1788763014000,"timestamp_seconds":1788763014,"priority":1,"record_length":96,"hex_timestamp":"000001a07a958370"} 
[2026-09-07 12:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 12:08:56] 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-07 12:08: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-07 12:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:08:56] 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-07 12:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923329536001,"66":27691,"184":206,"83":43008,"24":49,"16":401226627792502784,"44":-1561200927721465856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923329536001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:08:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:08:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401226627792502784,"km_value":401226627792502.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561200927721465856,"description":"Unknown IO ID 44"} 
[2026-09-07 12:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923329536001,"power":27691,"unknown_184":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1561200927721465856}} 
[2026-09-07 12:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:08:56] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:08:56] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:09:18] local.INFO: TCP Data received {"connection_id":174706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a94b850012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a94b850012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:09:18] local.INFO: Processing buffer {"connection_id":174706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a94b850012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:09:18] local.INFO: Packet analysis {"connection_id":174706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:09:18] local.INFO: Extracted packet for processing {"connection_id":174706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a94"} 
[2026-09-07 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:09: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-07 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923312896001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:18] 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-07 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788762962000,"timestamp_ms":1788762962000,"timestamp_seconds":1788762962,"priority":1,"record_length":96,"hex_timestamp":"000001a07a94b850"} 
[2026-09-07 12:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:09:18] 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-07 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 12:09:18] 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-07 12:09: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-07 12:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923312896001,"66":12841,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923312896001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:09:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923312896001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":174706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:09:18] local.INFO: GPS data processed {"connection_id":174706,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:09:18] local.INFO: Acknowledgment sent {"connection_id":174706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:09:27] local.INFO: TCP Data received {"connection_id":176078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a95a2b0012cea5e4007207298000b00062d..."} 
[2026-09-07 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a95a2b0012cea5e4007207298000b00062d..."} 
[2026-09-07 12:09:27] local.INFO: Processing buffer {"connection_id":176078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a95a2b0012cea5e4007207298000b00062d..."} 
[2026-09-07 12:09:27] local.INFO: Packet analysis {"connection_id":176078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:09:27] local.INFO: Extracted packet for processing {"connection_id":176078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":753557056,"raw_latitude":119567000,"longitude_deg":75.3557056,"latitude_deg":11.9567,"altitude":11,"angle":6,"satellites":45,"speed":48,"hex_longitude":"2cea5e40","hex_latitude":"07207298","is_valid_coordinates":true} 
[2026-09-07 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923331584001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401227108828839936,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560004659068000256,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788763022000,"timestamp_ms":1788763022000,"timestamp_seconds":1788763022,"priority":1,"record_length":96,"hex_timestamp":"000001a07a95a2b0"} 
[2026-09-07 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 12:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:27] 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-07 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923331584001,"66":27865,"184":206,"83":43008,"24":48,"16":401227108828839936,"44":-1560004659068000256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-09-07 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923331584001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401227108828839936,"km_value":401227108828839.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560004659068000256,"description":"Unknown IO ID 44"} 
[2026-09-07 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923331584001,"power":27865,"unknown_184":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1560004659068000256}} 
[2026-09-07 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":176078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:09:27] local.INFO: GPS data processed {"connection_id":176078,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:09:27] local.INFO: Acknowledgment sent {"connection_id":176078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:09:40] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:40] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:40] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:09:46] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:46] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:09:46] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:09:46] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a950a58012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a950a58012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:09:46] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a950a58012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:09:46] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:09:46] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923318272001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:46] 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-07 12:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788762983000,"timestamp_ms":1788762983000,"timestamp_seconds":1788762983,"priority":1,"record_length":96,"hex_timestamp":"000001a07a950a58"} 
[2026-09-07 12:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:09:46] 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-07 12:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 12:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923318272001,"66":12819,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923318272001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:09:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923318272001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:09:47] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:09:47] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:09:54] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:54] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:54] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:09:55] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:55] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:09:55] local.INFO: IMEI packet received {"connection_id":176079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":176079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:09:55] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a972568012cead7800721efe0000a001f30..."} 
[2026-09-07 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a972568012cead7800721efe0000a001f30..."} 
[2026-09-07 12:09:55] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a972568012cead7800721efe0000a001f30..."} 
[2026-09-07 12:09:55] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:09:55] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:09:55] local.INFO: GPS Element Parsed {"raw_longitude":753588096,"raw_latitude":119664608,"longitude_deg":75.3588096,"latitude_deg":11.9664608,"altitude":10,"angle":31,"satellites":48,"speed":43,"hex_longitude":"2cead780","hex_latitude":"0721efe0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923356928001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401232133940576256,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1530027574022785024,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788763121000,"timestamp_ms":1788763121000,"timestamp_seconds":1788763121,"priority":1,"record_length":96,"hex_timestamp":"000001a07a972568"} 
[2026-09-07 12: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-07 12:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 12:09:55] 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-07 12: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-07 12: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-07 12:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:55] 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-07 12:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923356928001,"66":27908,"183":206,"83":43008,"24":43,"16":401232133940576256,"44":-1530027574022785024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-07 12:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923356928001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:09:55] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 12:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401232133940576256,"km_value":401232133940576.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:09:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1530027574022785024,"description":"Unknown IO ID 44"} 
[2026-09-07 12:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923356928001,"power":27908,"unknown_183":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1530027574022785024}} 
[2026-09-07 12:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:09:55] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:09:55] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:09:56] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a974890012ceaec00072210c0000c002130..."} 
[2026-09-07 12:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a974890012ceaec00072210c0000c002130..."} 
[2026-09-07 12:09:56] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a974890012ceaec00072210c0000c002130..."} 
[2026-09-07 12:09:56] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:09:56] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:09:56] local.INFO: GPS Element Parsed {"raw_longitude":753593344,"raw_latitude":119673024,"longitude_deg":75.3593344,"latitude_deg":11.9673024,"altitude":12,"angle":33,"satellites":48,"speed":45,"hex_longitude":"2ceaec00","hex_latitude":"072210c0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923358976001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401232614976913408,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1524609180719128576,"note":"Value kept but may cause issues"} 
[2026-09-07 12:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763130000,"timestamp_ms":1788763130000,"timestamp_seconds":1788763130,"priority":1,"record_length":96,"hex_timestamp":"000001a07a974890"} 
[2026-09-07 12: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-07 12:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12: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-07 12: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-07 12:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:09:56] 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-07 12:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923358976001,"66":27789,"183":206,"83":43008,"24":45,"16":401232614976913408,"44":-1524609180719128576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-07 12:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923358976001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:09:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 12:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401232614976913408,"km_value":401232614976913.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1524609180719128576,"description":"Unknown IO ID 44"} 
[2026-09-07 12:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923358976001,"power":27789,"unknown_183":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1524609180719128576}} 
[2026-09-07 12:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:09:56] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:09:56] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:10:18] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a955c60012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a955c60012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:10:18] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a955c60012d18b380072161e0004900cb2c..."} 
[2026-09-07 12:10:18] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:10:18] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923323648001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] 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-07 12:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763004000,"timestamp_ms":1788763004000,"timestamp_seconds":1788763004,"priority":1,"record_length":96,"hex_timestamp":"000001a07a955c60"} 
[2026-09-07 12:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:10:18] 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-07 12:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84751127216071009,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503878606258176,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-7868879259499449472,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4828122687631327488,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2147950945,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":224,"raw_value":20548545933213696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182126630404352,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146179942887853,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4100980736,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2405449967821966123,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,244,160,184,45,128,97,73,44,10,66,102,105,20,1,240,9,227,122,33,4,113,205,112,179,224,43,239,50,2,64,7,164,69],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-07 12:10:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260427750312771584,"timestamp_seconds":5260427750312772.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 12:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923323648001,"66":12798,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923323648001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:10:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923323648001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:10:18] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:10:18] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:10:28] local.INFO: TCP Data received {"connection_id":176079,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a976bb8012ceaffc007223050000d001e2f..."} 
[2026-09-07 12:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a976bb8012ceaffc007223050000d001e2f..."} 
[2026-09-07 12:10:28] local.INFO: Processing buffer {"connection_id":176079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a976bb8012ceaffc007223050000d001e2f..."} 
[2026-09-07 12:10:28] local.INFO: Packet analysis {"connection_id":176079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:10:28] local.INFO: Extracted packet for processing {"connection_id":176079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:10:28] local.INFO: GPS Element Parsed {"raw_longitude":753598400,"raw_latitude":119681104,"longitude_deg":75.35984,"latitude_deg":11.9681104,"altitude":13,"angle":30,"satellites":47,"speed":29,"hex_longitude":"2ceaffc0","hex_latitude":"07223050","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923361280001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401233070243446784,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1518838943694405632,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788763139000,"timestamp_ms":1788763139000,"timestamp_seconds":1788763139,"priority":1,"record_length":96,"hex_timestamp":"000001a07a976bb8"} 
[2026-09-07 12: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-07 12:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 12:10:28] 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-07 12: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-07 12: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-07 12:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:10:28] 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-07 12:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923361280001,"66":27952,"183":206,"83":43008,"24":29,"16":401233070243446784,"44":-1518838943694405632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-07 12:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923361280001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:10:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 12:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401233070243446784,"km_value":401233070243446.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1518838943694405632,"description":"Unknown IO ID 44"} 
[2026-09-07 12:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923361280001,"power":27952,"unknown_183":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1518838943694405632}} 
[2026-09-07 12:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":176079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:10:28] local.INFO: GPS data processed {"connection_id":176079,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:10:28] local.INFO: Acknowledgment sent {"connection_id":176079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:10:40] local.INFO: TCP Data received {"connection_id":173353,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:40] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:40] local.INFO: IMEI packet received {"connection_id":173353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":173353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:10:45] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:45] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:45] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:10:46] local.INFO: TCP Data received {"connection_id":173353,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:46] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:10:46] local.INFO: IMEI packet received {"connection_id":173353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":173353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:10:47] local.INFO: TCP Data received {"connection_id":173353,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a95ae68012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a95ae68012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:10:47] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a95ae68012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:10:47] local.INFO: Packet analysis {"connection_id":173353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:10:47] local.INFO: Extracted packet for processing {"connection_id":173353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a95"} 
[2026-09-07 12:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923329024001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:47] 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-07 12:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788763025000,"timestamp_ms":1788763025000,"timestamp_seconds":1788763025,"priority":1,"record_length":96,"hex_timestamp":"000001a07a95ae68"} 
[2026-09-07 12: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-07 12:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 12:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923329024001,"66":12776,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923329024001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:10:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923329024001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":173353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:10:47] local.INFO: GPS data processed {"connection_id":173353,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:10:47] local.INFO: Acknowledgment sent {"connection_id":173353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:10:47] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:47] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:10:47] local.INFO: IMEI packet received {"connection_id":173354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":173354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:10:48] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a97a650012ceb128007224f00000e001d30..."} 
[2026-09-07 12:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a97a650012ceb128007224f00000e001d30..."} 
[2026-09-07 12:10:48] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a97a650012ceb128007224f00000e001d30..."} 
[2026-09-07 12:10:48] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:10:48] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:10:48] local.INFO: GPS Element Parsed {"raw_longitude":753603200,"raw_latitude":119688960,"longitude_deg":75.36032,"latitude_deg":11.968896,"altitude":14,"angle":29,"satellites":48,"speed":29,"hex_longitude":"2ceb1280","hex_latitude":"07224f00","is_valid_coordinates":true} 
[2026-09-07 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-07 12:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923363584001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401233516920045568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1513279812902301696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788763154000,"timestamp_ms":1788763154000,"timestamp_seconds":1788763154,"priority":1,"record_length":96,"hex_timestamp":"000001a07a97a650"} 
[2026-09-07 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-07 12:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-07 12:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12: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-07 12:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923363584001,"66":27995,"183":206,"83":43008,"24":29,"16":401233516920045568,"44":-1513279812902301696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,83,24,16,44]} 
[2026-09-07 12:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923363584001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:10:48] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 12:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401233516920045568,"km_value":401233516920045.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1513279812902301696,"description":"Unknown IO ID 44"} 
[2026-09-07 12:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923363584001,"power":27995,"unknown_183":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1513279812902301696}} 
[2026-09-07 12:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:10:48] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:10:48] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:11:18] local.INFO: TCP Data received {"connection_id":173353,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a960070012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a960070012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:11:18] local.INFO: Processing buffer {"connection_id":173353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a960070012d18b380072161e0004900cb2d..."} 
[2026-09-07 12:11:18] local.INFO: Packet analysis {"connection_id":173353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:18] local.INFO: Extracted packet for processing {"connection_id":173353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":45,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923334400001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:18] 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-07 12:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763046000,"timestamp_ms":1788763046000,"timestamp_seconds":1788763046,"priority":1,"record_length":96,"hex_timestamp":"000001a07a960070"} 
[2026-09-07 12:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:11:18] 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-07 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 12:11:18] 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-07 12:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923334400001,"66":12776,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923334400001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:11:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923334400001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":173353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:11:18] local.INFO: GPS data processed {"connection_id":173353,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:11:18] local.INFO: Acknowledgment sent {"connection_id":173353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:11:18] local.INFO: TCP Data received {"connection_id":174709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:18] local.INFO: Processing buffer {"connection_id":174709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:18] local.INFO: IMEI packet received {"connection_id":174709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":174709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:11:23] local.INFO: TCP Data received {"connection_id":173354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a97cd60012ceb250007226dd0000f001f2f..."} 
[2026-09-07 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a97cd60012ceb250007226dd0000f001f2f..."} 
[2026-09-07 12:11:23] local.INFO: Processing buffer {"connection_id":173354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a97cd60012ceb250007226dd0000f001f2f..."} 
[2026-09-07 12:11:23] local.INFO: Packet analysis {"connection_id":173354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:11:23] local.INFO: Extracted packet for processing {"connection_id":173354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a97"} 
[2026-09-07 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":753607936,"raw_latitude":119696848,"longitude_deg":75.3607936,"latitude_deg":11.9696848,"altitude":15,"angle":31,"satellites":47,"speed":39,"hex_longitude":"2ceb2500","hex_latitude":"07226dd0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923367424001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401233959301677056,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1508002157086965760,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788763164000,"timestamp_ms":1788763164000,"timestamp_seconds":1788763164,"priority":1,"record_length":96,"hex_timestamp":"000001a07a97cd60"} 
[2026-09-07 12: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-07 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 12:11:23] 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-07 12: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-07 12: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-07 12:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:11:23] 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-07 12:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923367424001,"66":27930,"29":206,"83":43008,"24":39,"16":401233959301677056,"44":-1508002157086965760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-09-07 12:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923367424001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:11:23] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 12:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401233959301677056,"km_value":401233959301677.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:11:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1508002157086965760,"description":"Unknown IO ID 44"} 
[2026-09-07 12:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923367424001,"power":27930,"unknown_29":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1508002157086965760}} 
[2026-09-07 12:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":173354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:11:23] local.INFO: GPS data processed {"connection_id":173354,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:11:23] local.INFO: Acknowledgment sent {"connection_id":173354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:11:45] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:45] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:45] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:11:46] local.INFO: TCP Data received {"connection_id":173355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:46] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:46] local.INFO: IMEI packet received {"connection_id":173355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":173355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:11:46] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:46] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:46] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:11:48] local.INFO: TCP Data received {"connection_id":173356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:48] local.INFO: Processing buffer {"connection_id":173356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:11:48] local.INFO: IMEI packet received {"connection_id":173356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:11:50] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:50] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:11:50] local.INFO: IMEI packet received {"connection_id":174710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":174710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:11:50] local.INFO: TCP Data received {"connection_id":173355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:50] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:11:50] local.INFO: IMEI packet received {"connection_id":173355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:11:51] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9938a8012cec498007233ed80020004530..."} 
[2026-09-07 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9938a8012cec498007233ed80020004530..."} 
[2026-09-07 12:11:51] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9938a8012cec498007233ed80020004530..."} 
[2026-09-07 12:11:51] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a99"} 
[2026-09-07 12:11:51] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a99"} 
[2026-09-07 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753682816,"raw_latitude":119750360,"longitude_deg":75.3682816,"latitude_deg":11.975036,"altitude":32,"angle":69,"satellites":48,"speed":49,"hex_longitude":"2cec4980","hex_latitude":"07233ed8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923392000001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401238400297861120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1429189163593265152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763257000,"timestamp_ms":1788763257000,"timestamp_seconds":1788763257,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9938a8"} 
[2026-09-07 12: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-07 12:11: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-07 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 12:11:51] 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-07 12: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-07 12: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-07 12:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:11: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-07 12:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923392000001,"66":27876,"52":206,"83":43008,"24":49,"16":401238400297861120,"44":-1429189163593265152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923392000001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401238400297861120,"km_value":401238400297861.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1429189163593265152,"description":"Unknown IO ID 44"} 
[2026-09-07 12:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923392000001,"power":27876,"unknown_52":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1429189163593265152}} 
[2026-09-07 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:11:51] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:11:51] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:11:51] local.INFO: TCP Data received {"connection_id":173355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a965278012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a965278012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:51] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a965278012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:51] local.INFO: Packet analysis {"connection_id":173355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:51] local.INFO: Extracted packet for processing {"connection_id":173355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923339776001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11: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-07 12:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763067000,"timestamp_ms":1788763067000,"timestamp_seconds":1788763067,"priority":1,"record_length":96,"hex_timestamp":"000001a07a965278"} 
[2026-09-07 12: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-07 12:11:51] 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-07 12: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":232,"data_length":795,"current_offset":136} 
[2026-09-07 12:11: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-07 12: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-07 12: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-07 12:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923339776001,"66":12743,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923339776001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923339776001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":173355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:11:51] local.INFO: GPS data processed {"connection_id":173355,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:11:51] local.INFO: Acknowledgment sent {"connection_id":173355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:11:55] local.INFO: TCP Data received {"connection_id":173355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a96a480012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a96a480012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:55] local.INFO: Processing buffer {"connection_id":173355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a96a480012d18b380072161e0004900cb2b..."} 
[2026-09-07 12:11:55] local.INFO: Packet analysis {"connection_id":173355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:55] local.INFO: Extracted packet for processing {"connection_id":173355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a96"} 
[2026-09-07 12:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756593536,"raw_latitude":119628256,"longitude_deg":75.6593536,"latitude_deg":11.9628256,"altitude":73,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d18b380","hex_latitude":"072161e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923345152001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283160382996480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:11:55] 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-07 12:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788763088000,"timestamp_ms":1788763088000,"timestamp_seconds":1788763088,"priority":1,"record_length":96,"hex_timestamp":"000001a07a96a480"} 
[2026-09-07 12: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-07 12:11:55] 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-07 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-07 12:11: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-07 12: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-07 12: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-07 12:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923345152001,"66":12765,"106":206,"83":41984,"24":0,"16":18283160382996480,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923345152001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:11:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283160382996480,"km_value":18283160382996.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923345152001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":173355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:11:55] local.INFO: GPS data processed {"connection_id":173355,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:11:55] local.INFO: Acknowledgment sent {"connection_id":173355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:12:22] local.INFO: TCP Data received {"connection_id":174710,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a994848012cec5cc0072344300021005031..."} 
[2026-09-07 12:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a994848012cec5cc0072344300021005031..."} 
[2026-09-07 12:12:22] local.INFO: Processing buffer {"connection_id":174710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a994848012cec5cc0072344300021005031..."} 
[2026-09-07 12:12:22] local.INFO: Packet analysis {"connection_id":174710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a99"} 
[2026-09-07 12:12:22] local.INFO: Extracted packet for processing {"connection_id":174710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a99"} 
[2026-09-07 12:12:22] local.INFO: GPS Element Parsed {"raw_longitude":753687744,"raw_latitude":119751728,"longitude_deg":75.3687744,"latitude_deg":11.9751728,"altitude":33,"angle":80,"satellites":49,"speed":50,"hex_longitude":"2cec5cc0","hex_latitude":"07234430","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923393792001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401238645110996992,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420463439314233344,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788763261000,"timestamp_ms":1788763261000,"timestamp_seconds":1788763261,"priority":1,"record_length":96,"hex_timestamp":"000001a07a994848"} 
[2026-09-07 12: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-07 12:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:12: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-07 12: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-07 12: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-07 12:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12: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-07 12:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923393792001,"66":27865,"52":206,"83":43008,"24":50,"16":401238645110996992,"44":-1420463439314233344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,83,24,16,44]} 
[2026-09-07 12:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923393792001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:12:22] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 12:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401238645110996992,"km_value":401238645110997.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420463439314233344,"description":"Unknown IO ID 44"} 
[2026-09-07 12:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923393792001,"power":27865,"unknown_52":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-1420463439314233344}} 
[2026-09-07 12:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":174710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:12:22] local.INFO: GPS data processed {"connection_id":174710,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:12:22] local.INFO: Acknowledgment sent {"connection_id":174710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:12:39] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:39] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:39] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:12:40] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:40] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:40] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:12:41] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:41] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:41] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:12:43] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:43] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:12:43] local.INFO: IMEI packet received {"connection_id":173357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":173357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:12:44] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a0f80012d18b50007216160004d00882c..."} 
[2026-09-07 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a0f80012d18b50007216160004d00882c..."} 
[2026-09-07 12:12:44] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a0f80012d18b50007216160004d00882c..."} 
[2026-09-07 12:12:44] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:12:44] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:12:44] local.INFO: GPS Element Parsed {"raw_longitude":756593920,"raw_latitude":119628128,"longitude_deg":75.659392,"latitude_deg":11.9628128,"altitude":77,"angle":136,"satellites":44,"speed":2,"hex_longitude":"2d18b500","hex_latitude":"07216160","is_valid_coordinates":true} 
[2026-09-07 12:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923404288001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283177562865664,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779907045854666752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788763312000,"timestamp_ms":1788763312000,"timestamp_seconds":1788763312,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a0f80"} 
[2026-09-07 12:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:12:44] 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-07 12:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 12:12:44] 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-07 12:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923404288001,"66":14135,"106":206,"83":41984,"24":2,"16":18283177562865664,"45":1779907045854666752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923404288001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:12:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283177562865664,"km_value":18283177562865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779907045854666752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923404288001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1779907045854666752}} 
[2026-09-07 12:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:12:44] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:12:44] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:12:44] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:44] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:44] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:12:50] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:50] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:12:50] local.INFO: IMEI packet received {"connection_id":173358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":173358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:12:51] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a0b98012ced25400723eb10001e001730..."} 
[2026-09-07 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a0b98012ced25400723eb10001e001730..."} 
[2026-09-07 12:12:51] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a0b98012ced25400723eb10001e001730..."} 
[2026-09-07 12:12:51] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:12:51] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":753739072,"raw_latitude":119794448,"longitude_deg":75.3739072,"latitude_deg":11.9794448,"altitude":30,"angle":23,"satellites":48,"speed":58,"hex_longitude":"2ced2540","hex_latitude":"0723eb10","is_valid_coordinates":true} 
[2026-09-07 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-07 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923407616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401242166984179712,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313170780160,"note":"Value kept but may cause issues"} 
[2026-09-07 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763311000,"timestamp_ms":1788763311000,"timestamp_seconds":1788763311,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a0b98"} 
[2026-09-07 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-07 12:12: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-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:12: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-07 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923407616001,"66":27974,"58":206,"83":43008,"24":58,"16":401242166984179712,"44":-1358609313170780160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-07 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923407616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:12:51] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-07 12:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401242166984179712,"km_value":401242166984179.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313170780160,"description":"Unknown IO ID 44"} 
[2026-09-07 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923407616001,"power":27974,"unknown_58":206,"unknown_83":43008,"ignition":58,"odometer":null,"unknown_44":-1358609313170780160}} 
[2026-09-07 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:12:51] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:12:51] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:13:15] local.INFO: TCP Data received {"connection_id":173357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a1368012d18b50007216138004d00962b..."} 
[2026-09-07 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a1368012d18b50007216138004d00962b..."} 
[2026-09-07 12:13:15] local.INFO: Processing buffer {"connection_id":173357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a1368012d18b50007216138004d00962b..."} 
[2026-09-07 12:13:15] local.INFO: Packet analysis {"connection_id":173357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:15] local.INFO: Extracted packet for processing {"connection_id":173357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756593920,"raw_latitude":119628088,"longitude_deg":75.659392,"latitude_deg":11.9628088,"altitude":77,"angle":150,"satellites":43,"speed":2,"hex_longitude":"2d18b500","hex_latitude":"07216138","is_valid_coordinates":true} 
[2026-09-07 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-07 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923407872001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283177562865664,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780329258319699968,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:15] 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-07 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788763313000,"timestamp_ms":1788763313000,"timestamp_seconds":1788763313,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a1368"} 
[2026-09-07 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-07 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 12:13:15] 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-07 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-07 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-07 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923407872001,"66":14135,"106":206,"83":41984,"24":2,"16":18283177562865664,"45":1780329258319699968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923407872001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:13:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283177562865664,"km_value":18283177562865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780329258319699968,"description":"Unknown IO ID 45"} 
[2026-09-07 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923407872001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1780329258319699968}} 
[2026-09-07 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":173357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:13:15] local.INFO: GPS data processed {"connection_id":173357,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:13:15] local.INFO: Acknowledgment sent {"connection_id":173357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:13:22] local.INFO: TCP Data received {"connection_id":173358,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a26f0012ced3a0007240ce00020002231..."} 
[2026-09-07 12:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a26f0012ced3a0007240ce00020002231..."} 
[2026-09-07 12:13:22] local.INFO: Processing buffer {"connection_id":173358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a26f0012ced3a0007240ce00020002231..."} 
[2026-09-07 12:13:22] local.INFO: Packet analysis {"connection_id":173358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:22] local.INFO: Extracted packet for processing {"connection_id":173358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":753744384,"raw_latitude":119803104,"longitude_deg":75.3744384,"latitude_deg":11.9803104,"altitude":32,"angle":34,"satellites":49,"speed":56,"hex_longitude":"2ced3a00","hex_latitude":"07240ce0","is_valid_coordinates":true} 
[2026-09-07 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923407616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401242656610451456,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358609313170780160,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788763318000,"timestamp_ms":1788763318000,"timestamp_seconds":1788763318,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a26f0"} 
[2026-09-07 12:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:13: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-07 12:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923407616001,"66":27908,"58":206,"83":43008,"24":56,"16":401242656610451456,"44":-1358609313170780160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-07 12:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923407616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:13:22] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-07 12:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401242656610451456,"km_value":401242656610451.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358609313170780160,"description":"Unknown IO ID 44"} 
[2026-09-07 12:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923407616001,"power":27908,"unknown_58":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1358609313170780160}} 
[2026-09-07 12:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":173358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:13:22] local.INFO: GPS data processed {"connection_id":173358,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:13:22] local.INFO: Acknowledgment sent {"connection_id":173358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:13:41] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:41] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:41] local.INFO: IMEI packet received {"connection_id":173600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":173600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:13:44] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:44] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:44] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:13:45] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:45] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:13:45] local.INFO: IMEI packet received {"connection_id":173600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:13:46] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9ac718012d1884c007218068004e011b2e..."} 
[2026-09-07 12:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9ac718012d1884c007218068004e011b2e..."} 
[2026-09-07 12:13:46] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9ac718012d1884c007218068004e011b2e..."} 
[2026-09-07 12:13:46] local.INFO: Packet analysis {"connection_id":173600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:46] local.INFO: Extracted packet for processing {"connection_id":173600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636072,"longitude_deg":75.6581568,"latitude_deg":11.9636072,"altitude":78,"angle":283,"satellites":46,"speed":28,"hex_longitude":"2d1884c0","hex_latitude":"07218068","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923416576001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18283980721750016,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391175680,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:46] 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-07 12:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788763359000,"timestamp_ms":1788763359000,"timestamp_seconds":1788763359,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9ac718"} 
[2026-09-07 12: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-07 12:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 12:13:46] 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-07 12: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-07 12: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-07 12:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923416576001,"66":14135,"106":206,"83":41984,"24":28,"16":18283980721750016,"45":1776458977391175680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923416576001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18283980721750016,"km_value":18283980721750.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391175680,"description":"Unknown IO ID 45"} 
[2026-09-07 12:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923416576001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1776458977391175680}} 
[2026-09-07 12:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:13:46] local.INFO: GPS data processed {"connection_id":173600,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:13:46] local.INFO: Acknowledgment sent {"connection_id":173600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:13:50] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:50] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:13:50] local.INFO: IMEI packet received {"connection_id":173359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":173359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:13:51] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a4248012ced508007242ba80022002331..."} 
[2026-09-07 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a4248012ced508007242ba80022002331..."} 
[2026-09-07 12:13:51] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a4248012ced508007242ba80022002331..."} 
[2026-09-07 12:13:51] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:51] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":753750144,"raw_latitude":119810984,"longitude_deg":75.3750144,"latitude_deg":11.9810984,"altitude":34,"angle":35,"satellites":49,"speed":52,"hex_longitude":"2ced5080","hex_latitude":"07242ba8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923409408001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401243124761886720,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352768707401818112,"note":"Value kept but may cause issues"} 
[2026-09-07 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763325000,"timestamp_ms":1788763325000,"timestamp_seconds":1788763325,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a4248"} 
[2026-09-07 12: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-07 12:13: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-07 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:13: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-07 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923409408001,"66":27865,"58":206,"83":43008,"24":52,"16":401243124761886720,"44":-1352768707401818112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-07 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923409408001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:13:51] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-07 12:13:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401243124761886720,"km_value":401243124761886.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352768707401818112,"description":"Unknown IO ID 44"} 
[2026-09-07 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923409408001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1352768707401818112}} 
[2026-09-07 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:13:51] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:13:51] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:14:16] local.INFO: TCP Data received {"connection_id":173600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9ad2d0012d187c8007218198004e010f2e..."} 
[2026-09-07 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9ad2d0012d187c8007218198004e010f2e..."} 
[2026-09-07 12:14:16] local.INFO: Processing buffer {"connection_id":173600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9ad2d0012d187c8007218198004e010f2e..."} 
[2026-09-07 12:14:16] local.INFO: Packet analysis {"connection_id":173600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:16] local.INFO: Extracted packet for processing {"connection_id":173600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119636376,"longitude_deg":75.6579456,"latitude_deg":11.9636376,"altitude":78,"angle":271,"satellites":46,"speed":27,"hex_longitude":"2d187c80","hex_latitude":"07218198","is_valid_coordinates":true} 
[2026-09-07 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-07 12:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923419904001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18284079505997824,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695444480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788763362000,"timestamp_ms":1788763362000,"timestamp_seconds":1788763362,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9ad2d0"} 
[2026-09-07 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-07 12:14:16] 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-07 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 12:14:16] 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-07 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-07 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-07 12:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923419904001,"66":14026,"106":206,"83":41984,"24":27,"16":18284079505997824,"45":1766748090695444480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923419904001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:14:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18284079505997824,"km_value":18284079505997.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695444480,"description":"Unknown IO ID 45"} 
[2026-09-07 12:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923419904001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1766748090695444480}} 
[2026-09-07 12:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":173600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:14:17] local.INFO: GPS data processed {"connection_id":173600,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:14:17] local.INFO: Acknowledgment sent {"connection_id":173600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:14:28] local.INFO: TCP Data received {"connection_id":173359,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9a5da0012ced62c0072449600025001b32..."} 
[2026-09-07 12:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9a5da0012ced62c0072449600025001b32..."} 
[2026-09-07 12:14:28] local.INFO: Processing buffer {"connection_id":173359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9a5da0012ced62c0072449600025001b32..."} 
[2026-09-07 12:14:28] local.INFO: Packet analysis {"connection_id":173359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:28] local.INFO: Extracted packet for processing {"connection_id":173359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:28] local.INFO: GPS Element Parsed {"raw_longitude":753754816,"raw_latitude":119818592,"longitude_deg":75.3754816,"latitude_deg":11.9818592,"altitude":37,"angle":27,"satellites":50,"speed":48,"hex_longitude":"2ced62c0","hex_latitude":"07244960","is_valid_coordinates":true} 
[2026-09-07 12:14: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-07 12:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923411200001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401243554258616320,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1346435520423811072,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788763332000,"timestamp_ms":1788763332000,"timestamp_seconds":1788763332,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9a5da0"} 
[2026-09-07 12:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:14: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-07 12:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:28] 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-07 12:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923411200001,"66":27876,"58":206,"83":43008,"24":48,"16":401243554258616320,"44":-1346435520423811072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-09-07 12:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923411200001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:14:28] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-09-07 12:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 12:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401243554258616320,"km_value":401243554258616.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1346435520423811072,"description":"Unknown IO ID 44"} 
[2026-09-07 12:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923411200001,"power":27876,"unknown_58":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1346435520423811072}} 
[2026-09-07 12:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":173359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:14:28] local.INFO: GPS data processed {"connection_id":173359,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:14:28] local.INFO: Acknowledgment sent {"connection_id":173359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:14:39] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:14:40] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:40] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:14:46] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:46] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:14:46] local.INFO: IMEI packet received {"connection_id":173361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":173361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:14:46] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9af5f8012d186300072181d0004e011c2c..."} 
[2026-09-07 12:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9af5f8012d186300072181d0004e011c2c..."} 
[2026-09-07 12:14:46] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9af5f8012d186300072181d0004e011c2c..."} 
[2026-09-07 12:14:46] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:46] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9a"} 
[2026-09-07 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119636432,"longitude_deg":75.6572928,"latitude_deg":11.9636432,"altitude":78,"angle":284,"satellites":44,"speed":29,"hex_longitude":"2d186300","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923420672001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18284388743643136,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922137659392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788763371000,"timestamp_ms":1788763371000,"timestamp_seconds":1788763371,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9af5f8"} 
[2026-09-07 12: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-07 12:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 12:14:46] 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-07 12: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-07 12: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-07 12:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923420672001,"66":13993,"105":206,"83":41984,"24":29,"16":18284388743643136,"45":1764425922137659392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923420672001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:14:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18284388743643136,"km_value":18284388743643.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922137659392,"description":"Unknown IO ID 45"} 
[2026-09-07 12:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923420672001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1764425922137659392}} 
[2026-09-07 12:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:14:47] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:14:47] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:14:47] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:47] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:47] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:14:50] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:50] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:50] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:14:55] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:55] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:14:55] local.INFO: IMEI packet received {"connection_id":174711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":174711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:14:56] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9beff8012ced29c0072590880026013f2e..."} 
[2026-09-07 12:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9beff8012ced29c0072590880026013f2e..."} 
[2026-09-07 12:14:56] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9beff8012ced29c0072590880026013f2e..."} 
[2026-09-07 12:14:56] local.INFO: Packet analysis {"connection_id":174711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9b"} 
[2026-09-07 12:14:56] local.INFO: Extracted packet for processing {"connection_id":174711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9b"} 
[2026-09-07 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":753740224,"raw_latitude":119902344,"longitude_deg":75.3740224,"latitude_deg":11.9902344,"altitude":38,"angle":319,"satellites":46,"speed":53,"hex_longitude":"2ced29c0","hex_latitude":"07259088","is_valid_coordinates":true} 
[2026-09-07 12:14: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-07 12:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923437568001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401247930830290944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1350728013797113856,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763435000,"timestamp_ms":1788763435000,"timestamp_seconds":1788763435,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9beff8"} 
[2026-09-07 12:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 12:14:56] 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-07 12:14: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-07 12:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:56] 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-07 12:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923437568001,"66":27843,"62":206,"83":44032,"24":53,"16":401247930830290944,"44":-1350728013797113856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923437568001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401247930830290944,"km_value":401247930830290.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1350728013797113856,"description":"Unknown IO ID 44"} 
[2026-09-07 12:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923437568001,"power":27843,"unknown_62":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1350728013797113856}} 
[2026-09-07 12:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":174711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:14:56] local.INFO: GPS data processed {"connection_id":174711,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:14:56] local.INFO: Acknowledgment sent {"connection_id":174711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:14:56] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9c0b50012ced11400725abf00024013e2e..."} 
[2026-09-07 12:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9c0b50012ced11400725abf00024013e2e..."} 
[2026-09-07 12:14:56] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9c0b50012ced11400725abf00024013e2e..."} 
[2026-09-07 12:14:56] local.INFO: Packet analysis {"connection_id":174711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:14:56] local.INFO: Extracted packet for processing {"connection_id":174711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":753733952,"raw_latitude":119909360,"longitude_deg":75.3733952,"latitude_deg":11.990936,"altitude":36,"angle":318,"satellites":46,"speed":52,"hex_longitude":"2ced1140","hex_latitude":"0725abf0","is_valid_coordinates":true} 
[2026-09-07 12:14: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-07 12:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923439360001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401248381801857024,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357342675747960832,"note":"Value kept but may cause issues"} 
[2026-09-07 12:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763442000,"timestamp_ms":1788763442000,"timestamp_seconds":1788763442,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9c0b50"} 
[2026-09-07 12:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:14: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-07 12:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:14:56] 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-07 12:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923439360001,"66":27865,"62":206,"83":44032,"24":52,"16":401248381801857024,"44":-1357342675747960832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-07 12:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923439360001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401248381801857024,"km_value":401248381801857.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357342675747960832,"description":"Unknown IO ID 44"} 
[2026-09-07 12:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923439360001,"power":27865,"unknown_62":206,"unknown_83":44032,"ignition":52,"odometer":null,"unknown_44":-1357342675747960832}} 
[2026-09-07 12:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":174711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:14:56] local.INFO: GPS data processed {"connection_id":174711,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:14:56] local.INFO: Acknowledgment sent {"connection_id":174711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:15:18] local.INFO: TCP Data received {"connection_id":173361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9b01b0012d185a8007218518004d01272e..."} 
[2026-09-07 12:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9b01b0012d185a8007218518004d01272e..."} 
[2026-09-07 12:15:18] local.INFO: Processing buffer {"connection_id":173361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9b01b0012d185a8007218518004d01272e..."} 
[2026-09-07 12:15:18] local.INFO: Packet analysis {"connection_id":173361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9b"} 
[2026-09-07 12:15:18] local.INFO: Extracted packet for processing {"connection_id":173361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9b"} 
[2026-09-07 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119637272,"longitude_deg":75.6570752,"latitude_deg":11.9637272,"altitude":77,"angle":295,"satellites":46,"speed":29,"hex_longitude":"2d185a80","hex_latitude":"07218518","is_valid_coordinates":true} 
[2026-09-07 12:15: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-07 12:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923422976001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18284504707760128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310231552000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763374000,"timestamp_ms":1788763374000,"timestamp_seconds":1788763374,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9b01b0"} 
[2026-09-07 12:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:15:18] 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-07 12:15: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-07 12:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923422976001,"66":13972,"105":206,"83":41984,"24":29,"16":18284504707760128,"45":1757248310231552000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923422976001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:15:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18284504707760128,"km_value":18284504707760.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310231552000,"description":"Unknown IO ID 45"} 
[2026-09-07 12:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923422976001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1757248310231552000}} 
[2026-09-07 12:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":173361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:15:18] local.INFO: GPS data processed {"connection_id":173361,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:15:18] local.INFO: Acknowledgment sent {"connection_id":173361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:15:29] local.INFO: TCP Data received {"connection_id":174711,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9c26a8012cecf9800725c7700023013e2e..."} 
[2026-09-07 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9c26a8012cecf9800725c7700023013e2e..."} 
[2026-09-07 12:15:30] local.INFO: Processing buffer {"connection_id":174711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9c26a8012cecf9800725c7700023013e2e..."} 
[2026-09-07 12:15:30] local.INFO: Packet analysis {"connection_id":174711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:15:30] local.INFO: Extracted packet for processing {"connection_id":174711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":753727872,"raw_latitude":119916400,"longitude_deg":75.3727872,"latitude_deg":11.99164,"altitude":35,"angle":318,"satellites":46,"speed":51,"hex_longitude":"2cecf980","hex_latitude":"0725c770","is_valid_coordinates":true} 
[2026-09-07 12:15: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-07 12:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923441152001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401248832773423104,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364238812675575808,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788763449000,"timestamp_ms":1788763449000,"timestamp_seconds":1788763449,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9c26a8"} 
[2026-09-07 12:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12:15: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-07 12:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:15:30] 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-07 12:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923441152001,"66":27843,"62":206,"83":44032,"24":51,"16":401248832773423104,"44":-1364238812675575808},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-07 12:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923441152001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:15:30] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 12:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401248832773423104,"km_value":401248832773423.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364238812675575808,"description":"Unknown IO ID 44"} 
[2026-09-07 12:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923441152001,"power":27843,"unknown_62":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-1364238812675575808}} 
[2026-09-07 12:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":174711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:15:30] local.INFO: GPS data processed {"connection_id":174711,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:15:30] local.INFO: Acknowledgment sent {"connection_id":174711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:15:40] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:15:40] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:15:40] local.INFO: IMEI packet received {"connection_id":174713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":174713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:15:45] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:45] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:45] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:15:50] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:50] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:15:50] local.INFO: IMEI packet received {"connection_id":176081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":176081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:15:51] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9c45e8012cecdf800725e4400022013e2f..."} 
[2026-09-07 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9c45e8012cecdf800725e4400022013e2f..."} 
[2026-09-07 12:15:51] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9c45e8012cecdf800725e4400022013e2f..."} 
[2026-09-07 12:15:51] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:15:51] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9c"} 
[2026-09-07 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":753721216,"raw_latitude":119923776,"longitude_deg":75.3721216,"latitude_deg":11.9923776,"altitude":34,"angle":318,"satellites":47,"speed":46,"hex_longitude":"2cecdf80","hex_latitude":"0725e440","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923442944001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401249305219825664,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370923843370651648,"note":"Value kept but may cause issues"} 
[2026-09-07 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763457000,"timestamp_ms":1788763457000,"timestamp_seconds":1788763457,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9c45e8"} 
[2026-09-07 12: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-07 12:15: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-07 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:15: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-07 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923442944001,"66":27908,"62":206,"83":44032,"24":46,"16":401249305219825664,"44":-1370923843370651648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,83,24,16,44]} 
[2026-09-07 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923442944001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:15:51] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-09-07 12:15:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401249305219825664,"km_value":401249305219825.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370923843370651648,"description":"Unknown IO ID 44"} 
[2026-09-07 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923442944001,"power":27908,"unknown_62":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1370923843370651648}} 
[2026-09-07 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:15:51] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:15:51] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:16:23] local.INFO: TCP Data received {"connection_id":176081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9d5f28012cec934007270c680024015230..."} 
[2026-09-07 12:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9d5f28012cec934007270c680024015230..."} 
[2026-09-07 12:16:23] local.INFO: Processing buffer {"connection_id":176081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9d5f28012cec934007270c680024015230..."} 
[2026-09-07 12:16:23] local.INFO: Packet analysis {"connection_id":176081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:16:23] local.INFO: Extracted packet for processing {"connection_id":176081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":753701696,"raw_latitude":119999592,"longitude_deg":75.3701696,"latitude_deg":11.9999592,"altitude":36,"angle":338,"satellites":48,"speed":57,"hex_longitude":"2cec9340","hex_latitude":"07270c68","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923461632001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401253329604182016,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395975116278972416,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788763529000,"timestamp_ms":1788763529000,"timestamp_seconds":1788763529,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9d5f28"} 
[2026-09-07 12: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-07 12:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:16:23] 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-07 12:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923461632001,"66":27767,"188":206,"83":44032,"24":57,"16":401253329604182016,"44":-1395975116278972416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923461632001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:16:23] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401253329604182016,"km_value":401253329604182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:16:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395975116278972416,"description":"Unknown IO ID 44"} 
[2026-09-07 12:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923461632001,"power":27767,"unknown_188":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-1395975116278972416}} 
[2026-09-07 12:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":176081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:16:23] local.INFO: GPS data processed {"connection_id":176081,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:16:23] local.INFO: Acknowledgment sent {"connection_id":176081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:16:51] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:51] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:51] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:16:52] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:52] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:52] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:16:52] local.INFO: TCP Data received {"connection_id":173362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:16:52] local.INFO: Processing buffer {"connection_id":173362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:16:52] local.INFO: IMEI packet received {"connection_id":173362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":173362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:16:54] local.INFO: TCP Data received {"connection_id":174713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:54] local.INFO: Processing buffer {"connection_id":174713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:54] local.INFO: IMEI packet received {"connection_id":174713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":174713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:16:55] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:55] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:16:55] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:16:56] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9d7698012cec864007272d00002101532f..."} 
[2026-09-07 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9d7698012cec864007272d00002101532f..."} 
[2026-09-07 12:16:56] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9d7698012cec864007272d00002101532f..."} 
[2026-09-07 12:16:56] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:16:56] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":753698368,"raw_latitude":120007936,"longitude_deg":75.3698368,"latitude_deg":12.0007936,"altitude":33,"angle":339,"satellites":47,"speed":60,"hex_longitude":"2cec8640","hex_latitude":"07272d00","is_valid_coordinates":true} 
[2026-09-07 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923463424001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401253763395878912,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399704659718019072,"note":"Value kept but may cause issues"} 
[2026-09-07 12:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763535000,"timestamp_ms":1788763535000,"timestamp_seconds":1788763535,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9d7698"} 
[2026-09-07 12:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 12:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:16:56] 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-07 12:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923463424001,"66":27876,"188":206,"83":44032,"24":60,"16":401253763395878912,"44":-1399704659718019072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923463424001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:16:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401253763395878912,"km_value":401253763395878.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399704659718019072,"description":"Unknown IO ID 44"} 
[2026-09-07 12:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923463424001,"power":27876,"unknown_188":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-1399704659718019072}} 
[2026-09-07 12:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:16:56] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:16:56] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:16:59] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:59] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:16:59] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:17:00] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:00] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:00] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:05] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:05] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:05] local.INFO: IMEI packet received {"connection_id":173363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":173363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:06] local.INFO: TCP Data received {"connection_id":173363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9d8a20012d18c5c007230688006400512d..."} 
[2026-09-07 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9d8a20012d18c5c007230688006400512d..."} 
[2026-09-07 12:17:06] local.INFO: Processing buffer {"connection_id":173363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9d8a20012d18c5c007230688006400512d..."} 
[2026-09-07 12:17:06] local.INFO: Packet analysis {"connection_id":173363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:06] local.INFO: Extracted packet for processing {"connection_id":173363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119735944,"longitude_deg":75.6598208,"latitude_deg":11.9735944,"altitude":100,"angle":81,"satellites":45,"speed":34,"hex_longitude":"2d18c5c0","hex_latitude":"07230688","is_valid_coordinates":true} 
[2026-09-07 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923465984001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18290371633086464,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170532845568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788763540000,"timestamp_ms":1788763540000,"timestamp_seconds":1788763540,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9d8a20"} 
[2026-09-07 12:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 12:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923465984001,"66":13993,"232":206,"83":42752,"24":34,"16":18290371633086464,"45":1784129170532845568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,45]} 
[2026-09-07 12:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923465984001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 12:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18290371633086464,"km_value":18290371633086.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170532845568,"description":"Unknown IO ID 45"} 
[2026-09-07 12:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923465984001,"power":13993,"unknown_232":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1784129170532845568}} 
[2026-09-07 12:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":173363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:06] local.INFO: GPS data processed {"connection_id":173363,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:06] local.INFO: Acknowledgment sent {"connection_id":173363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:17:27] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9d8e08012cec7ac007274f00001d01582f..."} 
[2026-09-07 12:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9d8e08012cec7ac007274f00001d01582f..."} 
[2026-09-07 12:17:27] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9d8e08012cec7ac007274f00001d01582f..."} 
[2026-09-07 12:17:27] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:27] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:27] local.INFO: GPS Element Parsed {"raw_longitude":753695424,"raw_latitude":120016640,"longitude_deg":75.3695424,"latitude_deg":12.001664,"altitude":29,"angle":344,"satellites":47,"speed":61,"hex_longitude":"2cec7ac0","hex_latitude":"07274f00","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923464960001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401254210072477696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1403363834413121536,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788763541000,"timestamp_ms":1788763541000,"timestamp_seconds":1788763541,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9d8e08"} 
[2026-09-07 12: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-07 12:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:27] 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-07 12:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923464960001,"66":27876,"188":206,"83":44032,"24":61,"16":401254210072477696,"44":-1403363834413121536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923464960001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:27] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401254210072477696,"km_value":401254210072477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1403363834413121536,"description":"Unknown IO ID 44"} 
[2026-09-07 12:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923464960001,"power":27876,"unknown_188":206,"unknown_83":44032,"ignition":61,"odometer":null,"unknown_44":-1403363834413121536}} 
[2026-09-07 12:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:27] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:27] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:17:41] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:41] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:41] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:17:43] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:43] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:43] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:46] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:46] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:17:46] local.INFO: IMEI packet received {"connection_id":176083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:47] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9e5d10012d196880072387080045002821..."} 
[2026-09-07 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9e5d10012d196880072387080045002821..."} 
[2026-09-07 12:17:47] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9e5d10012d196880072387080045002821..."} 
[2026-09-07 12:17:47] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:17:47] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119768840,"longitude_deg":75.6639872,"latitude_deg":11.976884,"altitude":69,"angle":40,"satellites":33,"speed":44,"hex_longitude":"2d196880","hex_latitude":"07238708","is_valid_coordinates":true} 
[2026-09-07 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-07 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923478784001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18293232081305600,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827335579465216000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:47] 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-07 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788763594000,"timestamp_ms":1788763594000,"timestamp_seconds":1788763594,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9e5d10"} 
[2026-09-07 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-07 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 12:17:47] 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-07 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-07 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-07 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923478784001,"66":13993,"42":206,"83":42752,"24":44,"16":18293232081305600,"45":1827335579465216000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923478784001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:17:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18293232081305600,"km_value":18293232081305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827335579465216000,"description":"Unknown IO ID 45"} 
[2026-09-07 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923478784001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1827335579465216000}} 
[2026-09-07 12:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:47] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:47] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:17:49] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:49] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:49] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:17:50] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:50] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:50] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:51] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9e6cb0012d197580072393100044003825..."} 
[2026-09-07 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9e6cb0012d197580072393100044003825..."} 
[2026-09-07 12:17:51] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9e6cb0012d197580072393100044003825..."} 
[2026-09-07 12:17:51] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:17:51] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756643200,"raw_latitude":119771920,"longitude_deg":75.66432,"latitude_deg":11.977192,"altitude":68,"angle":56,"satellites":37,"speed":45,"hex_longitude":"2d197580","hex_latitude":"07239310","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923480064001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18293451124637696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016675284992,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17: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-07 12:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763598000,"timestamp_ms":1788763598000,"timestamp_seconds":1788763598,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9e6cb0"} 
[2026-09-07 12: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-07 12:17:51] 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-07 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:17: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-07 12: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-07 12: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-07 12:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923480064001,"66":13939,"42":206,"83":42752,"24":45,"16":18293451124637696,"45":1830854016675284992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923480064001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18293451124637696,"km_value":18293451124637.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016675284992,"description":"Unknown IO ID 45"} 
[2026-09-07 12:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923480064001,"power":13939,"unknown_42":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1830854016675284992}} 
[2026-09-07 12:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:51] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:51] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:17:55] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:55] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:17:55] local.INFO: IMEI packet received {"connection_id":174714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":174714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:17:56] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":1348,"data_hex":"000000000000030f8e0a000001a07a9d9da8012cec76c0072766a8001a01652f..."} 
[2026-09-07 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a07a9d9da8012cec76c0072766a8001a01652f..."} 
[2026-09-07 12:17:56] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a07a9d9da8012cec76c0072766a8001a01652f..."} 
[2026-09-07 12:17:56] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:56] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":753694400,"raw_latitude":120022696,"longitude_deg":75.36944,"latitude_deg":12.0022696,"altitude":26,"angle":357,"satellites":47,"speed":61,"hex_longitude":"2cec76c0","hex_latitude":"072766a8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923466496001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401254506425221120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406600796643065856,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763545000,"timestamp_ms":1788763545000,"timestamp_seconds":1788763545,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9d9da8"} 
[2026-09-07 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-07 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:17:56] 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-07 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-07 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-07 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:56] 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-07 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923466496001,"66":27767,"188":206,"83":44032,"24":61,"16":401254506425221120,"44":-1406600796643065856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923466496001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401254506425221120,"km_value":401254506425221.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406600796643065856,"description":"Unknown IO ID 44"} 
[2026-09-07 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923466496001,"power":27767,"unknown_188":206,"unknown_83":44032,"ignition":61,"odometer":null,"unknown_44":-1406600796643065856}} 
[2026-09-07 12:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:56] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:56] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:17:56] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:56] local.INFO: Incomplete packet, waiting for more data {"connection_id":174714,"needed":795,"available":553} 
[2026-09-07 12:17:56] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":242,"data_hex":"000000000001a07a9d1cc0012ceca5800726b5e0002b000632002e0000000a00..."} 
[2026-09-07 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":242,"packet_hex":"000000000001a07a9d1cc0012ceca5800726b5e0002b000632002e0000000a00..."} 
[2026-09-07 12:17:56] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9db518012cec778007278ad00016000330..."} 
[2026-09-07 12:17:56] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:56] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":753694592,"raw_latitude":120031952,"longitude_deg":75.3694592,"latitude_deg":12.0031952,"altitude":22,"angle":3,"satellites":48,"speed":60,"hex_longitude":"2cec7780","hex_latitude":"07278ad0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923467520001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401254957396787200,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407726696548358144,"note":"Value kept but may cause issues"} 
[2026-09-07 12:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763551000,"timestamp_ms":1788763551000,"timestamp_seconds":1788763551,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9db518"} 
[2026-09-07 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-07 12:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 12:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:17:56] 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-07 12:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923467520001,"66":27832,"188":206,"83":44032,"24":60,"16":401254957396787200,"44":-1407726696548358144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923467520001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401254957396787200,"km_value":401254957396787.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:17:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407726696548358144,"description":"Unknown IO ID 44"} 
[2026-09-07 12:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923467520001,"power":27832,"unknown_188":206,"unknown_83":44032,"ignition":60,"odometer":null,"unknown_44":-1407726696548358144}} 
[2026-09-07 12:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:17:56] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:17:56] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:18:02] local.INFO: TCP Data received {"connection_id":174714,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9dcc88012cec79000727ae100012016731..."} 
[2026-09-07 12:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9dcc88012cec79000727ae100012016731..."} 
[2026-09-07 12:18:02] local.INFO: Processing buffer {"connection_id":174714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9dcc88012cec79000727ae100012016731..."} 
[2026-09-07 12:18:02] local.INFO: Packet analysis {"connection_id":174714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:18:02] local.INFO: Extracted packet for processing {"connection_id":174714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9d"} 
[2026-09-07 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":753694976,"raw_latitude":120040976,"longitude_deg":75.3694976,"latitude_deg":12.0040976,"altitude":18,"angle":359,"satellites":49,"speed":59,"hex_longitude":"2cec7900","hex_latitude":"0727ae10","is_valid_coordinates":true} 
[2026-09-07 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923469056001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401255395483451392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407515590313455616,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788763557000,"timestamp_ms":1788763557000,"timestamp_seconds":1788763557,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9dcc88"} 
[2026-09-07 12:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 12:18:02] 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-07 12:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18:02] 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-07 12:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923469056001,"66":27800,"188":206,"83":44032,"24":59,"16":401255395483451392,"44":-1407515590313455616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-09-07 12:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923469056001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:18:02] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-09-07 12:18:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401255395483451392,"km_value":401255395483451.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407515590313455616,"description":"Unknown IO ID 44"} 
[2026-09-07 12:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923469056001,"power":27800,"unknown_188":206,"unknown_83":44032,"ignition":59,"odometer":null,"unknown_44":-1407515590313455616}} 
[2026-09-07 12:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":174714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:18:02] local.INFO: GPS data processed {"connection_id":174714,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:18:02] local.INFO: Acknowledgment sent {"connection_id":174714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:18:22] local.INFO: TCP Data received {"connection_id":176083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9e7868012d1981c0072398f00042004727..."} 
[2026-09-07 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9e7868012d1981c0072398f00042004727..."} 
[2026-09-07 12:18:22] local.INFO: Processing buffer {"connection_id":176083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9e7868012d1981c0072398f00042004727..."} 
[2026-09-07 12:18:22] local.INFO: Packet analysis {"connection_id":176083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:18:22] local.INFO: Extracted packet for processing {"connection_id":176083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119773424,"longitude_deg":75.6646336,"latitude_deg":11.9773424,"altitude":66,"angle":71,"satellites":39,"speed":47,"hex_longitude":"2d1981c0","hex_latitude":"072398f0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923481088001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18293614333394944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834513191373312000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18: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-07 12:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788763601000,"timestamp_ms":1788763601000,"timestamp_seconds":1788763601,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9e7868"} 
[2026-09-07 12: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-07 12:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-07 12:18:22] 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-07 12: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-07 12: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-07 12:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923481088001,"66":14211,"42":206,"83":42752,"24":47,"16":18293614333394944,"45":1834513191373312000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923481088001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:18:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18293614333394944,"km_value":18293614333394.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834513191373312000,"description":"Unknown IO ID 45"} 
[2026-09-07 12:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923481088001,"power":14211,"unknown_42":206,"unknown_83":42752,"ignition":47,"odometer":null,"unknown_45":1834513191373312000}} 
[2026-09-07 12:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":176083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:18:22] local.INFO: GPS data processed {"connection_id":176083,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:18:22] local.INFO: Acknowledgment sent {"connection_id":176083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:18:40] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:40] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:40] local.INFO: IMEI packet received {"connection_id":173364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":173364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:18:45] local.INFO: TCP Data received {"connection_id":173365,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:45] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:45] local.INFO: IMEI packet received {"connection_id":173365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":173365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:18:46] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:46] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:18:46] local.INFO: IMEI packet received {"connection_id":173364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":173364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:18:47] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9e97a8012d19a7c007239f38003d005228..."} 
[2026-09-07 12:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9e97a8012d19a7c007239f38003d005228..."} 
[2026-09-07 12:18:47] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9e97a8012d19a7c007239f38003d005228..."} 
[2026-09-07 12:18:47] local.INFO: Packet analysis {"connection_id":173364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:18:47] local.INFO: Extracted packet for processing {"connection_id":173364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9e"} 
[2026-09-07 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756656064,"raw_latitude":119775032,"longitude_deg":75.6656064,"latitude_deg":11.9775032,"altitude":61,"angle":82,"satellites":40,"speed":48,"hex_longitude":"2d19a7c0","hex_latitude":"07239f38","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923481856001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18294082484830208,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837961259838402560,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:47] 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-07 12:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788763609000,"timestamp_ms":1788763609000,"timestamp_seconds":1788763609,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9e97a8"} 
[2026-09-07 12: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-07 12:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 12:18:47] 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-07 12: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-07 12: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-07 12:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923481856001,"66":14102,"42":206,"83":42752,"24":48,"16":18294082484830208,"45":1837961259838402560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923481856001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:18:47] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:18:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18294082484830208,"km_value":18294082484830.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837961259838402560,"description":"Unknown IO ID 45"} 
[2026-09-07 12:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923481856001,"power":14102,"unknown_42":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1837961259838402560}} 
[2026-09-07 12:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":173364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:18:47] local.INFO: GPS data processed {"connection_id":173364,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:18:47] local.INFO: Acknowledgment sent {"connection_id":173364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:18:49] local.INFO: TCP Data received {"connection_id":173365,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:49] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:18:49] local.INFO: IMEI packet received {"connection_id":173365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:18:51] local.INFO: TCP Data received {"connection_id":173365,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9f5710012cec5ac007294238001e000830..."} 
[2026-09-07 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9f5710012cec5ac007294238001e000830..."} 
[2026-09-07 12:18:51] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9f5710012cec5ac007294238001e000830..."} 
[2026-09-07 12:18:51] local.INFO: Packet analysis {"connection_id":173365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:18:51] local.INFO: Extracted packet for processing {"connection_id":173365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":753687232,"raw_latitude":120144440,"longitude_deg":75.3687232,"latitude_deg":12.014444,"altitude":30,"angle":8,"satellites":48,"speed":33,"hex_longitude":"2cec5ac0","hex_latitude":"07294238","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923493632001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401260442070024192,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416945002006728704,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763658000,"timestamp_ms":1788763658000,"timestamp_seconds":1788763658,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9f5710"} 
[2026-09-07 12: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-07 12:18: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-07 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 12:18:51] 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-07 12: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-07 12: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-07 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18: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-07 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923493632001,"66":28006,"61":206,"83":44032,"24":33,"16":401260442070024192,"44":-1416945002006728704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923493632001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401260442070024192,"km_value":401260442070024.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416945002006728704,"description":"Unknown IO ID 44"} 
[2026-09-07 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923493632001,"power":28006,"unknown_61":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1416945002006728704}} 
[2026-09-07 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":173365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:18:51] local.INFO: GPS data processed {"connection_id":173365,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:18:51] local.INFO: Acknowledgment sent {"connection_id":173365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:18:51] local.INFO: TCP Data received {"connection_id":173365,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9f85f0012cec6280072965d80021000e2d..."} 
[2026-09-07 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9f85f0012cec6280072965d80021000e2d..."} 
[2026-09-07 12:18:51] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9f85f0012cec6280072965d80021000e2d..."} 
[2026-09-07 12:18:51] local.INFO: Packet analysis {"connection_id":173365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:18:51] local.INFO: Extracted packet for processing {"connection_id":173365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":753689216,"raw_latitude":120153560,"longitude_deg":75.3689216,"latitude_deg":12.015356,"altitude":33,"angle":14,"satellites":45,"speed":28,"hex_longitude":"2cec6280","hex_latitude":"072965d8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923496448001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401260893041590272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415607995865090048,"note":"Value kept but may cause issues"} 
[2026-09-07 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763670000,"timestamp_ms":1788763670000,"timestamp_seconds":1788763670,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9f85f0"} 
[2026-09-07 12: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-07 12:18: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-07 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 12:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:18: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-07 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923496448001,"66":27919,"61":206,"83":44032,"24":28,"16":401260893041590272,"44":-1415607995865090048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-07 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923496448001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401260893041590272,"km_value":401260893041590.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415607995865090048,"description":"Unknown IO ID 44"} 
[2026-09-07 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923496448001,"power":27919,"unknown_61":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1415607995865090048}} 
[2026-09-07 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":173365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:18:51] local.INFO: GPS data processed {"connection_id":173365,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:18:51] local.INFO: Acknowledgment sent {"connection_id":173365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:19:18] local.INFO: TCP Data received {"connection_id":173364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9feb80012d1a8dc007241a50002f00412c..."} 
[2026-09-07 12:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9feb80012d1a8dc007241a50002f00412c..."} 
[2026-09-07 12:19:18] local.INFO: Processing buffer {"connection_id":173364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9feb80012d1a8dc007241a50002f00412c..."} 
[2026-09-07 12:19:18] local.INFO: Packet analysis {"connection_id":173364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:19:18] local.INFO: Extracted packet for processing {"connection_id":173364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756714944,"raw_latitude":119806544,"longitude_deg":75.6714944,"latitude_deg":11.9806544,"altitude":47,"angle":65,"satellites":44,"speed":32,"hex_longitude":"2d1a8dc0","hex_latitude":"07241a50","is_valid_coordinates":true} 
[2026-09-07 12:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923501312001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18297471214026752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903967141884430336,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:18] 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-07 12:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763696000,"timestamp_ms":1788763696000,"timestamp_seconds":1788763696,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9feb80"} 
[2026-09-07 12:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:19:18] 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-07 12:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 12:19:18] 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-07 12:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923501312001,"66":14102,"137":206,"83":42752,"24":32,"16":18297471214026752,"45":1903967141884430336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-07 12:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923501312001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:19:18] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 12:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18297471214026752,"km_value":18297471214026.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903967141884430336,"description":"Unknown IO ID 45"} 
[2026-09-07 12:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923501312001,"power":14102,"unknown_137":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1903967141884430336}} 
[2026-09-07 12:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":173364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:19:18] local.INFO: GPS data processed {"connection_id":173364,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:19:18] local.INFO: Acknowledgment sent {"connection_id":173364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:19:22] local.INFO: TCP Data received {"connection_id":173365,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07a9fd7f8012cec67c0072977d80023000c31..."} 
[2026-09-07 12:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07a9fd7f8012cec67c0072977d80023000c31..."} 
[2026-09-07 12:19:22] local.INFO: Processing buffer {"connection_id":173365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07a9fd7f8012cec67c0072977d80023000c31..."} 
[2026-09-07 12:19:22] local.INFO: Packet analysis {"connection_id":173365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:19:22] local.INFO: Extracted packet for processing {"connection_id":173365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07a9f"} 
[2026-09-07 12:19:22] local.INFO: GPS Element Parsed {"raw_longitude":753690560,"raw_latitude":120158168,"longitude_deg":75.369056,"latitude_deg":12.0158168,"altitude":35,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2cec67c0","hex_latitude":"072977d8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923499520001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401261129264791552,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413426564793247744,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788763691000,"timestamp_ms":1788763691000,"timestamp_seconds":1788763691,"priority":1,"record_length":96,"hex_timestamp":"000001a07a9fd7f8"} 
[2026-09-07 12: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-07 12:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:19: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-07 12:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923499520001,"66":27876,"61":206,"83":44032,"24":0,"16":401261129264791552,"44":-1413426564793247744},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-09-07 12:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923499520001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:19:22] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 12:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401261129264791552,"km_value":401261129264791.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:19:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413426564793247744,"description":"Unknown IO ID 44"} 
[2026-09-07 12:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923499520001,"power":27876,"unknown_61":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1413426564793247744}} 
[2026-09-07 12:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":173365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:19:22] local.INFO: GPS data processed {"connection_id":173365,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:19:22] local.INFO: Acknowledgment sent {"connection_id":173365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:19:44] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:44] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:44] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:19:46] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:46] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:46] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:19:51] local.INFO: TCP Data received {"connection_id":174717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:51] local.INFO: Processing buffer {"connection_id":174717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:51] local.INFO: IMEI packet received {"connection_id":174717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":174717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:19:52] local.INFO: TCP Data received {"connection_id":174717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:52] local.INFO: Processing buffer {"connection_id":174717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:52] local.INFO: IMEI packet received {"connection_id":174717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":174717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:19:54] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:54] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:19:54] local.INFO: IMEI packet received {"connection_id":176084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":176084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:19:56] local.INFO: TCP Data received {"connection_id":174717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:56] local.INFO: Processing buffer {"connection_id":174717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:19:56] local.INFO: IMEI packet received {"connection_id":174717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":174717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:19:56] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa02a00012cec7080072996000025001031..."} 
[2026-09-07 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa02a00012cec7080072996000025001031..."} 
[2026-09-07 12:19:56] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa02a00012cec7080072996000025001031..."} 
[2026-09-07 12:19:56] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:19:56] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":753692800,"raw_latitude":120165888,"longitude_deg":75.36928,"latitude_deg":12.0165888,"altitude":37,"angle":16,"satellites":49,"speed":28,"hex_longitude":"2cec7080","hex_latitude":"07299600","is_valid_coordinates":true} 
[2026-09-07 12:19: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-07 12:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923504896001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401261520106815488,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411948821164337152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763712000,"timestamp_ms":1788763712000,"timestamp_seconds":1788763712,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa02a00"} 
[2026-09-07 12:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:19:56] 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-07 12:19: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-07 12:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:19:56] 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-07 12:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923504896001,"66":27865,"171":206,"83":44032,"24":28,"16":401261520106815488,"44":-1411948821164337152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-07 12:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923504896001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:19:56] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 12:19:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401261520106815488,"km_value":401261520106815.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411948821164337152,"description":"Unknown IO ID 44"} 
[2026-09-07 12:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923504896001,"power":27865,"unknown_171":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1411948821164337152}} 
[2026-09-07 12:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:19:56] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:19:56] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:19:57] local.INFO: TCP Data received {"connection_id":174717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa01678012d1aaf0007242950003000412d..."} 
[2026-09-07 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa01678012d1aaf0007242950003000412d..."} 
[2026-09-07 12:19:57] local.INFO: Processing buffer {"connection_id":174717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa01678012d1aaf0007242950003000412d..."} 
[2026-09-07 12:19:57] local.INFO: Packet analysis {"connection_id":174717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:19:57] local.INFO: Extracted packet for processing {"connection_id":174717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:19:57] local.INFO: GPS Element Parsed {"raw_longitude":756723456,"raw_latitude":119810384,"longitude_deg":75.6723456,"latitude_deg":11.9810384,"altitude":48,"angle":65,"satellites":45,"speed":33,"hex_longitude":"2d1aaf00","hex_latitude":"07242950","is_valid_coordinates":true} 
[2026-09-07 12:19: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-07 12:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923506176001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18297913595658240,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913396553605337088,"note":"Value kept but may cause issues"} 
[2026-09-07 12:19:57] 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-07 12:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788763707000,"timestamp_ms":1788763707000,"timestamp_seconds":1788763707,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa01678"} 
[2026-09-07 12:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:19:57] 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-07 12:19: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":22,"data_length":795,"current_offset":136} 
[2026-09-07 12:19:57] 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-07 12:19: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-07 12:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923506176001,"66":14080,"137":206,"83":42752,"24":33,"16":18297913595658240,"45":1913396553605337088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-07 12:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923506176001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:19:57] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 12:19:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18297913595658240,"km_value":18297913595658.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913396553605337088,"description":"Unknown IO ID 45"} 
[2026-09-07 12:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923506176001,"power":14080,"unknown_137":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1913396553605337088}} 
[2026-09-07 12:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":174717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:19:57] local.INFO: GPS data processed {"connection_id":174717,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:19:57] local.INFO: Acknowledgment sent {"connection_id":174717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:20:27] local.INFO: TCP Data received {"connection_id":176084,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:27] local.INFO: Processing buffer {"connection_id":176084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:27] local.INFO: Packet analysis {"connection_id":176084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:27] local.INFO: Extracted packet for processing {"connection_id":176084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":753694784,"raw_latitude":120174936,"longitude_deg":75.3694784,"latitude_deg":12.0174936,"altitude":38,"angle":3,"satellites":50,"speed":43,"hex_longitude":"2cec7840","hex_latitude":"0729b958","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923510272001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401261971078381568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409485915116142592,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788763722000,"timestamp_ms":1788763722000,"timestamp_seconds":1788763722,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa05110"} 
[2026-09-07 12: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-07 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12: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-07 12: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-07 12:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:27] 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-07 12:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923510272001,"66":27974,"171":206,"83":44032,"24":43,"16":401261971078381568,"44":-1409485915116142592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-07 12:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923510272001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:20:27] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 12:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401261971078381568,"km_value":401261971078381.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409485915116142592,"description":"Unknown IO ID 44"} 
[2026-09-07 12:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923510272001,"power":27974,"unknown_171":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1409485915116142592}} 
[2026-09-07 12:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":176084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:20:27] local.INFO: GPS data processed {"connection_id":176084,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:20:27] local.INFO: Acknowledgment sent {"connection_id":176084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:20:40] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:40] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:40] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:20:46] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:46] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:20:46] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:20:47] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa11460012d1b258007249520002700612d..."} 
[2026-09-07 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa11460012d1b258007249520002700612d..."} 
[2026-09-07 12:20:47] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa11460012d1b258007249520002700612d..."} 
[2026-09-07 12:20:47] local.INFO: Packet analysis {"connection_id":173603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:20:47] local.INFO: Extracted packet for processing {"connection_id":173603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756753792,"raw_latitude":119837984,"longitude_deg":75.6753792,"latitude_deg":11.9837984,"altitude":39,"angle":97,"satellites":45,"speed":12,"hex_longitude":"2d1b2580","hex_latitude":"07249520","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923525120001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18299932230287360,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955547431375810560,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:47] 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-07 12:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788763772000,"timestamp_ms":1788763772000,"timestamp_seconds":1788763772,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa11460"} 
[2026-09-07 12: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-07 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 12:20:47] 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-07 12: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-07 12: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-07 12:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923525120001,"66":14265,"136":206,"83":42752,"24":12,"16":18299932230287360,"45":1955547431375810560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923525120001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:20:47] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:20:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18299932230287360,"km_value":18299932230287.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955547431375810560,"description":"Unknown IO ID 45"} 
[2026-09-07 12:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923525120001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1955547431375810560}} 
[2026-09-07 12:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":173603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:20:47] local.INFO: GPS data processed {"connection_id":173603,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:20:47] local.INFO: Acknowledgment sent {"connection_id":173603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:20:49] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:49] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:49] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:20:50] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:50] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:50] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:20:55] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:55] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:20:55] local.INFO: IMEI packet received {"connection_id":176085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":176085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:20:56] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:56] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa05110012cec78400729b9580026000332..."} 
[2026-09-07 12:20:56] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:56] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":753694784,"raw_latitude":120174936,"longitude_deg":75.3694784,"latitude_deg":12.0174936,"altitude":38,"angle":3,"satellites":50,"speed":43,"hex_longitude":"2cec7840","hex_latitude":"0729b958","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923512832001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401261971078381568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407304484044318720,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788763722000,"timestamp_ms":1788763722000,"timestamp_seconds":1788763722,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa05110"} 
[2026-09-07 12: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-07 12:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:20:56] 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-07 12: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-07 12: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-07 12:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:56] 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-07 12:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923512832001,"66":27974,"171":206,"83":44032,"24":43,"16":401261971078381568,"44":-1407304484044318720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-07 12:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923512832001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:20:56] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 12:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401261971078381568,"km_value":401261971078381.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407304484044318720,"description":"Unknown IO ID 44"} 
[2026-09-07 12:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923512832001,"power":27974,"unknown_171":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1407304484044318720}} 
[2026-09-07 12:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:20:56] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:20:56] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:20:59] local.INFO: TCP Data received {"connection_id":176085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa06498012cec77000729ce580027015f31..."} 
[2026-09-07 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa06498012cec77000729ce580027015f31..."} 
[2026-09-07 12:20:59] local.INFO: Processing buffer {"connection_id":176085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa06498012cec77000729ce580027015f31..."} 
[2026-09-07 12:20:59] local.INFO: Packet analysis {"connection_id":176085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:59] local.INFO: Extracted packet for processing {"connection_id":176085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa0"} 
[2026-09-07 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":753694464,"raw_latitude":120180312,"longitude_deg":75.3694464,"latitude_deg":12.0180312,"altitude":39,"angle":351,"satellites":49,"speed":42,"hex_longitude":"2cec7700","hex_latitude":"0729ce58","is_valid_coordinates":true} 
[2026-09-07 12:20: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-07 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923512832001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401262228776419328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407304484044318720,"note":"Value kept but may cause issues"} 
[2026-09-07 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788763727000,"timestamp_ms":1788763727000,"timestamp_seconds":1788763727,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa06498"} 
[2026-09-07 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:20:59] 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-07 12:20: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-07 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:20:59] 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-07 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923512832001,"66":27745,"171":206,"83":44032,"24":42,"16":401262228776419328,"44":-1407304484044318720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-09-07 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923512832001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:20:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 12:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401262228776419328,"km_value":401262228776419.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407304484044318720,"description":"Unknown IO ID 44"} 
[2026-09-07 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923512832001,"power":27745,"unknown_171":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1407304484044318720}} 
[2026-09-07 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":176085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:20:59] local.INFO: GPS data processed {"connection_id":176085,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:20:59] local.INFO: Acknowledgment sent {"connection_id":176085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:21:18] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa11848012d1b2700072494c0002700702d..."} 
[2026-09-07 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa11848012d1b2700072494c0002700702d..."} 
[2026-09-07 12:21:18] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa11848012d1b2700072494c0002700702d..."} 
[2026-09-07 12:21:18] local.INFO: Packet analysis {"connection_id":173603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:18] local.INFO: Extracted packet for processing {"connection_id":173603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756754176,"raw_latitude":119837888,"longitude_deg":75.6754176,"latitude_deg":11.9837888,"altitude":39,"angle":112,"satellites":45,"speed":14,"hex_longitude":"2d1b2700","hex_latitude":"072494c0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923525632001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18299949410156544,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956110381329227776,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:18] 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-07 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763773000,"timestamp_ms":1788763773000,"timestamp_seconds":1788763773,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa11848"} 
[2026-09-07 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-07 12:21:18] 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-07 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 12:21:18] 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-07 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-07 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-07 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923525632001,"66":14265,"136":206,"83":42752,"24":14,"16":18299949410156544,"45":1956110381329227776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923525632001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:21:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18299949410156544,"km_value":18299949410156.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956110381329227776,"description":"Unknown IO ID 45"} 
[2026-09-07 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923525632001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1956110381329227776}} 
[2026-09-07 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":173603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:21:18] local.INFO: GPS data processed {"connection_id":173603,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:21:18] local.INFO: Acknowledgment sent {"connection_id":173603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:21:42] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:42] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:42] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:21:44] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:44] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:44] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:21:45] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:45] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:45] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:21:46] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:46] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:46] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:21:49] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:49] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:21:49] local.INFO: IMEI packet received {"connection_id":173366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:21:50] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:50] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:21:50] local.INFO: IMEI packet received {"connection_id":174718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":174718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:21:50] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa11c30012d1b2800072494100027007b2d..."} 
[2026-09-07 12:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa11c30012d1b2800072494100027007b2d..."} 
[2026-09-07 12:21:50] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa11c30012d1b2800072494100027007b2d..."} 
[2026-09-07 12:21:50] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:50] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756754432,"raw_latitude":119837712,"longitude_deg":75.6754432,"latitude_deg":11.9837712,"altitude":39,"angle":123,"satellites":45,"speed":14,"hex_longitude":"2d1b2800","hex_latitude":"07249410","is_valid_coordinates":true} 
[2026-09-07 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-07 12:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923525888001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18299966590025728,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956532593794269184,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:50] 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-07 12:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788763774000,"timestamp_ms":1788763774000,"timestamp_seconds":1788763774,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa11c30"} 
[2026-09-07 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-07 12:21: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-07 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 12:21: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-07 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-07 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-07 12:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923525888001,"66":14265,"136":206,"83":42752,"24":14,"16":18299966590025728,"45":1956532593794269184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923525888001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:21:50] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18299966590025728,"km_value":18299966590025.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956532593794269184,"description":"Unknown IO ID 45"} 
[2026-09-07 12:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923525888001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1956532593794269184}} 
[2026-09-07 12:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:21:50] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:21:50] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:21:51] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:51] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:51] local.INFO: Packet analysis {"connection_id":174718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:21:51] local.INFO: Extracted packet for processing {"connection_id":174718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":753655424,"raw_latitude":120279720,"longitude_deg":75.3655424,"latitude_deg":12.027972,"altitude":45,"angle":336,"satellites":43,"speed":11,"hex_longitude":"2cebde80","hex_latitude":"072b52a8","is_valid_coordinates":true} 
[2026-09-07 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923542016001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401267515881160704,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1443755493503174656,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763848000,"timestamp_ms":1788763848000,"timestamp_seconds":1788763848,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa23d40"} 
[2026-09-07 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:21: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-07 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:21: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-07 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923542016001,"66":27821,"224":206,"83":44032,"24":11,"16":401267515881160704,"44":-1443755493503174656},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923542016001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401267515881160704,"km_value":401267515881160.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1443755493503174656,"description":"Unknown IO ID 44"} 
[2026-09-07 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923542016001,"power":27821,"unknown_224":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1443755493503174656}} 
[2026-09-07 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":174718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:21:51] local.INFO: GPS data processed {"connection_id":174718,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:21:51] local.INFO: Acknowledgment sent {"connection_id":174718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:21:51] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa16668012d1b4680072481a80027007c2d..."} 
[2026-09-07 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa16668012d1b4680072481a80027007c2d..."} 
[2026-09-07 12:21:51] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa16668012d1b4680072481a80027007c2d..."} 
[2026-09-07 12:21:51] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:51] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756762240,"raw_latitude":119833000,"longitude_deg":75.676224,"latitude_deg":11.9833,"altitude":39,"angle":124,"satellites":45,"speed":17,"hex_longitude":"2d1b4680","hex_latitude":"072481a8","is_valid_coordinates":true} 
[2026-09-07 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923526144001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18300400381722624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956814068770934784,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:51] 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-07 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763793000,"timestamp_ms":1788763793000,"timestamp_seconds":1788763793,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa16668"} 
[2026-09-07 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:21:51] 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-07 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 12:21: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-07 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923526144001,"66":14233,"136":206,"83":42752,"24":17,"16":18300400381722624,"45":1956814068770934784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923526144001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18300400381722624,"km_value":18300400381722.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956814068770934784,"description":"Unknown IO ID 45"} 
[2026-09-07 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923526144001,"power":14233,"unknown_136":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1956814068770934784}} 
[2026-09-07 12:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:21:52] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:21:52] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:21:52] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:52] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa23d40012cebde80072b52a8002d01502b..."} 
[2026-09-07 12:21:52] local.INFO: Packet analysis {"connection_id":174718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:21:52] local.INFO: Extracted packet for processing {"connection_id":174718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:21:52] local.INFO: GPS Element Parsed {"raw_longitude":753655424,"raw_latitude":120279720,"longitude_deg":75.3655424,"latitude_deg":12.027972,"altitude":45,"angle":336,"satellites":43,"speed":11,"hex_longitude":"2cebde80","hex_latitude":"072b52a8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923545088001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401267515881160704,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450581261686757376,"note":"Value kept but may cause issues"} 
[2026-09-07 12:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788763848000,"timestamp_ms":1788763848000,"timestamp_seconds":1788763848,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa23d40"} 
[2026-09-07 12: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-07 12:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:21:52] 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-07 12:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923545088001,"66":27821,"224":206,"83":44032,"24":11,"16":401267515881160704,"44":-1450581261686757376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 12:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923545088001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:21:52] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 12:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401267515881160704,"km_value":401267515881160.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450581261686757376,"description":"Unknown IO ID 44"} 
[2026-09-07 12:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923545088001,"power":27821,"unknown_224":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1450581261686757376}} 
[2026-09-07 12:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":174718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:21:52] local.INFO: GPS data processed {"connection_id":174718,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:21:52] local.INFO: Acknowledgment sent {"connection_id":174718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:22:22] local.INFO: TCP Data received {"connection_id":173366,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa17dd8012d1b4c8007247cd8002800872d..."} 
[2026-09-07 12:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa17dd8012d1b4c8007247cd8002800872d..."} 
[2026-09-07 12:22:22] local.INFO: Processing buffer {"connection_id":173366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa17dd8012d1b4c8007247cd8002800872d..."} 
[2026-09-07 12:22:22] local.INFO: Packet analysis {"connection_id":173366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:22:22] local.INFO: Extracted packet for processing {"connection_id":173366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756763776,"raw_latitude":119831768,"longitude_deg":75.6763776,"latitude_deg":11.9831768,"altitude":40,"angle":135,"satellites":45,"speed":11,"hex_longitude":"2d1b4c80","hex_latitude":"07247cd8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923531008001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18300494871003136,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965399055559403520,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:22] 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-07 12:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788763799000,"timestamp_ms":1788763799000,"timestamp_seconds":1788763799,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa17dd8"} 
[2026-09-07 12: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-07 12:22: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-07 12: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":153,"data_length":795,"current_offset":136} 
[2026-09-07 12:22: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-07 12: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-07 12: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-07 12:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923531008001,"66":14276,"136":206,"83":42752,"24":11,"16":18300494871003136,"45":1965399055559403520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923531008001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:22:22] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18300494871003136,"km_value":18300494871003.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965399055559403520,"description":"Unknown IO ID 45"} 
[2026-09-07 12:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923531008001,"power":14276,"unknown_136":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1965399055559403520}} 
[2026-09-07 12:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":173366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:22:23] local.INFO: GPS data processed {"connection_id":173366,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:22:23] local.INFO: Acknowledgment sent {"connection_id":173366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:22:23] local.INFO: TCP Data received {"connection_id":174718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa24128012cebde00072b5388002d015c29..."} 
[2026-09-07 12:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa24128012cebde00072b5388002d015c29..."} 
[2026-09-07 12:22:23] local.INFO: Processing buffer {"connection_id":174718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa24128012cebde00072b5388002d015c29..."} 
[2026-09-07 12:22:23] local.INFO: Packet analysis {"connection_id":174718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:22:23] local.INFO: Extracted packet for processing {"connection_id":174718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa2"} 
[2026-09-07 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":753655296,"raw_latitude":120279944,"longitude_deg":75.3655296,"latitude_deg":12.0279944,"altitude":45,"angle":348,"satellites":41,"speed":7,"hex_longitude":"2cebde00","hex_latitude":"072b5388","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923545088001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401267528766062592,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450581261686757376,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788763849000,"timestamp_ms":1788763849000,"timestamp_seconds":1788763849,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa24128"} 
[2026-09-07 12: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-07 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:22:23] 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-07 12: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-07 12: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-07 12:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:22:23] 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-07 12:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923545088001,"66":27821,"224":206,"83":44032,"24":7,"16":401267528766062592,"44":-1450581261686757376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-09-07 12:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923545088001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:22:23] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 12:22:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401267528766062592,"km_value":401267528766062.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:22:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450581261686757376,"description":"Unknown IO ID 44"} 
[2026-09-07 12:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923545088001,"power":27821,"unknown_224":206,"unknown_83":44032,"ignition":7,"odometer":null,"unknown_44":-1450581261686757376}} 
[2026-09-07 12:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":174718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:22:23] local.INFO: GPS data processed {"connection_id":174718,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:22:23] local.INFO: Acknowledgment sent {"connection_id":174718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:22:27] local.INFO: TCP Data received {"connection_id":174719,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:27] local.INFO: Processing buffer {"connection_id":174719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:27] local.INFO: IMEI packet received {"connection_id":174719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":174719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:22:40] local.INFO: TCP Data received {"connection_id":174720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:40] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:40] local.INFO: IMEI packet received {"connection_id":174720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":174720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:22:46] local.INFO: TCP Data received {"connection_id":174720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:46] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:22:46] local.INFO: IMEI packet received {"connection_id":174720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":174720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:22:47] local.INFO: TCP Data received {"connection_id":174720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa1c810012d1b6440072462780027008d2b..."} 
[2026-09-07 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa1c810012d1b6440072462780027008d2b..."} 
[2026-09-07 12:22:47] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa1c810012d1b6440072462780027008d2b..."} 
[2026-09-07 12:22:47] local.INFO: Packet analysis {"connection_id":174720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:22:47] local.INFO: Extracted packet for processing {"connection_id":174720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa1"} 
[2026-09-07 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756769856,"raw_latitude":119825016,"longitude_deg":75.6769856,"latitude_deg":11.9825016,"altitude":39,"angle":141,"satellites":43,"speed":27,"hex_longitude":"2d1b6440","hex_latitude":"07246278","is_valid_coordinates":true} 
[2026-09-07 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-07 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923532544001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18300932957667328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967087905419352064,"note":"Value kept but may cause issues"} 
[2026-09-07 12:22:47] 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-07 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788763818000,"timestamp_ms":1788763818000,"timestamp_seconds":1788763818,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa1c810"} 
[2026-09-07 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-07 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 12:22:47] 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-07 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-07 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-07 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923532544001,"66":14265,"136":206,"83":42752,"24":27,"16":18300932957667328,"45":1967087905419352064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923532544001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:22:47] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:22:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18300932957667328,"km_value":18300932957667.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967087905419352064,"description":"Unknown IO ID 45"} 
[2026-09-07 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923532544001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1967087905419352064}} 
[2026-09-07 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":174720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:22:47] local.INFO: GPS data processed {"connection_id":174720,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:22:47] local.INFO: Acknowledgment sent {"connection_id":174720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:22:47] local.INFO: TCP Data received {"connection_id":173367,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:47] local.INFO: Processing buffer {"connection_id":173367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:22:47] local.INFO: IMEI packet received {"connection_id":173367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":173367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:22:56] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:56] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:56] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:22:58] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:58] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:22:58] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:02] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:02] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:02] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:04] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:04] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:04] local.INFO: IMEI packet received {"connection_id":176087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":176087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:05] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa33358012cec5900072bbcb00030002329..."} 
[2026-09-07 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa33358012cec5900072bbcb00030002329..."} 
[2026-09-07 12:23:05] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa33358012cec5900072bbcb00030002329..."} 
[2026-09-07 12:23:05] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:05] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":753686784,"raw_latitude":120306864,"longitude_deg":75.3686784,"latitude_deg":12.0306864,"altitude":48,"angle":35,"satellites":41,"speed":29,"hex_longitude":"2cec5900","hex_latitude":"072bbcb0","is_valid_coordinates":true} 
[2026-09-07 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923558144001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401269573170495488,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421026389127270400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788763911000,"timestamp_ms":1788763911000,"timestamp_seconds":1788763911,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa33358"} 
[2026-09-07 12:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923558144001,"66":27865,"225":206,"83":44032,"24":29,"16":401269573170495488,"44":-1421026389127270400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 12:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923558144001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401269573170495488,"km_value":401269573170495.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421026389127270400,"description":"Unknown IO ID 44"} 
[2026-09-07 12:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923558144001,"power":27865,"unknown_225":206,"unknown_83":44032,"ignition":29,"odometer":null,"unknown_44":-1421026389127270400}} 
[2026-09-07 12:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:23:05] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:23:05] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:23:10] local.INFO: TCP Data received {"connection_id":176087,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa34ac8012cec64c0072bcb300031003025..."} 
[2026-09-07 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa34ac8012cec64c0072bcb300031003025..."} 
[2026-09-07 12:23:10] local.INFO: Processing buffer {"connection_id":176087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa34ac8012cec64c0072bcb300031003025..."} 
[2026-09-07 12:23:10] local.INFO: Packet analysis {"connection_id":176087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:10] local.INFO: Extracted packet for processing {"connection_id":176087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":753689792,"raw_latitude":120310576,"longitude_deg":75.3689792,"latitude_deg":12.0310576,"altitude":49,"angle":48,"satellites":37,"speed":32,"hex_longitude":"2cec64c0","hex_latitude":"072bcb30","is_valid_coordinates":true} 
[2026-09-07 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923561216001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401269805098729472,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416100577032753152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788763917000,"timestamp_ms":1788763917000,"timestamp_seconds":1788763917,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa34ac8"} 
[2026-09-07 12:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923561216001,"66":27865,"225":206,"83":44032,"24":32,"16":401269805098729472,"44":-1416100577032753152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 12:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923561216001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:23:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 12:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401269805098729472,"km_value":401269805098729.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416100577032753152,"description":"Unknown IO ID 44"} 
[2026-09-07 12:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923561216001,"power":27865,"unknown_225":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1416100577032753152}} 
[2026-09-07 12:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":176087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:23:10] local.INFO: GPS data processed {"connection_id":176087,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:23:10] local.INFO: Acknowledgment sent {"connection_id":176087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:23:18] local.INFO: TCP Data received {"connection_id":174720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa342f8012d1c1300072394a8002500b02e..."} 
[2026-09-07 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa342f8012d1c1300072394a8002500b02e..."} 
[2026-09-07 12:23:18] local.INFO: Processing buffer {"connection_id":174720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa342f8012d1c1300072394a8002500b02e..."} 
[2026-09-07 12:23:18] local.INFO: Packet analysis {"connection_id":174720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:18] local.INFO: Extracted packet for processing {"connection_id":174720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756814592,"raw_latitude":119772328,"longitude_deg":75.6814592,"latitude_deg":11.9772328,"altitude":37,"angle":176,"satellites":46,"speed":6,"hex_longitude":"2d1c1300","hex_latitude":"072394a8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923561984001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304274442223616,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022960688281249792,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:18] 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-07 12:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763915000,"timestamp_ms":1788763915000,"timestamp_seconds":1788763915,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa342f8"} 
[2026-09-07 12: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-07 12:23:18] 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-07 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 12:23:18] 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-07 12: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-07 12: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-07 12:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923561984001,"66":14102,"176":206,"83":42752,"24":6,"16":18304274442223616,"45":2022960688281249792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923561984001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:23:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304274442223616,"km_value":18304274442223.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022960688281249792,"description":"Unknown IO ID 45"} 
[2026-09-07 12:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923561984001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":2022960688281249792}} 
[2026-09-07 12:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":174720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:23:18] local.INFO: GPS data processed {"connection_id":174720,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:23:18] local.INFO: Acknowledgment sent {"connection_id":174720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:23:42] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:42] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:42] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:23:42] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:42] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:42] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:23:45] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:45] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:45] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:46] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:46] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:23:46] local.INFO: IMEI packet received {"connection_id":173368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:46] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa39500012d1c12c007239338002300b02d..."} 
[2026-09-07 12:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa39500012d1c12c007239338002300b02d..."} 
[2026-09-07 12:23:46] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa39500012d1c12c007239338002300b02d..."} 
[2026-09-07 12:23:46] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:46] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756814528,"raw_latitude":119771960,"longitude_deg":75.6814528,"latitude_deg":11.977196,"altitude":35,"angle":176,"satellites":45,"speed":0,"hex_longitude":"2d1c12c0","hex_latitude":"07239338","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923562240001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304300212027392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022960688281200640,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788763936000,"timestamp_ms":1788763936000,"timestamp_seconds":1788763936,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa39500"} 
[2026-09-07 12: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-07 12:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 12:23:46] 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-07 12: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-07 12: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-07 12:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923562240001,"66":14048,"176":206,"83":42752,"24":0,"16":18304300212027392,"45":2022960688281200640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923562240001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:23:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304300212027392,"km_value":18304300212027.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022960688281200640,"description":"Unknown IO ID 45"} 
[2026-09-07 12:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923562240001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022960688281200640}} 
[2026-09-07 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:23:47] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:23:47] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:23:50] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:50] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:23:50] local.INFO: IMEI packet received {"connection_id":173604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:23:51] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa35e50012cec7080072bd6e0003200212b..."} 
[2026-09-07 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa35e50012cec7080072bd6e0003200212b..."} 
[2026-09-07 12:23:51] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa35e50012cec7080072bd6e0003200212b..."} 
[2026-09-07 12:23:51] local.INFO: Packet analysis {"connection_id":173604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:51] local.INFO: Extracted packet for processing {"connection_id":173604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":753692800,"raw_latitude":120313568,"longitude_deg":75.36928,"latitude_deg":12.0313568,"altitude":50,"angle":33,"satellites":43,"speed":32,"hex_longitude":"2cec7080","hex_latitude":"072bd6e0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923562752001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401270006962192384,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412793246055452672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788763922000,"timestamp_ms":1788763922000,"timestamp_seconds":1788763922,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa35e50"} 
[2026-09-07 12: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-07 12:23: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-07 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:23: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-07 12:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923562752001,"66":27843,"102":206,"83":44032,"24":32,"16":401270006962192384,"44":-1412793246055452672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,44]} 
[2026-09-07 12:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923562752001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 12:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401270006962192384,"km_value":401270006962192.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412793246055452672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923562752001,"power":27843,"unknown_102":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1412793246055452672}} 
[2026-09-07 12:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":173604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:23:51] local.INFO: GPS data processed {"connection_id":173604,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:23:51] local.INFO: Acknowledgment sent {"connection_id":173604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:24:17] local.INFO: TCP Data received {"connection_id":173368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa3e708012d1c118007239228002300b029..."} 
[2026-09-07 12:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa3e708012d1c118007239228002300b029..."} 
[2026-09-07 12:24:17] local.INFO: Processing buffer {"connection_id":173368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa3e708012d1c118007239228002300b029..."} 
[2026-09-07 12:24:17] local.INFO: Packet analysis {"connection_id":173368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:24:17] local.INFO: Extracted packet for processing {"connection_id":173368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa3"} 
[2026-09-07 12:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923567616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022890319536928768,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:17] 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-07 12:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788763957000,"timestamp_ms":1788763957000,"timestamp_seconds":1788763957,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa3e708"} 
[2026-09-07 12: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-07 12:24:17] 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-07 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 12:24:17] 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-07 12: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-07 12: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-07 12:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923567616001,"66":13993,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022890319536928768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923567616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:24:17] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022890319536928768,"description":"Unknown IO ID 45"} 
[2026-09-07 12:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923567616001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022890319536928768}} 
[2026-09-07 12:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":173368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:24:17] local.INFO: GPS data processed {"connection_id":173368,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:24:17] local.INFO: Acknowledgment sent {"connection_id":173368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:24:22] local.INFO: TCP Data received {"connection_id":173604,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa4e108012ced5880072cbcd0003b00132d..."} 
[2026-09-07 12:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa4e108012ced5880072cbcd0003b00132d..."} 
[2026-09-07 12:24:22] local.INFO: Processing buffer {"connection_id":173604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa4e108012ced5880072cbcd0003b00132d..."} 
[2026-09-07 12:24:22] local.INFO: Packet analysis {"connection_id":173604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:22] local.INFO: Extracted packet for processing {"connection_id":173604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":753752192,"raw_latitude":120372432,"longitude_deg":75.3752192,"latitude_deg":12.0372432,"altitude":59,"angle":19,"satellites":45,"speed":20,"hex_longitude":"2ced5880","hex_latitude":"072cbcd0","is_valid_coordinates":true} 
[2026-09-07 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923589376001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401274362059030528,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1344183720466395136,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764021000,"timestamp_ms":1788764021000,"timestamp_seconds":1788764021,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa4e108"} 
[2026-09-07 12:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 12:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:24: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-07 12:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923589376001,"66":27995,"101":206,"83":44032,"24":20,"16":401274362059030528,"44":-1344183720466395136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-07 12:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923589376001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:24:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401274362059030528,"km_value":401274362059030.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1344183720466395136,"description":"Unknown IO ID 44"} 
[2026-09-07 12:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923589376001,"power":27995,"unknown_101":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1344183720466395136}} 
[2026-09-07 12:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":173604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:24:22] local.INFO: GPS data processed {"connection_id":173604,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:24:22] local.INFO: Acknowledgment sent {"connection_id":173604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:24:40] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:40] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:40] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:24:46] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:46] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:24:46] local.INFO: IMEI packet received {"connection_id":174721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:24:46] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa43910012d1c118007239228002300b02a..."} 
[2026-09-07 12:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa43910012d1c118007239228002300b02a..."} 
[2026-09-07 12:24:46] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa43910012d1c118007239228002300b02a..."} 
[2026-09-07 12:24:46] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:46] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923572992001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788763978000,"timestamp_ms":1788763978000,"timestamp_seconds":1788763978,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa43910"} 
[2026-09-07 12: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-07 12:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:24:46] 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-07 12: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-07 12: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-07 12:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923572992001,"66":14080,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923572992001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:24:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923572992001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:24:46] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:24:46] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:24:49] local.INFO: TCP Data received {"connection_id":174723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:49] local.INFO: Processing buffer {"connection_id":174723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:49] local.INFO: IMEI packet received {"connection_id":174723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:24:55] local.INFO: TCP Data received {"connection_id":174723,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:55] local.INFO: Processing buffer {"connection_id":174723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:24:55] local.INFO: IMEI packet received {"connection_id":174723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":174723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:24:56] local.INFO: TCP Data received {"connection_id":174723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa4e4f0012ced5940072cbe68003c001f2c..."} 
[2026-09-07 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa4e4f0012ced5940072cbe68003c001f2c..."} 
[2026-09-07 12:24:56] local.INFO: Processing buffer {"connection_id":174723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa4e4f0012ced5940072cbe68003c001f2c..."} 
[2026-09-07 12:24:56] local.INFO: Packet analysis {"connection_id":174723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:56] local.INFO: Extracted packet for processing {"connection_id":174723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":753752384,"raw_latitude":120372840,"longitude_deg":75.3752384,"latitude_deg":12.037284,"altitude":60,"angle":31,"satellites":44,"speed":16,"hex_longitude":"2ced5940","hex_latitude":"072cbe68","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923589376001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401274383533867008,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1344183720466395136,"note":"Value kept but may cause issues"} 
[2026-09-07 12:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788764022000,"timestamp_ms":1788764022000,"timestamp_seconds":1788764022,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa4e4f0"} 
[2026-09-07 12: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-07 12:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 12:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:24: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-07 12: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-07 12:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:24:56] 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-07 12:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923589376001,"66":27397,"101":206,"83":44032,"24":16,"16":401274383533867008,"44":-1344183720466395136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-07 12:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923589376001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:24:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:24:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401274383533867008,"km_value":401274383533867.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:24:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1344183720466395136,"description":"Unknown IO ID 44"} 
[2026-09-07 12:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923589376001,"power":27397,"unknown_101":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1344183720466395136}} 
[2026-09-07 12:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":174723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:24:56] local.INFO: GPS data processed {"connection_id":174723,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:24:56] local.INFO: Acknowledgment sent {"connection_id":174723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:25:18] local.INFO: TCP Data received {"connection_id":174721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa48b18012d1c118007239228002300b02a..."} 
[2026-09-07 12:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa48b18012d1c118007239228002300b02a..."} 
[2026-09-07 12:25:18] local.INFO: Processing buffer {"connection_id":174721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa48b18012d1c118007239228002300b02a..."} 
[2026-09-07 12:25:18] local.INFO: Packet analysis {"connection_id":174721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:25:18] local.INFO: Extracted packet for processing {"connection_id":174721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923578368001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] 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-07 12:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788763999000,"timestamp_ms":1788763999000,"timestamp_seconds":1788763999,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa48b18"} 
[2026-09-07 12:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:25:18] 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-07 12:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446321152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2506620965,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2738819073,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-09-07 12:25:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951466,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,176,83,24,241,157,16,7,160,231,45,128,146,35,41,10,66,149,192,147,1,240,22,227,122,4,113,205,9,59,18,80,46,239,54,2,65,38,29],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-09-07 12:25:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522209485762592768,"timestamp_seconds":2522209485762593.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 12:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923578368001,"66":13167,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923578368001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:25:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923578368001,"power":13167,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":174721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:25:18] local.INFO: GPS data processed {"connection_id":174721,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:25:18] local.INFO: Acknowledgment sent {"connection_id":174721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:25:27] local.INFO: TCP Data received {"connection_id":174723,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa5cf50012ced7d40072ce7980044012f31..."} 
[2026-09-07 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa5cf50012ced7d40072ce7980044012f31..."} 
[2026-09-07 12:25:27] local.INFO: Processing buffer {"connection_id":174723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa5cf50012ced7d40072ce7980044012f31..."} 
[2026-09-07 12:25:27] local.INFO: Packet analysis {"connection_id":174723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:25:27] local.INFO: Extracted packet for processing {"connection_id":174723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":753761600,"raw_latitude":120383384,"longitude_deg":75.37616,"latitude_deg":12.0383384,"altitude":68,"angle":303,"satellites":49,"speed":9,"hex_longitude":"2ced7d40","hex_latitude":"072ce798","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923604736001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401275242527326208,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333698777581168640,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788764082000,"timestamp_ms":1788764082000,"timestamp_seconds":1788764082,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa5cf50"} 
[2026-09-07 12: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-07 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:25:27] 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-07 12: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-07 12: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-07 12:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:25:27] 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-07 12:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923604736001,"66":27919,"101":206,"83":44032,"24":9,"16":401275242527326208,"44":-1333698777581168640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-07 12:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923604736001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:25:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401275242527326208,"km_value":401275242527326.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:25:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333698777581168640,"description":"Unknown IO ID 44"} 
[2026-09-07 12:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923604736001,"power":27919,"unknown_101":206,"unknown_83":44032,"ignition":9,"odometer":null,"unknown_44":-1333698777581168640}} 
[2026-09-07 12:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":174723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:25:27] local.INFO: GPS data processed {"connection_id":174723,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:25:27] local.INFO: Acknowledgment sent {"connection_id":174723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:25:40] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:40] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:40] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:25:41] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:41] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:41] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:25:45] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:45] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:45] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:25:46] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:46] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:25:46] local.INFO: IMEI packet received {"connection_id":174724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":174724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:25:46] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa4dd20012d1c118007239228002300b028..."} 
[2026-09-07 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa4dd20012d1c118007239228002300b028..."} 
[2026-09-07 12:25:46] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa4dd20012d1c118007239228002300b028..."} 
[2026-09-07 12:25:46] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:25:46] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa4"} 
[2026-09-07 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923583744001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764020000,"timestamp_ms":1788764020000,"timestamp_seconds":1788764020,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa4dd20"} 
[2026-09-07 12: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-07 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 12:25:46] 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-07 12: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-07 12: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-07 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923583744001,"66":12852,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923583744001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:25:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923583744001,"power":12852,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:25:46] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:25:46] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:25:50] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:50] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:25:50] local.INFO: IMEI packet received {"connection_id":173370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:25:53] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa5d338012ced7c40072ce8000043011a31..."} 
[2026-09-07 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa5d338012ced7c40072ce8000043011a31..."} 
[2026-09-07 12:25:53] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa5d338012ced7c40072ce8000043011a31..."} 
[2026-09-07 12:25:53] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:25:53] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:25:53] local.INFO: GPS Element Parsed {"raw_longitude":753761344,"raw_latitude":120383488,"longitude_deg":75.3761344,"latitude_deg":12.0383488,"altitude":67,"angle":282,"satellites":49,"speed":8,"hex_longitude":"2ced7c40","hex_latitude":"072ce800","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923604992001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401275255412228096,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333839515069474816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788764083000,"timestamp_ms":1788764083000,"timestamp_seconds":1788764083,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa5d338"} 
[2026-09-07 12: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-07 12:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:25: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-07 12:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923604992001,"66":27919,"101":206,"83":44032,"24":8,"16":401275255412228096,"44":-1333839515069474816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-09-07 12:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923604992001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:25:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:25:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401275255412228096,"km_value":401275255412228.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:25:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333839515069474816,"description":"Unknown IO ID 44"} 
[2026-09-07 12:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923604992001,"power":27919,"unknown_101":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1333839515069474816}} 
[2026-09-07 12:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:25:53] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:25:53] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:26:18] local.INFO: TCP Data received {"connection_id":174724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa52f28012d1c118007239228002300b026..."} 
[2026-09-07 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa52f28012d1c118007239228002300b026..."} 
[2026-09-07 12:26:18] local.INFO: Processing buffer {"connection_id":174724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa52f28012d1c118007239228002300b026..."} 
[2026-09-07 12:26:18] local.INFO: Packet analysis {"connection_id":174724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:26:18] local.INFO: Extracted packet for processing {"connection_id":174724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923589120001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:18] 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-07 12:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788764041000,"timestamp_ms":1788764041000,"timestamp_seconds":1788764041,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa52f28"} 
[2026-09-07 12:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:26:18] 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-07 12:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-07 12:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923589120001,"66":12776,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923589120001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:26:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923589120001,"power":12776,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":174724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:26:18] local.INFO: GPS data processed {"connection_id":174724,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:26:18] local.INFO: Acknowledgment sent {"connection_id":174724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:26:24] local.INFO: TCP Data received {"connection_id":173370,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa67b30012ced8600072d25400047007e30..."} 
[2026-09-07 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa67b30012ced8600072d25400047007e30..."} 
[2026-09-07 12:26:24] local.INFO: Processing buffer {"connection_id":173370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa67b30012ced8600072d25400047007e30..."} 
[2026-09-07 12:26:24] local.INFO: Packet analysis {"connection_id":173370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:26:24] local.INFO: Extracted packet for processing {"connection_id":173370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:26:24] local.INFO: GPS Element Parsed {"raw_longitude":753763840,"raw_latitude":120399168,"longitude_deg":75.376384,"latitude_deg":12.0399168,"altitude":71,"angle":126,"satellites":48,"speed":15,"hex_longitude":"2ced8600","hex_latitude":"072d2540","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923616000001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401276320564117504,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1331798821484247040,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788764126000,"timestamp_ms":1788764126000,"timestamp_seconds":1788764126,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa67b30"} 
[2026-09-07 12: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-07 12:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:26:24] 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-07 12: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-07 12: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-07 12:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:26:24] 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-07 12:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923616000001,"66":27865,"229":206,"83":44032,"24":15,"16":401276320564117504,"44":-1331798821484247040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923616000001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:26:24] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401276320564117504,"km_value":401276320564117.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1331798821484247040,"description":"Unknown IO ID 44"} 
[2026-09-07 12:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923616000001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1331798821484247040}} 
[2026-09-07 12:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":173370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:26:24] local.INFO: GPS data processed {"connection_id":173370,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:26:24] local.INFO: Acknowledgment sent {"connection_id":173370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:26:44] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:44] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:44] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:26:45] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:45] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:45] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:26:45] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:26:45] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:45] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:26:50] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:50] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:26:50] local.INFO: IMEI packet received {"connection_id":176088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":176088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:26:51] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:51] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:26:51] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:26:51] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa6aa10012ced97c0072d1a580045006c31..."} 
[2026-09-07 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa6aa10012ced97c0072d1a580045006c31..."} 
[2026-09-07 12:26:51] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa6aa10012ced97c0072d1a580045006c31..."} 
[2026-09-07 12:26:51] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:26:51] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":753768384,"raw_latitude":120396376,"longitude_deg":75.3768384,"latitude_deg":12.0396376,"altitude":69,"angle":108,"satellites":49,"speed":15,"hex_longitude":"2ced97c0","hex_latitude":"072d1a58","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923616256001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401276573967187968,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1331376609019215872,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764138000,"timestamp_ms":1788764138000,"timestamp_seconds":1788764138,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa6aa10"} 
[2026-09-07 12: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-07 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:26: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-07 12:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923616256001,"66":27821,"229":206,"83":44032,"24":15,"16":401276573967187968,"44":-1331376609019215872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923616256001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:26:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401276573967187968,"km_value":401276573967187.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1331376609019215872,"description":"Unknown IO ID 44"} 
[2026-09-07 12:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923616256001,"power":27821,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1331376609019215872}} 
[2026-09-07 12:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:26:51] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:26:51] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:26:52] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa58130012d1c118007239228002300b028..."} 
[2026-09-07 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa58130012d1c118007239228002300b028..."} 
[2026-09-07 12:26:52] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa58130012d1c118007239228002300b028..."} 
[2026-09-07 12:26:52] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:26:52] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 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-07 12:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923594496001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:26: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-07 12:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788764062000,"timestamp_ms":1788764062000,"timestamp_seconds":1788764062,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa58130"} 
[2026-09-07 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-07 12: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-07 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 12:26: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-07 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-07 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-07 12:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923594496001,"66":12580,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923594496001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:26:52] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923594496001,"power":12580,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:26:52] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:26:52] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:27:22] local.INFO: TCP Data received {"connection_id":176088,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa6b9b0012ced9f80072d18680046005e33..."} 
[2026-09-07 12:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa6b9b0012ced9f80072d18680046005e33..."} 
[2026-09-07 12:27:22] local.INFO: Processing buffer {"connection_id":176088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa6b9b0012ced9f80072d18680046005e33..."} 
[2026-09-07 12:27:22] local.INFO: Packet analysis {"connection_id":176088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:22] local.INFO: Extracted packet for processing {"connection_id":176088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":753770368,"raw_latitude":120395880,"longitude_deg":75.3770368,"latitude_deg":12.039588,"altitude":70,"angle":94,"satellites":51,"speed":19,"hex_longitude":"2ced9f80","hex_latitude":"072d1868","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923619328001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401276672751435776,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1326380428183316480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764142000,"timestamp_ms":1788764142000,"timestamp_seconds":1788764142,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa6b9b0"} 
[2026-09-07 12: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-07 12:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:27:22] 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-07 12: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-07 12: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-07 12:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:27: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-07 12:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923619328001,"66":27876,"229":206,"83":44032,"24":19,"16":401276672751435776,"44":-1326380428183316480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923619328001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:27:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401276672751435776,"km_value":401276672751435.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1326380428183316480,"description":"Unknown IO ID 44"} 
[2026-09-07 12:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923619328001,"power":27876,"unknown_229":206,"unknown_83":44032,"ignition":19,"odometer":null,"unknown_44":-1326380428183316480}} 
[2026-09-07 12:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":176088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:27:22] local.INFO: GPS data processed {"connection_id":176088,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:27:22] local.INFO: Acknowledgment sent {"connection_id":176088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:27:28] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa5d338012d1c118007239228002300b02b..."} 
[2026-09-07 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa5d338012d1c118007239228002300b02b..."} 
[2026-09-07 12:27:28] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa5d338012d1c118007239228002300b02b..."} 
[2026-09-07 12:27:28] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:27:28] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa5"} 
[2026-09-07 12:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":43,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923599872001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:28] 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-07 12:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788764083000,"timestamp_ms":1788764083000,"timestamp_seconds":1788764083,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa5d338"} 
[2026-09-07 12:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:27:28] 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-07 12:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-07 12:27:28] 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-07 12:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923599872001,"66":12461,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923599872001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923599872001,"power":12461,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:27:28] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:27:28] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:27:41] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:41] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:41] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:27:45] local.INFO: TCP Data received {"connection_id":174725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:45] local.INFO: Processing buffer {"connection_id":174725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:45] local.INFO: IMEI packet received {"connection_id":174725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":174725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:27:46] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:46] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:27:46] local.INFO: IMEI packet received {"connection_id":173372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:27:46] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa62540012d1c118007239228002300b026..."} 
[2026-09-07 12:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa62540012d1c118007239228002300b026..."} 
[2026-09-07 12:27:46] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa62540012d1c118007239228002300b026..."} 
[2026-09-07 12:27:46] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:46] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923605248001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764104000,"timestamp_ms":1788764104000,"timestamp_seconds":1788764104,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa62540"} 
[2026-09-07 12: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-07 12:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923605248001,"66":12319,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923605248001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:27:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923605248001,"power":12319,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:27:46] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:27:46] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:27:50] local.INFO: TCP Data received {"connection_id":174725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:50] local.INFO: Processing buffer {"connection_id":174725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:27:50] local.INFO: IMEI packet received {"connection_id":174725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":174725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:27:51] local.INFO: TCP Data received {"connection_id":174725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa6f448012cedc3c0072d14b8004400592d..."} 
[2026-09-07 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa6f448012cedc3c0072d14b8004400592d..."} 
[2026-09-07 12:27:51] local.INFO: Processing buffer {"connection_id":174725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa6f448012cedc3c0072d14b8004400592d..."} 
[2026-09-07 12:27:51] local.INFO: Packet analysis {"connection_id":174725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:51] local.INFO: Extracted packet for processing {"connection_id":174725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753779648,"raw_latitude":120394936,"longitude_deg":75.3779648,"latitude_deg":12.0394936,"altitude":68,"angle":89,"satellites":45,"speed":21,"hex_longitude":"2cedc3c0","hex_latitude":"072d14b8","is_valid_coordinates":true} 
[2026-09-07 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923620352001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401277115133067264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324198997113935872,"note":"Value kept but may cause issues"} 
[2026-09-07 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764157000,"timestamp_ms":1788764157000,"timestamp_seconds":1788764157,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa6f448"} 
[2026-09-07 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:27: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-07 12:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:27: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-07 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923620352001,"66":27865,"229":206,"83":44032,"24":21,"16":401277115133067264,"44":-1324198997113935872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923620352001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:27:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401277115133067264,"km_value":401277115133067.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324198997113935872,"description":"Unknown IO ID 44"} 
[2026-09-07 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923620352001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1324198997113935872}} 
[2026-09-07 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":174725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:27:51] local.INFO: GPS data processed {"connection_id":174725,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:27:51] local.INFO: Acknowledgment sent {"connection_id":174725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:28:17] local.INFO: TCP Data received {"connection_id":173373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:17] local.INFO: Processing buffer {"connection_id":173373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:17] local.INFO: IMEI packet received {"connection_id":173373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":173373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:28:17] local.INFO: TCP Data received {"connection_id":173372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa67748012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa67748012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:17] local.INFO: Processing buffer {"connection_id":173372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa67748012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:17] local.INFO: Packet analysis {"connection_id":173372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:28:17] local.INFO: Extracted packet for processing {"connection_id":173372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":45,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923610624001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:17] 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-07 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764125000,"timestamp_ms":1788764125000,"timestamp_seconds":1788764125,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa67748"} 
[2026-09-07 12: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-07 12:28:17] 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-07 12: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 12:28:17] 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-07 12: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-07 12: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-07 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923610624001,"66":12341,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923610624001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:28:17] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923610624001,"power":12341,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":173372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:28:18] local.INFO: GPS data processed {"connection_id":173372,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:28:18] local.INFO: Acknowledgment sent {"connection_id":173372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:28:22] local.INFO: TCP Data received {"connection_id":174725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa707d0012cedcdc0072d1548004400442b..."} 
[2026-09-07 12:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa707d0012cedcdc0072d1548004400442b..."} 
[2026-09-07 12:28:22] local.INFO: Processing buffer {"connection_id":174725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa707d0012cedcdc0072d1548004400442b..."} 
[2026-09-07 12:28:22] local.INFO: Packet analysis {"connection_id":174725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:28:22] local.INFO: Extracted packet for processing {"connection_id":174725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753782208,"raw_latitude":120395080,"longitude_deg":75.3782208,"latitude_deg":12.039508,"altitude":68,"angle":68,"satellites":43,"speed":17,"hex_longitude":"2cedcdc0","hex_latitude":"072d1548","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923624192001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401277235392151552,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1313995529208416256,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764162000,"timestamp_ms":1788764162000,"timestamp_seconds":1788764162,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa707d0"} 
[2026-09-07 12: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-07 12:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12: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-07 12: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-07 12:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:28: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-07 12:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923624192001,"66":27865,"229":206,"83":44032,"24":17,"16":401277235392151552,"44":-1313995529208416256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923624192001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:28:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401277235392151552,"km_value":401277235392151.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1313995529208416256,"description":"Unknown IO ID 44"} 
[2026-09-07 12:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923624192001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1313995529208416256}} 
[2026-09-07 12:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":174725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:28:22] local.INFO: GPS data processed {"connection_id":174725,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:28:22] local.INFO: Acknowledgment sent {"connection_id":174725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:28:40] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:40] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:40] local.INFO: IMEI packet received {"connection_id":173374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":173374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:28:45] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:45] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:45] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:28:46] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:46] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:28:46] local.INFO: IMEI packet received {"connection_id":173374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":173374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:28:46] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa6c950012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa6c950012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:46] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa6c950012d1c118007239228002300b02d..."} 
[2026-09-07 12:28:46] local.INFO: Packet analysis {"connection_id":173374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:28:46] local.INFO: Extracted packet for processing {"connection_id":173374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa6"} 
[2026-09-07 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":45,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923616000001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764146000,"timestamp_ms":1788764146000,"timestamp_seconds":1788764146,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa6c950"} 
[2026-09-07 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 12:28:46] 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-07 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923616000001,"66":12298,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923616000001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:28:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923616000001,"power":12298,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":173374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:28:46] local.INFO: GPS data processed {"connection_id":173374,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:28:46] local.INFO: Acknowledgment sent {"connection_id":173374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:28:47] local.INFO: TCP Data received {"connection_id":173375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:47] local.INFO: Processing buffer {"connection_id":173375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:28:47] local.INFO: IMEI packet received {"connection_id":173375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":173375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:28:50] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:50] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:28:50] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:28:51] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa70bb8012cedcf40072d1608004400382d..."} 
[2026-09-07 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa70bb8012cedcf40072d1608004400382d..."} 
[2026-09-07 12:28:51] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa70bb8012cedcf40072d1608004400382d..."} 
[2026-09-07 12:28:51] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:28:51] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":753782592,"raw_latitude":120395272,"longitude_deg":75.3782592,"latitude_deg":12.0395272,"altitude":68,"angle":56,"satellites":45,"speed":16,"hex_longitude":"2cedcf40","hex_latitude":"072d1608","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923625472001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401277256866988032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1311180779441272832,"note":"Value kept but may cause issues"} 
[2026-09-07 12:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764163000,"timestamp_ms":1788764163000,"timestamp_seconds":1788764163,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa70bb8"} 
[2026-09-07 12: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-07 12:28: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-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:28: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-07 12:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923625472001,"66":27865,"229":206,"83":44032,"24":16,"16":401277256866988032,"44":-1311180779441272832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923625472001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:28:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401277256866988032,"km_value":401277256866988.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1311180779441272832,"description":"Unknown IO ID 44"} 
[2026-09-07 12:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923625472001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1311180779441272832}} 
[2026-09-07 12:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:28:51] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:28:51] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:29:18] local.INFO: TCP Data received {"connection_id":173374,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa71b58012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa71b58012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:18] local.INFO: Processing buffer {"connection_id":173374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa71b58012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:18] local.INFO: Packet analysis {"connection_id":173374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:29:18] local.INFO: Extracted packet for processing {"connection_id":173374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":43,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923621376001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] 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-07 12:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788764167000,"timestamp_ms":1788764167000,"timestamp_seconds":1788764167,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa71b58"} 
[2026-09-07 12:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:29:18] 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-07 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185665,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-5764607523034234879,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8837341304022965265,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":128,"raw_value":514415482949009584,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":49583576366186496,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3617517282943566030,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2776707073,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2147951506,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366698,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,176,83,24,241,157,16,7,160,119,45,128,146,35,10,66,37,38,211,1,240,173,227,122,4,113,205,47,17,40,239,49,2,65,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-09-07 12:29:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522209498647494656,"timestamp_seconds":2522209498647494.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 12:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923621376001,"66":12287,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923621376001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:29:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923621376001,"power":12287,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":173374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:29:18] local.INFO: GPS data processed {"connection_id":173374,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:29:18] local.INFO: Acknowledgment sent {"connection_id":173374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:29:23] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa96548012cede080072e0a18004800172e..."} 
[2026-09-07 12:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa96548012cede080072e0a18004800172e..."} 
[2026-09-07 12:29:23] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa96548012cede080072e0a18004800172e..."} 
[2026-09-07 12:29:23] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:29:23] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":753787008,"raw_latitude":120457752,"longitude_deg":75.3787008,"latitude_deg":12.0457752,"altitude":72,"angle":23,"satellites":46,"speed":11,"hex_longitude":"2cede080","hex_latitude":"072e0a18","is_valid_coordinates":true} 
[2026-09-07 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-07 12:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923664896001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401280486682394624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305973492356149248,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788764317000,"timestamp_ms":1788764317000,"timestamp_seconds":1788764317,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa96548"} 
[2026-09-07 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-07 12:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 12:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:29:23] 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-07 12:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923664896001,"66":27691,"229":206,"83":44032,"24":11,"16":401280486682394624,"44":-1305973492356149248},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923664896001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:29:23] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401280486682394624,"km_value":401280486682394.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305973492356149248,"description":"Unknown IO ID 44"} 
[2026-09-07 12:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923664896001,"power":27691,"unknown_229":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1305973492356149248}} 
[2026-09-07 12:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:29:23] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:29:23] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:29:40] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:40] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:40] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:29:46] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:46] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:29:46] local.INFO: IMEI packet received {"connection_id":174726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:29:46] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa76d60012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa76d60012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:46] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa76d60012d1c118007239228002300b02b..."} 
[2026-09-07 12:29:46] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:29:46] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":43,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923626752001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764188000,"timestamp_ms":1788764188000,"timestamp_seconds":1788764188,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa76d60"} 
[2026-09-07 12: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-07 12:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 12:29:46] 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-07 12: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-07 12: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-07 12:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923626752001,"66":12287,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923626752001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:29:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923626752001,"power":12287,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:29:47] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:29:47] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:30:18] local.INFO: TCP Data received {"connection_id":174726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa7bf68012d1c118007239228002300b029..."} 
[2026-09-07 12:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa7bf68012d1c118007239228002300b029..."} 
[2026-09-07 12:30:18] local.INFO: Processing buffer {"connection_id":174726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa7bf68012d1c118007239228002300b029..."} 
[2026-09-07 12:30:18] local.INFO: Packet analysis {"connection_id":174726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:30:18] local.INFO: Extracted packet for processing {"connection_id":174726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa7"} 
[2026-09-07 12:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923632128001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:18] 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-07 12:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788764209000,"timestamp_ms":1788764209000,"timestamp_seconds":1788764209,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa7bf68"} 
[2026-09-07 12:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:30:18] 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-07 12:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 12:30:18] 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-07 12:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923632128001,"66":12265,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923632128001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:30:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923632128001,"power":12265,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":174726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:30:18] local.INFO: GPS data processed {"connection_id":174726,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:30:18] local.INFO: Acknowledgment sent {"connection_id":174726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:30:40] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:40] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:40] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:30:46] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:46] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:30:46] local.INFO: IMEI packet received {"connection_id":176091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":176091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:30:46] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa81170012d1c118007239228002300b02a..."} 
[2026-09-07 12:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa81170012d1c118007239228002300b02a..."} 
[2026-09-07 12:30:46] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa81170012d1c118007239228002300b02a..."} 
[2026-09-07 12:30:46] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:30:46] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923637504001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764230000,"timestamp_ms":1788764230000,"timestamp_seconds":1788764230,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa81170"} 
[2026-09-07 12: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-07 12:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-07 12:30:46] 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-07 12:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12: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-07 12:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923637504001,"66":12319,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923637504001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:30:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923637504001,"power":12319,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:30:47] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:30:47] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:30:55] local.INFO: TCP Data received {"connection_id":174727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:30:55] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:30:55] local.INFO: IMEI packet received {"connection_id":174727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":174727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:31:00] local.INFO: TCP Data received {"connection_id":174727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:00] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:00] local.INFO: IMEI packet received {"connection_id":174727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":174727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:31:01] local.INFO: TCP Data received {"connection_id":174727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa96930012cede100072e0b000048002f2e..."} 
[2026-09-07 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa96930012cede100072e0b000048002f2e..."} 
[2026-09-07 12:31:01] local.INFO: Processing buffer {"connection_id":174727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa96930012cede100072e0b000048002f2e..."} 
[2026-09-07 12:31:01] local.INFO: Packet analysis {"connection_id":174727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:31:01] local.INFO: Extracted packet for processing {"connection_id":174727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":753787136,"raw_latitude":120457984,"longitude_deg":75.3787136,"latitude_deg":12.0457984,"altitude":72,"angle":47,"satellites":46,"speed":11,"hex_longitude":"2cede100","hex_latitude":"072e0b00","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923665152001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401280499567296512,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305903123611904000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788764318000,"timestamp_ms":1788764318000,"timestamp_seconds":1788764318,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa96930"} 
[2026-09-07 12: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-07 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 12:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:31:01] 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-07 12:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923665152001,"66":27669,"229":206,"83":44032,"24":11,"16":401280499567296512,"44":-1305903123611904000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923665152001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:31:01] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401280499567296512,"km_value":401280499567296.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305903123611904000,"description":"Unknown IO ID 44"} 
[2026-09-07 12:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923665152001,"power":27669,"unknown_229":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1305903123611904000}} 
[2026-09-07 12:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":174727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:31:01] local.INFO: GPS data processed {"connection_id":174727,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:31:01] local.INFO: Acknowledgment sent {"connection_id":174727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:31:17] local.INFO: TCP Data received {"connection_id":176091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa86378012d1c118007239228002300b026..."} 
[2026-09-07 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa86378012d1c118007239228002300b026..."} 
[2026-09-07 12:31:17] local.INFO: Processing buffer {"connection_id":176091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa86378012d1c118007239228002300b026..."} 
[2026-09-07 12:31:17] local.INFO: Packet analysis {"connection_id":176091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:31:17] local.INFO: Extracted packet for processing {"connection_id":176091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 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-07 12:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923642880001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764251000,"timestamp_ms":1788764251000,"timestamp_seconds":1788764251,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa86378"} 
[2026-09-07 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-07 12:31:17] 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-07 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 12:31:17] 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-07 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-07 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-07 12:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923642880001,"66":12428,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923642880001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:31:18] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923642880001,"power":12428,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:31:18] local.INFO: GPS data processed {"connection_id":176091,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:31:18] local.INFO: Acknowledgment sent {"connection_id":176091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:31:40] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:40] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:40] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:31:45] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:45] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:45] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:31:46] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:46] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:31:46] local.INFO: IMEI packet received {"connection_id":173377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":173377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:31:47] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa8b580012d1c118007239228002300b028..."} 
[2026-09-07 12:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa8b580012d1c118007239228002300b028..."} 
[2026-09-07 12:31:47] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa8b580012d1c118007239228002300b028..."} 
[2026-09-07 12:31:47] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:31:47] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa8"} 
[2026-09-07 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":40,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923648256001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788764272000,"timestamp_ms":1788764272000,"timestamp_seconds":1788764272,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa8b580"} 
[2026-09-07 12: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-07 12:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 12:31:47] 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-07 12: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-07 12: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-07 12:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923648256001,"66":12428,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923648256001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:31:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923648256001,"power":12428,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:31:47] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:31:47] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:31:50] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:50] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:31:50] local.INFO: IMEI packet received {"connection_id":173378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:31:51] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa96d18012cede240072e0ba00048004131..."} 
[2026-09-07 12:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa96d18012cede240072e0ba00048004131..."} 
[2026-09-07 12:31:51] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa96d18012cede240072e0ba00048004131..."} 
[2026-09-07 12:31:51] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:31:51] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:31:51] local.INFO: GPS Element Parsed {"raw_longitude":753787456,"raw_latitude":120458144,"longitude_deg":75.3787456,"latitude_deg":12.0458144,"altitude":72,"angle":65,"satellites":49,"speed":15,"hex_longitude":"2cede240","hex_latitude":"072e0ba0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923665408001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401280516747165696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305762386123489280,"note":"Value kept but may cause issues"} 
[2026-09-07 12:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764319000,"timestamp_ms":1788764319000,"timestamp_seconds":1788764319,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa96d18"} 
[2026-09-07 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-07 12:31: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-07 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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 12:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:31: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-07 12:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923665408001,"66":27669,"229":206,"83":44032,"24":15,"16":401280516747165696,"44":-1305762386123489280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923665408001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:31:51] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401280516747165696,"km_value":401280516747165.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305762386123489280,"description":"Unknown IO ID 44"} 
[2026-09-07 12:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923665408001,"power":27669,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1305762386123489280}} 
[2026-09-07 12:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:31:51] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:31:51] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:32:19] local.INFO: TCP Data received {"connection_id":173377,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa90788012d1c118007239228002300b027..."} 
[2026-09-07 12:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa90788012d1c118007239228002300b027..."} 
[2026-09-07 12:32:19] local.INFO: Processing buffer {"connection_id":173377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa90788012d1c118007239228002300b027..."} 
[2026-09-07 12:32:19] local.INFO: Packet analysis {"connection_id":173377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:19] local.INFO: Extracted packet for processing {"connection_id":173377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":39,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 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-07 12:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923653632001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788764293000,"timestamp_ms":1788764293000,"timestamp_seconds":1788764293,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa90788"} 
[2026-09-07 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-07 12:32:19] 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-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 12:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923653632001,"66":12428,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923653632001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:32:19] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:32:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923653632001,"power":12428,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":173377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:32:19] local.INFO: GPS data processed {"connection_id":173377,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:32:19] local.INFO: Acknowledgment sent {"connection_id":173377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:32:22] local.INFO: TCP Data received {"connection_id":173378,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa99fe0012cee0740072e18b80043004730..."} 
[2026-09-07 12:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa99fe0012cee0740072e18b80043004730..."} 
[2026-09-07 12:32:22] local.INFO: Processing buffer {"connection_id":173378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa99fe0012cee0740072e18b80043004730..."} 
[2026-09-07 12:32:22] local.INFO: Packet analysis {"connection_id":173378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:22] local.INFO: Extracted packet for processing {"connection_id":173378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":753796928,"raw_latitude":120461496,"longitude_deg":75.3796928,"latitude_deg":12.0461496,"altitude":67,"angle":71,"satellites":48,"speed":42,"hex_longitude":"2cee0740","hex_latitude":"072e18b8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923665664001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401280993488535552,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305410542402560000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764332000,"timestamp_ms":1788764332000,"timestamp_seconds":1788764332,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa99fe0"} 
[2026-09-07 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-07 12:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 12:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:32: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-07 12:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923665664001,"66":27930,"199":206,"83":44032,"24":42,"16":401280993488535552,"44":-1305410542402560000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923665664001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:32:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401280993488535552,"km_value":401280993488535.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305410542402560000,"description":"Unknown IO ID 44"} 
[2026-09-07 12:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923665664001,"power":27930,"trip_odometer":0.206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1305410542402560000}} 
[2026-09-07 12:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":173378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:32:22] local.INFO: GPS data processed {"connection_id":173378,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:32:22] local.INFO: Acknowledgment sent {"connection_id":173378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:32:40] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:40] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:40] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:32:42] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:42] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:42] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:32:45] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:45] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:45] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:32:45] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:45] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:32:45] local.INFO: IMEI packet received {"connection_id":176092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:32:46] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa95990012d1c118007239228002300b029..."} 
[2026-09-07 12:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa95990012d1c118007239228002300b029..."} 
[2026-09-07 12:32:46] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa95990012d1c118007239228002300b029..."} 
[2026-09-07 12:32:46] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:46] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":41,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923659008001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764314000,"timestamp_ms":1788764314000,"timestamp_seconds":1788764314,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa95990"} 
[2026-09-07 12: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-07 12:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 12:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923659008001,"66":12428,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923659008001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:32:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923659008001,"power":12428,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:32:46] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:32:46] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:32:50] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:50] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:32:50] local.INFO: IMEI packet received {"connection_id":173379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":173379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:32:51] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9bf20012cee2940072e25980040004331..."} 
[2026-09-07 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9bf20012cee2940072e25980040004331..."} 
[2026-09-07 12:32:51] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9bf20012cee2940072e25980040004331..."} 
[2026-09-07 12:32:51] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:51] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":753805632,"raw_latitude":120464792,"longitude_deg":75.3805632,"latitude_deg":12.0464792,"altitude":64,"angle":67,"satellites":49,"speed":45,"hex_longitude":"2cee2940","hex_latitude":"072e2598","is_valid_coordinates":true} 
[2026-09-07 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-07 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923668992001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281435870167040,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1294995968263407616,"note":"Value kept but may cause issues"} 
[2026-09-07 12:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764340000,"timestamp_ms":1788764340000,"timestamp_seconds":1788764340,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9bf20"} 
[2026-09-07 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-07 12:32: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-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:32:51] 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-07 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-07 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-07 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:32: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-07 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923668992001,"66":27876,"199":206,"83":44032,"24":45,"16":401281435870167040,"44":-1294995968263407616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923668992001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:32:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281435870167040,"km_value":401281435870167.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1294995968263407616,"description":"Unknown IO ID 44"} 
[2026-09-07 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923668992001,"power":27876,"trip_odometer":0.206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1294995968263407616}} 
[2026-09-07 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:32:51] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:32:51] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:33:17] local.INFO: TCP Data received {"connection_id":176092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9ab98012d1c118007239228002300b02a..."} 
[2026-09-07 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9ab98012d1c118007239228002300b02a..."} 
[2026-09-07 12:33:17] local.INFO: Processing buffer {"connection_id":176092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9ab98012d1c118007239228002300b02a..."} 
[2026-09-07 12:33:17] local.INFO: Packet analysis {"connection_id":176092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:17] local.INFO: Extracted packet for processing {"connection_id":176092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923664384001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764335000,"timestamp_ms":1788764335000,"timestamp_seconds":1788764335,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9ab98"} 
[2026-09-07 12: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-07 12:33:17] 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-07 12: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 12:33:17] 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-07 12: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-07 12: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-07 12:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923664384001,"66":12428,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923664384001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:33:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923664384001,"power":12428,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":176092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:33:17] local.INFO: GPS data processed {"connection_id":176092,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:33:17] local.INFO: Acknowledgment sent {"connection_id":176092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:33:22] local.INFO: TCP Data received {"connection_id":173379,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9cad8012cee3640072e2948003e00512f..."} 
[2026-09-07 12:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9cad8012cee3640072e2948003e00512f..."} 
[2026-09-07 12:33:22] local.INFO: Processing buffer {"connection_id":173379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9cad8012cee3640072e2948003e00512f..."} 
[2026-09-07 12:33:22] local.INFO: Packet analysis {"connection_id":173379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:22] local.INFO: Extracted packet for processing {"connection_id":173379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:22] local.INFO: GPS Element Parsed {"raw_longitude":753808960,"raw_latitude":120465736,"longitude_deg":75.380896,"latitude_deg":12.0465736,"altitude":62,"angle":81,"satellites":47,"speed":48,"hex_longitude":"2cee3640","hex_latitude":"072e2948","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923671040001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281603373891584,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1285425819054401536,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764343000,"timestamp_ms":1788764343000,"timestamp_seconds":1788764343,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9cad8"} 
[2026-09-07 12: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-07 12:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:33: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-07 12: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-07 12: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-07 12:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:33: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-07 12:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923671040001,"66":27821,"199":206,"83":44032,"24":48,"16":401281603373891584,"44":-1285425819054401536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923671040001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:33:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281603373891584,"km_value":401281603373891.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1285425819054401536,"description":"Unknown IO ID 44"} 
[2026-09-07 12:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923671040001,"power":27821,"trip_odometer":0.206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1285425819054401536}} 
[2026-09-07 12:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":173379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:33:22] local.INFO: GPS data processed {"connection_id":173379,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:33:22] local.INFO: Acknowledgment sent {"connection_id":173379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:33:44] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:44] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:44] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:33:45] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:33:45] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:45] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:33:50] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:50] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:33:50] local.INFO: IMEI packet received {"connection_id":176093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":176093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:33:50] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:50] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:33:50] local.INFO: IMEI packet received {"connection_id":174729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":174729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:33:51] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:33:51] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:33:51] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:51] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":753813632,"raw_latitude":120466872,"longitude_deg":75.3813632,"latitude_deg":12.0466872,"altitude":60,"angle":68,"satellites":44,"speed":43,"hex_longitude":"2cee4880","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923671808001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1281766644356921344,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764347000,"timestamp_ms":1788764347000,"timestamp_seconds":1788764347,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9da78"} 
[2026-09-07 12: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-07 12:33: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-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:33: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-07 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923671808001,"66":27930,"199":206,"83":44032,"24":43,"16":401281831007158272,"44":-1281766644356921344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923671808001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:33:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1281766644356921344,"description":"Unknown IO ID 44"} 
[2026-09-07 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923671808001,"power":27930,"trip_odometer":0.206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1281766644356921344}} 
[2026-09-07 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:33:51] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:33:51] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:33:51] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aad31f0012d1c118007239228002300b024..."} 
[2026-09-07 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aad31f0012d1c118007239228002300b024..."} 
[2026-09-07 12:33:51] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aad31f0012d1c118007239228002300b024..."} 
[2026-09-07 12:33:51] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:33:51] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":36,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923723520001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764566000,"timestamp_ms":1788764566000,"timestamp_seconds":1788764566,"priority":1,"record_length":96,"hex_timestamp":"000001a07aad31f0"} 
[2026-09-07 12: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-07 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 12:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923723520001,"66":13906,"197":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-09-07 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923723520001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923723520001,"power":13906,"unknown_197":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:33:51] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:33:51] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:33:52] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:33:52] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:33:52] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:34:22] local.INFO: TCP Data received {"connection_id":174729,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:34:22] local.INFO: Processing buffer {"connection_id":174729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9da78012cee4880072e2db8003c00442c..."} 
[2026-09-07 12:34:22] local.INFO: Packet analysis {"connection_id":174729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:34:22] local.INFO: Extracted packet for processing {"connection_id":174729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":753813632,"raw_latitude":120466872,"longitude_deg":75.3813632,"latitude_deg":12.0466872,"altitude":60,"angle":68,"satellites":44,"speed":43,"hex_longitude":"2cee4880","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923672832001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276629726031661056,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764347000,"timestamp_ms":1788764347000,"timestamp_seconds":1788764347,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9da78"} 
[2026-09-07 12: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-07 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:34: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-07 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923672832001,"66":27930,"199":206,"83":44032,"24":43,"16":401281831007158272,"44":-1276629726031661056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923672832001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:34:22] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276629726031661056,"description":"Unknown IO ID 44"} 
[2026-09-07 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923672832001,"power":27930,"trip_odometer":0.206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1276629726031661056}} 
[2026-09-07 12:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":174729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:34:22] local.INFO: GPS data processed {"connection_id":174729,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:34:22] local.INFO: Acknowledgment sent {"connection_id":174729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:34:23] local.INFO: TCP Data received {"connection_id":176093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aad83f8012d1c118007239228002300b027..."} 
[2026-09-07 12:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aad83f8012d1c118007239228002300b027..."} 
[2026-09-07 12:34:23] local.INFO: Processing buffer {"connection_id":176093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aad83f8012d1c118007239228002300b027..."} 
[2026-09-07 12:34:23] local.INFO: Packet analysis {"connection_id":176093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:34:23] local.INFO: Extracted packet for processing {"connection_id":176093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756814208,"raw_latitude":119771688,"longitude_deg":75.6814208,"latitude_deg":11.9771688,"altitude":35,"angle":176,"satellites":39,"speed":0,"hex_longitude":"2d1c1180","hex_latitude":"07239228","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923728896001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304325981831168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34: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-07 12:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788764587000,"timestamp_ms":1788764587000,"timestamp_seconds":1788764587,"priority":1,"record_length":96,"hex_timestamp":"000001a07aad83f8"} 
[2026-09-07 12: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-07 12: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-07 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 12:34:23] 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-07 12: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-07 12: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-07 12:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923728896001,"66":13939,"176":206,"83":42752,"24":0,"16":18304325981831168,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923728896001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:34:23] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304325981831168,"km_value":18304325981831.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923728896001,"power":13939,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":176093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:34:23] local.INFO: GPS data processed {"connection_id":176093,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:34:23] local.INFO: Acknowledgment sent {"connection_id":176093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:34:38] local.INFO: TCP Data received {"connection_id":174730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:38] local.INFO: Processing buffer {"connection_id":174730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:38] local.INFO: IMEI packet received {"connection_id":174730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":174730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:34:41] local.INFO: TCP Data received {"connection_id":174730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:41] local.INFO: Processing buffer {"connection_id":174730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:41] local.INFO: IMEI packet received {"connection_id":174730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":174730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:34:44] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:44] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:44] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:34:46] local.INFO: TCP Data received {"connection_id":174730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:46] local.INFO: Processing buffer {"connection_id":174730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:34:46] local.INFO: IMEI packet received {"connection_id":174730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":174730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:34:48] local.INFO: TCP Data received {"connection_id":174730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aad9780012d1c1300072391a80022004127..."} 
[2026-09-07 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aad9780012d1c1300072391a80022004127..."} 
[2026-09-07 12:34:48] local.INFO: Processing buffer {"connection_id":174730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aad9780012d1c1300072391a80022004127..."} 
[2026-09-07 12:34:48] local.INFO: Packet analysis {"connection_id":174730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:34:48] local.INFO: Extracted packet for processing {"connection_id":174730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756814592,"raw_latitude":119771560,"longitude_deg":75.6814592,"latitude_deg":11.977156,"altitude":34,"angle":65,"satellites":39,"speed":1,"hex_longitude":"2d1c1300","hex_latitude":"072391a8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923734272001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304343161700352,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022538475815970816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:48] 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-07 12:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788764592000,"timestamp_ms":1788764592000,"timestamp_seconds":1788764592,"priority":1,"record_length":96,"hex_timestamp":"000001a07aad9780"} 
[2026-09-07 12: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-07 12:34:48] 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-07 12: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-07 12:34:48] 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-07 12: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-07 12: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-07 12:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923734272001,"66":13928,"176":206,"83":42752,"24":1,"16":18304343161700352,"45":2022538475815970816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923734272001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:34:48] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304343161700352,"km_value":18304343161700.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022538475815970816,"description":"Unknown IO ID 45"} 
[2026-09-07 12:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923734272001,"power":13928,"unknown_176":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":2022538475815970816}} 
[2026-09-07 12:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":174730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:34:48] local.INFO: GPS data processed {"connection_id":174730,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:34:48] local.INFO: Acknowledgment sent {"connection_id":174730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:34:50] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:50] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:34:50] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:34:51] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aa9ee00012cee59c0072e3540003a00502e..."} 
[2026-09-07 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aa9ee00012cee59c0072e3540003a00502e..."} 
[2026-09-07 12:34:51] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aa9ee00012cee59c0072e3540003a00502e..."} 
[2026-09-07 12:34:51] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:34:51] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aa9"} 
[2026-09-07 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":753818048,"raw_latitude":120468800,"longitude_deg":75.3818048,"latitude_deg":12.04688,"altitude":58,"angle":80,"satellites":46,"speed":34,"hex_longitude":"2cee59c0","hex_latitude":"072e3540","is_valid_coordinates":true} 
[2026-09-07 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923672832001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1276629726031661056,"note":"Value kept but may cause issues"} 
[2026-09-07 12:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764352000,"timestamp_ms":1788764352000,"timestamp_seconds":1788764352,"priority":1,"record_length":96,"hex_timestamp":"000001a07aa9ee00"} 
[2026-09-07 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:34:51] 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-07 12:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:34: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-07 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923672832001,"66":27213,"199":206,"83":44032,"24":34,"16":401281831007158272,"44":-1276629726031661056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,83,24,16,44]} 
[2026-09-07 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923672832001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:34:51] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 12:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1276629726031661056,"description":"Unknown IO ID 44"} 
[2026-09-07 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923672832001,"power":27213,"trip_odometer":0.206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1276629726031661056}} 
[2026-09-07 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:34:51] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:34:51] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:35:20] local.INFO: TCP Data received {"connection_id":174730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aad9f50012d1c1340072391d80023003527..."} 
[2026-09-07 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aad9f50012d1c1340072391d80023003527..."} 
[2026-09-07 12:35:20] local.INFO: Processing buffer {"connection_id":174730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aad9f50012d1c1340072391d80023003527..."} 
[2026-09-07 12:35:20] local.INFO: Packet analysis {"connection_id":174730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:35:20] local.INFO: Extracted packet for processing {"connection_id":174730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756814656,"raw_latitude":119771608,"longitude_deg":75.6814656,"latitude_deg":11.9771608,"altitude":35,"angle":53,"satellites":39,"speed":1,"hex_longitude":"2d1c1340","hex_latitude":"072391d8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923735552001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304351751634944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2022960688281004032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:20] 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-07 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788764594000,"timestamp_ms":1788764594000,"timestamp_seconds":1788764594,"priority":1,"record_length":96,"hex_timestamp":"000001a07aad9f50"} 
[2026-09-07 12: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-07 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:35:20] 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-07 12: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-07 12: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-07 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923735552001,"66":13961,"176":206,"83":42752,"24":1,"16":18304351751634944,"45":2022960688281004032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923735552001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:35:20] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304351751634944,"km_value":18304351751634.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2022960688281004032,"description":"Unknown IO ID 45"} 
[2026-09-07 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923735552001,"power":13961,"unknown_176":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":2022960688281004032}} 
[2026-09-07 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:35:20] local.INFO: GPS data processed {"connection_id":174730,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:35:20] local.INFO: Acknowledgment sent {"connection_id":174730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:35:22] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:22] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:22] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:35:22] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923674112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682908672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764653000,"timestamp_ms":1788764653000,"timestamp_seconds":1788764653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae85c8"} 
[2026-09-07 12: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-07 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 12: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 12:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:35: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-07 12:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923674112001,"66":26539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1271774282682908672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923674112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:35:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682908672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923674112001,"power":26539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271774282682908672}} 
[2026-09-07 12:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:35:22] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:35:22] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:35:41] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:41] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:41] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:35:45] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:45] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:45] local.INFO: IMEI packet received {"connection_id":173610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":173610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:35:46] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:46] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:35:46] local.INFO: IMEI packet received {"connection_id":173380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":173380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:35:47] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aadf158012d1c1380072392300023003028..."} 
[2026-09-07 12:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aadf158012d1c1380072392300023003028..."} 
[2026-09-07 12:35:47] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aadf158012d1c1380072392300023003028..."} 
[2026-09-07 12:35:47] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:35:47] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aad"} 
[2026-09-07 12:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756814720,"raw_latitude":119771696,"longitude_deg":75.681472,"latitude_deg":11.9771696,"altitude":35,"angle":48,"satellites":40,"speed":0,"hex_longitude":"2d1c1380","hex_latitude":"07239230","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923736064001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304356046602240,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023031057025193984,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788764615000,"timestamp_ms":1788764615000,"timestamp_seconds":1788764615,"priority":1,"record_length":96,"hex_timestamp":"000001a07aadf158"} 
[2026-09-07 12: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-07 12:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 12:35:47] 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-07 12: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-07 12: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-07 12:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923736064001,"66":14048,"176":206,"83":42752,"24":0,"16":18304356046602240,"45":2023031057025193984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923736064001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:35:47] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304356046602240,"km_value":18304356046602.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023031057025193984,"description":"Unknown IO ID 45"} 
[2026-09-07 12:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923736064001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":2023031057025193984}} 
[2026-09-07 12:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:35:47] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:35:47] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:35:50] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:50] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:35:50] local.INFO: IMEI packet received {"connection_id":173610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:35:51] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:51] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:35:51] local.INFO: Packet analysis {"connection_id":173610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:35:51] local.INFO: Extracted packet for processing {"connection_id":173610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923674112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682908672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764653000,"timestamp_ms":1788764653000,"timestamp_seconds":1788764653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae85c8"} 
[2026-09-07 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-07 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 12:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:35: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-07 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923674112001,"66":26539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1271774282682908672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923674112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:35:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682908672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923674112001,"power":26539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271774282682908672}} 
[2026-09-07 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":173610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:35:51] local.INFO: GPS data processed {"connection_id":173610,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:35:51] local.INFO: Acknowledgment sent {"connection_id":173610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:36:18] local.INFO: TCP Data received {"connection_id":173380,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae37a8012d1c134007239468002501442c..."} 
[2026-09-07 12:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae37a8012d1c134007239468002501442c..."} 
[2026-09-07 12:36:18] local.INFO: Processing buffer {"connection_id":173380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae37a8012d1c134007239468002501442c..."} 
[2026-09-07 12:36:18] local.INFO: Packet analysis {"connection_id":173380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:18] local.INFO: Extracted packet for processing {"connection_id":173380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756814656,"raw_latitude":119772264,"longitude_deg":75.6814656,"latitude_deg":11.9772264,"altitude":37,"angle":324,"satellites":44,"speed":4,"hex_longitude":"2d1c1340","hex_latitude":"07239468","is_valid_coordinates":true} 
[2026-09-07 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923741440001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304386111373312,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023101425769394176,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:18] 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-07 12:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788764633000,"timestamp_ms":1788764633000,"timestamp_seconds":1788764633,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae37a8"} 
[2026-09-07 12:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:36:18] 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-07 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 12:36:18] 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-07 12:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923741440001,"66":14048,"176":206,"83":42752,"24":4,"16":18304386111373312,"45":2023101425769394176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923741440001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:36:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304386111373312,"km_value":18304386111373.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023101425769394176,"description":"Unknown IO ID 45"} 
[2026-09-07 12:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923741440001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":2023101425769394176}} 
[2026-09-07 12:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":173380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:36:18] local.INFO: GPS data processed {"connection_id":173380,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:36:18] local.INFO: Acknowledgment sent {"connection_id":173380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:36:22] local.INFO: TCP Data received {"connection_id":173610,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:22] local.INFO: Processing buffer {"connection_id":173610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:22] local.INFO: Packet analysis {"connection_id":173610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:22] local.INFO: Extracted packet for processing {"connection_id":173610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923674112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682908672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764653000,"timestamp_ms":1788764653000,"timestamp_seconds":1788764653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae85c8"} 
[2026-09-07 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-07 12:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 12:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:36: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-07 12:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923674112001,"66":26539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1271774282682908672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923674112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:36:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682908672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923674112001,"power":26539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271774282682908672}} 
[2026-09-07 12:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":173610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:36:22] local.INFO: GPS data processed {"connection_id":173610,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:36:22] local.INFO: Acknowledgment sent {"connection_id":173610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:36:41] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:41] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:41] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:36:45] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:45] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:45] local.INFO: IMEI packet received {"connection_id":176097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":176097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:36:45] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:45] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:36:45] local.INFO: IMEI packet received {"connection_id":176096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":176096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:36:46] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae56e8012d1c0ec0072398b8002501392c..."} 
[2026-09-07 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae56e8012d1c0ec0072398b8002501392c..."} 
[2026-09-07 12:36:46] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae56e8012d1c0ec0072398b8002501392c..."} 
[2026-09-07 12:36:46] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:46] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756813504,"raw_latitude":119773368,"longitude_deg":75.6813504,"latitude_deg":11.9773368,"altitude":37,"angle":313,"satellites":44,"speed":12,"hex_longitude":"2d1c0ec0","hex_latitude":"072398b8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923746048001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304463420784640,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2023031057025361920,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764641000,"timestamp_ms":1788764641000,"timestamp_seconds":1788764641,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae56e8"} 
[2026-09-07 12: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-07 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 12:36:46] 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-07 12: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-07 12: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-07 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923746048001,"66":14080,"176":206,"83":42752,"24":12,"16":18304463420784640,"45":2023031057025361920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-07 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923746048001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:36:46] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 12:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304463420784640,"km_value":18304463420784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2023031057025361920,"description":"Unknown IO ID 45"} 
[2026-09-07 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923746048001,"power":14080,"unknown_176":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":2023031057025361920}} 
[2026-09-07 12:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:36:46] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:36:46] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:36:50] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:50] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:36:50] local.INFO: IMEI packet received {"connection_id":176097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":176097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:36:50] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:50] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:36:50] local.INFO: Packet analysis {"connection_id":176097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:50] local.INFO: Extracted packet for processing {"connection_id":176097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923674112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682908672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788764653000,"timestamp_ms":1788764653000,"timestamp_seconds":1788764653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae85c8"} 
[2026-09-07 12: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-07 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 12: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 12:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:36:50] 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-07 12:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923674112001,"66":26539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1271774282682908672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923674112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:36:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682908672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923674112001,"power":26539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271774282682908672}} 
[2026-09-07 12:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":176097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:36:51] local.INFO: GPS data processed {"connection_id":176097,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:36:51] local.INFO: Acknowledgment sent {"connection_id":176097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:37:17] local.INFO: TCP Data received {"connection_id":176096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aaea120012d1bf3c00723b090002601372f..."} 
[2026-09-07 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aaea120012d1bf3c00723b090002601372f..."} 
[2026-09-07 12:37:17] local.INFO: Processing buffer {"connection_id":176096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aaea120012d1bf3c00723b090002601372f..."} 
[2026-09-07 12:37:17] local.INFO: Packet analysis {"connection_id":176096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:17] local.INFO: Extracted packet for processing {"connection_id":176096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756806592,"raw_latitude":119779472,"longitude_deg":75.6806592,"latitude_deg":11.9779472,"altitude":38,"angle":311,"satellites":47,"speed":27,"hex_longitude":"2d1bf3c0","hex_latitude":"0723b090","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923748096001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18304905802416128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2021764419630446592,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] 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-07 12:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764660000,"timestamp_ms":1788764660000,"timestamp_seconds":1788764660,"priority":1,"record_length":96,"hex_timestamp":"000001a07aaea120"} 
[2026-09-07 12: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-07 12:37:17] 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-07 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445998848,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2912387073,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":131,"raw_value":4160826652,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.WARNING: Large IO value detected {"io_id":17,"raw_value":2147951506,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,176,83,24,241,157,16,7,160,55,45,64,148,37,44,10,66,128,146,35,40,159,1,240,137,227,122,4,113,205,131,17,39,239,54,2,65],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-09-07 12:37:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666475315522174976,"timestamp_seconds":2666475315522175.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 12: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-07 12:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923748096001,"66":14113,"136":206,"83":42752,"24":27,"16":18304905802416128,"45":2021764419630446592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923748096001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:37:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18304905802416128,"km_value":18304905802416.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2021764419630446592,"description":"Unknown IO ID 45"} 
[2026-09-07 12:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923748096001,"power":14113,"unknown_136":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":2021764419630446592}} 
[2026-09-07 12:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":176096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:37:17] local.INFO: GPS data processed {"connection_id":176096,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:37:17] local.INFO: Acknowledgment sent {"connection_id":176096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:37:21] local.INFO: TCP Data received {"connection_id":176097,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:37:21] local.INFO: Processing buffer {"connection_id":176097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aae85c8012cee6ec0072e2db8003a005a2d..."} 
[2026-09-07 12:37:21] local.INFO: Packet analysis {"connection_id":176097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:21] local.INFO: Extracted packet for processing {"connection_id":176097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:21] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":45,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923674112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1271774282682908672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788764653000,"timestamp_ms":1788764653000,"timestamp_seconds":1788764653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aae85c8"} 
[2026-09-07 12: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-07 12:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 12:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 12:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:37: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-07 12:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923674112001,"66":26539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1271774282682908672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923674112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:37:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1271774282682908672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923674112001,"power":26539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1271774282682908672}} 
[2026-09-07 12:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":176097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:37:21] local.INFO: GPS data processed {"connection_id":176097,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:37:21] local.INFO: Acknowledgment sent {"connection_id":176097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:37:40] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:40] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:40] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:37:44] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:44] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:44] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:37:45] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:45] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:37:45] local.INFO: IMEI packet received {"connection_id":174732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:37:45] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:45] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:45] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:37:46] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aaed000012d1bd8400723c998002301392d..."} 
[2026-09-07 12:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aaed000012d1bd8400723c998002301392d..."} 
[2026-09-07 12:37:46] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aaed000012d1bd8400723c998002301392d..."} 
[2026-09-07 12:37:46] local.INFO: Packet analysis {"connection_id":174732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:46] local.INFO: Extracted packet for processing {"connection_id":174732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aae"} 
[2026-09-07 12:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756799552,"raw_latitude":119785880,"longitude_deg":75.6799552,"latitude_deg":11.978588,"altitude":35,"angle":313,"satellites":45,"speed":29,"hex_longitude":"2d1bd840","hex_latitude":"0723c998","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923752960001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18305361068949504,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2014164595260821504,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:46] 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-07 12:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764672000,"timestamp_ms":1788764672000,"timestamp_seconds":1788764672,"priority":1,"record_length":96,"hex_timestamp":"000001a07aaed000"} 
[2026-09-07 12: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-07 12:37:46] 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-07 12: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 12:37:46] 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-07 12: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-07 12: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-07 12:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923752960001,"66":14113,"136":206,"83":42752,"24":29,"16":18305361068949504,"45":2014164595260821504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923752960001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:37:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18305361068949504,"km_value":18305361068949.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2014164595260821504,"description":"Unknown IO ID 45"} 
[2026-09-07 12:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923752960001,"power":14113,"unknown_136":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":2014164595260821504}} 
[2026-09-07 12:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":174732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:37:46] local.INFO: GPS data processed {"connection_id":174732,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:37:46] local.INFO: Acknowledgment sent {"connection_id":174732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:37:50] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:50] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:37:50] local.INFO: IMEI packet received {"connection_id":176098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":176098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:37:51] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab121c0012cee6ec0072e2db8003a005a2b..."} 
[2026-09-07 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab121c0012cee6ec0072e2db8003a005a2b..."} 
[2026-09-07 12:37:51] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab121c0012cee6ec0072e2db8003a005a2b..."} 
[2026-09-07 12:37:51] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:37:51] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:37:51] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120466872,"longitude_deg":75.3823424,"latitude_deg":12.0466872,"altitude":58,"angle":90,"satellites":43,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12:37: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-07 12:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923751168001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172478464,"note":"Value kept but may cause issues"} 
[2026-09-07 12:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764824000,"timestamp_ms":1788764824000,"timestamp_seconds":1788764824,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab121c0"} 
[2026-09-07 12: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-07 12:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 12: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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-09-07 12:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:37: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-07 12:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923751168001,"66":26408,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1265863308172478464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923751168001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:37:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:37:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172478464,"description":"Unknown IO ID 44"} 
[2026-09-07 12:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923751168001,"power":26408,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265863308172478464}} 
[2026-09-07 12:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:37:51] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:37:51] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:38:17] local.INFO: TCP Data received {"connection_id":174732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab0eef8012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab0eef8012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:17] local.INFO: Processing buffer {"connection_id":174732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab0eef8012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:17] local.INFO: Packet analysis {"connection_id":174732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab0"} 
[2026-09-07 12:38:17] local.INFO: Extracted packet for processing {"connection_id":174732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab0"} 
[2026-09-07 12:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756769280,"raw_latitude":119821912,"longitude_deg":75.676928,"latitude_deg":11.9821912,"altitude":36,"angle":216,"satellites":31,"speed":0,"hex_longitude":"2d1b6200","hex_latitude":"07245658","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923786240001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307736185864192,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617416108032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:17] 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-07 12:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764811000,"timestamp_ms":1788764811000,"timestamp_seconds":1788764811,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab0eef8"} 
[2026-09-07 12: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-07 12:38:17] 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-07 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923786240001,"66":13972,"136":206,"83":42752,"24":0,"16":18307736185864192,"45":1973139617416108032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923786240001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:38:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307736185864192,"km_value":18307736185864.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617416108032,"description":"Unknown IO ID 45"} 
[2026-09-07 12:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923786240001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1973139617416108032}} 
[2026-09-07 12:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":174732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:38:17] local.INFO: GPS data processed {"connection_id":174732,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:38:17] local.INFO: Acknowledgment sent {"connection_id":174732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:38:22] local.INFO: TCP Data received {"connection_id":176098,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab13160012cee70c0072e2cd0003a011e2a..."} 
[2026-09-07 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab13160012cee70c0072e2cd0003a011e2a..."} 
[2026-09-07 12:38:22] local.INFO: Processing buffer {"connection_id":176098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab13160012cee70c0072e2cd0003a011e2a..."} 
[2026-09-07 12:38:22] local.INFO: Packet analysis {"connection_id":176098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:22] local.INFO: Extracted packet for processing {"connection_id":176098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":753823936,"raw_latitude":120466640,"longitude_deg":75.3823936,"latitude_deg":12.046664,"altitude":58,"angle":286,"satellites":42,"speed":0,"hex_longitude":"2cee70c0","hex_latitude":"072e2cd0","is_valid_coordinates":true} 
[2026-09-07 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923794944001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172478464,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788764828000,"timestamp_ms":1788764828000,"timestamp_seconds":1788764828,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab13160"} 
[2026-09-07 12:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 12:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:22] 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-07 12:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923794944001,"66":27539,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1265863308172478464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923794944001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:38:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172478464,"description":"Unknown IO ID 44"} 
[2026-09-07 12:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923794944001,"power":27539,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265863308172478464}} 
[2026-09-07 12:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":176098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:38:22] local.INFO: GPS data processed {"connection_id":176098,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:38:22] local.INFO: Acknowledgment sent {"connection_id":176098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:38:40] local.INFO: TCP Data received {"connection_id":174733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:40] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:40] local.INFO: IMEI packet received {"connection_id":174733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:38:45] local.INFO: TCP Data received {"connection_id":174733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:45] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:38:45] local.INFO: IMEI packet received {"connection_id":174733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:38:46] local.INFO: TCP Data received {"connection_id":174733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab14100012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab14100012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:46] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab14100012d1b620007245658002400d81f..."} 
[2026-09-07 12:38:46] local.INFO: Packet analysis {"connection_id":174733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:46] local.INFO: Extracted packet for processing {"connection_id":174733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756769280,"raw_latitude":119821912,"longitude_deg":75.676928,"latitude_deg":11.9821912,"altitude":36,"angle":216,"satellites":31,"speed":0,"hex_longitude":"2d1b6200","hex_latitude":"07245658","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923791616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307736185864192,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617416108032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:46] 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-07 12:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788764832000,"timestamp_ms":1788764832000,"timestamp_seconds":1788764832,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab14100"} 
[2026-09-07 12: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-07 12:38:46] 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-07 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 12:38:46] 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-07 12: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-07 12: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-07 12:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923791616001,"66":13939,"136":206,"83":42752,"24":0,"16":18307736185864192,"45":1973139617416108032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923791616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:38:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307736185864192,"km_value":18307736185864.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617416108032,"description":"Unknown IO ID 45"} 
[2026-09-07 12:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923791616001,"power":13939,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1973139617416108032}} 
[2026-09-07 12:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:38:46] local.INFO: GPS data processed {"connection_id":174733,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:38:46] local.INFO: Acknowledgment sent {"connection_id":174733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:38:51] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:51] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:51] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:38:54] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:54] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:38:54] local.INFO: IMEI packet received {"connection_id":173381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":173381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:38:56] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab18368012cee70c0072e2cd0003a011e26..."} 
[2026-09-07 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab18368012cee70c0072e2cd0003a011e26..."} 
[2026-09-07 12:38:56] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab18368012cee70c0072e2cd0003a011e26..."} 
[2026-09-07 12:38:56] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:56] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":753823936,"raw_latitude":120466640,"longitude_deg":75.3823936,"latitude_deg":12.046664,"altitude":58,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2cee70c0","hex_latitude":"072e2cd0","is_valid_coordinates":true} 
[2026-09-07 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923795968001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281831007158272,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265300358219116544,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788764849000,"timestamp_ms":1788764849000,"timestamp_seconds":1788764849,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab18368"} 
[2026-09-07 12:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 12:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:56] 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-07 12:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923795968001,"66":27865,"219":206,"83":44032,"24":0,"16":401281831007158272,"44":-1265300358219116544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 12:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923795968001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:38:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 12:38:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281831007158272,"km_value":401281831007158.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265300358219116544,"description":"Unknown IO ID 44"} 
[2026-09-07 12:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923795968001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1265300358219116544}} 
[2026-09-07 12:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:38:56] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:38:56] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:38:57] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab1d188012cee7240072e2db8003b00092b..."} 
[2026-09-07 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab1d188012cee7240072e2db8003b00092b..."} 
[2026-09-07 12:38:57] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab1d188012cee7240072e2db8003b00092b..."} 
[2026-09-07 12:38:57] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:57] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":753824320,"raw_latitude":120466872,"longitude_deg":75.382432,"latitude_deg":12.0466872,"altitude":59,"angle":9,"satellites":43,"speed":4,"hex_longitude":"2cee7240","hex_latitude":"072e2db8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923801344001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281852481994752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265300358219116544,"note":"Value kept but may cause issues"} 
[2026-09-07 12:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788764869000,"timestamp_ms":1788764869000,"timestamp_seconds":1788764869,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab1d188"} 
[2026-09-07 12: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-07 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12: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-07 12: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-07 12:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:38:57] 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-07 12:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923801344001,"66":27865,"229":206,"83":44032,"24":4,"16":401281852481994752,"44":-1265300358219116544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923801344001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:38:57] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281852481994752,"km_value":401281852481994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265300358219116544,"description":"Unknown IO ID 44"} 
[2026-09-07 12:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923801344001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":4,"odometer":null,"unknown_44":-1265300358219116544}} 
[2026-09-07 12:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:38:57] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:38:57] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:17] local.INFO: TCP Data received {"connection_id":174733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab177b0012d1b6140072458f0002401581b..."} 
[2026-09-07 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab177b0012d1b6140072458f0002401581b..."} 
[2026-09-07 12:39:17] local.INFO: Processing buffer {"connection_id":174733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab177b0012d1b6140072458f0002401581b..."} 
[2026-09-07 12:39:17] local.INFO: Packet analysis {"connection_id":174733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:39:17] local.INFO: Extracted packet for processing {"connection_id":174733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119822576,"longitude_deg":75.6769088,"latitude_deg":11.9822576,"altitude":36,"angle":344,"satellites":27,"speed":1,"hex_longitude":"2d1b6140","hex_latitude":"072458f0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923796992001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307770545602560,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973139617416108032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:17] 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-07 12:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788764846000,"timestamp_ms":1788764846000,"timestamp_seconds":1788764846,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab177b0"} 
[2026-09-07 12: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-07 12:39:17] 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-07 12: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-07 12:39:17] 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-07 12: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-07 12: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-07 12:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923796992001,"66":13993,"136":206,"83":42752,"24":1,"16":18307770545602560,"45":1973139617416108032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923796992001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307770545602560,"km_value":18307770545602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973139617416108032,"description":"Unknown IO ID 45"} 
[2026-09-07 12:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923796992001,"power":13993,"unknown_136":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1973139617416108032}} 
[2026-09-07 12:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:17] local.INFO: GPS data processed {"connection_id":174733,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:17] local.INFO: Acknowledgment sent {"connection_id":174733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:27] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:27] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:27] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:39:28] local.INFO: TCP Data received {"connection_id":173381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab1d570012cee7240072e2e40003b01612b..."} 
[2026-09-07 12:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab1d570012cee7240072e2e40003b01612b..."} 
[2026-09-07 12:39:28] local.INFO: Processing buffer {"connection_id":173381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab1d570012cee7240072e2e40003b01612b..."} 
[2026-09-07 12:39:28] local.INFO: Packet analysis {"connection_id":173381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:39:28] local.INFO: Extracted packet for processing {"connection_id":173381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab1"} 
[2026-09-07 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":753824320,"raw_latitude":120467008,"longitude_deg":75.382432,"latitude_deg":12.0467008,"altitude":59,"angle":353,"satellites":43,"speed":6,"hex_longitude":"2cee7240","hex_latitude":"072e2e40","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923806464001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401281856776962048,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264878145753991168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788764870000,"timestamp_ms":1788764870000,"timestamp_seconds":1788764870,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab1d570"} 
[2026-09-07 12: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-07 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39:28] 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-07 12:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923806464001,"66":27397,"229":206,"83":44032,"24":6,"16":401281856776962048,"44":-1264878145753991168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-09-07 12:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923806464001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:28] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 12:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401281856776962048,"km_value":401281856776962.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264878145753991168,"description":"Unknown IO ID 44"} 
[2026-09-07 12:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923806464001,"power":27397,"unknown_229":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1264878145753991168}} 
[2026-09-07 12:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":173381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:28] local.INFO: GPS data processed {"connection_id":173381,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:28] local.INFO: Acknowledgment sent {"connection_id":173381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:41] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:41] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:41] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:39:42] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:42] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:42] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:39:45] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:39:45] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:45] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:39:45] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:45] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:45] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:39:50] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:50] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:39:50] local.INFO: IMEI packet received {"connection_id":173382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":173382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:39:51] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:51] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:39:51] local.INFO: IMEI packet received {"connection_id":176100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":176100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:39:51] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab2a860012cede2c0072e0b88004300fa2f..."} 
[2026-09-07 12:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab2a860012cede2c0072e0b88004300fa2f..."} 
[2026-09-07 12:39:51] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab2a860012cede2c0072e0b88004300fa2f..."} 
[2026-09-07 12:39:51] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:51] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:51] local.INFO: GPS Element Parsed {"raw_longitude":753787584,"raw_latitude":120458120,"longitude_deg":75.3787584,"latitude_deg":12.045812,"altitude":67,"angle":250,"satellites":47,"speed":28,"hex_longitude":"2cede2c0","hex_latitude":"072e0b88","is_valid_coordinates":true} 
[2026-09-07 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923817728001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401283712202833920,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1295488549472743424,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764924000,"timestamp_ms":1788764924000,"timestamp_seconds":1788764924,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab2a860"} 
[2026-09-07 12:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:39: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-07 12:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39: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-07 12:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923817728001,"66":28050,"110":206,"83":44032,"24":28,"16":401283712202833920,"44":-1295488549472743424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923817728001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401283712202833920,"km_value":401283712202833.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1295488549472743424,"description":"Unknown IO ID 44"} 
[2026-09-07 12:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923817728001,"power":28050,"unknown_110":206,"unknown_83":44032,"ignition":28,"odometer":null,"unknown_44":-1295488549472743424}} 
[2026-09-07 12:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:51] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:51] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:52] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab2df10012d1b650007245b700025001726..."} 
[2026-09-07 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab2df10012d1b650007245b700025001726..."} 
[2026-09-07 12:39:52] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab2df10012d1b650007245b700025001726..."} 
[2026-09-07 12:39:52] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:52] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756770048,"raw_latitude":119823216,"longitude_deg":75.6770048,"latitude_deg":11.9823216,"altitude":37,"angle":23,"satellites":38,"speed":1,"hex_longitude":"2d1b6500","hex_latitude":"07245b70","is_valid_coordinates":true} 
[2026-09-07 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-07 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923822336001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307852149981184,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973632198625662976,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39: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-07 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788764938000,"timestamp_ms":1788764938000,"timestamp_seconds":1788764938,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab2df10"} 
[2026-09-07 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-07 12:39: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-07 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-07 12:39:52] 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-07 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-07 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-07 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923822336001,"66":13972,"136":206,"83":42752,"24":1,"16":18307852149981184,"45":1973632198625662976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923822336001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:52] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:39:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307852149981184,"km_value":18307852149981.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973632198625662976,"description":"Unknown IO ID 45"} 
[2026-09-07 12:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923822336001,"power":13972,"unknown_136":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1973632198625662976}} 
[2026-09-07 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:52] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:52] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:52] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:52] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:39:52] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:39:56] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab2d740012cedbec0072dfec0004a00f92f..."} 
[2026-09-07 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab2d740012cedbec0072dfec0004a00f92f..."} 
[2026-09-07 12:39:56] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab2d740012cedbec0072dfec0004a00f92f..."} 
[2026-09-07 12:39:56] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:56] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":753778368,"raw_latitude":120454848,"longitude_deg":75.3778368,"latitude_deg":12.0454848,"altitude":74,"angle":249,"satellites":47,"speed":34,"hex_longitude":"2cedbec0","hex_latitude":"072dfec0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923820544001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401284180354269184,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305269804914210816,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788764936000,"timestamp_ms":1788764936000,"timestamp_seconds":1788764936,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab2d740"} 
[2026-09-07 12: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-07 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 12:39:56] 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-07 12: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-07 12: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-07 12:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:39:56] 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-07 12:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923820544001,"66":27908,"110":206,"83":44032,"24":34,"16":401284180354269184,"44":-1305269804914210816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923820544001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401284180354269184,"km_value":401284180354269.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305269804914210816,"description":"Unknown IO ID 44"} 
[2026-09-07 12:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923820544001,"power":27908,"unknown_110":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1305269804914210816}} 
[2026-09-07 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:56] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:56] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:39:56] local.INFO: TCP Data received {"connection_id":176100,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab2f298012d1b650007245c50002501472b..."} 
[2026-09-07 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab2f298012d1b650007245c50002501472b..."} 
[2026-09-07 12:39:56] local.INFO: Processing buffer {"connection_id":176100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab2f298012d1b650007245c50002501472b..."} 
[2026-09-07 12:39:56] local.INFO: Packet analysis {"connection_id":176100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:56] local.INFO: Extracted packet for processing {"connection_id":176100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756770048,"raw_latitude":119823440,"longitude_deg":75.6770048,"latitude_deg":11.982344,"altitude":37,"angle":327,"satellites":43,"speed":6,"hex_longitude":"2d1b6500","hex_latitude":"07245c50","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923824128001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307869329850368,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042346573824,"note":"Value kept but may cause issues"} 
[2026-09-07 12:39: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-07 12:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788764943000,"timestamp_ms":1788764943000,"timestamp_seconds":1788764943,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab2f298"} 
[2026-09-07 12: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-07 12: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-07 12: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 12:39: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-07 12: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-07 12: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-07 12:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923824128001,"66":13928,"136":206,"83":42752,"24":6,"16":18307869329850368,"45":1973984042346573824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923824128001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307869329850368,"km_value":18307869329850.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042346573824,"description":"Unknown IO ID 45"} 
[2026-09-07 12:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923824128001,"power":13928,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1973984042346573824}} 
[2026-09-07 12:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":176100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:39:56] local.INFO: GPS data processed {"connection_id":176100,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:39:56] local.INFO: Acknowledgment sent {"connection_id":176100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:40:27] local.INFO: TCP Data received {"connection_id":173382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab30238012ced9b40072df070004d00f52f..."} 
[2026-09-07 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab30238012ced9b40072df070004d00f52f..."} 
[2026-09-07 12:40:27] local.INFO: Processing buffer {"connection_id":173382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab30238012ced9b40072df070004d00f52f..."} 
[2026-09-07 12:40:27] local.INFO: Packet analysis {"connection_id":173382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:40:27] local.INFO: Extracted packet for processing {"connection_id":173382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":753769280,"raw_latitude":120451184,"longitude_deg":75.376928,"latitude_deg":12.0451184,"altitude":77,"angle":245,"satellites":47,"speed":30,"hex_longitude":"2ced9b40","hex_latitude":"072df070","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923823616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401284644210737152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1315402904076632064,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788764947000,"timestamp_ms":1788764947000,"timestamp_seconds":1788764947,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab30238"} 
[2026-09-07 12: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-07 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12: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-07 12: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-07 12:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:40:27] 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-07 12:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923823616001,"66":27843,"110":206,"83":44032,"24":30,"16":401284644210737152,"44":-1315402904076632064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923823616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:40:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401284644210737152,"km_value":401284644210737.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:40:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1315402904076632064,"description":"Unknown IO ID 44"} 
[2026-09-07 12:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923823616001,"power":27843,"unknown_110":206,"unknown_83":44032,"ignition":30,"odometer":null,"unknown_44":-1315402904076632064}} 
[2026-09-07 12:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":173382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:40:27] local.INFO: GPS data processed {"connection_id":173382,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:40:27] local.INFO: Acknowledgment sent {"connection_id":173382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:40:41] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:41] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:41] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:40:45] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:45] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:45] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:40:46] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:46] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:40:46] local.INFO: IMEI packet received {"connection_id":173613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":173613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:40:47] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab2fa68012d1b63c007245d900025013b2b..."} 
[2026-09-07 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab2fa68012d1b63c007245d900025013b2b..."} 
[2026-09-07 12:40:47] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab2fa68012d1b63c007245d900025013b2b..."} 
[2026-09-07 12:40:47] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:40:47] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab2"} 
[2026-09-07 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756769728,"raw_latitude":119823760,"longitude_deg":75.6769728,"latitude_deg":11.982376,"altitude":37,"angle":315,"satellites":43,"speed":12,"hex_longitude":"2d1b63c0","hex_latitude":"07245d90","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923825408001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307890804686848,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973984042346631168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:47] 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-07 12:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788764945000,"timestamp_ms":1788764945000,"timestamp_seconds":1788764945,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab2fa68"} 
[2026-09-07 12: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-07 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:40:47] 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-07 12: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-07 12: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-07 12:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923825408001,"66":13928,"136":206,"83":42752,"24":12,"16":18307890804686848,"45":1973984042346631168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923825408001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:40:47] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307890804686848,"km_value":18307890804686.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973984042346631168,"description":"Unknown IO ID 45"} 
[2026-09-07 12:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923825408001,"power":13928,"unknown_136":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1973984042346631168}} 
[2026-09-07 12:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:40:47] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:40:47] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:40:50] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:50] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:40:50] local.INFO: IMEI packet received {"connection_id":173383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:40:52] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab32d30012ced7a00072ddcb0004f00eb29..."} 
[2026-09-07 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab32d30012ced7a00072ddcb0004f00eb29..."} 
[2026-09-07 12:40:52] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab32d30012ced7a00072ddcb0004f00eb29..."} 
[2026-09-07 12:40:52] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:40:52] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":753760768,"raw_latitude":120446128,"longitude_deg":75.3760768,"latitude_deg":12.0446128,"altitude":79,"angle":235,"satellites":41,"speed":39,"hex_longitude":"2ced7a00","hex_latitude":"072ddcb0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923826432001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401285120952107008,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325395265750798336,"note":"Value kept but may cause issues"} 
[2026-09-07 12:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788764958000,"timestamp_ms":1788764958000,"timestamp_seconds":1788764958,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab32d30"} 
[2026-09-07 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-07 12:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:40: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-07 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-07 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-07 12:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:40:52] 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-07 12:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923826432001,"66":27974,"110":206,"83":44032,"24":39,"16":401285120952107008,"44":-1325395265750798336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923826432001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:40:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:40:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401285120952107008,"km_value":401285120952107.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325395265750798336,"description":"Unknown IO ID 44"} 
[2026-09-07 12:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923826432001,"power":27974,"unknown_110":206,"unknown_83":44032,"ignition":39,"odometer":null,"unknown_44":-1325395265750798336}} 
[2026-09-07 12:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:40:52] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:40:52] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:41:18] local.INFO: TCP Data received {"connection_id":173613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab34c70012d1b5ec0072463c00025013c2b..."} 
[2026-09-07 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab34c70012d1b5ec0072463c00025013c2b..."} 
[2026-09-07 12:41:18] local.INFO: Processing buffer {"connection_id":173613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab34c70012d1b5ec0072463c00025013c2b..."} 
[2026-09-07 12:41:18] local.INFO: Packet analysis {"connection_id":173613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:18] local.INFO: Extracted packet for processing {"connection_id":173613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756768448,"raw_latitude":119825344,"longitude_deg":75.6768448,"latitude_deg":11.9825344,"altitude":37,"angle":316,"satellites":43,"speed":0,"hex_longitude":"2d1b5ec0","hex_latitude":"072463c0","is_valid_coordinates":true} 
[2026-09-07 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923825920001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307989588934656,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973632198625824768,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:18] 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-07 12:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788764966000,"timestamp_ms":1788764966000,"timestamp_seconds":1788764966,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab34c70"} 
[2026-09-07 12:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:41:18] 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-07 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:41:18] 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-07 12:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923825920001,"66":13928,"136":206,"83":42752,"24":0,"16":18307989588934656,"45":1973632198625824768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923825920001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:41:18] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307989588934656,"km_value":18307989588934.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973632198625824768,"description":"Unknown IO ID 45"} 
[2026-09-07 12:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923825920001,"power":13928,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1973632198625824768}} 
[2026-09-07 12:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":173613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:41:18] local.INFO: GPS data processed {"connection_id":173613,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:41:18] local.INFO: Acknowledgment sent {"connection_id":173613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:41:26] local.INFO: TCP Data received {"connection_id":173383,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab35058012ced5ac0072dc7b0004d00ea2c..."} 
[2026-09-07 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab35058012ced5ac0072dc7b0004d00ea2c..."} 
[2026-09-07 12:41:26] local.INFO: Processing buffer {"connection_id":173383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab35058012ced5ac0072dc7b0004d00ea2c..."} 
[2026-09-07 12:41:26] local.INFO: Packet analysis {"connection_id":173383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:26] local.INFO: Extracted packet for processing {"connection_id":173383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:26] local.INFO: GPS Element Parsed {"raw_longitude":753752768,"raw_latitude":120440752,"longitude_deg":75.3752768,"latitude_deg":12.0440752,"altitude":77,"angle":234,"satellites":44,"speed":42,"hex_longitude":"2ced5ac0","hex_latitude":"072dc7b0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923829248001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401285580513607680,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334754308727721984,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788764967000,"timestamp_ms":1788764967000,"timestamp_seconds":1788764967,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab35058"} 
[2026-09-07 12: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-07 12:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41: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-07 12:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923829248001,"66":27865,"110":206,"83":44032,"24":42,"16":401285580513607680,"44":-1334754308727721984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 12:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923829248001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:41:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 12:41:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401285580513607680,"km_value":401285580513607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334754308727721984,"description":"Unknown IO ID 44"} 
[2026-09-07 12:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923829248001,"power":27865,"unknown_110":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1334754308727721984}} 
[2026-09-07 12:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":173383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:41:26] local.INFO: GPS data processed {"connection_id":173383,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:41:26] local.INFO: Acknowledgment sent {"connection_id":173383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:41:40] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:40] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:40] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:41:45] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:45] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:45] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:41:46] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:46] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:41:46] local.INFO: IMEI packet received {"connection_id":173385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":173385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:41:47] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:47] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:47] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:41:50] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:50] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:41:50] local.INFO: IMEI packet received {"connection_id":176101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":176101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:41:51] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab37768012ced3a80072db2b8004b00ee2b..."} 
[2026-09-07 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab37768012ced3a80072db2b8004b00ee2b..."} 
[2026-09-07 12:41:51] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab37768012ced3a80072db2b8004b00ee2b..."} 
[2026-09-07 12:41:51] local.INFO: Packet analysis {"connection_id":176101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:51] local.INFO: Extracted packet for processing {"connection_id":176101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":753744512,"raw_latitude":120435384,"longitude_deg":75.3744512,"latitude_deg":12.0435384,"altitude":75,"angle":238,"satellites":43,"speed":37,"hex_longitude":"2ced3a80","hex_latitude":"072db2b8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923831552001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401286048665042944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1343550401751306240,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788764977000,"timestamp_ms":1788764977000,"timestamp_seconds":1788764977,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab37768"} 
[2026-09-07 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-07 12:41: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-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41: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-07 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923831552001,"66":27800,"112":206,"83":44032,"24":37,"16":401286048665042944,"44":-1343550401751306240},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-07 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923831552001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:41:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 12:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401286048665042944,"km_value":401286048665042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1343550401751306240,"description":"Unknown IO ID 44"} 
[2026-09-07 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923831552001,"power":27800,"unknown_112":206,"unknown_83":44032,"ignition":37,"odometer":null,"unknown_44":-1343550401751306240}} 
[2026-09-07 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":176101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:41:51] local.INFO: GPS data processed {"connection_id":176101,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:41:51] local.INFO: Acknowledgment sent {"connection_id":176101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:41:52] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab39e78012d1b5ec0072463c00025013c2c..."} 
[2026-09-07 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab39e78012d1b5ec0072463c00025013c2c..."} 
[2026-09-07 12:41:52] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab39e78012d1b5ec0072463c00025013c2c..."} 
[2026-09-07 12:41:52] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:52] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":756768448,"raw_latitude":119825344,"longitude_deg":75.6768448,"latitude_deg":11.9825344,"altitude":37,"angle":316,"satellites":44,"speed":0,"hex_longitude":"2d1b5ec0","hex_latitude":"072463c0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923831296001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18307989588934656,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972224823742676992,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41: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-07 12:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788764987000,"timestamp_ms":1788764987000,"timestamp_seconds":1788764987,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab39e78"} 
[2026-09-07 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-07 12: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-07 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:41: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-07 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-07 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-07 12:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923831296001,"66":14189,"136":206,"83":42752,"24":0,"16":18307989588934656,"45":1972224823742676992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-07 12:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923831296001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:41:52] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 12:41:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18307989588934656,"km_value":18307989588934.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972224823742676992,"description":"Unknown IO ID 45"} 
[2026-09-07 12:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923831296001,"power":14189,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1972224823742676992}} 
[2026-09-07 12:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:41:52] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:41:52] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:41:55] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab39a90012ced1b40072da430004800fa2e..."} 
[2026-09-07 12:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab39a90012ced1b40072da430004800fa2e..."} 
[2026-09-07 12:41:55] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab39a90012ced1b40072da430004800fa2e..."} 
[2026-09-07 12:41:55] local.INFO: Packet analysis {"connection_id":176101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:55] local.INFO: Extracted packet for processing {"connection_id":176101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":753736512,"raw_latitude":120431664,"longitude_deg":75.3736512,"latitude_deg":12.0431664,"altitude":72,"angle":250,"satellites":46,"speed":31,"hex_longitude":"2ced1b40","hex_latitude":"072da430","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923834112001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401286469571837952,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1352627969751599104,"note":"Value kept but may cause issues"} 
[2026-09-07 12:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788764986000,"timestamp_ms":1788764986000,"timestamp_seconds":1788764986,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab39a90"} 
[2026-09-07 12: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-07 12:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 12:41:55] 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-07 12: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-07 12: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-07 12:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:41:55] 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-07 12:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923834112001,"66":27865,"112":206,"83":44032,"24":31,"16":401286469571837952,"44":-1352627969751599104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-07 12:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923834112001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:41:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 12:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401286469571837952,"km_value":401286469571837.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1352627969751599104,"description":"Unknown IO ID 44"} 
[2026-09-07 12:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923834112001,"power":27865,"unknown_112":206,"unknown_83":44032,"ignition":31,"odometer":null,"unknown_44":-1352627969751599104}} 
[2026-09-07 12:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":176101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:41:55] local.INFO: GPS data processed {"connection_id":176101,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:41:55] local.INFO: Acknowledgment sent {"connection_id":176101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:42:26] local.INFO: TCP Data received {"connection_id":176101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab3cd58012cecf7c0072d9870004600f92e..."} 
[2026-09-07 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab3cd58012cecf7c0072d9870004600f92e..."} 
[2026-09-07 12:42:26] local.INFO: Processing buffer {"connection_id":176101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab3cd58012cecf7c0072d9870004600f92e..."} 
[2026-09-07 12:42:26] local.INFO: Packet analysis {"connection_id":176101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:42:26] local.INFO: Extracted packet for processing {"connection_id":176101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab3"} 
[2026-09-07 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":753727424,"raw_latitude":120428656,"longitude_deg":75.3727424,"latitude_deg":12.0428656,"altitude":70,"angle":249,"satellites":46,"speed":25,"hex_longitude":"2cecf7c0","hex_latitude":"072d9870","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923836416001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401286924838371328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361424062774759424,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788764999000,"timestamp_ms":1788764999000,"timestamp_seconds":1788764999,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab3cd58"} 
[2026-09-07 12: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-07 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:42: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-07 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923836416001,"66":27800,"112":206,"83":44032,"24":25,"16":401286924838371328,"44":-1361424062774759424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-07 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923836416001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:42:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 12:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401286924838371328,"km_value":401286924838371.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361424062774759424,"description":"Unknown IO ID 44"} 
[2026-09-07 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923836416001,"power":27800,"unknown_112":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1361424062774759424}} 
[2026-09-07 12:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":176101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:42:26] local.INFO: GPS data processed {"connection_id":176101,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:42:26] local.INFO: Acknowledgment sent {"connection_id":176101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:42:27] local.INFO: TCP Data received {"connection_id":173385,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab509c0012d1b0cc0072480e0002b00dd2c..."} 
[2026-09-07 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab509c0012d1b0cc0072480e0002b00dd2c..."} 
[2026-09-07 12:42:27] local.INFO: Processing buffer {"connection_id":173385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab509c0012d1b0cc0072480e0002b00dd2c..."} 
[2026-09-07 12:42:27] local.INFO: Packet analysis {"connection_id":173385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:42:27] local.INFO: Extracted packet for processing {"connection_id":173385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756747456,"raw_latitude":119832800,"longitude_deg":75.6747456,"latitude_deg":11.98328,"altitude":43,"angle":221,"satellites":44,"speed":20,"hex_longitude":"2d1b0cc0","hex_latitude":"072480e0","is_valid_coordinates":true} 
[2026-09-07 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923859456001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950199406817226752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18309273784156160,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42: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-07 12:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788765080000,"timestamp_ms":1788765080000,"timestamp_seconds":1788765080,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab509c0"} 
[2026-09-07 12:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:42:27] 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-07 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 12:42: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-07 12:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923859456001,"66":13928,"45":1950199406817226752,"83":41984,"24":20,"16":18309273784156160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-07 12:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923859456001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950199406817226752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18309273784156160,"km_value":18309273784156.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:42:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923859456001,"power":13928,"unknown_45":1950199406817226752,"unknown_83":41984,"ignition":20,"odometer":null}} 
[2026-09-07 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":173385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:42:27] local.INFO: GPS data processed {"connection_id":173385,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:42:27] local.INFO: Acknowledgment sent {"connection_id":173385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:42:39] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:39] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:39] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:42:40] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:40] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:40] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:42:44] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:44] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:44] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:42:46] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:46] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:42:46] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:42:46] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab538a0012d1af3c007246608003100d92b..."} 
[2026-09-07 12:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab538a0012d1af3c007246608003100d92b..."} 
[2026-09-07 12:42:46] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab538a0012d1af3c007246608003100d92b..."} 
[2026-09-07 12:42:46] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:42:46] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756741056,"raw_latitude":119825928,"longitude_deg":75.6741056,"latitude_deg":11.9825928,"altitude":49,"angle":217,"satellites":43,"speed":33,"hex_longitude":"2d1af3c0","hex_latitude":"07246608","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923860480001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949143875654311936,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18309724755722240,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:46] 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-07 12:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765092000,"timestamp_ms":1788765092000,"timestamp_seconds":1788765092,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab538a0"} 
[2026-09-07 12: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-07 12:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:42:46] 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-07 12: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-07 12: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-07 12:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923860480001,"66":13993,"45":1949143875654311936,"83":41984,"24":33,"16":18309724755722240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-07 12:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923860480001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949143875654311936,"description":"Unknown IO ID 45"} 
[2026-09-07 12:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18309724755722240,"km_value":18309724755722.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:42:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923860480001,"power":13993,"unknown_45":1949143875654311936,"unknown_83":41984,"ignition":33,"odometer":null}} 
[2026-09-07 12:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:42:46] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:42:46] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:42:50] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:50] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:42:50] local.INFO: IMEI packet received {"connection_id":174734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":174734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:42:51] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab41790012cecd480072d8c90004100fc31..."} 
[2026-09-07 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab41790012cecd480072d8c90004100fc31..."} 
[2026-09-07 12:42:51] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab41790012cecd480072d8c90004100fc31..."} 
[2026-09-07 12:42:51] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab4"} 
[2026-09-07 12:42:51] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab4"} 
[2026-09-07 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":753718400,"raw_latitude":120425616,"longitude_deg":75.37184,"latitude_deg":12.0425616,"altitude":65,"angle":252,"satellites":49,"speed":23,"hex_longitude":"2cecd480","hex_latitude":"072d8c90","is_valid_coordinates":true} 
[2026-09-07 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-07 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923839744001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401287375809937408,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1371416424448757760,"note":"Value kept but may cause issues"} 
[2026-09-07 12:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765018000,"timestamp_ms":1788765018000,"timestamp_seconds":1788765018,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab41790"} 
[2026-09-07 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-07 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 12:42:51] 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-07 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-07 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-07 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:42: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-07 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923839744001,"66":27767,"112":206,"83":44032,"24":23,"16":401287375809937408,"44":-1371416424448757760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-09-07 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923839744001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:42:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 12:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401287375809937408,"km_value":401287375809937.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1371416424448757760,"description":"Unknown IO ID 44"} 
[2026-09-07 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923839744001,"power":27767,"unknown_112":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1371416424448757760}} 
[2026-09-07 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:42:51] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:42:51] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:43:17] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab56398012d1ae0c007244700003100d72a..."} 
[2026-09-07 12:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab56398012d1ae0c007244700003100d72a..."} 
[2026-09-07 12:43:17] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab56398012d1ae0c007244700003100d72a..."} 
[2026-09-07 12:43:17] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:43:17] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756736192,"raw_latitude":119817984,"longitude_deg":75.6736192,"latitude_deg":11.9817984,"altitude":49,"angle":215,"satellites":42,"speed":32,"hex_longitude":"2d1ae0c0","hex_latitude":"07244700","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923863552001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942107001234786304,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18310171432321024,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:17] 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-07 12:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788765103000,"timestamp_ms":1788765103000,"timestamp_seconds":1788765103,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab56398"} 
[2026-09-07 12: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-07 12:43:17] 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-07 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923863552001,"66":13972,"45":1942107001234786304,"83":41984,"24":32,"16":18310171432321024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-07 12:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923863552001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942107001234786304,"description":"Unknown IO ID 45"} 
[2026-09-07 12:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18310171432321024,"km_value":18310171432321.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:43:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923863552001,"power":13972,"unknown_45":1942107001234786304,"unknown_83":41984,"ignition":32,"odometer":null}} 
[2026-09-07 12:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:43:18] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:43:18] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:43:23] local.INFO: TCP Data received {"connection_id":174734,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab61748012ceb5280072d8608003401262d..."} 
[2026-09-07 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab61748012ceb5280072d8608003401262d..."} 
[2026-09-07 12:43:23] local.INFO: Processing buffer {"connection_id":174734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab61748012ceb5280072d8608003401262d..."} 
[2026-09-07 12:43:23] local.INFO: Packet analysis {"connection_id":174734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:43:23] local.INFO: Extracted packet for processing {"connection_id":174734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":753619584,"raw_latitude":120423944,"longitude_deg":75.3619584,"latitude_deg":12.0423944,"altitude":52,"angle":294,"satellites":45,"speed":44,"hex_longitude":"2ceb5280","hex_latitude":"072d8608","is_valid_coordinates":true} 
[2026-09-07 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-07 12:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923876352001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401292147518603264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482317565274494976,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788765149000,"timestamp_ms":1788765149000,"timestamp_seconds":1788765149,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab61748"} 
[2026-09-07 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-07 12:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:43: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-07 12:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923876352001,"66":27745,"201":206,"83":44032,"24":44,"16":401292147518603264,"44":-1482317565274494976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-07 12:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923876352001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:43:23] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 12:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401292147518603264,"km_value":401292147518603.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:43:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482317565274494976,"description":"Unknown IO ID 44"} 
[2026-09-07 12:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923876352001,"power":27745,"unknown_201":206,"unknown_83":44032,"ignition":44,"odometer":null,"unknown_44":-1482317565274494976}} 
[2026-09-07 12:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":174734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:43:23] local.INFO: GPS data processed {"connection_id":174734,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:43:23] local.INFO: Acknowledgment sent {"connection_id":174734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:43:41] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:43:41] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:41] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:43:44] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:44] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:44] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:43:46] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:46] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:46] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:43:46] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:46] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:43:46] local.INFO: IMEI packet received {"connection_id":173387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:43:47] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab57338012d1ad84007243db0003100e32a..."} 
[2026-09-07 12:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab57338012d1ad84007243db0003100e32a..."} 
[2026-09-07 12:43:47] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab57338012d1ad84007243db0003100e32a..."} 
[2026-09-07 12:43:47] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:43:47] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab5"} 
[2026-09-07 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756734016,"raw_latitude":119815600,"longitude_deg":75.6734016,"latitude_deg":11.98156,"altitude":49,"angle":227,"satellites":42,"speed":31,"hex_longitude":"2d1ad840","hex_latitude":"07243db0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923866368001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976675250176,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18310330346110976,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:47] 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-07 12:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788765107000,"timestamp_ms":1788765107000,"timestamp_seconds":1788765107,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab57338"} 
[2026-09-07 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-07 12:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 12:43:47] 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-07 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-07 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-07 12:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923866368001,"66":14048,"45":1936758976675250176,"83":41984,"24":31,"16":18310330346110976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16]} 
[2026-09-07 12:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923866368001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976675250176,"description":"Unknown IO ID 45"} 
[2026-09-07 12:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18310330346110976,"km_value":18310330346110.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:43:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457923866368001,"power":14048,"unknown_45":1936758976675250176,"unknown_83":41984,"ignition":31,"odometer":null}} 
[2026-09-07 12:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:43:47] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:43:47] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:43:49] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:49] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:43:49] local.INFO: IMEI packet received {"connection_id":173615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":173615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:43:50] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab63688012ceb3300072d97d0003201272f..."} 
[2026-09-07 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab63688012ceb3300072d97d0003201272f..."} 
[2026-09-07 12:43:50] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab63688012ceb3300072d97d0003201272f..."} 
[2026-09-07 12:43:50] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:43:50] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":753611520,"raw_latitude":120428496,"longitude_deg":75.361152,"latitude_deg":12.0428496,"altitude":50,"angle":295,"satellites":47,"speed":41,"hex_longitude":"2ceb3300","hex_latitude":"072d97d0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923878144001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401292589900234752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1489987758389327872,"note":"Value kept but may cause issues"} 
[2026-09-07 12:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788765157000,"timestamp_ms":1788765157000,"timestamp_seconds":1788765157,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab63688"} 
[2026-09-07 12: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-07 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 12:43:50] 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-07 12: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-07 12: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-07 12:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:43:50] 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-07 12:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923878144001,"66":27974,"201":206,"83":44032,"24":41,"16":401292589900234752,"44":-1489987758389327872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-07 12:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923878144001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:43:50] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 12:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401292589900234752,"km_value":401292589900234.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1489987758389327872,"description":"Unknown IO ID 44"} 
[2026-09-07 12:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923878144001,"power":27974,"unknown_201":206,"unknown_83":44032,"ignition":41,"odometer":null,"unknown_44":-1489987758389327872}} 
[2026-09-07 12:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:43:50] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:43:50] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:44:21] local.INFO: TCP Data received {"connection_id":173615,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab63e58012ceb2b40072d9a20003101162f..."} 
[2026-09-07 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab63e58012ceb2b40072d9a20003101162f..."} 
[2026-09-07 12:44:21] local.INFO: Processing buffer {"connection_id":173615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab63e58012ceb2b40072d9a20003101162f..."} 
[2026-09-07 12:44:21] local.INFO: Packet analysis {"connection_id":173615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:44:21] local.INFO: Extracted packet for processing {"connection_id":173615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:44:21] local.INFO: GPS Element Parsed {"raw_longitude":753609536,"raw_latitude":120429088,"longitude_deg":75.3609536,"latitude_deg":12.0429088,"altitude":49,"angle":278,"satellites":47,"speed":43,"hex_longitude":"2ceb2b40","hex_latitude":"072d9a20","is_valid_coordinates":true} 
[2026-09-07 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-07 12:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923880192001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401292688684482560,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1498854220154548224,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788765159000,"timestamp_ms":1788765159000,"timestamp_seconds":1788765159,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab63e58"} 
[2026-09-07 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-07 12:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 12:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923880192001,"66":27876,"201":206,"83":44032,"24":43,"16":401292688684482560,"44":-1498854220154548224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,83,24,16,44]} 
[2026-09-07 12:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923880192001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:44:21] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 12:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401292688684482560,"km_value":401292688684482.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1498854220154548224,"description":"Unknown IO ID 44"} 
[2026-09-07 12:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923880192001,"power":27876,"unknown_201":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1498854220154548224}} 
[2026-09-07 12:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":173615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:44:21] local.INFO: GPS data processed {"connection_id":173615,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:44:21] local.INFO: Acknowledgment sent {"connection_id":173615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:44:40] local.INFO: TCP Data received {"connection_id":173387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab6d2c8012d1a0a800723aa90003401032c..."} 
[2026-09-07 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab6d2c8012d1a0a800723aa90003401032c..."} 
[2026-09-07 12:44:40] local.INFO: Processing buffer {"connection_id":173387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab6d2c8012d1a0a800723aa90003401032c..."} 
[2026-09-07 12:44:40] local.INFO: Packet analysis {"connection_id":173387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:44:40] local.INFO: Extracted packet for processing {"connection_id":173387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756681344,"raw_latitude":119777936,"longitude_deg":75.6681344,"latitude_deg":11.9777936,"altitude":52,"angle":259,"satellites":44,"speed":39,"hex_longitude":"2d1a0a80","hex_latitude":"0723aa90","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923889408001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18313512916877312,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880675087555686400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:44:40] 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-07 12:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788765197000,"timestamp_ms":1788765197000,"timestamp_seconds":1788765197,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab6d2c8"} 
[2026-09-07 12: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-07 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923889408001,"66":13993,"42":206,"83":42752,"24":39,"16":18313512916877312,"45":1880675087555686400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923889408001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:44:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18313512916877312,"km_value":18313512916877.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880675087555686400,"description":"Unknown IO ID 45"} 
[2026-09-07 12:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923889408001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1880675087555686400}} 
[2026-09-07 12:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":173387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:44:40] local.INFO: GPS data processed {"connection_id":173387,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:44:40] local.INFO: Acknowledgment sent {"connection_id":173387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:44:46] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:46] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:46] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:44:47] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:47] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:47] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:44:48] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:48] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:48] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:44:49] local.INFO: TCP Data received {"connection_id":174736,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:49] local.INFO: Processing buffer {"connection_id":174736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:44:49] local.INFO: IMEI packet received {"connection_id":174736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":174736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:44:51] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:51] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:51] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:44:57] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:57] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:44:57] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:44:58] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.2","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 12:44:58] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 12:44:58] local.INFO: IMEI packet received {"connection_id":173390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":173390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:45:03] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab71918012d19c2800723a118003801082a..."} 
[2026-09-07 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab71918012d19c2800723a118003801082a..."} 
[2026-09-07 12:45:03] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07ab6f5f0012d19e5c00723a5480035010628..."} 
[2026-09-07 12:45:03] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:45:03] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab6"} 
[2026-09-07 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756671936,"raw_latitude":119776584,"longitude_deg":75.6671936,"latitude_deg":11.9776584,"altitude":53,"angle":262,"satellites":40,"speed":42,"hex_longitude":"2d19e5c0","hex_latitude":"0723a548","is_valid_coordinates":true} 
[2026-09-07 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923890432001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18313963888443392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876452962904739840,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] 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-07 12:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788765206000,"timestamp_ms":1788765206000,"timestamp_seconds":1788765206,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab6f5f0"} 
[2026-09-07 12:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 12:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923890432001,"66":14026,"42":206,"83":42752,"24":42,"16":18313963888443392,"45":1876452962904739840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923890432001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18313963888443392,"km_value":18313963888443.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876452962904739840,"description":"Unknown IO ID 45"} 
[2026-09-07 12:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923890432001,"power":14026,"unknown_42":206,"unknown_83":42752,"ignition":42,"odometer":null,"unknown_45":1876452962904739840}} 
[2026-09-07 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:45:03] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:45:03] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:45:03] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab7"} 
[2026-09-07 12:45:03] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab7"} 
[2026-09-07 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756662912,"raw_latitude":119775512,"longitude_deg":75.6662912,"latitude_deg":11.9775512,"altitude":56,"angle":264,"satellites":42,"speed":38,"hex_longitude":"2d19c280","hex_latitude":"0723a118","is_valid_coordinates":true} 
[2026-09-07 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923892736001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18314397680140288,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866108757510277120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:03] 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-07 12:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788765215000,"timestamp_ms":1788765215000,"timestamp_seconds":1788765215,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab71918"} 
[2026-09-07 12:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 12:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923892736001,"66":14004,"42":206,"83":42752,"24":38,"16":18314397680140288,"45":1866108757510277120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-07 12:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923892736001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18314397680140288,"km_value":18314397680140.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866108757510277120,"description":"Unknown IO ID 45"} 
[2026-09-07 12:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923892736001,"power":14004,"unknown_42":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1866108757510277120}} 
[2026-09-07 12:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:45:03] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:45:03] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:45:05] local.INFO: TCP Data received {"connection_id":173390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab74028012d199c4007239c88003e01062a..."} 
[2026-09-07 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab74028012d199c4007239c88003e01062a..."} 
[2026-09-07 12:45:05] local.INFO: Processing buffer {"connection_id":173390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab74028012d199c4007239c88003e01062a..."} 
[2026-09-07 12:45:05] local.INFO: Packet analysis {"connection_id":173390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab7"} 
[2026-09-07 12:45:05] local.INFO: Extracted packet for processing {"connection_id":173390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab7"} 
[2026-09-07 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":756653120,"raw_latitude":119774344,"longitude_deg":75.665312,"latitude_deg":11.9774344,"altitude":62,"angle":262,"satellites":42,"speed":37,"hex_longitude":"2d199c40","hex_latitude":"07239c88","is_valid_coordinates":true} 
[2026-09-07 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923895040001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18314861536608256,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856186764580952064,"note":"Value kept but may cause issues"} 
[2026-09-07 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788765225000,"timestamp_ms":1788765225000,"timestamp_seconds":1788765225,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab74028"} 
[2026-09-07 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923895040001,"66":14004,"137":206,"83":42752,"24":37,"16":18314861536608256,"45":1856186764580952064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-09-07 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923895040001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18314861536608256,"km_value":18314861536608.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856186764580952064,"description":"Unknown IO ID 45"} 
[2026-09-07 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923895040001,"power":14004,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1856186764580952064}} 
[2026-09-07 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":173390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:45:05] local.INFO: GPS data processed {"connection_id":173390,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:45:05] local.INFO: Acknowledgment sent {"connection_id":173390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:45:27] local.INFO: TCP Data received {"connection_id":173389,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:27] local.INFO: Processing buffer {"connection_id":173389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:27] local.INFO: IMEI packet received {"connection_id":173389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":173389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:45:47] local.INFO: TCP Data received {"connection_id":174737,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:47] local.INFO: Processing buffer {"connection_id":174737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:45:47] local.INFO: IMEI packet received {"connection_id":174737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:45:55] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:45:55] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:45:55] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:46:00] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:00] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:00] local.INFO: IMEI packet received {"connection_id":176102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":176102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:46:00] local.INFO: TCP Data received {"connection_id":176102,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab84db0012d18f0400722f6b0005e010d25..."} 
[2026-09-07 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab84db0012d18f0400722f6b0005e010d25..."} 
[2026-09-07 12:46:00] local.INFO: Processing buffer {"connection_id":176102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab84db0012d18f0400722f6b0005e010d25..."} 
[2026-09-07 12:46:00] local.INFO: Packet analysis {"connection_id":176102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab8"} 
[2026-09-07 12:46:00] local.INFO: Extracted packet for processing {"connection_id":176102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab8"} 
[2026-09-07 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756609088,"raw_latitude":119731888,"longitude_deg":75.6609088,"latitude_deg":11.9731888,"altitude":94,"angle":269,"satellites":37,"speed":34,"hex_longitude":"2d18f040","hex_latitude":"0722f6b0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923915008001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18317902373453824,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798062181879060480,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:00] 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-07 12:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788765294000,"timestamp_ms":1788765294000,"timestamp_seconds":1788765294,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab84db0"} 
[2026-09-07 12: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-07 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":185,"data_length":795,"current_offset":136} 
[2026-09-07 12:46:00] 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-07 12: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-07 12: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-07 12:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923915008001,"66":14265,"177":206,"83":42752,"24":34,"16":18317902373453824,"45":1798062181879060480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-09-07 12:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923915008001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:46:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 12:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-07 12:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18317902373453824,"km_value":18317902373453.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798062181879060480,"description":"Unknown IO ID 45"} 
[2026-09-07 12:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923915008001,"power":14265,"unknown_177":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1798062181879060480}} 
[2026-09-07 12:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":176102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:46:01] local.INFO: GPS data processed {"connection_id":176102,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:46:01] local.INFO: Acknowledgment sent {"connection_id":176102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:46:41] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:41] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:41] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:46:44] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:44] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:46:44] local.INFO: IMEI packet received {"connection_id":176103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:46:44] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab90548012d18a88007229640006c00b22a..."} 
[2026-09-07 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab90548012d18a88007229640006c00b22a..."} 
[2026-09-07 12:46:44] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab90548012d18a88007229640006c00b22a..."} 
[2026-09-07 12:46:44] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:46:44] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119707200,"longitude_deg":75.659072,"latitude_deg":11.97072,"altitude":108,"angle":178,"satellites":42,"speed":36,"hex_longitude":"2d18a880","hex_latitude":"07229640","is_valid_coordinates":true} 
[2026-09-07 12:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923924736001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18319951072854016,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446249746432,"note":"Value kept but may cause issues"} 
[2026-09-07 12:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788765341000,"timestamp_ms":1788765341000,"timestamp_seconds":1788765341,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab90548"} 
[2026-09-07 12:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 12:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923924736001,"66":13972,"105":206,"83":41984,"24":36,"16":18319951072854016,"45":1775403446249746432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923924736001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:46:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18319951072854016,"km_value":18319951072854.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446249746432,"description":"Unknown IO ID 45"} 
[2026-09-07 12:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923924736001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1775403446249746432}} 
[2026-09-07 12:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:46:45] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:46:45] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:47:16] local.INFO: TCP Data received {"connection_id":176103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab918d0012d18a700072283b8006c00c02a..."} 
[2026-09-07 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab918d0012d18a700072283b8006c00c02a..."} 
[2026-09-07 12:47:16] local.INFO: Processing buffer {"connection_id":176103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab918d0012d18a700072283b8006c00c02a..."} 
[2026-09-07 12:47:16] local.INFO: Packet analysis {"connection_id":176103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:47:16] local.INFO: Extracted packet for processing {"connection_id":176103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756590336,"raw_latitude":119702456,"longitude_deg":75.6590336,"latitude_deg":11.9702456,"altitude":108,"angle":192,"satellites":42,"speed":40,"hex_longitude":"2d18a700","hex_latitude":"072283b8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923927296001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18320183001088000,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131059200,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788765346000,"timestamp_ms":1788765346000,"timestamp_seconds":1788765346,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab918d0"} 
[2026-09-07 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-07 12:47:16] 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-07 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 12:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923927296001,"66":13917,"105":206,"83":41984,"24":40,"16":18320183001088000,"45":1776810821131059200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923927296001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:47:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18320183001088000,"km_value":18320183001088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131059200,"description":"Unknown IO ID 45"} 
[2026-09-07 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923927296001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1776810821131059200}} 
[2026-09-07 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":176103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:47:16] local.INFO: GPS data processed {"connection_id":176103,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:47:16] local.INFO: Acknowledgment sent {"connection_id":176103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:47:41] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:41] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:41] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:47:45] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:45] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:47:45] local.INFO: IMEI packet received {"connection_id":176104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:47:46] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ab92c58012d18a0c007226f88006800cb2a..."} 
[2026-09-07 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ab92c58012d18a0c007226f88006800cb2a..."} 
[2026-09-07 12:47:46] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ab92c58012d18a0c007226f88006800cb2a..."} 
[2026-09-07 12:47:46] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:47:46] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ab9"} 
[2026-09-07 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756588736,"raw_latitude":119697288,"longitude_deg":75.6588736,"latitude_deg":11.9697288,"altitude":104,"angle":203,"satellites":42,"speed":48,"hex_longitude":"2d18a0c0","hex_latitude":"07226f88","is_valid_coordinates":true} 
[2026-09-07 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923928576001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18320444994093056,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776388608664778752,"note":"Value kept but may cause issues"} 
[2026-09-07 12:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765351000,"timestamp_ms":1788765351000,"timestamp_seconds":1788765351,"priority":1,"record_length":96,"hex_timestamp":"000001a07ab92c58"} 
[2026-09-07 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 12:47:46] 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-07 12:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923928576001,"66":13928,"105":206,"83":41984,"24":48,"16":18320444994093056,"45":1776388608664778752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-07 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923928576001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:47:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 12:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18320444994093056,"km_value":18320444994093.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776388608664778752,"description":"Unknown IO ID 45"} 
[2026-09-07 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923928576001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1776388608664778752}} 
[2026-09-07 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:47:46] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:47:46] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:48:17] local.INFO: TCP Data received {"connection_id":176104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07aba9f70012d185740072188900050007427..."} 
[2026-09-07 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aba9f70012d185740072188900050007427..."} 
[2026-09-07 12:48:17] local.INFO: Processing buffer {"connection_id":176104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aba9f70012d185740072188900050007427..."} 
[2026-09-07 12:48:17] local.INFO: Packet analysis {"connection_id":176104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:48:17] local.INFO: Extracted packet for processing {"connection_id":176104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119638160,"longitude_deg":75.656992,"latitude_deg":11.963816,"altitude":80,"angle":116,"satellites":39,"speed":42,"hex_longitude":"2d185740","hex_latitude":"07218890","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923951360001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18324190205575168,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744089355071715328,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:17] 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-07 12:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788765446000,"timestamp_ms":1788765446000,"timestamp_seconds":1788765446,"priority":1,"record_length":96,"hex_timestamp":"000001a07aba9f70"} 
[2026-09-07 12: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-07 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 12:48:17] 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-07 12: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-07 12: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-07 12:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923951360001,"66":14004,"106":206,"83":41984,"24":42,"16":18324190205575168,"45":1744089355071715328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923951360001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:48:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18324190205575168,"km_value":18324190205575.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744089355071715328,"description":"Unknown IO ID 45"} 
[2026-09-07 12:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923951360001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1744089355071715328}} 
[2026-09-07 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:48:17] local.INFO: GPS data processed {"connection_id":176104,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:48:17] local.INFO: Acknowledgment sent {"connection_id":176104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:48:40] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:40] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:40] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:48:46] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:46] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:48:46] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:48:46] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abaaf10012d1865c0072182c8004f006528..."} 
[2026-09-07 12:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abaaf10012d1865c0072182c8004f006528..."} 
[2026-09-07 12:48:46] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abaaf10012d1865c0072182c8004f006528..."} 
[2026-09-07 12:48:46] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:48:46] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756573632,"raw_latitude":119636680,"longitude_deg":75.6573632,"latitude_deg":11.963668,"altitude":79,"angle":101,"satellites":40,"speed":34,"hex_longitude":"2d1865c0","hex_latitude":"072182c8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923954176001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18324379184136192,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979255644160,"note":"Value kept but may cause issues"} 
[2026-09-07 12:48:46] 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-07 12:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765450000,"timestamp_ms":1788765450000,"timestamp_seconds":1788765450,"priority":1,"record_length":96,"hex_timestamp":"000001a07abaaf10"} 
[2026-09-07 12: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-07 12:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 12:48:46] 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-07 12: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-07 12: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-07 12:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923954176001,"66":13961,"106":206,"83":41984,"24":34,"16":18324379184136192,"45":1753940979255644160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923954176001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18324379184136192,"km_value":18324379184136.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979255644160,"description":"Unknown IO ID 45"} 
[2026-09-07 12:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923954176001,"power":13961,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1753940979255644160}} 
[2026-09-07 12:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:48:47] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:48:47] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:49:18] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ababeb0012d18708007218200004e005728..."} 
[2026-09-07 12:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ababeb0012d18708007218200004e005728..."} 
[2026-09-07 12:49:18] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ababeb0012d18708007218200004e005728..."} 
[2026-09-07 12:49:18] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:49:18] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aba"} 
[2026-09-07 12:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756576384,"raw_latitude":119636480,"longitude_deg":75.6576384,"latitude_deg":11.963648,"altitude":78,"angle":87,"satellites":40,"speed":24,"hex_longitude":"2d187080","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-09-07 12:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923955200001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18324512328122368,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758022366417569792,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:18] 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-07 12:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788765454000,"timestamp_ms":1788765454000,"timestamp_seconds":1788765454,"priority":1,"record_length":96,"hex_timestamp":"000001a07ababeb0"} 
[2026-09-07 12:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 12:49:18] 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-07 12:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923955200001,"66":13993,"106":206,"83":41984,"24":24,"16":18324512328122368,"45":1758022366417569792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-07 12:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923955200001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:49:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-07 12:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18324512328122368,"km_value":18324512328122.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758022366417569792,"description":"Unknown IO ID 45"} 
[2026-09-07 12:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923955200001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1758022366417569792}} 
[2026-09-07 12:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:49:18] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:49:18] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:49:40] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:40] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:40] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:49:41] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:41] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:41] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:49:43] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:43] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:43] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:49:46] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:46] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:49:46] local.INFO: IMEI packet received {"connection_id":173393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:49:47] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abbc080012d18d1c0072125a8004300ad2a..."} 
[2026-09-07 12:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abbc080012d18d1c0072125a8004300ad2a..."} 
[2026-09-07 12:49:47] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abbc080012d18d1c0072125a8004300ad2a..."} 
[2026-09-07 12:49:47] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abb"} 
[2026-09-07 12:49:47] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abb"} 
[2026-09-07 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119612840,"longitude_deg":75.660128,"latitude_deg":11.961284,"altitude":67,"angle":173,"satellites":42,"speed":37,"hex_longitude":"2d18d1c0","hex_latitude":"072125a8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923972864001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18326359164059648,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663922176,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788765520000,"timestamp_ms":1788765520000,"timestamp_seconds":1788765520,"priority":1,"record_length":96,"hex_timestamp":"000001a07abbc080"} 
[2026-09-07 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-07 12:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 12:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923972864001,"66":14298,"103":206,"83":41984,"24":37,"16":18326359164059648,"45":1788210557663922176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 12:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923972864001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:49:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 12:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18326359164059648,"km_value":18326359164059.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663922176,"description":"Unknown IO ID 45"} 
[2026-09-07 12:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923972864001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788210557663922176}} 
[2026-09-07 12:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:49:47] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:49:47] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:49:49] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:49:49] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:49:49] local.INFO: IMEI packet received {"connection_id":173394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:49:50] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abbf730012ce84f40072f4df80013001c32..."} 
[2026-09-07 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abbf730012ce84f40072f4df80013001c32..."} 
[2026-09-07 12:49:50] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abbf730012ce84f40072f4df80013001c32..."} 
[2026-09-07 12:49:50] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abb"} 
[2026-09-07 12:49:50] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abb"} 
[2026-09-07 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":753422144,"raw_latitude":120540664,"longitude_deg":75.3422144,"latitude_deg":12.0540664,"altitude":19,"angle":28,"satellites":50,"speed":23,"hex_longitude":"2ce84f40","hex_latitude":"072f4df8","is_valid_coordinates":true} 
[2026-09-07 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923975168001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401304409650233344,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1708623446520193024,"note":"Value kept but may cause issues"} 
[2026-09-07 12:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788765534000,"timestamp_ms":1788765534000,"timestamp_seconds":1788765534,"priority":1,"record_length":96,"hex_timestamp":"000001a07abbf730"} 
[2026-09-07 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 12:49:50] 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-07 12:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:49:50] 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-07 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923975168001,"66":27876,"28":206,"83":44032,"24":23,"16":401304409650233344,"44":-1708623446520193024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923975168001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 12:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401304409650233344,"km_value":401304409650233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1708623446520193024,"description":"Unknown IO ID 44"} 
[2026-09-07 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923975168001,"power":27876,"unknown_28":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1708623446520193024}} 
[2026-09-07 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:49:50] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:49:50] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:50:18] local.INFO: TCP Data received {"connection_id":173393,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abc7c00012d1961800720ab880031005429..."} 
[2026-09-07 12:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abc7c00012d1961800720ab880031005429..."} 
[2026-09-07 12:50:18] local.INFO: Processing buffer {"connection_id":173393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abc7c00012d1961800720ab880031005429..."} 
[2026-09-07 12:50:18] local.INFO: Packet analysis {"connection_id":173393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:18] local.INFO: Extracted packet for processing {"connection_id":173393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119581576,"longitude_deg":75.663808,"latitude_deg":11.9581576,"altitude":49,"angle":84,"satellites":41,"speed":38,"hex_longitude":"2d196180","hex_latitude":"0720ab88","is_valid_coordinates":true} 
[2026-09-07 12:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923984384001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18328914669600768,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567139649536,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:18] local.INFO: IO Element Parsed {"io_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-07 12:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788765568000,"timestamp_ms":1788765568000,"timestamp_seconds":1788765568,"priority":1,"record_length":96,"hex_timestamp":"000001a07abc7c00"} 
[2026-09-07 12:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:50:18] 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-07 12:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 12:50:18] 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-07 12:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923984384001,"66":14265,"103":206,"83":41984,"24":38,"16":18328914669600768,"45":1824661567139649536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 12:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923984384001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:50:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 12:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18328914669600768,"km_value":18328914669600.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567139649536,"description":"Unknown IO ID 45"} 
[2026-09-07 12:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923984384001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1824661567139649536}} 
[2026-09-07 12:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":173393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:50:18] local.INFO: GPS data processed {"connection_id":173393,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:50:18] local.INFO: Acknowledgment sent {"connection_id":173393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:50:21] local.INFO: TCP Data received {"connection_id":173394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abc1670012ce858c0072f5e780016000f2c..."} 
[2026-09-07 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abc1670012ce858c0072f5e780016000f2c..."} 
[2026-09-07 12:50:21] local.INFO: Processing buffer {"connection_id":173394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abc1670012ce858c0072f5e780016000f2c..."} 
[2026-09-07 12:50:21] local.INFO: Packet analysis {"connection_id":173394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:21] local.INFO: Extracted packet for processing {"connection_id":173394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":753424576,"raw_latitude":120544888,"longitude_deg":75.3424576,"latitude_deg":12.0544888,"altitude":22,"angle":15,"satellites":44,"speed":24,"hex_longitude":"2ce858c0","hex_latitude":"072f5e78","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923976704001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401304645873434624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1707075334147540992,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788765542000,"timestamp_ms":1788765542000,"timestamp_seconds":1788765542,"priority":1,"record_length":96,"hex_timestamp":"000001a07abc1670"} 
[2026-09-07 12: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-07 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:50: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-07 12:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923976704001,"66":27832,"28":206,"83":44032,"24":24,"16":401304645873434624,"44":-1707075334147540992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 12:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923976704001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:50:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 12:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401304645873434624,"km_value":401304645873434.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1707075334147540992,"description":"Unknown IO ID 44"} 
[2026-09-07 12:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923976704001,"power":27832,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1707075334147540992}} 
[2026-09-07 12:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":173394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:50:21] local.INFO: GPS data processed {"connection_id":173394,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:50:21] local.INFO: Acknowledgment sent {"connection_id":173394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:50:40] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:40] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:40] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:50:41] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:41] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:41] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:50:45] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:45] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:50:45] local.INFO: IMEI packet received {"connection_id":176105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:50:46] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abcfce8012d19ae80072091e8003000c62a..."} 
[2026-09-07 12:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abcfce8012d19ae80072091e8003000c62a..."} 
[2026-09-07 12:50:46] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abcfce8012d19ae80072091e8003000c62a..."} 
[2026-09-07 12:50:46] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:46] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119575016,"longitude_deg":75.6657792,"latitude_deg":11.9575016,"altitude":48,"angle":198,"satellites":42,"speed":38,"hex_longitude":"2d19ae80","hex_latitude":"072091e8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923992576001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18330374958481408,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383507625984,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:46] local.INFO: IO Element Parsed {"io_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-07 12:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765601000,"timestamp_ms":1788765601000,"timestamp_seconds":1788765601,"priority":1,"record_length":96,"hex_timestamp":"000001a07abcfce8"} 
[2026-09-07 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-07 12:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-07 12:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923992576001,"66":14026,"103":206,"83":41984,"24":38,"16":18330374958481408,"45":1853442383507625984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 12:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923992576001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:50:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 12:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18330374958481408,"km_value":18330374958481.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383507625984,"description":"Unknown IO ID 45"} 
[2026-09-07 12:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923992576001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1853442383507625984}} 
[2026-09-07 12:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:50:47] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:50:47] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:50:50] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:50] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:50:50] local.INFO: IMEI packet received {"connection_id":176106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":176106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:50:50] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abc9b40012ce81bc0072f77380022013b2d..."} 
[2026-09-07 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abc9b40012ce81bc0072f77380022013b2d..."} 
[2026-09-07 12:50:50] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abc9b40012ce81bc0072f77380022013b2d..."} 
[2026-09-07 12:50:50] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:50] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abc"} 
[2026-09-07 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":753408960,"raw_latitude":120551224,"longitude_deg":75.340896,"latitude_deg":12.0551224,"altitude":34,"angle":315,"satellites":45,"speed":24,"hex_longitude":"2ce81bc0","hex_latitude":"072f7738","is_valid_coordinates":true} 
[2026-09-07 12:50: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-07 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923986688001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401305603651141632,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1719882445585469440,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788765576000,"timestamp_ms":1788765576000,"timestamp_seconds":1788765576,"priority":1,"record_length":96,"hex_timestamp":"000001a07abc9b40"} 
[2026-09-07 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:50: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-07 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:50:50] 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-07 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923986688001,"66":27865,"28":206,"83":44032,"24":24,"16":401305603651141632,"44":-1719882445585469440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923986688001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 12:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401305603651141632,"km_value":401305603651141.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1719882445585469440,"description":"Unknown IO ID 44"} 
[2026-09-07 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923986688001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1719882445585469440}} 
[2026-09-07 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:50:50] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:50:50] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:50:51] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abd00d0012d19ae0007208e10003000bb2a..."} 
[2026-09-07 12:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abd00d0012d19ae0007208e10003000bb2a..."} 
[2026-09-07 12:50:51] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abd00d0012d19ae0007208e10003000bb2a..."} 
[2026-09-07 12:50:51] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:50:51] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574032,"longitude_deg":75.6657664,"latitude_deg":11.9574032,"altitude":48,"angle":187,"satellites":42,"speed":38,"hex_longitude":"2d19ae00","hex_latitude":"07208e10","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923993856001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18330422203121664,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995411968,"note":"Value kept but may cause issues"} 
[2026-09-07 12:50: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-07 12:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765602000,"timestamp_ms":1788765602000,"timestamp_seconds":1788765602,"priority":1,"record_length":96,"hex_timestamp":"000001a07abd00d0"} 
[2026-09-07 12: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-07 12:50:51] 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-07 12: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 12:50:51] 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-07 12: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-07 12: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-07 12:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923993856001,"66":14233,"103":206,"83":41984,"24":38,"16":18330422203121664,"45":1850557264995411968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-07 12:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923993856001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:50:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 12:50:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18330422203121664,"km_value":18330422203121.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995411968,"description":"Unknown IO ID 45"} 
[2026-09-07 12:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923993856001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1850557264995411968}} 
[2026-09-07 12:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:50:51] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:50:51] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:51:17] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:17] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:17] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:51:21] local.INFO: TCP Data received {"connection_id":176106,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abd5aa8012ce7bec0072fad20002d01452f..."} 
[2026-09-07 12:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abd5aa8012ce7bec0072fad20002d01452f..."} 
[2026-09-07 12:51:21] local.INFO: Processing buffer {"connection_id":176106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abd5aa8012ce7bec0072fad20002d01452f..."} 
[2026-09-07 12:51:21] local.INFO: Packet analysis {"connection_id":176106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:21] local.INFO: Extracted packet for processing {"connection_id":176106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":753385152,"raw_latitude":120565024,"longitude_deg":75.3385152,"latitude_deg":12.0565024,"altitude":45,"angle":325,"satellites":47,"speed":25,"hex_longitude":"2ce7bec0","hex_latitude":"072fad20","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457923998976001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401307072529956864,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1745918880927868928,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788765625000,"timestamp_ms":1788765625000,"timestamp_seconds":1788765625,"priority":1,"record_length":96,"hex_timestamp":"000001a07abd5aa8"} 
[2026-09-07 12: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-07 12:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:51: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-07 12:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457923998976001,"66":27745,"28":206,"83":44032,"24":25,"16":401307072529956864,"44":-1745918880927868928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 12:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457923998976001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:51:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 12:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401307072529956864,"km_value":401307072529956.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1745918880927868928,"description":"Unknown IO ID 44"} 
[2026-09-07 12:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457923998976001,"power":27745,"unknown_28":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1745918880927868928}} 
[2026-09-07 12:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":176106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:51:21] local.INFO: GPS data processed {"connection_id":176106,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:51:21] local.INFO: Acknowledgment sent {"connection_id":176106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:51:23] local.INFO: TCP Data received {"connection_id":176105,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abd9928012d19ee80071ffa800029007328..."} 
[2026-09-07 12:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abd9928012d19ee80071ffa800029007328..."} 
[2026-09-07 12:51:23] local.INFO: Processing buffer {"connection_id":176105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abd9928012d19ee80071ffa800029007328..."} 
[2026-09-07 12:51:23] local.INFO: Packet analysis {"connection_id":176105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:23] local.INFO: Extracted packet for processing {"connection_id":176105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756674176,"raw_latitude":119536256,"longitude_deg":75.6674176,"latitude_deg":11.9536256,"altitude":41,"angle":115,"satellites":40,"speed":29,"hex_longitude":"2d19ee80","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-09-07 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-07 12:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924003840001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18332505262260224,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053262336,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51: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-07 12:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788765641000,"timestamp_ms":1788765641000,"timestamp_seconds":1788765641,"priority":1,"record_length":96,"hex_timestamp":"000001a07abd9928"} 
[2026-09-07 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-07 12:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-07 12:51: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-07 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-07 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-07 12:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924003840001,"66":14243,"101":206,"83":41984,"24":29,"16":18332505262260224,"45":1867867976053262336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924003840001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:51:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18332505262260224,"km_value":18332505262260.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053262336,"description":"Unknown IO ID 45"} 
[2026-09-07 12:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924003840001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1867867976053262336}} 
[2026-09-07 12:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":176105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:51:23] local.INFO: GPS data processed {"connection_id":176105,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:51:23] local.INFO: Acknowledgment sent {"connection_id":176105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:51:40] local.INFO: TCP Data received {"connection_id":174742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:40] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:40] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:51:41] local.INFO: TCP Data received {"connection_id":174742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:41] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:41] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:51:44] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:44] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:44] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:51:46] local.INFO: TCP Data received {"connection_id":174742,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:46] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:51:46] local.INFO: IMEI packet received {"connection_id":174742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":174742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:51:46] local.INFO: TCP Data received {"connection_id":174742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abd9d10012d19f1c0071ffa380029006828..."} 
[2026-09-07 12:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abd9d10012d19f1c0071ffa380029006828..."} 
[2026-09-07 12:51:46] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abd9d10012d19f1c0071ffa380029006828..."} 
[2026-09-07 12:51:46] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:46] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756675008,"raw_latitude":119536184,"longitude_deg":75.6675008,"latitude_deg":11.9536184,"altitude":41,"angle":104,"satellites":40,"speed":30,"hex_longitude":"2d19f1c0","hex_latitude":"071ffa38","is_valid_coordinates":true} 
[2026-09-07 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924004096001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18332548211933184,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868571663494971392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:46] local.INFO: IO Element Parsed {"io_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-07 12:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765642000,"timestamp_ms":1788765642000,"timestamp_seconds":1788765642,"priority":1,"record_length":96,"hex_timestamp":"000001a07abd9d10"} 
[2026-09-07 12:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-07 12:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924004096001,"66":13330,"101":206,"83":41984,"24":30,"16":18332548211933184,"45":1868571663494971392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924004096001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:51:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18332548211933184,"km_value":18332548211933.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868571663494971392,"description":"Unknown IO ID 45"} 
[2026-09-07 12:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924004096001,"power":13330,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1868571663494971392}} 
[2026-09-07 12:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:51:46] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:51:46] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:51:47] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:47] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:47] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:51:47] local.INFO: TCP Data received {"connection_id":174744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:47] local.INFO: Processing buffer {"connection_id":174744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:51:47] local.INFO: IMEI packet received {"connection_id":174744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":174744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:51:50] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:50] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:51:50] local.INFO: IMEI packet received {"connection_id":174743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":174743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:51:51] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abd6660012ce7bb40072fb390002e015330..."} 
[2026-09-07 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abd6660012ce7bb40072fb390002e015330..."} 
[2026-09-07 12:51:51] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abd6660012ce7bb40072fb390002e015330..."} 
[2026-09-07 12:51:51] local.INFO: Packet analysis {"connection_id":174743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:51] local.INFO: Extracted packet for processing {"connection_id":174743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abd"} 
[2026-09-07 12:51:51] local.INFO: GPS Element Parsed {"raw_longitude":753384256,"raw_latitude":120566672,"longitude_deg":75.3384256,"latitude_deg":12.0566672,"altitude":46,"angle":339,"satellites":48,"speed":24,"hex_longitude":"2ce7bb40","hex_latitude":"072fb390","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924000000001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401307162724270080,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1747748468275994624,"note":"Value kept but may cause issues"} 
[2026-09-07 12:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765628000,"timestamp_ms":1788765628000,"timestamp_seconds":1788765628,"priority":1,"record_length":96,"hex_timestamp":"000001a07abd6660"} 
[2026-09-07 12: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-07 12:51: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-07 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 12:51:51] 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-07 12:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12: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-07 12:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:51: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-07 12:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924000000001,"66":27865,"28":206,"83":44032,"24":24,"16":401307162724270080,"44":-1747748468275994624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 12:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924000000001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:51:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 12:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401307162724270080,"km_value":401307162724270.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1747748468275994624,"description":"Unknown IO ID 44"} 
[2026-09-07 12:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924000000001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1747748468275994624}} 
[2026-09-07 12:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":174743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:51:51] local.INFO: GPS data processed {"connection_id":174743,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:51:51] local.INFO: Acknowledgment sent {"connection_id":174743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:52:17] local.INFO: TCP Data received {"connection_id":174742,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abe6830012d1aaf80071f97600038006027..."} 
[2026-09-07 12:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abe6830012d1aaf80071f97600038006027..."} 
[2026-09-07 12:52:17] local.INFO: Processing buffer {"connection_id":174742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abe6830012d1aaf80071f97600038006027..."} 
[2026-09-07 12:52:17] local.INFO: Packet analysis {"connection_id":174742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:17] local.INFO: Extracted packet for processing {"connection_id":174742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756723584,"raw_latitude":119510880,"longitude_deg":75.6723584,"latitude_deg":11.951088,"altitude":56,"angle":96,"satellites":39,"speed":43,"hex_longitude":"2d1aaf80","hex_latitude":"071f9760","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924017152001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18335301285969920,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920503796691671040,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788765694000,"timestamp_ms":1788765694000,"timestamp_seconds":1788765694,"priority":1,"record_length":96,"hex_timestamp":"000001a07abe6830"} 
[2026-09-07 12: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-07 12:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:52:17] 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-07 12: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-07 12: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-07 12:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924017152001,"66":14298,"101":206,"83":41984,"24":43,"16":18335301285969920,"45":1920503796691671040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924017152001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:52:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18335301285969920,"km_value":18335301285969.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920503796691671040,"description":"Unknown IO ID 45"} 
[2026-09-07 12:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924017152001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1920503796691671040}} 
[2026-09-07 12:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":174742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:52:17] local.INFO: GPS data processed {"connection_id":174742,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:52:17] local.INFO: Acknowledgment sent {"connection_id":174742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:52:22] local.INFO: TCP Data received {"connection_id":174743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abe8388012ce75b0007306090002a00e52b..."} 
[2026-09-07 12:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abe8388012ce75b0007306090002a00e52b..."} 
[2026-09-07 12:52:22] local.INFO: Processing buffer {"connection_id":174743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abe8388012ce75b0007306090002a00e52b..."} 
[2026-09-07 12:52:22] local.INFO: Packet analysis {"connection_id":174743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:22] local.INFO: Extracted packet for processing {"connection_id":174743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":753359616,"raw_latitude":120610960,"longitude_deg":75.3359616,"latitude_deg":12.061096,"altitude":42,"angle":229,"satellites":43,"speed":22,"hex_longitude":"2ce75b00","hex_latitude":"07306090","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924019200001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401309872848633856,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1775333015981805568,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788765701000,"timestamp_ms":1788765701000,"timestamp_seconds":1788765701,"priority":1,"record_length":96,"hex_timestamp":"000001a07abe8388"} 
[2026-09-07 12: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-07 12:52: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-07 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:52:22] 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-07 12: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-07 12: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-07 12:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:52:22] 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-07 12:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924019200001,"66":27843,"67":206,"83":44032,"24":22,"16":401309872848633856,"44":-1775333015981805568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-07 12:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924019200001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:52:22] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 12:52:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401309872848633856,"km_value":401309872848633.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1775333015981805568,"description":"Unknown IO ID 44"} 
[2026-09-07 12:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924019200001,"power":27843,"unknown_67":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1775333015981805568}} 
[2026-09-07 12:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":174743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:52:22] local.INFO: GPS data processed {"connection_id":174743,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:52:22] local.INFO: Acknowledgment sent {"connection_id":174743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:52:43] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:43] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:43] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:52:47] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:52:47] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:52:47] local.INFO: IMEI packet received {"connection_id":176107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":176107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:52:48] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abe73e8012d1abb80071f95000038006e27..."} 
[2026-09-07 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abe73e8012d1abb80071f95000038006e27..."} 
[2026-09-07 12:52:48] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abe73e8012d1abb80071f95000038006e27..."} 
[2026-09-07 12:52:48] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:48] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756726656,"raw_latitude":119510272,"longitude_deg":75.6726656,"latitude_deg":11.9510272,"altitude":56,"angle":110,"satellites":39,"speed":39,"hex_longitude":"2d1abb80","hex_latitude":"071f9500","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924017664001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18335455904792576,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1922896333993631744,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52: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-07 12:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788765697000,"timestamp_ms":1788765697000,"timestamp_seconds":1788765697,"priority":1,"record_length":96,"hex_timestamp":"000001a07abe73e8"} 
[2026-09-07 12: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-07 12:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 12:52:48] 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-07 12: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-07 12: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-07 12:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924017664001,"66":14233,"101":206,"83":41984,"24":39,"16":18335455904792576,"45":1922896333993631744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924017664001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:52:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18335455904792576,"km_value":18335455904792.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1922896333993631744,"description":"Unknown IO ID 45"} 
[2026-09-07 12:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924017664001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1922896333993631744}} 
[2026-09-07 12:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:52:48] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:52:48] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:52:51] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abe7bb8012d1ac240071f91f80037007c25..."} 
[2026-09-07 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abe7bb8012d1ac240071f91f80037007c25..."} 
[2026-09-07 12:52:51] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abe7bb8012d1ac240071f91f80037007c25..."} 
[2026-09-07 12:52:51] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:51] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":119509496,"longitude_deg":75.6728384,"latitude_deg":11.9509496,"altitude":55,"angle":124,"satellites":37,"speed":32,"hex_longitude":"2d1ac240","hex_latitude":"071f91f8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924018432001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18335541804138496,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926274033714003968,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52: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-07 12:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765699000,"timestamp_ms":1788765699000,"timestamp_seconds":1788765699,"priority":1,"record_length":96,"hex_timestamp":"000001a07abe7bb8"} 
[2026-09-07 12: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-07 12:52:51] 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-07 12: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 12:52: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-07 12: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-07 12: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-07 12:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924018432001,"66":13928,"101":206,"83":41984,"24":32,"16":18335541804138496,"45":1926274033714003968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924018432001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:52:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18335541804138496,"km_value":18335541804138.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926274033714003968,"description":"Unknown IO ID 45"} 
[2026-09-07 12:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924018432001,"power":13928,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1926274033714003968}} 
[2026-09-07 12:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:52:51] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:52:51] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:52:51] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:51] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:51] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:52:52] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:52] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:52] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:52:55] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:55] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:52:55] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:52:55] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abe8770012ce7598007305ec8002a00d32c..."} 
[2026-09-07 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abe8770012ce7598007305ec8002a00d32c..."} 
[2026-09-07 12:52:55] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abe8770012ce7598007305ec8002a00d32c..."} 
[2026-09-07 12:52:55] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:55] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abe"} 
[2026-09-07 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":753359232,"raw_latitude":120610504,"longitude_deg":75.3359232,"latitude_deg":12.0610504,"altitude":42,"angle":211,"satellites":44,"speed":23,"hex_longitude":"2ce75980","hex_latitude":"07305ec8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924019456001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401309902913404928,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1775825597191122944,"note":"Value kept but may cause issues"} 
[2026-09-07 12:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788765702000,"timestamp_ms":1788765702000,"timestamp_seconds":1788765702,"priority":1,"record_length":96,"hex_timestamp":"000001a07abe8770"} 
[2026-09-07 12: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-07 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 12:52:55] 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-07 12: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-07 12: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-07 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:52:55] 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-07 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924019456001,"66":27843,"67":206,"83":44032,"24":23,"16":401309902913404928,"44":-1775825597191122944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-07 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924019456001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:52:55] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 12:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401309902913404928,"km_value":401309902913404.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1775825597191122944,"description":"Unknown IO ID 44"} 
[2026-09-07 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924019456001,"power":27843,"unknown_67":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1775825597191122944}} 
[2026-09-07 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:52:55] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:52:55] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:53:22] local.INFO: TCP Data received {"connection_id":176107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abf5e48012d1b3300071f7450003c005d27..."} 
[2026-09-07 12:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abf5e48012d1b3300071f7450003c005d27..."} 
[2026-09-07 12:53:22] local.INFO: Processing buffer {"connection_id":176107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abf5e48012d1b3300071f7450003c005d27..."} 
[2026-09-07 12:53:22] local.INFO: Packet analysis {"connection_id":176107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:22] local.INFO: Extracted packet for processing {"connection_id":176107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119501904,"longitude_deg":75.6757248,"latitude_deg":11.9501904,"altitude":60,"angle":93,"satellites":39,"speed":30,"hex_longitude":"2d1b3300","hex_latitude":"071f7450","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924032256001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18337126647070720,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955054850080813056,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53: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-07 12:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788765757000,"timestamp_ms":1788765757000,"timestamp_seconds":1788765757,"priority":1,"record_length":96,"hex_timestamp":"000001a07abf5e48"} 
[2026-09-07 12: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-07 12:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 12:53:22] 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-07 12: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-07 12: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-07 12:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924032256001,"66":14396,"101":206,"83":41984,"24":30,"16":18337126647070720,"45":1955054850080813056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924032256001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:53:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18337126647070720,"km_value":18337126647070.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955054850080813056,"description":"Unknown IO ID 45"} 
[2026-09-07 12:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924032256001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1955054850080813056}} 
[2026-09-07 12:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":176107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:53:22] local.INFO: GPS data processed {"connection_id":176107,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:53:22] local.INFO: Acknowledgment sent {"connection_id":176107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:53:26] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abf5e48012ce6a54007306c00002a01172f..."} 
[2026-09-07 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abf5e48012ce6a54007306c00002a01172f..."} 
[2026-09-07 12:53:26] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abf5e48012ce6a54007306c00002a01172f..."} 
[2026-09-07 12:53:26] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:26] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":753313088,"raw_latitude":120613888,"longitude_deg":75.3313088,"latitude_deg":12.0613888,"altitude":42,"angle":279,"satellites":47,"speed":62,"hex_longitude":"2ce6a540","hex_latitude":"07306c00","is_valid_coordinates":true} 
[2026-09-07 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924032768001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1820298643511144448,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401312488483717120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788765757000,"timestamp_ms":1788765757000,"timestamp_seconds":1788765757,"priority":1,"record_length":96,"hex_timestamp":"000001a07abf5e48"} 
[2026-09-07 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 12:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:53: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-07 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924032768001,"66":27984,"44":-1820298643511144448,"83":44032,"24":62,"16":401312488483717120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924032768001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1820298643511144448,"description":"Unknown IO ID 44"} 
[2026-09-07 12:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401312488483717120,"km_value":401312488483717.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457924032768001,"power":27984,"unknown_44":-1820298643511144448,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-09-07 12:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:53:26] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:53:26] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:53:36] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:36] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:36] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:53:41] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:41] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:41] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:53:44] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:44] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:44] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:53:46] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:46] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:53:46] local.INFO: IMEI packet received {"connection_id":173395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:53:46] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abf6a00012d1b3bc0071f7508003b004627..."} 
[2026-09-07 12:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abf6a00012d1b3bc0071f7508003b004627..."} 
[2026-09-07 12:53:46] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abf6a00012d1b3bc0071f7508003b004627..."} 
[2026-09-07 12:53:46] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:46] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756759488,"raw_latitude":119502088,"longitude_deg":75.6759488,"latitude_deg":11.9502088,"altitude":59,"angle":70,"satellites":39,"speed":26,"hex_longitude":"2d1b3bc0","hex_latitude":"071f7508","is_valid_coordinates":true} 
[2026-09-07 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-07 12:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924033792001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18337234021253120,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293428785152,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:46] local.INFO: IO Element Parsed {"io_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-07 12:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765760000,"timestamp_ms":1788765760000,"timestamp_seconds":1788765760,"priority":1,"record_length":96,"hex_timestamp":"000001a07abf6a00"} 
[2026-09-07 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-07 12:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 12:53:46] 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-07 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-07 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-07 12:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924033792001,"66":14265,"101":206,"83":41984,"24":26,"16":18337234021253120,"45":1959910293428785152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924033792001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:53:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18337234021253120,"km_value":18337234021253.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293428785152,"description":"Unknown IO ID 45"} 
[2026-09-07 12:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924033792001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1959910293428785152}} 
[2026-09-07 12:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:53:47] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:53:47] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:53:50] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:50] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:53:50] local.INFO: IMEI packet received {"connection_id":173396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:53:51] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abf6de8012ce68c8007306d700029010c30..."} 
[2026-09-07 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abf6de8012ce68c8007306d700029010c30..."} 
[2026-09-07 12:53:51] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abf6de8012ce68c8007306d700029010c30..."} 
[2026-09-07 12:53:51] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:51] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":753306752,"raw_latitude":120614256,"longitude_deg":75.3306752,"latitude_deg":12.0614256,"altitude":41,"angle":268,"satellites":48,"speed":62,"hex_longitude":"2ce68c80","hex_latitude":"07306d70","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924033792001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1826983674207535104,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401312789131427840,"note":"Value kept but may cause issues"} 
[2026-09-07 12:53:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765761000,"timestamp_ms":1788765761000,"timestamp_seconds":1788765761,"priority":1,"record_length":96,"hex_timestamp":"000001a07abf6de8"} 
[2026-09-07 12: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-07 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 12:53:51] 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-07 12: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-07 12: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-07 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:53: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-07 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924033792001,"66":27908,"44":-1826983674207535104,"83":44032,"24":62,"16":401312789131427840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924033792001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1826983674207535104,"description":"Unknown IO ID 44"} 
[2026-09-07 12:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401312789131427840,"km_value":401312789131427.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457924033792001,"power":27908,"unknown_44":-1826983674207535104,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-09-07 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:53:51] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:53:51] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:54:18] local.INFO: TCP Data received {"connection_id":173395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07abff6a0012d1b6c40071f6e580040005525..."} 
[2026-09-07 12:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abff6a0012d1b6c40071f6e580040005525..."} 
[2026-09-07 12:54:18] local.INFO: Processing buffer {"connection_id":173395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abff6a0012d1b6c40071f6e580040005525..."} 
[2026-09-07 12:54:18] local.INFO: Packet analysis {"connection_id":173395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:54:18] local.INFO: Extracted packet for processing {"connection_id":173395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756771904,"raw_latitude":119500376,"longitude_deg":75.6771904,"latitude_deg":11.9500376,"altitude":64,"angle":85,"satellites":37,"speed":9,"hex_longitude":"2d1b6c40","hex_latitude":"071f6e58","is_valid_coordinates":true} 
[2026-09-07 12:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924042752001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18337972755628032,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975109942170800128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:18] local.INFO: IO Element Parsed {"io_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-07 12:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788765796000,"timestamp_ms":1788765796000,"timestamp_seconds":1788765796,"priority":1,"record_length":96,"hex_timestamp":"000001a07abff6a0"} 
[2026-09-07 12:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:54:18] 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-07 12:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 12:54:18] 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-07 12:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924042752001,"66":14080,"101":206,"83":41984,"24":9,"16":18337972755628032,"45":1975109942170800128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924042752001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:54:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18337972755628032,"km_value":18337972755628.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975109942170800128,"description":"Unknown IO ID 45"} 
[2026-09-07 12:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924042752001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1975109942170800128}} 
[2026-09-07 12:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":173395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:54:18] local.INFO: GPS data processed {"connection_id":173395,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:54:18] local.INFO: Acknowledgment sent {"connection_id":173395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:54:22] local.INFO: TCP Data received {"connection_id":173396,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07abf8558012ce66740073069900026010530..."} 
[2026-09-07 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07abf8558012ce66740073069900026010530..."} 
[2026-09-07 12:54:22] local.INFO: Processing buffer {"connection_id":173396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07abf8558012ce66740073069900026010530..."} 
[2026-09-07 12:54:22] local.INFO: Packet analysis {"connection_id":173396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:54:22] local.INFO: Extracted packet for processing {"connection_id":173396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07abf"} 
[2026-09-07 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":753297216,"raw_latitude":120613264,"longitude_deg":75.3297216,"latitude_deg":12.0613264,"altitude":38,"angle":261,"satellites":48,"speed":62,"hex_longitude":"2ce66740","hex_latitude":"07306990","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924034816001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1833950179881029632,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401313244397961216,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788765767000,"timestamp_ms":1788765767000,"timestamp_seconds":1788765767,"priority":1,"record_length":96,"hex_timestamp":"000001a07abf8558"} 
[2026-09-07 12: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-07 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12: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-07 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:54:22] 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-07 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924034816001,"66":27908,"44":-1833950179881029632,"83":44032,"24":62,"16":401313244397961216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924034816001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1833950179881029632,"description":"Unknown IO ID 44"} 
[2026-09-07 12:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401313244397961216,"km_value":401313244397961.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457924034816001,"power":27908,"unknown_44":-1833950179881029632,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-09-07 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":173396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:54:22] local.INFO: GPS data processed {"connection_id":173396,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:54:22] local.INFO: Acknowledgment sent {"connection_id":173396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:54:40] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:54:40] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:40] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:54:41] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:41] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:41] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:54:44] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:44] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:44] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:54:46] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:46] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 12:54:46] local.INFO: IMEI packet received {"connection_id":173397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 12:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:54:46] local.INFO: TCP Data received {"connection_id":173397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac02968012d1b78c0071f6f700045004525..."} 
[2026-09-07 12:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac02968012d1b78c0071f6f700045004525..."} 
[2026-09-07 12:54:46] local.INFO: Processing buffer {"connection_id":173397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac02968012d1b78c0071f6f700045004525..."} 
[2026-09-07 12:54:46] local.INFO: Packet analysis {"connection_id":173397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:54:46] local.INFO: Extracted packet for processing {"connection_id":173397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756775104,"raw_latitude":119500656,"longitude_deg":75.6775104,"latitude_deg":11.9500656,"altitude":69,"angle":69,"satellites":37,"speed":8,"hex_longitude":"2d1b78c0","hex_latitude":"071f6f70","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924043776001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18338123079483392,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976024735845079040,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.INFO: IO Element Parsed {"io_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-07 12:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788765809000,"timestamp_ms":1788765809000,"timestamp_seconds":1788765809,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac02968"} 
[2026-09-07 12: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-07 12:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3215491073,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-07 12:54:46] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3355520283,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,38,160,231,45,110,64,37,10,66,180,109,63,172,1,240,27,227,122,31,4,113,205,14,156,168,239,56,2,65,7,61],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-07 12:54:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611779635830128640,"timestamp_seconds":4611779635830129.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 12: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-07 12:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 12:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 12:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 12:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924043776001,"66":13972,"101":206,"83":41984,"24":8,"16":18338123079483392,"45":1976024735845079040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-07 12:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 12:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 12:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924043776001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:54:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 12:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 12:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18338123079483392,"km_value":18338123079483.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976024735845079040,"description":"Unknown IO ID 45"} 
[2026-09-07 12:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924043776001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1976024735845079040}} 
[2026-09-07 12:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":173397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:54:47] local.INFO: GPS data processed {"connection_id":173397,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:54:47] local.INFO: Acknowledgment sent {"connection_id":173397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:54:50] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:50] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:54:50] local.INFO: IMEI packet received {"connection_id":174746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":174746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:54:51] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac09ab0012ce4dc000730a3100016011a32..."} 
[2026-09-07 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac09ab0012ce4dc000730a3100016011a32..."} 
[2026-09-07 12:54:51] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac09ab0012ce4dc000730a3100016011a32..."} 
[2026-09-07 12:54:51] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:54:51] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":753196032,"raw_latitude":120627984,"longitude_deg":75.3196032,"latitude_deg":12.0627984,"altitude":22,"angle":282,"satellites":50,"speed":54,"hex_longitude":"2ce4dc00","hex_latitude":"0730a310","is_valid_coordinates":true} 
[2026-09-07 12:54: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-07 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924052736001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401318196495253504,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1944780951957587968,"note":"Value kept but may cause issues"} 
[2026-09-07 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788765838000,"timestamp_ms":1788765838000,"timestamp_seconds":1788765838,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac09ab0"} 
[2026-09-07 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:54: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-07 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:54: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-07 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924052736001,"66":27604,"180":206,"83":44032,"24":54,"16":401318196495253504,"44":-1944780951957587968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-07 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924052736001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:54:51] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 12:54:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401318196495253504,"km_value":401318196495253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1944780951957587968,"description":"Unknown IO ID 44"} 
[2026-09-07 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924052736001,"power":27604,"unknown_180":206,"unknown_83":44032,"ignition":54,"odometer":null,"unknown_44":-1944780951957587968}} 
[2026-09-07 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:54:51] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:54:51] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:55:23] local.INFO: TCP Data received {"connection_id":174746,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac0aa50012ce4c7c00730a9d00016012630..."} 
[2026-09-07 12:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac0aa50012ce4c7c00730a9d00016012630..."} 
[2026-09-07 12:55:23] local.INFO: Processing buffer {"connection_id":174746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac0aa50012ce4c7c00730a9d00016012630..."} 
[2026-09-07 12:55:23] local.INFO: Packet analysis {"connection_id":174746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:23] local.INFO: Extracted packet for processing {"connection_id":174746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":753190848,"raw_latitude":120629712,"longitude_deg":75.3190848,"latitude_deg":12.0629712,"altitude":22,"angle":294,"satellites":48,"speed":53,"hex_longitude":"2ce4c7c0","hex_latitude":"0730a9d0","is_valid_coordinates":true} 
[2026-09-07 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-07 12:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924054528001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401318454193291264,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1955688107304873984,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788765842000,"timestamp_ms":1788765842000,"timestamp_seconds":1788765842,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac0aa50"} 
[2026-09-07 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-07 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 12:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55: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-07 12:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924054528001,"66":27908,"180":206,"83":44032,"24":53,"16":401318454193291264,"44":-1955688107304873984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-07 12:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924054528001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:55:23] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 12:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401318454193291264,"km_value":401318454193291.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1955688107304873984,"description":"Unknown IO ID 44"} 
[2026-09-07 12:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924054528001,"power":27908,"unknown_180":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1955688107304873984}} 
[2026-09-07 12:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":174746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:55:23] local.INFO: GPS data processed {"connection_id":174746,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:55:23] local.INFO: Acknowledgment sent {"connection_id":174746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:55:46] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:46] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:46] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:55:50] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:50] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:50] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:55:53] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:53] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:55:53] local.INFO: IMEI packet received {"connection_id":176110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":176110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:55:54] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac0b9f0012ce4b5c00730b448001601332e..."} 
[2026-09-07 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac0b9f0012ce4b5c00730b448001601332e..."} 
[2026-09-07 12:55:54] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac0b9f0012ce4b5c00730b448001601332e..."} 
[2026-09-07 12:55:54] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:54] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:54] local.INFO: GPS Element Parsed {"raw_longitude":753186240,"raw_latitude":120632392,"longitude_deg":75.318624,"latitude_deg":12.0632392,"altitude":22,"angle":307,"satellites":46,"speed":51,"hex_longitude":"2ce4b5c0","hex_latitude":"0730b448","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924055552001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401318707596361728,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1961387975582822400,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788765846000,"timestamp_ms":1788765846000,"timestamp_seconds":1788765846,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac0b9f0"} 
[2026-09-07 12: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-07 12:55: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-07 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55:54] 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-07 12:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924055552001,"66":27821,"180":206,"83":44032,"24":51,"16":401318707596361728,"44":-1961387975582822400},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-07 12:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924055552001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:55:54] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 12:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401318707596361728,"km_value":401318707596361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1961387975582822400,"description":"Unknown IO ID 44"} 
[2026-09-07 12:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924055552001,"power":27821,"unknown_180":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-1961387975582822400}} 
[2026-09-07 12:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:55:54] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:55:54] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:55:55] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac0d930012ce496400730cbe8001501302e..."} 
[2026-09-07 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac0d930012ce496400730cbe8001501302e..."} 
[2026-09-07 12:55:55] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac0d930012ce496400730cbe8001501302e..."} 
[2026-09-07 12:55:55] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:55] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac0"} 
[2026-09-07 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":753178176,"raw_latitude":120638440,"longitude_deg":75.3178176,"latitude_deg":12.063844,"altitude":21,"angle":304,"satellites":46,"speed":48,"hex_longitude":"2ce49640","hex_latitude":"0730cbe8","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924056576001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401319192927666176,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1966454525162928128,"note":"Value kept but may cause issues"} 
[2026-09-07 12:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788765854000,"timestamp_ms":1788765854000,"timestamp_seconds":1788765854,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac0d930"} 
[2026-09-07 12: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-07 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:55:55] 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-07 12: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-07 12: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-07 12:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:55:55] 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-07 12:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924056576001,"66":27745,"180":206,"83":44032,"24":48,"16":401319192927666176,"44":-1966454525162928128},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-07 12:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924056576001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:55:55] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 12:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401319192927666176,"km_value":401319192927666.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1966454525162928128,"description":"Unknown IO ID 44"} 
[2026-09-07 12:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924056576001,"power":27745,"unknown_180":206,"unknown_83":44032,"ignition":48,"odometer":null,"unknown_44":-1966454525162928128}} 
[2026-09-07 12:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:55:55] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:55:55] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:56:40] local.INFO: TCP Data received {"connection_id":176110,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac21980012ce2ef40073151d0001e013231..."} 
[2026-09-07 12:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac21980012ce2ef40073151d0001e013231..."} 
[2026-09-07 12:56:40] local.INFO: Processing buffer {"connection_id":176110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac21980012ce2ef40073151d0001e013231..."} 
[2026-09-07 12:56:40] local.INFO: Packet analysis {"connection_id":176110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:56:40] local.INFO: Extracted packet for processing {"connection_id":176110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:56:40] local.INFO: GPS Element Parsed {"raw_longitude":753069888,"raw_latitude":120672720,"longitude_deg":75.3069888,"latitude_deg":12.067272,"altitude":30,"angle":306,"satellites":49,"speed":57,"hex_longitude":"2ce2ef40","hex_latitude":"073151d0","is_valid_coordinates":true} 
[2026-09-07 12:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924077824001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401324673305935872,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2085236965325948928,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788765936000,"timestamp_ms":1788765936000,"timestamp_seconds":1788765936,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac21980"} 
[2026-09-07 12:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924077824001,"66":27919,"181":206,"83":44032,"24":57,"16":401324673305935872,"44":-2085236965325948928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 12:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924077824001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:56:40] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 12:56:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401324673305935872,"km_value":401324673305935.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2085236965325948928,"description":"Unknown IO ID 44"} 
[2026-09-07 12:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924077824001,"power":27919,"unknown_181":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-2085236965325948928}} 
[2026-09-07 12:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":176110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:56:40] local.INFO: GPS data processed {"connection_id":176110,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:56:40] local.INFO: Acknowledgment sent {"connection_id":176110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:56:45] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:45] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:45] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:56:48] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:48] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:56:48] local.INFO: IMEI packet received {"connection_id":176111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":176111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:56:48] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:56:48] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:56:48] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:56:48] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:56:48] local.INFO: GPS Element Parsed {"raw_longitude":753061056,"raw_latitude":120677928,"longitude_deg":75.3061056,"latitude_deg":12.0677928,"altitude":32,"angle":292,"satellites":50,"speed":57,"hex_longitude":"2ce2ccc0","hex_latitude":"07316628","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924079616001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401325167227174912,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2094384902067597312,"note":"Value kept but may cause issues"} 
[2026-09-07 12:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788765943000,"timestamp_ms":1788765943000,"timestamp_seconds":1788765943,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac234d8"} 
[2026-09-07 12: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-07 12:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 12:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12: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-07 12: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-07 12:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:56: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-07 12:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924079616001,"66":27865,"181":206,"83":44032,"24":57,"16":401325167227174912,"44":-2094384902067597312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 12:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924079616001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:56:48] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 12:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401325167227174912,"km_value":401325167227174.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2094384902067597312,"description":"Unknown IO ID 44"} 
[2026-09-07 12:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924079616001,"power":27865,"unknown_181":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-2094384902067597312}} 
[2026-09-07 12:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:56:48] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:56:48] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:56:52] local.INFO: TCP Data received {"connection_id":174747,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:56:52] local.INFO: Processing buffer {"connection_id":174747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 12:56:52] local.INFO: IMEI packet received {"connection_id":174747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 12:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":174747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:57:19] local.INFO: TCP Data received {"connection_id":176111,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:57:19] local.INFO: Processing buffer {"connection_id":176111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac234d8012ce2ccc0073166280020012432..."} 
[2026-09-07 12:57:19] local.INFO: Packet analysis {"connection_id":176111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:57:19] local.INFO: Extracted packet for processing {"connection_id":176111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac2"} 
[2026-09-07 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":753061056,"raw_latitude":120677928,"longitude_deg":75.3061056,"latitude_deg":12.0677928,"altitude":32,"angle":292,"satellites":50,"speed":57,"hex_longitude":"2ce2ccc0","hex_latitude":"07316628","is_valid_coordinates":true} 
[2026-09-07 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-07 12:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924081408001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401325167227174912,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2104095788762781696,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788765943000,"timestamp_ms":1788765943000,"timestamp_seconds":1788765943,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac234d8"} 
[2026-09-07 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-07 12:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 12:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:57: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-07 12:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924081408001,"66":27865,"181":206,"83":44032,"24":57,"16":401325167227174912,"44":-2104095788762781696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 12:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924081408001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:57:19] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 12:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-09-07 12:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401325167227174912,"km_value":401325167227174.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2104095788762781696,"description":"Unknown IO ID 44"} 
[2026-09-07 12:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924081408001,"power":27865,"unknown_181":206,"unknown_83":44032,"ignition":57,"odometer":null,"unknown_44":-2104095788762781696}} 
[2026-09-07 12:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":176111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:57:19] local.INFO: GPS data processed {"connection_id":176111,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:57:19] local.INFO: Acknowledgment sent {"connection_id":176111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:57:52] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:52] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:52] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:57:55] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:57:55] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:57:55] local.INFO: IMEI packet received {"connection_id":173398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:57:58] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac34a30012ce1360007318b880025012031..."} 
[2026-09-07 12:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac34a30012ce1360007318b880025012031..."} 
[2026-09-07 12:57:58] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac34a30012ce1360007318b880025012031..."} 
[2026-09-07 12:57:58] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:57:58] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:57:58] local.INFO: GPS Element Parsed {"raw_longitude":752956928,"raw_latitude":120687496,"longitude_deg":75.2956928,"latitude_deg":12.0687496,"altitude":37,"angle":288,"satellites":49,"speed":60,"hex_longitude":"2ce13600","hex_latitude":"07318b88","is_valid_coordinates":true} 
[2026-09-07 12:57: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-07 12:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924098304001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401330213813747712,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2210282223724855296,"note":"Value kept but may cause issues"} 
[2026-09-07 12:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788766014000,"timestamp_ms":1788766014000,"timestamp_seconds":1788766014,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac34a30"} 
[2026-09-07 12:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 12:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 12:57: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-07 12:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:57:58] 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-07 12:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924098304001,"66":27876,"45":206,"83":40960,"24":60,"16":401330213813747712,"44":-2210282223724855296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 12:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924098304001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 12:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401330213813747712,"km_value":401330213813747.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2210282223724855296,"description":"Unknown IO ID 44"} 
[2026-09-07 12:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924098304001,"power":27876,"unknown_45":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2210282223724855296}} 
[2026-09-07 12:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:57:58] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:57:58] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:58:02] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac361a0012ce11500073199180024012630..."} 
[2026-09-07 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac361a0012ce11500073199180024012630..."} 
[2026-09-07 12:58:02] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac361a0012ce11500073199180024012630..."} 
[2026-09-07 12:58:02] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:58:02] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":752948480,"raw_latitude":120690968,"longitude_deg":75.294848,"latitude_deg":12.0690968,"altitude":36,"angle":294,"satellites":48,"speed":59,"hex_longitude":"2ce11500","hex_latitude":"07319918","is_valid_coordinates":true} 
[2026-09-07 12:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924099584001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401330647605444608,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2218585735537391616,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788766020000,"timestamp_ms":1788766020000,"timestamp_seconds":1788766020,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac361a0"} 
[2026-09-07 12:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 12:58:02] 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-07 12:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:58:02] 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-07 12:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924099584001,"66":27767,"45":206,"83":40960,"24":59,"16":401330647605444608,"44":-2218585735537391616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 12:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924099584001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 12:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401330647605444608,"km_value":401330647605444.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2218585735537391616,"description":"Unknown IO ID 44"} 
[2026-09-07 12:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924099584001,"power":27767,"unknown_45":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2218585735537391616}} 
[2026-09-07 12:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:58:02] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:58:02] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:58:06] local.INFO: TCP Data received {"connection_id":173398,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac37910012ce0f4c00731a7b00024012532..."} 
[2026-09-07 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac37910012ce0f4c00731a7b00024012532..."} 
[2026-09-07 12:58:06] local.INFO: Processing buffer {"connection_id":173398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac37910012ce0f4c00731a7b00024012532..."} 
[2026-09-07 12:58:06] local.INFO: Packet analysis {"connection_id":173398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:58:06] local.INFO: Extracted packet for processing {"connection_id":173398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":752940224,"raw_latitude":120694704,"longitude_deg":75.2940224,"latitude_deg":12.0694704,"altitude":36,"angle":293,"satellites":50,"speed":58,"hex_longitude":"2ce0f4c0","hex_latitude":"0731a7b0","is_valid_coordinates":true} 
[2026-09-07 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 12:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924101120001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401331077102174208,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2227874409767954432,"note":"Value kept but may cause issues"} 
[2026-09-07 12:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788766026000,"timestamp_ms":1788766026000,"timestamp_seconds":1788766026,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac37910"} 
[2026-09-07 12:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 12:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 12:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 12:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 12:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 12:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924101120001,"66":27821,"45":206,"83":40960,"24":58,"16":401331077102174208,"44":-2227874409767954432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 12:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924101120001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 12:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401331077102174208,"km_value":401331077102174.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2227874409767954432,"description":"Unknown IO ID 44"} 
[2026-09-07 12:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924101120001,"power":27821,"unknown_45":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2227874409767954432}} 
[2026-09-07 12:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":173398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:58:06] local.INFO: GPS data processed {"connection_id":173398,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:58:06] local.INFO: Acknowledgment sent {"connection_id":173398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:58:51] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:58:51] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:58:51] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:59:18] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:18] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:18] local.INFO: IMEI packet received {"connection_id":176112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":176112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:59:22] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac39468012ce0cf800731b8d00024012732..."} 
[2026-09-07 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac39468012ce0cf800731b8d00024012732..."} 
[2026-09-07 12:59:22] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac39468012ce0cf800731b8d00024012732..."} 
[2026-09-07 12:59:22] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:59:22] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac3"} 
[2026-09-07 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":752930688,"raw_latitude":120699088,"longitude_deg":75.2930688,"latitude_deg":12.0699088,"altitude":36,"angle":295,"satellites":50,"speed":59,"hex_longitude":"2ce0cf80","hex_latitude":"0731b8d0","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924102656001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401331575318380544,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2236951977765916672,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788766033000,"timestamp_ms":1788766033000,"timestamp_seconds":1788766033,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac39468"} 
[2026-09-07 12: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-07 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 12:59:22] 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-07 12: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-07 12: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-07 12:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59:22] 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-07 12:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924102656001,"66":27843,"45":206,"83":40960,"24":59,"16":401331575318380544,"44":-2236951977765916672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-09-07 12:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924102656001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-09-07 12:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401331575318380544,"km_value":401331575318380.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:59:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2236951977765916672,"description":"Unknown IO ID 44"} 
[2026-09-07 12:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924102656001,"power":27843,"unknown_45":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2236951977765916672}} 
[2026-09-07 12:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:59:22] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:59:22] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:59:23] local.INFO: TCP Data received {"connection_id":176112,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac4b190012cdf3ac0073244f8001201232d..."} 
[2026-09-07 12:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac4b190012cdf3ac0073244f8001201232d..."} 
[2026-09-07 12:59:23] local.INFO: Processing buffer {"connection_id":176112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac4b190012cdf3ac0073244f8001201232d..."} 
[2026-09-07 12:59:23] local.INFO: Packet analysis {"connection_id":176112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 12:59:23] local.INFO: Extracted packet for processing {"connection_id":176112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":752827072,"raw_latitude":120734968,"longitude_deg":75.2827072,"latitude_deg":12.0734968,"altitude":18,"angle":291,"satellites":45,"speed":58,"hex_longitude":"2cdf3ac0","hex_latitude":"073244f8","is_valid_coordinates":true} 
[2026-09-07 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-07 12:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924121600001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401336823768416256,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2352075243231080448,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788766106000,"timestamp_ms":1788766106000,"timestamp_seconds":1788766106,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac4b190"} 
[2026-09-07 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-07 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-07 12:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 12:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59: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-07 12:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924121600001,"66":27789,"146":206,"83":40960,"24":58,"16":401336823768416256,"44":-2352075243231080448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-07 12:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924121600001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:59:23] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 12:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401336823768416256,"km_value":401336823768416.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:59:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2352075243231080448,"description":"Unknown IO ID 44"} 
[2026-09-07 12:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924121600001,"power":27789,"unknown_146":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2352075243231080448}} 
[2026-09-07 12:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":176112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:59:23] local.INFO: GPS data processed {"connection_id":176112,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:59:23] local.INFO: Acknowledgment sent {"connection_id":176112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 12:59:45] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:45] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:45] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 12:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 12:59:46] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:46] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:46] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:59:50] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:50] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 12:59:50] local.INFO: IMEI packet received {"connection_id":176114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 12:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":176114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 12:59:51] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac4cce8012cdf144007325348001101222f..."} 
[2026-09-07 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac4cce8012cdf144007325348001101222f..."} 
[2026-09-07 12:59:51] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac4cce8012cdf144007325348001101222f..."} 
[2026-09-07 12:59:51] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 12:59:51] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":752817216,"raw_latitude":120738632,"longitude_deg":75.2817216,"latitude_deg":12.0738632,"altitude":17,"angle":290,"satellites":47,"speed":59,"hex_longitude":"2cdf1440","hex_latitude":"07325348","is_valid_coordinates":true} 
[2026-09-07 12: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-07 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924123136001,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401337321984622592,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2361363917461719040,"note":"Value kept but may cause issues"} 
[2026-09-07 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766113000,"timestamp_ms":1788766113000,"timestamp_seconds":1788766113,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac4cce8"} 
[2026-09-07 12: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-07 12:59: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-07 12: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 12:59:51] 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-07 12:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 12: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-07 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 12:59: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-07 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924123136001,"66":27865,"146":206,"83":40960,"24":59,"16":401337321984622592,"44":-2361363917461719040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-07 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924123136001,"description":"Unknown IO ID 0"} 
[2026-09-07 12:59:51] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 12:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401337321984622592,"km_value":401337321984622.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 12:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2361363917461719040,"description":"Unknown IO ID 44"} 
[2026-09-07 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924123136001,"power":27865,"unknown_146":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2361363917461719040}} 
[2026-09-07 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 12:59:51] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-07 12:59:51] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:00:22] local.INFO: TCP Data received {"connection_id":176114,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac4e840012cdeedc007326170001101232b..."} 
[2026-09-07 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac4e840012cdeedc007326170001101232b..."} 
[2026-09-07 13:00:22] local.INFO: Processing buffer {"connection_id":176114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac4e840012cdeedc007326170001101232b..."} 
[2026-09-07 13:00:22] local.INFO: Packet analysis {"connection_id":176114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 13:00:22] local.INFO: Extracted packet for processing {"connection_id":176114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac4"} 
[2026-09-07 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":752807360,"raw_latitude":120742256,"longitude_deg":75.280736,"latitude_deg":12.0742256,"altitude":17,"angle":291,"satellites":43,"speed":58,"hex_longitude":"2cdeedc0","hex_latitude":"07326170","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924124928001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401337820200828928,"note":"Value kept but may cause issues"} 
[2026-09-07 13:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2372200704064141312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788766120000,"timestamp_ms":1788766120000,"timestamp_seconds":1788766120,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac4e840"} 
[2026-09-07 13: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-07 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 13: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-07 13: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-07 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:00:22] 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-07 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924124928001,"66":27821,"146":206,"83":40960,"24":58,"16":401337820200828928,"44":-2372200704064141312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-07 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924124928001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:00:22] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 13:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401337820200828928,"km_value":401337820200828.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2372200704064141312,"description":"Unknown IO ID 44"} 
[2026-09-07 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924124928001,"power":27821,"unknown_146":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2372200704064141312}} 
[2026-09-07 13:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":176114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:00:22] local.INFO: GPS data processed {"connection_id":176114,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:00:22] local.INFO: Acknowledgment sent {"connection_id":176114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:00:43] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:43] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:43] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:00:44] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:44] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:44] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:00:50] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:50] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:00:50] local.INFO: IMEI packet received {"connection_id":174748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":174748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:01:09] local.INFO: TCP Data received {"connection_id":174748,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac60568012cdd4d8007329c50001401242e..."} 
[2026-09-07 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac60568012cdd4d8007329c50001401242e..."} 
[2026-09-07 13:01:09] local.INFO: Processing buffer {"connection_id":174748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac60568012cdd4d8007329c50001401242e..."} 
[2026-09-07 13:01:09] local.INFO: Packet analysis {"connection_id":174748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac6"} 
[2026-09-07 13:01:09] local.INFO: Extracted packet for processing {"connection_id":174748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac6"} 
[2026-09-07 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":752700800,"raw_latitude":120757328,"longitude_deg":75.27008,"latitude_deg":12.0757328,"altitude":20,"angle":292,"satellites":46,"speed":59,"hex_longitude":"2cdd4d80","hex_latitude":"07329c50","is_valid_coordinates":true} 
[2026-09-07 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924143872001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401342961276682240,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2490631300511012864,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788766193000,"timestamp_ms":1788766193000,"timestamp_seconds":1788766193,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac60568"} 
[2026-09-07 13:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924143872001,"66":27876,"149":206,"83":40960,"24":59,"16":401342961276682240,"44":-2490631300511012864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 13:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924143872001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:01:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 13:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401342961276682240,"km_value":401342961276682.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2490631300511012864,"description":"Unknown IO ID 44"} 
[2026-09-07 13:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924143872001,"power":27876,"unknown_149":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2490631300511012864}} 
[2026-09-07 13:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":174748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:01:09] local.INFO: GPS data processed {"connection_id":174748,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:01:09] local.INFO: Acknowledgment sent {"connection_id":174748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:01:44] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:44] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:44] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:01:47] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:47] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:47] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:01:50] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:50] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:01:50] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:01:51] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac61cd8012cdd2e000732ac000015012c30..."} 
[2026-09-07 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac61cd8012cdd2e000732ac000015012c30..."} 
[2026-09-07 13:01:51] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac61cd8012cdd2e000732ac000015012c30..."} 
[2026-09-07 13:01:51] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac6"} 
[2026-09-07 13:01:51] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac6"} 
[2026-09-07 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":752692736,"raw_latitude":120761344,"longitude_deg":75.2692736,"latitude_deg":12.0761344,"altitude":21,"angle":300,"satellites":48,"speed":59,"hex_longitude":"2cdd2e00","hex_latitude":"0732ac00","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924145408001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401343390773411840,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2500201449718525952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766199000,"timestamp_ms":1788766199000,"timestamp_seconds":1788766199,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac61cd8"} 
[2026-09-07 13: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-07 13:01: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-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:01: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-07 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924145408001,"66":27800,"149":206,"83":40960,"24":59,"16":401343390773411840,"44":-2500201449718525952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924145408001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:01:51] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 13:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401343390773411840,"km_value":401343390773411.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2500201449718525952,"description":"Unknown IO ID 44"} 
[2026-09-07 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924145408001,"power":27800,"unknown_149":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2500201449718525952}} 
[2026-09-07 13:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:01:52] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:01:52] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:02:24] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac78438012cdb5bc007339b70001f013932..."} 
[2026-09-07 13:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac78438012cdb5bc007339b70001f013932..."} 
[2026-09-07 13:02:24] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac78438012cdb5bc007339b70001f013932..."} 
[2026-09-07 13:02:24] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:02:24] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:02:24] local.INFO: GPS Element Parsed {"raw_longitude":752573376,"raw_latitude":120822640,"longitude_deg":75.2573376,"latitude_deg":12.082264,"altitude":31,"angle":313,"satellites":50,"speed":56,"hex_longitude":"2cdb5bc0","hex_latitude":"07339b70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924169728001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401349816044486656,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636505707174596608,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788766291000,"timestamp_ms":1788766291000,"timestamp_seconds":1788766291,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac78438"} 
[2026-09-07 13: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-07 13:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:02:24] 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-07 13: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-07 13: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-07 13:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924169728001,"66":27397,"145":206,"83":40960,"24":56,"16":401349816044486656,"44":-2636505707174596608},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924169728001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:02:24] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401349816044486656,"km_value":401349816044486.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:02:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636505707174596608,"description":"Unknown IO ID 44"} 
[2026-09-07 13:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924169728001,"power":27397,"unknown_145":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2636505707174596608}} 
[2026-09-07 13:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:02:24] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:02:24] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:02:27] local.INFO: TCP Data received {"connection_id":173624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:27] local.INFO: Processing buffer {"connection_id":173624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:27] local.INFO: IMEI packet received {"connection_id":173624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":173624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:02:44] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:44] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:44] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:02:46] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:46] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:46] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:02:47] local.INFO: TCP Data received {"connection_id":174750,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:47] local.INFO: Processing buffer {"connection_id":174750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:02:47] local.INFO: IMEI packet received {"connection_id":174750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:02:50] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:50] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:02:50] local.INFO: IMEI packet received {"connection_id":173400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:02:51] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac797c0012cdb49400733b128001e014631..."} 
[2026-09-07 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac797c0012cdb49400733b128001e014631..."} 
[2026-09-07 13:02:51] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac797c0012cdb49400733b128001e014631..."} 
[2026-09-07 13:02:51] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:02:51] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":752568640,"raw_latitude":120828200,"longitude_deg":75.256864,"latitude_deg":12.08282,"altitude":30,"angle":326,"satellites":49,"speed":58,"hex_longitude":"2cdb4940","hex_latitude":"0733b128","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924170496001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401350163936837632,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2640305619359535104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766296000,"timestamp_ms":1788766296000,"timestamp_seconds":1788766296,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac797c0"} 
[2026-09-07 13: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-07 13:02: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-07 13: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 13:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:02: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-07 13:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924170496001,"66":27919,"145":206,"83":40960,"24":58,"16":401350163936837632,"44":-2640305619359535104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924170496001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:02:51] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401350163936837632,"km_value":401350163936837.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2640305619359535104,"description":"Unknown IO ID 44"} 
[2026-09-07 13:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924170496001,"power":27919,"unknown_145":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2640305619359535104}} 
[2026-09-07 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:02:51] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:02:51] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:03:22] local.INFO: TCP Data received {"connection_id":173400,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac7af30012cdb39800733d0a8001d014f32..."} 
[2026-09-07 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac7af30012cdb39800733d0a8001d014f32..."} 
[2026-09-07 13:03:22] local.INFO: Processing buffer {"connection_id":173400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac7af30012cdb39800733d0a8001d014f32..."} 
[2026-09-07 13:03:22] local.INFO: Packet analysis {"connection_id":173400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:03:22] local.INFO: Extracted packet for processing {"connection_id":173400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac7"} 
[2026-09-07 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":752564608,"raw_latitude":120836264,"longitude_deg":75.2564608,"latitude_deg":12.0836264,"altitude":29,"angle":335,"satellites":50,"speed":61,"hex_longitude":"2cdb3980","hex_latitude":"0733d0a8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924171776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401350602023501824,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2645512906427258880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788766302000,"timestamp_ms":1788766302000,"timestamp_seconds":1788766302,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac7af30"} 
[2026-09-07 13: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-07 13:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03:22] 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-07 13:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924171776001,"66":27843,"145":206,"83":40960,"24":61,"16":401350602023501824,"44":-2645512906427258880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924171776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:03:22] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401350602023501824,"km_value":401350602023501.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2645512906427258880,"description":"Unknown IO ID 44"} 
[2026-09-07 13:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924171776001,"power":27843,"unknown_145":206,"unknown_83":40960,"ignition":61,"odometer":null,"unknown_44":-2645512906427258880}} 
[2026-09-07 13:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":173400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:03:22] local.INFO: GPS data processed {"connection_id":173400,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:03:22] local.INFO: Acknowledgment sent {"connection_id":173400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:03:50] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: IMEI packet received {"connection_id":176115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":176115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:03:50] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:03:50] local.INFO: IMEI packet received {"connection_id":176115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":176115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:03:51] local.INFO: TCP Data received {"connection_id":173626,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:51] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:51] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:03:51] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac8c488012cda29800734f820001e01372e..."} 
[2026-09-07 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac8c488012cda29800734f820001e01372e..."} 
[2026-09-07 13:03:51] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac8c488012cda29800734f820001e01372e..."} 
[2026-09-07 13:03:51] local.INFO: Packet analysis {"connection_id":176115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:51] local.INFO: Extracted packet for processing {"connection_id":176115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":752494976,"raw_latitude":120911904,"longitude_deg":75.2494976,"latitude_deg":12.0911904,"altitude":30,"angle":311,"satellites":46,"speed":55,"hex_longitude":"2cda2980","hex_latitude":"0734f820","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924189696001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401355601365434368,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2718133450398810112,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766373000,"timestamp_ms":1788766373000,"timestamp_seconds":1788766373,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac8c488"} 
[2026-09-07 13: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-07 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03: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-07 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924189696001,"66":27930,"163":206,"83":40960,"24":55,"16":401355601365434368,"44":-2718133450398810112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924189696001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:03:51] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401355601365434368,"km_value":401355601365434.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2718133450398810112,"description":"Unknown IO ID 44"} 
[2026-09-07 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924189696001,"power":27930,"unknown_163":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2718133450398810112}} 
[2026-09-07 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":176115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:03:51] local.INFO: GPS data processed {"connection_id":176115,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:03:51] local.INFO: Acknowledgment sent {"connection_id":176115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:03:53] local.INFO: TCP Data received {"connection_id":173626,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:53] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:53] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:03:54] local.INFO: TCP Data received {"connection_id":173626,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:54] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:03:54] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:03:55] local.INFO: TCP Data received {"connection_id":173626,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac8cc58012d1b2040071f79e00039012626..."} 
[2026-09-07 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac8cc58012d1b2040071f79e00039012626..."} 
[2026-09-07 13:03:55] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac8cc58012d1b2040071f79e00039012626..."} 
[2026-09-07 13:03:55] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:55] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756752448,"raw_latitude":119503328,"longitude_deg":75.6752448,"latitude_deg":11.9503328,"altitude":57,"angle":294,"satellites":38,"speed":24,"hex_longitude":"2d1b2040","hex_latitude":"071f79e0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924189952001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18342405161877504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959769555940474880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788766375000,"timestamp_ms":1788766375000,"timestamp_seconds":1788766375,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac8cc58"} 
[2026-09-07 13: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-07 13:03: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-07 13: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 13:03:55] 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-07 13: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-07 13: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-07 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924189952001,"66":14265,"121":206,"28":31744,"24":24,"16":18342405161877504,"45":1959769555940474880},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924189952001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18342405161877504,"km_value":18342405161877.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959769555940474880,"description":"Unknown IO ID 45"} 
[2026-09-07 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924189952001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1959769555940474880}} 
[2026-09-07 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:03:55] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:03:55] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:03:55] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac8dfe0012cda0cc007351250001e013731..."} 
[2026-09-07 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac8dfe0012cda0cc007351250001e013731..."} 
[2026-09-07 13:03:55] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac8dfe0012cda0cc007351250001e013731..."} 
[2026-09-07 13:03:55] local.INFO: Packet analysis {"connection_id":176115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:55] local.INFO: Extracted packet for processing {"connection_id":176115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":752487616,"raw_latitude":120918608,"longitude_deg":75.2487616,"latitude_deg":12.0918608,"altitude":30,"angle":311,"satellites":49,"speed":56,"hex_longitude":"2cda0cc0","hex_latitude":"07351250","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924191488001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401356078106804224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2726507330954321920,"note":"Value kept but may cause issues"} 
[2026-09-07 13:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788766380000,"timestamp_ms":1788766380000,"timestamp_seconds":1788766380,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac8dfe0"} 
[2026-09-07 13: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-07 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:03:55] 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-07 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924191488001,"66":28028,"163":206,"83":40960,"24":56,"16":401356078106804224,"44":-2726507330954321920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924191488001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401356078106804224,"km_value":401356078106804.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:03:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2726507330954321920,"description":"Unknown IO ID 44"} 
[2026-09-07 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924191488001,"power":28028,"unknown_163":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2726507330954321920}} 
[2026-09-07 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":176115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:03:55] local.INFO: GPS data processed {"connection_id":176115,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:03:55] local.INFO: Acknowledgment sent {"connection_id":176115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:04:02] local.INFO: TCP Data received {"connection_id":173626,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac912a8012d1affc0071f8b380039012a26..."} 
[2026-09-07 13:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac912a8012d1affc0071f8b380039012a26..."} 
[2026-09-07 13:04:02] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac912a8012d1affc0071f8b380039012a26..."} 
[2026-09-07 13:04:02] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:02] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":756744128,"raw_latitude":119507768,"longitude_deg":75.6744128,"latitude_deg":11.9507768,"altitude":57,"angle":298,"satellites":38,"speed":17,"hex_longitude":"2d1affc0","hex_latitude":"071f8b38","is_valid_coordinates":true} 
[2026-09-07 13:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924192000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18342856133443584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954632637615824896,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788766393000,"timestamp_ms":1788766393000,"timestamp_seconds":1788766393,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac912a8"} 
[2026-09-07 13:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 13:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924192000001,"66":14374,"121":206,"28":31744,"24":17,"16":18342856133443584,"45":1954632637615824896},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924192000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:04:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18342856133443584,"km_value":18342856133443.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954632637615824896,"description":"Unknown IO ID 45"} 
[2026-09-07 13:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924192000001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1954632637615824896}} 
[2026-09-07 13:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:04:02] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:04:02] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:04:26] local.INFO: TCP Data received {"connection_id":176115,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac8fb38012cd9ed0007352a38001d012d31..."} 
[2026-09-07 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac8fb38012cd9ed0007352a38001d012d31..."} 
[2026-09-07 13:04:26] local.INFO: Processing buffer {"connection_id":176115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac8fb38012cd9ed0007352a38001d012d31..."} 
[2026-09-07 13:04:26] local.INFO: Packet analysis {"connection_id":176115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:04:26] local.INFO: Extracted packet for processing {"connection_id":176115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac8"} 
[2026-09-07 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":752479488,"raw_latitude":120924728,"longitude_deg":75.2479488,"latitude_deg":12.0924728,"altitude":29,"angle":301,"satellites":49,"speed":58,"hex_longitude":"2cd9ed00","hex_latitude":"07352a38","is_valid_coordinates":true} 
[2026-09-07 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924193280001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401356567733075968,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2734599736533037056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788766387000,"timestamp_ms":1788766387000,"timestamp_seconds":1788766387,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac8fb38"} 
[2026-09-07 13:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 13:04:26] 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-07 13:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:04: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-07 13:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924193280001,"66":28050,"163":206,"83":40960,"24":58,"16":401356567733075968,"44":-2734599736533037056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924193280001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:04:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:04:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401356567733075968,"km_value":401356567733075.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2734599736533037056,"description":"Unknown IO ID 44"} 
[2026-09-07 13:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924193280001,"power":28050,"unknown_163":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2734599736533037056}} 
[2026-09-07 13:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":176115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:04:26] local.INFO: GPS data processed {"connection_id":176115,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:04:26] local.INFO: Acknowledgment sent {"connection_id":176115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:04:38] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:38] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:38] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:04:40] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:04:41] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:41] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:04:44] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:44] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:04:44] local.INFO: IMEI packet received {"connection_id":174751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":174751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:04:44] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac9c270012d1ac540071f8d88003a015a26..."} 
[2026-09-07 13:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac9c270012d1ac540071f8d88003a015a26..."} 
[2026-09-07 13:04:44] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac9c270012d1ac540071f8d88003a015a26..."} 
[2026-09-07 13:04:44] local.INFO: Packet analysis {"connection_id":174751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:44] local.INFO: Extracted packet for processing {"connection_id":174751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756729152,"raw_latitude":119508360,"longitude_deg":75.6729152,"latitude_deg":11.950836,"altitude":58,"angle":346,"satellites":38,"speed":19,"hex_longitude":"2d1ac540","hex_latitude":"071f8d88","is_valid_coordinates":true} 
[2026-09-07 13:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924207360001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18343676472197120,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480283136,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788766438000,"timestamp_ms":1788766438000,"timestamp_seconds":1788766438,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac9c270"} 
[2026-09-07 13:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 13:04:44] 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-07 13:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924207360001,"66":13928,"121":206,"28":31744,"24":19,"16":18343676472197120,"45":1929088783480283136},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924207360001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18343676472197120,"km_value":18343676472197.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480283136,"description":"Unknown IO ID 45"} 
[2026-09-07 13:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924207360001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1929088783480283136}} 
[2026-09-07 13:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":174751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:04:45] local.INFO: GPS data processed {"connection_id":174751,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:04:45] local.INFO: Acknowledgment sent {"connection_id":174751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:04:45] local.INFO: TCP Data received {"connection_id":174752,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:45] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:45] local.INFO: IMEI packet received {"connection_id":174752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":174752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:04:48] local.INFO: TCP Data received {"connection_id":174752,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:48] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:04:48] local.INFO: IMEI packet received {"connection_id":174752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:04:49] local.INFO: TCP Data received {"connection_id":174752,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac912a8012cd9cdc007353a68001c012533..."} 
[2026-09-07 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac912a8012cd9cdc007353a68001c012533..."} 
[2026-09-07 13:04:49] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac912a8012cd9cdc007353a68001c012533..."} 
[2026-09-07 13:04:49] local.INFO: Packet analysis {"connection_id":174752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:49] local.INFO: Extracted packet for processing {"connection_id":174752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":752471488,"raw_latitude":120928872,"longitude_deg":75.2471488,"latitude_deg":12.0928872,"altitude":28,"angle":293,"satellites":51,"speed":60,"hex_longitude":"2cd9cdc0","hex_latitude":"07353a68","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924195072001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401356997229805568,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2743536567042033664,"note":"Value kept but may cause issues"} 
[2026-09-07 13:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788766393000,"timestamp_ms":1788766393000,"timestamp_seconds":1788766393,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac912a8"} 
[2026-09-07 13: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-07 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 13:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:04:49] 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-07 13:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924195072001,"66":28017,"163":206,"83":40960,"24":60,"16":401356997229805568,"44":-2743536567042033664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924195072001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:04:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401356997229805568,"km_value":401356997229805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2743536567042033664,"description":"Unknown IO ID 44"} 
[2026-09-07 13:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924195072001,"power":28017,"unknown_163":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2743536567042033664}} 
[2026-09-07 13:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:04:49] local.INFO: GPS data processed {"connection_id":174752,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:04:49] local.INFO: Acknowledgment sent {"connection_id":174752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:15] local.INFO: TCP Data received {"connection_id":174751,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ac9c658012d1ac440071f8f60003a014a27..."} 
[2026-09-07 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ac9c658012d1ac440071f8f60003a014a27..."} 
[2026-09-07 13:05:15] local.INFO: Processing buffer {"connection_id":174751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ac9c658012d1ac440071f8f60003a014a27..."} 
[2026-09-07 13:05:15] local.INFO: Packet analysis {"connection_id":174751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:05:15] local.INFO: Extracted packet for processing {"connection_id":174751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ac9"} 
[2026-09-07 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119508832,"longitude_deg":75.6728896,"latitude_deg":11.9508832,"altitude":58,"angle":330,"satellites":39,"speed":20,"hex_longitude":"2d1ac440","hex_latitude":"071f8f60","is_valid_coordinates":true} 
[2026-09-07 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924208128001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18343702242000896,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414736443392,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788766439000,"timestamp_ms":1788766439000,"timestamp_seconds":1788766439,"priority":1,"record_length":96,"hex_timestamp":"000001a07ac9c658"} 
[2026-09-07 13:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:15] 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-07 13:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174751,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924208128001,"66":13928,"121":206,"28":31744,"24":20,"16":18343702242000896,"45":1929018414736443392},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924208128001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18343702242000896,"km_value":18343702242000.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414736443392,"description":"Unknown IO ID 45"} 
[2026-09-07 13:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924208128001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1929018414736443392}} 
[2026-09-07 13:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":174751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:16] local.INFO: GPS data processed {"connection_id":174751,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:16] local.INFO: Acknowledgment sent {"connection_id":174751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:20] local.INFO: TCP Data received {"connection_id":174752,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca2800012cd863400735ea98000f012e30..."} 
[2026-09-07 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca2800012cd863400735ea98000f012e30..."} 
[2026-09-07 13:05:20] local.INFO: Processing buffer {"connection_id":174752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aca2800012cd863400735ea98000f012e30..."} 
[2026-09-07 13:05:20] local.INFO: Packet analysis {"connection_id":174752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:20] local.INFO: Extracted packet for processing {"connection_id":174752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":752378688,"raw_latitude":120973976,"longitude_deg":75.2378688,"latitude_deg":12.0973976,"altitude":15,"angle":302,"satellites":48,"speed":57,"hex_longitude":"2cd86340","hex_latitude":"0735ea98","is_valid_coordinates":true} 
[2026-09-07 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-07 13:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924212992001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401361923557294080,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2845078664879187968,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788766464000,"timestamp_ms":1788766464000,"timestamp_seconds":1788766464,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca2800"} 
[2026-09-07 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-07 13:05: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-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924212992001,"66":27919,"163":206,"83":40960,"24":57,"16":401361923557294080,"44":-2845078664879187968},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924212992001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401361923557294080,"km_value":401361923557294.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2845078664879187968,"description":"Unknown IO ID 44"} 
[2026-09-07 13:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924212992001,"power":27919,"unknown_163":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2845078664879187968}} 
[2026-09-07 13:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":174752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:20] local.INFO: GPS data processed {"connection_id":174752,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:20] local.INFO: Acknowledgment sent {"connection_id":174752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:43] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:05:43] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:05:43] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:05:43] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-07 13:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-07 13:05:43] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-07 13:05:43] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:05:45] local.INFO: TCP Data received {"connection_id":174754,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:45] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:45] local.INFO: IMEI packet received {"connection_id":174754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:05:45] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:05:45] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-07 13:05:45] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:05:46] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca5eb0012d1a5980071fdc98002a012127..."} 
[2026-09-07 13:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca5eb0012d1a5980071fdc98002a012127..."} 
[2026-09-07 13:05:46] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a07a..."} 
[2026-09-07 13:05:46] local.INFO: IMEI packet received {"connection_id":173401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":173401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:05:47] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca6680012d1a5400071fdfa80029013026..."} 
[2026-09-07 13:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca6680012d1a5400071fdfa80029013026..."} 
[2026-09-07 13:05:47] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07aca5eb0012d1a5980071fdc98002a012127..."} 
[2026-09-07 13:05:47] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:47] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756701568,"raw_latitude":119528600,"longitude_deg":75.6701568,"latitude_deg":11.95286,"altitude":42,"angle":289,"satellites":39,"speed":34,"hex_longitude":"2d1a5980","hex_latitude":"071fdc98","is_valid_coordinates":true} 
[2026-09-07 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924217600001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18345398754082816,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901504235768049664,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788766478000,"timestamp_ms":1788766478000,"timestamp_seconds":1788766478,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca5eb0"} 
[2026-09-07 13:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:47] 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-07 13:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924217600001,"66":13972,"121":206,"28":31744,"24":34,"16":18345398754082816,"45":1901504235768049664},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924217600001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18345398754082816,"km_value":18345398754082.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901504235768049664,"description":"Unknown IO ID 45"} 
[2026-09-07 13:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924217600001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1901504235768049664}} 
[2026-09-07 13:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:47] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:47] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:47] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:47] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756700160,"raw_latitude":119529384,"longitude_deg":75.670016,"latitude_deg":11.9529384,"altitude":41,"angle":304,"satellites":38,"speed":31,"hex_longitude":"2d1a5400","hex_latitude":"071fdfa8","is_valid_coordinates":true} 
[2026-09-07 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924218368001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18345476063494144,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898689486001051648,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788766480000,"timestamp_ms":1788766480000,"timestamp_seconds":1788766480,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca6680"} 
[2026-09-07 13:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:47] 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-07 13:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924218368001,"66":14211,"121":206,"28":31744,"24":31,"16":18345476063494144,"45":1898689486001051648},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924218368001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18345476063494144,"km_value":18345476063494.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898689486001051648,"description":"Unknown IO ID 45"} 
[2026-09-07 13:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924218368001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1898689486001051648}} 
[2026-09-07 13:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:47] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:47] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:48] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca7620012d1a4840071fe5b8002a012027..."} 
[2026-09-07 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca7620012d1a4840071fe5b8002a012027..."} 
[2026-09-07 13:05:48] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aca7620012d1a4840071fe5b8002a012027..."} 
[2026-09-07 13:05:48] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:48] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119530936,"longitude_deg":75.6697152,"latitude_deg":11.9530936,"altitude":42,"angle":288,"satellites":39,"speed":35,"hex_longitude":"2d1a4840","hex_latitude":"071fe5b8","is_valid_coordinates":true} 
[2026-09-07 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924218880001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18345634977284096,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897141373629343744,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788766484000,"timestamp_ms":1788766484000,"timestamp_seconds":1788766484,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca7620"} 
[2026-09-07 13:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:48] 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-07 13:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924218880001,"66":14298,"121":206,"28":31744,"24":35,"16":18345634977284096,"45":1897141373629343744},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924218880001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18345634977284096,"km_value":18345634977284.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897141373629343744,"description":"Unknown IO ID 45"} 
[2026-09-07 13:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924218880001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1897141373629343744}} 
[2026-09-07 13:05:48] local.INFO: TCP Data received {"connection_id":174754,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:48] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:05:48] local.INFO: IMEI packet received {"connection_id":174754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":174754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:48] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:48] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:05:49] local.INFO: TCP Data received {"connection_id":174754,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca4358012cd840800735fef8000e012a31..."} 
[2026-09-07 13:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca4358012cd840800735fef8000e012a31..."} 
[2026-09-07 13:05:49] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aca4358012cd840800735fef8000e012a31..."} 
[2026-09-07 13:05:49] local.INFO: Packet analysis {"connection_id":174754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:49] local.INFO: Extracted packet for processing {"connection_id":174754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:05:49] local.INFO: GPS Element Parsed {"raw_longitude":752369792,"raw_latitude":120979192,"longitude_deg":75.2369792,"latitude_deg":12.0979192,"altitude":14,"angle":298,"satellites":49,"speed":59,"hex_longitude":"2cd84080","hex_latitude":"0735fef8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924214784001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401362413183565824,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2854367339109246976,"note":"Value kept but may cause issues"} 
[2026-09-07 13:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788766471000,"timestamp_ms":1788766471000,"timestamp_seconds":1788766471,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca4358"} 
[2026-09-07 13: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-07 13:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:05:49] 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-07 13:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924214784001,"66":27919,"163":206,"83":40960,"24":59,"16":401362413183565824,"44":-2854367339109246976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924214784001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:05:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401362413183565824,"km_value":401362413183565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2854367339109246976,"description":"Unknown IO ID 44"} 
[2026-09-07 13:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924214784001,"power":27919,"unknown_163":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2854367339109246976}} 
[2026-09-07 13:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:05:49] local.INFO: GPS data processed {"connection_id":174754,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:05:49] local.INFO: Acknowledgment sent {"connection_id":174754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:06:20] local.INFO: TCP Data received {"connection_id":173401,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca9d30012d1a2280071fef380029011e25..."} 
[2026-09-07 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca9d30012d1a2280071fef380029011e25..."} 
[2026-09-07 13:06:20] local.INFO: Processing buffer {"connection_id":173401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aca9d30012d1a2280071fef380029011e25..."} 
[2026-09-07 13:06:20] local.INFO: Packet analysis {"connection_id":173401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:06:20] local.INFO: Extracted packet for processing {"connection_id":173401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756687488,"raw_latitude":119533368,"longitude_deg":75.6687488,"latitude_deg":11.9533368,"altitude":41,"angle":286,"satellites":37,"speed":44,"hex_longitude":"2d1a2280","hex_latitude":"071fef38","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924219904001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18346111718653952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893834042653390848,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788766494000,"timestamp_ms":1788766494000,"timestamp_seconds":1788766494,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca9d30"} 
[2026-09-07 13: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-07 13:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 13:06:20] 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-07 13: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-07 13: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-07 13:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924219904001,"66":14374,"121":206,"28":31744,"24":44,"16":18346111718653952,"45":1893834042653390848},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924219904001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18346111718653952,"km_value":18346111718653.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893834042653390848,"description":"Unknown IO ID 45"} 
[2026-09-07 13:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924219904001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1893834042653390848}} 
[2026-09-07 13:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":173401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:06:20] local.INFO: GPS data processed {"connection_id":173401,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:06:20] local.INFO: Acknowledgment sent {"connection_id":173401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:06:20] local.INFO: TCP Data received {"connection_id":174754,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07aca5ac8012cd820c007360f60000e012930..."} 
[2026-09-07 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aca5ac8012cd820c007360f60000e012930..."} 
[2026-09-07 13:06:20] local.INFO: Processing buffer {"connection_id":174754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aca5ac8012cd820c007360f60000e012930..."} 
[2026-09-07 13:06:20] local.INFO: Packet analysis {"connection_id":174754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:06:20] local.INFO: Extracted packet for processing {"connection_id":174754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aca"} 
[2026-09-07 13:06:20] local.INFO: GPS Element Parsed {"raw_longitude":752361664,"raw_latitude":120983392,"longitude_deg":75.2361664,"latitude_deg":12.0983392,"altitude":14,"angle":297,"satellites":48,"speed":60,"hex_longitude":"2cd820c0","hex_latitude":"07360f60","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924216576001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401362846975262720,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2864148594548606976,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788766477000,"timestamp_ms":1788766477000,"timestamp_seconds":1788766477,"priority":1,"record_length":96,"hex_timestamp":"000001a07aca5ac8"} 
[2026-09-07 13: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-07 13:06: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-07 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924216576001,"66":27821,"163":206,"83":40960,"24":60,"16":401362846975262720,"44":-2864148594548606976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-09-07 13:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924216576001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401362846975262720,"km_value":401362846975262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2864148594548606976,"description":"Unknown IO ID 44"} 
[2026-09-07 13:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924216576001,"power":27821,"unknown_163":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2864148594548606976}} 
[2026-09-07 13:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":174754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:06:20] local.INFO: GPS data processed {"connection_id":174754,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:06:20] local.INFO: Acknowledgment sent {"connection_id":174754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:06:40] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:06:40] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:40] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:06:42] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:42] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:42] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:06:44] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:44] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:44] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:06:44] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:44] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:06:44] local.INFO: IMEI packet received {"connection_id":174755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":174755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:06:45] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acb54c8012d19bcc007203d60002e015d29..."} 
[2026-09-07 13:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acb54c8012d19bcc007203d60002e015d29..."} 
[2026-09-07 13:06:45] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acb54c8012d19bcc007203d60002e015d29..."} 
[2026-09-07 13:06:45] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:06:45] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:06:45] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119553376,"longitude_deg":75.666144,"latitude_deg":11.9553376,"altitude":46,"angle":349,"satellites":41,"speed":41,"hex_longitude":"2d19bcc0","hex_latitude":"07203d60","is_valid_coordinates":true} 
[2026-09-07 13:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924233216001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18347834000539648,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502011236352,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788766541000,"timestamp_ms":1788766541000,"timestamp_seconds":1788766541,"priority":1,"record_length":96,"hex_timestamp":"000001a07acb54c8"} 
[2026-09-07 13:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:06:45] 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-07 13:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249899360982400024,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3405187073,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3221692415,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":111,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-2898065066992943097,"corrected_to":0} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-283726591821731584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.WARNING: Large IO value detected {"io_id":74,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:45] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,121,28,24,241,158,16,47,160,37,45,64,46,40,10,66,26,18,41,6,192,1,240,185,122,32,4,113,205,11,223,230,104,239,51,2,65,7,44,25,111,202,31,231,74],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":202,"original":-2898065066992943097,"validated":0}]} 
[2026-09-07 13:06:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387078730808885248,"timestamp_seconds":3387078730808885.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 13:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924233216001,"66":14004,"121":206,"28":31744,"24":41,"16":18347834000539648,"45":1856327502011236352},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924233216001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:06:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18347834000539648,"km_value":18347834000539.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502011236352,"description":"Unknown IO ID 45"} 
[2026-09-07 13:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924233216001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1856327502011236352}} 
[2026-09-07 13:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:06:45] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:06:45] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:06:47] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:47] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:47] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:06:49] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:49] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:06:49] local.INFO: IMEI packet received {"connection_id":174756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:06:50] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acb7020012cd6c3400736ce98000a013030..."} 
[2026-09-07 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acb7020012cd6c3400736ce98000a013030..."} 
[2026-09-07 13:06:50] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acb7020012cd6c3400736ce98000a013030..."} 
[2026-09-07 13:06:50] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:06:50] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":752272192,"raw_latitude":121032344,"longitude_deg":75.2272192,"latitude_deg":12.1032344,"altitude":10,"angle":304,"satellites":48,"speed":30,"hex_longitude":"2cd6c340","hex_latitude":"0736ce98","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924234752001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401367773302751232,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2966675854802913280,"note":"Value kept but may cause issues"} 
[2026-09-07 13:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788766548000,"timestamp_ms":1788766548000,"timestamp_seconds":1788766548,"priority":1,"record_length":96,"hex_timestamp":"000001a07acb7020"} 
[2026-09-07 13: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-07 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 13:06:50] 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-07 13: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-07 13: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-07 13:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:06:50] 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-07 13:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924234752001,"66":27745,"165":206,"83":40960,"24":30,"16":401367773302751232,"44":-2966675854802913280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 13:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924234752001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:06:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 13:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401367773302751232,"km_value":401367773302751.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2966675854802913280,"description":"Unknown IO ID 44"} 
[2026-09-07 13:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924234752001,"power":27745,"unknown_165":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2966675854802913280}} 
[2026-09-07 13:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:06:50] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:06:50] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:07:17] local.INFO: TCP Data received {"connection_id":174755,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acbfcc0012d1991800720b3500034011225..."} 
[2026-09-07 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acbfcc0012d1991800720b3500034011225..."} 
[2026-09-07 13:07:17] local.INFO: Processing buffer {"connection_id":174755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acbfcc0012d1991800720b3500034011225..."} 
[2026-09-07 13:07:17] local.INFO: Packet analysis {"connection_id":174755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:17] local.INFO: Extracted packet for processing {"connection_id":174755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756650368,"raw_latitude":119583568,"longitude_deg":75.6650368,"latitude_deg":11.9583568,"altitude":52,"angle":274,"satellites":37,"speed":36,"hex_longitude":"2d199180","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924243200001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18349758145888256,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790020626432,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788766584000,"timestamp_ms":1788766584000,"timestamp_seconds":1788766584,"priority":1,"record_length":96,"hex_timestamp":"000001a07acbfcc0"} 
[2026-09-07 13: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-07 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 13:07:17] 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-07 13: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-07 13: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-07 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924243200001,"66":13124,"121":206,"28":31744,"24":36,"16":18349758145888256,"45":1850275790020626432},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924243200001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:07:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18349758145888256,"km_value":18349758145888.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790020626432,"description":"Unknown IO ID 45"} 
[2026-09-07 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924243200001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1850275790020626432}} 
[2026-09-07 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":174755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:07:17] local.INFO: GPS data processed {"connection_id":174755,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:07:17] local.INFO: Acknowledgment sent {"connection_id":174755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:07:22] local.INFO: TCP Data received {"connection_id":174756,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acb9f00012cd6a6800736e5880009013130..."} 
[2026-09-07 13:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acb9f00012cd6a6800736e5880009013130..."} 
[2026-09-07 13:07:22] local.INFO: Processing buffer {"connection_id":174756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acb9f00012cd6a6800736e5880009013130..."} 
[2026-09-07 13:07:22] local.INFO: Packet analysis {"connection_id":174756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:22] local.INFO: Extracted packet for processing {"connection_id":174756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:22] local.INFO: GPS Element Parsed {"raw_longitude":752264832,"raw_latitude":121038216,"longitude_deg":75.2264832,"latitude_deg":12.1038216,"altitude":9,"angle":305,"satellites":48,"speed":37,"hex_longitude":"2cd6a680","hex_latitude":"0736e588","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924236288001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401368224274317312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2971460929405937664,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788766560000,"timestamp_ms":1788766560000,"timestamp_seconds":1788766560,"priority":1,"record_length":96,"hex_timestamp":"000001a07acb9f00"} 
[2026-09-07 13: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-07 13:07: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-07 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 13:07:22] 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-07 13: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-07 13: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-07 13:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:07:22] 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-07 13:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924236288001,"66":27865,"165":206,"83":40960,"24":37,"16":401368224274317312,"44":-2971460929405937664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 13:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924236288001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:07:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 13:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401368224274317312,"km_value":401368224274317.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2971460929405937664,"description":"Unknown IO ID 44"} 
[2026-09-07 13:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924236288001,"power":27865,"unknown_165":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2971460929405937664}} 
[2026-09-07 13:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":174756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:07:22] local.INFO: GPS data processed {"connection_id":174756,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:07:22] local.INFO: Acknowledgment sent {"connection_id":174756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:07:40] local.INFO: TCP Data received {"connection_id":173628,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:40] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:40] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:07:44] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:44] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:44] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:07:45] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:45] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:45] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:07:46] local.INFO: TCP Data received {"connection_id":173628,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:46] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:07:46] local.INFO: IMEI packet received {"connection_id":173628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":173628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:07:47] local.INFO: TCP Data received {"connection_id":173628,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc0c60012d1982000720b2200034010328..."} 
[2026-09-07 13:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc0c60012d1982000720b2200034010328..."} 
[2026-09-07 13:07:47] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc0c60012d1982000720b2200034010328..."} 
[2026-09-07 13:07:47] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:07:47] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756646400,"raw_latitude":119583264,"longitude_deg":75.66464,"latitude_deg":11.9583264,"altitude":52,"angle":259,"satellites":40,"speed":42,"hex_longitude":"2d198200","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-09-07 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-07 13:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924245504001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18349947124449280,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490672992256,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788766588000,"timestamp_ms":1788766588000,"timestamp_seconds":1788766588,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc0c60"} 
[2026-09-07 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-07 13:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-07 13:07:47] 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-07 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-07 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-07 13:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924245504001,"66":13254,"121":206,"28":31744,"24":42,"16":18349947124449280,"45":1842394490672992256},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924245504001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:07:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:07:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18349947124449280,"km_value":18349947124449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490672992256,"description":"Unknown IO ID 45"} 
[2026-09-07 13:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924245504001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1842394490672992256}} 
[2026-09-07 13:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:07:47] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:07:47] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:07:51] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:51] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:07:51] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:07:53] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acbc228012cd685400736f8d80009012632..."} 
[2026-09-07 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acbc228012cd685400736f8d80009012632..."} 
[2026-09-07 13:07:53] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acbc228012cd685400736f8d80009012632..."} 
[2026-09-07 13:07:53] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:53] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:07:53] local.INFO: GPS Element Parsed {"raw_longitude":752256320,"raw_latitude":121043160,"longitude_deg":75.225632,"latitude_deg":12.104316,"altitude":9,"angle":294,"satellites":50,"speed":47,"hex_longitude":"2cd68540","hex_latitude":"0736f8d8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924239360001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401368696720719872,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2979553334984865792,"note":"Value kept but may cause issues"} 
[2026-09-07 13:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788766569000,"timestamp_ms":1788766569000,"timestamp_seconds":1788766569,"priority":1,"record_length":96,"hex_timestamp":"000001a07acbc228"} 
[2026-09-07 13: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-07 13:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:07:53] 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-07 13:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924239360001,"66":27767,"165":206,"83":40960,"24":47,"16":401368696720719872,"44":-2979553334984865792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 13:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924239360001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:07:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 13:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 13:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401368696720719872,"km_value":401368696720719.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2979553334984865792,"description":"Unknown IO ID 44"} 
[2026-09-07 13:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924239360001,"power":27767,"unknown_165":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2979553334984865792}} 
[2026-09-07 13:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:07:53] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:07:53] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:08:12] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:12] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:12] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:08:19] local.INFO: TCP Data received {"connection_id":173628,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc2f88012d195cc00720ab580032010a28..."} 
[2026-09-07 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc2f88012d195cc00720ab580032010a28..."} 
[2026-09-07 13:08:19] local.INFO: Processing buffer {"connection_id":173628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc2f88012d195cc00720ab580032010a28..."} 
[2026-09-07 13:08:19] local.INFO: Packet analysis {"connection_id":173628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:19] local.INFO: Extracted packet for processing {"connection_id":173628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119581528,"longitude_deg":75.6636864,"latitude_deg":11.9581528,"altitude":50,"angle":266,"satellites":40,"speed":42,"hex_longitude":"2d195cc0","hex_latitude":"0720ab58","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924246528001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18350410980917248,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838031628533899264,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788766597000,"timestamp_ms":1788766597000,"timestamp_seconds":1788766597,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc2f88"} 
[2026-09-07 13: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-07 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 13:08:19] 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-07 13: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-07 13: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-07 13:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924246528001,"66":13243,"121":206,"28":31744,"24":42,"16":18350410980917248,"45":1838031628533899264},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924246528001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:08:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18350410980917248,"km_value":18350410980917.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838031628533899264,"description":"Unknown IO ID 45"} 
[2026-09-07 13:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924246528001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1838031628533899264}} 
[2026-09-07 13:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":173628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:08:19] local.INFO: GPS data processed {"connection_id":173628,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:08:19] local.INFO: Acknowledgment sent {"connection_id":173628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:08:24] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:24] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:24] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:08:24] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:08:24] local.INFO: GPS Element Parsed {"raw_longitude":752247616,"raw_latitude":121048000,"longitude_deg":75.2247616,"latitude_deg":12.1048,"altitude":9,"angle":306,"satellites":45,"speed":50,"hex_longitude":"2cd66340","hex_latitude":"07370bc0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924241664001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401369169167122432,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2988912377959229440,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788766577000,"timestamp_ms":1788766577000,"timestamp_seconds":1788766577,"priority":1,"record_length":96,"hex_timestamp":"000001a07acbe168"} 
[2026-09-07 13: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-07 13:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 13:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924241664001,"66":27745,"181":206,"83":43264,"24":50,"16":401369169167122432,"44":-2988912377959229440},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 13:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924241664001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:08:24] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 13:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401369169167122432,"km_value":401369169167122.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2988912377959229440,"description":"Unknown IO ID 44"} 
[2026-09-07 13:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924241664001,"power":27745,"unknown_181":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-2988912377959229440}} 
[2026-09-07 13:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:08:24] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:08:24] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:08:44] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:44] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:44] local.INFO: IMEI packet received {"connection_id":173631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":173631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:08:45] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:45] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:45] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:08:47] local.INFO: TCP Data received {"connection_id":173403,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:47] local.INFO: Processing buffer {"connection_id":173403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:08:47] local.INFO: IMEI packet received {"connection_id":173403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":173403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:08:50] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:50] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:08:50] local.INFO: IMEI packet received {"connection_id":173631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":173631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:08:50] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:50] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acbe168012cd6634007370bc0000901322d..."} 
[2026-09-07 13:08:50] local.INFO: Packet analysis {"connection_id":173631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:08:50] local.INFO: Extracted packet for processing {"connection_id":173631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acb"} 
[2026-09-07 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":752247616,"raw_latitude":121048000,"longitude_deg":75.2247616,"latitude_deg":12.1048,"altitude":9,"angle":306,"satellites":45,"speed":50,"hex_longitude":"2cd66340","hex_latitude":"07370bc0","is_valid_coordinates":true} 
[2026-09-07 13:08: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-07 13:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924243712001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401369169167122432,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2998482527166152704,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788766577000,"timestamp_ms":1788766577000,"timestamp_seconds":1788766577,"priority":1,"record_length":96,"hex_timestamp":"000001a07acbe168"} 
[2026-09-07 13:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 13:08:50] 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-07 13:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:08:50] 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-07 13:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924243712001,"66":27745,"181":206,"83":43264,"24":50,"16":401369169167122432,"44":-2998482527166152704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 13:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924243712001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:08:51] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 13:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401369169167122432,"km_value":401369169167122.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2998482527166152704,"description":"Unknown IO ID 44"} 
[2026-09-07 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924243712001,"power":27745,"unknown_181":206,"unknown_83":43264,"ignition":50,"odometer":null,"unknown_44":-2998482527166152704}} 
[2026-09-07 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":173631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:08:51] local.INFO: GPS data processed {"connection_id":173631,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:08:51] local.INFO: Acknowledgment sent {"connection_id":173631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:08:51] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:51] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:08:51] local.INFO: IMEI packet received {"connection_id":174757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":174757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:08:52] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc3b40012d194f400720abc00031011629..."} 
[2026-09-07 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc3b40012d194f400720abc00031011629..."} 
[2026-09-07 13:08:52] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc3b40012d194f400720abc00031011629..."} 
[2026-09-07 13:08:52] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:52] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756633408,"raw_latitude":119581632,"longitude_deg":75.6633408,"latitude_deg":11.9581632,"altitude":49,"angle":278,"satellites":41,"speed":46,"hex_longitude":"2d194f40","hex_latitude":"0720abc0","is_valid_coordinates":true} 
[2026-09-07 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-07 13:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924248832001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18350578484641792,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685650982912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788766600000,"timestamp_ms":1788766600000,"timestamp_seconds":1788766600,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc3b40"} 
[2026-09-07 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-07 13: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-07 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-07 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-07 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-07 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-07 13:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924248832001,"66":12504,"121":206,"28":31744,"24":46,"16":18350578484641792,"45":1827546685650982912},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924248832001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:08:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:08:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18350578484641792,"km_value":18350578484641.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685650982912,"description":"Unknown IO ID 45"} 
[2026-09-07 13:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924248832001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1827546685650982912}} 
[2026-09-07 13:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:08:52] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:08:52] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:08:53] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc4310012d1946400720ae380030012129..."} 
[2026-09-07 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc4310012d1946400720ae380030012129..."} 
[2026-09-07 13:08:53] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc4310012d1946400720ae380030012129..."} 
[2026-09-07 13:08:53] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:53] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756631104,"raw_latitude":119582264,"longitude_deg":75.6631104,"latitude_deg":11.9582264,"altitude":48,"angle":289,"satellites":41,"speed":48,"hex_longitude":"2d194640","hex_latitude":"0720ae38","is_valid_coordinates":true} 
[2026-09-07 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-07 13:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924249600001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18350690153791488,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773465415680,"note":"Value kept but may cause issues"} 
[2026-09-07 13:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788766602000,"timestamp_ms":1788766602000,"timestamp_seconds":1788766602,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc4310"} 
[2026-09-07 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-07 13:08: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-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 13:08:53] 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-07 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-07 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-07 13:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924249600001,"66":12635,"121":206,"28":31744,"24":48,"16":18350690153791488,"45":1823746773465415680},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924249600001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:08:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:08:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18350690153791488,"km_value":18350690153791.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773465415680,"description":"Unknown IO ID 45"} 
[2026-09-07 13:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924249600001,"power":12635,"unknown_121":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1823746773465415680}} 
[2026-09-07 13:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:08:54] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:08:54] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:09:23] local.INFO: TCP Data received {"connection_id":173631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acd5868012cd5a5800737d5c0000a01072f..."} 
[2026-09-07 13:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acd5868012cd5a5800737d5c0000a01072f..."} 
[2026-09-07 13:09:23] local.INFO: Processing buffer {"connection_id":173631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acd5868012cd5a5800737d5c0000a01072f..."} 
[2026-09-07 13:09:23] local.INFO: Packet analysis {"connection_id":173631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:09:23] local.INFO: Extracted packet for processing {"connection_id":173631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":752199040,"raw_latitude":121099712,"longitude_deg":75.219904,"latitude_deg":12.1099712,"altitude":10,"angle":263,"satellites":47,"speed":30,"hex_longitude":"2cd5a580","hex_latitude":"0737d5c0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924267520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401372660975534080,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3049429497937557504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788766673000,"timestamp_ms":1788766673000,"timestamp_seconds":1788766673,"priority":1,"record_length":96,"hex_timestamp":"000001a07acd5868"} 
[2026-09-07 13: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-07 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:09: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-07 13:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924267520001,"66":27876,"182":206,"83":43264,"24":30,"16":401372660975534080,"44":-3049429497937557504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-07 13:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924267520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:09:23] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-07 13:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401372660975534080,"km_value":401372660975534.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3049429497937557504,"description":"Unknown IO ID 44"} 
[2026-09-07 13:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924267520001,"power":27876,"unknown_182":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3049429497937557504}} 
[2026-09-07 13:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":173631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:09:23] local.INFO: GPS data processed {"connection_id":173631,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:09:23] local.INFO: Acknowledgment sent {"connection_id":173631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:09:25] local.INFO: TCP Data received {"connection_id":174757,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc52b0012d1935c00720b6a8002f012d28..."} 
[2026-09-07 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc52b0012d1935c00720b6a8002f012d28..."} 
[2026-09-07 13:09:25] local.INFO: Processing buffer {"connection_id":174757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc52b0012d1935c00720b6a8002f012d28..."} 
[2026-09-07 13:09:25] local.INFO: Packet analysis {"connection_id":174757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:09:25] local.INFO: Extracted packet for processing {"connection_id":174757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:09:25] local.INFO: GPS Element Parsed {"raw_longitude":756626880,"raw_latitude":119584424,"longitude_deg":75.662688,"latitude_deg":11.9584424,"altitude":47,"angle":301,"satellites":40,"speed":44,"hex_longitude":"2d1935c0","hex_latitude":"0720b6a8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924250112001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18350913492090880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821213498675181568,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788766606000,"timestamp_ms":1788766606000,"timestamp_seconds":1788766606,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc52b0"} 
[2026-09-07 13: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-07 13:09:25] 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-07 13: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924250112001,"66":13167,"121":206,"28":31744,"24":44,"16":18350913492090880,"45":1821213498675181568},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924250112001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:09:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:09:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18350913492090880,"km_value":18350913492090.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821213498675181568,"description":"Unknown IO ID 45"} 
[2026-09-07 13:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924250112001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1821213498675181568}} 
[2026-09-07 13:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":174757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:09:25] local.INFO: GPS data processed {"connection_id":174757,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:09:25] local.INFO: Acknowledgment sent {"connection_id":174757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:09:40] local.INFO: TCP Data received {"connection_id":173632,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:40] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:40] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:09:45] local.INFO: TCP Data received {"connection_id":173632,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:45] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:09:45] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:09:48] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:48] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:48] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:09:49] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:49] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:49] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:09:55] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:55] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:09:55] local.INFO: IMEI packet received {"connection_id":174760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":174760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:09:56] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acdaa70012cd58d800737d1f8000801032e..."} 
[2026-09-07 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acdaa70012cd58d800737d1f8000801032e..."} 
[2026-09-07 13:09:56] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acdaa70012cd58d800737d1f8000801032e..."} 
[2026-09-07 13:09:56] local.INFO: Packet analysis {"connection_id":174760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:09:56] local.INFO: Extracted packet for processing {"connection_id":174760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:09:56] local.INFO: GPS Element Parsed {"raw_longitude":752192896,"raw_latitude":121098744,"longitude_deg":75.2192896,"latitude_deg":12.1098744,"altitude":8,"angle":259,"satellites":46,"speed":10,"hex_longitude":"2cd58d80","hex_latitude":"0737d1f8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924268288001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401372953033310208,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3051892403983761408,"note":"Value kept but may cause issues"} 
[2026-09-07 13:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788766694000,"timestamp_ms":1788766694000,"timestamp_seconds":1788766694,"priority":1,"record_length":96,"hex_timestamp":"000001a07acdaa70"} 
[2026-09-07 13: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-07 13:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:09:56] 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-07 13: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-07 13: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-07 13:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:09:56] 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-07 13:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924268288001,"66":27887,"182":206,"83":43264,"24":10,"16":401372953033310208,"44":-3051892403983761408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-07 13:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924268288001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:09:56] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-07 13:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401372953033310208,"km_value":401372953033310.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3051892403983761408,"description":"Unknown IO ID 44"} 
[2026-09-07 13:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924268288001,"power":27887,"unknown_182":206,"unknown_83":43264,"ignition":10,"odometer":null,"unknown_44":-3051892403983761408}} 
[2026-09-07 13:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":174760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:09:56] local.INFO: GPS data processed {"connection_id":174760,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:09:56] local.INFO: Acknowledgment sent {"connection_id":174760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:10:08] local.INFO: TCP Data received {"connection_id":173632,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acc6250012d1927000720bd50002e012126..."} 
[2026-09-07 13:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acc6250012d1927000720bd50002e012126..."} 
[2026-09-07 13:10:08] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acc6250012d1927000720bd50002e012126..."} 
[2026-09-07 13:10:08] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:10:08] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acc"} 
[2026-09-07 13:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756623104,"raw_latitude":119586128,"longitude_deg":75.6623104,"latitude_deg":11.9586128,"altitude":46,"angle":289,"satellites":38,"speed":38,"hex_longitude":"2d192700","hex_latitude":"0720bd50","is_valid_coordinates":true} 
[2026-09-07 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924251136001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18351115355553792,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816569161560008704,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788766610000,"timestamp_ms":1788766610000,"timestamp_seconds":1788766610,"priority":1,"record_length":96,"hex_timestamp":"000001a07acc6250"} 
[2026-09-07 13:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 13:10:08] 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-07 13:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924251136001,"66":13135,"121":206,"28":31744,"24":38,"16":18351115355553792,"45":1816569161560008704},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924251136001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:10:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18351115355553792,"km_value":18351115355553.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816569161560008704,"description":"Unknown IO ID 45"} 
[2026-09-07 13:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924251136001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1816569161560008704}} 
[2026-09-07 13:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:10:08] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:10:08] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:10:30] local.INFO: TCP Data received {"connection_id":174760,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acdfc78012cd57c000737cbe0000e00fd31..."} 
[2026-09-07 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acdfc78012cd57c000737cbe0000e00fd31..."} 
[2026-09-07 13:10:30] local.INFO: Processing buffer {"connection_id":174760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acdfc78012cd57c000737cbe0000e00fd31..."} 
[2026-09-07 13:10:30] local.INFO: Packet analysis {"connection_id":174760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:10:30] local.INFO: Extracted packet for processing {"connection_id":174760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acd"} 
[2026-09-07 13:10:30] local.INFO: GPS Element Parsed {"raw_longitude":752188416,"raw_latitude":121097184,"longitude_deg":75.2188416,"latitude_deg":12.1097184,"altitude":14,"angle":253,"satellites":49,"speed":14,"hex_longitude":"2cd57c00","hex_latitude":"0737cbe0","is_valid_coordinates":true} 
[2026-09-07 13:10: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-07 13:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924273664001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401373193551478784,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3058647803425064960,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788766715000,"timestamp_ms":1788766715000,"timestamp_seconds":1788766715,"priority":1,"record_length":96,"hex_timestamp":"000001a07acdfc78"} 
[2026-09-07 13:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 13:10:30] 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-07 13:10: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-07 13:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:10:30] 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-07 13:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924273664001,"66":27604,"182":206,"83":43264,"24":14,"16":401373193551478784,"44":-3058647803425064960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-07 13:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924273664001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:10:30] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-07 13:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401373193551478784,"km_value":401373193551478.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3058647803425064960,"description":"Unknown IO ID 44"} 
[2026-09-07 13:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924273664001,"power":27604,"unknown_182":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3058647803425064960}} 
[2026-09-07 13:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":174760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:10:30] local.INFO: GPS data processed {"connection_id":174760,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:10:30] local.INFO: Acknowledgment sent {"connection_id":174760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:10:40] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:40] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:40] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:10:44] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:44] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:44] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:10:45] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:45] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:10:45] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:10:46] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:46] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:46] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:10:46] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acf0618012d18d640072100e80040014d29..."} 
[2026-09-07 13:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acf0618012d18d640072100e80040014d29..."} 
[2026-09-07 13:10:46] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acf0618012d18d640072100e80040014d29..."} 
[2026-09-07 13:10:46] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:10:46] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603432,"longitude_deg":75.6602432,"latitude_deg":11.9603432,"altitude":64,"angle":333,"satellites":41,"speed":28,"hex_longitude":"2d18d640","hex_latitude":"072100e8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924294912001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18352446795415552,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792573419799541760,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788766783000,"timestamp_ms":1788766783000,"timestamp_seconds":1788766783,"priority":1,"record_length":96,"hex_timestamp":"000001a07acf0618"} 
[2026-09-07 13: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-07 13:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 13:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924294912001,"66":14330,"121":206,"28":31744,"24":28,"16":18352446795415552,"45":1792573419799541760},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924294912001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:10:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18352446795415552,"km_value":18352446795415.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792573419799541760,"description":"Unknown IO ID 45"} 
[2026-09-07 13:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924294912001,"power":14330,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1792573419799541760}} 
[2026-09-07 13:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:10:47] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:10:47] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:10:47] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:47] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:47] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:10:48] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acf0de8012d18d440072106280040015929..."} 
[2026-09-07 13:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acf0de8012d18d440072106280040015929..."} 
[2026-09-07 13:10:48] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acf0de8012d18d440072106280040015929..."} 
[2026-09-07 13:10:48] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:10:48] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604776,"longitude_deg":75.660192,"latitude_deg":11.9604776,"altitude":64,"angle":345,"satellites":41,"speed":28,"hex_longitude":"2d18d440","hex_latitude":"07210628","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924296448001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18352515514892288,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301289007104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788766785000,"timestamp_ms":1788766785000,"timestamp_seconds":1788766785,"priority":1,"record_length":96,"hex_timestamp":"000001a07acf0de8"} 
[2026-09-07 13: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-07 13:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 13:10:48] 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-07 13: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-07 13: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-07 13:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924296448001,"66":14276,"121":206,"28":31744,"24":28,"16":18352515514892288,"45":1789688301289007104},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924296448001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:10:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18352515514892288,"km_value":18352515514892.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301289007104,"description":"Unknown IO ID 45"} 
[2026-09-07 13:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924296448001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1789688301289007104}} 
[2026-09-07 13:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:10:49] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:10:49] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:10:50] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:50] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:10:50] local.INFO: IMEI packet received {"connection_id":176116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":176116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:10:53] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ace4e80012cd55d000737c528001200ff30..."} 
[2026-09-07 13:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ace4e80012cd55d000737c528001200ff30..."} 
[2026-09-07 13:10:53] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ace4e80012cd55d000737c528001200ff30..."} 
[2026-09-07 13:10:53] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:10:53] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:10:53] local.INFO: GPS Element Parsed {"raw_longitude":752180480,"raw_latitude":121095464,"longitude_deg":75.218048,"latitude_deg":12.1095464,"altitude":18,"angle":255,"satellites":48,"speed":22,"hex_longitude":"2cd55d00","hex_latitude":"0737c528","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924279040001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401373575803568128,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3063573615517900800,"note":"Value kept but may cause issues"} 
[2026-09-07 13:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788766736000,"timestamp_ms":1788766736000,"timestamp_seconds":1788766736,"priority":1,"record_length":96,"hex_timestamp":"000001a07ace4e80"} 
[2026-09-07 13: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-07 13:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 13:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:10:53] 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-07 13:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924279040001,"66":27930,"182":206,"83":43264,"24":22,"16":401373575803568128,"44":-3063573615517900800},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-09-07 13:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924279040001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:10:53] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-09-07 13:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401373575803568128,"km_value":401373575803568.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3063573615517900800,"description":"Unknown IO ID 44"} 
[2026-09-07 13:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924279040001,"power":27930,"unknown_182":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3063573615517900800}} 
[2026-09-07 13:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:10:53] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:10:53] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:11:03] local.INFO: TCP Data received {"connection_id":176116,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ace8530012cd539c00737b8e8001100f82e..."} 
[2026-09-07 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ace8530012cd539c00737b8e8001100f82e..."} 
[2026-09-07 13:11:03] local.INFO: Processing buffer {"connection_id":176116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ace8530012cd539c00737b8e8001100f82e..."} 
[2026-09-07 13:11:03] local.INFO: Packet analysis {"connection_id":176116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:11:03] local.INFO: Extracted packet for processing {"connection_id":176116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":752171456,"raw_latitude":121092328,"longitude_deg":75.2171456,"latitude_deg":12.1092328,"altitude":17,"angle":248,"satellites":46,"speed":28,"hex_longitude":"2cd539c0","hex_latitude":"0737b8e8","is_valid_coordinates":true} 
[2026-09-07 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924284416001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401374031070101504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3072299339796371456,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788766750000,"timestamp_ms":1788766750000,"timestamp_seconds":1788766750,"priority":1,"record_length":96,"hex_timestamp":"000001a07ace8530"} 
[2026-09-07 13:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:11:03] 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-07 13:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:11:03] 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-07 13:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924284416001,"66":27908,"18":206,"83":43264,"24":28,"16":401374031070101504,"44":-3072299339796371456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924284416001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:11:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401374031070101504,"km_value":401374031070101.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:11:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3072299339796371456,"description":"Unknown IO ID 44"} 
[2026-09-07 13:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924284416001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3072299339796371456}} 
[2026-09-07 13:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":176116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:11:03] local.INFO: GPS data processed {"connection_id":176116,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:11:03] local.INFO: Acknowledgment sent {"connection_id":176116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:11:20] local.INFO: TCP Data received {"connection_id":173633,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07acf2558012d18d100072117680041016529..."} 
[2026-09-07 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acf2558012d18d100072117680041016529..."} 
[2026-09-07 13:11:20] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acf2558012d18d100072117680041016529..."} 
[2026-09-07 13:11:20] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:11:20] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119609192,"longitude_deg":75.6601088,"latitude_deg":11.9609192,"altitude":65,"angle":357,"satellites":41,"speed":30,"hex_longitude":"2d18d100","hex_latitude":"07211768","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924296960001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18352734558224384,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351335929856,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788766791000,"timestamp_ms":1788766791000,"timestamp_seconds":1788766791,"priority":1,"record_length":96,"hex_timestamp":"000001a07acf2558"} 
[2026-09-07 13: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-07 13:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 13:11:20] 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-07 13: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-07 13: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-07 13:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924296960001,"66":13276,"121":206,"28":31744,"24":30,"16":18352734558224384,"45":1789125351335929856},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924296960001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:11:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18352734558224384,"km_value":18352734558224.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351335929856,"description":"Unknown IO ID 45"} 
[2026-09-07 13:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924296960001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1789125351335929856}} 
[2026-09-07 13:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:11:20] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:11:20] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:11:41] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:41] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:41] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:11:42] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:42] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:42] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:11:45] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:45] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:45] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:11:46] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:46] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:11:46] local.INFO: IMEI packet received {"connection_id":176117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":176117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:11:46] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:46] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:46] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:11:48] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:48] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:48] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:11:48] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad00018012d18640007218200004d011d29..."} 
[2026-09-07 13:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad00018012d18640007218200004d011d29..."} 
[2026-09-07 13:11:48] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad00018012d18640007218200004d011d29..."} 
[2026-09-07 13:11:48] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:11:48] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756573184,"raw_latitude":119636480,"longitude_deg":75.6573184,"latitude_deg":11.963648,"altitude":77,"angle":285,"satellites":41,"speed":32,"hex_longitude":"2d186400","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924311040001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18354899221741568,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763651865951762432,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788766847000,"timestamp_ms":1788766847000,"timestamp_seconds":1788766847,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad00018"} 
[2026-09-07 13: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-07 13:11:48] 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-07 13: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 13:11:48] 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-07 13: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-07 13: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-07 13:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924311040001,"66":14298,"121":206,"28":31744,"24":32,"16":18354899221741568,"45":1763651865951762432},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924311040001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:11:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18354899221741568,"km_value":18354899221741.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763651865951762432,"description":"Unknown IO ID 45"} 
[2026-09-07 13:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924311040001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1763651865951762432}} 
[2026-09-07 13:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:11:48] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:11:48] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:11:50] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:50] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:11:50] local.INFO: IMEI packet received {"connection_id":173634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:11:51] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad00bd0012d185ac0072185e0004d012a28..."} 
[2026-09-07 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad00bd0012d185ac0072185e0004d012a28..."} 
[2026-09-07 13:11:51] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad00bd0012d185ac0072185e0004d012a28..."} 
[2026-09-07 13:11:51] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:11:51] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119637472,"longitude_deg":75.6570816,"latitude_deg":11.9637472,"altitude":77,"angle":298,"satellites":40,"speed":33,"hex_longitude":"2d185ac0","hex_latitude":"072185e0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924312832001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18355023775793152,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757529785208274944,"note":"Value kept but may cause issues"} 
[2026-09-07 13:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766850000,"timestamp_ms":1788766850000,"timestamp_seconds":1788766850,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad00bd0"} 
[2026-09-07 13: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-07 13:11: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-07 13: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-07 13:11: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-07 13: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-07 13: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-07 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924312832001,"66":14407,"120":206,"28":31744,"24":33,"16":18355023775793152,"45":1757529785208274944},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924312832001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:11:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18355023775793152,"km_value":18355023775793.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757529785208274944,"description":"Unknown IO ID 45"} 
[2026-09-07 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924312832001,"power":14407,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1757529785208274944}} 
[2026-09-07 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:11:51] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:11:51] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:12:00] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acebfc8012cd518800737abb0001200f92f..."} 
[2026-09-07 13:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acebfc8012cd518800737abb0001200f92f..."} 
[2026-09-07 13:12:00] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acebfc8012cd518800737abb0001200f92f..."} 
[2026-09-07 13:12:00] local.INFO: Packet analysis {"connection_id":173634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:12:00] local.INFO: Extracted packet for processing {"connection_id":173634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ace"} 
[2026-09-07 13:12:00] local.INFO: GPS Element Parsed {"raw_longitude":752162944,"raw_latitude":121088944,"longitude_deg":75.2162944,"latitude_deg":12.1088944,"altitude":18,"angle":249,"satellites":47,"speed":15,"hex_longitude":"2cd51880","hex_latitude":"0737abb0","is_valid_coordinates":true} 
[2026-09-07 13:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924288000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401374469156765696,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082221332726224896,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788766765000,"timestamp_ms":1788766765000,"timestamp_seconds":1788766765,"priority":1,"record_length":96,"hex_timestamp":"000001a07acebfc8"} 
[2026-09-07 13:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12:00] 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-07 13:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924288000001,"66":27919,"18":206,"83":43264,"24":15,"16":401374469156765696,"44":-3082221332726224896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924288000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:12:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401374469156765696,"km_value":401374469156765.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082221332726224896,"description":"Unknown IO ID 44"} 
[2026-09-07 13:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924288000001,"power":27919,"unknown_18":206,"unknown_83":43264,"ignition":15,"odometer":null,"unknown_44":-3082221332726224896}} 
[2026-09-07 13:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":173634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:12:00] local.INFO: GPS data processed {"connection_id":173634,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:12:00] local.INFO: Acknowledgment sent {"connection_id":173634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:12:04] local.INFO: TCP Data received {"connection_id":173634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acf11d0012cd504000737a2d8000f00f731..."} 
[2026-09-07 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acf11d0012cd504000737a2d8000f00f731..."} 
[2026-09-07 13:12:04] local.INFO: Processing buffer {"connection_id":173634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acf11d0012cd504000737a2d8000f00f731..."} 
[2026-09-07 13:12:04] local.INFO: Packet analysis {"connection_id":173634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:12:04] local.INFO: Extracted packet for processing {"connection_id":173634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:12:04] local.INFO: GPS Element Parsed {"raw_longitude":752157696,"raw_latitude":121086680,"longitude_deg":75.2157696,"latitude_deg":12.108668,"altitude":15,"angle":247,"satellites":49,"speed":9,"hex_longitude":"2cd50400","hex_latitude":"0737a2d8","is_valid_coordinates":true} 
[2026-09-07 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924291840001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401374739739705344,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091580375702720512,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788766786000,"timestamp_ms":1788766786000,"timestamp_seconds":1788766786,"priority":1,"record_length":96,"hex_timestamp":"000001a07acf11d0"} 
[2026-09-07 13:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924291840001,"66":27974,"18":206,"83":43264,"24":9,"16":401374739739705344,"44":-3091580375702720512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924291840001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:12:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401374739739705344,"km_value":401374739739705.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:12:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091580375702720512,"description":"Unknown IO ID 44"} 
[2026-09-07 13:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924291840001,"power":27974,"unknown_18":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3091580375702720512}} 
[2026-09-07 13:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":173634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:12:04] local.INFO: GPS data processed {"connection_id":173634,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:12:04] local.INFO: Acknowledgment sent {"connection_id":173634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:12:22] local.INFO: TCP Data received {"connection_id":176117,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad03e98012d18350007219628004c012528..."} 
[2026-09-07 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad03e98012d18350007219628004c012528..."} 
[2026-09-07 13:12:22] local.INFO: Processing buffer {"connection_id":176117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad03e98012d18350007219628004c012528..."} 
[2026-09-07 13:12:22] local.INFO: Packet analysis {"connection_id":176117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:12:22] local.INFO: Extracted packet for processing {"connection_id":176117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756561152,"raw_latitude":119641640,"longitude_deg":75.6561152,"latitude_deg":11.964164,"altitude":76,"angle":293,"satellites":40,"speed":30,"hex_longitude":"2d183500","hex_latitude":"07219628","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924313600001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18355526286966784,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141673955328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788766863000,"timestamp_ms":1788766863000,"timestamp_seconds":1788766863,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad03e98"} 
[2026-09-07 13: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-07 13:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 13:12:22] 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-07 13: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-07 13: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-07 13:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924313600001,"66":14363,"120":206,"28":31744,"24":30,"16":18355526286966784,"45":1754926141673955328},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924313600001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:12:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18355526286966784,"km_value":18355526286966.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141673955328,"description":"Unknown IO ID 45"} 
[2026-09-07 13:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924313600001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1754926141673955328}} 
[2026-09-07 13:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":176117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:12:23] local.INFO: GPS data processed {"connection_id":176117,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:12:23] local.INFO: Acknowledgment sent {"connection_id":176117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:12:44] local.INFO: TCP Data received {"connection_id":174762,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:44] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:44] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:12:45] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:45] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:45] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:12:45] local.INFO: TCP Data received {"connection_id":174762,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:45] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:45] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:12:50] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:50] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:12:50] local.INFO: IMEI packet received {"connection_id":174763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:12:50] local.INFO: TCP Data received {"connection_id":174762,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:50] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:12:50] local.INFO: IMEI packet received {"connection_id":174762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":174762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:12:51] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acf63d8012cd4fe800737a068000d00f630..."} 
[2026-09-07 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acf63d8012cd4fe800737a068000d00f630..."} 
[2026-09-07 13:12:51] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acf63d8012cd4fe800737a068000d00f630..."} 
[2026-09-07 13:12:51] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:12:51] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":752156288,"raw_latitude":121086056,"longitude_deg":75.2156288,"latitude_deg":12.1086056,"altitude":13,"angle":246,"satellites":48,"speed":0,"hex_longitude":"2cd4fe80","hex_latitude":"0737a068","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924297216001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401374817049116672,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3097350612725868544,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788766807000,"timestamp_ms":1788766807000,"timestamp_seconds":1788766807,"priority":1,"record_length":96,"hex_timestamp":"000001a07acf63d8"} 
[2026-09-07 13: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-07 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:12: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-07 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924297216001,"66":27974,"18":206,"83":43264,"24":0,"16":401374817049116672,"44":-3097350612725868544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924297216001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:12:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:12:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401374817049116672,"km_value":401374817049116.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3097350612725868544,"description":"Unknown IO ID 44"} 
[2026-09-07 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924297216001,"power":27974,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3097350612725868544}} 
[2026-09-07 13:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:12:51] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:12:51] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:12:52] local.INFO: TCP Data received {"connection_id":174762,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad04a50012d182d4007219a80004c013129..."} 
[2026-09-07 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad04a50012d182d4007219a80004c013129..."} 
[2026-09-07 13:12:52] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad04a50012d182d4007219a80004c013129..."} 
[2026-09-07 13:12:52] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:12:52] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642752,"longitude_deg":75.6559168,"latitude_deg":11.9642752,"altitude":76,"angle":305,"satellites":41,"speed":29,"hex_longitude":"2d182d40","hex_latitude":"07219a80","is_valid_coordinates":true} 
[2026-09-07 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-07 13:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924316928001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18355633661149184,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744300461304195072,"note":"Value kept but may cause issues"} 
[2026-09-07 13:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788766866000,"timestamp_ms":1788766866000,"timestamp_seconds":1788766866,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad04a50"} 
[2026-09-07 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-07 13:12: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-07 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 13:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924316928001,"66":13820,"120":206,"28":31744,"24":29,"16":18355633661149184,"45":1744300461304195072},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924316928001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:12:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18355633661149184,"km_value":18355633661149.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744300461304195072,"description":"Unknown IO ID 45"} 
[2026-09-07 13:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924316928001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1744300461304195072}} 
[2026-09-07 13:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:12:52] local.INFO: GPS data processed {"connection_id":174762,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:12:52] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:13:25] local.INFO: TCP Data received {"connection_id":174763,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07acfb5e0012cd4f48007379b70000c00f431..."} 
[2026-09-07 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07acfb5e0012cd4f48007379b70000c00f431..."} 
[2026-09-07 13:13:25] local.INFO: Processing buffer {"connection_id":174763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07acfb5e0012cd4f48007379b70000c00f431..."} 
[2026-09-07 13:13:25] local.INFO: Packet analysis {"connection_id":174763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:13:25] local.INFO: Extracted packet for processing {"connection_id":174763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07acf"} 
[2026-09-07 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":752153728,"raw_latitude":121084784,"longitude_deg":75.2153728,"latitude_deg":12.1084784,"altitude":12,"angle":244,"satellites":49,"speed":0,"hex_longitude":"2cd4f480","hex_latitude":"07379b70","is_valid_coordinates":true} 
[2026-09-07 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-07 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924302592001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401374954488070144,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098898725097936896,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788766828000,"timestamp_ms":1788766828000,"timestamp_seconds":1788766828,"priority":1,"record_length":96,"hex_timestamp":"000001a07acfb5e0"} 
[2026-09-07 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-07 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:13:25] 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-07 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924302592001,"66":27658,"18":206,"83":43264,"24":0,"16":401374954488070144,"44":-3098898725097936896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924302592001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:13:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401374954488070144,"km_value":401374954488070.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098898725097936896,"description":"Unknown IO ID 44"} 
[2026-09-07 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924302592001,"power":27658,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3098898725097936896}} 
[2026-09-07 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:13:25] local.INFO: GPS data processed {"connection_id":174763,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:13:25] local.INFO: Acknowledgment sent {"connection_id":174763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:13:27] local.INFO: TCP Data received {"connection_id":174762,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad07160012d181f400721a598004a012527..."} 
[2026-09-07 13:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad07160012d181f400721a598004a012527..."} 
[2026-09-07 13:13:27] local.INFO: Processing buffer {"connection_id":174762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad07160012d181f400721a598004a012527..."} 
[2026-09-07 13:13:27] local.INFO: Packet analysis {"connection_id":174762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:13:27] local.INFO: Extracted packet for processing {"connection_id":174762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645592,"longitude_deg":75.6555584,"latitude_deg":11.9645592,"altitude":74,"angle":293,"satellites":39,"speed":5,"hex_longitude":"2d181f40","hex_latitude":"0721a598","is_valid_coordinates":true} 
[2026-09-07 13:13: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-07 13:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924317696001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18355852704481280,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030234972160,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788766876000,"timestamp_ms":1788766876000,"timestamp_seconds":1788766876,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad07160"} 
[2026-09-07 13:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:13:27] 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-07 13:13: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":252,"data_length":795,"current_offset":136} 
[2026-09-07 13:13:27] 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-07 13:13: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-07 13:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924317696001,"66":14298,"120":206,"28":31744,"24":5,"16":18355852704481280,"45":1742119030234972160},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924317696001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:13:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18355852704481280,"km_value":18355852704481.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030234972160,"description":"Unknown IO ID 45"} 
[2026-09-07 13:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924317696001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1742119030234972160}} 
[2026-09-07 13:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":174762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:13:27] local.INFO: GPS data processed {"connection_id":174762,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:13:27] local.INFO: Acknowledgment sent {"connection_id":174762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:13:38] local.INFO: TCP Data received {"connection_id":176118,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:38] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:38] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:13:41] local.INFO: TCP Data received {"connection_id":176118,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:41] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:41] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:13:45] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:45] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:45] local.INFO: IMEI packet received {"connection_id":173635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:13:46] local.INFO: TCP Data received {"connection_id":176118,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:46] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:13:46] local.INFO: IMEI packet received {"connection_id":176118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":176118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:13:47] local.INFO: TCP Data received {"connection_id":176118,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad1b1b0012d18a00007226f180067001527..."} 
[2026-09-07 13:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad1b1b0012d18a00007226f180067001527..."} 
[2026-09-07 13:13:47] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad1b1b0012d18a00007226f180067001527..."} 
[2026-09-07 13:13:47] local.INFO: Packet analysis {"connection_id":176118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:13:47] local.INFO: Extracted packet for processing {"connection_id":176118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119697176,"longitude_deg":75.6588544,"latitude_deg":11.9697176,"altitude":103,"angle":21,"satellites":39,"speed":28,"hex_longitude":"2d18a000","hex_latitude":"07226f18","is_valid_coordinates":true} 
[2026-09-07 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924339968001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18358837706752000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221500303360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788766958000,"timestamp_ms":1788766958000,"timestamp_seconds":1788766958,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad1b1b0"} 
[2026-09-07 13:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 13:13:47] 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-07 13:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924339968001,"66":14026,"120":206,"28":31744,"24":28,"16":18358837706752000,"45":1772307221500303360},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924339968001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:13:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18358837706752000,"km_value":18358837706752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221500303360,"description":"Unknown IO ID 45"} 
[2026-09-07 13:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924339968001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1772307221500303360}} 
[2026-09-07 13:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":176118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:13:47] local.INFO: GPS data processed {"connection_id":176118,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:13:47] local.INFO: Acknowledgment sent {"connection_id":176118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:13:50] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:50] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:13:50] local.INFO: IMEI packet received {"connection_id":173635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":173635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:13:52] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad00400012cd4f000073798f0000f010231..."} 
[2026-09-07 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad00400012cd4f000073798f0000f010231..."} 
[2026-09-07 13:13:52] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad00400012cd4f000073798f0000f010231..."} 
[2026-09-07 13:13:52] local.INFO: Packet analysis {"connection_id":173635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:13:52] local.INFO: Extracted packet for processing {"connection_id":173635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":752152576,"raw_latitude":121084144,"longitude_deg":75.2152576,"latitude_deg":12.1084144,"altitude":15,"angle":258,"satellites":49,"speed":14,"hex_longitude":"2cd4f000","hex_latitude":"073798f0","is_valid_coordinates":true} 
[2026-09-07 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-07 13:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375018912579584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3101713474865369088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788766848000,"timestamp_ms":1788766848000,"timestamp_seconds":1788766848,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad00400"} 
[2026-09-07 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-07 13:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 13:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:13:52] 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-07 13:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924307968001,"66":28050,"18":206,"83":43264,"24":14,"16":401375018912579584,"44":-3101713474865369088},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:13:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375018912579584,"km_value":401375018912579.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3101713474865369088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924307968001,"power":28050,"unknown_18":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3101713474865369088}} 
[2026-09-07 13:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":173635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:13:53] local.INFO: GPS data processed {"connection_id":173635,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:13:53] local.INFO: Acknowledgment sent {"connection_id":173635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:14:12] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:12] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:12] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:14:19] local.INFO: TCP Data received {"connection_id":176118,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad1d0f0012d18a500072281a0006b000628..."} 
[2026-09-07 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad1d0f0012d18a500072281a0006b000628..."} 
[2026-09-07 13:14:19] local.INFO: Processing buffer {"connection_id":176118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad1d0f0012d18a500072281a0006b000628..."} 
[2026-09-07 13:14:19] local.INFO: Packet analysis {"connection_id":176118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:14:19] local.INFO: Extracted packet for processing {"connection_id":176118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119701920,"longitude_deg":75.6589824,"latitude_deg":11.970192,"altitude":107,"angle":6,"satellites":40,"speed":17,"hex_longitude":"2d18a500","hex_latitude":"072281a0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924341248001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18359073929953280,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283826452480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788766966000,"timestamp_ms":1788766966000,"timestamp_seconds":1788766966,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad1d0f0"} 
[2026-09-07 13: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-07 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 13:14:19] 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-07 13: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-07 13: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-07 13:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924341248001,"66":13678,"120":206,"28":31744,"24":17,"16":18359073929953280,"45":1774418283826452480},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924341248001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:14:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:14:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18359073929953280,"km_value":18359073929953.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283826452480,"description":"Unknown IO ID 45"} 
[2026-09-07 13:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924341248001,"power":13678,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1774418283826452480}} 
[2026-09-07 13:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":176118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:14:19] local.INFO: GPS data processed {"connection_id":176118,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:14:19] local.INFO: Acknowledgment sent {"connection_id":176118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:14:25] local.INFO: TCP Data received {"connection_id":173635,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad013a0012cd4e9c007379718000f00f42e..."} 
[2026-09-07 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad013a0012cd4e9c007379718000f00f42e..."} 
[2026-09-07 13:14:25] local.INFO: Processing buffer {"connection_id":173635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad013a0012cd4e9c007379718000f00f42e..."} 
[2026-09-07 13:14:25] local.INFO: Packet analysis {"connection_id":173635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:14:25] local.INFO: Extracted packet for processing {"connection_id":173635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":752150976,"raw_latitude":121083672,"longitude_deg":75.2150976,"latitude_deg":12.1083672,"altitude":15,"angle":244,"satellites":46,"speed":20,"hex_longitude":"2cd4e9c0","hex_latitude":"07379718","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924313088001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375100516958208,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3102980112260730880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788766852000,"timestamp_ms":1788766852000,"timestamp_seconds":1788766852,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad013a0"} 
[2026-09-07 13: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-07 13:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 13:14:25] 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-07 13: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-07 13: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-07 13:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:14:25] 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-07 13:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924313088001,"66":27908,"18":206,"83":43264,"24":20,"16":401375100516958208,"44":-3102980112260730880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924313088001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:14:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:14:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375100516958208,"km_value":401375100516958.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3102980112260730880,"description":"Unknown IO ID 44"} 
[2026-09-07 13:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924313088001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":20,"odometer":null,"unknown_44":-3102980112260730880}} 
[2026-09-07 13:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:14:25] local.INFO: GPS data processed {"connection_id":173635,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:14:25] local.INFO: Acknowledgment sent {"connection_id":173635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:14:42] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:42] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:42] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:14:43] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:43] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:43] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:14:44] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:44] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:44] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:14:45] local.INFO: TCP Data received {"connection_id":173406,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:45] local.INFO: Processing buffer {"connection_id":173406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:14:45] local.INFO: IMEI packet received {"connection_id":173406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:14:50] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:50] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:50] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:14:56] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:56] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:14:56] local.INFO: IMEI packet received {"connection_id":176119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":176119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:14:57] local.INFO: TCP Data received {"connection_id":174764,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:57] local.INFO: Processing buffer {"connection_id":174764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:14:57] local.INFO: IMEI packet received {"connection_id":174764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":174764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:15:00] local.INFO: TCP Data received {"connection_id":176119,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad04a50012cd4c940073787f8000a00f030..."} 
[2026-09-07 13:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad04a50012cd4c940073787f8000a00f030..."} 
[2026-09-07 13:15:00] local.INFO: Processing buffer {"connection_id":176119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad04a50012cd4c940073787f8000a00f030..."} 
[2026-09-07 13:15:00] local.INFO: Packet analysis {"connection_id":176119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:15:00] local.INFO: Extracted packet for processing {"connection_id":176119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:15:00] local.INFO: GPS Element Parsed {"raw_longitude":752142656,"raw_latitude":121079800,"longitude_deg":75.2142656,"latitude_deg":12.10798,"altitude":10,"angle":240,"satellites":48,"speed":22,"hex_longitude":"2cd4c940","hex_latitude":"073787f8","is_valid_coordinates":true} 
[2026-09-07 13:15: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-07 13:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924314112001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375534308655104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3104739330865293312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788766866000,"timestamp_ms":1788766866000,"timestamp_seconds":1788766866,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad04a50"} 
[2026-09-07 13:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 13:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:15: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-07 13:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:15:00] 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-07 13:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924314112001,"66":27995,"18":206,"83":43264,"24":22,"16":401375534308655104,"44":-3104739330865293312},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924314112001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:15:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375534308655104,"km_value":401375534308655.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3104739330865293312,"description":"Unknown IO ID 44"} 
[2026-09-07 13:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924314112001,"power":27995,"unknown_18":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3104739330865293312}} 
[2026-09-07 13:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":176119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:15:00] local.INFO: GPS data processed {"connection_id":176119,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:15:00] local.INFO: Acknowledgment sent {"connection_id":176119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:15:45] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:45] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:45] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:15:50] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:50] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:15:50] local.INFO: IMEI packet received {"connection_id":173407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":173407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:15:52] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad09c58012cd4b58007377e78000b00f82e..."} 
[2026-09-07 13:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad09c58012cd4b58007377e78000b00f82e..."} 
[2026-09-07 13:15:52] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad09c58012cd4b58007377e78000b00f82e..."} 
[2026-09-07 13:15:52] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:15:52] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077368,"longitude_deg":75.21376,"latitude_deg":12.1077368,"altitude":11,"angle":248,"satellites":46,"speed":7,"hex_longitude":"2cd4b580","hex_latitude":"07377e78","is_valid_coordinates":true} 
[2026-09-07 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-07 13:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924317696001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375804891594752,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3113887267609380864,"note":"Value kept but may cause issues"} 
[2026-09-07 13:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788766887000,"timestamp_ms":1788766887000,"timestamp_seconds":1788766887,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad09c58"} 
[2026-09-07 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-07 13:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:15:52] 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-07 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-07 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-07 13:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:15:52] 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-07 13:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924317696001,"66":27908,"18":206,"83":43264,"24":7,"16":401375804891594752,"44":-3113887267609380864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924317696001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:15:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375804891594752,"km_value":401375804891594.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3113887267609380864,"description":"Unknown IO ID 44"} 
[2026-09-07 13:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924317696001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3113887267609380864}} 
[2026-09-07 13:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:15:52] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:15:52] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:16:24] local.INFO: TCP Data received {"connection_id":173407,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad0c368012cd4acc007377a98000c00e22e..."} 
[2026-09-07 13:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad0c368012cd4acc007377a98000c00e22e..."} 
[2026-09-07 13:16:24] local.INFO: Processing buffer {"connection_id":173407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad0c368012cd4acc007377a98000c00e22e..."} 
[2026-09-07 13:16:24] local.INFO: Packet analysis {"connection_id":173407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:16:24] local.INFO: Extracted packet for processing {"connection_id":173407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:16:24] local.INFO: GPS Element Parsed {"raw_longitude":752135360,"raw_latitude":121076376,"longitude_deg":75.213536,"latitude_deg":12.1076376,"altitude":12,"angle":226,"satellites":46,"speed":7,"hex_longitude":"2cd4acc0","hex_latitude":"07377a98","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924323072001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375920855711744,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400038912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788766897000,"timestamp_ms":1788766897000,"timestamp_seconds":1788766897,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad0c368"} 
[2026-09-07 13: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-07 13:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:16:24] 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-07 13:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924323072001,"66":27843,"18":206,"83":43264,"24":7,"16":401375920855711744,"44":-3119446398400038912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924323072001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:16:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375920855711744,"km_value":401375920855711.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:16:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400038912,"description":"Unknown IO ID 44"} 
[2026-09-07 13:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924323072001,"power":27843,"unknown_18":206,"unknown_83":43264,"ignition":7,"odometer":null,"unknown_44":-3119446398400038912}} 
[2026-09-07 13:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":173407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:16:24] local.INFO: GPS data processed {"connection_id":173407,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:16:24] local.INFO: Acknowledgment sent {"connection_id":173407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:16:44] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:44] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:44] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:16:50] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:50] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:16:50] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:16:56] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad0cb38012cd4abc007377980000c00d22d..."} 
[2026-09-07 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad0cb38012cd4abc007377980000c00d22d..."} 
[2026-09-07 13:16:56] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad0cb38012cd4abc007377980000c00d22d..."} 
[2026-09-07 13:16:56] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:16:56] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad0"} 
[2026-09-07 13:16:56] local.INFO: GPS Element Parsed {"raw_longitude":752135104,"raw_latitude":121076096,"longitude_deg":75.2135104,"latitude_deg":12.1076096,"altitude":12,"angle":210,"satellites":45,"speed":5,"hex_longitude":"2cd4abc0","hex_latitude":"07377980","is_valid_coordinates":true} 
[2026-09-07 13:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924325632001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375942330548224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121909304446511104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788766899000,"timestamp_ms":1788766899000,"timestamp_seconds":1788766899,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad0cb38"} 
[2026-09-07 13:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:16:56] 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-07 13:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924325632001,"66":28017,"18":206,"83":43264,"24":5,"16":401375942330548224,"44":-3121909304446511104},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924325632001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:16:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375942330548224,"km_value":401375942330548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121909304446511104,"description":"Unknown IO ID 44"} 
[2026-09-07 13:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924325632001,"power":28017,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3121909304446511104}} 
[2026-09-07 13:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:16:56] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:16:56] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:17:29] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad11d40012cd4aa4007377818000f00d22f..."} 
[2026-09-07 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad11d40012cd4aa4007377818000f00d22f..."} 
[2026-09-07 13:17:29] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad11d40012cd4aa4007377818000f00d22f..."} 
[2026-09-07 13:17:29] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:17:29] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:17:29] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075736,"longitude_deg":75.213472,"latitude_deg":12.1075736,"altitude":15,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377818","is_valid_coordinates":true} 
[2026-09-07 13:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924326144001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375968100352000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122190779423293440,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788766920000,"timestamp_ms":1788766920000,"timestamp_seconds":1788766920,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad11d40"} 
[2026-09-07 13:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-07 13:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:17:29] 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-07 13:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924326144001,"66":27908,"18":206,"83":43264,"24":0,"16":401375968100352000,"44":-3122190779423293440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924326144001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:17:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:17:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375968100352000,"km_value":401375968100352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122190779423293440,"description":"Unknown IO ID 44"} 
[2026-09-07 13:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924326144001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122190779423293440}} 
[2026-09-07 13:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:17:29] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:17:29] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:17:51] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:51] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:51] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:17:53] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:53] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:17:53] local.INFO: IMEI packet received {"connection_id":173411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":173411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:17:57] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad12510012cd4aa4007377818000f00d22e..."} 
[2026-09-07 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad12510012cd4aa4007377818000f00d22e..."} 
[2026-09-07 13:17:57] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad12510012cd4aa4007377818000f00d22e..."} 
[2026-09-07 13:17:57] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:17:57] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad1"} 
[2026-09-07 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075736,"longitude_deg":75.213472,"latitude_deg":12.1075736,"altitude":15,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377818","is_valid_coordinates":true} 
[2026-09-07 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 13:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924331520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375968100352000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888451584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788766922000,"timestamp_ms":1788766922000,"timestamp_seconds":1788766922,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad12510"} 
[2026-09-07 13: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-07 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 13: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-07 13: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-07 13:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:17:57] 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-07 13:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924331520001,"66":28028,"18":206,"83":43264,"24":0,"16":401375968100352000,"44":-3122612991888451584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924331520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:17:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375968100352000,"km_value":401375968100352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888451584,"description":"Unknown IO ID 44"} 
[2026-09-07 13:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924331520001,"power":28028,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122612991888451584}} 
[2026-09-07 13:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:17:57] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:17:57] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:18:01] local.INFO: TCP Data received {"connection_id":173411,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad58240012cd4a8c0073777c0000f00d22d..."} 
[2026-09-07 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad58240012cd4a8c0073777c0000f00d22d..."} 
[2026-09-07 13:18:01] local.INFO: Processing buffer {"connection_id":173411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad58240012cd4a8c0073777c0000f00d22d..."} 
[2026-09-07 13:18:01] local.INFO: Packet analysis {"connection_id":173411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad5"} 
[2026-09-07 13:18:01] local.INFO: Extracted packet for processing {"connection_id":173411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad5"} 
[2026-09-07 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":752134336,"raw_latitude":121075648,"longitude_deg":75.2134336,"latitude_deg":12.1075648,"altitude":15,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2cd4a8c0","hex_latitude":"073777c0","is_valid_coordinates":true} 
[2026-09-07 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924332032001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375968100352000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888451584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788767208000,"timestamp_ms":1788767208000,"timestamp_seconds":1788767208,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad58240"} 
[2026-09-07 13: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-07 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 13:18:01] 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-07 13: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-07 13: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-07 13:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:01] 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-07 13:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924332032001,"66":26560,"18":206,"83":43264,"24":0,"16":401375968100352000,"44":-3122612991888451584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924332032001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:18:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375968100352000,"km_value":401375968100352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888451584,"description":"Unknown IO ID 44"} 
[2026-09-07 13:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924332032001,"power":26560,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122612991888451584}} 
[2026-09-07 13:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":173411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:18:01] local.INFO: GPS data processed {"connection_id":173411,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:18:01] local.INFO: Acknowledgment sent {"connection_id":173411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:18:46] local.INFO: TCP Data received {"connection_id":176121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:46] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:46] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:18:50] local.INFO: TCP Data received {"connection_id":176121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:50] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:18:50] local.INFO: IMEI packet received {"connection_id":176121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":176121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:18:54] local.INFO: TCP Data received {"connection_id":176121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad5e3e8012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad5e3e8012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:54] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad5e3e8012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:54] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad5"} 
[2026-09-07 13:18:54] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad5"} 
[2026-09-07 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075736,"longitude_deg":75.213472,"latitude_deg":12.1075736,"altitude":15,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377818","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924405248001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375968100352000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123035204353540096,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788767233000,"timestamp_ms":1788767233000,"timestamp_seconds":1788767233,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad5e3e8"} 
[2026-09-07 13: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-07 13:18: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-07 13: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-07 13:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:54] 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-07 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924405248001,"66":27995,"18":206,"83":43264,"24":0,"16":401375968100352000,"44":-3123035204353540096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924405248001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:18:54] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375968100352000,"km_value":401375968100352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123035204353540096,"description":"Unknown IO ID 44"} 
[2026-09-07 13:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924405248001,"power":27995,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123035204353540096}} 
[2026-09-07 13:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:18:54] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:18:54] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:18:59] local.INFO: TCP Data received {"connection_id":176121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad635f0012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad635f0012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:59] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad635f0012cd4aa4007377818000f00d22c..."} 
[2026-09-07 13:18:59] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:18:59] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:18:59] local.INFO: GPS Element Parsed {"raw_longitude":752134720,"raw_latitude":121075736,"longitude_deg":75.213472,"latitude_deg":12.1075736,"altitude":15,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2cd4aa40","hex_latitude":"07377818","is_valid_coordinates":true} 
[2026-09-07 13:18: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-07 13:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924411648001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401375968100352000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888451584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788767254000,"timestamp_ms":1788767254000,"timestamp_seconds":1788767254,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad635f0"} 
[2026-09-07 13:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:18: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-07 13:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:18:59] 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-07 13:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924411648001,"66":27930,"18":206,"83":43264,"24":0,"16":401375968100352000,"44":-3122612991888451584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924411648001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:18:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401375968100352000,"km_value":401375968100352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888451584,"description":"Unknown IO ID 44"} 
[2026-09-07 13:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924411648001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3122612991888451584}} 
[2026-09-07 13:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:18:59] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:18:59] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:19:31] local.INFO: TCP Data received {"connection_id":176121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad64978012cd4a7c0073778f0001601092c..."} 
[2026-09-07 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad64978012cd4a7c0073778f0001601092c..."} 
[2026-09-07 13:19:31] local.INFO: Processing buffer {"connection_id":176121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad64978012cd4a7c0073778f0001601092c..."} 
[2026-09-07 13:19:31] local.INFO: Packet analysis {"connection_id":176121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:19:31] local.INFO: Extracted packet for processing {"connection_id":176121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":752134080,"raw_latitude":121075952,"longitude_deg":75.213408,"latitude_deg":12.1075952,"altitude":22,"angle":265,"satellites":44,"speed":4,"hex_longitude":"2cd4a7c0","hex_latitude":"073778f0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924417024001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376002460090368,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122612991888451584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788767259000,"timestamp_ms":1788767259000,"timestamp_seconds":1788767259,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad64978"} 
[2026-09-07 13: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-07 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:19:31] 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-07 13: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-07 13: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-07 13:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:19:31] 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-07 13:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924417024001,"66":27930,"18":206,"83":43264,"24":4,"16":401376002460090368,"44":-3122612991888451584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924417024001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:19:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376002460090368,"km_value":401376002460090.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122612991888451584,"description":"Unknown IO ID 44"} 
[2026-09-07 13:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924417024001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3122612991888451584}} 
[2026-09-07 13:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":176121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:19:31] local.INFO: GPS data processed {"connection_id":176121,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:19:31] local.INFO: Acknowledgment sent {"connection_id":176121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:19:45] local.INFO: TCP Data received {"connection_id":176122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:45] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:45] local.INFO: IMEI packet received {"connection_id":176122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":176122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:19:50] local.INFO: TCP Data received {"connection_id":176122,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:50] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:19:50] local.INFO: IMEI packet received {"connection_id":176122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":176122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:19:52] local.INFO: TCP Data received {"connection_id":176122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad64d60012cd4a740073778c0001600f52c..."} 
[2026-09-07 13:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad64d60012cd4a740073778c0001600f52c..."} 
[2026-09-07 13:19:52] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad64d60012cd4a740073778c0001600f52c..."} 
[2026-09-07 13:19:52] local.INFO: Packet analysis {"connection_id":176122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:19:52] local.INFO: Extracted packet for processing {"connection_id":176122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":752133952,"raw_latitude":121075904,"longitude_deg":75.2133952,"latitude_deg":12.1075904,"altitude":22,"angle":245,"satellites":44,"speed":8,"hex_longitude":"2cd4a740","hex_latitude":"073778c0","is_valid_coordinates":true} 
[2026-09-07 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-07 13:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924418304001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376006755057664,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123316679330172928,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788767260000,"timestamp_ms":1788767260000,"timestamp_seconds":1788767260,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad64d60"} 
[2026-09-07 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-07 13:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:19:52] 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-07 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-07 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-07 13:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:19:52] 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-07 13:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924418304001,"66":27908,"18":206,"83":43264,"24":8,"16":401376006755057664,"44":-3123316679330172928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924418304001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:19:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376006755057664,"km_value":401376006755057.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123316679330172928,"description":"Unknown IO ID 44"} 
[2026-09-07 13:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924418304001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3123316679330172928}} 
[2026-09-07 13:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":176122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:19:52] local.INFO: GPS data processed {"connection_id":176122,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:19:52] local.INFO: Acknowledgment sent {"connection_id":176122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:19:54] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:19:54] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:19:54] local.INFO: IMEI packet received {"connection_id":173414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":173414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:19:56] local.INFO: TCP Data received {"connection_id":173414,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad72ff0012d18fa000724dbd0001f00fb26..."} 
[2026-09-07 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad72ff0012d18fa000724dbd0001f00fb26..."} 
[2026-09-07 13:19:56] local.INFO: Processing buffer {"connection_id":173414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad72ff0012d18fa000724dbd0001f00fb26..."} 
[2026-09-07 13:19:56] local.INFO: Packet analysis {"connection_id":173414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:19:56] local.INFO: Extracted packet for processing {"connection_id":173414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756611584,"raw_latitude":119856080,"longitude_deg":75.6611584,"latitude_deg":11.985608,"altitude":31,"angle":251,"satellites":38,"speed":39,"hex_longitude":"2d18fa00","hex_latitude":"0724dbd0","is_valid_coordinates":true} 
[2026-09-07 13:19: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-07 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924431104001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18368660296957952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808054543585042432,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788767318000,"timestamp_ms":1788767318000,"timestamp_seconds":1788767318,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad72ff0"} 
[2026-09-07 13:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:19: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-07 13:19: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":12,"data_length":795,"current_offset":136} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867802433,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6784672898763194378,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3603587073,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4276092958,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633621137909585,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880845518,"corrected_to":0} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604775,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4485593084291711005,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875719124831772,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-09-07 13:19:56] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,81,28,24,241,158,16,65,160,218,45,128,254,31,40,10,66,210,64,255,30,206,192,1,240,110,122,36,4,113,205,8,198,61,72,239,50,2,7,11,25,51,124],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3880845518,"validated":0}]} 
[2026-09-07 13:19:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234047270744096768,"timestamp_seconds":2234047270744096.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 13:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924431104001,"66":14428,"81":206,"28":31744,"24":39,"16":18368660296957952,"45":1808054543585042432},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-07 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924431104001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 13:19:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18368660296957952,"km_value":18368660296957.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808054543585042432,"description":"Unknown IO ID 45"} 
[2026-09-07 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924431104001,"power":14428,"unknown_81":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1808054543585042432}} 
[2026-09-07 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":173414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:19:56] local.INFO: GPS data processed {"connection_id":173414,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:19:56] local.INFO: Acknowledgment sent {"connection_id":173414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:20:17] local.INFO: TCP Data received {"connection_id":173413,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:17] local.INFO: Processing buffer {"connection_id":173413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:17] local.INFO: IMEI packet received {"connection_id":173413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":173413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:20:24] local.INFO: TCP Data received {"connection_id":176122,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad69f68012cd4964007377018001400f621..."} 
[2026-09-07 13:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad69f68012cd4964007377018001400f621..."} 
[2026-09-07 13:20:24] local.INFO: Processing buffer {"connection_id":176122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad69f68012cd4964007377018001400f621..."} 
[2026-09-07 13:20:24] local.INFO: Packet analysis {"connection_id":176122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:20:24] local.INFO: Extracted packet for processing {"connection_id":176122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":752129600,"raw_latitude":121073688,"longitude_deg":75.21296,"latitude_deg":12.1073688,"altitude":20,"angle":246,"satellites":33,"speed":0,"hex_longitude":"2cd49640","hex_latitude":"07377018","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924418560001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376242978258944,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123457416818540544,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788767281000,"timestamp_ms":1788767281000,"timestamp_seconds":1788767281,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad69f68"} 
[2026-09-07 13: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-07 13:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:24] 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-07 13:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924418560001,"66":27984,"18":206,"83":43264,"24":0,"16":401376242978258944,"44":-3123457416818540544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924418560001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:20:24] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376242978258944,"km_value":401376242978258.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:20:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123457416818540544,"description":"Unknown IO ID 44"} 
[2026-09-07 13:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924418560001,"power":27984,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3123457416818540544}} 
[2026-09-07 13:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":176122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:20:24] local.INFO: GPS data processed {"connection_id":176122,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:20:24] local.INFO: Acknowledgment sent {"connection_id":176122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:20:42] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:42] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:42] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:20:44] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:20:44] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:44] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:20:45] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:45] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:20:45] local.INFO: IMEI packet received {"connection_id":173640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":173640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:20:47] local.INFO: TCP Data received {"connection_id":173415,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:47] local.INFO: Processing buffer {"connection_id":173415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:20:47] local.INFO: IMEI packet received {"connection_id":173415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:20:47] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad82dd8012d18e6c00724a418001f00f223..."} 
[2026-09-07 13:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad82dd8012d18e6c00724a418001f00f223..."} 
[2026-09-07 13:20:47] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad82dd8012d18e6c00724a418001f00f223..."} 
[2026-09-07 13:20:47] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:20:47] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756606656,"raw_latitude":119841816,"longitude_deg":75.6606656,"latitude_deg":11.9841816,"altitude":31,"angle":242,"satellites":35,"speed":5,"hex_longitude":"2d18e6c0","hex_latitude":"0724a418","is_valid_coordinates":true} 
[2026-09-07 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-07 13:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924449536001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18369686794141696,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113442514944,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788767383000,"timestamp_ms":1788767383000,"timestamp_seconds":1788767383,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad82dd8"} 
[2026-09-07 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-07 13:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 13:20:47] 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-07 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-07 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-07 13:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924449536001,"66":14407,"236":206,"28":26880,"24":5,"16":18369686794141696,"45":1794614113442514944},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-09-07 13:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924449536001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:20:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-07 13:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-09-07 13:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18369686794141696,"km_value":18369686794141.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113442514944,"description":"Unknown IO ID 45"} 
[2026-09-07 13:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924449536001,"power":14407,"unknown_236":206,"unknown_28":26880,"ignition":5,"odometer":null,"unknown_45":1794614113442514944}} 
[2026-09-07 13:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:20:47] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:20:47] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:20:50] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:50] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:50] local.INFO: IMEI packet received {"connection_id":173416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":173416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:20:51] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad835a8012d18e5c00724a328001f00de24..."} 
[2026-09-07 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad835a8012d18e5c00724a328001f00de24..."} 
[2026-09-07 13:20:51] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad835a8012d18e5c00724a328001f00de24..."} 
[2026-09-07 13:20:51] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:20:51] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756606400,"raw_latitude":119841576,"longitude_deg":75.66064,"latitude_deg":11.9841576,"altitude":31,"angle":222,"satellites":36,"speed":8,"hex_longitude":"2d18e5c0","hex_latitude":"0724a328","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924450048001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18369703974010880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794332638465759232,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767385000,"timestamp_ms":1788767385000,"timestamp_seconds":1788767385,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad835a8"} 
[2026-09-07 13: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-07 13:20: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-07 13: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 13:20:51] 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-07 13: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-07 13: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-07 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924450048001,"66":14298,"236":206,"28":26880,"24":8,"16":18369703974010880,"45":1794332638465759232},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-09-07 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924450048001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:20:51] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-07 13:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-09-07 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18369703974010880,"km_value":18369703974010.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794332638465759232,"description":"Unknown IO ID 45"} 
[2026-09-07 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924450048001,"power":14298,"unknown_236":206,"unknown_28":26880,"ignition":8,"odometer":null,"unknown_45":1794332638465759232}} 
[2026-09-07 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:20:51] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:20:51] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:20:55] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:55] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:20:55] local.INFO: IMEI packet received {"connection_id":173416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":173416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:20:56] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad6c678012cd4944007376e380015010122..."} 
[2026-09-07 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad6c678012cd4944007376e380015010122..."} 
[2026-09-07 13:20:56] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad6c678012cd4944007376e380015010122..."} 
[2026-09-07 13:20:56] local.INFO: Packet analysis {"connection_id":173416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:20:56] local.INFO: Extracted packet for processing {"connection_id":173416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad6"} 
[2026-09-07 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":752129088,"raw_latitude":121073208,"longitude_deg":75.2129088,"latitude_deg":12.1073208,"altitude":21,"angle":257,"satellites":34,"speed":5,"hex_longitude":"2cd49440","hex_latitude":"07376e38","is_valid_coordinates":true} 
[2026-09-07 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-07 13:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924423936001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376277337997312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3128242491423188992,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788767291000,"timestamp_ms":1788767291000,"timestamp_seconds":1788767291,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad6c678"} 
[2026-09-07 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-07 13:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 13:20:56] 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-07 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-07 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-07 13:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:56] 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-07 13:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924423936001,"66":28050,"18":206,"83":43264,"24":5,"16":401376277337997312,"44":-3128242491423188992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924423936001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:20:56] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:20:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376277337997312,"km_value":401376277337997.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:20:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3128242491423188992,"description":"Unknown IO ID 44"} 
[2026-09-07 13:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924423936001,"power":28050,"unknown_18":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3128242491423188992}} 
[2026-09-07 13:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":173416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:20:56] local.INFO: GPS data processed {"connection_id":173416,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:20:56] local.INFO: Acknowledgment sent {"connection_id":173416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:20:58] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad71880012cd4838007376940001600fd22..."} 
[2026-09-07 13:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad71880012cd4838007376940001600fd22..."} 
[2026-09-07 13:20:58] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad71880012cd4838007376940001600fd22..."} 
[2026-09-07 13:20:58] local.INFO: Packet analysis {"connection_id":173416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:20:58] local.INFO: Extracted packet for processing {"connection_id":173416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:20:58] local.INFO: GPS Element Parsed {"raw_longitude":752124800,"raw_latitude":121071936,"longitude_deg":75.21248,"latitude_deg":12.1071936,"altitude":22,"angle":253,"satellites":34,"speed":11,"hex_longitude":"2cd48380","hex_latitude":"07376940","is_valid_coordinates":true} 
[2026-09-07 13:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924426496001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376492086362112,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3128805441376733184,"note":"Value kept but may cause issues"} 
[2026-09-07 13:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788767312000,"timestamp_ms":1788767312000,"timestamp_seconds":1788767312,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad71880"} 
[2026-09-07 13:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 13:20:58] 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-07 13:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924426496001,"66":28104,"18":206,"83":43264,"24":11,"16":401376492086362112,"44":-3128805441376733184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924426496001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:20:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376492086362112,"km_value":401376492086362.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3128805441376733184,"description":"Unknown IO ID 44"} 
[2026-09-07 13:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924426496001,"power":28104,"unknown_18":206,"unknown_83":43264,"ignition":11,"odometer":null,"unknown_44":-3128805441376733184}} 
[2026-09-07 13:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":173416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:20:58] local.INFO: GPS data processed {"connection_id":173416,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:20:58] local.INFO: Acknowledgment sent {"connection_id":173416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:21:22] local.INFO: TCP Data received {"connection_id":173640,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad83d78012d18e5000724a1b0001f00cc25..."} 
[2026-09-07 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad83d78012d18e5000724a1b0001f00cc25..."} 
[2026-09-07 13:21:22] local.INFO: Processing buffer {"connection_id":173640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad83d78012d18e5000724a1b0001f00cc25..."} 
[2026-09-07 13:21:22] local.INFO: Packet analysis {"connection_id":173640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:21:22] local.INFO: Extracted packet for processing {"connection_id":173640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119841200,"longitude_deg":75.6606208,"latitude_deg":11.98412,"altitude":31,"angle":204,"satellites":37,"speed":9,"hex_longitude":"2d18e500","hex_latitude":"0724a1b0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924450560001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18369725448847360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794051163488987136,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767387000,"timestamp_ms":1788767387000,"timestamp_seconds":1788767387,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad83d78"} 
[2026-09-07 13: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-07 13:21: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-07 13: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":218,"data_length":795,"current_offset":136} 
[2026-09-07 13:21: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-07 13: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-07 13: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-07 13:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924450560001,"66":14352,"236":206,"28":26880,"24":9,"16":18369725448847360,"45":1794051163488987136},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-09-07 13:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924450560001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:21:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-07 13:21:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-09-07 13:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18369725448847360,"km_value":18369725448847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794051163488987136,"description":"Unknown IO ID 45"} 
[2026-09-07 13:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924450560001,"power":14352,"unknown_236":206,"unknown_28":26880,"ignition":9,"odometer":null,"unknown_45":1794051163488987136}} 
[2026-09-07 13:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":173640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:21:23] local.INFO: GPS data processed {"connection_id":173640,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:21:23] local.INFO: Acknowledgment sent {"connection_id":173640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:21:29] local.INFO: TCP Data received {"connection_id":173416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad76a88012cd46680073763300010010629..."} 
[2026-09-07 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad76a88012cd46680073763300010010629..."} 
[2026-09-07 13:21:29] local.INFO: Processing buffer {"connection_id":173416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad76a88012cd46680073763300010010629..."} 
[2026-09-07 13:21:29] local.INFO: Packet analysis {"connection_id":173416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:21:29] local.INFO: Extracted packet for processing {"connection_id":173416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":752117376,"raw_latitude":121070384,"longitude_deg":75.2117376,"latitude_deg":12.1070384,"altitude":16,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2cd46680","hex_latitude":"07376330","is_valid_coordinates":true} 
[2026-09-07 13:21: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-07 13:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924431872001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376848568647680,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3133520147236962304,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788767333000,"timestamp_ms":1788767333000,"timestamp_seconds":1788767333,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad76a88"} 
[2026-09-07 13:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:21: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":200,"data_length":795,"current_offset":136} 
[2026-09-07 13:21:29] 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-07 13:21: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-07 13:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:21:29] 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-07 13:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924431872001,"66":27843,"18":206,"83":43264,"24":0,"16":401376848568647680,"44":-3133520147236962304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924431872001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:21:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:21:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376848568647680,"km_value":401376848568647.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3133520147236962304,"description":"Unknown IO ID 44"} 
[2026-09-07 13:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924431872001,"power":27843,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3133520147236962304}} 
[2026-09-07 13:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":173416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:21:29] local.INFO: GPS data processed {"connection_id":173416,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:21:29] local.INFO: Acknowledgment sent {"connection_id":173416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:21:40] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:40] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:40] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:21:44] local.INFO: TCP Data received {"connection_id":176123,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:44] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:44] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:21:45] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:45] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:21:45] local.INFO: IMEI packet received {"connection_id":174766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:21:47] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad84930012d18e2c007249e30001f00e324..."} 
[2026-09-07 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad84930012d18e2c007249e30001f00e324..."} 
[2026-09-07 13:21:47] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad84930012d18e2c007249e30001f00e324..."} 
[2026-09-07 13:21:47] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:21:47] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756605632,"raw_latitude":119840304,"longitude_deg":75.6605632,"latitude_deg":11.9840304,"altitude":31,"angle":227,"satellites":36,"speed":16,"hex_longitude":"2d18e2c0","hex_latitude":"07249e30","is_valid_coordinates":true} 
[2026-09-07 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-07 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924451072001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18369776988454912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057256357888,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788767390000,"timestamp_ms":1788767390000,"timestamp_seconds":1788767390,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad84930"} 
[2026-09-07 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-07 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1585259214444953569,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84751366660498620,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2817523742,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13461996,"corrected_to":0} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3625603073,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918795601,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1777074382,"corrected_to":0} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":254,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738919,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.WARNING: Large IO value detected {"io_id":8,"raw_value":8726412076780544,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,236,28,24,241,158,16,67,160,53,45,192,163,31,36,10,66,164,35,38,1,240,246,122,4,113,205,254,235,136,37,239,55,81,2,65,7,30,8,206],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":246,"original":13461996,"validated":0},{"io_id":205,"original":1777074382,"validated":0}]} 
[2026-09-07 13:21:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234009874462212096,"timestamp_seconds":2234009874462212.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924451072001,"66":13993,"70":206,"28":31744,"24":16,"16":18369776988454912,"45":1793840057256357888},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924451072001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:21:47] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18369776988454912,"km_value":18369776988454.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057256357888,"description":"Unknown IO ID 45"} 
[2026-09-07 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924451072001,"power":13993,"unknown_70":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1793840057256357888}} 
[2026-09-07 13:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:21:47] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:21:47] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:21:50] local.INFO: TCP Data received {"connection_id":176123,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:50] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:21:50] local.INFO: IMEI packet received {"connection_id":176123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":176123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:21:53] local.INFO: TCP Data received {"connection_id":176123,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad7bc90012cd4648007376350000f01062a..."} 
[2026-09-07 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad7bc90012cd4648007376350000f01062a..."} 
[2026-09-07 13:21:53] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad7bc90012cd4648007376350000f01062a..."} 
[2026-09-07 13:21:53] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:21:53] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad7"} 
[2026-09-07 13:21:53] local.INFO: GPS Element Parsed {"raw_longitude":752116864,"raw_latitude":121070416,"longitude_deg":75.2116864,"latitude_deg":12.1070416,"altitude":15,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2cd46480","hex_latitude":"07376350","is_valid_coordinates":true} 
[2026-09-07 13:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924437248001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376878633418752,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3141682921561968640,"note":"Value kept but may cause issues"} 
[2026-09-07 13:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788767354000,"timestamp_ms":1788767354000,"timestamp_seconds":1788767354,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad7bc90"} 
[2026-09-07 13:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:21:53] 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-07 13:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:21:53] 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-07 13:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924437248001,"66":27908,"18":206,"83":43264,"24":0,"16":401376878633418752,"44":-3141682921561968640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924437248001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:21:53] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376878633418752,"km_value":401376878633418.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3141682921561968640,"description":"Unknown IO ID 44"} 
[2026-09-07 13:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924437248001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3141682921561968640}} 
[2026-09-07 13:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:21:53] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:21:53] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:22:18] local.INFO: TCP Data received {"connection_id":174766,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad85100012d18e04007249cc8001f00fb26..."} 
[2026-09-07 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad85100012d18e04007249cc8001f00fb26..."} 
[2026-09-07 13:22:18] local.INFO: Processing buffer {"connection_id":174766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad85100012d18e04007249cc8001f00fb26..."} 
[2026-09-07 13:22:18] local.INFO: Packet analysis {"connection_id":174766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:22:18] local.INFO: Extracted packet for processing {"connection_id":174766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756604992,"raw_latitude":119839944,"longitude_deg":75.6604992,"latitude_deg":11.9839944,"altitude":31,"angle":251,"satellites":38,"speed":14,"hex_longitude":"2d18e040","hex_latitude":"07249cc8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924451840001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18369811348193280,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793206738558529536,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788767392000,"timestamp_ms":1788767392000,"timestamp_seconds":1788767392,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad85100"} 
[2026-09-07 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-07 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 13:22:18] 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-07 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-07 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-07 13:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924451840001,"66":14004,"70":206,"28":31744,"24":14,"16":18369811348193280,"45":1793206738558529536},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924451840001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:22:18] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:22:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18369811348193280,"km_value":18369811348193.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793206738558529536,"description":"Unknown IO ID 45"} 
[2026-09-07 13:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924451840001,"power":14004,"unknown_70":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1793206738558529536}} 
[2026-09-07 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":174766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:22:18] local.INFO: GPS data processed {"connection_id":174766,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:22:18] local.INFO: Acknowledgment sent {"connection_id":174766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:22:26] local.INFO: TCP Data received {"connection_id":176123,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad80e98012cd461c0073762c8000e01082a..."} 
[2026-09-07 13:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad80e98012cd461c0073762c8000e01082a..."} 
[2026-09-07 13:22:26] local.INFO: Processing buffer {"connection_id":176123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad80e98012cd461c0073762c8000e01082a..."} 
[2026-09-07 13:22:26] local.INFO: Packet analysis {"connection_id":176123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:22:26] local.INFO: Extracted packet for processing {"connection_id":176123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":752116160,"raw_latitude":121070280,"longitude_deg":75.211616,"latitude_deg":12.107028,"altitude":14,"angle":264,"satellites":42,"speed":0,"hex_longitude":"2cd461c0","hex_latitude":"073762c8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924442624001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376908698189824,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3142245871515381760,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788767375000,"timestamp_ms":1788767375000,"timestamp_seconds":1788767375,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad80e98"} 
[2026-09-07 13: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-07 13:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:22: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-07 13:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924442624001,"66":27908,"18":206,"83":43264,"24":0,"16":401376908698189824,"44":-3142245871515381760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924442624001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:22:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376908698189824,"km_value":401376908698189.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3142245871515381760,"description":"Unknown IO ID 44"} 
[2026-09-07 13:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924442624001,"power":27908,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3142245871515381760}} 
[2026-09-07 13:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":176123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:22:26] local.INFO: GPS data processed {"connection_id":176123,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:22:26] local.INFO: Acknowledgment sent {"connection_id":176123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:22:46] local.INFO: TCP Data received {"connection_id":173417,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:22:46] local.INFO: TCP Data received {"connection_id":173417,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:46] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:22:49] local.INFO: TCP Data received {"connection_id":173417,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:49] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:22:49] local.INFO: IMEI packet received {"connection_id":173417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":173417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:22:50] local.INFO: TCP Data received {"connection_id":173417,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ada1df0012d18cc8007248450001f003d27..."} 
[2026-09-07 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ada1df0012d18cc8007248450001f003d27..."} 
[2026-09-07 13:22:50] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ada1df0012d18cc8007248450001f003d27..."} 
[2026-09-07 13:22:50] local.INFO: Packet analysis {"connection_id":173417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:22:50] local.INFO: Extracted packet for processing {"connection_id":173417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119833680,"longitude_deg":75.6599936,"latitude_deg":11.983368,"altitude":31,"angle":61,"satellites":39,"speed":0,"hex_longitude":"2d18cc80","hex_latitude":"07248450","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924482048001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18370253729824768,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786873551580831744,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788767510000,"timestamp_ms":1788767510000,"timestamp_seconds":1788767510,"priority":1,"record_length":96,"hex_timestamp":"000001a07ada1df0"} 
[2026-09-07 13: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-07 13:22: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-07 13: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 13:22: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-07 13: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-07 13: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-07 13:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924482048001,"66":14265,"70":206,"28":31744,"24":0,"16":18370253729824768,"45":1786873551580831744},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924482048001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:22:50] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18370253729824768,"km_value":18370253729824.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786873551580831744,"description":"Unknown IO ID 45"} 
[2026-09-07 13:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924482048001,"power":14265,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1786873551580831744}} 
[2026-09-07 13:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":173417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:22:50] local.INFO: GPS data processed {"connection_id":173417,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:22:50] local.INFO: Acknowledgment sent {"connection_id":173417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:22:50] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:50] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:50] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:22:56] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:56] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:22:56] local.INFO: IMEI packet received {"connection_id":173418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":173418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:22:57] local.INFO: TCP Data received {"connection_id":173417,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07ada21d8012d18cd4007248460001f004a27..."} 
[2026-09-07 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ada21d8012d18cd4007248460001f004a27..."} 
[2026-09-07 13:22:57] local.INFO: Processing buffer {"connection_id":173417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ada21d8012d18cd4007248460001f004a27..."} 
[2026-09-07 13:22:57] local.INFO: Packet analysis {"connection_id":173417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:22:57] local.INFO: Extracted packet for processing {"connection_id":173417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756600128,"raw_latitude":119833696,"longitude_deg":75.6600128,"latitude_deg":11.9833696,"altitude":31,"angle":74,"satellites":39,"speed":4,"hex_longitude":"2d18cd40","hex_latitude":"07248460","is_valid_coordinates":true} 
[2026-09-07 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924482560001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18370262319759360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920325021696,"note":"Value kept but may cause issues"} 
[2026-09-07 13:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788767511000,"timestamp_ms":1788767511000,"timestamp_seconds":1788767511,"priority":1,"record_length":96,"hex_timestamp":"000001a07ada21d8"} 
[2026-09-07 13:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:22: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-07 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 13:22: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-07 13:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924482560001,"66":14428,"70":206,"28":31744,"24":4,"16":18370262319759360,"45":1786943920325021696},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924482560001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:22:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18370262319759360,"km_value":18370262319759.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920325021696,"description":"Unknown IO ID 45"} 
[2026-09-07 13:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924482560001,"power":14428,"unknown_70":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1786943920325021696}} 
[2026-09-07 13:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":173417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:22:57] local.INFO: GPS data processed {"connection_id":173417,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:22:57] local.INFO: Acknowledgment sent {"connection_id":173417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:23:06] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad860a0012cd45f8007376290000e01072a..."} 
[2026-09-07 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad860a0012cd45f8007376290000e01072a..."} 
[2026-09-07 13:23:06] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad860a0012cd45f8007376290000e01072a..."} 
[2026-09-07 13:23:06] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:23:06] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:23:06] local.INFO: GPS Element Parsed {"raw_longitude":752115584,"raw_latitude":121070224,"longitude_deg":75.2115584,"latitude_deg":12.1070224,"altitude":14,"angle":263,"satellites":42,"speed":8,"hex_longitude":"2cd45f80","hex_latitude":"07376290","is_valid_coordinates":true} 
[2026-09-07 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924448000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401376938762960896,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3143019927701370880,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788767396000,"timestamp_ms":1788767396000,"timestamp_seconds":1788767396,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad860a0"} 
[2026-09-07 13:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:23:06] 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-07 13:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924448000001,"66":27919,"18":206,"83":43264,"24":8,"16":401376938762960896,"44":-3143019927701370880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924448000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:23:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401376938762960896,"km_value":401376938762960.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:23:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3143019927701370880,"description":"Unknown IO ID 44"} 
[2026-09-07 13:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924448000001,"power":27919,"unknown_18":206,"unknown_83":43264,"ignition":8,"odometer":null,"unknown_44":-3143019927701370880}} 
[2026-09-07 13:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:23:06] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:23:06] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:23:10] local.INFO: TCP Data received {"connection_id":173418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad8b2a8012cd449c0073761180011010a2d..."} 
[2026-09-07 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad8b2a8012cd449c0073761180011010a2d..."} 
[2026-09-07 13:23:10] local.INFO: Processing buffer {"connection_id":173418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad8b2a8012cd449c0073761180011010a2d..."} 
[2026-09-07 13:23:10] local.INFO: Packet analysis {"connection_id":173418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:23:10] local.INFO: Extracted packet for processing {"connection_id":173418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad8"} 
[2026-09-07 13:23:10] local.INFO: GPS Element Parsed {"raw_longitude":752110016,"raw_latitude":121069848,"longitude_deg":75.2110016,"latitude_deg":12.1069848,"altitude":17,"angle":266,"satellites":45,"speed":6,"hex_longitude":"2cd449c0","hex_latitude":"07376118","is_valid_coordinates":true} 
[2026-09-07 13:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924453376001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377205050933248,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3143653246398984192,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788767417000,"timestamp_ms":1788767417000,"timestamp_seconds":1788767417,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad8b2a8"} 
[2026-09-07 13:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924453376001,"66":27930,"18":206,"83":43264,"24":6,"16":401377205050933248,"44":-3143653246398984192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924453376001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:23:10] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:23:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377205050933248,"km_value":401377205050933.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3143653246398984192,"description":"Unknown IO ID 44"} 
[2026-09-07 13:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924453376001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":6,"odometer":null,"unknown_44":-3143653246398984192}} 
[2026-09-07 13:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":173418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:23:10] local.INFO: GPS data processed {"connection_id":173418,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:23:10] local.INFO: Acknowledgment sent {"connection_id":173418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:23:38] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:38] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:38] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:23:40] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:40] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:40] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:23:42] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:23:42] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:23:42] local.INFO: IMEI packet received {"connection_id":176124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":176124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:23:43] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:43] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:43] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:23:43] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07adadd58012d18e5000724a3200020002927..."} 
[2026-09-07 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adadd58012d18e5000724a3200020002927..."} 
[2026-09-07 13:23:43] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adadd58012d18e5000724a3200020002927..."} 
[2026-09-07 13:23:43] local.INFO: Packet analysis {"connection_id":176124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:23:43] local.INFO: Extracted packet for processing {"connection_id":176124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119841568,"longitude_deg":75.6606208,"latitude_deg":11.9841568,"altitude":32,"angle":41,"satellites":39,"speed":11,"hex_longitude":"2d18e500","hex_latitude":"0724a320","is_valid_coordinates":true} 
[2026-09-07 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924494080001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18370807780605952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793206738558578688,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788767559000,"timestamp_ms":1788767559000,"timestamp_seconds":1788767559,"priority":1,"record_length":96,"hex_timestamp":"000001a07adadd58"} 
[2026-09-07 13:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 13:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":176124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924494080001,"66":13037,"70":206,"28":31744,"24":11,"16":18370807780605952,"45":1793206738558578688},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924494080001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:23:43] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18370807780605952,"km_value":18370807780605.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793206738558578688,"description":"Unknown IO ID 45"} 
[2026-09-07 13:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924494080001,"power":13037,"unknown_70":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1793206738558578688}} 
[2026-09-07 13:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":176124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:23:43] local.INFO: GPS data processed {"connection_id":176124,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:23:43] local.INFO: Acknowledgment sent {"connection_id":176124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:23:44] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07adae910012d18e7800724a6680020001627..."} 
[2026-09-07 13:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adae910012d18e7800724a6680020001627..."} 
[2026-09-07 13:23:44] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adae910012d18e7800724a6680020001627..."} 
[2026-09-07 13:23:44] local.INFO: Packet analysis {"connection_id":176124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:23:44] local.INFO: Extracted packet for processing {"connection_id":176124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756606848,"raw_latitude":119842408,"longitude_deg":75.6606848,"latitude_deg":11.9842408,"altitude":32,"angle":22,"satellites":39,"speed":14,"hex_longitude":"2d18e780","hex_latitude":"0724a668","is_valid_coordinates":true} 
[2026-09-07 13:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924495104001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18370859320213504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057256452096,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788767562000,"timestamp_ms":1788767562000,"timestamp_seconds":1788767562,"priority":1,"record_length":96,"hex_timestamp":"000001a07adae910"} 
[2026-09-07 13:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:23:44] 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-07 13:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-07 13:23:44] 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-07 13:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924495104001,"66":14265,"70":206,"28":31744,"24":14,"16":18370859320213504,"45":1793840057256452096},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-09-07 13:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924495104001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:23:44] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-09-07 13:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18370859320213504,"km_value":18370859320213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057256452096,"description":"Unknown IO ID 45"} 
[2026-09-07 13:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924495104001,"power":14265,"unknown_70":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1793840057256452096}} 
[2026-09-07 13:23:44] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:44] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:44] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":176124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:23:44] local.INFO: GPS data processed {"connection_id":176124,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:23:44] local.INFO: Acknowledgment sent {"connection_id":176124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:23:50] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:50] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:23:50] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:23:51] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad904b0012cd43f8007375fd8000e010829..."} 
[2026-09-07 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad904b0012cd43f8007375fd8000e010829..."} 
[2026-09-07 13:23:51] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad904b0012cd43f8007375fd8000e010829..."} 
[2026-09-07 13:23:51] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:23:51] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121069528,"longitude_deg":75.2107392,"latitude_deg":12.1069528,"altitude":14,"angle":264,"satellites":41,"speed":0,"hex_longitude":"2cd43f80","hex_latitude":"07375fd8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924458752001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377329604984832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3149775327142537216,"note":"Value kept but may cause issues"} 
[2026-09-07 13:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767438000,"timestamp_ms":1788767438000,"timestamp_seconds":1788767438,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad904b0"} 
[2026-09-07 13: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-07 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:23:51] 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-07 13: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-07 13: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-07 13:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:23:51] 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-07 13:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924458752001,"66":27800,"18":206,"83":43264,"24":0,"16":401377329604984832,"44":-3149775327142537216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924458752001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:23:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377329604984832,"km_value":401377329604984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3149775327142537216,"description":"Unknown IO ID 44"} 
[2026-09-07 13:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924458752001,"power":27800,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3149775327142537216}} 
[2026-09-07 13:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:23:51] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:23:51] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:24:16] local.INFO: TCP Data received {"connection_id":176124,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:24:16] local.INFO: Processing buffer {"connection_id":176124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:24:16] local.INFO: Packet analysis {"connection_id":176124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adb"} 
[2026-09-07 13:24:16] local.INFO: Extracted packet for processing {"connection_id":176124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adb"} 
[2026-09-07 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756614528,"raw_latitude":119857416,"longitude_deg":75.6614528,"latitude_deg":11.9857416,"altitude":32,"angle":62,"satellites":40,"speed":37,"hex_longitude":"2d190580","hex_latitude":"0724e108","is_valid_coordinates":true} 
[2026-09-07 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-07 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924504064001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18371941651972096,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793628951027124224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788767606000,"timestamp_ms":1788767606000,"timestamp_seconds":1788767606,"priority":1,"record_length":96,"hex_timestamp":"000001a07adb94f0"} 
[2026-09-07 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-07 13:24: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-07 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 13:24:16] 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-07 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-07 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-07 13:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924504064001,"66":13906,"81":206,"28":31744,"24":37,"16":18371941651972096,"45":1793628951027124224},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-07 13:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924504064001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 13:24:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18371941651972096,"km_value":18371941651972.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793628951027124224,"description":"Unknown IO ID 45"} 
[2026-09-07 13:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924504064001,"power":13906,"unknown_81":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1793628951027124224}} 
[2026-09-07 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":176124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:24:16] local.INFO: GPS data processed {"connection_id":176124,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:24:16] local.INFO: Acknowledgment sent {"connection_id":176124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:24:22] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad956b8012cd43f8007375fd8000e010828..."} 
[2026-09-07 13:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad956b8012cd43f8007375fd8000e010828..."} 
[2026-09-07 13:24:22] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad956b8012cd43f8007375fd8000e010828..."} 
[2026-09-07 13:24:22] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:22] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:22] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121069528,"longitude_deg":75.2107392,"latitude_deg":12.1069528,"altitude":14,"angle":264,"satellites":40,"speed":0,"hex_longitude":"2cd43f80","hex_latitude":"07375fd8","is_valid_coordinates":true} 
[2026-09-07 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924464128001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377329604984832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3152660445653903360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767459000,"timestamp_ms":1788767459000,"timestamp_seconds":1788767459,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad956b8"} 
[2026-09-07 13:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:24: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-07 13:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 13:24:22] 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-07 13:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:22] 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-07 13:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924464128001,"66":27995,"18":206,"83":43264,"24":0,"16":401377329604984832,"44":-3152660445653903360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924464128001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:24:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377329604984832,"km_value":401377329604984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3152660445653903360,"description":"Unknown IO ID 44"} 
[2026-09-07 13:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924464128001,"power":27995,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3152660445653903360}} 
[2026-09-07 13:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:24:22] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:24:22] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:24:41] local.INFO: TCP Data received {"connection_id":173643,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:41] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:41] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:24:43] local.INFO: TCP Data received {"connection_id":173643,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:43] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:43] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:24:45] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:45] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:45] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:24:45] local.INFO: TCP Data received {"connection_id":173643,"ip":"117.224.157.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:45] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:24:45] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:24:46] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:46] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:46] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:24:50] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:50] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:24:50] local.INFO: IMEI packet received {"connection_id":173419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":173419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:24:51] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad9a8c0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad9a8c0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:51] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad9a8c0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:51] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:51] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121069528,"longitude_deg":75.2107392,"latitude_deg":12.1069528,"altitude":14,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2cd43f80","hex_latitude":"07375fd8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924469504001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377329604984832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3152660445653903360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767480000,"timestamp_ms":1788767480000,"timestamp_seconds":1788767480,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad9a8c0"} 
[2026-09-07 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-07 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:51] 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-07 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924469504001,"66":27843,"18":206,"83":43264,"24":0,"16":401377329604984832,"44":-3152660445653903360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924469504001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:24:51] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377329604984832,"km_value":401377329604984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3152660445653903360,"description":"Unknown IO ID 44"} 
[2026-09-07 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924469504001,"power":27843,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3152660445653903360}} 
[2026-09-07 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:24:51] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:24:51] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:24:55] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ad9fac8012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ad9fac8012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:55] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ad9fac8012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:24:55] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:55] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ad9"} 
[2026-09-07 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121069528,"longitude_deg":75.2107392,"latitude_deg":12.1069528,"altitude":14,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2cd43f80","hex_latitude":"07375fd8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924474880001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377329604984832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3152660445653903360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788767501000,"timestamp_ms":1788767501000,"timestamp_seconds":1788767501,"priority":1,"record_length":96,"hex_timestamp":"000001a07ad9fac8"} 
[2026-09-07 13: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-07 13:24:55] 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-07 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:24:55] 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-07 13: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-07 13: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-07 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:24:55] 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-07 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924474880001,"66":27974,"18":206,"83":43264,"24":0,"16":401377329604984832,"44":-3152660445653903360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924474880001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:24:55] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377329604984832,"km_value":401377329604984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3152660445653903360,"description":"Unknown IO ID 44"} 
[2026-09-07 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924474880001,"power":27974,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3152660445653903360}} 
[2026-09-07 13:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:24:55] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:24:55] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:25:21] local.INFO: TCP Data received {"connection_id":173643,"ip":"117.224.157.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:25:21] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adb94f0012d1905800724e1080020003e28..."} 
[2026-09-07 13:25:21] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adb"} 
[2026-09-07 13:25:21] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adb"} 
[2026-09-07 13:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756614528,"raw_latitude":119857416,"longitude_deg":75.6614528,"latitude_deg":11.9857416,"altitude":32,"angle":62,"satellites":40,"speed":37,"hex_longitude":"2d190580","hex_latitude":"0724e108","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924507136001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18371941651972096,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802987994003605504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788767606000,"timestamp_ms":1788767606000,"timestamp_seconds":1788767606,"priority":1,"record_length":96,"hex_timestamp":"000001a07adb94f0"} 
[2026-09-07 13: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-07 13:25: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-07 13: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 13:25:21] 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-07 13: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-07 13: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-07 13:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.157.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924507136001,"66":13906,"81":206,"28":31744,"24":37,"16":18371941651972096,"45":1802987994003605504},"client_ip":"117.224.157.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-09-07 13:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924507136001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 13:25:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18371941651972096,"km_value":18371941651972.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802987994003605504,"description":"Unknown IO ID 45"} 
[2026-09-07 13:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924507136001,"power":13906,"unknown_81":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1802987994003605504}} 
[2026-09-07 13:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:25:21] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:25:21] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:25:26] local.INFO: TCP Data received {"connection_id":173419,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ada4cd0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ada4cd0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:25:26] local.INFO: Processing buffer {"connection_id":173419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ada4cd0012cd43f8007375fd8000e010827..."} 
[2026-09-07 13:25:26] local.INFO: Packet analysis {"connection_id":173419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:25:26] local.INFO: Extracted packet for processing {"connection_id":173419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ada"} 
[2026-09-07 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":752107392,"raw_latitude":121069528,"longitude_deg":75.2107392,"latitude_deg":12.1069528,"altitude":14,"angle":264,"satellites":39,"speed":0,"hex_longitude":"2cd43f80","hex_latitude":"07375fd8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924480256001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401377329604984832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3152660445653903360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788767522000,"timestamp_ms":1788767522000,"timestamp_seconds":1788767522,"priority":1,"record_length":96,"hex_timestamp":"000001a07ada4cd0"} 
[2026-09-07 13: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-07 13:25:26] 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-07 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:25: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-07 13:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924480256001,"66":27930,"18":206,"83":43264,"24":0,"16":401377329604984832,"44":-3152660445653903360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,83,24,16,44]} 
[2026-09-07 13:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924480256001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:25:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 13:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401377329604984832,"km_value":401377329604984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3152660445653903360,"description":"Unknown IO ID 44"} 
[2026-09-07 13:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924480256001,"power":27930,"unknown_18":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3152660445653903360}} 
[2026-09-07 13:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":173419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:25:26] local.INFO: GPS data processed {"connection_id":173419,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:25:26] local.INFO: Acknowledgment sent {"connection_id":173419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:25:45] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:45] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:45] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:25:45] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:45] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:45] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:25:48] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:48] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:48] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:25:50] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:50] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:25:50] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:25:50] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:50] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:25:50] local.INFO: IMEI packet received {"connection_id":176125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":176125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:25:50] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07add0420012cd356c007373090000901392c..."} 
[2026-09-07 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add0420012cd356c007373090000901392c..."} 
[2026-09-07 13:25:50] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add0420012cd356c007373090000901392c..."} 
[2026-09-07 13:25:50] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:25:50] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":752047808,"raw_latitude":121057424,"longitude_deg":75.2047808,"latitude_deg":12.1057424,"altitude":9,"angle":313,"satellites":44,"speed":17,"hex_longitude":"2cd356c0","hex_latitude":"07373090","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924530944001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401380254477713408,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3217751534021396480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788767700000,"timestamp_ms":1788767700000,"timestamp_seconds":1788767700,"priority":1,"record_length":96,"hex_timestamp":"000001a07add0420"} 
[2026-09-07 13: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-07 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924530944001,"66":27843,"159":206,"83":43264,"24":17,"16":401380254477713408,"44":-3217751534021396480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-09-07 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924530944001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:25:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 13:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401380254477713408,"km_value":401380254477713.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3217751534021396480,"description":"Unknown IO ID 44"} 
[2026-09-07 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924530944001,"power":27843,"unknown_159":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3217751534021396480}} 
[2026-09-07 13:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:25:51] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:25:51] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:25:53] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.201.116","data_length":795,"data_hex":"000000000000030f8e0a000001a07adce8c8012d19d4400724d098002c009227..."} 
[2026-09-07 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adce8c8012d19d4400724d098002c009227..."} 
[2026-09-07 13:25:53] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adce8c8012d19d4400724d098002c009227..."} 
[2026-09-07 13:25:53] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adc"} 
[2026-09-07 13:25:53] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adc"} 
[2026-09-07 13:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119853208,"longitude_deg":75.6667456,"latitude_deg":11.9853208,"altitude":44,"angle":146,"satellites":39,"speed":29,"hex_longitude":"2d19d440","hex_latitude":"0724d098","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924527360001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18375158582476800,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856960820787939328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788767693000,"timestamp_ms":1788767693000,"timestamp_seconds":1788767693,"priority":1,"record_length":96,"hex_timestamp":"000001a07adce8c8"} 
[2026-09-07 13: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-07 13:25: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-07 13: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-07 13: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-07 13: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-07 13: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-07 13:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924527360001,"66":13928,"112":206,"28":31744,"24":29,"16":18375158582476800,"45":1856960820787939328},"client_ip":"117.225.201.116","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-07 13:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924527360001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:25:53] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 13:25:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18375158582476800,"km_value":18375158582476.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856960820787939328,"description":"Unknown IO ID 45"} 
[2026-09-07 13:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924527360001,"power":13928,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1856960820787939328}} 
[2026-09-07 13:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:25:53] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:25:53] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:26:07] local.INFO: TCP Data received {"connection_id":173420,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:07] local.INFO: Processing buffer {"connection_id":173420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:07] local.INFO: IMEI packet received {"connection_id":173420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":173420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:26:22] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07add0808012cd355c0073731e00009014d2a..."} 
[2026-09-07 13:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add0808012cd355c0073731e00009014d2a..."} 
[2026-09-07 13:26:22] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add0808012cd355c0073731e00009014d2a..."} 
[2026-09-07 13:26:22] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:22] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:22] local.INFO: GPS Element Parsed {"raw_longitude":752047552,"raw_latitude":121057760,"longitude_deg":75.2047552,"latitude_deg":12.105776,"altitude":9,"angle":333,"satellites":42,"speed":16,"hex_longitude":"2cd355c0","hex_latitude":"073731e0","is_valid_coordinates":true} 
[2026-09-07 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924531200001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401380275952549888,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218173746486407168,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767701000,"timestamp_ms":1788767701000,"timestamp_seconds":1788767701,"priority":1,"record_length":96,"hex_timestamp":"000001a07add0808"} 
[2026-09-07 13:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:26:22] 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-07 13:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:26:22] 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-07 13:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924531200001,"66":27843,"159":206,"83":43264,"24":16,"16":401380275952549888,"44":-3218173746486407168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-09-07 13:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924531200001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:26:22] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 13:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401380275952549888,"km_value":401380275952549.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218173746486407168,"description":"Unknown IO ID 44"} 
[2026-09-07 13:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924531200001,"power":27843,"unknown_159":206,"unknown_83":43264,"ignition":16,"odometer":null,"unknown_44":-3218173746486407168}} 
[2026-09-07 13:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:26:22] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:26:22] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:26:25] local.INFO: TCP Data received {"connection_id":176125,"ip":"117.225.201.116","data_length":795,"data_hex":"000000000000030f8e0a000001a07add0fd8012d19e6000724afc8002a009824..."} 
[2026-09-07 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add0fd8012d19e6000724afc8002a009824..."} 
[2026-09-07 13:26:25] local.INFO: Processing buffer {"connection_id":176125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add0fd8012d19e6000724afc8002a009824..."} 
[2026-09-07 13:26:25] local.INFO: Packet analysis {"connection_id":176125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:25] local.INFO: Extracted packet for processing {"connection_id":176125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119844808,"longitude_deg":75.6672,"latitude_deg":11.9844808,"altitude":42,"angle":152,"satellites":36,"speed":39,"hex_longitude":"2d19e600","hex_latitude":"0724afc8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924529408001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18375622438944768,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945437456384,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788767703000,"timestamp_ms":1788767703000,"timestamp_seconds":1788767703,"priority":1,"record_length":96,"hex_timestamp":"000001a07add0fd8"} 
[2026-09-07 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-07 13:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 13:26:25] 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-07 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-07 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-07 13:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924529408001,"66":13928,"112":206,"28":31744,"24":39,"16":18375622438944768,"45":1861182945437456384},"client_ip":"117.225.201.116","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-07 13:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924529408001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:26:25] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 13:26:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18375622438944768,"km_value":18375622438944.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945437456384,"description":"Unknown IO ID 45"} 
[2026-09-07 13:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924529408001,"power":13928,"unknown_112":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1861182945437456384}} 
[2026-09-07 13:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":176125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:26:25] local.INFO: GPS data processed {"connection_id":176125,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:26:25] local.INFO: Acknowledgment sent {"connection_id":176125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:26:40] local.INFO: TCP Data received {"connection_id":173645,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:40] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:40] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:26:42] local.INFO: TCP Data received {"connection_id":173645,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:42] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:42] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:26:44] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:44] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:44] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:26:46] local.INFO: TCP Data received {"connection_id":173645,"ip":"117.225.201.116","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:46] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:26:46] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:26:47] local.INFO: TCP Data received {"connection_id":174770,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:47] local.INFO: Processing buffer {"connection_id":174770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:26:47] local.INFO: IMEI packet received {"connection_id":174770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:26:47] local.INFO: TCP Data received {"connection_id":173645,"ip":"117.225.201.116","data_length":795,"data_hex":"000000000000030f8e0a000001a07add2b30012d19f1c007249c680029008a25..."} 
[2026-09-07 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add2b30012d19f1c007249c680029008a25..."} 
[2026-09-07 13:26:47] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add2b30012d19f1c007249c680029008a25..."} 
[2026-09-07 13:26:47] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:47] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756675008,"raw_latitude":119839848,"longitude_deg":75.6675008,"latitude_deg":11.9839848,"altitude":41,"angle":138,"satellites":37,"speed":35,"hex_longitude":"2d19f1c0","hex_latitude":"07249c68","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924531968001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18375901611819008,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126271920128,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788767710000,"timestamp_ms":1788767710000,"timestamp_seconds":1788767710,"priority":1,"record_length":96,"hex_timestamp":"000001a07add2b30"} 
[2026-09-07 13: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-07 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 13:26:47] 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-07 13: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-07 13: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-07 13:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924531968001,"66":13928,"112":206,"28":31744,"24":35,"16":18375901611819008,"45":1866179126271920128},"client_ip":"117.225.201.116","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-07 13:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924531968001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:26:47] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 13:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18375901611819008,"km_value":18375901611819.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126271920128,"description":"Unknown IO ID 45"} 
[2026-09-07 13:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924531968001,"power":13928,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1866179126271920128}} 
[2026-09-07 13:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:26:47] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:26:47] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:26:50] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:50] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:26:50] local.INFO: IMEI packet received {"connection_id":173646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":173646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:26:51] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07add0bf0012cd3558007373348000a01602c..."} 
[2026-09-07 13:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add0bf0012cd3558007373348000a01602c..."} 
[2026-09-07 13:26:51] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add0bf0012cd3558007373348000a01602c..."} 
[2026-09-07 13:26:51] local.INFO: Packet analysis {"connection_id":173646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:51] local.INFO: Extracted packet for processing {"connection_id":173646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:26:51] local.INFO: GPS Element Parsed {"raw_longitude":752047488,"raw_latitude":121058120,"longitude_deg":75.2047488,"latitude_deg":12.105812,"altitude":10,"angle":352,"satellites":44,"speed":14,"hex_longitude":"2cd35580","hex_latitude":"07373348","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924531456001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401380293132419072,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3218455221463031808,"note":"Value kept but may cause issues"} 
[2026-09-07 13:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767702000,"timestamp_ms":1788767702000,"timestamp_seconds":1788767702,"priority":1,"record_length":96,"hex_timestamp":"000001a07add0bf0"} 
[2026-09-07 13: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-07 13:26:51] 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-07 13:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:26:51] 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-07 13:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924531456001,"66":27800,"159":206,"83":43264,"24":14,"16":401380293132419072,"44":-3218455221463031808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-09-07 13:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924531456001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:26:51] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 13:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401380293132419072,"km_value":401380293132419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3218455221463031808,"description":"Unknown IO ID 44"} 
[2026-09-07 13:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924531456001,"power":27800,"unknown_159":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3218455221463031808}} 
[2026-09-07 13:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":173646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:26:51] local.INFO: GPS data processed {"connection_id":173646,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:26:51] local.INFO: Acknowledgment sent {"connection_id":173646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:27:19] local.INFO: TCP Data received {"connection_id":173645,"ip":"117.225.201.116","data_length":795,"data_hex":"000000000000030f8e0a000001a07add5240012d1a0d80072483f0002b008727..."} 
[2026-09-07 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07add5240012d1a0d80072483f0002b008727..."} 
[2026-09-07 13:27:19] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07add5240012d1a0d80072483f0002b008727..."} 
[2026-09-07 13:27:19] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:27:19] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07add"} 
[2026-09-07 13:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119833584,"longitude_deg":75.6682112,"latitude_deg":11.9833584,"altitude":43,"angle":135,"satellites":39,"speed":36,"hex_longitude":"2d1a0d80","hex_latitude":"072483f0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924533760001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18376356878352384,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869486457247000576,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788767720000,"timestamp_ms":1788767720000,"timestamp_seconds":1788767720,"priority":1,"record_length":96,"hex_timestamp":"000001a07add5240"} 
[2026-09-07 13: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-07 13:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 13:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.201.116","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924533760001,"66":13820,"112":206,"28":31744,"24":36,"16":18376356878352384,"45":1869486457247000576},"client_ip":"117.225.201.116","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-09-07 13:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924533760001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:27:19] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 13:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18376356878352384,"km_value":18376356878352.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869486457247000576,"description":"Unknown IO ID 45"} 
[2026-09-07 13:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924533760001,"power":13820,"unknown_112":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1869486457247000576}} 
[2026-09-07 13:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:27:19] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:27:19] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:27:23] local.INFO: TCP Data received {"connection_id":173646,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ade82f0012cd32e8007378110000901052e..."} 
[2026-09-07 13:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ade82f0012cd32e8007378110000901052e..."} 
[2026-09-07 13:27:23] local.INFO: Processing buffer {"connection_id":173646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ade82f0012cd32e8007378110000901052e..."} 
[2026-09-07 13:27:23] local.INFO: Packet analysis {"connection_id":173646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:23] local.INFO: Extracted packet for processing {"connection_id":173646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":752037504,"raw_latitude":121078032,"longitude_deg":75.2037504,"latitude_deg":12.1078032,"altitude":9,"angle":261,"satellites":46,"speed":4,"hex_longitude":"2cd32e80","hex_latitude":"07378110","is_valid_coordinates":true} 
[2026-09-07 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-07 13:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924550912001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401381830730711040,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3228517951875207168,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788767798000,"timestamp_ms":1788767798000,"timestamp_seconds":1788767798,"priority":1,"record_length":96,"hex_timestamp":"000001a07ade82f0"} 
[2026-09-07 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-07 13:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 13:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:23] 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-07 13:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924550912001,"66":27995,"169":206,"83":43264,"24":4,"16":401381830730711040,"44":-3228517951875207168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-07 13:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924550912001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:27:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 13:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401381830730711040,"km_value":401381830730711.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:27:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3228517951875207168,"description":"Unknown IO ID 44"} 
[2026-09-07 13:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924550912001,"power":27995,"unknown_169":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3228517951875207168}} 
[2026-09-07 13:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":173646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:27:23] local.INFO: GPS data processed {"connection_id":173646,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:27:23] local.INFO: Acknowledgment sent {"connection_id":173646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:27:44] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:44] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:44] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:27:46] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:46] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:46] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:27:48] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:27:48] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:27:48] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:27:50] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ade8ac0012cd32d8007378138000901182e..."} 
[2026-09-07 13:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ade8ac0012cd32d8007378138000901182e..."} 
[2026-09-07 13:27:50] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ade8ac0012cd32d8007378138000901182e..."} 
[2026-09-07 13:27:50] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:50] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:50] local.INFO: GPS Element Parsed {"raw_longitude":752037248,"raw_latitude":121078072,"longitude_deg":75.2037248,"latitude_deg":12.1078072,"altitude":9,"angle":280,"satellites":46,"speed":5,"hex_longitude":"2cd32d80","hex_latitude":"07378138","is_valid_coordinates":true} 
[2026-09-07 13:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924556288001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401381839320645632,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3229503114293735424,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788767800000,"timestamp_ms":1788767800000,"timestamp_seconds":1788767800,"priority":1,"record_length":96,"hex_timestamp":"000001a07ade8ac0"} 
[2026-09-07 13:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:27: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-07 13:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924556288001,"66":27908,"169":206,"83":43264,"24":5,"16":401381839320645632,"44":-3229503114293735424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-07 13:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924556288001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:27:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 13:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401381839320645632,"km_value":401381839320645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3229503114293735424,"description":"Unknown IO ID 44"} 
[2026-09-07 13:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924556288001,"power":27908,"unknown_169":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3229503114293735424}} 
[2026-09-07 13:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:27:50] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:27:50] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:27:51] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ade9678012cd32a40073781480009010d2e..."} 
[2026-09-07 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ade9678012cd32a40073781480009010d2e..."} 
[2026-09-07 13:27:51] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ade9678012cd32a40073781480009010d2e..."} 
[2026-09-07 13:27:51] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:51] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":752036416,"raw_latitude":121078088,"longitude_deg":75.2036416,"latitude_deg":12.1078088,"altitude":9,"angle":269,"satellites":46,"speed":15,"hex_longitude":"2cd32a40","hex_latitude":"07378148","is_valid_coordinates":true} 
[2026-09-07 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924556800001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401381882270318592,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3229784589270435840,"note":"Value kept but may cause issues"} 
[2026-09-07 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767803000,"timestamp_ms":1788767803000,"timestamp_seconds":1788767803,"priority":1,"record_length":96,"hex_timestamp":"000001a07ade9678"} 
[2026-09-07 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:27:51] 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-07 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924556800001,"66":27930,"169":206,"83":43264,"24":15,"16":401381882270318592,"44":-3229784589270435840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-07 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924556800001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:27:51] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 13:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401381882270318592,"km_value":401381882270318.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3229784589270435840,"description":"Unknown IO ID 44"} 
[2026-09-07 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924556800001,"power":27930,"unknown_169":206,"unknown_83":43264,"ignition":15,"odometer":null,"unknown_44":-3229784589270435840}} 
[2026-09-07 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:27:51] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:27:51] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:28:22] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07adea230012cd3250007378208000901182c..."} 
[2026-09-07 13:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adea230012cd3250007378208000901182c..."} 
[2026-09-07 13:28:22] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adea230012cd3250007378208000901182c..."} 
[2026-09-07 13:28:22] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:28:22] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ade"} 
[2026-09-07 13:28:22] local.INFO: GPS Element Parsed {"raw_longitude":752035072,"raw_latitude":121078280,"longitude_deg":75.2035072,"latitude_deg":12.107828,"altitude":9,"angle":280,"satellites":44,"speed":21,"hex_longitude":"2cd32500","hex_latitude":"07378208","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924557568001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401381946694828032,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3230699382944741376,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767806000,"timestamp_ms":1788767806000,"timestamp_seconds":1788767806,"priority":1,"record_length":96,"hex_timestamp":"000001a07adea230"} 
[2026-09-07 13: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-07 13:28: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-07 13:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:28:22] 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-07 13:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924557568001,"66":27930,"169":206,"83":43264,"24":21,"16":401381946694828032,"44":-3230699382944741376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-09-07 13:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924557568001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:28:22] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 13:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401381946694828032,"km_value":401381946694828.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3230699382944741376,"description":"Unknown IO ID 44"} 
[2026-09-07 13:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924557568001,"power":27930,"unknown_169":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3230699382944741376}} 
[2026-09-07 13:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:28:22] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:28:22] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:28:44] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:44] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:44] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:28:50] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:50] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:28:50] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:28:51] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07adf9460012cd2cb4007380eb8000a016429..."} 
[2026-09-07 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adf9460012cd2cb4007380eb8000a016429..."} 
[2026-09-07 13:28:51] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adf9460012cd2cb4007380eb8000a016429..."} 
[2026-09-07 13:28:51] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:28:51] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":752012096,"raw_latitude":121114296,"longitude_deg":75.2012096,"latitude_deg":12.1114296,"altitude":10,"angle":356,"satellites":41,"speed":31,"hex_longitude":"2cd2cb40","hex_latitude":"07380eb8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924571904001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401384351876513792,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3257580243213688832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788767868000,"timestamp_ms":1788767868000,"timestamp_seconds":1788767868,"priority":1,"record_length":96,"hex_timestamp":"000001a07adf9460"} 
[2026-09-07 13: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-07 13:28:51] 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-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:28:51] 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-07 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924571904001,"66":27821,"168":206,"83":43264,"24":31,"16":401384351876513792,"44":-3257580243213688832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-09-07 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924571904001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:28:51] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 13:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401384351876513792,"km_value":401384351876513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3257580243213688832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924571904001,"power":27821,"unknown_168":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3257580243213688832}} 
[2026-09-07 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:28:51] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:28:51] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:29:22] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07adfbb70012cd2c580073832580009015c29..."} 
[2026-09-07 13:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adfbb70012cd2c580073832580009015c29..."} 
[2026-09-07 13:29:22] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adfbb70012cd2c580073832580009015c29..."} 
[2026-09-07 13:29:22] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:29:22] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:29:22] local.INFO: GPS Element Parsed {"raw_longitude":752010624,"raw_latitude":121123416,"longitude_deg":75.2010624,"latitude_deg":12.1123416,"altitude":9,"angle":348,"satellites":41,"speed":42,"hex_longitude":"2cd2c580","hex_latitude":"07383258","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924574208001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401384798553112576,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3257439505722984448,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767878000,"timestamp_ms":1788767878000,"timestamp_seconds":1788767878,"priority":1,"record_length":96,"hex_timestamp":"000001a07adfbb70"} 
[2026-09-07 13: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-07 13:29: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-07 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:29:22] 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-07 13: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-07 13: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-07 13:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:29:22] 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-07 13:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924574208001,"66":27517,"168":206,"83":43264,"24":42,"16":401384798553112576,"44":-3257439505722984448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-09-07 13:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924574208001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:29:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 13:29:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401384798553112576,"km_value":401384798553112.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3257439505722984448,"description":"Unknown IO ID 44"} 
[2026-09-07 13:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924574208001,"power":27517,"unknown_168":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3257439505722984448}} 
[2026-09-07 13:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:29:22] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:29:22] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:29:44] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:44] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:44] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:29:47] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:47] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:47] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:29:50] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:50] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:29:50] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:29:50] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07adfdab0012cd2bdc0073855f0000a015a29..."} 
[2026-09-07 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adfdab0012cd2bdc0073855f0000a015a29..."} 
[2026-09-07 13:29:50] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adfdab0012cd2bdc0073855f0000a015a29..."} 
[2026-09-07 13:29:50] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:29:50] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:29:50] local.INFO: GPS Element Parsed {"raw_longitude":752008640,"raw_latitude":121132528,"longitude_deg":75.200864,"latitude_deg":12.1132528,"altitude":10,"angle":346,"satellites":41,"speed":49,"hex_longitude":"2cd2bdc0","hex_latitude":"073855f0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924576768001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401385249524678656,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3259057986836736000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788767886000,"timestamp_ms":1788767886000,"timestamp_seconds":1788767886,"priority":1,"record_length":96,"hex_timestamp":"000001a07adfdab0"} 
[2026-09-07 13: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-07 13:29: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-07 13: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 13:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924576768001,"66":28028,"144":206,"83":43264,"24":49,"16":401385249524678656,"44":-3259057986836736000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 13:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924576768001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:29:50] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 13:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401385249524678656,"km_value":401385249524678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3259057986836736000,"description":"Unknown IO ID 44"} 
[2026-09-07 13:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924576768001,"power":28028,"unknown_144":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3259057986836736000}} 
[2026-09-07 13:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:29:50] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:29:50] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:30:22] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07adff608012cd2b88007387888000b01642c..."} 
[2026-09-07 13:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07adff608012cd2b88007387888000b01642c..."} 
[2026-09-07 13:30:22] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07adff608012cd2b88007387888000b01642c..."} 
[2026-09-07 13:30:22] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:30:22] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07adf"} 
[2026-09-07 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":752007296,"raw_latitude":121141384,"longitude_deg":75.2007296,"latitude_deg":12.1141384,"altitude":11,"angle":356,"satellites":44,"speed":52,"hex_longitude":"2cd2b880","hex_latitude":"07387888","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924578816001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401385687611342848,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3261239417903910912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788767893000,"timestamp_ms":1788767893000,"timestamp_seconds":1788767893,"priority":1,"record_length":96,"hex_timestamp":"000001a07adff608"} 
[2026-09-07 13: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-07 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 13:30:22] 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-07 13: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-07 13: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-07 13:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:30:22] 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-07 13:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924578816001,"66":28126,"144":206,"83":43264,"24":52,"16":401385687611342848,"44":-3261239417903910912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 13:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924578816001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:30:22] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 13:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401385687611342848,"km_value":401385687611342.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3261239417903910912,"description":"Unknown IO ID 44"} 
[2026-09-07 13:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924578816001,"power":28126,"unknown_144":206,"unknown_83":43264,"ignition":52,"odometer":null,"unknown_44":-3261239417903910912}} 
[2026-09-07 13:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:30:22] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:30:22] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:30:48] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:48] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:48] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:30:49] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:30:49] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:49] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:30:55] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:55] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:30:55] local.INFO: IMEI packet received {"connection_id":176128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":176128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:30:55] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae16920012cd2820007394618000c01592d..."} 
[2026-09-07 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae16920012cd2820007394618000c01592d..."} 
[2026-09-07 13:30:55] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae16920012cd2820007394618000c01592d..."} 
[2026-09-07 13:30:55] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae1"} 
[2026-09-07 13:30:55] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae1"} 
[2026-09-07 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":751993344,"raw_latitude":121194008,"longitude_deg":75.1993344,"latitude_deg":12.1194008,"altitude":12,"angle":345,"satellites":45,"speed":31,"hex_longitude":"2cd28200","hex_latitude":"07394618","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924604672001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401388380555837440,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3277846441514289152,"note":"Value kept but may cause issues"} 
[2026-09-07 13:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788767988000,"timestamp_ms":1788767988000,"timestamp_seconds":1788767988,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae16920"} 
[2026-09-07 13: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-07 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 13:30:55] 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-07 13: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-07 13: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-07 13:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:30:55] 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-07 13:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924604672001,"66":27800,"144":206,"83":43264,"24":31,"16":401388380555837440,"44":-3277846441514289152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 13:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924604672001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:30:55] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 13:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401388380555837440,"km_value":401388380555837.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:30:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3277846441514289152,"description":"Unknown IO ID 44"} 
[2026-09-07 13:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924604672001,"power":27800,"unknown_144":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3277846441514289152}} 
[2026-09-07 13:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:30:55] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:30:55] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:31:00] local.INFO: TCP Data received {"connection_id":176128,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae18c48012cd27a40073964e00009014b2b..."} 
[2026-09-07 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae18c48012cd27a40073964e00009014b2b..."} 
[2026-09-07 13:31:00] local.INFO: Processing buffer {"connection_id":176128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae18c48012cd27a40073964e00009014b2b..."} 
[2026-09-07 13:31:00] local.INFO: Packet analysis {"connection_id":176128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae1"} 
[2026-09-07 13:31:00] local.INFO: Extracted packet for processing {"connection_id":176128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae1"} 
[2026-09-07 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":751991360,"raw_latitude":121201888,"longitude_deg":75.199136,"latitude_deg":12.1201888,"altitude":9,"angle":331,"satellites":43,"speed":36,"hex_longitude":"2cd27a40","hex_latitude":"073964e0","is_valid_coordinates":true} 
[2026-09-07 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924604928001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401388775692828672,"note":"Value kept but may cause issues"} 
[2026-09-07 13:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3278057547746633728,"note":"Value kept but may cause issues"} 
[2026-09-07 13:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788767997000,"timestamp_ms":1788767997000,"timestamp_seconds":1788767997,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae18c48"} 
[2026-09-07 13:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 13:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 13:31:00] 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-07 13:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:31:00] 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-07 13:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924604928001,"66":27865,"145":206,"83":43264,"24":36,"16":401388775692828672,"44":-3278057547746633728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924604928001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:31:00] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401388775692828672,"km_value":401388775692828.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3278057547746633728,"description":"Unknown IO ID 44"} 
[2026-09-07 13:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924604928001,"power":27865,"unknown_145":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3278057547746633728}} 
[2026-09-07 13:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":176128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:31:00] local.INFO: GPS data processed {"connection_id":176128,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:31:00] local.INFO: Acknowledgment sent {"connection_id":176128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:31:44] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:31:44] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:31:44] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:32:09] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 13:32:09] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 13:32:09] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:32:10] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae25768012cd1e2800739e6600007013f2b..."} 
[2026-09-07 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae25768012cd1e2800739e6600007013f2b..."} 
[2026-09-07 13:32:10] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07a..."} 
[2026-09-07 13:32:10] local.INFO: IMEI packet received {"connection_id":174771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":174771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:32:10] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae25b50012cd1e0400739e8600007012f2b..."} 
[2026-09-07 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae25b50012cd1e0400739e8600007012f2b..."} 
[2026-09-07 13:32:10] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07ae25768012cd1e2800739e6600007013f2b..."} 
[2026-09-07 13:32:10] local.INFO: Packet analysis {"connection_id":174771,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:10] local.INFO: Extracted packet for processing {"connection_id":174771,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":751952512,"raw_latitude":121235040,"longitude_deg":75.1952512,"latitude_deg":12.123504,"altitude":7,"angle":319,"satellites":43,"speed":31,"hex_longitude":"2cd1e280","hex_latitude":"0739e660","is_valid_coordinates":true} 
[2026-09-07 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924619008001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401391318313467904,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3321123219174262784,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788768049000,"timestamp_ms":1788768049000,"timestamp_seconds":1788768049,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae25768"} 
[2026-09-07 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924619008001,"66":27908,"145":206,"83":43264,"24":31,"16":401391318313467904,"44":-3321123219174262784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924619008001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401391318313467904,"km_value":401391318313467.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3321123219174262784,"description":"Unknown IO ID 44"} 
[2026-09-07 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924619008001,"power":27908,"unknown_145":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3321123219174262784}} 
[2026-09-07 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":174771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:32:10] local.INFO: GPS data processed {"connection_id":174771,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:32:10] local.INFO: Acknowledgment sent {"connection_id":174771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:32:10] local.INFO: Packet analysis {"connection_id":174771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:10] local.INFO: Extracted packet for processing {"connection_id":174771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":751951936,"raw_latitude":121235552,"longitude_deg":75.1951936,"latitude_deg":12.1235552,"altitude":7,"angle":303,"satellites":43,"speed":29,"hex_longitude":"2cd1e040","hex_latitude":"0739e860","is_valid_coordinates":true} 
[2026-09-07 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924620544001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401391352673206272,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3322952806521479168,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788768050000,"timestamp_ms":1788768050000,"timestamp_seconds":1788768050,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae25b50"} 
[2026-09-07 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924620544001,"66":27713,"145":206,"83":43264,"24":29,"16":401391352673206272,"44":-3322952806521479168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924620544001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401391352673206272,"km_value":401391352673206.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3322952806521479168,"description":"Unknown IO ID 44"} 
[2026-09-07 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924620544001,"power":27713,"unknown_145":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3322952806521479168}} 
[2026-09-07 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":174771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:32:10] local.INFO: GPS data processed {"connection_id":174771,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:32:10] local.INFO: Acknowledgment sent {"connection_id":174771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:32:11] local.INFO: TCP Data received {"connection_id":174771,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae25f38012cd1dd800739e998000701212b..."} 
[2026-09-07 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae25f38012cd1dd800739e998000701212b..."} 
[2026-09-07 13:32:11] local.INFO: Processing buffer {"connection_id":174771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae25f38012cd1dd800739e998000701212b..."} 
[2026-09-07 13:32:11] local.INFO: Packet analysis {"connection_id":174771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:11] local.INFO: Extracted packet for processing {"connection_id":174771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae2"} 
[2026-09-07 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":751951232,"raw_latitude":121235864,"longitude_deg":75.1951232,"latitude_deg":12.1235864,"altitude":7,"angle":289,"satellites":43,"speed":29,"hex_longitude":"2cd1dd80","hex_latitude":"0739e998","is_valid_coordinates":true} 
[2026-09-07 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924620800001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401391391327911936,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3323586125218947072,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788768051000,"timestamp_ms":1788768051000,"timestamp_seconds":1788768051,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae25f38"} 
[2026-09-07 13:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 13:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":174771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":174771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924620800001,"66":27713,"145":206,"83":43264,"24":29,"16":401391391327911936,"44":-3323586125218947072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 13:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924620800001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:32:11] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 13:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 13:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401391391327911936,"km_value":401391391327911.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3323586125218947072,"description":"Unknown IO ID 44"} 
[2026-09-07 13:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924620800001,"power":27713,"unknown_145":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3323586125218947072}} 
[2026-09-07 13:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":174771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:32:11] local.INFO: GPS data processed {"connection_id":174771,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:32:11] local.INFO: Acknowledgment sent {"connection_id":174771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:32:12] local.INFO: TCP Data received {"connection_id":173651,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:32:12] local.INFO: Processing buffer {"connection_id":173651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:32:12] local.INFO: IMEI packet received {"connection_id":173651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":173651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:32:42] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:42] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:42] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:32:45] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:45] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:45] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:32:50] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:50] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:32:50] local.INFO: IMEI packet received {"connection_id":174772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":174772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:32:50] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae30730012cd1a0c0073a68c80007010729..."} 
[2026-09-07 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae30730012cd1a0c0073a68c80007010729..."} 
[2026-09-07 13:32:50] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae30730012cd1a0c0073a68c80007010729..."} 
[2026-09-07 13:32:50] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae3"} 
[2026-09-07 13:32:50] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae3"} 
[2026-09-07 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":751935680,"raw_latitude":121268424,"longitude_deg":75.193568,"latitude_deg":12.1268424,"altitude":7,"angle":263,"satellites":41,"speed":24,"hex_longitude":"2cd1a0c0","hex_latitude":"073a68c8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924631808001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401393251048751104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3340826467534034944,"note":"Value kept but may cause issues"} 
[2026-09-07 13:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768094000,"timestamp_ms":1788768094000,"timestamp_seconds":1788768094,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae30730"} 
[2026-09-07 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-07 13:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 13:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924631808001,"66":27919,"95":206,"85":37632,"24":24,"16":401393251048751104,"44":-3340826467534034944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-09-07 13:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924631808001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:32:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 13:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401393251048751104,"km_value":401393251048751.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3340826467534034944,"description":"Unknown IO ID 44"} 
[2026-09-07 13:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924631808001,"power":27919,"unknown_95":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3340826467534034944}} 
[2026-09-07 13:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:32:50] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:32:50] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:33:39] local.INFO: TCP Data received {"connection_id":174772,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae33610012cd17d40073a65180008011328..."} 
[2026-09-07 13:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae33610012cd17d40073a65180008011328..."} 
[2026-09-07 13:33:39] local.INFO: Processing buffer {"connection_id":174772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae33610012cd17d40073a65180008011328..."} 
[2026-09-07 13:33:39] local.INFO: Packet analysis {"connection_id":174772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae3"} 
[2026-09-07 13:33:39] local.INFO: Extracted packet for processing {"connection_id":174772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae3"} 
[2026-09-07 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":751926592,"raw_latitude":121267480,"longitude_deg":75.1926592,"latitude_deg":12.126748,"altitude":8,"angle":275,"satellites":40,"speed":35,"hex_longitude":"2cd17d40","hex_latitude":"073a6518","is_valid_coordinates":true} 
[2026-09-07 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924632064001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401393684840448000,"note":"Value kept but may cause issues"} 
[2026-09-07 13:33:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3341459786231658496,"note":"Value kept but may cause issues"} 
[2026-09-07 13:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788768106000,"timestamp_ms":1788768106000,"timestamp_seconds":1788768106,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae33610"} 
[2026-09-07 13:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924632064001,"66":27930,"95":206,"85":37632,"24":35,"16":401393684840448000,"44":-3341459786231658496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-09-07 13:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924632064001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401393684840448000,"km_value":401393684840448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:33:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3341459786231658496,"description":"Unknown IO ID 44"} 
[2026-09-07 13:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924632064001,"power":27930,"unknown_95":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3341459786231658496}} 
[2026-09-07 13:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":174772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:33:39] local.INFO: GPS data processed {"connection_id":174772,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:33:39] local.INFO: Acknowledgment sent {"connection_id":174772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:34:54] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:54] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:54] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:34:56] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:56] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:56] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:34:59] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:59] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:34:59] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:35:00] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae56890012cd06340073b14a0000801342a..."} 
[2026-09-07 13:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae56890012cd06340073b14a0000801342a..."} 
[2026-09-07 13:35:00] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae56890012cd06340073b14a0000801342a..."} 
[2026-09-07 13:35:00] local.INFO: Packet analysis {"connection_id":173653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:35:00] local.INFO: Extracted packet for processing {"connection_id":173653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":751854400,"raw_latitude":121312416,"longitude_deg":75.18544,"latitude_deg":12.1312416,"altitude":8,"angle":308,"satellites":42,"speed":19,"hex_longitude":"2cd06340","hex_latitude":"073b14a0","is_valid_coordinates":true} 
[2026-09-07 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924671744001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401399315542573056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3430476247605231616,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788768250000,"timestamp_ms":1788768250000,"timestamp_seconds":1788768250,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae56890"} 
[2026-09-07 13:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 13:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:35:00] 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-07 13:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924671744001,"66":27974,"52":206,"85":37632,"24":19,"16":401399315542573056,"44":-3430476247605231616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-09-07 13:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924671744001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:35:00] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 13:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401399315542573056,"km_value":401399315542573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3430476247605231616,"description":"Unknown IO ID 44"} 
[2026-09-07 13:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924671744001,"power":27974,"unknown_52":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3430476247605231616}} 
[2026-09-07 13:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":173653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:35:00] local.INFO: GPS data processed {"connection_id":173653,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:35:00] local.INFO: Acknowledgment sent {"connection_id":173653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:35:45] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:45] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:45] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:35:50] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:50] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:35:50] local.INFO: IMEI packet received {"connection_id":176130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":176130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:35:51] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae56c78012cd06140073b15680008011f2b..."} 
[2026-09-07 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae56c78012cd06140073b15680008011f2b..."} 
[2026-09-07 13:35:51] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae56c78012cd06140073b15680008011f2b..."} 
[2026-09-07 13:35:51] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:35:51] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":751853888,"raw_latitude":121312616,"longitude_deg":75.1853888,"latitude_deg":12.1312616,"altitude":8,"angle":287,"satellites":43,"speed":20,"hex_longitude":"2cd06140","hex_latitude":"073b1568","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924672000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401399341312376832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3430828091326029824,"note":"Value kept but may cause issues"} 
[2026-09-07 13:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788768251000,"timestamp_ms":1788768251000,"timestamp_seconds":1788768251,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae56c78"} 
[2026-09-07 13: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-07 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:35:51] 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-07 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924672000001,"66":27974,"52":206,"85":37632,"24":20,"16":401399341312376832,"44":-3430828091326029824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-09-07 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924672000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:35:51] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-09-07 13:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401399341312376832,"km_value":401399341312376.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3430828091326029824,"description":"Unknown IO ID 44"} 
[2026-09-07 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924672000001,"power":27974,"unknown_52":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-3430828091326029824}} 
[2026-09-07 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:35:51] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:35:51] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:35:53] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:53] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:53] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:35:55] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:35:56] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:35:56] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:36:00] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:00] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:00] local.INFO: IMEI packet received {"connection_id":173422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":173422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:36:01] local.INFO: TCP Data received {"connection_id":173422,"ip":"117.224.3.217","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae55120012d181e000721ae30004600cc2c..."} 
[2026-09-07 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae55120012d181e000721ae30004600cc2c..."} 
[2026-09-07 13:36:01] local.INFO: Processing buffer {"connection_id":173422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae55120012d181e000721ae30004600cc2c..."} 
[2026-09-07 13:36:01] local.INFO: Packet analysis {"connection_id":173422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:36:01] local.INFO: Extracted packet for processing {"connection_id":173422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae5"} 
[2026-09-07 13:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647792,"longitude_deg":75.6555264,"latitude_deg":11.9647792,"altitude":70,"angle":204,"satellites":44,"speed":9,"hex_longitude":"2d181e00","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-09-07 13:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924669952001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18389267550044160,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562429952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788768244000,"timestamp_ms":1788768244000,"timestamp_seconds":1788768244,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae55120"} 
[2026-09-07 13:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 13:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.3.217","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924669952001,"66":14102,"120":206,"28":31744,"24":9,"16":18389267550044160,"45":1738178380562429952},"client_ip":"117.224.3.217","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924669952001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:36:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18389267550044160,"km_value":18389267550044.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562429952,"description":"Unknown IO ID 45"} 
[2026-09-07 13:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924669952001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738178380562429952}} 
[2026-09-07 13:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":173422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:36:02] local.INFO: GPS data processed {"connection_id":173422,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:36:02] local.INFO: Acknowledgment sent {"connection_id":173422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:36:22] local.INFO: TCP Data received {"connection_id":176130,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae69558012cd01440073bb660000a015d27..."} 
[2026-09-07 13:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae69558012cd01440073bb660000a015d27..."} 
[2026-09-07 13:36:22] local.INFO: Processing buffer {"connection_id":176130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae69558012cd01440073bb660000a015d27..."} 
[2026-09-07 13:36:22] local.INFO: Packet analysis {"connection_id":176130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:22] local.INFO: Extracted packet for processing {"connection_id":176130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:22] local.INFO: GPS Element Parsed {"raw_longitude":751834176,"raw_latitude":121353824,"longitude_deg":75.1834176,"latitude_deg":12.1353824,"altitude":10,"angle":349,"satellites":39,"speed":43,"hex_longitude":"2cd01440","hex_latitude":"073bb660","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924689408001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401402055731707904,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3450320233455007744,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768327000,"timestamp_ms":1788768327000,"timestamp_seconds":1788768327,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae69558"} 
[2026-09-07 13: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-07 13:36: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-07 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:36:22] 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-07 13: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-07 13: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-07 13:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:36:22] 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-07 13:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924689408001,"66":27995,"3":206,"85":37632,"24":43,"16":401402055731707904,"44":-3450320233455007744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 13:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924689408001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:36:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 13:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401402055731707904,"km_value":401402055731707.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3450320233455007744,"description":"Unknown IO ID 44"} 
[2026-09-07 13:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924689408001,"power":27995,"unknown_3":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-3450320233455007744}} 
[2026-09-07 13:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":176130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:36:22] local.INFO: GPS data processed {"connection_id":176130,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:36:22] local.INFO: Acknowledgment sent {"connection_id":176130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:36:40] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:40] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:40] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:36:44] local.INFO: TCP Data received {"connection_id":174775,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:44] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:44] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:36:45] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:46] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:36:46] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:36:47] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.3.217","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae69940012d18920007217ca80047007524..."} 
[2026-09-07 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae69940012d18920007217ca80047007524..."} 
[2026-09-07 13:36:47] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae69940012d18920007217ca80047007524..."} 
[2026-09-07 13:36:47] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:47] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756584960,"raw_latitude":119635112,"longitude_deg":75.658496,"latitude_deg":11.9635112,"altitude":71,"angle":117,"satellites":36,"speed":25,"hex_longitude":"2d189200","hex_latitude":"07217ca8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924690944001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18390895342649344,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934416373760,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788768328000,"timestamp_ms":1788768328000,"timestamp_seconds":1788768328,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae69940"} 
[2026-09-07 13: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-07 13:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-07 13:36:47] 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-07 13: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-07 13: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-07 13:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.3.217","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924690944001,"66":13765,"121":206,"28":31744,"24":25,"16":18390895342649344,"45":1767099934416373760},"client_ip":"117.224.3.217","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924690944001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:36:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:36:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18390895342649344,"km_value":18390895342649.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934416373760,"description":"Unknown IO ID 45"} 
[2026-09-07 13:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924690944001,"power":13765,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1767099934416373760}} 
[2026-09-07 13:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:36:47] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:36:47] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:36:52] local.INFO: TCP Data received {"connection_id":174775,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:52] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:36:52] local.INFO: IMEI packet received {"connection_id":174775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":174775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:36:54] local.INFO: TCP Data received {"connection_id":174775,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae6b498012cd00e80073bda68000a015d29..."} 
[2026-09-07 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae6b498012cd00e80073bda68000a015d29..."} 
[2026-09-07 13:36:54] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae6b498012cd00e80073bda68000a015d29..."} 
[2026-09-07 13:36:54] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:54] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:36:54] local.INFO: GPS Element Parsed {"raw_longitude":751832704,"raw_latitude":121363048,"longitude_deg":75.1832704,"latitude_deg":12.1363048,"altitude":10,"angle":349,"satellites":41,"speed":48,"hex_longitude":"2cd00e80","hex_latitude":"073bda68","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924691712001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401402506703273984,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3453064614475571200,"note":"Value kept but may cause issues"} 
[2026-09-07 13:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788768335000,"timestamp_ms":1788768335000,"timestamp_seconds":1788768335,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae6b498"} 
[2026-09-07 13: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-07 13:36: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-07 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 13:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:36:54] 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-07 13:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924691712001,"66":27930,"3":206,"85":37632,"24":48,"16":401402506703273984,"44":-3453064614475571200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 13:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924691712001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:36:54] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 13:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401402506703273984,"km_value":401402506703274.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3453064614475571200,"description":"Unknown IO ID 44"} 
[2026-09-07 13:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924691712001,"power":27930,"unknown_3":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3453064614475571200}} 
[2026-09-07 13:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:36:54] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:36:54] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:37:18] local.INFO: TCP Data received {"connection_id":173655,"ip":"117.224.3.217","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae79340012d18e04007214d080041007e28..."} 
[2026-09-07 13:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae79340012d18e04007214d080041007e28..."} 
[2026-09-07 13:37:18] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae79340012d18e04007214d080041007e28..."} 
[2026-09-07 13:37:18] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:37:18] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756604992,"raw_latitude":119622920,"longitude_deg":75.6604992,"latitude_deg":11.962292,"altitude":65,"angle":126,"satellites":40,"speed":8,"hex_longitude":"2d18e040","hex_latitude":"07214d08","is_valid_coordinates":true} 
[2026-09-07 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924708096001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18392106523426816,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792362313572784128,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788768392000,"timestamp_ms":1788768392000,"timestamp_seconds":1788768392,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae79340"} 
[2026-09-07 13:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:37: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 13:37:18] 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-07 13:37: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-07 13:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.3.217","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924708096001,"66":13993,"121":206,"28":31744,"24":8,"16":18392106523426816,"45":1792362313572784128},"client_ip":"117.224.3.217","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924708096001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:37:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:37:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18392106523426816,"km_value":18392106523426.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792362313572784128,"description":"Unknown IO ID 45"} 
[2026-09-07 13:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924708096001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1792362313572784128}} 
[2026-09-07 13:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:37:19] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:37:19] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:37:25] local.INFO: TCP Data received {"connection_id":174775,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae6d3d8012cd00580073bfe70000b015928..."} 
[2026-09-07 13:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae6d3d8012cd00580073bfe70000b015928..."} 
[2026-09-07 13:37:25] local.INFO: Processing buffer {"connection_id":174775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae6d3d8012cd00580073bfe70000b015928..."} 
[2026-09-07 13:37:25] local.INFO: Packet analysis {"connection_id":174775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:37:25] local.INFO: Extracted packet for processing {"connection_id":174775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae6"} 
[2026-09-07 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":751830400,"raw_latitude":121372272,"longitude_deg":75.18304,"latitude_deg":12.1372272,"altitude":11,"angle":345,"satellites":40,"speed":38,"hex_longitude":"2cd00580","hex_latitude":"073bfe70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924693760001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401402970559741952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3454683095589296128,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788768343000,"timestamp_ms":1788768343000,"timestamp_seconds":1788768343,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae6d3d8"} 
[2026-09-07 13: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-07 13:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:37:25] 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-07 13:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924693760001,"66":27908,"3":206,"85":37632,"24":38,"16":401402970559741952,"44":-3454683095589296128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 13:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924693760001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:37:25] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 13:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401402970559741952,"km_value":401402970559741.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3454683095589296128,"description":"Unknown IO ID 44"} 
[2026-09-07 13:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924693760001,"power":27908,"unknown_3":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3454683095589296128}} 
[2026-09-07 13:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":174775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:37:25] local.INFO: GPS data processed {"connection_id":174775,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:37:25] local.INFO: Acknowledgment sent {"connection_id":174775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:37:40] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:40] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:40] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:37:41] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:41] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:41] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:37:42] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:42] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:42] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:37:44] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:44] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:44] local.INFO: IMEI packet received {"connection_id":173423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":173423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:37:44] local.INFO: TCP Data received {"connection_id":176131,"ip":"117.224.3.217","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:44] local.INFO: Processing buffer {"connection_id":176131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:37:44] local.INFO: IMEI packet received {"connection_id":176131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":176131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:37:47] local.INFO: TCP Data received {"connection_id":174777,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:37:47] local.INFO: Processing buffer {"connection_id":174777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:37:47] local.INFO: IMEI packet received {"connection_id":174777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":174777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:37:50] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:50] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:37:50] local.INFO: IMEI packet received {"connection_id":173423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":173423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:37:50] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae706a0012ccffc40073c22e8000c015a2a..."} 
[2026-09-07 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae706a0012ccffc40073c22e8000c015a2a..."} 
[2026-09-07 13:37:50] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae706a0012ccffc40073c22e8000c015a2a..."} 
[2026-09-07 13:37:50] local.INFO: Packet analysis {"connection_id":173423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:37:50] local.INFO: Extracted packet for processing {"connection_id":173423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:37:50] local.INFO: GPS Element Parsed {"raw_longitude":751828032,"raw_latitude":121381608,"longitude_deg":75.1828032,"latitude_deg":12.1381608,"altitude":12,"angle":346,"satellites":42,"speed":34,"hex_longitude":"2ccffc40","hex_latitude":"073c22e8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924695808001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401403434416209920,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3457216370377330688,"note":"Value kept but may cause issues"} 
[2026-09-07 13:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768356000,"timestamp_ms":1788768356000,"timestamp_seconds":1788768356,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae706a0"} 
[2026-09-07 13: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-07 13:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924695808001,"66":27843,"3":206,"85":37632,"24":34,"16":401403434416209920,"44":-3457216370377330688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 13:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924695808001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:37:50] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 13:37:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401403434416209920,"km_value":401403434416209.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3457216370377330688,"description":"Unknown IO ID 44"} 
[2026-09-07 13:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924695808001,"power":27843,"unknown_3":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3457216370377330688}} 
[2026-09-07 13:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":173423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:37:50] local.INFO: GPS data processed {"connection_id":173423,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:37:50] local.INFO: Acknowledgment sent {"connection_id":173423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:38:22] local.INFO: TCP Data received {"connection_id":173423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae729c8012ccff540073c4530000d015e27..."} 
[2026-09-07 13:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae729c8012ccff540073c4530000d015e27..."} 
[2026-09-07 13:38:22] local.INFO: Processing buffer {"connection_id":173423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae729c8012ccff540073c4530000d015e27..."} 
[2026-09-07 13:38:22] local.INFO: Packet analysis {"connection_id":173423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:38:22] local.INFO: Extracted packet for processing {"connection_id":173423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae7"} 
[2026-09-07 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":751826240,"raw_latitude":121390384,"longitude_deg":75.182624,"latitude_deg":12.1390384,"altitude":13,"angle":350,"satellites":39,"speed":41,"hex_longitude":"2ccff540","hex_latitude":"073c4530","is_valid_coordinates":true} 
[2026-09-07 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924699136001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401403868207906816,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3459820013909514240,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768365000,"timestamp_ms":1788768365000,"timestamp_seconds":1788768365,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae729c8"} 
[2026-09-07 13:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 13:38:22] 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-07 13:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:38:22] 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-07 13:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924699136001,"66":27995,"3":206,"85":37632,"24":41,"16":401403868207906816,"44":-3459820013909514240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 13:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924699136001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:38:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 13:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401403868207906816,"km_value":401403868207906.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3459820013909514240,"description":"Unknown IO ID 44"} 
[2026-09-07 13:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924699136001,"power":27995,"unknown_3":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3459820013909514240}} 
[2026-09-07 13:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":173423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:38:22] local.INFO: GPS data processed {"connection_id":173423,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:38:22] local.INFO: Acknowledgment sent {"connection_id":173423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:38:49] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:38:49] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:49] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:38:55] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:55] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:38:55] local.INFO: IMEI packet received {"connection_id":176132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":176132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:38:56] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae8a4b0012ccfe7c0073d9f58000b015e2b..."} 
[2026-09-07 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae8a4b0012ccfe7c0073d9f58000b015e2b..."} 
[2026-09-07 13:38:56] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae8a4b0012ccfe7c0073d9f58000b015e2b..."} 
[2026-09-07 13:38:56] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:38:56] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:38:56] local.INFO: GPS Element Parsed {"raw_longitude":751822784,"raw_latitude":121479000,"longitude_deg":75.1822784,"latitude_deg":12.1479,"altitude":11,"angle":350,"satellites":43,"speed":41,"hex_longitude":"2ccfe7c0","hex_latitude":"073d9f58","is_valid_coordinates":true} 
[2026-09-07 13:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924723968001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401408193239973888,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464112507281743872,"note":"Value kept but may cause issues"} 
[2026-09-07 13:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788768462000,"timestamp_ms":1788768462000,"timestamp_seconds":1788768462,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae8a4b0"} 
[2026-09-07 13:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:38:56] 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-07 13:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:38:56] 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-07 13:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924723968001,"66":27930,"147":206,"85":37632,"24":41,"16":401408193239973888,"44":-3464112507281743872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-09-07 13:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924723968001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:38:56] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-07 13:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401408193239973888,"km_value":401408193239973.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464112507281743872,"description":"Unknown IO ID 44"} 
[2026-09-07 13:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924723968001,"power":27930,"unknown_147":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3464112507281743872}} 
[2026-09-07 13:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:38:56] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:38:56] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:39:02] local.INFO: TCP Data received {"connection_id":176132,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae8c3f0012ccfe2c0073dc210000b015f2d..."} 
[2026-09-07 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae8c3f0012ccfe2c0073dc210000b015f2d..."} 
[2026-09-07 13:39:02] local.INFO: Processing buffer {"connection_id":176132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae8c3f0012ccfe2c0073dc210000b015f2d..."} 
[2026-09-07 13:39:02] local.INFO: Packet analysis {"connection_id":176132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:39:02] local.INFO: Extracted packet for processing {"connection_id":176132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":751821504,"raw_latitude":121487888,"longitude_deg":75.1821504,"latitude_deg":12.1487888,"altitude":11,"angle":351,"satellites":45,"speed":45,"hex_longitude":"2ccfe2c0","hex_latitude":"073dc210","is_valid_coordinates":true} 
[2026-09-07 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924726272001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401408627031670784,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465590250907150336,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788768470000,"timestamp_ms":1788768470000,"timestamp_seconds":1788768470,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae8c3f0"} 
[2026-09-07 13:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:39:02] 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-07 13:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924726272001,"66":27930,"147":206,"85":37632,"24":45,"16":401408627031670784,"44":-3465590250907150336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-09-07 13:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924726272001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:39:02] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-07 13:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401408627031670784,"km_value":401408627031670.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:39:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465590250907150336,"description":"Unknown IO ID 44"} 
[2026-09-07 13:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924726272001,"power":27930,"unknown_147":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3465590250907150336}} 
[2026-09-07 13:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":176132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:39:02] local.INFO: GPS data processed {"connection_id":176132,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:39:02] local.INFO: Acknowledgment sent {"connection_id":176132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:39:42] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:42] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:42] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:39:44] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:44] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:44] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:39:50] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:50] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:39:50] local.INFO: IMEI packet received {"connection_id":173658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":173658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:39:51] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae8e718012ccfdd80073de7f0000b01612c..."} 
[2026-09-07 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae8e718012ccfdd80073de7f0000b01612c..."} 
[2026-09-07 13:39:51] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae8e718012ccfdd80073de7f0000b01612c..."} 
[2026-09-07 13:39:51] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:39:51] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae8"} 
[2026-09-07 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":751820160,"raw_latitude":121497584,"longitude_deg":75.182016,"latitude_deg":12.1497584,"altitude":11,"angle":353,"satellites":44,"speed":39,"hex_longitude":"2ccfdd80","hex_latitude":"073de7f0","is_valid_coordinates":true} 
[2026-09-07 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924728320001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401409103773040640,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3466997625788428288,"note":"Value kept but may cause issues"} 
[2026-09-07 13:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788768479000,"timestamp_ms":1788768479000,"timestamp_seconds":1788768479,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae8e718"} 
[2026-09-07 13:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:39:51] 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-07 13:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:39:51] 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-07 13:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924728320001,"66":27919,"147":206,"85":37632,"24":39,"16":401409103773040640,"44":-3466997625788428288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-09-07 13:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924728320001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:39:51] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-07 13:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401409103773040640,"km_value":401409103773040.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3466997625788428288,"description":"Unknown IO ID 44"} 
[2026-09-07 13:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924728320001,"power":27919,"unknown_147":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3466997625788428288}} 
[2026-09-07 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:39:51] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:39:51] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:40:22] local.INFO: TCP Data received {"connection_id":173658,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae915f8012ccfd700073e0a68000b015a2c..."} 
[2026-09-07 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae915f8012ccfd700073e0a68000b015a2c..."} 
[2026-09-07 13:40:22] local.INFO: Processing buffer {"connection_id":173658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae915f8012ccfd700073e0a68000b015a2c..."} 
[2026-09-07 13:40:22] local.INFO: Packet analysis {"connection_id":173658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae9"} 
[2026-09-07 13:40:22] local.INFO: Extracted packet for processing {"connection_id":173658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae9"} 
[2026-09-07 13:40:22] local.INFO: GPS Element Parsed {"raw_longitude":751818496,"raw_latitude":121506408,"longitude_deg":75.1818496,"latitude_deg":12.1506408,"altitude":11,"angle":346,"satellites":44,"speed":26,"hex_longitude":"2ccfd700","hex_latitude":"073e0a68","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924730624001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401409537564737536,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3468475369413677056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768491000,"timestamp_ms":1788768491000,"timestamp_seconds":1788768491,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae915f8"} 
[2026-09-07 13: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-07 13: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-07 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:40:22] 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-07 13:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924730624001,"66":27887,"147":206,"85":37632,"24":26,"16":401409537564737536,"44":-3468475369413677056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-09-07 13:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924730624001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:40:22] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-07 13:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401409537564737536,"km_value":401409537564737.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3468475369413677056,"description":"Unknown IO ID 44"} 
[2026-09-07 13:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924730624001,"power":27887,"unknown_147":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3468475369413677056}} 
[2026-09-07 13:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":173658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:40:22] local.INFO: GPS data processed {"connection_id":173658,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:40:22] local.INFO: Acknowledgment sent {"connection_id":173658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:40:43] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:43] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:43] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:40:44] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:44] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:44] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:40:50] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:50] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:40:50] local.INFO: IMEI packet received {"connection_id":173424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:40:50] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07ae94ca8012ccfcdc0073e2cc8000b015c2a..."} 
[2026-09-07 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ae94ca8012ccfcdc0073e2cc8000b015c2a..."} 
[2026-09-07 13:40:50] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ae94ca8012ccfcdc0073e2cc8000b015c2a..."} 
[2026-09-07 13:40:50] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ae9"} 
[2026-09-07 13:40:50] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ae9"} 
[2026-09-07 13:40:50] local.INFO: GPS Element Parsed {"raw_longitude":751816128,"raw_latitude":121515208,"longitude_deg":75.1816128,"latitude_deg":12.1515208,"altitude":11,"angle":348,"satellites":42,"speed":15,"hex_longitude":"2ccfcdc0","hex_latitude":"073e2cc8","is_valid_coordinates":true} 
[2026-09-07 13:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924733696001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401409979946369024,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3470304956760037376,"note":"Value kept but may cause issues"} 
[2026-09-07 13:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768505000,"timestamp_ms":1788768505000,"timestamp_seconds":1788768505,"priority":1,"record_length":96,"hex_timestamp":"000001a07ae94ca8"} 
[2026-09-07 13:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 13:40:50] 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-07 13:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924733696001,"66":27821,"147":206,"85":37632,"24":15,"16":401409979946369024,"44":-3470304956760037376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-09-07 13:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924733696001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:40:50] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-09-07 13:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401409979946369024,"km_value":401409979946369.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3470304956760037376,"description":"Unknown IO ID 44"} 
[2026-09-07 13:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924733696001,"power":27821,"unknown_147":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-3470304956760037376}} 
[2026-09-07 13:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:40:50] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:40:50] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:41:22] local.INFO: TCP Data received {"connection_id":173424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07aead730012ccf5000073f88c0000a015f2d..."} 
[2026-09-07 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aead730012ccf5000073f88c0000a015f2d..."} 
[2026-09-07 13:41:22] local.INFO: Processing buffer {"connection_id":173424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aead730012ccf5000073f88c0000a015f2d..."} 
[2026-09-07 13:41:22] local.INFO: Packet analysis {"connection_id":173424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aea"} 
[2026-09-07 13:41:22] local.INFO: Extracted packet for processing {"connection_id":173424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aea"} 
[2026-09-07 13:41:22] local.INFO: GPS Element Parsed {"raw_longitude":751783936,"raw_latitude":121604288,"longitude_deg":75.1783936,"latitude_deg":12.1604288,"altitude":10,"angle":351,"satellites":45,"speed":26,"hex_longitude":"2ccf5000","hex_latitude":"073f88c0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924760064001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401414579856343040,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3506404122500388864,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768606000,"timestamp_ms":1788768606000,"timestamp_seconds":1788768606,"priority":1,"record_length":96,"hex_timestamp":"000001a07aead730"} 
[2026-09-07 13: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-07 13:41: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-07 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 13:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:22] 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-07 13:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924760064001,"66":27745,"146":206,"85":37632,"24":26,"16":401414579856343040,"44":-3506404122500388864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-09-07 13:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924760064001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:41:22] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 13:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401414579856343040,"km_value":401414579856343.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3506404122500388864,"description":"Unknown IO ID 44"} 
[2026-09-07 13:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924760064001,"power":27745,"unknown_146":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3506404122500388864}} 
[2026-09-07 13:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":173424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:41:22] local.INFO: GPS data processed {"connection_id":173424,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:41:22] local.INFO: Acknowledgment sent {"connection_id":173424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:41:44] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:44] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:44] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:41:48] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:48] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:48] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:41:49] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:49] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:41:49] local.INFO: IMEI packet received {"connection_id":176136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":176136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:41:50] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeb0610012ccf48c0073fad88000c015c2a..."} 
[2026-09-07 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeb0610012ccf48c0073fad88000c015c2a..."} 
[2026-09-07 13:41:50] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeb0610012ccf48c0073fad88000c015c2a..."} 
[2026-09-07 13:41:50] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:41:50] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":751782080,"raw_latitude":121613704,"longitude_deg":75.178208,"latitude_deg":12.1613704,"altitude":12,"angle":348,"satellites":42,"speed":36,"hex_longitude":"2ccf48c0","hex_latitude":"073fad88","is_valid_coordinates":true} 
[2026-09-07 13:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924763136001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401415048007778304,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3508304078590918656,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768618000,"timestamp_ms":1788768618000,"timestamp_seconds":1788768618,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeb0610"} 
[2026-09-07 13:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 13:41:50] 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-07 13:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924763136001,"66":27930,"146":206,"85":37632,"24":36,"16":401415048007778304,"44":-3508304078590918656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924763136001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401415048007778304,"km_value":401415048007778.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3508304078590918656,"description":"Unknown IO ID 44"} 
[2026-09-07 13:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924763136001,"power":27930,"unknown_146":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3508304078590918656}} 
[2026-09-07 13:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:41:50] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:41:50] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:41:50] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeb2d20012ccf4180073fd1a8000b015c2b..."} 
[2026-09-07 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeb2d20012ccf4180073fd1a8000b015c2b..."} 
[2026-09-07 13:41:50] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeb2d20012ccf4180073fd1a8000b015c2b..."} 
[2026-09-07 13:41:50] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:41:50] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":751780224,"raw_latitude":121622952,"longitude_deg":75.1780224,"latitude_deg":12.1622952,"altitude":11,"angle":348,"satellites":43,"speed":27,"hex_longitude":"2ccf4180","hex_latitude":"073fd1a8","is_valid_coordinates":true} 
[2026-09-07 13:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924766208001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401415503274311680,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3510344772169660416,"note":"Value kept but may cause issues"} 
[2026-09-07 13:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768628000,"timestamp_ms":1788768628000,"timestamp_seconds":1788768628,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeb2d20"} 
[2026-09-07 13:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:41: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-07 13:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924766208001,"66":27876,"146":206,"85":37632,"24":27,"16":401415503274311680,"44":-3510344772169660416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-09-07 13:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924766208001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401415503274311680,"km_value":401415503274311.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3510344772169660416,"description":"Unknown IO ID 44"} 
[2026-09-07 13:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924766208001,"power":27876,"unknown_146":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3510344772169660416}} 
[2026-09-07 13:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:41:50] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:41:50] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:42:22] local.INFO: TCP Data received {"connection_id":176136,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeb6ba0012ccf3b00073ff550000a015d2b..."} 
[2026-09-07 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeb6ba0012ccf3b00073ff550000a015d2b..."} 
[2026-09-07 13:42:22] local.INFO: Processing buffer {"connection_id":176136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeb6ba0012ccf3b00073ff550000a015d2b..."} 
[2026-09-07 13:42:22] local.INFO: Packet analysis {"connection_id":176136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:22] local.INFO: Extracted packet for processing {"connection_id":176136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:22] local.INFO: GPS Element Parsed {"raw_longitude":751778560,"raw_latitude":121632080,"longitude_deg":75.177856,"latitude_deg":12.163208,"altitude":10,"angle":349,"satellites":43,"speed":34,"hex_longitude":"2ccf3b00","hex_latitude":"073ff550","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924768768001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401415954245877760,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3512385465748445184,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768644000,"timestamp_ms":1788768644000,"timestamp_seconds":1788768644,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeb6ba0"} 
[2026-09-07 13: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-07 13:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:42: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-07 13: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-07 13: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-07 13:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:42:22] 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-07 13:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924768768001,"66":27865,"28":206,"85":37632,"24":34,"16":401415954245877760,"44":-3512385465748445184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924768768001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:42:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401415954245877760,"km_value":401415954245877.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3512385465748445184,"description":"Unknown IO ID 44"} 
[2026-09-07 13:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924768768001,"power":27865,"unknown_28":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3512385465748445184}} 
[2026-09-07 13:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":176136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:42:22] local.INFO: GPS data processed {"connection_id":176136,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:42:22] local.INFO: Acknowledgment sent {"connection_id":176136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:42:44] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:44] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:44] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:42:45] local.INFO: TCP Data received {"connection_id":173425,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:42:45] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:42:45] local.INFO: IMEI packet received {"connection_id":173425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:42:46] local.INFO: TCP Data received {"connection_id":173425,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebc190012d1a19800720cd180033003c2d..."} 
[2026-09-07 13:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebc190012d1a19800720cd180033003c2d..."} 
[2026-09-07 13:42:46] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebc190012d1a19800720cd180033003c2d..."} 
[2026-09-07 13:42:46] local.INFO: Packet analysis {"connection_id":173425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:46] local.INFO: Extracted packet for processing {"connection_id":173425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756685184,"raw_latitude":119590168,"longitude_deg":75.6685184,"latitude_deg":11.9590168,"altitude":51,"angle":60,"satellites":45,"speed":8,"hex_longitude":"2d1a1980","hex_latitude":"0720cd18","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924776960001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398016398426112,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878986237646788608,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788768666000,"timestamp_ms":1788768666000,"timestamp_seconds":1788768666,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebc190"} 
[2026-09-07 13: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-07 13:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-07 13:42:46] 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-07 13: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-07 13: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-07 13:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924776960001,"66":13167,"121":206,"28":31744,"24":8,"16":18398016398426112,"45":1878986237646788608},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924776960001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:42:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398016398426112,"km_value":18398016398426.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878986237646788608,"description":"Unknown IO ID 45"} 
[2026-09-07 13:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924776960001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1878986237646788608}} 
[2026-09-07 13:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:42:46] local.INFO: GPS data processed {"connection_id":173425,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:42:46] local.INFO: Acknowledgment sent {"connection_id":173425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:42:50] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:50] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:42:50] local.INFO: IMEI packet received {"connection_id":173427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:42:50] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeb8ec8012ccf34c0074017980009015d29..."} 
[2026-09-07 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeb8ec8012ccf34c0074017980009015d29..."} 
[2026-09-07 13:42:50] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeb8ec8012ccf34c0074017980009015d29..."} 
[2026-09-07 13:42:50] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:50] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":751776960,"raw_latitude":121640856,"longitude_deg":75.177696,"latitude_deg":12.1640856,"altitude":9,"angle":349,"satellites":41,"speed":42,"hex_longitude":"2ccf34c0","hex_latitude":"07401798","is_valid_coordinates":true} 
[2026-09-07 13:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924772864001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401416383742607360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3514215053094727680,"note":"Value kept but may cause issues"} 
[2026-09-07 13:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768653000,"timestamp_ms":1788768653000,"timestamp_seconds":1788768653,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeb8ec8"} 
[2026-09-07 13:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924772864001,"66":27919,"28":206,"85":37632,"24":42,"16":401416383742607360,"44":-3514215053094727680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924772864001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401416383742607360,"km_value":401416383742607.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3514215053094727680,"description":"Unknown IO ID 44"} 
[2026-09-07 13:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924772864001,"power":27919,"unknown_28":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3514215053094727680}} 
[2026-09-07 13:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:42:50] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:42:50] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:43:12] local.INFO: TCP Data received {"connection_id":173426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:43:12] local.INFO: Processing buffer {"connection_id":173426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:43:12] local.INFO: IMEI packet received {"connection_id":173426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":173426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:43:17] local.INFO: TCP Data received {"connection_id":173425,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebc578012d1a1a000720cd70003300492d..."} 
[2026-09-07 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebc578012d1a1a000720cd70003300492d..."} 
[2026-09-07 13:43:17] local.INFO: Processing buffer {"connection_id":173425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebc578012d1a1a000720cd70003300492d..."} 
[2026-09-07 13:43:17] local.INFO: Packet analysis {"connection_id":173425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:17] local.INFO: Extracted packet for processing {"connection_id":173425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756685312,"raw_latitude":119590256,"longitude_deg":75.6685312,"latitude_deg":11.9590256,"altitude":51,"angle":73,"satellites":45,"speed":7,"hex_longitude":"2d1a1a00","hex_latitude":"0720cd70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924778496001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398024988360704,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880675087507331072,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788768667000,"timestamp_ms":1788768667000,"timestamp_seconds":1788768667,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebc578"} 
[2026-09-07 13: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-07 13:43:17] 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-07 13: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 13:43:17] 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-07 13: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-07 13: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-07 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924778496001,"66":12069,"121":206,"28":31744,"24":7,"16":18398024988360704,"45":1880675087507331072},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924778496001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:43:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:43:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398024988360704,"km_value":18398024988360.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880675087507331072,"description":"Unknown IO ID 45"} 
[2026-09-07 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924778496001,"power":12069,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1880675087507331072}} 
[2026-09-07 13:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":173425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:43:18] local.INFO: GPS data processed {"connection_id":173425,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:43:18] local.INFO: Acknowledgment sent {"connection_id":173425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:43:21] local.INFO: TCP Data received {"connection_id":173427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebb1f0012ccf2d8007403e10000a015d29..."} 
[2026-09-07 13:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebb1f0012ccf2d8007403e10000a015d29..."} 
[2026-09-07 13:43:21] local.INFO: Processing buffer {"connection_id":173427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebb1f0012ccf2d8007403e10000a015d29..."} 
[2026-09-07 13:43:21] local.INFO: Packet analysis {"connection_id":173427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:21] local.INFO: Extracted packet for processing {"connection_id":173427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:21] local.INFO: GPS Element Parsed {"raw_longitude":751775104,"raw_latitude":121650704,"longitude_deg":75.1775104,"latitude_deg":12.1650704,"altitude":10,"angle":349,"satellites":41,"speed":46,"hex_longitude":"2ccf2d80","hex_latitude":"07403e10","is_valid_coordinates":true} 
[2026-09-07 13:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924775168001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401416873368879104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3515974271696922624,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788768662000,"timestamp_ms":1788768662000,"timestamp_seconds":1788768662,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebb1f0"} 
[2026-09-07 13:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924775168001,"66":27930,"28":206,"85":37632,"24":46,"16":401416873368879104,"44":-3515974271696922624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924775168001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:43:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401416873368879104,"km_value":401416873368879.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3515974271696922624,"description":"Unknown IO ID 44"} 
[2026-09-07 13:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924775168001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3515974271696922624}} 
[2026-09-07 13:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":173427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:43:21] local.INFO: GPS data processed {"connection_id":173427,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:43:21] local.INFO: Acknowledgment sent {"connection_id":173427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:43:40] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:40] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:40] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:43:44] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:44] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:43:44] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:43:45] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aec03f8012d1a19400720cd70003500dd2c..."} 
[2026-09-07 13:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aec03f8012d1a19400720cd70003500dd2c..."} 
[2026-09-07 13:43:45] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aec03f8012d1a19400720cd70003500dd2c..."} 
[2026-09-07 13:43:45] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:43:45] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756685120,"raw_latitude":119590256,"longitude_deg":75.668512,"latitude_deg":11.9590256,"altitude":53,"angle":221,"satellites":44,"speed":7,"hex_longitude":"2d1a1940","hex_latitude":"0720cd70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924778752001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398085117902848,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880815824995708928,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788768683000,"timestamp_ms":1788768683000,"timestamp_seconds":1788768683,"priority":1,"record_length":96,"hex_timestamp":"000001a07aec03f8"} 
[2026-09-07 13: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-07 13:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 13:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924778752001,"66":13156,"121":206,"28":31744,"24":7,"16":18398085117902848,"45":1880815824995708928},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924778752001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:43:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398085117902848,"km_value":18398085117902.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880815824995708928,"description":"Unknown IO ID 45"} 
[2026-09-07 13:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924778752001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1880815824995708928}} 
[2026-09-07 13:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:43:45] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:43:45] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:43:50] local.INFO: TCP Data received {"connection_id":174781,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:50] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:50] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:43:55] local.INFO: TCP Data received {"connection_id":174781,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:55] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:43:55] local.INFO: IMEI packet received {"connection_id":174781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":174781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:43:55] local.INFO: TCP Data received {"connection_id":174781,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd130012ccf268007406210000a015c2a..."} 
[2026-09-07 13:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd130012ccf268007406210000a015c2a..."} 
[2026-09-07 13:43:55] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd130012ccf268007406210000a015c2a..."} 
[2026-09-07 13:43:55] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:55] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:43:55] local.INFO: GPS Element Parsed {"raw_longitude":751773312,"raw_latitude":121659920,"longitude_deg":75.1773312,"latitude_deg":12.165992,"altitude":10,"angle":348,"satellites":42,"speed":46,"hex_longitude":"2ccf2680","hex_latitude":"07406210","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924777472001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417328635412480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3518014965275553792,"note":"Value kept but may cause issues"} 
[2026-09-07 13:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788768670000,"timestamp_ms":1788768670000,"timestamp_seconds":1788768670,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd130"} 
[2026-09-07 13: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-07 13:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:43:55] local.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-07 13:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924777472001,"66":27930,"28":206,"85":37632,"24":46,"16":401417328635412480,"44":-3518014965275553792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924777472001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417328635412480,"km_value":401417328635412.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3518014965275553792,"description":"Unknown IO ID 44"} 
[2026-09-07 13:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924777472001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3518014965275553792}} 
[2026-09-07 13:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:43:55] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:43:55] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:44:00] local.INFO: TCP Data received {"connection_id":174781,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:00] local.INFO: Processing buffer {"connection_id":174781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:00] local.INFO: Packet analysis {"connection_id":174781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:44:00] local.INFO: Extracted packet for processing {"connection_id":174781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:44:00] local.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-07 13:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":174781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:44:00] local.INFO: GPS data processed {"connection_id":174781,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:44:00] local.INFO: Acknowledgment sent {"connection_id":174781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:44:18] local.INFO: TCP Data received {"connection_id":173660,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aec0bc8012d1a17c00720cc58003500eb2c..."} 
[2026-09-07 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aec0bc8012d1a17c00720cc58003500eb2c..."} 
[2026-09-07 13:44:18] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aec0bc8012d1a17c00720cc58003500eb2c..."} 
[2026-09-07 13:44:18] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:44:18] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756684736,"raw_latitude":119589976,"longitude_deg":75.6684736,"latitude_deg":11.9589976,"altitude":53,"angle":235,"satellites":44,"speed":11,"hex_longitude":"2d1a17c0","hex_latitude":"0720cc58","is_valid_coordinates":true} 
[2026-09-07 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924782848001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398106592739328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880604718763175936,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788768685000,"timestamp_ms":1788768685000,"timestamp_seconds":1788768685,"priority":1,"record_length":96,"hex_timestamp":"000001a07aec0bc8"} 
[2026-09-07 13:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-07 13:44:18] 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-07 13:44: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-07 13:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924782848001,"66":13156,"121":206,"28":31744,"24":11,"16":18398106592739328,"45":1880604718763175936},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924782848001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:44:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:44:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398106592739328,"km_value":18398106592739.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880604718763175936,"description":"Unknown IO ID 45"} 
[2026-09-07 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924782848001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1880604718763175936}} 
[2026-09-07 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:44:18] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:44:18] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:44:41] local.INFO: TCP Data received {"connection_id":173661,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:41] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:41] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:44:45] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:45] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:45] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:44:46] local.INFO: TCP Data received {"connection_id":173661,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:46] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:44:46] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:44:48] local.INFO: TCP Data received {"connection_id":173661,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeca038012d1a13800720c918003500e52b..."} 
[2026-09-07 13:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeca038012d1a13800720c918003500e52b..."} 
[2026-09-07 13:44:48] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeca038012d1a13800720c918003500e52b..."} 
[2026-09-07 13:44:48] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:44:48] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756683648,"raw_latitude":119589144,"longitude_deg":75.6683648,"latitude_deg":11.9589144,"altitude":53,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d1a1380","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924783360001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398179607183360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880182506298038272,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788768723000,"timestamp_ms":1788768723000,"timestamp_seconds":1788768723,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeca038"} 
[2026-09-07 13: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-07 13:44:48] 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-07 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-07 13:44:48] 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-07 13: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-07 13: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-07 13:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924783360001,"66":13004,"121":206,"28":31744,"24":0,"16":18398179607183360,"45":1880182506298038272},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924783360001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:44:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:44:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398179607183360,"km_value":18398179607183.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880182506298038272,"description":"Unknown IO ID 45"} 
[2026-09-07 13:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924783360001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1880182506298038272}} 
[2026-09-07 13:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:44:48] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:44:48] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:44:50] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:50] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:44:50] local.INFO: IMEI packet received {"connection_id":176137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":176137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:44:51] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:51] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:44:51] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:44:51] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:44: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-07 13:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13: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-07 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:44:51] 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-07 13: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-07 13: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-07 13:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:44: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-07 13:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:44:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:44:51] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:44:51] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:45:22] local.INFO: TCP Data received {"connection_id":176137,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:22] local.INFO: Processing buffer {"connection_id":176137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:22] local.INFO: Packet analysis {"connection_id":176137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:45:22] local.INFO: Extracted packet for processing {"connection_id":176137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:45: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-07 13:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:45:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":176137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:45:22] local.INFO: GPS data processed {"connection_id":176137,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:45:22] local.INFO: Acknowledgment sent {"connection_id":176137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:45:34] local.INFO: TCP Data received {"connection_id":173661,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aecf240012d1a13800720c918003500e52b..."} 
[2026-09-07 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aecf240012d1a13800720c918003500e52b..."} 
[2026-09-07 13:45:34] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aecf240012d1a13800720c918003500e52b..."} 
[2026-09-07 13:45:34] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:45:34] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aec"} 
[2026-09-07 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756683648,"raw_latitude":119589144,"longitude_deg":75.6683648,"latitude_deg":11.9589144,"altitude":53,"angle":229,"satellites":43,"speed":0,"hex_longitude":"2d1a1380","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-09-07 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924793088001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398179607183360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878986237646804992,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788768744000,"timestamp_ms":1788768744000,"timestamp_seconds":1788768744,"priority":1,"record_length":96,"hex_timestamp":"000001a07aecf240"} 
[2026-09-07 13:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 13:45:34] 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-07 13:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924793088001,"66":12341,"121":206,"28":31744,"24":0,"16":18398179607183360,"45":1878986237646804992},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924793088001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:45:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:45:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398179607183360,"km_value":18398179607183.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878986237646804992,"description":"Unknown IO ID 45"} 
[2026-09-07 13:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924793088001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1878986237646804992}} 
[2026-09-07 13:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:45:34] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:45:34] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:45:40] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:40] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:40] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:45:44] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:44] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:44] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:45:45] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:45] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:45] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:45:45] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:45] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:45:45] local.INFO: IMEI packet received {"connection_id":176138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:45:46] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aed4448012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aed4448012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:46] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aed4448012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:46] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aed"} 
[2026-09-07 13:45:46] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aed"} 
[2026-09-07 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756683648,"raw_latitude":119589144,"longitude_deg":75.6683648,"latitude_deg":11.9589144,"altitude":53,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d1a1380","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-09-07 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-07 13:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924798464001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398179607183360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878986237646804992,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788768765000,"timestamp_ms":1788768765000,"timestamp_seconds":1788768765,"priority":1,"record_length":96,"hex_timestamp":"000001a07aed4448"} 
[2026-09-07 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-07 13:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 13:45:46] 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-07 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-07 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-07 13:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924798464001,"66":12885,"121":206,"28":31744,"24":0,"16":18398179607183360,"45":1878986237646804992},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924798464001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:45:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398179607183360,"km_value":18398179607183.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878986237646804992,"description":"Unknown IO ID 45"} 
[2026-09-07 13:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924798464001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1878986237646804992}} 
[2026-09-07 13:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:45:46] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:45:46] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:45:50] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:50] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:45:50] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:45:50] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:50] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:45:50] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:45:50] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 13:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13: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-07 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:45: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-07 13: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-07 13: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-07 13:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:45:50] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:45:50] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:45:52] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aed9650012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aed9650012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:52] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aed9650012d1a13800720c918003500e529..."} 
[2026-09-07 13:45:52] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aed"} 
[2026-09-07 13:45:52] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aed"} 
[2026-09-07 13:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756683648,"raw_latitude":119589144,"longitude_deg":75.6683648,"latitude_deg":11.9589144,"altitude":53,"angle":229,"satellites":41,"speed":0,"hex_longitude":"2d1a1380","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-09-07 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-07 13:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924803840001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18398179607183360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878986237646804992,"note":"Value kept but may cause issues"} 
[2026-09-07 13:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788768786000,"timestamp_ms":1788768786000,"timestamp_seconds":1788768786,"priority":1,"record_length":96,"hex_timestamp":"000001a07aed9650"} 
[2026-09-07 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-07 13:45: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-07 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 13:45: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-07 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-07 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-07 13:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924803840001,"66":12841,"121":206,"28":31744,"24":0,"16":18398179607183360,"45":1878986237646804992},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924803840001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:45:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:45:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18398179607183360,"km_value":18398179607183.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878986237646804992,"description":"Unknown IO ID 45"} 
[2026-09-07 13:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924803840001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1878986237646804992}} 
[2026-09-07 13:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:45:53] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:45:53] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:46:21] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:21] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:21] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:46:21] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:46:21] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 13:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13: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-07 13:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:46:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:46:21] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:46:21] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:46:24] local.INFO: TCP Data received {"connection_id":176138,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aefefe0012d19c9400720a408003200fd2a..."} 
[2026-09-07 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aefefe0012d19c9400720a408003200fd2a..."} 
[2026-09-07 13:46:24] local.INFO: Processing buffer {"connection_id":176138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aefefe0012d19c9400720a408003200fd2a..."} 
[2026-09-07 13:46:24] local.INFO: Packet analysis {"connection_id":176138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:24] local.INFO: Extracted packet for processing {"connection_id":176138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119579656,"longitude_deg":75.666464,"latitude_deg":11.9579656,"altitude":50,"angle":253,"satellites":42,"speed":16,"hex_longitude":"2d19c940","hex_latitude":"0720a408","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924848128001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18399240464105472,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776809654272,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788768940000,"timestamp_ms":1788768940000,"timestamp_seconds":1788768940,"priority":1,"record_length":96,"hex_timestamp":"000001a07aefefe0"} 
[2026-09-07 13: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-07 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 13:46:24] 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-07 13: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-07 13: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-07 13:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924848128001,"66":14265,"121":206,"28":31744,"24":16,"16":18399240464105472,"45":1858860776809654272},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924848128001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:46:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:46:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18399240464105472,"km_value":18399240464105.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776809654272,"description":"Unknown IO ID 45"} 
[2026-09-07 13:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924848128001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1858860776809654272}} 
[2026-09-07 13:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":176138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:46:25] local.INFO: GPS data processed {"connection_id":176138,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:46:25] local.INFO: Acknowledgment sent {"connection_id":176138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:46:40] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:40] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:40] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:46:45] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:45] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:45] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:46:45] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:46:45] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:46:45] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:46:47] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeff3c8012d19c7800720a3f00032010d2a..."} 
[2026-09-07 13:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeff3c8012d19c7800720a3f00032010d2a..."} 
[2026-09-07 13:46:47] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeff3c8012d19c7800720a3f00032010d2a..."} 
[2026-09-07 13:46:47] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:47] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119579632,"longitude_deg":75.6664192,"latitude_deg":11.9579632,"altitude":50,"angle":269,"satellites":42,"speed":19,"hex_longitude":"2d19c780","hex_latitude":"0720a3f0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924848640001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18399261938941952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720623609856,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788768941000,"timestamp_ms":1788768941000,"timestamp_seconds":1788768941,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeff3c8"} 
[2026-09-07 13: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-07 13:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 13:46:47] 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-07 13: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-07 13: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-07 13:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924848640001,"66":14243,"121":206,"28":31744,"24":19,"16":18399261938941952,"45":1858086720623609856},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924848640001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:46:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:46:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18399261938941952,"km_value":18399261938941.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720623609856,"description":"Unknown IO ID 45"} 
[2026-09-07 13:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924848640001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1858086720623609856}} 
[2026-09-07 13:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:46:47] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:46:47] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:46:50] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:50] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:46:50] local.INFO: IMEI packet received {"connection_id":173428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":173428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:46:51] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:51] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aebd518012ccf258007406690000a015b2c..."} 
[2026-09-07 13:46:51] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:46:51] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aeb"} 
[2026-09-07 13:46:51] local.INFO: GPS Element Parsed {"raw_longitude":751773056,"raw_latitude":121661072,"longitude_deg":75.1773056,"latitude_deg":12.1661072,"altitude":10,"angle":347,"satellites":44,"speed":46,"hex_longitude":"2ccf2580","hex_latitude":"07406690","is_valid_coordinates":true} 
[2026-09-07 13:46: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-07 13:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779520001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3519985290110169088,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788768671000,"timestamp_ms":1788768671000,"timestamp_seconds":1788768671,"priority":1,"record_length":96,"hex_timestamp":"000001a07aebd518"} 
[2026-09-07 13: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-07 13:46: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-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:46:51] 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-07 13: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-07 13: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-07 13:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:46: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-07 13:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779520001,"66":27930,"28":206,"85":37632,"24":46,"16":401417384469987328,"44":-3519985290110169088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779520001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3519985290110169088,"description":"Unknown IO ID 44"} 
[2026-09-07 13:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779520001,"power":27930,"unknown_28":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3519985290110169088}} 
[2026-09-07 13:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:46:51] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:46:51] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:46:52] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07aeffb98012d19c3400720a4900032011a24..."} 
[2026-09-07 13:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aeffb98012d19c3400720a4900032011a24..."} 
[2026-09-07 13:46:52] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aeffb98012d19c3400720a4900032011a24..."} 
[2026-09-07 13:46:52] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:52] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aef"} 
[2026-09-07 13:46:52] local.INFO: GPS Element Parsed {"raw_longitude":756663104,"raw_latitude":119579792,"longitude_deg":75.6663104,"latitude_deg":11.9579792,"altitude":50,"angle":282,"satellites":36,"speed":21,"hex_longitude":"2d19c340","hex_latitude":"0720a490","is_valid_coordinates":true} 
[2026-09-07 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-07 13:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924848896001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18399313478549504,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139414360064,"note":"Value kept but may cause issues"} 
[2026-09-07 13:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788768943000,"timestamp_ms":1788768943000,"timestamp_seconds":1788768943,"priority":1,"record_length":96,"hex_timestamp":"000001a07aeffb98"} 
[2026-09-07 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-07 13:46: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-07 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-07 13: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-07 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-07 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-07 13:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924848896001,"66":14276,"121":206,"28":31744,"24":21,"16":18399313478549504,"45":1857594139414360064},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924848896001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:46:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:46:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18399313478549504,"km_value":18399313478549.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139414360064,"description":"Unknown IO ID 45"} 
[2026-09-07 13:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924848896001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1857594139414360064}} 
[2026-09-07 13:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:46:52] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:46:52] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:47:22] local.INFO: TCP Data received {"connection_id":173428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:22] local.INFO: Processing buffer {"connection_id":173428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:22] local.INFO: Packet analysis {"connection_id":173428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:22] local.INFO: Extracted packet for processing {"connection_id":173428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13: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-07 13:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:47: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-07 13:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:47:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":173428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:47:22] local.INFO: GPS data processed {"connection_id":173428,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:47:22] local.INFO: Acknowledgment sent {"connection_id":173428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:47:23] local.INFO: TCP Data received {"connection_id":173663,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af00368012d19bf400720a5c00032012524..."} 
[2026-09-07 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af00368012d19bf400720a5c00032012524..."} 
[2026-09-07 13:47:23] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af00368012d19bf400720a5c00032012524..."} 
[2026-09-07 13:47:23] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:23] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119580096,"longitude_deg":75.666208,"latitude_deg":11.9580096,"altitude":50,"angle":293,"satellites":36,"speed":20,"hex_longitude":"2d19bf40","hex_latitude":"0720a5c0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924849408001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18399365018157056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856397870763380736,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788768945000,"timestamp_ms":1788768945000,"timestamp_seconds":1788768945,"priority":1,"record_length":96,"hex_timestamp":"000001a07af00368"} 
[2026-09-07 13: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-07 13:47: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-07 13: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":196,"data_length":795,"current_offset":136} 
[2026-09-07 13:47:23] 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-07 13: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-07 13: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-07 13:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924849408001,"66":14265,"121":206,"28":31744,"24":20,"16":18399365018157056,"45":1856397870763380736},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924849408001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:47:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:47:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18399365018157056,"km_value":18399365018157.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856397870763380736,"description":"Unknown IO ID 45"} 
[2026-09-07 13:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924849408001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1856397870763380736}} 
[2026-09-07 13:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:47:23] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:47:23] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:47:44] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:44] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:44] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:47:46] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:46] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:46] local.INFO: IMEI packet received {"connection_id":173429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:47:50] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:50] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:47:50] local.INFO: IMEI packet received {"connection_id":173430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":173430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:47:50] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:50] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:47:50] local.INFO: IMEI packet received {"connection_id":173429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":173429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:47:50] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:50] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:47:50] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:50] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13: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-07 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13: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":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:47: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-07 13: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-07 13: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-07 13:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:47:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:47:50] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:47:50] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:47:51] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af02a78012d19a9800720afa80035011a28..."} 
[2026-09-07 13:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af02a78012d19a9800720afa80035011a28..."} 
[2026-09-07 13:47:51] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af02a78012d19a9800720afa80035011a28..."} 
[2026-09-07 13:47:51] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:51] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582632,"longitude_deg":75.6656512,"latitude_deg":11.9582632,"altitude":53,"angle":282,"satellites":40,"speed":25,"hex_longitude":"2d19a980","hex_latitude":"0720afa8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924849920001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18399657075933184,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970856615936,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788768955000,"timestamp_ms":1788768955000,"timestamp_seconds":1788768955,"priority":1,"record_length":96,"hex_timestamp":"000001a07af02a78"} 
[2026-09-07 13: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-07 13:47:51] 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-07 13: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-07 13: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-07 13: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-07 13: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-07 13:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924849920001,"66":14276,"121":206,"28":31744,"24":25,"16":18399657075933184,"45":1855271970856615936},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924849920001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:47:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18399657075933184,"km_value":18399657075933.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970856615936,"description":"Unknown IO ID 45"} 
[2026-09-07 13:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924849920001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1855271970856615936}} 
[2026-09-07 13:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:47:51] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:47:51] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:47:53] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af05570012d198b000720b3080038010b29..."} 
[2026-09-07 13:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af05570012d198b000720b3080038010b29..."} 
[2026-09-07 13:47:53] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af05570012d198b000720b3080038010b29..."} 
[2026-09-07 13:47:53] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:53] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583496,"longitude_deg":75.6648704,"latitude_deg":11.9583496,"altitude":56,"angle":267,"satellites":41,"speed":30,"hex_longitude":"2d198b00","hex_latitude":"0720b308","is_valid_coordinates":true} 
[2026-09-07 13:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924852480001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18400030738087936,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113808384,"note":"Value kept but may cause issues"} 
[2026-09-07 13:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788768966000,"timestamp_ms":1788768966000,"timestamp_seconds":1788768966,"priority":1,"record_length":96,"hex_timestamp":"000001a07af05570"} 
[2026-09-07 13:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 13:47:53] 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-07 13:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924852480001,"66":14298,"121":206,"28":31744,"24":30,"16":18400030738087936,"45":1849149890113808384},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924852480001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:47:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:47:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18400030738087936,"km_value":18400030738087.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113808384,"description":"Unknown IO ID 45"} 
[2026-09-07 13:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924852480001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1849149890113808384}} 
[2026-09-07 13:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:47:53] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:47:53] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:48:21] local.INFO: TCP Data received {"connection_id":173430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:21] local.INFO: Processing buffer {"connection_id":173430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:21] local.INFO: Packet analysis {"connection_id":173430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:48:21] local.INFO: Extracted packet for processing {"connection_id":173430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:48:21] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13: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-07 13:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:48:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":173430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:48:21] local.INFO: GPS data processed {"connection_id":173430,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:48:21] local.INFO: Acknowledgment sent {"connection_id":173430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:48:24] local.INFO: TCP Data received {"connection_id":173429,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af1c4a0012d18c3c0072149c80041000027..."} 
[2026-09-07 13:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af1c4a0012d18c3c0072149c80041000027..."} 
[2026-09-07 13:48:24] local.INFO: Processing buffer {"connection_id":173429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af1c4a0012d18c3c0072149c80041000027..."} 
[2026-09-07 13:48:24] local.INFO: Packet analysis {"connection_id":173429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:48:24] local.INFO: Extracted packet for processing {"connection_id":173429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119622088,"longitude_deg":75.6597696,"latitude_deg":11.9622088,"altitude":65,"angle":0,"satellites":39,"speed":32,"hex_longitude":"2d18c3c0","hex_latitude":"072149c8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924878592001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18403599855910912,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456538112,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788769060000,"timestamp_ms":1788769060000,"timestamp_seconds":1788769060,"priority":1,"record_length":96,"hex_timestamp":"000001a07af1c4a0"} 
[2026-09-07 13: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-07 13:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 13:48:24] 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-07 13: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-07 13: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-07 13:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924878592001,"66":14102,"121":206,"28":31744,"24":32,"16":18403599855910912,"45":1784692120456538112},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924878592001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:48:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:48:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18403599855910912,"km_value":18403599855910.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456538112,"description":"Unknown IO ID 45"} 
[2026-09-07 13:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924878592001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1784692120456538112}} 
[2026-09-07 13:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":173429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:48:24] local.INFO: GPS data processed {"connection_id":173429,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:48:24] local.INFO: Acknowledgment sent {"connection_id":173429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:48:38] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:38] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:38] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:48:40] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:40] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:40] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:48:45] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:45] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:48:45] local.INFO: IMEI packet received {"connection_id":174784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":174784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:48:46] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af1cc70012d18c30007214ff80042015d28..."} 
[2026-09-07 13:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af1cc70012d18c30007214ff80042015d28..."} 
[2026-09-07 13:48:46] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af1cc70012d18c30007214ff80042015d28..."} 
[2026-09-07 13:48:46] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:48:46] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623672,"longitude_deg":75.6597504,"latitude_deg":11.9623672,"altitude":66,"angle":349,"satellites":40,"speed":31,"hex_longitude":"2d18c300","hex_latitude":"07214ff8","is_valid_coordinates":true} 
[2026-09-07 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924879360001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18403677165322240,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224635904,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769062000,"timestamp_ms":1788769062000,"timestamp_seconds":1788769062,"priority":1,"record_length":96,"hex_timestamp":"000001a07af1cc70"} 
[2026-09-07 13:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 13:48:46] 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-07 13:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924879360001,"66":14374,"121":206,"28":31744,"24":31,"16":18403677165322240,"45":1784481014224635904},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924879360001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:48:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18403677165322240,"km_value":18403677165322.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224635904,"description":"Unknown IO ID 45"} 
[2026-09-07 13:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924879360001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784481014224635904}} 
[2026-09-07 13:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:48:46] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:48:46] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:48:47] local.INFO: TCP Data received {"connection_id":174785,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:48:47] local.INFO: Processing buffer {"connection_id":174785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:48:47] local.INFO: IMEI packet received {"connection_id":174785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":174785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:48:50] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:50] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:50] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:48:55] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:55] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:48:55] local.INFO: IMEI packet received {"connection_id":174786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":174786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:48:56] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:56] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:48:56] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:48:56] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13:48: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-07 13:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:48:56] 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-07 13:48: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-07 13:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:48:56] local.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-07 13:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:48:56] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:48:56] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:49:00] local.INFO: TCP Data received {"connection_id":174786,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:00] local.INFO: Processing buffer {"connection_id":174786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:00] local.INFO: Packet analysis {"connection_id":174786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:49:00] local.INFO: Extracted packet for processing {"connection_id":174786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:49:00] local.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-07 13:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":174786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:49:00] local.INFO: GPS data processed {"connection_id":174786,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:49:00] local.INFO: Acknowledgment sent {"connection_id":174786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:49:18] local.INFO: TCP Data received {"connection_id":174784,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af1d440012d18c0c0072155700043014828..."} 
[2026-09-07 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af1d440012d18c0c0072155700043014828..."} 
[2026-09-07 13:49:18] local.INFO: Processing buffer {"connection_id":174784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af1d440012d18c0c0072155700043014828..."} 
[2026-09-07 13:49:18] local.INFO: Packet analysis {"connection_id":174784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:49:18] local.INFO: Extracted packet for processing {"connection_id":174784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af1"} 
[2026-09-07 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625072,"longitude_deg":75.6596928,"latitude_deg":11.9625072,"altitude":67,"angle":328,"satellites":40,"speed":30,"hex_longitude":"2d18c0c0","hex_latitude":"07215570","is_valid_coordinates":true} 
[2026-09-07 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924879872001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18403750179766272,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992508416,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769064000,"timestamp_ms":1788769064000,"timestamp_seconds":1788769064,"priority":1,"record_length":96,"hex_timestamp":"000001a07af1d440"} 
[2026-09-07 13:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 13:49:18] 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-07 13:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924879872001,"66":13559,"121":206,"28":31744,"24":30,"16":18403750179766272,"45":1784269907992508416},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924879872001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:49:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 13:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18403750179766272,"km_value":18403750179766.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992508416,"description":"Unknown IO ID 45"} 
[2026-09-07 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924879872001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784269907992508416}} 
[2026-09-07 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":174784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:49:18] local.INFO: GPS data processed {"connection_id":174784,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:49:18] local.INFO: Acknowledgment sent {"connection_id":174784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:49:40] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:40] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:40] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:49:44] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:44] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:49:44] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:49:45] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:45] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:45] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:49:46] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2c288012d1820000721a4b0004d012b29..."} 
[2026-09-07 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2c288012d1820000721a4b0004d012b29..."} 
[2026-09-07 13:49:46] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2c288012d1820000721a4b0004d012b29..."} 
[2026-09-07 13:49:46] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:49:46] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645360,"longitude_deg":75.6555776,"latitude_deg":11.964536,"altitude":77,"angle":299,"satellites":41,"speed":15,"hex_longitude":"2d182000","hex_latitude":"0721a4b0","is_valid_coordinates":true} 
[2026-09-07 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-07 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924895232001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406039397335040,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492933339136,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769125000,"timestamp_ms":1788769125000,"timestamp_seconds":1788769125,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2c288"} 
[2026-09-07 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-07 13:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4066179073,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2161639500,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3221692801,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 13:49:46] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,100,160,167,45,192,153,79,41,10,66,99,143,145,42,64,1,240,116,122,33,4,113,205,31,77,152,36,239,56,2,65,7,75,32],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 13:49:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620837757704863744,"timestamp_seconds":5620837757704864.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 13:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924895232001,"66":14004,"120":206,"28":31744,"24":15,"16":18406039397335040,"45":1739726492933339136},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924895232001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:49:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:49:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406039397335040,"km_value":18406039397335.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492933339136,"description":"Unknown IO ID 45"} 
[2026-09-07 13:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924895232001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1739726492933339136}} 
[2026-09-07 13:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:49:46] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:49:46] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:49:50] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:50] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:49:50] local.INFO: IMEI packet received {"connection_id":173431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":173431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:49:50] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:50] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:49:50] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:49:50] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13: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-07 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:49: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-07 13: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-07 13: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-07 13:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:49: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-07 13:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:49:50] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:49:50] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:50:17] local.INFO: TCP Data received {"connection_id":173665,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2d228012d181d400721a638004c011429..."} 
[2026-09-07 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2d228012d181d400721a638004c011429..."} 
[2026-09-07 13:50:17] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2d228012d181d400721a638004c011429..."} 
[2026-09-07 13:50:17] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:50:17] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119645752,"longitude_deg":75.6555072,"latitude_deg":11.9645752,"altitude":76,"angle":276,"satellites":41,"speed":6,"hex_longitude":"2d181d40","hex_latitude":"0721a638","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924896000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406078052040704,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794223616,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788769129000,"timestamp_ms":1788769129000,"timestamp_seconds":1788769129,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2d228"} 
[2026-09-07 13: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-07 13:50:17] 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-07 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 13:50:17] 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-07 13: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-07 13: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-07 13:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924896000001,"66":14070,"120":206,"28":31744,"24":6,"16":18406078052040704,"45":1738389486794223616},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924896000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:50:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406078052040704,"km_value":18406078052040.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794223616,"description":"Unknown IO ID 45"} 
[2026-09-07 13:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924896000001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738389486794223616}} 
[2026-09-07 13:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:50:18] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:50:18] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:50:21] local.INFO: TCP Data received {"connection_id":173431,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:50:21] local.INFO: Processing buffer {"connection_id":173431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af070c8012ccf0d800740b928000a015b2b..."} 
[2026-09-07 13:50:21] local.INFO: Packet analysis {"connection_id":173431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:50:21] local.INFO: Extracted packet for processing {"connection_id":173431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af0"} 
[2026-09-07 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924779776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3520266765086584832,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788768973000,"timestamp_ms":1788768973000,"timestamp_seconds":1788768973,"priority":1,"record_length":96,"hex_timestamp":"000001a07af070c8"} 
[2026-09-07 13: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-07 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 13:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:50: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-07 13:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924779776001,"66":26517,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3520266765086584832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924779776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:50:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3520266765086584832,"description":"Unknown IO ID 44"} 
[2026-09-07 13:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924779776001,"power":26517,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3520266765086584832}} 
[2026-09-07 13:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":173431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:50:21] local.INFO: GPS data processed {"connection_id":173431,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:50:21] local.INFO: Acknowledgment sent {"connection_id":173431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:50:41] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:41] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:41] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:50:43] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:43] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:43] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:50:44] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:44] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:44] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:50:45] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:45] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:50:45] local.INFO: IMEI packet received {"connection_id":173432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:50:45] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:45] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:45] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:50:47] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2dde0012d181c400721a5f8004c00f62a..."} 
[2026-09-07 13:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2dde0012d181c400721a5f8004c00f62a..."} 
[2026-09-07 13:50:47] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2dde0012d181c400721a5f8004c00f62a..."} 
[2026-09-07 13:50:47] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:50:47] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119645688,"longitude_deg":75.6554816,"latitude_deg":11.9645688,"altitude":76,"angle":246,"satellites":42,"speed":5,"hex_longitude":"2d181c40","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924897024001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406090936942592,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608369664,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769132000,"timestamp_ms":1788769132000,"timestamp_seconds":1788769132,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2dde0"} 
[2026-09-07 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-07 13:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 13:50:47] 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-07 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-07 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-07 13:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924897024001,"66":13972,"120":206,"28":31744,"24":5,"16":18406090936942592,"45":1737615430608369664},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924897024001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:50:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:50:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406090936942592,"km_value":18406090936942.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608369664,"description":"Unknown IO ID 45"} 
[2026-09-07 13:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924897024001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1737615430608369664}} 
[2026-09-07 13:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:50:47] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:50:47] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:50:50] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:50] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:50:50] local.INFO: IMEI packet received {"connection_id":176141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":176141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:50:51] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af3fb08012ccf0d800740b928000a015b2d..."} 
[2026-09-07 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af3fb08012ccf0d800740b928000a015b2d..."} 
[2026-09-07 13:50:51] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af3fb08012ccf0d800740b928000a015b2d..."} 
[2026-09-07 13:50:51] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:50:51] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":751766912,"raw_latitude":121682216,"longitude_deg":75.1766912,"latitude_deg":12.1682216,"altitude":10,"angle":347,"satellites":45,"speed":0,"hex_longitude":"2ccf0d80","hex_latitude":"0740b928","is_valid_coordinates":true} 
[2026-09-07 13:50: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-07 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924857088001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3527022164522227712,"note":"Value kept but may cause issues"} 
[2026-09-07 13:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788769205000,"timestamp_ms":1788769205000,"timestamp_seconds":1788769205,"priority":1,"record_length":96,"hex_timestamp":"000001a07af3fb08"} 
[2026-09-07 13: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-07 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 13: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 13:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:50:51] local.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-07 13:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924857088001,"66":26289,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3527022164522227712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924857088001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3527022164522227712,"description":"Unknown IO ID 44"} 
[2026-09-07 13:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924857088001,"power":26289,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3527022164522227712}} 
[2026-09-07 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:50:51] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:50:51] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:51:18] local.INFO: TCP Data received {"connection_id":173432,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2e1c8012d181b800721a598004b00e92a..."} 
[2026-09-07 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2e1c8012d181b800721a598004b00e92a..."} 
[2026-09-07 13:51:18] local.INFO: Processing buffer {"connection_id":173432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2e1c8012d181b800721a598004b00e92a..."} 
[2026-09-07 13:51:18] local.INFO: Packet analysis {"connection_id":173432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:51:18] local.INFO: Extracted packet for processing {"connection_id":173432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645592,"longitude_deg":75.6554624,"latitude_deg":11.9645592,"altitude":75,"angle":233,"satellites":42,"speed":9,"hex_longitude":"2d181b80","hex_latitude":"0721a598","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924897792001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406099526877184,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631642624,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769133000,"timestamp_ms":1788769133000,"timestamp_seconds":1788769133,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2e1c8"} 
[2026-09-07 13: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-07 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 13:51:18] 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-07 13: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-07 13: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-07 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924897792001,"66":14102,"120":206,"28":31744,"24":9,"16":18406099526877184,"45":1737333955631642624},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924897792001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:51:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:51:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406099526877184,"km_value":18406099526877.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631642624,"description":"Unknown IO ID 45"} 
[2026-09-07 13:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924897792001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737333955631642624}} 
[2026-09-07 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":173432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:51:18] local.INFO: GPS data processed {"connection_id":173432,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:51:18] local.INFO: Acknowledgment sent {"connection_id":173432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:51:22] local.INFO: TCP Data received {"connection_id":176141,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af406c0012ccf06800740cb70000a014e2c..."} 
[2026-09-07 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af406c0012ccf06800740cb70000a014e2c..."} 
[2026-09-07 13:51:22] local.INFO: Processing buffer {"connection_id":176141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af406c0012ccf06800740cb70000a014e2c..."} 
[2026-09-07 13:51:22] local.INFO: Packet analysis {"connection_id":176141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:51:22] local.INFO: Extracted packet for processing {"connection_id":176141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":751765120,"raw_latitude":121686896,"longitude_deg":75.176512,"latitude_deg":12.1686896,"altitude":10,"angle":334,"satellites":44,"speed":0,"hex_longitude":"2ccf0680","hex_latitude":"0740cb70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924916480001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3527022164522227712,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788769208000,"timestamp_ms":1788769208000,"timestamp_seconds":1788769208,"priority":1,"record_length":96,"hex_timestamp":"000001a07af406c0"} 
[2026-09-07 13: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-07 13:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-07 13:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:51: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-07 13:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924916480001,"66":25549,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3527022164522227712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924916480001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:51:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3527022164522227712,"description":"Unknown IO ID 44"} 
[2026-09-07 13:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924916480001,"power":25549,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3527022164522227712}} 
[2026-09-07 13:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":176141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:51:22] local.INFO: GPS data processed {"connection_id":176141,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:51:22] local.INFO: Acknowledgment sent {"connection_id":176141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:51:40] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:40] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:40] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:51:44] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:44] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:44] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:51:45] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:45] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:51:45] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:51:46] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2e5b0012d181b000721a4e0004b00dd28..."} 
[2026-09-07 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2e5b0012d181b000721a4e0004b00dd28..."} 
[2026-09-07 13:51:46] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2e5b0012d181b000721a4e0004b00dd28..."} 
[2026-09-07 13:51:46] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:51:46] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645408,"longitude_deg":75.6554496,"latitude_deg":11.9645408,"altitude":75,"angle":221,"satellites":40,"speed":11,"hex_longitude":"2d181b00","hex_latitude":"0721a4e0","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924898048001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406112411779072,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399085056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769134000,"timestamp_ms":1788769134000,"timestamp_seconds":1788769134,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2e5b0"} 
[2026-09-07 13: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-07 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 13:51:46] 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-07 13: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-07 13: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-07 13:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924898048001,"66":14102,"120":206,"28":31744,"24":11,"16":18406112411779072,"45":1737122849399085056},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924898048001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:51:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406112411779072,"km_value":18406112411779.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399085056,"description":"Unknown IO ID 45"} 
[2026-09-07 13:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924898048001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737122849399085056}} 
[2026-09-07 13:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:51:47] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:51:47] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:51:48] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:48] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:48] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:51:49] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:49] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:51:49] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:51:50] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af458c8012ccf06800740cb70000a014e2a..."} 
[2026-09-07 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af458c8012ccf06800740cb70000a014e2a..."} 
[2026-09-07 13:51:50] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af458c8012ccf06800740cb70000a014e2a..."} 
[2026-09-07 13:51:50] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:51:50] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":751765120,"raw_latitude":121686896,"longitude_deg":75.176512,"latitude_deg":12.1686896,"altitude":10,"angle":334,"satellites":42,"speed":0,"hex_longitude":"2ccf0680","hex_latitude":"0740cb70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924917248001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3528992489358004224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788769229000,"timestamp_ms":1788769229000,"timestamp_seconds":1788769229,"priority":1,"record_length":96,"hex_timestamp":"000001a07af458c8"} 
[2026-09-07 13: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-07 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-07 13:51:50] 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-07 13: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-07 13: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-07 13:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:51: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-07 13:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924917248001,"66":27767,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3528992489358004224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924917248001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3528992489358004224,"description":"Unknown IO ID 44"} 
[2026-09-07 13:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924917248001,"power":27767,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3528992489358004224}} 
[2026-09-07 13:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:51:50] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:51:50] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:52:19] local.INFO: TCP Data received {"connection_id":173666,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af2ed80012d1819400721a290004a00d224..."} 
[2026-09-07 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af2ed80012d1819400721a290004a00d224..."} 
[2026-09-07 13:52:19] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af2ed80012d1819400721a290004a00d224..."} 
[2026-09-07 13:52:19] local.INFO: Packet analysis {"connection_id":173666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:52:19] local.INFO: Extracted packet for processing {"connection_id":173666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af2"} 
[2026-09-07 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119644816,"longitude_deg":75.6554048,"latitude_deg":11.9644816,"altitude":74,"angle":210,"satellites":36,"speed":15,"hex_longitude":"2d181940","hex_latitude":"0721a290","is_valid_coordinates":true} 
[2026-09-07 13:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924898304001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406146771517440,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910682624,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788769136000,"timestamp_ms":1788769136000,"timestamp_seconds":1788769136,"priority":1,"record_length":96,"hex_timestamp":"000001a07af2ed80"} 
[2026-09-07 13:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 13:52:19] 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-07 13:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924898304001,"66":14048,"120":206,"28":31744,"24":15,"16":18406146771517440,"45":1736982111910682624},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924898304001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:52:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406146771517440,"km_value":18406146771517.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910682624,"description":"Unknown IO ID 45"} 
[2026-09-07 13:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924898304001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1736982111910682624}} 
[2026-09-07 13:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":173666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:52:19] local.INFO: GPS data processed {"connection_id":173666,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:52:19] local.INFO: Acknowledgment sent {"connection_id":173666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:52:21] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af4aad0012ccf06800740cb70000a014e2b..."} 
[2026-09-07 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af4aad0012ccf06800740cb70000a014e2b..."} 
[2026-09-07 13:52:21] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af4aad0012ccf06800740cb70000a014e2b..."} 
[2026-09-07 13:52:21] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:52:21] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":751765120,"raw_latitude":121686896,"longitude_deg":75.176512,"latitude_deg":12.1686896,"altitude":10,"angle":334,"satellites":43,"speed":0,"hex_longitude":"2ccf0680","hex_latitude":"0740cb70","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924922624001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417384469987328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3528992489358004224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788769250000,"timestamp_ms":1788769250000,"timestamp_seconds":1788769250,"priority":1,"record_length":96,"hex_timestamp":"000001a07af4aad0"} 
[2026-09-07 13: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-07 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 13:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:52: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-07 13:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924922624001,"66":27865,"28":206,"85":37632,"24":0,"16":401417384469987328,"44":-3528992489358004224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924922624001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417384469987328,"km_value":401417384469987.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3528992489358004224,"description":"Unknown IO ID 44"} 
[2026-09-07 13:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924922624001,"power":27865,"unknown_28":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-3528992489358004224}} 
[2026-09-07 13:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:52:21] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:52:21] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:52:40] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:40] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:40] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:52:45] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:45] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:52:45] local.INFO: IMEI packet received {"connection_id":176144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:52:46] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af310a8012d1813c007219678004600be29..."} 
[2026-09-07 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af310a8012d1813c007219678004600be29..."} 
[2026-09-07 13:52:46] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af310a8012d1813c007219678004600be29..."} 
[2026-09-07 13:52:46] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:52:46] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756552640,"raw_latitude":119641720,"longitude_deg":75.655264,"latitude_deg":11.964172,"altitude":70,"angle":190,"satellites":41,"speed":10,"hex_longitude":"2d1813c0","hex_latitude":"07219678","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924898816001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406309980274688,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701287424,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769145000,"timestamp_ms":1788769145000,"timestamp_seconds":1788769145,"priority":1,"record_length":96,"hex_timestamp":"000001a07af310a8"} 
[2026-09-07 13: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-07 13:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 13:52:46] 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-07 13: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-07 13: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-07 13:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924898816001,"66":14483,"120":206,"28":31744,"24":10,"16":18406309980274688,"45":1736489530701287424},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924898816001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:52:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406309980274688,"km_value":18406309980274.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701287424,"description":"Unknown IO ID 45"} 
[2026-09-07 13:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924898816001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1736489530701287424}} 
[2026-09-07 13:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:52:46] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:52:46] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:52:47] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:47] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:47] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:52:50] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:50] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:50] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:52:55] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:55] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:52:55] local.INFO: IMEI packet received {"connection_id":174788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":174788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:52:57] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af4b688012ccf06c00740cc30000f000b29..."} 
[2026-09-07 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af4b688012ccf06c00740cc30000f000b29..."} 
[2026-09-07 13:52:57] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af4b688012ccf06c00740cc30000f000b29..."} 
[2026-09-07 13:52:57] local.INFO: Packet analysis {"connection_id":174788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:52:57] local.INFO: Extracted packet for processing {"connection_id":174788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":751765184,"raw_latitude":121687088,"longitude_deg":75.1765184,"latitude_deg":12.1687088,"altitude":15,"angle":11,"satellites":41,"speed":5,"hex_longitude":"2ccf06c0","hex_latitude":"0740cc30","is_valid_coordinates":true} 
[2026-09-07 13:52: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-07 13:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924928000001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401417393059921920,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3528992489358004224,"note":"Value kept but may cause issues"} 
[2026-09-07 13:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788769253000,"timestamp_ms":1788769253000,"timestamp_seconds":1788769253,"priority":1,"record_length":96,"hex_timestamp":"000001a07af4b688"} 
[2026-09-07 13:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:52: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 13:52: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-07 13:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:52:57] local.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-07 13:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924928000001,"66":27767,"28":206,"85":37632,"24":5,"16":401417393059921920,"44":-3528992489358004224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-09-07 13:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924928000001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 13:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401417393059921920,"km_value":401417393059921.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:52:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3528992489358004224,"description":"Unknown IO ID 44"} 
[2026-09-07 13:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924928000001,"power":27767,"unknown_28":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-3528992489358004224}} 
[2026-09-07 13:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":174788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:52:57] local.INFO: GPS data processed {"connection_id":174788,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:52:57] local.INFO: Acknowledgment sent {"connection_id":174788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:53:18] local.INFO: TCP Data received {"connection_id":176144,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af31878012d18138007219500004500c929..."} 
[2026-09-07 13:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af31878012d18138007219500004500c929..."} 
[2026-09-07 13:53:18] local.INFO: Processing buffer {"connection_id":176144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af31878012d18138007219500004500c929..."} 
[2026-09-07 13:53:18] local.INFO: Packet analysis {"connection_id":176144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:18] local.INFO: Extracted packet for processing {"connection_id":176144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756552576,"raw_latitude":119641344,"longitude_deg":75.6552576,"latitude_deg":11.9641344,"altitude":69,"angle":201,"satellites":41,"speed":5,"hex_longitude":"2d181380","hex_latitude":"07219500","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924901120001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406331455111168,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734941418328586240,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769147000,"timestamp_ms":1788769147000,"timestamp_seconds":1788769147,"priority":1,"record_length":96,"hex_timestamp":"000001a07af31878"} 
[2026-09-07 13: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-07 13:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 13:53:18] 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-07 13: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-07 13: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-07 13:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924901120001,"66":14374,"120":206,"28":31744,"24":5,"16":18406331455111168,"45":1734941418328586240},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924901120001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:53:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:53:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406331455111168,"km_value":18406331455111.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734941418328586240,"description":"Unknown IO ID 45"} 
[2026-09-07 13:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924901120001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1734941418328586240}} 
[2026-09-07 13:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":176144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:53:18] local.INFO: GPS data processed {"connection_id":176144,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:53:18] local.INFO: Acknowledgment sent {"connection_id":176144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:53:28] local.INFO: TCP Data received {"connection_id":174788,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af63558012cce73c0074270d8000501502c..."} 
[2026-09-07 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af63558012cce73c0074270d8000501502c..."} 
[2026-09-07 13:53:28] local.INFO: Processing buffer {"connection_id":174788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af63558012cce73c0074270d8000501502c..."} 
[2026-09-07 13:53:28] local.INFO: Packet analysis {"connection_id":174788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:53:28] local.INFO: Extracted packet for processing {"connection_id":174788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":751727552,"raw_latitude":121794776,"longitude_deg":75.1727552,"latitude_deg":12.1794776,"altitude":5,"angle":336,"satellites":44,"speed":51,"hex_longitude":"2cce73c0","hex_latitude":"074270d8","is_valid_coordinates":true} 
[2026-09-07 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924952064001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401422916387864576,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3566569398723438592,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788769351000,"timestamp_ms":1788769351000,"timestamp_seconds":1788769351,"priority":1,"record_length":96,"hex_timestamp":"000001a07af63558"} 
[2026-09-07 13:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:53:28] 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-07 13:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:53:28] local.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-07 13:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924952064001,"66":27908,"29":206,"85":37632,"24":51,"16":401422916387864576,"44":-3566569398723438592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-07 13:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924952064001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401422916387864576,"km_value":401422916387864.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3566569398723438592,"description":"Unknown IO ID 44"} 
[2026-09-07 13:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924952064001,"power":27908,"unknown_29":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3566569398723438592}} 
[2026-09-07 13:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":174788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:53:28] local.INFO: GPS data processed {"connection_id":174788,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:53:28] local.INFO: Acknowledgment sent {"connection_id":174788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:53:45] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:45] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:45] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:53:45] local.INFO: TCP Data received {"connection_id":173668,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:45] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:45] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:53:50] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:50] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:53:50] local.INFO: IMEI packet received {"connection_id":173669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":173669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:53:50] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af650b0012cce6540074291700006014d29..."} 
[2026-09-07 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af650b0012cce6540074291700006014d29..."} 
[2026-09-07 13:53:50] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af650b0012cce6540074291700006014d29..."} 
[2026-09-07 13:53:50] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:53:50] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":751723840,"raw_latitude":121803120,"longitude_deg":75.172384,"latitude_deg":12.180312,"altitude":6,"angle":333,"satellites":41,"speed":50,"hex_longitude":"2cce6540","hex_latitude":"07429170","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924953856001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401423358769496064,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3570298942162675712,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788769358000,"timestamp_ms":1788769358000,"timestamp_seconds":1788769358,"priority":1,"record_length":96,"hex_timestamp":"000001a07af650b0"} 
[2026-09-07 13: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-07 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 13:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:53: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-07 13:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924953856001,"66":27876,"143":206,"85":37632,"24":50,"16":401423358769496064,"44":-3570298942162675712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924953856001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:53:50] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401423358769496064,"km_value":401423358769496.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3570298942162675712,"description":"Unknown IO ID 44"} 
[2026-09-07 13:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924953856001,"power":27876,"unknown_143":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3570298942162675712}} 
[2026-09-07 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:53:51] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:53:51] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:53:51] local.INFO: TCP Data received {"connection_id":173668,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:51] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:53:51] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:53:52] local.INFO: TCP Data received {"connection_id":173668,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af36a80012d18134007219420004500c926..."} 
[2026-09-07 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af36a80012d18134007219420004500c926..."} 
[2026-09-07 13:53:52] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af36a80012d18134007219420004500c926..."} 
[2026-09-07 13:53:52] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:52] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924901632001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734871049584312320,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788769168000,"timestamp_ms":1788769168000,"timestamp_seconds":1788769168,"priority":1,"record_length":96,"hex_timestamp":"000001a07af36a80"} 
[2026-09-07 13: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-07 13: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-07 13:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 13:53: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-07 13: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-07 13: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-07 13:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924901632001,"66":13167,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734871049584312320},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924901632001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:53:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734871049584312320,"description":"Unknown IO ID 45"} 
[2026-09-07 13:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924901632001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734871049584312320}} 
[2026-09-07 13:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:53:52] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:53:52] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:53:56] local.INFO: TCP Data received {"connection_id":173668,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af3bc88012d18134007219420004500c929..."} 
[2026-09-07 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af3bc88012d18134007219420004500c929..."} 
[2026-09-07 13:53:56] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af3bc88012d18134007219420004500c929..."} 
[2026-09-07 13:53:56] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:56] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af3"} 
[2026-09-07 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 13:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924907008001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788769189000,"timestamp_ms":1788769189000,"timestamp_seconds":1788769189,"priority":1,"record_length":96,"hex_timestamp":"000001a07af3bc88"} 
[2026-09-07 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-07 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 13:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924907008001,"66":13015,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924907008001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:53:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924907008001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:53:56] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:53:56] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:54:06] local.INFO: TCP Data received {"connection_id":173433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:06] local.INFO: Processing buffer {"connection_id":173433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:06] local.INFO: IMEI packet received {"connection_id":173433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":173433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:54:22] local.INFO: TCP Data received {"connection_id":173669,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af66ff0012cce55800742b5a8000801532c..."} 
[2026-09-07 13:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af66ff0012cce55800742b5a8000801532c..."} 
[2026-09-07 13:54:22] local.INFO: Processing buffer {"connection_id":173669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af66ff0012cce55800742b5a8000801532c..."} 
[2026-09-07 13:54:22] local.INFO: Packet analysis {"connection_id":173669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:54:22] local.INFO: Extracted packet for processing {"connection_id":173669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":751719808,"raw_latitude":121812392,"longitude_deg":75.1719808,"latitude_deg":12.1812392,"altitude":8,"angle":339,"satellites":44,"speed":49,"hex_longitude":"2cce5580","hex_latitude":"0742b5a8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924955648001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401423848395767808,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3574380329322844160,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788769366000,"timestamp_ms":1788769366000,"timestamp_seconds":1788769366,"priority":1,"record_length":96,"hex_timestamp":"000001a07af66ff0"} 
[2026-09-07 13: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-07 13:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:54: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-07 13:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13: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-07 13:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:54: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-07 13:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924955648001,"66":27821,"143":206,"85":37632,"24":49,"16":401423848395767808,"44":-3574380329322844160},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924955648001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:54:22] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401423848395767808,"km_value":401423848395767.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3574380329322844160,"description":"Unknown IO ID 44"} 
[2026-09-07 13:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924955648001,"power":27821,"unknown_143":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-3574380329322844160}} 
[2026-09-07 13:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":173669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:54:22] local.INFO: GPS data processed {"connection_id":173669,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:54:22] local.INFO: Acknowledgment sent {"connection_id":173669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:54:40] local.INFO: TCP Data received {"connection_id":176145,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:40] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:40] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:54:41] local.INFO: TCP Data received {"connection_id":176145,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:41] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:41] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:54:45] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:45] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:45] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:54:45] local.INFO: TCP Data received {"connection_id":176145,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:45] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:54:45] local.INFO: IMEI packet received {"connection_id":176145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":176145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:54:46] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:46] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:46] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:54:46] local.INFO: TCP Data received {"connection_id":176145,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af40e90012d18134007219420004500c927..."} 
[2026-09-07 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af40e90012d18134007219420004500c927..."} 
[2026-09-07 13:54:46] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af40e90012d18134007219420004500c927..."} 
[2026-09-07 13:54:46] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:54:46] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924912384001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769210000,"timestamp_ms":1788769210000,"timestamp_seconds":1788769210,"priority":1,"record_length":96,"hex_timestamp":"000001a07af40e90"} 
[2026-09-07 13: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-07 13:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 13:54:46] 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-07 13: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-07 13: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-07 13:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924912384001,"66":13004,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924912384001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:54:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924912384001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:54:46] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:54:46] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:54:48] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:48] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:54:48] local.INFO: IMEI packet received {"connection_id":173434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:54:49] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af68f30012cce49400742d8e8000901532b..."} 
[2026-09-07 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af68f30012cce49400742d8e8000901532b..."} 
[2026-09-07 13:54:49] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af68f30012cce49400742d8e8000901532b..."} 
[2026-09-07 13:54:49] local.INFO: Packet analysis {"connection_id":173434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:54:49] local.INFO: Extracted packet for processing {"connection_id":173434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af6"} 
[2026-09-07 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":751716672,"raw_latitude":121821416,"longitude_deg":75.1716672,"latitude_deg":12.1821416,"altitude":9,"angle":339,"satellites":43,"speed":47,"hex_longitude":"2cce4940","hex_latitude":"0742d8e8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924957696001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401424307957268480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3578813560203663360,"note":"Value kept but may cause issues"} 
[2026-09-07 13:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788769374000,"timestamp_ms":1788769374000,"timestamp_seconds":1788769374,"priority":1,"record_length":96,"hex_timestamp":"000001a07af68f30"} 
[2026-09-07 13: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-07 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:54:49] 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-07 13: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-07 13: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-07 13:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924957696001,"66":27843,"143":206,"85":37632,"24":47,"16":401424307957268480,"44":-3578813560203663360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924957696001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:54:49] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:54:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401424307957268480,"km_value":401424307957268.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:54:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3578813560203663360,"description":"Unknown IO ID 44"} 
[2026-09-07 13:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924957696001,"power":27843,"unknown_143":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3578813560203663360}} 
[2026-09-07 13:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":173434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:54:49] local.INFO: GPS data processed {"connection_id":173434,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:54:49] local.INFO: Acknowledgment sent {"connection_id":173434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:54:52] local.INFO: TCP Data received {"connection_id":173435,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:52] local.INFO: Processing buffer {"connection_id":173435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 13:54:52] local.INFO: IMEI packet received {"connection_id":173435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":173435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:55:18] local.INFO: TCP Data received {"connection_id":176145,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af46098012d18134007219420004500c928..."} 
[2026-09-07 13:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af46098012d18134007219420004500c928..."} 
[2026-09-07 13:55:18] local.INFO: Processing buffer {"connection_id":176145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af46098012d18134007219420004500c928..."} 
[2026-09-07 13:55:18] local.INFO: Packet analysis {"connection_id":176145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:55:18] local.INFO: Extracted packet for processing {"connection_id":176145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af4"} 
[2026-09-07 13:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924917760001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769231000,"timestamp_ms":1788769231000,"timestamp_seconds":1788769231,"priority":1,"record_length":96,"hex_timestamp":"000001a07af46098"} 
[2026-09-07 13:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 13:55:18] 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-07 13:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924917760001,"66":12950,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924917760001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:55:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:55:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924917760001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":176145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:55:18] local.INFO: GPS data processed {"connection_id":176145,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:55:18] local.INFO: Acknowledgment sent {"connection_id":176145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:55:20] local.INFO: TCP Data received {"connection_id":173434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af82d40012ccde2c007442948001001422d..."} 
[2026-09-07 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af82d40012ccde2c007442948001001422d..."} 
[2026-09-07 13:55:20] local.INFO: Processing buffer {"connection_id":173434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af82d40012ccde2c007442948001001422d..."} 
[2026-09-07 13:55:20] local.INFO: Packet analysis {"connection_id":173434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:20] local.INFO: Extracted packet for processing {"connection_id":173434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":751690432,"raw_latitude":121907528,"longitude_deg":75.1690432,"latitude_deg":12.1907528,"altitude":16,"angle":322,"satellites":45,"speed":16,"hex_longitude":"2ccde2c0","hex_latitude":"07442948","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924986624001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401428706003779584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3610831338780235776,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788769480000,"timestamp_ms":1788769480000,"timestamp_seconds":1788769480,"priority":1,"record_length":96,"hex_timestamp":"000001a07af82d40"} 
[2026-09-07 13: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-07 13:55: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-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924986624001,"66":27919,"143":206,"85":37632,"24":16,"16":401428706003779584,"44":-3610831338780235776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924986624001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:55:20] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401428706003779584,"km_value":401428706003779.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3610831338780235776,"description":"Unknown IO ID 44"} 
[2026-09-07 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924986624001,"power":27919,"unknown_143":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-3610831338780235776}} 
[2026-09-07 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":173434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:55:20] local.INFO: GPS data processed {"connection_id":173434,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:55:20] local.INFO: Acknowledgment sent {"connection_id":173434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:55:41] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:41] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:41] local.INFO: IMEI packet received {"connection_id":174789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":174789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:55:42] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:42] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:42] local.INFO: IMEI packet received {"connection_id":174789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":174789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:55:45] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:55:45] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:45] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:55:46] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:46] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:55:46] local.INFO: IMEI packet received {"connection_id":174789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":174789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:55:47] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af7e6f0012d18134007219420004500c92a..."} 
[2026-09-07 13:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af7e6f0012d18134007219420004500c92a..."} 
[2026-09-07 13:55:47] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af7e6f0012d18134007219420004500c92a..."} 
[2026-09-07 13:55:47] local.INFO: Packet analysis {"connection_id":174789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af7"} 
[2026-09-07 13:55:47] local.INFO: Extracted packet for processing {"connection_id":174789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af7"} 
[2026-09-07 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924976896001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769462000,"timestamp_ms":1788769462000,"timestamp_seconds":1788769462,"priority":1,"record_length":96,"hex_timestamp":"000001a07af7e6f0"} 
[2026-09-07 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-07 13:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249368296866288672,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4132227073,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2485125189,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718695,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,100,160,66,45,64,148,69,43,10,240,44,1,250,122,33,4,113,205,19,32,42,239,49,2,65,7,231,78,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 13:55:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972195166547869696,"timestamp_seconds":4972195166547870.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 13:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924976896001,"66":12504,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924976896001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:55:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924976896001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":174789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:55:47] local.INFO: GPS data processed {"connection_id":174789,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:55:47] local.INFO: Acknowledgment sent {"connection_id":174789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:55:49] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:49] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:55:49] local.INFO: IMEI packet received {"connection_id":176146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":176146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:55:50] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af83128012ccde18007442a480010012e2d..."} 
[2026-09-07 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af83128012ccde18007442a480010012e2d..."} 
[2026-09-07 13:55:50] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af83128012ccde18007442a480010012e2d..."} 
[2026-09-07 13:55:50] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:50] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":751690112,"raw_latitude":121907784,"longitude_deg":75.1690112,"latitude_deg":12.1907784,"altitude":16,"angle":302,"satellites":45,"speed":16,"hex_longitude":"2ccde180","hex_latitude":"07442a48","is_valid_coordinates":true} 
[2026-09-07 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924986880001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401428723183648768,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3611112813756856320,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788769481000,"timestamp_ms":1788769481000,"timestamp_seconds":1788769481,"priority":1,"record_length":96,"hex_timestamp":"000001a07af83128"} 
[2026-09-07 13:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:55: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-07 13:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924986880001,"66":27919,"143":206,"85":37632,"24":16,"16":401428723183648768,"44":-3611112813756856320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924986880001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:55:50] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401428723183648768,"km_value":401428723183648.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3611112813756856320,"description":"Unknown IO ID 44"} 
[2026-09-07 13:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924986880001,"power":27919,"unknown_143":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-3611112813756856320}} 
[2026-09-07 13:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:55:50] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:55:50] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:55:52] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af838f8012d18134007219420004500c928..."} 
[2026-09-07 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af838f8012d18134007219420004500c928..."} 
[2026-09-07 13:55:52] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af838f8012d18134007219420004500c928..."} 
[2026-09-07 13:55:52] local.INFO: Packet analysis {"connection_id":174789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:52] local.INFO: Extracted packet for processing {"connection_id":174789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924982272001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788769483000,"timestamp_ms":1788769483000,"timestamp_seconds":1788769483,"priority":1,"record_length":96,"hex_timestamp":"000001a07af838f8"} 
[2026-09-07 13: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-07 13: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-07 13: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-07 13: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-07 13: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-07 13: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-07 13:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924982272001,"66":12526,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924982272001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:55:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:55:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924982272001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":174789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:55:52] local.INFO: GPS data processed {"connection_id":174789,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:55:52] local.INFO: Acknowledgment sent {"connection_id":174789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:56:24] local.INFO: TCP Data received {"connection_id":174789,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af88b00012d18134007219420004500c929..."} 
[2026-09-07 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af88b00012d18134007219420004500c929..."} 
[2026-09-07 13:56:24] local.INFO: Processing buffer {"connection_id":174789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af88b00012d18134007219420004500c929..."} 
[2026-09-07 13:56:24] local.INFO: Packet analysis {"connection_id":174789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:24] local.INFO: Extracted packet for processing {"connection_id":174789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924987648001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788769504000,"timestamp_ms":1788769504000,"timestamp_seconds":1788769504,"priority":1,"record_length":96,"hex_timestamp":"000001a07af88b00"} 
[2026-09-07 13: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-07 13:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":238,"data_length":795,"current_offset":136} 
[2026-09-07 13:56: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-07 13: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-07 13: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-07 13:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924987648001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924987648001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:56:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:56:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924987648001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":174789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:56:24] local.INFO: GPS data processed {"connection_id":174789,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:56:24] local.INFO: Acknowledgment sent {"connection_id":174789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:56:27] local.INFO: TCP Data received {"connection_id":176146,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af83510012ccde00007442ab80010011a2e..."} 
[2026-09-07 13:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af83510012ccde00007442ab80010011a2e..."} 
[2026-09-07 13:56:27] local.INFO: Processing buffer {"connection_id":176146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af83510012ccde00007442ab80010011a2e..."} 
[2026-09-07 13:56:27] local.INFO: Packet analysis {"connection_id":176146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:27] local.INFO: Extracted packet for processing {"connection_id":176146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:27] local.INFO: GPS Element Parsed {"raw_longitude":751689728,"raw_latitude":121907896,"longitude_deg":75.1689728,"latitude_deg":12.1907896,"altitude":16,"angle":282,"satellites":46,"speed":16,"hex_longitude":"2ccde000","hex_latitude":"07442ab8","is_valid_coordinates":true} 
[2026-09-07 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-07 13:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924987136001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401428744658485248,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3611464657477679104,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788769482000,"timestamp_ms":1788769482000,"timestamp_seconds":1788769482,"priority":1,"record_length":96,"hex_timestamp":"000001a07af83510"} 
[2026-09-07 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-07 13:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 13:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 13:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56:27] local.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-07 13:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924987136001,"66":27919,"143":206,"85":37632,"24":16,"16":401428744658485248,"44":-3611464657477679104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-09-07 13:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924987136001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:56:27] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 13:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401428744658485248,"km_value":401428744658485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:56:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3611464657477679104,"description":"Unknown IO ID 44"} 
[2026-09-07 13:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924987136001,"power":27919,"unknown_143":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-3611464657477679104}} 
[2026-09-07 13:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":176146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:56:27] local.INFO: GPS data processed {"connection_id":176146,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:56:27] local.INFO: Acknowledgment sent {"connection_id":176146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:56:40] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:40] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:40] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:56:44] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:44] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:44] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:56:45] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:45] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:56:45] local.INFO: IMEI packet received {"connection_id":173436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:56:47] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af8dd08012d18134007219420004500c927..."} 
[2026-09-07 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af8dd08012d18134007219420004500c927..."} 
[2026-09-07 13:56:47] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af8dd08012d18134007219420004500c927..."} 
[2026-09-07 13:56:47] local.INFO: Packet analysis {"connection_id":173436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:47] local.INFO: Extracted packet for processing {"connection_id":173436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af8"} 
[2026-09-07 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924993024001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769525000,"timestamp_ms":1788769525000,"timestamp_seconds":1788769525,"priority":1,"record_length":96,"hex_timestamp":"000001a07af8dd08"} 
[2026-09-07 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-07 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:56:47] 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-07 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-07 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-07 13:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924993024001,"66":12504,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924993024001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:56:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924993024001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":173436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:56:47] local.INFO: GPS data processed {"connection_id":173436,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:56:47] local.INFO: Acknowledgment sent {"connection_id":173436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:56:48] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:48] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:48] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:56:49] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:49] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:56:49] local.INFO: IMEI packet received {"connection_id":174790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:56:50] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af94298012ccd638007449290001401512b..."} 
[2026-09-07 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af94298012ccd638007449290001401512b..."} 
[2026-09-07 13:56:50] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af94298012ccd638007449290001401512b..."} 
[2026-09-07 13:56:50] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:56:50] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:56:50] local.INFO: GPS Element Parsed {"raw_longitude":751657856,"raw_latitude":121934480,"longitude_deg":75.1657856,"latitude_deg":12.193448,"altitude":20,"angle":337,"satellites":43,"speed":24,"hex_longitude":"2ccd6380","hex_latitude":"07449290","is_valid_coordinates":true} 
[2026-09-07 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925004544001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401430990926381056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646578660815775744,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788769551000,"timestamp_ms":1788769551000,"timestamp_seconds":1788769551,"priority":1,"record_length":96,"hex_timestamp":"000001a07af94298"} 
[2026-09-07 13:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 13:56:50] 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-07 13:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56: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-07 13:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925004544001,"66":27876,"237":206,"85":37632,"24":24,"16":401430990926381056,"44":-3646578660815775744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-07 13:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925004544001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:56:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-07 13:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401430990926381056,"km_value":401430990926381.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646578660815775744,"description":"Unknown IO ID 44"} 
[2026-09-07 13:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925004544001,"power":27876,"unknown_237":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3646578660815775744}} 
[2026-09-07 13:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:56:50] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:56:50] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:56:55] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af969a8012ccd55400744ad20001801462a..."} 
[2026-09-07 13:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af969a8012ccd55400744ad20001801462a..."} 
[2026-09-07 13:56:55] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af969a8012ccd55400744ad20001801462a..."} 
[2026-09-07 13:56:55] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:56:55] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:56:55] local.INFO: GPS Element Parsed {"raw_longitude":751654208,"raw_latitude":121941280,"longitude_deg":75.1654208,"latitude_deg":12.194128,"altitude":24,"angle":326,"satellites":42,"speed":36,"hex_longitude":"2ccd5540","hex_latitude":"0744ad20","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925005056001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401431364588535808,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646930504536387584,"note":"Value kept but may cause issues"} 
[2026-09-07 13:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788769561000,"timestamp_ms":1788769561000,"timestamp_seconds":1788769561,"priority":1,"record_length":96,"hex_timestamp":"000001a07af969a8"} 
[2026-09-07 13: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-07 13:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 13:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:56:55] local.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-07 13:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925005056001,"66":27865,"237":206,"85":37632,"24":36,"16":401431364588535808,"44":-3646930504536387584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-07 13:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925005056001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:56:55] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-07 13:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401431364588535808,"km_value":401431364588535.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646930504536387584,"description":"Unknown IO ID 44"} 
[2026-09-07 13:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925005056001,"power":27865,"unknown_237":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3646930504536387584}} 
[2026-09-07 13:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:56:55] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:56:55] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:57:18] local.INFO: TCP Data received {"connection_id":173436,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af92f10012d18134007219420004500c929..."} 
[2026-09-07 13:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af92f10012d18134007219420004500c929..."} 
[2026-09-07 13:57:18] local.INFO: Processing buffer {"connection_id":173436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af92f10012d18134007219420004500c929..."} 
[2026-09-07 13:57:18] local.INFO: Packet analysis {"connection_id":173436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:18] local.INFO: Extracted packet for processing {"connection_id":173436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 13:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457924998400001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769546000,"timestamp_ms":1788769546000,"timestamp_seconds":1788769546,"priority":1,"record_length":96,"hex_timestamp":"000001a07af92f10"} 
[2026-09-07 13:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:57:18] 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-07 13:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 13:57:18] 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-07 13:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457924998400001,"66":12406,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457924998400001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:57:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457924998400001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":173436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:57:18] local.INFO: GPS data processed {"connection_id":173436,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:57:18] local.INFO: Acknowledgment sent {"connection_id":173436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:57:26] local.INFO: TCP Data received {"connection_id":174790,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07af98cd0012ccd41000744cb88001b014b28..."} 
[2026-09-07 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af98cd0012ccd41000744cb88001b014b28..."} 
[2026-09-07 13:57:26] local.INFO: Processing buffer {"connection_id":174790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af98cd0012ccd41000744cb88001b014b28..."} 
[2026-09-07 13:57:26] local.INFO: Packet analysis {"connection_id":174790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:26] local.INFO: Extracted packet for processing {"connection_id":174790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":751649024,"raw_latitude":121949064,"longitude_deg":75.1649024,"latitude_deg":12.1949064,"altitude":27,"angle":331,"satellites":40,"speed":42,"hex_longitude":"2ccd4100","hex_latitude":"0744cb88","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925007616001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401431815560101888,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3650941522952773632,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788769570000,"timestamp_ms":1788769570000,"timestamp_seconds":1788769570,"priority":1,"record_length":96,"hex_timestamp":"000001a07af98cd0"} 
[2026-09-07 13: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-07 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:57: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-07 13:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925007616001,"66":27930,"237":206,"85":37632,"24":42,"16":401431815560101888,"44":-3650941522952773632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-09-07 13:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925007616001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:57:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-09-07 13:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401431815560101888,"km_value":401431815560101.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3650941522952773632,"description":"Unknown IO ID 44"} 
[2026-09-07 13:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925007616001,"power":27930,"unknown_237":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3650941522952773632}} 
[2026-09-07 13:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":174790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:57:26] local.INFO: GPS data processed {"connection_id":174790,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:57:26] local.INFO: Acknowledgment sent {"connection_id":174790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:57:40] local.INFO: TCP Data received {"connection_id":173438,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:40] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:40] local.INFO: IMEI packet received {"connection_id":173438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:57:45] local.INFO: TCP Data received {"connection_id":173438,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:45] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:57:45] local.INFO: IMEI packet received {"connection_id":173438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:57:46] local.INFO: TCP Data received {"connection_id":173438,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af98118012d18134007219420004500c92b..."} 
[2026-09-07 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af98118012d18134007219420004500c92b..."} 
[2026-09-07 13:57:46] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af98118012d18134007219420004500c92b..."} 
[2026-09-07 13:57:46] local.INFO: Packet analysis {"connection_id":173438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:46] local.INFO: Extracted packet for processing {"connection_id":173438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925003776001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769567000,"timestamp_ms":1788769567000,"timestamp_seconds":1788769567,"priority":1,"record_length":96,"hex_timestamp":"000001a07af98118"} 
[2026-09-07 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-07 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 13:57:46] 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-07 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-07 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-07 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925003776001,"66":12439,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925003776001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:57:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925003776001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":173438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:57:46] local.INFO: GPS data processed {"connection_id":173438,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:57:46] local.INFO: Acknowledgment sent {"connection_id":173438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:58:18] local.INFO: TCP Data received {"connection_id":173438,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07af9d320012d18134007219420004500c92a..."} 
[2026-09-07 13:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07af9d320012d18134007219420004500c92a..."} 
[2026-09-07 13:58:18] local.INFO: Processing buffer {"connection_id":173438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07af9d320012d18134007219420004500c92a..."} 
[2026-09-07 13:58:18] local.INFO: Packet analysis {"connection_id":173438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:58:18] local.INFO: Extracted packet for processing {"connection_id":173438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07af9"} 
[2026-09-07 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925009152001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769588000,"timestamp_ms":1788769588000,"timestamp_seconds":1788769588,"priority":1,"record_length":96,"hex_timestamp":"000001a07af9d320"} 
[2026-09-07 13: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-07 13:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 13:58:18] 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-07 13: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-07 13: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-07 13:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925009152001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925009152001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:58:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:58:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925009152001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":173438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:58:18] local.INFO: GPS data processed {"connection_id":173438,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:58:18] local.INFO: Acknowledgment sent {"connection_id":173438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:58:20] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:20] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:20] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:58:23] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:23] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:23] local.INFO: IMEI packet received {"connection_id":176149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":176149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:58:24] local.INFO: TCP Data received {"connection_id":176149,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afacd20012cccc340074625e80017014c2e..."} 
[2026-09-07 13:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afacd20012cccc340074625e80017014c2e..."} 
[2026-09-07 13:58:24] local.INFO: Processing buffer {"connection_id":176149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afacd20012cccc340074625e80017014c2e..."} 
[2026-09-07 13:58:24] local.INFO: Packet analysis {"connection_id":176149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:24] local.INFO: Extracted packet for processing {"connection_id":176149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:24] local.INFO: GPS Element Parsed {"raw_longitude":751616832,"raw_latitude":122037736,"longitude_deg":75.1616832,"latitude_deg":12.2037736,"altitude":23,"angle":332,"satellites":46,"speed":56,"hex_longitude":"2cccc340","hex_latitude":"074625e8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925030912001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401436393995239424,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3692036869527836672,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788769652000,"timestamp_ms":1788769652000,"timestamp_seconds":1788769652,"priority":1,"record_length":96,"hex_timestamp":"000001a07afacd20"} 
[2026-09-07 13: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-07 13:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 13:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925030912001,"66":27571,"74":206,"85":37632,"24":56,"16":401436393995239424,"44":-3692036869527836672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 13:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925030912001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:58:24] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 13:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401436393995239424,"km_value":401436393995239.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3692036869527836672,"description":"Unknown IO ID 44"} 
[2026-09-07 13:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925030912001,"power":27571,"unknown_74":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3692036869527836672}} 
[2026-09-07 13:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":176149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:58:24] local.INFO: GPS data processed {"connection_id":176149,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:58:24] local.INFO: Acknowledgment sent {"connection_id":176149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:58:45] local.INFO: TCP Data received {"connection_id":176150,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:45] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:45] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:58:50] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:50] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:50] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:58:51] local.INFO: TCP Data received {"connection_id":176150,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:51] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:58:51] local.INFO: IMEI packet received {"connection_id":176150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":176150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:58:52] local.INFO: TCP Data received {"connection_id":176150,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afa2528012d18134007219420004500c92b..."} 
[2026-09-07 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afa2528012d18134007219420004500c92b..."} 
[2026-09-07 13:58:52] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afa2528012d18134007219420004500c92b..."} 
[2026-09-07 13:58:52] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:52] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925014528001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788769609000,"timestamp_ms":1788769609000,"timestamp_seconds":1788769609,"priority":1,"record_length":96,"hex_timestamp":"000001a07afa2528"} 
[2026-09-07 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-07 13:58: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-07 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":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:58: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-07 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-07 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-07 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925014528001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925014528001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:58:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925014528001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:58:52] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:58:52] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:58:55] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:55] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:58:55] local.INFO: IMEI packet received {"connection_id":176151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":176151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:58:55] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afae490012cccb10007464108001901412f..."} 
[2026-09-07 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afae490012cccb10007464108001901412f..."} 
[2026-09-07 13:58:55] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afae490012cccb10007464108001901412f..."} 
[2026-09-07 13:58:55] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:55] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:58:55] local.INFO: GPS Element Parsed {"raw_longitude":751612160,"raw_latitude":122044680,"longitude_deg":75.161216,"latitude_deg":12.204468,"altitude":25,"angle":321,"satellites":47,"speed":54,"hex_longitude":"2cccb100","hex_latitude":"07464108","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925030912001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401436793427197952,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3692036869527836672,"note":"Value kept but may cause issues"} 
[2026-09-07 13:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788769658000,"timestamp_ms":1788769658000,"timestamp_seconds":1788769658,"priority":1,"record_length":96,"hex_timestamp":"000001a07afae490"} 
[2026-09-07 13: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-07 13:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 13:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:58:55] local.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-07 13:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925030912001,"66":27865,"74":206,"85":37632,"24":54,"16":401436793427197952,"44":-3692036869527836672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 13:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925030912001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:58:55] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 13:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401436793427197952,"km_value":401436793427197.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3692036869527836672,"description":"Unknown IO ID 44"} 
[2026-09-07 13:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925030912001,"power":27865,"unknown_74":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3692036869527836672}} 
[2026-09-07 13:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:58:55] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:58:55] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:59:24] local.INFO: TCP Data received {"connection_id":176150,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afa7730012d18134007219420004500c92a..."} 
[2026-09-07 13:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afa7730012d18134007219420004500c92a..."} 
[2026-09-07 13:59:24] local.INFO: Processing buffer {"connection_id":176150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afa7730012d18134007219420004500c92a..."} 
[2026-09-07 13:59:24] local.INFO: Packet analysis {"connection_id":176150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:24] local.INFO: Extracted packet for processing {"connection_id":176150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925019904001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788769630000,"timestamp_ms":1788769630000,"timestamp_seconds":1788769630,"priority":1,"record_length":96,"hex_timestamp":"000001a07afa7730"} 
[2026-09-07 13: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-07 13:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:59: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-07 13: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-07 13: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-07 13:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925019904001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925019904001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:59:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925019904001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:59:24] local.INFO: GPS data processed {"connection_id":176150,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:59:24] local.INFO: Acknowledgment sent {"connection_id":176150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:59:26] local.INFO: TCP Data received {"connection_id":176151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afaffe8012ccc9a8007465e08001a01432c..."} 
[2026-09-07 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afaffe8012ccc9a8007465e08001a01432c..."} 
[2026-09-07 13:59:26] local.INFO: Processing buffer {"connection_id":176151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afaffe8012ccc9a8007465e08001a01432c..."} 
[2026-09-07 13:59:26] local.INFO: Packet analysis {"connection_id":176151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:26] local.INFO: Extracted packet for processing {"connection_id":176151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":751606400,"raw_latitude":122052104,"longitude_deg":75.16064,"latitude_deg":12.2052104,"altitude":26,"angle":323,"satellites":44,"speed":50,"hex_longitude":"2ccc9a80","hex_latitude":"07465e08","is_valid_coordinates":true} 
[2026-09-07 13:59: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-07 13:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925032448001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401437248693731328,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3697173787851028480,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788769665000,"timestamp_ms":1788769665000,"timestamp_seconds":1788769665,"priority":1,"record_length":96,"hex_timestamp":"000001a07afaffe8"} 
[2026-09-07 13:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 13:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13:59: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-07 13:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 13:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:59: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-07 13:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925032448001,"66":27832,"74":206,"85":37632,"24":50,"16":401437248693731328,"44":-3697173787851028480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 13:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925032448001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:59:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 13:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401437248693731328,"km_value":401437248693731.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3697173787851028480,"description":"Unknown IO ID 44"} 
[2026-09-07 13:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925032448001,"power":27832,"unknown_74":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3697173787851028480}} 
[2026-09-07 13:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":176151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:59:26] local.INFO: GPS data processed {"connection_id":176151,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:59:26] local.INFO: Acknowledgment sent {"connection_id":176151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:59:41] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:41] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:41] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 13:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:59:45] local.INFO: TCP Data received {"connection_id":173439,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: IMEI packet received {"connection_id":173439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 13:59:45] local.INFO: TCP Data received {"connection_id":173439,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:45] local.INFO: IMEI packet received {"connection_id":173439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:59:45] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:45] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 13:59:45] local.INFO: IMEI packet received {"connection_id":176152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 13:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:59:47] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afac938012d18134007219420004500c928..."} 
[2026-09-07 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afac938012d18134007219420004500c928..."} 
[2026-09-07 13:59:47] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afac938012d18134007219420004500c928..."} 
[2026-09-07 13:59:47] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:47] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afa"} 
[2026-09-07 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925025280001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769651000,"timestamp_ms":1788769651000,"timestamp_seconds":1788769651,"priority":1,"record_length":96,"hex_timestamp":"000001a07afac938"} 
[2026-09-07 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-07 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:59:47] 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-07 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-07 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-07 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925025280001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925025280001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:59:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:59:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925025280001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:59:47] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:59:47] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:59:48] local.INFO: TCP Data received {"connection_id":173439,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:48] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 13:59:48] local.INFO: IMEI packet received {"connection_id":173439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 13:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":173439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 13:59:49] local.INFO: TCP Data received {"connection_id":173439,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc24e0012ccc634007479bc80009014c2d..."} 
[2026-09-07 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc24e0012ccc634007479bc80009014c2d..."} 
[2026-09-07 13:59:49] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc24e0012ccc634007479bc80009014c2d..."} 
[2026-09-07 13:59:49] local.INFO: Packet analysis {"connection_id":173439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 13:59:49] local.INFO: Extracted packet for processing {"connection_id":173439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":751592256,"raw_latitude":122133448,"longitude_deg":75.1592256,"latitude_deg":12.2133448,"altitude":9,"angle":332,"satellites":45,"speed":22,"hex_longitude":"2ccc6340","hex_latitude":"07479bc8","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925051904001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401441285962989568,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3717791829873260544,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788769740000,"timestamp_ms":1788769740000,"timestamp_seconds":1788769740,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc24e0"} 
[2026-09-07 13: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-07 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 13:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 13: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-07 13: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-07 13:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 13:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 13:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 13:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925051904001,"66":27908,"2":206,"85":37632,"24":22,"16":401441285962989568,"44":-3717791829873260544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 13:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 13:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 13:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925051904001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 13:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401441285962989568,"km_value":401441285962989.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3717791829873260544,"description":"Unknown IO ID 44"} 
[2026-09-07 13:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925051904001,"power":27908,"power_alt":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-3717791829873260544}} 
[2026-09-07 13:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":173439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:59:49] local.INFO: GPS data processed {"connection_id":173439,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:59:49] local.INFO: Acknowledgment sent {"connection_id":173439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 13:59:51] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afb1b40012d18134007219420004500c92a..."} 
[2026-09-07 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afb1b40012d18134007219420004500c92a..."} 
[2026-09-07 13:59:51] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afb1b40012d18134007219420004500c92a..."} 
[2026-09-07 13:59:51] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 13:59:51] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 13: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-07 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925030656001,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788769672000,"timestamp_ms":1788769672000,"timestamp_seconds":1788769672,"priority":1,"record_length":96,"hex_timestamp":"000001a07afb1b40"} 
[2026-09-07 13: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-07 13:59:51] 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-07 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 13:59: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-07 13:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 13: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-07 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925030656001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925030656001,"description":"Unknown IO ID 0"} 
[2026-09-07 13:59:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 13:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 13:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925030656001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 13:59:51] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-07 13:59:51] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:00:17] local.INFO: TCP Data received {"connection_id":176153,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:17] local.INFO: Processing buffer {"connection_id":176153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:17] local.INFO: IMEI packet received {"connection_id":176153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":176153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:00:20] local.INFO: TCP Data received {"connection_id":173439,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc2cb0012ccc608007479f500008013b2d..."} 
[2026-09-07 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc2cb0012ccc608007479f500008013b2d..."} 
[2026-09-07 14:00:20] local.INFO: Processing buffer {"connection_id":173439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc2cb0012ccc608007479f500008013b2d..."} 
[2026-09-07 14:00:20] local.INFO: Packet analysis {"connection_id":173439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:00:20] local.INFO: Extracted packet for processing {"connection_id":173439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":751591552,"raw_latitude":122134352,"longitude_deg":75.1591552,"latitude_deg":12.2134352,"altitude":8,"angle":315,"satellites":45,"speed":21,"hex_longitude":"2ccc6080","hex_latitude":"07479f50","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925053440001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401441341797564416,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719058467267557376,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788769742000,"timestamp_ms":1788769742000,"timestamp_seconds":1788769742,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc2cb0"} 
[2026-09-07 14: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-07 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925053440001,"66":27865,"2":206,"85":37632,"24":21,"16":401441341797564416,"44":-3719058467267557376},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 14:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925053440001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401441341797564416,"km_value":401441341797564.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719058467267557376,"description":"Unknown IO ID 44"} 
[2026-09-07 14:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925053440001,"power":27865,"power_alt":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3719058467267557376}} 
[2026-09-07 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":173439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:00:20] local.INFO: GPS data processed {"connection_id":173439,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:00:20] local.INFO: Acknowledgment sent {"connection_id":173439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:00:22] local.INFO: TCP Data received {"connection_id":176152,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afb6d48012d18134007219420004500c92a..."} 
[2026-09-07 14:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afb6d48012d18134007219420004500c92a..."} 
[2026-09-07 14:00:22] local.INFO: Processing buffer {"connection_id":176152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afb6d48012d18134007219420004500c92a..."} 
[2026-09-07 14:00:22] local.INFO: Packet analysis {"connection_id":176152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 14:00:22] local.INFO: Extracted packet for processing {"connection_id":176152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925036032001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788769693000,"timestamp_ms":1788769693000,"timestamp_seconds":1788769693,"priority":1,"record_length":96,"hex_timestamp":"000001a07afb6d48"} 
[2026-09-07 14: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-07 14:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:00: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-07 14: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-07 14: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-07 14:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925036032001,"66":12428,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925036032001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:00:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925036032001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":176152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:00:23] local.INFO: GPS data processed {"connection_id":176152,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:00:23] local.INFO: Acknowledgment sent {"connection_id":176152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:00:40] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:40] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:40] local.INFO: IMEI packet received {"connection_id":173671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":173671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:00:44] local.INFO: TCP Data received {"connection_id":173440,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:44] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:44] local.INFO: IMEI packet received {"connection_id":173440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":173440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:00:45] local.INFO: TCP Data received {"connection_id":173440,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:45] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:45] local.INFO: IMEI packet received {"connection_id":173440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":173440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:00:46] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:46] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:00:46] local.INFO: IMEI packet received {"connection_id":173671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":173671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:00:47] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:47] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:00:47] local.INFO: IMEI packet received {"connection_id":173672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:00:47] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afbbf50012d18134007219420004500c92a..."} 
[2026-09-07 14:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afbbf50012d18134007219420004500c92a..."} 
[2026-09-07 14:00:47] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afbbf50012d18134007219420004500c92a..."} 
[2026-09-07 14:00:47] local.INFO: Packet analysis {"connection_id":173671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 14:00:47] local.INFO: Extracted packet for processing {"connection_id":173671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afb"} 
[2026-09-07 14:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 14:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925041408001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769714000,"timestamp_ms":1788769714000,"timestamp_seconds":1788769714,"priority":1,"record_length":96,"hex_timestamp":"000001a07afbbf50"} 
[2026-09-07 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-07 14:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:00:47] 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-07 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-07 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-07 14:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925041408001,"66":12428,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925041408001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:00:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925041408001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":173671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:00:47] local.INFO: GPS data processed {"connection_id":173671,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:00:47] local.INFO: Acknowledgment sent {"connection_id":173671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:00:50] local.INFO: TCP Data received {"connection_id":173440,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:50] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:00:50] local.INFO: IMEI packet received {"connection_id":173440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":173440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:00:51] local.INFO: TCP Data received {"connection_id":173440,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc3098012ccc5ec00747a0a00008012f2c..."} 
[2026-09-07 14:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc3098012ccc5ec00747a0a00008012f2c..."} 
[2026-09-07 14:00:51] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc3098012ccc5ec00747a0a00008012f2c..."} 
[2026-09-07 14:00:51] local.INFO: Packet analysis {"connection_id":173440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:00:51] local.INFO: Extracted packet for processing {"connection_id":173440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:00:51] local.INFO: GPS Element Parsed {"raw_longitude":751591104,"raw_latitude":122134688,"longitude_deg":75.1591104,"latitude_deg":12.2134688,"altitude":8,"angle":303,"satellites":44,"speed":21,"hex_longitude":"2ccc5ec0","hex_latitude":"0747a0a0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925053952001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401441367567368192,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3719832523453280256,"note":"Value kept but may cause issues"} 
[2026-09-07 14:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788769743000,"timestamp_ms":1788769743000,"timestamp_seconds":1788769743,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc3098"} 
[2026-09-07 14: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-07 14:00: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-07 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:00:51] local.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-07 14:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925053952001,"66":27865,"2":206,"85":37632,"24":21,"16":401441367567368192,"44":-3719832523453280256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 14:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925053952001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401441367567368192,"km_value":401441367567368.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3719832523453280256,"description":"Unknown IO ID 44"} 
[2026-09-07 14:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925053952001,"power":27865,"power_alt":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3719832523453280256}} 
[2026-09-07 14:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":173440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:00:51] local.INFO: GPS data processed {"connection_id":173440,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:00:51] local.INFO: Acknowledgment sent {"connection_id":173440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:01:19] local.INFO: TCP Data received {"connection_id":173671,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc1158012d18134007219420004500c92a..."} 
[2026-09-07 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc1158012d18134007219420004500c92a..."} 
[2026-09-07 14:01:19] local.INFO: Processing buffer {"connection_id":173671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc1158012d18134007219420004500c92a..."} 
[2026-09-07 14:01:19] local.INFO: Packet analysis {"connection_id":173671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:19] local.INFO: Extracted packet for processing {"connection_id":173671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925046784001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788769735000,"timestamp_ms":1788769735000,"timestamp_seconds":1788769735,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc1158"} 
[2026-09-07 14: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-07 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925046784001,"66":12428,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925046784001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:01:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925046784001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":173671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:01:19] local.INFO: GPS data processed {"connection_id":173671,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:01:19] local.INFO: Acknowledgment sent {"connection_id":173671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:01:38] local.INFO: TCP Data received {"connection_id":173440,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc4420012ccc58000747a5280008013f2e..."} 
[2026-09-07 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc4420012ccc58000747a5280008013f2e..."} 
[2026-09-07 14:01:38] local.INFO: Processing buffer {"connection_id":173440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc4420012ccc58000747a5280008013f2e..."} 
[2026-09-07 14:01:38] local.INFO: Packet analysis {"connection_id":173440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:38] local.INFO: Extracted packet for processing {"connection_id":173440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":751589376,"raw_latitude":122135848,"longitude_deg":75.1589376,"latitude_deg":12.2135848,"altitude":8,"angle":319,"satellites":46,"speed":12,"hex_longitude":"2ccc5800","hex_latitude":"0747a528","is_valid_coordinates":true} 
[2026-09-07 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925054208001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401441470646583296,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3720325104662437888,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788769748000,"timestamp_ms":1788769748000,"timestamp_seconds":1788769748,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc4420"} 
[2026-09-07 14:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925054208001,"66":27767,"2":206,"85":37632,"24":12,"16":401441470646583296,"44":-3720325104662437888},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925054208001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401441470646583296,"km_value":401441470646583.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:01:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3720325104662437888,"description":"Unknown IO ID 44"} 
[2026-09-07 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925054208001,"power":27767,"power_alt":206,"unknown_85":37632,"ignition":12,"odometer":null,"unknown_44":-3720325104662437888}} 
[2026-09-07 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":173440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:01:38] local.INFO: GPS data processed {"connection_id":173440,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:01:38] local.INFO: Acknowledgment sent {"connection_id":173440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:01:40] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:01:40] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:40] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:01:44] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:44] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:44] local.INFO: IMEI packet received {"connection_id":174792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:01:45] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:45] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:01:45] local.INFO: IMEI packet received {"connection_id":174791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":174791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:01:47] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:47] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:47] local.INFO: IMEI packet received {"connection_id":174792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":174792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:01:48] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afc6360012d18134007219420004500c92a..."} 
[2026-09-07 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afc6360012d18134007219420004500c92a..."} 
[2026-09-07 14:01:48] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afc6360012d18134007219420004500c92a..."} 
[2026-09-07 14:01:48] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:48] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925052160001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788769756000,"timestamp_ms":1788769756000,"timestamp_seconds":1788769756,"priority":1,"record_length":96,"hex_timestamp":"000001a07afc6360"} 
[2026-09-07 14: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-07 14:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:01:48] 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-07 14: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-07 14: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-07 14:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925052160001,"66":12004,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925052160001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:01:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925052160001,"power":12004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:01:48] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:01:48] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:01:50] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:50] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:01:50] local.INFO: IMEI packet received {"connection_id":174792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":174792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:01:51] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afdc2f0012ccc1d0007487fe8000700232f..."} 
[2026-09-07 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afdc2f0012ccc1d0007487fe8000700232f..."} 
[2026-09-07 14:01:51] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afdc2f0012ccc1d0007487fe8000700232f..."} 
[2026-09-07 14:01:51] local.INFO: Packet analysis {"connection_id":174792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:01:51] local.INFO: Extracted packet for processing {"connection_id":174792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:01:51] local.INFO: GPS Element Parsed {"raw_longitude":751574272,"raw_latitude":122191848,"longitude_deg":75.1574272,"latitude_deg":12.2191848,"altitude":7,"angle":35,"satellites":47,"speed":23,"hex_longitude":"2ccc1d00","hex_latitude":"07487fe8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925080320001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401444326799835136,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3739183928087552000,"note":"Value kept but may cause issues"} 
[2026-09-07 14:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788769846000,"timestamp_ms":1788769846000,"timestamp_seconds":1788769846,"priority":1,"record_length":96,"hex_timestamp":"000001a07afdc2f0"} 
[2026-09-07 14: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-07 14:01: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-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:01:51] local.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-07 14:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925080320001,"66":27876,"12":206,"85":37632,"24":23,"16":401444326799835136,"44":-3739183928087552000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,44]} 
[2026-09-07 14:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925080320001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:01:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 14:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401444326799835136,"km_value":401444326799835.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3739183928087552000,"description":"Unknown IO ID 44"} 
[2026-09-07 14:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925080320001,"power":27876,"unknown_12":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-3739183928087552000}} 
[2026-09-07 14:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":174792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:01:51] local.INFO: GPS data processed {"connection_id":174792,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:01:51] local.INFO: Acknowledgment sent {"connection_id":174792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:02:20] local.INFO: TCP Data received {"connection_id":174791,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afcb568012d18134007219420004500c92a..."} 
[2026-09-07 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afcb568012d18134007219420004500c92a..."} 
[2026-09-07 14:02:20] local.INFO: Processing buffer {"connection_id":174791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afcb568012d18134007219420004500c92a..."} 
[2026-09-07 14:02:20] local.INFO: Packet analysis {"connection_id":174791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:02:20] local.INFO: Extracted packet for processing {"connection_id":174791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afc"} 
[2026-09-07 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925057536001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788769777000,"timestamp_ms":1788769777000,"timestamp_seconds":1788769777,"priority":1,"record_length":96,"hex_timestamp":"000001a07afcb568"} 
[2026-09-07 14:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:02: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-07 14:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 14:02:20] 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-07 14:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925057536001,"66":12428,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925057536001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:02:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925057536001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":174791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:02:20] local.INFO: GPS data processed {"connection_id":174791,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:02:20] local.INFO: Acknowledgment sent {"connection_id":174791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:02:22] local.INFO: TCP Data received {"connection_id":174792,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afdcea8012ccc208007488610000700122f..."} 
[2026-09-07 14:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afdcea8012ccc208007488610000700122f..."} 
[2026-09-07 14:02:22] local.INFO: Processing buffer {"connection_id":174792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afdcea8012ccc208007488610000700122f..."} 
[2026-09-07 14:02:22] local.INFO: Packet analysis {"connection_id":174792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:22] local.INFO: Extracted packet for processing {"connection_id":174792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:22] local.INFO: GPS Element Parsed {"raw_longitude":751575168,"raw_latitude":122193424,"longitude_deg":75.1575168,"latitude_deg":12.2193424,"altitude":7,"angle":18,"satellites":47,"speed":26,"hex_longitude":"2ccc2080","hex_latitude":"07488610","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925080576001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401444416994148352,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3738832084366530560,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788769849000,"timestamp_ms":1788769849000,"timestamp_seconds":1788769849,"priority":1,"record_length":96,"hex_timestamp":"000001a07afdcea8"} 
[2026-09-07 14: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-07 14:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 14:02: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-07 14: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-07 14: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-07 14:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02: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-07 14:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925080576001,"66":27930,"167":206,"85":37632,"24":26,"16":401444416994148352,"44":-3738832084366530560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 14:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925080576001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:02:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 14:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401444416994148352,"km_value":401444416994148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3738832084366530560,"description":"Unknown IO ID 44"} 
[2026-09-07 14:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925080576001,"power":27930,"unknown_167":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3738832084366530560}} 
[2026-09-07 14:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":174792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:02:22] local.INFO: GPS data processed {"connection_id":174792,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:02:22] local.INFO: Acknowledgment sent {"connection_id":174792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:02:40] local.INFO: TCP Data received {"connection_id":174793,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:40] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:40] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:02:42] local.INFO: TCP Data received {"connection_id":174793,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:42] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:42] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:02:45] local.INFO: TCP Data received {"connection_id":174793,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:45] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:02:45] local.INFO: IMEI packet received {"connection_id":174793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":174793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:02:46] local.INFO: TCP Data received {"connection_id":174793,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afd0770012d18134007219420004500c92a..."} 
[2026-09-07 14:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afd0770012d18134007219420004500c92a..."} 
[2026-09-07 14:02:46] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afd0770012d18134007219420004500c92a..."} 
[2026-09-07 14:02:46] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:46] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 14:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925062912001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788769798000,"timestamp_ms":1788769798000,"timestamp_seconds":1788769798,"priority":1,"record_length":96,"hex_timestamp":"000001a07afd0770"} 
[2026-09-07 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-07 14:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925062912001,"66":12406,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925062912001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:02:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:02:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925062912001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:02:47] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:02:47] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:02:50] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:50] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:50] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:02:54] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:54] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:02:54] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:02:55] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afdf9a0012ccc2c000748a920000700122e..."} 
[2026-09-07 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afdf9a0012ccc2c000748a920000700122e..."} 
[2026-09-07 14:02:55] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afdf9a0012ccc2c000748a920000700122e..."} 
[2026-09-07 14:02:55] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:55] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":751578112,"raw_latitude":122202400,"longitude_deg":75.1578112,"latitude_deg":12.22024,"altitude":7,"angle":18,"satellites":46,"speed":40,"hex_longitude":"2ccc2c00","hex_latitude":"0748a920","is_valid_coordinates":true} 
[2026-09-07 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-07 14:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925081344001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401444872260681728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3737846921947639808,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788769860000,"timestamp_ms":1788769860000,"timestamp_seconds":1788769860,"priority":1,"record_length":96,"hex_timestamp":"000001a07afdf9a0"} 
[2026-09-07 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-07 14:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02:55] local.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-07 14:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925081344001,"66":27441,"167":206,"85":37632,"24":40,"16":401444872260681728,"44":-3737846921947639808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 14:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925081344001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:02:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 14:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401444872260681728,"km_value":401444872260681.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3737846921947639808,"description":"Unknown IO ID 44"} 
[2026-09-07 14:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925081344001,"power":27441,"unknown_167":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3737846921947639808}} 
[2026-09-07 14:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:02:55] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:02:55] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:02:56] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07afe1cc8012ccc36400748cde80008000a2c..."} 
[2026-09-07 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afe1cc8012ccc36400748cde80008000a2c..."} 
[2026-09-07 14:02:56] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afe1cc8012ccc36400748cde80008000a2c..."} 
[2026-09-07 14:02:56] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afe"} 
[2026-09-07 14:02:56] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afe"} 
[2026-09-07 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":751580736,"raw_latitude":122211816,"longitude_deg":75.1580736,"latitude_deg":12.2211816,"altitude":8,"angle":10,"satellites":44,"speed":44,"hex_longitude":"2ccc3640","hex_latitude":"0748cde8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925084160001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401445344707084288,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3734609959713169408,"note":"Value kept but may cause issues"} 
[2026-09-07 14:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788769869000,"timestamp_ms":1788769869000,"timestamp_seconds":1788769869,"priority":1,"record_length":96,"hex_timestamp":"000001a07afe1cc8"} 
[2026-09-07 14: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-07 14:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-07 14:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:02:56] local.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-07 14:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925084160001,"66":27615,"167":206,"85":37632,"24":44,"16":401445344707084288,"44":-3734609959713169408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 14:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925084160001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:02:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 14:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401445344707084288,"km_value":401445344707084.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3734609959713169408,"description":"Unknown IO ID 44"} 
[2026-09-07 14:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925084160001,"power":27615,"unknown_167":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3734609959713169408}} 
[2026-09-07 14:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:02:56] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:02:56] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:03:18] local.INFO: TCP Data received {"connection_id":174793,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afd5978012d18134007219420004500c927..."} 
[2026-09-07 14:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afd5978012d18134007219420004500c927..."} 
[2026-09-07 14:03:18] local.INFO: Processing buffer {"connection_id":174793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afd5978012d18134007219420004500c927..."} 
[2026-09-07 14:03:18] local.INFO: Packet analysis {"connection_id":174793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:03:18] local.INFO: Extracted packet for processing {"connection_id":174793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 14:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925068288001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788769819000,"timestamp_ms":1788769819000,"timestamp_seconds":1788769819,"priority":1,"record_length":96,"hex_timestamp":"000001a07afd5978"} 
[2026-09-07 14:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 14:03:18] 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-07 14:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925068288001,"66":12385,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925068288001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:03:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:03:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925068288001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":174793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:03:18] local.INFO: GPS data processed {"connection_id":174793,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:03:18] local.INFO: Acknowledgment sent {"connection_id":174793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:03:27] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07aff7488012ccb9540074a17a8000f015c2d..."} 
[2026-09-07 14:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aff7488012ccb9540074a17a8000f015c2d..."} 
[2026-09-07 14:03:27] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aff7488012ccb9540074a17a8000f015c2d..."} 
[2026-09-07 14:03:27] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:27] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":751539520,"raw_latitude":122296232,"longitude_deg":75.153952,"latitude_deg":12.2296232,"altitude":15,"angle":348,"satellites":45,"speed":44,"hex_longitude":"2ccb9540","hex_latitude":"074a17a8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925107968001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401450305394311168,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3775212725080784896,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788769957000,"timestamp_ms":1788769957000,"timestamp_seconds":1788769957,"priority":1,"record_length":96,"hex_timestamp":"000001a07aff7488"} 
[2026-09-07 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-07 14:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:03:27] 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-07 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-07 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-07 14:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03:27] local.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-07 14:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925107968001,"66":27984,"74":206,"85":37632,"24":44,"16":401450305394311168,"44":-3775212725080784896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 14:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925107968001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:03:27] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 14:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401450305394311168,"km_value":401450305394311.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3775212725080784896,"description":"Unknown IO ID 44"} 
[2026-09-07 14:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925107968001,"power":27984,"unknown_74":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3775212725080784896}} 
[2026-09-07 14:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:03:27] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:03:27] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:03:40] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:40] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:40] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:03:41] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:41] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:41] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:03:44] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:44] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:44] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:03:45] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:45] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:45] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:03:46] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:46] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:03:46] local.INFO: IMEI packet received {"connection_id":176155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":176155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:03:47] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afdab80012d18134007219420004500c92a..."} 
[2026-09-07 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afdab80012d18134007219420004500c92a..."} 
[2026-09-07 14:03:47] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afdab80012d18134007219420004500c92a..."} 
[2026-09-07 14:03:47] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:03:47] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07afd"} 
[2026-09-07 14:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119641120,"longitude_deg":75.6552512,"latitude_deg":11.964112,"altitude":69,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d181340","hex_latitude":"07219420","is_valid_coordinates":true} 
[2026-09-07 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-07 14:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925073664001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406344340013056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840077312,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788769840000,"timestamp_ms":1788769840000,"timestamp_seconds":1788769840,"priority":1,"record_length":96,"hex_timestamp":"000001a07afdab80"} 
[2026-09-07 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-07 14:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 14:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925073664001,"66":12461,"120":206,"28":31744,"24":0,"16":18406344340013056,"45":1734800680840077312},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925073664001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:03:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406344340013056,"km_value":18406344340013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840077312,"description":"Unknown IO ID 45"} 
[2026-09-07 14:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925073664001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1734800680840077312}} 
[2026-09-07 14:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:03:47] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:03:47] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:03:48] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:48] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:03:48] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:03:49] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07aff8040012ccb94c0074a2450000d00012c..."} 
[2026-09-07 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aff8040012ccb94c0074a2450000d00012c..."} 
[2026-09-07 14:03:49] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aff8040012ccb94c0074a2450000d00012c..."} 
[2026-09-07 14:03:49] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:49] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":751539392,"raw_latitude":122299472,"longitude_deg":75.1539392,"latitude_deg":12.2299472,"altitude":13,"angle":1,"satellites":44,"speed":41,"hex_longitude":"2ccb94c0","hex_latitude":"074a2450","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925108992001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401450464308101120,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777042312428279808,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788769960000,"timestamp_ms":1788769960000,"timestamp_seconds":1788769960,"priority":1,"record_length":96,"hex_timestamp":"000001a07aff8040"} 
[2026-09-07 14: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-07 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 14:03:49] 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-07 14: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-07 14: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-07 14:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925108992001,"66":27908,"74":206,"85":37632,"24":41,"16":401450464308101120,"44":-3777042312428279808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 14:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925108992001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:03:49] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 14:03:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401450464308101120,"km_value":401450464308101.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777042312428279808,"description":"Unknown IO ID 44"} 
[2026-09-07 14:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925108992001,"power":27908,"unknown_74":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3777042312428279808}} 
[2026-09-07 14:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:03:49] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:03:49] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:03:50] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07aff8fe0012ccb96c0074a33f8000b000e2c..."} 
[2026-09-07 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07aff8fe0012ccb96c0074a33f8000b000e2c..."} 
[2026-09-07 14:03:50] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07aff8fe0012ccb96c0074a33f8000b000e2c..."} 
[2026-09-07 14:03:50] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:50] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":751539904,"raw_latitude":122303480,"longitude_deg":75.1539904,"latitude_deg":12.230348,"altitude":11,"angle":14,"satellites":44,"speed":39,"hex_longitude":"2ccb96c0","hex_latitude":"074a33f8","is_valid_coordinates":true} 
[2026-09-07 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925109760001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401450661876596736,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777183049915805696,"note":"Value kept but may cause issues"} 
[2026-09-07 14:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788769964000,"timestamp_ms":1788769964000,"timestamp_seconds":1788769964,"priority":1,"record_length":96,"hex_timestamp":"000001a07aff8fe0"} 
[2026-09-07 14:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:03: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-07 14:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925109760001,"66":27919,"74":206,"85":37632,"24":39,"16":401450661876596736,"44":-3777183049915805696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 14:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925109760001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:03:50] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 14:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401450661876596736,"km_value":401450661876596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777183049915805696,"description":"Unknown IO ID 44"} 
[2026-09-07 14:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925109760001,"power":27919,"unknown_74":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3777183049915805696}} 
[2026-09-07 14:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:03:50] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:03:50] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:04:19] local.INFO: TCP Data received {"connection_id":176155,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07affb6f0012d1810c0072197900048001c2b..."} 
[2026-09-07 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07affb6f0012d1810c0072197900048001c2b..."} 
[2026-09-07 14:04:19] local.INFO: Processing buffer {"connection_id":176155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07affb6f0012d1810c0072197900048001c2b..."} 
[2026-09-07 14:04:19] local.INFO: Packet analysis {"connection_id":176155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:19] local.INFO: Extracted packet for processing {"connection_id":176155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756551872,"raw_latitude":119642000,"longitude_deg":75.6551872,"latitude_deg":11.9642,"altitude":72,"angle":28,"satellites":43,"speed":14,"hex_longitude":"2d1810c0","hex_latitude":"07219790","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925113088001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406413059489792,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624654264320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788769974000,"timestamp_ms":1788769974000,"timestamp_seconds":1788769974,"priority":1,"record_length":96,"hex_timestamp":"000001a07affb6f0"} 
[2026-09-07 14: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-07 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 14:04:19] 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-07 14: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-07 14: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-07 14:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925113088001,"66":13396,"120":206,"28":31744,"24":14,"16":18406413059489792,"45":1734026624654264320},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925113088001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:04:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406413059489792,"km_value":18406413059489.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624654264320,"description":"Unknown IO ID 45"} 
[2026-09-07 14:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925113088001,"power":13396,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1734026624654264320}} 
[2026-09-07 14:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":176155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:04:19] local.INFO: GPS data processed {"connection_id":176155,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:04:19] local.INFO: Acknowledgment sent {"connection_id":176155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:04:21] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07affb308012ccba380074a57c8000900112e..."} 
[2026-09-07 14:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07affb308012ccba380074a57c8000900112e..."} 
[2026-09-07 14:04:21] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07affb308012ccba380074a57c8000900112e..."} 
[2026-09-07 14:04:21] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:21] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":751543168,"raw_latitude":122312648,"longitude_deg":75.1543168,"latitude_deg":12.2312648,"altitude":9,"angle":17,"satellites":46,"speed":48,"hex_longitude":"2ccba380","hex_latitude":"074a57c8","is_valid_coordinates":true} 
[2026-09-07 14:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925110784001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401451134322999296,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776620099961358336,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788769973000,"timestamp_ms":1788769973000,"timestamp_seconds":1788769973,"priority":1,"record_length":96,"hex_timestamp":"000001a07affb308"} 
[2026-09-07 14:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:04: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-07 14:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925110784001,"66":27876,"74":206,"85":37632,"24":48,"16":401451134322999296,"44":-3776620099961358336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-09-07 14:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925110784001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:04:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 14:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401451134322999296,"km_value":401451134322999.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776620099961358336,"description":"Unknown IO ID 44"} 
[2026-09-07 14:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925110784001,"power":27876,"unknown_74":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3776620099961358336}} 
[2026-09-07 14:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:04:21] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:04:21] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:04:44] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:44] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:44] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:04:46] local.INFO: TCP Data received {"connection_id":173676,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:46] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:46] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:04:47] local.INFO: TCP Data received {"connection_id":173676,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:47] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:04:47] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:04:49] local.INFO: TCP Data received {"connection_id":173676,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07afff958012d1820c00721af38004800272b..."} 
[2026-09-07 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07afff958012d1820c00721af38004800272b..."} 
[2026-09-07 14:04:49] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07afff958012d1820c00721af38004800272b..."} 
[2026-09-07 14:04:49] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:49] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07aff"} 
[2026-09-07 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648056,"longitude_deg":75.6555968,"latitude_deg":11.9648056,"altitude":72,"angle":39,"satellites":43,"speed":13,"hex_longitude":"2d1820c0","hex_latitude":"0721af38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925113344001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406760951840768,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734096993398525952,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788769991000,"timestamp_ms":1788769991000,"timestamp_seconds":1788769991,"priority":1,"record_length":96,"hex_timestamp":"000001a07afff958"} 
[2026-09-07 14: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-07 14:04:49] 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-07 14: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 14:04:49] 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-07 14: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-07 14: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-07 14:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925113344001,"66":12841,"120":206,"28":31744,"24":13,"16":18406760951840768,"45":1734096993398525952},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925113344001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:04:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406760951840768,"km_value":18406760951840.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734096993398525952,"description":"Unknown IO ID 45"} 
[2026-09-07 14:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925113344001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1734096993398525952}} 
[2026-09-07 14:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:04:49] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:04:49] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:04:50] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:50] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:04:50] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:04:51] local.INFO: TCP Data received {"connection_id":173676,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0037d8012d181fc00721b020004900d22b..."} 
[2026-09-07 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0037d8012d181fc00721b020004900d22b..."} 
[2026-09-07 14:04:51] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0037d8012d181fc00721b020004900d22b..."} 
[2026-09-07 14:04:51] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:04:51] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648288,"longitude_deg":75.6555712,"latitude_deg":11.9648288,"altitude":73,"angle":210,"satellites":43,"speed":5,"hex_longitude":"2d181fc0","hex_latitude":"0721b020","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925117696001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406812491448320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027446784,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788770007000,"timestamp_ms":1788770007000,"timestamp_seconds":1788770007,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0037d8"} 
[2026-09-07 14: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-07 14:04:51] 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-07 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 14:04: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-07 14: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-07 14: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-07 14:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925117696001,"66":13276,"120":206,"28":31744,"24":5,"16":18406812491448320,"45":1738600593027446784},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925117696001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:04:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:04:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406812491448320,"km_value":18406812491448.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027446784,"description":"Unknown IO ID 45"} 
[2026-09-07 14:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925117696001,"power":13276,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1738600593027446784}} 
[2026-09-07 14:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:04:51] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:04:51] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:04:58] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b009d68012ccb3f40074aecd0000b01342f..."} 
[2026-09-07 14:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b009d68012ccb3f40074aecd0000b01342f..."} 
[2026-09-07 14:04:58] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b009d68012ccb3f40074aecd0000b01342f..."} 
[2026-09-07 14:04:58] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:04:58] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:04:58] local.INFO: GPS Element Parsed {"raw_longitude":751517504,"raw_latitude":122350800,"longitude_deg":75.1517504,"latitude_deg":12.23508,"altitude":11,"angle":308,"satellites":47,"speed":36,"hex_longitude":"2ccb3f40","hex_latitude":"074aecd0","is_valid_coordinates":true} 
[2026-09-07 14:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925126144001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401453711303376896,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3793578967297028096,"note":"Value kept but may cause issues"} 
[2026-09-07 14:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788770033000,"timestamp_ms":1788770033000,"timestamp_seconds":1788770033,"priority":1,"record_length":96,"hex_timestamp":"000001a07b009d68"} 
[2026-09-07 14:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 14:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:04:58] local.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-07 14:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925126144001,"66":27919,"103":206,"85":37632,"24":36,"16":401453711303376896,"44":-3793578967297028096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925126144001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:04:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401453711303376896,"km_value":401453711303376.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3793578967297028096,"description":"Unknown IO ID 44"} 
[2026-09-07 14:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925126144001,"power":27919,"unknown_103":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3793578967297028096}} 
[2026-09-07 14:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:04:58] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:04:58] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:23] local.INFO: TCP Data received {"connection_id":173676,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0089e0012d181f400721af78004900d22a..."} 
[2026-09-07 14:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0089e0012d181f400721af78004900d22a..."} 
[2026-09-07 14:05:23] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0089e0012d181f400721af78004900d22a..."} 
[2026-09-07 14:05:23] local.INFO: Packet analysis {"connection_id":173676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:23] local.INFO: Extracted packet for processing {"connection_id":173676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925121792001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050795520,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788770028000,"timestamp_ms":1788770028000,"timestamp_seconds":1788770028,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0089e0"} 
[2026-09-07 14: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-07 14:05: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-07 14: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 14:05: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-07 14: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-07 14: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-07 14:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925121792001,"66":13167,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738319118050795520},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925121792001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:05:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050795520,"description":"Unknown IO ID 45"} 
[2026-09-07 14:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925121792001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050795520}} 
[2026-09-07 14:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":173676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:05:23] local.INFO: GPS data processed {"connection_id":173676,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:05:23] local.INFO: Acknowledgment sent {"connection_id":173676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:29] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:29] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:29] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:29] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":751510336,"raw_latitude":122357728,"longitude_deg":75.1510336,"latitude_deg":12.2357728,"altitude":12,"angle":328,"satellites":47,"speed":40,"hex_longitude":"2ccb2340","hex_latitude":"074b07e0","is_valid_coordinates":true} 
[2026-09-07 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925128448001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401454192339714048,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3801249160411426816,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788770042000,"timestamp_ms":1788770042000,"timestamp_seconds":1788770042,"priority":1,"record_length":96,"hex_timestamp":"000001a07b00c090"} 
[2026-09-07 14:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925128448001,"66":27984,"103":206,"85":37632,"24":40,"16":401454192339714048,"44":-3801249160411426816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925128448001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401454192339714048,"km_value":401454192339714.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3801249160411426816,"description":"Unknown IO ID 44"} 
[2026-09-07 14:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925128448001,"power":27984,"unknown_103":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3801249160411426816}} 
[2026-09-07 14:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:05:29] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:05:29] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:41] local.INFO: TCP Data received {"connection_id":173679,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:41] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:41] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:05:45] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:05:45] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:05:45] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:05:45] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:05:45] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:05:45] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:05:46] local.INFO: TCP Data received {"connection_id":173679,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:46] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:05:46] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:05:47] local.INFO: TCP Data received {"connection_id":173679,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b00dbe8012d181f400721af78004900d229..."} 
[2026-09-07 14:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b00dbe8012d181f400721af78004900d229..."} 
[2026-09-07 14:05:47] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b00dbe8012d181f400721af78004900d229..."} 
[2026-09-07 14:05:47] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:47] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925127168001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770049000,"timestamp_ms":1788770049000,"timestamp_seconds":1788770049,"priority":1,"record_length":96,"hex_timestamp":"000001a07b00dbe8"} 
[2026-09-07 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-07 14:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 14:05:47] 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-07 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-07 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-07 14:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925127168001,"66":13102,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925127168001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:05:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925127168001,"power":13102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:05:47] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:05:47] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:50] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:05:50] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:05:50] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:05:50] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:50] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 14:05:50] local.INFO: IMEI packet received {"connection_id":174794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":174794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:05:51] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b00c860012ccb2040074b0f30000c01592e..."} 
[2026-09-07 14:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b00c860012ccb2040074b0f30000c01592e..."} 
[2026-09-07 14:05:51] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b00c090012ccb2340074b07e0000c01482f..."} 
[2026-09-07 14:05:51] local.INFO: Packet analysis {"connection_id":174794,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:51] local.INFO: Extracted packet for processing {"connection_id":174794,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":751510336,"raw_latitude":122357728,"longitude_deg":75.1510336,"latitude_deg":12.2357728,"altitude":12,"angle":328,"satellites":47,"speed":40,"hex_longitude":"2ccb2340","hex_latitude":"074b07e0","is_valid_coordinates":true} 
[2026-09-07 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925130752001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401454192339714048,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809130459757551616,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788770042000,"timestamp_ms":1788770042000,"timestamp_seconds":1788770042,"priority":1,"record_length":96,"hex_timestamp":"000001a07b00c090"} 
[2026-09-07 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 14:05:51] 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-07 14:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:51] local.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-07 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925130752001,"66":27984,"103":206,"85":37632,"24":40,"16":401454192339714048,"44":-3809130459757551616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925130752001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401454192339714048,"km_value":401454192339714.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809130459757551616,"description":"Unknown IO ID 44"} 
[2026-09-07 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925130752001,"power":27984,"unknown_103":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3809130459757551616}} 
[2026-09-07 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:05:51] local.INFO: GPS data processed {"connection_id":174794,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:05:51] local.INFO: Acknowledgment sent {"connection_id":174794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:51] local.INFO: Packet analysis {"connection_id":174794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:51] local.INFO: Extracted packet for processing {"connection_id":174794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b00"} 
[2026-09-07 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":751509568,"raw_latitude":122359600,"longitude_deg":75.1509568,"latitude_deg":12.23596,"altitude":12,"angle":345,"satellites":46,"speed":38,"hex_longitude":"2ccb2040","hex_latitude":"074b0f30","is_valid_coordinates":true} 
[2026-09-07 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925130752001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401454291123961856,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809130459757551616,"note":"Value kept but may cause issues"} 
[2026-09-07 14:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788770044000,"timestamp_ms":1788770044000,"timestamp_seconds":1788770044,"priority":1,"record_length":96,"hex_timestamp":"000001a07b00c860"} 
[2026-09-07 14:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 14:05:51] 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-07 14:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:05:51] local.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-07 14:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925130752001,"66":27865,"103":206,"85":37632,"24":38,"16":401454291123961856,"44":-3809130459757551616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925130752001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401454291123961856,"km_value":401454291123961.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809130459757551616,"description":"Unknown IO ID 44"} 
[2026-09-07 14:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925130752001,"power":27865,"unknown_103":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3809130459757551616}} 
[2026-09-07 14:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":174794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:05:51] local.INFO: GPS data processed {"connection_id":174794,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:05:51] local.INFO: Acknowledgment sent {"connection_id":174794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:05:52] local.INFO: TCP Data received {"connection_id":176157,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:05:52] local.INFO: Processing buffer {"connection_id":176157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:05:52] local.INFO: IMEI packet received {"connection_id":176157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":176157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:06:19] local.INFO: TCP Data received {"connection_id":173679,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b012df0012d181f400721af78004900d229..."} 
[2026-09-07 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b012df0012d181f400721af78004900d229..."} 
[2026-09-07 14:06:19] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b012df0012d181f400721af78004900d229..."} 
[2026-09-07 14:06:19] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:06:19] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925132544001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770070000,"timestamp_ms":1788770070000,"timestamp_seconds":1788770070,"priority":1,"record_length":96,"hex_timestamp":"000001a07b012df0"} 
[2026-09-07 14:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:06:19] 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-07 14:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 14:06:19] 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-07 14:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925132544001,"66":13091,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925132544001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:06:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925132544001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:06:19] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:06:19] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:06:24] local.INFO: TCP Data received {"connection_id":174794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b021468012cca9880074c16880010012331..."} 
[2026-09-07 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b021468012cca9880074c16880010012331..."} 
[2026-09-07 14:06:24] local.INFO: Processing buffer {"connection_id":174794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b021468012cca9880074c16880010012331..."} 
[2026-09-07 14:06:24] local.INFO: Packet analysis {"connection_id":174794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:06:24] local.INFO: Extracted packet for processing {"connection_id":174794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:06:24] local.INFO: GPS Element Parsed {"raw_longitude":751474816,"raw_latitude":122427016,"longitude_deg":75.1474816,"latitude_deg":12.2427016,"altitude":16,"angle":291,"satellites":49,"speed":44,"hex_longitude":"2cca9880","hex_latitude":"074c1688","is_valid_coordinates":true} 
[2026-09-07 14:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925152000001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401458079285116928,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3843822250619910144,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788770129000,"timestamp_ms":1788770129000,"timestamp_seconds":1788770129,"priority":1,"record_length":96,"hex_timestamp":"000001a07b021468"} 
[2026-09-07 14:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925152000001,"66":27919,"159":206,"85":37632,"24":44,"16":401458079285116928,"44":-3843822250619910144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 14:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925152000001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:06:24] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 14:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401458079285116928,"km_value":401458079285116.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3843822250619910144,"description":"Unknown IO ID 44"} 
[2026-09-07 14:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925152000001,"power":27919,"unknown_159":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3843822250619910144}} 
[2026-09-07 14:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":174794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:06:24] local.INFO: GPS data processed {"connection_id":174794,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:06:24] local.INFO: Acknowledgment sent {"connection_id":174794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:06:40] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:40] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:40] local.INFO: IMEI packet received {"connection_id":173441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":173441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:06:46] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:46] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:06:46] local.INFO: IMEI packet received {"connection_id":173441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:06:47] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b017ff8012d181f400721af78004900d22a..."} 
[2026-09-07 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b017ff8012d181f400721af78004900d22a..."} 
[2026-09-07 14:06:47] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b017ff8012d181f400721af78004900d22a..."} 
[2026-09-07 14:06:47] local.INFO: Packet analysis {"connection_id":173441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:06:47] local.INFO: Extracted packet for processing {"connection_id":173441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925137920001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770091000,"timestamp_ms":1788770091000,"timestamp_seconds":1788770091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b017ff8"} 
[2026-09-07 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-07 14:06:47] 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-07 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 14:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925137920001,"66":13059,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925137920001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:06:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925137920001,"power":13059,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":173441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:06:47] local.INFO: GPS data processed {"connection_id":173441,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:06:47] local.INFO: Acknowledgment sent {"connection_id":173441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:06:50] local.INFO: TCP Data received {"connection_id":173442,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:06:50] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:06:50] local.INFO: IMEI packet received {"connection_id":173442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":173442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:07:19] local.INFO: TCP Data received {"connection_id":173441,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b01d200012d181f400721af78004900d22a..."} 
[2026-09-07 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b01d200012d181f400721af78004900d22a..."} 
[2026-09-07 14:07:19] local.INFO: Processing buffer {"connection_id":173441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b01d200012d181f400721af78004900d22a..."} 
[2026-09-07 14:07:19] local.INFO: Packet analysis {"connection_id":173441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:07:19] local.INFO: Extracted packet for processing {"connection_id":173441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b01"} 
[2026-09-07 14:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925143296001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770112000,"timestamp_ms":1788770112000,"timestamp_seconds":1788770112,"priority":1,"record_length":96,"hex_timestamp":"000001a07b01d200"} 
[2026-09-07 14: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-07 14:07:19] 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-07 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168666783207,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":58015164105490446,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2954887241,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:07:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221692847,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,100,160,45,64,175,73,41,10,66,219,137,1,240,111,123,33,4,113,205,5,249,32,56,43,239,50,2,65,7,72,14],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:07:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260435442599198720,"timestamp_seconds":5260435442599199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925143296001,"66":13004,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925143296001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:07:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925143296001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":173441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:07:19] local.INFO: GPS data processed {"connection_id":173441,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:07:19] local.INFO: Acknowledgment sent {"connection_id":173441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:07:27] local.INFO: TCP Data received {"connection_id":173442,"ip":"42.106.6.29","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173442,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:07:27] local.INFO: Processing buffer {"connection_id":173442,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:07:27] local.INFO: IMEI packet received {"connection_id":173442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":173442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:07:40] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:40] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:40] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:07:46] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:46] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:07:46] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:07:47] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b022408012d181f400721af78004900d229..."} 
[2026-09-07 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b022408012d181f400721af78004900d229..."} 
[2026-09-07 14:07:47] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b022408012d181f400721af78004900d229..."} 
[2026-09-07 14:07:47] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:07:47] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925148672001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770133000,"timestamp_ms":1788770133000,"timestamp_seconds":1788770133,"priority":1,"record_length":96,"hex_timestamp":"000001a07b022408"} 
[2026-09-07 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-07 14:07:47] 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-07 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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 14:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925148672001,"66":13004,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925148672001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:07:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:07:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925148672001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:07:47] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:07:47] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:08:18] local.INFO: TCP Data received {"connection_id":173680,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b027610012d181f400721af78004900d22a..."} 
[2026-09-07 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b027610012d181f400721af78004900d22a..."} 
[2026-09-07 14:08:19] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b027610012d181f400721af78004900d22a..."} 
[2026-09-07 14:08:19] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:08:19] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925154048001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770154000,"timestamp_ms":1788770154000,"timestamp_seconds":1788770154,"priority":1,"record_length":96,"hex_timestamp":"000001a07b027610"} 
[2026-09-07 14: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-07 14:08:19] 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-07 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 14:08:19] 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-07 14: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-07 14: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-07 14:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925154048001,"66":12950,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925154048001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:08:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925154048001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:08:19] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:08:19] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:08:40] local.INFO: TCP Data received {"connection_id":176158,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:40] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:40] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:08:45] local.INFO: TCP Data received {"connection_id":176158,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:45] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:08:45] local.INFO: IMEI packet received {"connection_id":176158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":176158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:08:47] local.INFO: TCP Data received {"connection_id":176158,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b02c818012d181f400721af78004900d22b..."} 
[2026-09-07 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b02c818012d181f400721af78004900d22b..."} 
[2026-09-07 14:08:47] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b02c818012d181f400721af78004900d22b..."} 
[2026-09-07 14:08:47] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:08:47] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b02"} 
[2026-09-07 14:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925159424001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770175000,"timestamp_ms":1788770175000,"timestamp_seconds":1788770175,"priority":1,"record_length":96,"hex_timestamp":"000001a07b02c818"} 
[2026-09-07 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-07 14:08:47] 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-07 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 14:08:47] 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-07 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-07 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-07 14:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925159424001,"66":12950,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925159424001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:08:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925159424001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:08:47] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:08:47] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:09:18] local.INFO: TCP Data received {"connection_id":176158,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b031a20012d181f400721af78004900d228..."} 
[2026-09-07 14:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b031a20012d181f400721af78004900d228..."} 
[2026-09-07 14:09:18] local.INFO: Processing buffer {"connection_id":176158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b031a20012d181f400721af78004900d228..."} 
[2026-09-07 14:09:18] local.INFO: Packet analysis {"connection_id":176158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:18] local.INFO: Extracted packet for processing {"connection_id":176158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14:09: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-07 14:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925164800001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788770196000,"timestamp_ms":1788770196000,"timestamp_seconds":1788770196,"priority":1,"record_length":96,"hex_timestamp":"000001a07b031a20"} 
[2026-09-07 14:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:09:18] 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-07 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 14:09:18] 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-07 14:09: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-07 14:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925164800001,"66":12885,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925164800001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:09:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:09:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925164800001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":176158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:09:18] local.INFO: GPS data processed {"connection_id":176158,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:09:18] local.INFO: Acknowledgment sent {"connection_id":176158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:09:41] local.INFO: TCP Data received {"connection_id":176162,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:41] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:41] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:09:46] local.INFO: TCP Data received {"connection_id":176162,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:46] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:46] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:09:51] local.INFO: TCP Data received {"connection_id":176162,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:51] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:09:51] local.INFO: IMEI packet received {"connection_id":176162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":176162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:09:52] local.INFO: TCP Data received {"connection_id":176162,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b036c28012d181f400721af78004900d229..."} 
[2026-09-07 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b036c28012d181f400721af78004900d229..."} 
[2026-09-07 14:09:52] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b036c28012d181f400721af78004900d229..."} 
[2026-09-07 14:09:52] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:52] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925170176001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788770217000,"timestamp_ms":1788770217000,"timestamp_seconds":1788770217,"priority":1,"record_length":96,"hex_timestamp":"000001a07b036c28"} 
[2026-09-07 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-07 14:09: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-07 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 14:09: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-07 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-07 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-07 14:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925170176001,"66":12917,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925170176001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:09:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:09:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925170176001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:09:52] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:09:52] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:09:56] local.INFO: TCP Data received {"connection_id":176162,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b03be30012d181f400721af78004900d229..."} 
[2026-09-07 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b03be30012d181f400721af78004900d229..."} 
[2026-09-07 14:09:56] local.INFO: Processing buffer {"connection_id":176162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b03be30012d181f400721af78004900d229..."} 
[2026-09-07 14:09:56] local.INFO: Packet analysis {"connection_id":176162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:56] local.INFO: Extracted packet for processing {"connection_id":176162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b03"} 
[2026-09-07 14:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925175552001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788770238000,"timestamp_ms":1788770238000,"timestamp_seconds":1788770238,"priority":1,"record_length":96,"hex_timestamp":"000001a07b03be30"} 
[2026-09-07 14: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-07 14:09: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-07 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 14:09:56] 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-07 14: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-07 14: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-07 14:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925175552001,"66":12863,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925175552001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:09:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925175552001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":176162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:09:56] local.INFO: GPS data processed {"connection_id":176162,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:09:56] local.INFO: Acknowledgment sent {"connection_id":176162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:10:41] local.INFO: TCP Data received {"connection_id":173681,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:41] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:41] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:10:45] local.INFO: TCP Data received {"connection_id":173681,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:45] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:10:45] local.INFO: IMEI packet received {"connection_id":173681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:10:47] local.INFO: TCP Data received {"connection_id":173681,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b041038012d181f400721af78004900d229..."} 
[2026-09-07 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b041038012d181f400721af78004900d229..."} 
[2026-09-07 14:10:47] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b041038012d181f400721af78004900d229..."} 
[2026-09-07 14:10:47] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:10:47] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925180928001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770259000,"timestamp_ms":1788770259000,"timestamp_seconds":1788770259,"priority":1,"record_length":96,"hex_timestamp":"000001a07b041038"} 
[2026-09-07 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-07 14:10:47] 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-07 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 14:10:47] 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-07 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-07 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-07 14:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925180928001,"66":12863,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925180928001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:10:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925180928001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:10:47] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:10:47] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:11:19] local.INFO: TCP Data received {"connection_id":173681,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b046240012d181f400721af78004900d22a..."} 
[2026-09-07 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b046240012d181f400721af78004900d22a..."} 
[2026-09-07 14:11:19] local.INFO: Processing buffer {"connection_id":173681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b046240012d181f400721af78004900d22a..."} 
[2026-09-07 14:11:19] local.INFO: Packet analysis {"connection_id":173681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:11:19] local.INFO: Extracted packet for processing {"connection_id":173681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925186304001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770280000,"timestamp_ms":1788770280000,"timestamp_seconds":1788770280,"priority":1,"record_length":96,"hex_timestamp":"000001a07b046240"} 
[2026-09-07 14:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:11:19] 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-07 14:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 14:11:19] 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-07 14:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925186304001,"66":12819,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925186304001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:11:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925186304001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":173681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:11:19] local.INFO: GPS data processed {"connection_id":173681,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:11:19] local.INFO: Acknowledgment sent {"connection_id":173681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:11:27] local.INFO: TCP Data received {"connection_id":174796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:27] local.INFO: Processing buffer {"connection_id":174796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:27] local.INFO: IMEI packet received {"connection_id":174796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":174796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:11:40] local.INFO: TCP Data received {"connection_id":176164,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:40] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:40] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:11:45] local.INFO: TCP Data received {"connection_id":176164,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:45] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:11:45] local.INFO: IMEI packet received {"connection_id":176164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:11:47] local.INFO: TCP Data received {"connection_id":176165,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:47] local.INFO: Processing buffer {"connection_id":176165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:11:47] local.INFO: IMEI packet received {"connection_id":176165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":176165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:11:47] local.INFO: TCP Data received {"connection_id":176164,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b04b448012d181f400721af78004900d22b..."} 
[2026-09-07 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b04b448012d181f400721af78004900d22b..."} 
[2026-09-07 14:11:47] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b04b448012d181f400721af78004900d22b..."} 
[2026-09-07 14:11:47] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:11:47] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b04"} 
[2026-09-07 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925191680001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770301000,"timestamp_ms":1788770301000,"timestamp_seconds":1788770301,"priority":1,"record_length":96,"hex_timestamp":"000001a07b04b448"} 
[2026-09-07 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-07 14:11:47] 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-07 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":120,"raw_value":20548575947653120,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503880493236224,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":123,"raw_value":154257088381984576,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2943877193,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-09-07 14:11:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":402730264,"corrected_to":0} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427290666796110377,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195064320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:11:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,100,160,45,64,175,73,41,10,66,190,108,1,240,117,123,33,4,113,205,200,31,43,239,50,2,65,7,124,233,69],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0},{"io_id":200,"original":402730264,"validated":0}]} 
[2026-09-07 14:11:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260435442599198720,"timestamp_seconds":5260435442599199.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925191680001,"66":12819,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925191680001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:11:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925191680001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:11:47] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:11:47] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:12:19] local.INFO: TCP Data received {"connection_id":176164,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b050650012d181f400721af78004900d22a..."} 
[2026-09-07 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b050650012d181f400721af78004900d22a..."} 
[2026-09-07 14:12:19] local.INFO: Processing buffer {"connection_id":176164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b050650012d181f400721af78004900d22a..."} 
[2026-09-07 14:12:19] local.INFO: Packet analysis {"connection_id":176164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:12:19] local.INFO: Extracted packet for processing {"connection_id":176164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925197056001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770322000,"timestamp_ms":1788770322000,"timestamp_seconds":1788770322,"priority":1,"record_length":96,"hex_timestamp":"000001a07b050650"} 
[2026-09-07 14: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-07 14:12:19] 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-07 14: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":20548575930875904,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503880493236224,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":100,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":123,"raw_value":177346832565280576,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2943877193,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5692813816086462720,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182178170011904,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2427290666796110378,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84750490487169455,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,100,160,98,45,64,175,73,42,10,66,41,190,1,240,63,123,33,4,113,205,26,31,40,239,50,2,65,7,124,233,69,8],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-09-07 14:12:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260435446894166016,"timestamp_seconds":5260435446894166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925197056001,"66":12776,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925197056001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:12:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925197056001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":176164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:12:19] local.INFO: GPS data processed {"connection_id":176164,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:12:19] local.INFO: Acknowledgment sent {"connection_id":176164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:12:29] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:29] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:29] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:12:40] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:40] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:40] local.INFO: IMEI packet received {"connection_id":173446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":173446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:12:45] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:45] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:45] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:12:46] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:46] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:12:46] local.INFO: IMEI packet received {"connection_id":173446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":173446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:12:47] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b055858012d181f400721af78004900d22b..."} 
[2026-09-07 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b055858012d181f400721af78004900d22b..."} 
[2026-09-07 14:12:47] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b055858012d181f400721af78004900d22b..."} 
[2026-09-07 14:12:47] local.INFO: Packet analysis {"connection_id":173446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:12:47] local.INFO: Extracted packet for processing {"connection_id":173446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925202432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770343000,"timestamp_ms":1788770343000,"timestamp_seconds":1788770343,"priority":1,"record_length":96,"hex_timestamp":"000001a07b055858"} 
[2026-09-07 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-07 14:12:47] 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-07 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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 14:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925202432001,"66":12776,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925202432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:12:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925202432001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":173446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:12:47] local.INFO: GPS data processed {"connection_id":173446,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:12:47] local.INFO: Acknowledgment sent {"connection_id":173446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:12:49] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:49] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:12:49] local.INFO: IMEI packet received {"connection_id":174797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:12:50] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b077750012cc5fe00074e5c80000b014f30..."} 
[2026-09-07 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b077750012cc5fe00074e5c80000b014f30..."} 
[2026-09-07 14:12:50] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b077750012cc5fe00074e5c80000b014f30..."} 
[2026-09-07 14:12:50] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:12:50] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:12:50] local.INFO: GPS Element Parsed {"raw_longitude":751173120,"raw_latitude":122576000,"longitude_deg":75.117312,"latitude_deg":12.2576,"altitude":11,"angle":335,"satellites":48,"speed":55,"hex_longitude":"2cc5fe00","hex_latitude":"074e5c80","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925241600001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401475946349068288,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4175118298172065792,"note":"Value kept but may cause issues"} 
[2026-09-07 14:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788770482000,"timestamp_ms":1788770482000,"timestamp_seconds":1788770482,"priority":1,"record_length":96,"hex_timestamp":"000001a07b077750"} 
[2026-09-07 14: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-07 14:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:12: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-07 14:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925241600001,"66":27919,"121":206,"85":37632,"24":55,"16":401475946349068288,"44":-4175118298172065792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 14:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925241600001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:12:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401475946349068288,"km_value":401475946349068.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4175118298172065792,"description":"Unknown IO ID 44"} 
[2026-09-07 14:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925241600001,"power":27919,"unknown_121":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4175118298172065792}} 
[2026-09-07 14:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:12:50] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:12:50] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:13:19] local.INFO: TCP Data received {"connection_id":173446,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b05aa60012d181f400721af78004900d229..."} 
[2026-09-07 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b05aa60012d181f400721af78004900d229..."} 
[2026-09-07 14:13:19] local.INFO: Processing buffer {"connection_id":173446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b05aa60012d181f400721af78004900d229..."} 
[2026-09-07 14:13:19] local.INFO: Packet analysis {"connection_id":173446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:13:19] local.INFO: Extracted packet for processing {"connection_id":173446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925207808001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770364000,"timestamp_ms":1788770364000,"timestamp_seconds":1788770364,"priority":1,"record_length":96,"hex_timestamp":"000001a07b05aa60"} 
[2026-09-07 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:13:19] 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-07 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 14:13:19] 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-07 14:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925207808001,"66":12798,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925207808001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:13:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925207808001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":173446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:13:19] local.INFO: GPS data processed {"connection_id":173446,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:13:19] local.INFO: Acknowledgment sent {"connection_id":173446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:13:25] local.INFO: TCP Data received {"connection_id":174797,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0792a8012cc5ee80074e7d60000c014f31..."} 
[2026-09-07 14:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0792a8012cc5ee80074e7d60000c014f31..."} 
[2026-09-07 14:13:25] local.INFO: Processing buffer {"connection_id":174797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0792a8012cc5ee80074e7d60000c014f31..."} 
[2026-09-07 14:13:25] local.INFO: Packet analysis {"connection_id":174797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:13:25] local.INFO: Extracted packet for processing {"connection_id":174797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:13:25] local.INFO: GPS Element Parsed {"raw_longitude":751169152,"raw_latitude":122584416,"longitude_deg":75.1169152,"latitude_deg":12.2584416,"altitude":12,"angle":335,"satellites":49,"speed":52,"hex_longitude":"2cc5ee80","hex_latitude":"074e7d60","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925243392001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401476397320634368,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4179903372773785600,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788770489000,"timestamp_ms":1788770489000,"timestamp_seconds":1788770489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0792a8"} 
[2026-09-07 14: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-07 14:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925243392001,"66":27974,"121":206,"85":37632,"24":52,"16":401476397320634368,"44":-4179903372773785600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 14:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925243392001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:13:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401476397320634368,"km_value":401476397320634.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4179903372773785600,"description":"Unknown IO ID 44"} 
[2026-09-07 14:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925243392001,"power":27974,"unknown_121":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4179903372773785600}} 
[2026-09-07 14:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":174797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:13:25] local.INFO: GPS data processed {"connection_id":174797,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:13:25] local.INFO: Acknowledgment sent {"connection_id":174797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:13:40] local.INFO: TCP Data received {"connection_id":176167,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:40] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:40] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:13:44] local.INFO: TCP Data received {"connection_id":174798,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:44] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:44] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:13:45] local.INFO: TCP Data received {"connection_id":174798,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:45] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:45] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:13:46] local.INFO: TCP Data received {"connection_id":176167,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:46] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:13:46] local.INFO: IMEI packet received {"connection_id":176167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":176167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:13:47] local.INFO: TCP Data received {"connection_id":176167,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b05fc68012d181f400721af78004900d22b..."} 
[2026-09-07 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b05fc68012d181f400721af78004900d22b..."} 
[2026-09-07 14:13:47] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b05fc68012d181f400721af78004900d22b..."} 
[2026-09-07 14:13:47] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:13:47] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b05"} 
[2026-09-07 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925213184001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770385000,"timestamp_ms":1788770385000,"timestamp_seconds":1788770385,"priority":1,"record_length":96,"hex_timestamp":"000001a07b05fc68"} 
[2026-09-07 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-07 14:13:47] 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-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 14:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925213184001,"66":12765,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925213184001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:13:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925213184001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:13:47] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:13:47] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:13:49] local.INFO: TCP Data received {"connection_id":174798,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:49] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:13:49] local.INFO: IMEI packet received {"connection_id":174798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:13:50] local.INFO: TCP Data received {"connection_id":174798,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b07ae00012cc5e0c0074e9fb0000b015530..."} 
[2026-09-07 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b07ae00012cc5e0c0074e9fb0000b015530..."} 
[2026-09-07 14:13:50] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b07ae00012cc5e0c0074e9fb0000b015530..."} 
[2026-09-07 14:13:50] local.INFO: Packet analysis {"connection_id":174798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:13:50] local.INFO: Extracted packet for processing {"connection_id":174798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":751165632,"raw_latitude":122593200,"longitude_deg":75.1165632,"latitude_deg":12.25932,"altitude":11,"angle":341,"satellites":48,"speed":55,"hex_longitude":"2cc5e0c0","hex_latitude":"074e9fb0","is_valid_coordinates":true} 
[2026-09-07 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925245184001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401476852587167744,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4184266234910646272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788770496000,"timestamp_ms":1788770496000,"timestamp_seconds":1788770496,"priority":1,"record_length":96,"hex_timestamp":"000001a07b07ae00"} 
[2026-09-07 14:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 14:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:13: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-07 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925245184001,"66":27919,"121":206,"85":37632,"24":55,"16":401476852587167744,"44":-4184266234910646272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925245184001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:13:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401476852587167744,"km_value":401476852587167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4184266234910646272,"description":"Unknown IO ID 44"} 
[2026-09-07 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925245184001,"power":27919,"unknown_121":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-4184266234910646272}} 
[2026-09-07 14:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":174798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:13:50] local.INFO: GPS data processed {"connection_id":174798,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:13:50] local.INFO: Acknowledgment sent {"connection_id":174798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:14:18] local.INFO: TCP Data received {"connection_id":176167,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b064e70012d181f400721af78004900d229..."} 
[2026-09-07 14:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b064e70012d181f400721af78004900d229..."} 
[2026-09-07 14:14:18] local.INFO: Processing buffer {"connection_id":176167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b064e70012d181f400721af78004900d229..."} 
[2026-09-07 14:14:18] local.INFO: Packet analysis {"connection_id":176167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:18] local.INFO: Extracted packet for processing {"connection_id":176167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925218560001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788770406000,"timestamp_ms":1788770406000,"timestamp_seconds":1788770406,"priority":1,"record_length":96,"hex_timestamp":"000001a07b064e70"} 
[2026-09-07 14: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-07 14:14:18] 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-07 14: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 14:14:18] 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-07 14: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-07 14: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-07 14:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925218560001,"66":12743,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925218560001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:14:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:14:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925218560001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":176167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:14:18] local.INFO: GPS data processed {"connection_id":176167,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:14:18] local.INFO: Acknowledgment sent {"connection_id":176167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:14:21] local.INFO: TCP Data received {"connection_id":174798,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b07c958012cc5d480074ec4e8000a01552e..."} 
[2026-09-07 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b07c958012cc5d480074ec4e8000a01552e..."} 
[2026-09-07 14:14:21] local.INFO: Processing buffer {"connection_id":174798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b07c958012cc5d480074ec4e8000a01552e..."} 
[2026-09-07 14:14:21] local.INFO: Packet analysis {"connection_id":174798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:14:21] local.INFO: Extracted packet for processing {"connection_id":174798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":751162496,"raw_latitude":122602728,"longitude_deg":75.1162496,"latitude_deg":12.2602728,"altitude":10,"angle":341,"satellites":46,"speed":58,"hex_longitude":"2cc5d480","hex_latitude":"074ec4e8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925246976001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401477337918472192,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4188136515838169088,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788770503000,"timestamp_ms":1788770503000,"timestamp_seconds":1788770503,"priority":1,"record_length":96,"hex_timestamp":"000001a07b07c958"} 
[2026-09-07 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-07 14:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:14: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-07 14:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925246976001,"66":27952,"121":206,"85":37632,"24":58,"16":401477337918472192,"44":-4188136515838169088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 14:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925246976001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:14:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401477337918472192,"km_value":401477337918472.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4188136515838169088,"description":"Unknown IO ID 44"} 
[2026-09-07 14:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925246976001,"power":27952,"unknown_121":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4188136515838169088}} 
[2026-09-07 14:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":174798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:14:21] local.INFO: GPS data processed {"connection_id":174798,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:14:21] local.INFO: Acknowledgment sent {"connection_id":174798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:14:44] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:44] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:44] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:14:46] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:46] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:46] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:14:49] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:49] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:14:49] local.INFO: IMEI packet received {"connection_id":176168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":176168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:14:50] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b097af0012cc54b8007502e180013015531..."} 
[2026-09-07 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b097af0012cc54b8007502e180013015531..."} 
[2026-09-07 14:14:50] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b097af0012cc54b8007502e180013015531..."} 
[2026-09-07 14:14:50] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:14:50] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":751127424,"raw_latitude":122695192,"longitude_deg":75.1127424,"latitude_deg":12.2695192,"altitude":19,"angle":341,"satellites":49,"speed":26,"hex_longitude":"2cc54b80","hex_latitude":"07502e18","is_valid_coordinates":true} 
[2026-09-07 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925273600001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401482143986876416,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4226628218879432704,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788770614000,"timestamp_ms":1788770614000,"timestamp_seconds":1788770614,"priority":1,"record_length":96,"hex_timestamp":"000001a07b097af0"} 
[2026-09-07 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 14:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:14: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-07 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925273600001,"66":27658,"171":206,"85":37632,"24":26,"16":401482143986876416,"44":-4226628218879432704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925273600001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:14:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 14:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401482143986876416,"km_value":401482143986876.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4226628218879432704,"description":"Unknown IO ID 44"} 
[2026-09-07 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925273600001,"power":27658,"unknown_171":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-4226628218879432704}} 
[2026-09-07 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:14:50] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:14:50] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:14:51] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:51] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:14:51] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:14:52] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b06a078012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b06a078012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:52] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b06a078012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:52] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:52] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925223936001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788770427000,"timestamp_ms":1788770427000,"timestamp_seconds":1788770427,"priority":1,"record_length":96,"hex_timestamp":"000001a07b06a078"} 
[2026-09-07 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-07 14:14: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-07 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-07 14:14:52] 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-07 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-07 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-07 14:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925223936001,"66":12711,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925223936001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:14:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925223936001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:14:52] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:14:52] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:14:56] local.INFO: TCP Data received {"connection_id":173683,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b06f280012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b06f280012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:56] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b06f280012d181f400721af78004900d22a..."} 
[2026-09-07 14:14:56] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:56] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b06"} 
[2026-09-07 14:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14:14: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-07 14:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925229312001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788770448000,"timestamp_ms":1788770448000,"timestamp_seconds":1788770448,"priority":1,"record_length":96,"hex_timestamp":"000001a07b06f280"} 
[2026-09-07 14:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:14: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-07 14:14: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":167,"data_length":795,"current_offset":136} 
[2026-09-07 14:14:56] 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-07 14:14: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-07 14:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925229312001,"66":12678,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925229312001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:14:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925229312001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:14:56] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:14:56] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:15:21] local.INFO: TCP Data received {"connection_id":176168,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b09b970012cc53fc0075050a80013015732..."} 
[2026-09-07 14:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b09b970012cc53fc0075050a80013015732..."} 
[2026-09-07 14:15:21] local.INFO: Processing buffer {"connection_id":176168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b09b970012cc53fc0075050a80013015732..."} 
[2026-09-07 14:15:21] local.INFO: Packet analysis {"connection_id":176168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:15:21] local.INFO: Extracted packet for processing {"connection_id":176168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":751124416,"raw_latitude":122704040,"longitude_deg":75.1124416,"latitude_deg":12.270404,"altitude":19,"angle":343,"satellites":50,"speed":23,"hex_longitude":"2cc53fc0","hex_latitude":"075050a8","is_valid_coordinates":true} 
[2026-09-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925277184001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401482594958442496,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4230146656086124544,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788770630000,"timestamp_ms":1788770630000,"timestamp_seconds":1788770630,"priority":1,"record_length":96,"hex_timestamp":"000001a07b09b970"} 
[2026-09-07 14:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 14:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925277184001,"66":27843,"171":206,"85":37632,"24":23,"16":401482594958442496,"44":-4230146656086124544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 14:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925277184001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401482594958442496,"km_value":401482594958442.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4230146656086124544,"description":"Unknown IO ID 44"} 
[2026-09-07 14:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925277184001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":23,"odometer":null,"unknown_44":-4230146656086124544}} 
[2026-09-07 14:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":176168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:15:21] local.INFO: GPS data processed {"connection_id":176168,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:15:21] local.INFO: Acknowledgment sent {"connection_id":176168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:15:38] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:38] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:38] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:15:40] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:40] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:40] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:15:46] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:46] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:15:46] local.INFO: IMEI packet received {"connection_id":174800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:15:47] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b074488012d181f400721af78004900d22a..."} 
[2026-09-07 14:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b074488012d181f400721af78004900d22a..."} 
[2026-09-07 14:15:47] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b074488012d181f400721af78004900d22a..."} 
[2026-09-07 14:15:47] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:15:47] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 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-07 14:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925234688001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770469000,"timestamp_ms":1788770469000,"timestamp_seconds":1788770469,"priority":1,"record_length":96,"hex_timestamp":"000001a07b074488"} 
[2026-09-07 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-07 14:15:47] 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-07 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-07 14:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925234688001,"66":12689,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925234688001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:15:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925234688001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:15:47] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:15:47] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:15:49] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:49] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:49] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:15:50] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:50] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:50] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:15:55] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:55] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:15:55] local.INFO: IMEI packet received {"connection_id":176170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":176170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:15:55] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b09e850012cc53240075071080012014e31..."} 
[2026-09-07 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b09e850012cc53240075071080012014e31..."} 
[2026-09-07 14:15:55] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b09e850012cc53240075071080012014e31..."} 
[2026-09-07 14:15:55] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:15:55] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b09"} 
[2026-09-07 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":751120960,"raw_latitude":122712328,"longitude_deg":75.112096,"latitude_deg":12.2712328,"altitude":18,"angle":334,"satellites":49,"speed":34,"hex_longitude":"2cc53240","hex_latitude":"07507108","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925281280001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401483028750139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233453987060209664,"note":"Value kept but may cause issues"} 
[2026-09-07 14:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788770642000,"timestamp_ms":1788770642000,"timestamp_seconds":1788770642,"priority":1,"record_length":96,"hex_timestamp":"000001a07b09e850"} 
[2026-09-07 14: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-07 14:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 14:15:55] 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-07 14: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-07 14: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-07 14:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:15:55] local.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-07 14:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925281280001,"66":28050,"171":206,"85":37632,"24":34,"16":401483028750139392,"44":-4233453987060209664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 14:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925281280001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:15:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 14:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401483028750139392,"km_value":401483028750139.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233453987060209664,"description":"Unknown IO ID 44"} 
[2026-09-07 14:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925281280001,"power":28050,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4233453987060209664}} 
[2026-09-07 14:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:15:55] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:15:55] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:16:00] local.INFO: TCP Data received {"connection_id":176170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0a0f60012cc52240075091d80010015132..."} 
[2026-09-07 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0a0f60012cc52240075091d80010015132..."} 
[2026-09-07 14:16:00] local.INFO: Processing buffer {"connection_id":176170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0a0f60012cc52240075091d80010015132..."} 
[2026-09-07 14:16:00] local.INFO: Packet analysis {"connection_id":176170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0a"} 
[2026-09-07 14:16:00] local.INFO: Extracted packet for processing {"connection_id":176170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0a"} 
[2026-09-07 14:16:00] local.INFO: GPS Element Parsed {"raw_longitude":751116864,"raw_latitude":122720728,"longitude_deg":75.1116864,"latitude_deg":12.2720728,"altitude":16,"angle":337,"satellites":50,"speed":34,"hex_longitude":"2cc52240","hex_latitude":"075091d8","is_valid_coordinates":true} 
[2026-09-07 14:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925284352001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401483484016672768,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4237253899243681792,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788770652000,"timestamp_ms":1788770652000,"timestamp_seconds":1788770652,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0a0f60"} 
[2026-09-07 14:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 14:16:00] 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-07 14:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:16:00] local.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-07 14:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925284352001,"66":27865,"171":206,"85":37632,"24":34,"16":401483484016672768,"44":-4237253899243681792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 14:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925284352001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:16:00] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 14:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401483484016672768,"km_value":401483484016672.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4237253899243681792,"description":"Unknown IO ID 44"} 
[2026-09-07 14:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925284352001,"power":27865,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4237253899243681792}} 
[2026-09-07 14:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":176170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:16:00] local.INFO: GPS data processed {"connection_id":176170,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:16:00] local.INFO: Acknowledgment sent {"connection_id":176170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:16:19] local.INFO: TCP Data received {"connection_id":174800,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b079690012d181f400721af78004900d22a..."} 
[2026-09-07 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b079690012d181f400721af78004900d22a..."} 
[2026-09-07 14:16:19] local.INFO: Processing buffer {"connection_id":174800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b079690012d181f400721af78004900d22a..."} 
[2026-09-07 14:16:19] local.INFO: Packet analysis {"connection_id":174800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:16:19] local.INFO: Extracted packet for processing {"connection_id":174800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b07"} 
[2026-09-07 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648120,"longitude_deg":75.6555584,"latitude_deg":11.964812,"altitude":73,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925240064001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406825376350208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562397184,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788770490000,"timestamp_ms":1788770490000,"timestamp_seconds":1788770490,"priority":1,"record_length":96,"hex_timestamp":"000001a07b079690"} 
[2026-09-07 14:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:16:19] 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-07 14:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-07 14:16:19] 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-07 14:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925240064001,"66":11721,"120":206,"28":31744,"24":0,"16":18406825376350208,"45":1738178380562397184},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925240064001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:16:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406825376350208,"km_value":18406825376350.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562397184,"description":"Unknown IO ID 45"} 
[2026-09-07 14:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925240064001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562397184}} 
[2026-09-07 14:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":174800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:16:19] local.INFO: GPS data processed {"connection_id":174800,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:16:19] local.INFO: Acknowledgment sent {"connection_id":174800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:16:41] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:41] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:41] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:16:42] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:42] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:42] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:16:45] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:45] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:16:45] local.INFO: IMEI packet received {"connection_id":173448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":173448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:16:47] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0b1ce8012d181c800721ae38004800d82b..."} 
[2026-09-07 14:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0b1ce8012d181c800721ae38004800d82b..."} 
[2026-09-07 14:16:47] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0b1ce8012d181c800721ae38004800d82b..."} 
[2026-09-07 14:16:47] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:16:47] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 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-07 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925299200001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770721000,"timestamp_ms":1788770721000,"timestamp_seconds":1788770721,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0b1ce8"} 
[2026-09-07 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-07 14:16: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-07 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005828984,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2943877193,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 14:16:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,100,160,45,128,174,72,43,10,66,38,212,1,240,69,123,33,4,113,205,48,31,44,239,49,2,65,7,73,231,80,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:16:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384454220972032,"timestamp_seconds":5188384454220972.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 14:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925299200001,"66":12558,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925299200001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:16:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925299200001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:16:47] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:16:47] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:17:17] local.INFO: TCP Data received {"connection_id":176171,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:17] local.INFO: Processing buffer {"connection_id":176171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:17] local.INFO: IMEI packet received {"connection_id":176171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":176171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:17:18] local.INFO: TCP Data received {"connection_id":173448,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0b6ef0012d181c800721ae38004800d82b..."} 
[2026-09-07 14:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0b6ef0012d181c800721ae38004800d82b..."} 
[2026-09-07 14:17:18] local.INFO: Processing buffer {"connection_id":173448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0b6ef0012d181c800721ae38004800d82b..."} 
[2026-09-07 14:17:18] local.INFO: Packet analysis {"connection_id":173448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:17:18] local.INFO: Extracted packet for processing {"connection_id":173448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925304576001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788770742000,"timestamp_ms":1788770742000,"timestamp_seconds":1788770742,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0b6ef0"} 
[2026-09-07 14: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-07 14:17:18] 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-07 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57345,"corrected_to":0} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005828984,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905672,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,100,160,202,45,128,174,72,44,10,66,43,38,1,240,14,123,33,4,113,205,130,31,239,49,2,65,7,73,231,80,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":202,"original":57345,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:17:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384449926004736,"timestamp_seconds":5188384449926005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925304576001,"66":12558,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925304576001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:17:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925304576001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":173448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:17:18] local.INFO: GPS data processed {"connection_id":173448,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:17:18] local.INFO: Acknowledgment sent {"connection_id":173448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:17:40] local.INFO: TCP Data received {"connection_id":174801,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:40] local.INFO: Processing buffer {"connection_id":174801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:40] local.INFO: IMEI packet received {"connection_id":174801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":174801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:17:45] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: IMEI packet received {"connection_id":176172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:17:45] local.INFO: TCP Data received {"connection_id":174801,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:45] local.INFO: Processing buffer {"connection_id":174801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:17:45] local.INFO: IMEI packet received {"connection_id":174801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":174801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:17:45] local.INFO: TCP Data received {"connection_id":176172,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: Processing buffer {"connection_id":176172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:17:45] local.INFO: IMEI packet received {"connection_id":176172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:17:46] local.INFO: TCP Data received {"connection_id":174801,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0bc0f8012d181c800721ae38004800d82a..."} 
[2026-09-07 14:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0bc0f8012d181c800721ae38004800d82a..."} 
[2026-09-07 14:17:46] local.INFO: Processing buffer {"connection_id":174801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0bc0f8012d181c800721ae38004800d82a..."} 
[2026-09-07 14:17:46] local.INFO: Packet analysis {"connection_id":174801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:17:46] local.INFO: Extracted packet for processing {"connection_id":174801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0b"} 
[2026-09-07 14:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925309952001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788770763000,"timestamp_ms":1788770763000,"timestamp_seconds":1788770763,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0bc0f8"} 
[2026-09-07 14: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-07 14:17:46] 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-07 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57345,"corrected_to":0} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005828984,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905672,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 14:17:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,100,160,45,128,174,72,43,10,66,202,44,1,240,14,123,33,4,113,205,212,56,239,49,2,65,7,73,231,80,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":202,"original":57345,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:17:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384449926004736,"timestamp_seconds":5188384449926005.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925309952001,"66":12558,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925309952001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:17:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925309952001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":174801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:17:46] local.INFO: GPS data processed {"connection_id":174801,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:17:46] local.INFO: Acknowledgment sent {"connection_id":174801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:17:47] local.INFO: TCP Data received {"connection_id":173449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:47] local.INFO: Processing buffer {"connection_id":173449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:17:47] local.INFO: IMEI packet received {"connection_id":173449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:18:18] local.INFO: TCP Data received {"connection_id":174801,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0c1300012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0c1300012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:18] local.INFO: Processing buffer {"connection_id":174801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0c1300012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:18] local.INFO: Packet analysis {"connection_id":174801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:18:18] local.INFO: Extracted packet for processing {"connection_id":174801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925315328001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788770784000,"timestamp_ms":1788770784000,"timestamp_seconds":1788770784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0c1300"} 
[2026-09-07 14: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-07 14:18:18] 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-07 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":57345,"corrected_to":0} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005828984,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905672,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,100,160,110,45,128,174,72,43,10,66,202,1,240,14,123,33,4,113,205,38,56,239,49,2,65,7,231,80,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":202,"original":57345,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:18:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384445631037440,"timestamp_seconds":5188384445631037.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925315328001,"66":12558,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925315328001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:18:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:18:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925315328001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":174801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:18:18] local.INFO: GPS data processed {"connection_id":174801,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:18:18] local.INFO: Acknowledgment sent {"connection_id":174801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:18:40] local.INFO: TCP Data received {"connection_id":173450,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:40] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:40] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:18:45] local.INFO: TCP Data received {"connection_id":173450,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:45] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:18:45] local.INFO: IMEI packet received {"connection_id":173450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":173450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:18:47] local.INFO: TCP Data received {"connection_id":173450,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0c6508012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0c6508012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:47] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0c6508012d181c800721ae38004800d82c..."} 
[2026-09-07 14:18:47] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:18:47] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:18:47] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":44,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 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-07 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925320704001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788770805000,"timestamp_ms":1788770805000,"timestamp_seconds":1788770805,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0c6508"} 
[2026-09-07 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-07 14:18:47] 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-07 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249378467348852280,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905672,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-07 14:18:47] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,100,160,192,45,128,174,72,42,10,66,110,43,1,240,14,123,33,4,113,205,56,239,49,2,65,7,231,79,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:18:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384454220972032,"timestamp_seconds":5188384454220972.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 14:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925320704001,"66":12537,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925320704001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:18:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:18:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925320704001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:18:47] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:18:47] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:19:18] local.INFO: TCP Data received {"connection_id":173450,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0cb710012d181c800721ae38004800d828..."} 
[2026-09-07 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0cb710012d181c800721ae38004800d828..."} 
[2026-09-07 14:19:18] local.INFO: Processing buffer {"connection_id":173450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0cb710012d181c800721ae38004800d828..."} 
[2026-09-07 14:19:18] local.INFO: Packet analysis {"connection_id":173450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:19:18] local.INFO: Extracted packet for processing {"connection_id":173450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0c"} 
[2026-09-07 14:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":40,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 14:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925326080001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788770826000,"timestamp_ms":1788770826000,"timestamp_seconds":1788770826,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0cb710"} 
[2026-09-07 14:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:19:18] 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-07 14:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-07 14:19:18] 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-07 14:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925326080001,"66":12548,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925326080001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:19:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925326080001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":173450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:19:19] local.INFO: GPS data processed {"connection_id":173450,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:19:19] local.INFO: Acknowledgment sent {"connection_id":173450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:19:40] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:40] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:40] local.INFO: IMEI packet received {"connection_id":174802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":174802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:19:42] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:42] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:42] local.INFO: IMEI packet received {"connection_id":174802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":174802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:19:45] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:45] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:19:45] local.INFO: IMEI packet received {"connection_id":174802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:19:48] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0d0918012d181c800721ae38004800d82a..."} 
[2026-09-07 14:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0d0918012d181c800721ae38004800d82a..."} 
[2026-09-07 14:19:48] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0d0918012d181c800721ae38004800d82a..."} 
[2026-09-07 14:19:48] local.INFO: Packet analysis {"connection_id":174802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0d"} 
[2026-09-07 14:19:48] local.INFO: Extracted packet for processing {"connection_id":174802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0d"} 
[2026-09-07 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647800,"longitude_deg":75.655488,"latitude_deg":11.96478,"altitude":72,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925331456001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18406864031055872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376360960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788770847000,"timestamp_ms":1788770847000,"timestamp_seconds":1788770847,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0d0918"} 
[2026-09-07 14: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-07 14:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":100,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2922905672,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-07 14:19:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-07 14:19:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,100,160,101,45,128,174,72,44,10,66,19,192,1,240,14,123,33,4,113,205,56,43,239,49,2,65,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-07 14:19:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188384437041102848,"timestamp_seconds":5188384437041103.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925331456001,"66":11232,"120":206,"28":31744,"24":0,"16":18406864031055872,"45":1737404324376360960},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-07 14:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925331456001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:19:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-07 14:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18406864031055872,"km_value":18406864031055.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376360960,"description":"Unknown IO ID 45"} 
[2026-09-07 14:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925331456001,"power":11232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737404324376360960}} 
[2026-09-07 14:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":174802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:19:48] local.INFO: GPS data processed {"connection_id":174802,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:19:48] local.INFO: Acknowledgment sent {"connection_id":174802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:20:20] local.INFO: TCP Data received {"connection_id":174802,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0ef930012d18c340072152600042009f2a..."} 
[2026-09-07 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0ef930012d18c340072152600042009f2a..."} 
[2026-09-07 14:20:20] local.INFO: Processing buffer {"connection_id":174802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0ef930012d18c340072152600042009f2a..."} 
[2026-09-07 14:20:20] local.INFO: Packet analysis {"connection_id":174802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0e"} 
[2026-09-07 14:20:20] local.INFO: Extracted packet for processing {"connection_id":174802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0e"} 
[2026-09-07 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119624288,"longitude_deg":75.6597568,"latitude_deg":11.9624288,"altitude":66,"angle":159,"satellites":42,"speed":41,"hex_longitude":"2d18c340","hex_latitude":"07215260","is_valid_coordinates":true} 
[2026-09-07 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925367808001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18409342227185664,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780329258320142336,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788770974000,"timestamp_ms":1788770974000,"timestamp_seconds":1788770974,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0ef930"} 
[2026-09-07 14:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 14:20:20] 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-07 14:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925367808001,"66":14048,"121":206,"28":31744,"24":41,"16":18409342227185664,"45":1780329258320142336},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 14:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925367808001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:20:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18409342227185664,"km_value":18409342227185.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780329258320142336,"description":"Unknown IO ID 45"} 
[2026-09-07 14:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925367808001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1780329258320142336}} 
[2026-09-07 14:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":174802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:20:20] local.INFO: GPS data processed {"connection_id":174802,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:20:20] local.INFO: Acknowledgment sent {"connection_id":174802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:20:46] local.INFO: TCP Data received {"connection_id":173686,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:46] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:46] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:20:48] local.INFO: TCP Data received {"connection_id":173686,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:48] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:20:48] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:20:50] local.INFO: TCP Data received {"connection_id":173686,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0f0100012d18c54007214a70004100af2a..."} 
[2026-09-07 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0f0100012d18c54007214a70004100af2a..."} 
[2026-09-07 14:20:50] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0f0100012d18c54007214a70004100af2a..."} 
[2026-09-07 14:20:50] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:20:50] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119622256,"longitude_deg":75.659808,"latitude_deg":11.9622256,"altitude":65,"angle":175,"satellites":42,"speed":41,"hex_longitude":"2d18c540","hex_latitude":"07214a70","is_valid_coordinates":true} 
[2026-09-07 14:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925369344001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18409441011433472,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736843776,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788770976000,"timestamp_ms":1788770976000,"timestamp_seconds":1788770976,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0f0100"} 
[2026-09-07 14:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:20: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-07 14:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 14:20:50] 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-07 14:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925369344001,"66":13352,"121":206,"28":31744,"24":41,"16":18409441011433472,"45":1784340276736843776},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 14:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925369344001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:20:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:20:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18409441011433472,"km_value":18409441011433.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736843776,"description":"Unknown IO ID 45"} 
[2026-09-07 14:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925369344001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1784340276736843776}} 
[2026-09-07 14:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:20:50] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:20:50] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:20:51] local.INFO: TCP Data received {"connection_id":173686,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0f10a0012d18c7c007213a88003e009c2a..."} 
[2026-09-07 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0f10a0012d18c7c007213a88003e009c2a..."} 
[2026-09-07 14:20:51] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0f10a0012d18c7c007213a88003e009c2a..."} 
[2026-09-07 14:20:51] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:20:51] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119618184,"longitude_deg":75.659872,"latitude_deg":11.9618184,"altitude":62,"angle":156,"satellites":42,"speed":41,"hex_longitude":"2d18c7c0","hex_latitude":"07213a88","is_valid_coordinates":true} 
[2026-09-07 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-07 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925369856001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18409642874896384,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226689744896,"note":"Value kept but may cause issues"} 
[2026-09-07 14:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788770980000,"timestamp_ms":1788770980000,"timestamp_seconds":1788770980,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0f10a0"} 
[2026-09-07 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-07 14:20: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-07 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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 14:20:51] 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-07 14:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 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-07 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925369856001,"66":14243,"121":206,"28":31744,"24":41,"16":18409642874896384,"45":1784903226689744896},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925369856001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:20:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18409642874896384,"km_value":18409642874896.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226689744896,"description":"Unknown IO ID 45"} 
[2026-09-07 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925369856001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1784903226689744896}} 
[2026-09-07 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:20:51] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:20:51] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:21:28] local.INFO: TCP Data received {"connection_id":173686,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0fdbc0012d194a400720ad18002d006c2a..."} 
[2026-09-07 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0fdbc0012d194a400720ad18002d006c2a..."} 
[2026-09-07 14:21:28] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0fdbc0012d194a400720ad18002d006c2a..."} 
[2026-09-07 14:21:28] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:21:28] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756632128,"raw_latitude":119581976,"longitude_deg":75.6632128,"latitude_deg":11.9581976,"altitude":45,"angle":108,"satellites":42,"speed":41,"hex_longitude":"2d194a40","hex_latitude":"0720ad18","is_valid_coordinates":true} 
[2026-09-07 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925382656001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18412198380437504,"note":"Value kept but may cause issues"} 
[2026-09-07 14:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816217317839183872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788771032000,"timestamp_ms":1788771032000,"timestamp_seconds":1788771032,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0fdbc0"} 
[2026-09-07 14:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 14:21:28] 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-07 14:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925382656001,"66":14374,"121":206,"28":31744,"24":41,"16":18412198380437504,"45":1816217317839183872},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 14:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925382656001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18412198380437504,"km_value":18412198380437.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816217317839183872,"description":"Unknown IO ID 45"} 
[2026-09-07 14:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925382656001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1816217317839183872}} 
[2026-09-07 14:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:21:28] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:21:28] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:21:39] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:39] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:39] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:21:40] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:40] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:40] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:21:42] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:42] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:42] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:21:44] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:44] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:21:44] local.INFO: IMEI packet received {"connection_id":176176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:22:33] local.INFO: TCP Data received {"connection_id":176176,"ip":"117.225.163.155","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0fe778012d1957000720aa98002d005e2a..."} 
[2026-09-07 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0fe778012d1957000720aa98002d005e2a..."} 
[2026-09-07 14:22:33] local.INFO: Processing buffer {"connection_id":176176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0fe778012d1957000720aa98002d005e2a..."} 
[2026-09-07 14:22:33] local.INFO: Packet analysis {"connection_id":176176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:22:33] local.INFO: Extracted packet for processing {"connection_id":176176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0f"} 
[2026-09-07 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756635392,"raw_latitude":119581336,"longitude_deg":75.6635392,"latitude_deg":11.9581336,"altitude":45,"angle":94,"satellites":42,"speed":42,"hex_longitude":"2d195700","hex_latitude":"0720aa98","is_valid_coordinates":true} 
[2026-09-07 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925384192001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18412352999260160,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822339398581950464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788771035000,"timestamp_ms":1788771035000,"timestamp_seconds":1788771035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0fe778"} 
[2026-09-07 14:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 14:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.163.155","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925384192001,"66":14341,"121":206,"28":31744,"24":42,"16":18412352999260160,"45":1822339398581950464},"client_ip":"117.225.163.155","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-07 14:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925384192001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:22:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 14:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-07 14:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18412352999260160,"km_value":18412352999260.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822339398581950464,"description":"Unknown IO ID 45"} 
[2026-09-07 14:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925384192001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1822339398581950464}} 
[2026-09-07 14:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":176176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:22:33] local.INFO: GPS data processed {"connection_id":176176,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:22:33] local.INFO: Acknowledgment sent {"connection_id":176176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:22:40] local.INFO: TCP Data received {"connection_id":176178,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:40] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:40] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:22:45] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:45] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:45] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:22:46] local.INFO: TCP Data received {"connection_id":176178,"ip":"117.225.163.155","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:46] local.INFO: Processing buffer {"connection_id":176178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:22:46] local.INFO: IMEI packet received {"connection_id":176178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":176178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:22:50] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:50] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:22:50] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:22:50] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1031b0012cc321c0075588a0000c014d2c..."} 
[2026-09-07 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1031b0012cc321c0075588a0000c014d2c..."} 
[2026-09-07 14:22:50] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1031b0012cc321c0075588a0000c014d2c..."} 
[2026-09-07 14:22:50] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b10"} 
[2026-09-07 14:22:50] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b10"} 
[2026-09-07 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":750985664,"raw_latitude":123046048,"longitude_deg":75.0985664,"latitude_deg":12.3046048,"altitude":12,"angle":333,"satellites":44,"speed":43,"hex_longitude":"2cc321c0","hex_latitude":"075588a0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925387520001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401500483497230336,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381369087236376576,"note":"Value kept but may cause issues"} 
[2026-09-07 14:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771054000,"timestamp_ms":1788771054000,"timestamp_seconds":1788771054,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1031b0"} 
[2026-09-07 14: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-07 14:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14: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-07 14:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925387520001,"66":27800,"180":206,"85":37632,"24":43,"16":401500483497230336,"44":-4381369087236376576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,85,24,16,44]} 
[2026-09-07 14:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925387520001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:22:50] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 14:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 14:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401500483497230336,"km_value":401500483497230.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381369087236376576,"description":"Unknown IO ID 44"} 
[2026-09-07 14:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925387520001,"power":27800,"unknown_180":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4381369087236376576}} 
[2026-09-07 14:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:22:50] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:22:50] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:22:52] local.INFO: TCP Data received {"connection_id":174803,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:22:52] local.INFO: Processing buffer {"connection_id":174803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:22:52] local.INFO: IMEI packet received {"connection_id":174803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":174803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:23:24] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b117200012cc29d4007566118001301442a..."} 
[2026-09-07 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b117200012cc29d4007566118001301442a..."} 
[2026-09-07 14:23:24] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b117200012cc29d4007566118001301442a..."} 
[2026-09-07 14:23:24] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:23:24] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:23:24] local.INFO: GPS Element Parsed {"raw_longitude":750951744,"raw_latitude":123101464,"longitude_deg":75.0951744,"latitude_deg":12.3101464,"altitude":19,"angle":324,"satellites":42,"speed":33,"hex_longitude":"2cc29d40","hex_latitude":"07566118","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925410048001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401503648888127488,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421971852611000320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788771136000,"timestamp_ms":1788771136000,"timestamp_seconds":1788771136,"priority":1,"record_length":96,"hex_timestamp":"000001a07b117200"} 
[2026-09-07 14: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-07 14:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925410048001,"66":27865,"83":206,"85":37120,"24":33,"16":401503648888127488,"44":-4421971852611000320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925410048001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401503648888127488,"km_value":401503648888127.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421971852611000320,"description":"Unknown IO ID 44"} 
[2026-09-07 14:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925410048001,"power":27865,"unknown_83":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4421971852611000320}} 
[2026-09-07 14:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:23:24] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:23:24] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:23:43] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:43] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:43] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:23:44] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:44] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:44] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:23:50] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:50] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:23:50] local.INFO: IMEI packet received {"connection_id":174804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":174804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:23:50] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b119cf8012cc2870007567e200010014527..."} 
[2026-09-07 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b119cf8012cc2870007567e200010014527..."} 
[2026-09-07 14:23:50] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b119cf8012cc2870007567e200010014527..."} 
[2026-09-07 14:23:50] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:23:50] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":750946048,"raw_latitude":123108896,"longitude_deg":75.0946048,"latitude_deg":12.3108896,"altitude":16,"angle":325,"satellites":39,"speed":36,"hex_longitude":"2cc28700","hex_latitude":"07567e20","is_valid_coordinates":true} 
[2026-09-07 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925410816001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401504099859693568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4423308858749806592,"note":"Value kept but may cause issues"} 
[2026-09-07 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771147000,"timestamp_ms":1788771147000,"timestamp_seconds":1788771147,"priority":1,"record_length":96,"hex_timestamp":"000001a07b119cf8"} 
[2026-09-07 14:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:23: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-07 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925410816001,"66":27995,"83":206,"85":37120,"24":36,"16":401504099859693568,"44":-4423308858749806592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925410816001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401504099859693568,"km_value":401504099859693.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4423308858749806592,"description":"Unknown IO ID 44"} 
[2026-09-07 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925410816001,"power":27995,"unknown_83":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4423308858749806592}} 
[2026-09-07 14:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:23:50] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:23:50] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:24:21] local.INFO: TCP Data received {"connection_id":174804,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b11d3a8012cc2744007569cd8000e01442a..."} 
[2026-09-07 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b11d3a8012cc2744007569cd8000e01442a..."} 
[2026-09-07 14:24:21] local.INFO: Processing buffer {"connection_id":174804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b11d3a8012cc2744007569cd8000e01442a..."} 
[2026-09-07 14:24:21] local.INFO: Packet analysis {"connection_id":174804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:24:21] local.INFO: Extracted packet for processing {"connection_id":174804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":750941248,"raw_latitude":123116760,"longitude_deg":75.0941248,"latitude_deg":12.311676,"altitude":14,"angle":324,"satellites":42,"speed":26,"hex_longitude":"2cc27440","hex_latitude":"07569cd8","is_valid_coordinates":true} 
[2026-09-07 14:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925413632001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401504542241325056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4429571676979716096,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771161000,"timestamp_ms":1788771161000,"timestamp_seconds":1788771161,"priority":1,"record_length":96,"hex_timestamp":"000001a07b11d3a8"} 
[2026-09-07 14:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:24:21] local.INFO: IO Element 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-07 14:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:24: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-07 14:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925413632001,"66":27995,"83":206,"85":37120,"24":26,"16":401504542241325056,"44":-4429571676979716096},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925413632001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401504542241325056,"km_value":401504542241325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4429571676979716096,"description":"Unknown IO ID 44"} 
[2026-09-07 14:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925413632001,"power":27995,"unknown_83":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4429571676979716096}} 
[2026-09-07 14:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":174804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:24:21] local.INFO: GPS data processed {"connection_id":174804,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:24:21] local.INFO: Acknowledgment sent {"connection_id":174804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:24:44] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:44] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:44] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:24:50] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:50] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:24:50] local.INFO: IMEI packet received {"connection_id":176179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":176179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:24:50] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b11df60012cc26e800756a2b8000e01342b..."} 
[2026-09-07 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b11df60012cc26e800756a2b8000e01342b..."} 
[2026-09-07 14:24:50] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b11df60012cc26e800756a2b8000e01342b..."} 
[2026-09-07 14:24:50] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:24:50] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":750939776,"raw_latitude":123118264,"longitude_deg":75.0939776,"latitude_deg":12.3118264,"altitude":14,"angle":308,"satellites":43,"speed":27,"hex_longitude":"2cc26e80","hex_latitude":"0756a2b8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925417216001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401504645320540160,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4434849332791027712,"note":"Value kept but may cause issues"} 
[2026-09-07 14:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771164000,"timestamp_ms":1788771164000,"timestamp_seconds":1788771164,"priority":1,"record_length":96,"hex_timestamp":"000001a07b11df60"} 
[2026-09-07 14: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-07 14:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 14:24: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-07 14: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-07 14: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-07 14:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:24: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-07 14:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925417216001,"66":27821,"83":206,"85":37120,"24":27,"16":401504645320540160,"44":-4434849332791027712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925417216001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401504645320540160,"km_value":401504645320540.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4434849332791027712,"description":"Unknown IO ID 44"} 
[2026-09-07 14:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925417216001,"power":27821,"unknown_83":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4434849332791027712}} 
[2026-09-07 14:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:24:50] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:24:50] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:25:21] local.INFO: TCP Data received {"connection_id":176179,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b11f6d0012cc261c00756a9d8001201252b..."} 
[2026-09-07 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b11f6d0012cc261c00756a9d8001201252b..."} 
[2026-09-07 14:25:21] local.INFO: Processing buffer {"connection_id":176179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b11f6d0012cc261c00756a9d8001201252b..."} 
[2026-09-07 14:25:21] local.INFO: Packet analysis {"connection_id":176179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:25:21] local.INFO: Extracted packet for processing {"connection_id":176179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b11"} 
[2026-09-07 14:25:21] local.INFO: GPS Element Parsed {"raw_longitude":750936512,"raw_latitude":123120088,"longitude_deg":75.0936512,"latitude_deg":12.3120088,"altitude":18,"angle":293,"satellites":43,"speed":13,"hex_longitude":"2cc261c0","hex_latitude":"0756a9d8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925417984001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401504825709166592,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436467813906728960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771170000,"timestamp_ms":1788771170000,"timestamp_seconds":1788771170,"priority":1,"record_length":96,"hex_timestamp":"000001a07b11f6d0"} 
[2026-09-07 14: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-07 14:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:25:21] 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-07 14: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-07 14: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-07 14:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:25: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-07 14:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925417984001,"66":27887,"103":206,"85":37120,"24":13,"16":401504825709166592,"44":-4436467813906728960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925417984001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:25:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401504825709166592,"km_value":401504825709166.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436467813906728960,"description":"Unknown IO ID 44"} 
[2026-09-07 14:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925417984001,"power":27887,"unknown_103":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4436467813906728960}} 
[2026-09-07 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":176179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:25:21] local.INFO: GPS data processed {"connection_id":176179,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:25:21] local.INFO: Acknowledgment sent {"connection_id":176179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:25:44] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:44] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:44] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:25:50] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:50] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:25:50] local.INFO: IMEI packet received {"connection_id":174805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":174805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:25:50] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b123550012cc254400756aff80017013431..."} 
[2026-09-07 14:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b123550012cc254400756aff80017013431..."} 
[2026-09-07 14:25:50] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b123550012cc254400756aff80017013431..."} 
[2026-09-07 14:25:50] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:25:50] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":750933056,"raw_latitude":123121656,"longitude_deg":75.0933056,"latitude_deg":12.3121656,"altitude":23,"angle":308,"satellites":49,"speed":11,"hex_longitude":"2cc25440","hex_latitude":"0756aff8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925419520001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401505006097793024,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4440056619859322880,"note":"Value kept but may cause issues"} 
[2026-09-07 14:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771186000,"timestamp_ms":1788771186000,"timestamp_seconds":1788771186,"priority":1,"record_length":96,"hex_timestamp":"000001a07b123550"} 
[2026-09-07 14: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-07 14:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 14:25:50] 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-07 14: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-07 14: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-07 14:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:25: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-07 14:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925419520001,"66":27876,"103":206,"85":37120,"24":11,"16":401505006097793024,"44":-4440056619859322880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925419520001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:25:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401505006097793024,"km_value":401505006097793.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4440056619859322880,"description":"Unknown IO ID 44"} 
[2026-09-07 14:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925419520001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4440056619859322880}} 
[2026-09-07 14:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:25:50] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:25:50] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:26:22] local.INFO: TCP Data received {"connection_id":174805,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b126430012cc24bc00756b730001701402d..."} 
[2026-09-07 14:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b126430012cc24bc00756b730001701402d..."} 
[2026-09-07 14:26:22] local.INFO: Processing buffer {"connection_id":174805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b126430012cc24bc00756b730001701402d..."} 
[2026-09-07 14:26:22] local.INFO: Packet analysis {"connection_id":174805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:26:22] local.INFO: Extracted packet for processing {"connection_id":174805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":750930880,"raw_latitude":123123504,"longitude_deg":75.093088,"latitude_deg":12.3123504,"altitude":23,"angle":320,"satellites":45,"speed":12,"hex_longitude":"2cc24bc0","hex_latitude":"0756b730","is_valid_coordinates":true} 
[2026-09-07 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925423616001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401505143536746496,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4443856532044515328,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771198000,"timestamp_ms":1788771198000,"timestamp_seconds":1788771198,"priority":1,"record_length":96,"hex_timestamp":"000001a07b126430"} 
[2026-09-07 14:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 14:26: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-07 14:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:26: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-07 14:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925423616001,"66":27974,"103":206,"85":37120,"24":12,"16":401505143536746496,"44":-4443856532044515328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925423616001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:26:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401505143536746496,"km_value":401505143536746.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4443856532044515328,"description":"Unknown IO ID 44"} 
[2026-09-07 14:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925423616001,"power":27974,"unknown_103":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4443856532044515328}} 
[2026-09-07 14:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":174805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:26:22] local.INFO: GPS data processed {"connection_id":174805,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:26:22] local.INFO: Acknowledgment sent {"connection_id":174805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:26:44] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:44] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:44] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:26:45] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:45] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:45] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:26:50] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:50] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:26:50] local.INFO: IMEI packet received {"connection_id":176181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":176181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:26:51] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b12b638012cc239c00756ce380016013f30..."} 
[2026-09-07 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b12b638012cc239c00756ce380016013f30..."} 
[2026-09-07 14:26:51] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b12b638012cc239c00756ce380016013f30..."} 
[2026-09-07 14:26:51] local.INFO: Packet analysis {"connection_id":176181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:26:51] local.INFO: Extracted packet for processing {"connection_id":176181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b12"} 
[2026-09-07 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":750926272,"raw_latitude":123129400,"longitude_deg":75.0926272,"latitude_deg":12.31294,"altitude":22,"angle":319,"satellites":48,"speed":8,"hex_longitude":"2cc239c0","hex_latitude":"0756ce38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925426688001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401505504313999360,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4446249069346082816,"note":"Value kept but may cause issues"} 
[2026-09-07 14:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788771219000,"timestamp_ms":1788771219000,"timestamp_seconds":1788771219,"priority":1,"record_length":96,"hex_timestamp":"000001a07b12b638"} 
[2026-09-07 14: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-07 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 14:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:26:51] local.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-07 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925426688001,"66":27930,"103":206,"85":37120,"24":8,"16":401505504313999360,"44":-4446249069346082816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925426688001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:26:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401505504313999360,"km_value":401505504313999.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4446249069346082816,"description":"Unknown IO ID 44"} 
[2026-09-07 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925426688001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4446249069346082816}} 
[2026-09-07 14:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:26:51] local.INFO: GPS data processed {"connection_id":176181,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:26:51] local.INFO: Acknowledgment sent {"connection_id":176181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:27:22] local.INFO: TCP Data received {"connection_id":176181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b130458012cc223400756eab80014014130..."} 
[2026-09-07 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b130458012cc223400756eab80014014130..."} 
[2026-09-07 14:27:22] local.INFO: Processing buffer {"connection_id":176181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b130458012cc223400756eab80014014130..."} 
[2026-09-07 14:27:22] local.INFO: Packet analysis {"connection_id":176181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:27:22] local.INFO: Extracted packet for processing {"connection_id":176181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":750920512,"raw_latitude":123136696,"longitude_deg":75.0920512,"latitude_deg":12.3136696,"altitude":20,"angle":321,"satellites":48,"speed":26,"hex_longitude":"2cc22340","hex_latitude":"0756eab8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925432064001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401505950990598144,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4451315618925365248,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771239000,"timestamp_ms":1788771239000,"timestamp_seconds":1788771239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b130458"} 
[2026-09-07 14: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-07 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:27: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-07 14:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925432064001,"66":27626,"103":206,"85":37120,"24":26,"16":401505950990598144,"44":-4451315618925365248},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925432064001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:27:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401505950990598144,"km_value":401505950990598.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4451315618925365248,"description":"Unknown IO ID 44"} 
[2026-09-07 14:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925432064001,"power":27626,"unknown_103":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4451315618925365248}} 
[2026-09-07 14:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":176181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:27:22] local.INFO: GPS data processed {"connection_id":176181,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:27:22] local.INFO: Acknowledgment sent {"connection_id":176181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:27:50] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:50] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:50] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:27:55] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:55] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:27:55] local.INFO: IMEI packet received {"connection_id":174806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":174806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:27:55] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b133ef0012cc20a00075705500011013b2e..."} 
[2026-09-07 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b133ef0012cc20a00075705500011013b2e..."} 
[2026-09-07 14:27:55] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b133ef0012cc20a00075705500011013b2e..."} 
[2026-09-07 14:27:55] local.INFO: Packet analysis {"connection_id":174806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:27:55] local.INFO: Extracted packet for processing {"connection_id":174806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":750914048,"raw_latitude":123143504,"longitude_deg":75.0914048,"latitude_deg":12.3143504,"altitude":17,"angle":315,"satellites":46,"speed":21,"hex_longitude":"2cc20a00","hex_latitude":"07570550","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925437184001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401506401962164224,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4457648805899487232,"note":"Value kept but may cause issues"} 
[2026-09-07 14:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788771254000,"timestamp_ms":1788771254000,"timestamp_seconds":1788771254,"priority":1,"record_length":96,"hex_timestamp":"000001a07b133ef0"} 
[2026-09-07 14: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-07 14:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 14:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:27:55] 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-07 14:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925437184001,"66":27865,"103":206,"85":37120,"24":21,"16":401506401962164224,"44":-4457648805899487232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925437184001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:27:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401506401962164224,"km_value":401506401962164.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4457648805899487232,"description":"Unknown IO ID 44"} 
[2026-09-07 14:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925437184001,"power":27865,"unknown_103":206,"unknown_85":37120,"ignition":21,"odometer":null,"unknown_44":-4457648805899487232}} 
[2026-09-07 14:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":174806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:27:55] local.INFO: GPS data processed {"connection_id":174806,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:27:55] local.INFO: Acknowledgment sent {"connection_id":174806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:28:00] local.INFO: TCP Data received {"connection_id":174806,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b138540012cc1edc007571d10000f013a2a..."} 
[2026-09-07 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b138540012cc1edc007571d10000f013a2a..."} 
[2026-09-07 14:28:00] local.INFO: Processing buffer {"connection_id":174806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b138540012cc1edc007571d10000f013a2a..."} 
[2026-09-07 14:28:00] local.INFO: Packet analysis {"connection_id":174806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:28:00] local.INFO: Extracted packet for processing {"connection_id":174806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":750906816,"raw_latitude":123149584,"longitude_deg":75.0906816,"latitude_deg":12.3149584,"altitude":15,"angle":314,"satellites":42,"speed":24,"hex_longitude":"2cc1edc0","hex_latitude":"07571d10","is_valid_coordinates":true} 
[2026-09-07 14:28: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-07 14:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925441024001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401506852933730304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4464756049059688448,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788771272000,"timestamp_ms":1788771272000,"timestamp_seconds":1788771272,"priority":1,"record_length":96,"hex_timestamp":"000001a07b138540"} 
[2026-09-07 14:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:28: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-07 14:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:28:00] 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-07 14:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925441024001,"66":27767,"103":206,"85":37120,"24":24,"16":401506852933730304,"44":-4464756049059688448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925441024001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:28:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401506852933730304,"km_value":401506852933730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4464756049059688448,"description":"Unknown IO ID 44"} 
[2026-09-07 14:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925441024001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4464756049059688448}} 
[2026-09-07 14:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":174806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:28:00] local.INFO: GPS data processed {"connection_id":174806,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:28:00] local.INFO: Acknowledgment sent {"connection_id":174806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:28:27] local.INFO: TCP Data received {"connection_id":173451,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:27] local.INFO: Processing buffer {"connection_id":173451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:27] local.INFO: IMEI packet received {"connection_id":173451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":173451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:28:44] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:44] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:44] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:28:47] local.INFO: TCP Data received {"connection_id":173693,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:47] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:28:47] local.INFO: IMEI packet received {"connection_id":173693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":173693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:28:49] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:49] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:28:49] local.INFO: IMEI packet received {"connection_id":176182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":176182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:28:50] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b13b420012cc1e44007572818000f01512d..."} 
[2026-09-07 14:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b13b420012cc1e44007572818000f01512d..."} 
[2026-09-07 14:28:50] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b13b420012cc1e44007572818000f01512d..."} 
[2026-09-07 14:28:50] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:28:50] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b13"} 
[2026-09-07 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":750904384,"raw_latitude":123152408,"longitude_deg":75.0904384,"latitude_deg":12.3152408,"altitude":15,"angle":337,"satellites":45,"speed":7,"hex_longitude":"2cc1e440","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925445632001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507033322356736,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4472707717150208000,"note":"Value kept but may cause issues"} 
[2026-09-07 14:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771284000,"timestamp_ms":1788771284000,"timestamp_seconds":1788771284,"priority":1,"record_length":96,"hex_timestamp":"000001a07b13b420"} 
[2026-09-07 14: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-07 14:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 14:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:28:50] 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-07 14:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925445632001,"66":27767,"103":206,"85":37120,"24":7,"16":401507033322356736,"44":-4472707717150208000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925445632001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:28:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507033322356736,"km_value":401507033322356.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4472707717150208000,"description":"Unknown IO ID 44"} 
[2026-09-07 14:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925445632001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4472707717150208000}} 
[2026-09-07 14:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:28:50] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:28:50] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:29:21] local.INFO: TCP Data received {"connection_id":176182,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b140240012cc1e18007572d880013015b2c..."} 
[2026-09-07 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b140240012cc1e18007572d880013015b2c..."} 
[2026-09-07 14:29:21] local.INFO: Processing buffer {"connection_id":176182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b140240012cc1e18007572d880013015b2c..."} 
[2026-09-07 14:29:21] local.INFO: Packet analysis {"connection_id":176182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:29:21] local.INFO: Extracted packet for processing {"connection_id":176182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":750903680,"raw_latitude":123153800,"longitude_deg":75.090368,"latitude_deg":12.31538,"altitude":19,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1e180","hex_latitude":"07572d88","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925448704001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507110631768064,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475381729428236288,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771304000,"timestamp_ms":1788771304000,"timestamp_seconds":1788771304,"priority":1,"record_length":96,"hex_timestamp":"000001a07b140240"} 
[2026-09-07 14: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-07 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 14:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:29:21] 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-07 14:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925448704001,"66":27995,"103":206,"85":37120,"24":0,"16":401507110631768064,"44":-4475381729428236288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925448704001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:29:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507110631768064,"km_value":401507110631768.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475381729428236288,"description":"Unknown IO ID 44"} 
[2026-09-07 14:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925448704001,"power":27995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4475381729428236288}} 
[2026-09-07 14:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":176182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:29:21] local.INFO: GPS data processed {"connection_id":176182,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:29:21] local.INFO: Acknowledgment sent {"connection_id":176182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:29:44] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:44] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:44] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:29:50] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:50] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:29:50] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:29:50] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b145448012cc1df8007572ed00014015b2d..."} 
[2026-09-07 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b145448012cc1df8007572ed00014015b2d..."} 
[2026-09-07 14:29:50] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b145448012cc1df8007572ed00014015b2d..."} 
[2026-09-07 14:29:50] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:29:50] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":750903168,"raw_latitude":123154128,"longitude_deg":75.0903168,"latitude_deg":12.3154128,"altitude":20,"angle":347,"satellites":45,"speed":1,"hex_longitude":"2cc1df80","hex_latitude":"07572ed0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925453824001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507144991506432,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476155785613834240,"note":"Value kept but may cause issues"} 
[2026-09-07 14:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771325000,"timestamp_ms":1788771325000,"timestamp_seconds":1788771325,"priority":1,"record_length":96,"hex_timestamp":"000001a07b145448"} 
[2026-09-07 14: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-07 14:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 14:29: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-07 14: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-07 14: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-07 14:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:29:50] 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-07 14:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925453824001,"66":27908,"103":206,"85":37120,"24":1,"16":401507144991506432,"44":-4476155785613834240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925453824001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:29:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507144991506432,"km_value":401507144991506.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476155785613834240,"description":"Unknown IO ID 44"} 
[2026-09-07 14:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925453824001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":1,"odometer":null,"unknown_44":-4476155785613834240}} 
[2026-09-07 14:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:29:50] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:29:50] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:30:22] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b14a650012cc1db0007572c800017015b2b..."} 
[2026-09-07 14:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b14a650012cc1db0007572c800017015b2b..."} 
[2026-09-07 14:30:22] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b14a650012cc1db0007572c800017015b2b..."} 
[2026-09-07 14:30:22] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:30:22] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123153536,"longitude_deg":75.0902016,"latitude_deg":12.3153536,"altitude":23,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2cc1db00","hex_latitude":"07572c80","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925459200001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507205121048576,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476718735567171584,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771346000,"timestamp_ms":1788771346000,"timestamp_seconds":1788771346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b14a650"} 
[2026-09-07 14: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-07 14:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:30: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-07 14: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-07 14: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-07 14:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:30:22] 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-07 14:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925459200001,"66":27919,"103":206,"85":37120,"24":0,"16":401507205121048576,"44":-4476718735567171584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925459200001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:30:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507205121048576,"km_value":401507205121048.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476718735567171584,"description":"Unknown IO ID 44"} 
[2026-09-07 14:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925459200001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476718735567171584}} 
[2026-09-07 14:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:30:22] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:30:22] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:30:44] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:44] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:44] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:30:50] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:50] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:30:50] local.INFO: IMEI packet received {"connection_id":176185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":176185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:30:50] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b14f858012cc1d980075728d80019015b2c..."} 
[2026-09-07 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b14f858012cc1d980075728d80019015b2c..."} 
[2026-09-07 14:30:50] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b14f858012cc1d980075728d80019015b2c..."} 
[2026-09-07 14:30:50] local.INFO: Packet analysis {"connection_id":176185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:30:50] local.INFO: Extracted packet for processing {"connection_id":176185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b14"} 
[2026-09-07 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":750901632,"raw_latitude":123152600,"longitude_deg":75.0901632,"latitude_deg":12.31526,"altitude":25,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1d980","hex_latitude":"075728d8","is_valid_coordinates":true} 
[2026-09-07 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925464576001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507256660656128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962521088,"note":"Value kept but may cause issues"} 
[2026-09-07 14:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771367000,"timestamp_ms":1788771367000,"timestamp_seconds":1788771367,"priority":1,"record_length":96,"hex_timestamp":"000001a07b14f858"} 
[2026-09-07 14:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:30:50] 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-07 14:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925464576001,"66":27767,"103":206,"85":37120,"24":0,"16":401507256660656128,"44":-4477985372962521088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925464576001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:30:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507256660656128,"km_value":401507256660656.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962521088,"description":"Unknown IO ID 44"} 
[2026-09-07 14:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925464576001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962521088}} 
[2026-09-07 14:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":176185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:30:50] local.INFO: GPS data processed {"connection_id":176185,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:30:50] local.INFO: Acknowledgment sent {"connection_id":176185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:31:21] local.INFO: TCP Data received {"connection_id":176185,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b154a60012cc1da4007572618001c015b2f..."} 
[2026-09-07 14:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b154a60012cc1da4007572618001c015b2f..."} 
[2026-09-07 14:31:21] local.INFO: Processing buffer {"connection_id":176185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b154a60012cc1da4007572618001c015b2f..."} 
[2026-09-07 14:31:21] local.INFO: Packet analysis {"connection_id":176185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b15"} 
[2026-09-07 14:31:21] local.INFO: Extracted packet for processing {"connection_id":176185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b15"} 
[2026-09-07 14:31:21] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123151896,"longitude_deg":75.0901824,"latitude_deg":12.3151896,"altitude":28,"angle":347,"satellites":47,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572618","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925469952001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507295315361792,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478407585427826688,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771388000,"timestamp_ms":1788771388000,"timestamp_seconds":1788771388,"priority":1,"record_length":96,"hex_timestamp":"000001a07b154a60"} 
[2026-09-07 14: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-07 14:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 14:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:31:21] 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-07 14:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925469952001,"66":27930,"103":206,"85":37120,"24":0,"16":401507295315361792,"44":-4478407585427826688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925469952001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:31:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507295315361792,"km_value":401507295315361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478407585427826688,"description":"Unknown IO ID 44"} 
[2026-09-07 14:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925469952001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478407585427826688}} 
[2026-09-07 14:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":176185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:31:22] local.INFO: GPS data processed {"connection_id":176185,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:31:22] local.INFO: Acknowledgment sent {"connection_id":176185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:31:44] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:44] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:44] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:31:50] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:50] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:31:50] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:31:50] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b155de8012cc1db80075726f00025015b2f..."} 
[2026-09-07 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b155de8012cc1db80075726f00025015b2f..."} 
[2026-09-07 14:31:50] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b155de8012cc1db80075726f00025015b2f..."} 
[2026-09-07 14:31:50] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b15"} 
[2026-09-07 14:31:50] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b15"} 
[2026-09-07 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152112,"longitude_deg":75.0902144,"latitude_deg":12.3152112,"altitude":37,"angle":347,"satellites":47,"speed":2,"hex_longitude":"2cc1db80","hex_latitude":"075726f0","is_valid_coordinates":true} 
[2026-09-07 14:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 14:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925475328001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195473920,"note":"Value kept but may cause issues"} 
[2026-09-07 14:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771393000,"timestamp_ms":1788771393000,"timestamp_seconds":1788771393,"priority":1,"record_length":96,"hex_timestamp":"000001a07b155de8"} 
[2026-09-07 14: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-07 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:31: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-07 14: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-07 14: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-07 14:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:31:50] 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-07 14:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925475328001,"66":27800,"103":206,"85":37120,"24":2,"16":401507321085165568,"44":-4478196479195473920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925475328001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:31:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195473920,"description":"Unknown IO ID 44"} 
[2026-09-07 14:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925475328001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":2,"odometer":null,"unknown_44":-4478196479195473920}} 
[2026-09-07 14:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:31:51] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:31:51] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:32:23] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:23] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:23] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:32:23] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:32: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-07 14: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-07 14: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-07 14:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:32:23] 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-07 14:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:32:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:32:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:32:23] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:32:23] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:32:50] local.INFO: TCP Data received {"connection_id":173452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:50] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:50] local.INFO: IMEI packet received {"connection_id":173452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":173452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:32:55] local.INFO: TCP Data received {"connection_id":173452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:55] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:32:55] local.INFO: IMEI packet received {"connection_id":173452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":173452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:32:56] local.INFO: TCP Data received {"connection_id":173452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:56] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:32:56] local.INFO: Packet analysis {"connection_id":173452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:32:56] local.INFO: Extracted packet for processing {"connection_id":173452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:32: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-07 14:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:32:56] 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-07 14:32: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-07 14:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:32:56] 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-07 14:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:32:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":173452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:32:56] local.INFO: GPS data processed {"connection_id":173452,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:32:56] local.INFO: Acknowledgment sent {"connection_id":173452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:33:00] local.INFO: TCP Data received {"connection_id":173452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:00] local.INFO: Processing buffer {"connection_id":173452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:00] local.INFO: Packet analysis {"connection_id":173452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:33:00] local.INFO: Extracted packet for processing {"connection_id":173452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:33:00] 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-07 14:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:33:00] 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-07 14:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:33:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:33:00] local.INFO: GPS data processed {"connection_id":173452,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:33:00] local.INFO: Acknowledgment sent {"connection_id":173452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:33:10] local.INFO: TCP Data received {"connection_id":173453,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:10] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:10] local.INFO: IMEI packet received {"connection_id":173453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":173453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:33:15] local.INFO: TCP Data received {"connection_id":173453,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:15] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:15] local.INFO: IMEI packet received {"connection_id":173453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":173453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:33:16] local.INFO: TCP Data received {"connection_id":173453,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b19c6d0012d196b40071fece0003c010128..."} 
[2026-09-07 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b19c6d0012d196b40071fece0003c010128..."} 
[2026-09-07 14:33:16] local.INFO: Processing buffer {"connection_id":173453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b19c6d0012d196b40071fece0003c010128..."} 
[2026-09-07 14:33:16] local.INFO: Packet analysis {"connection_id":173453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b19"} 
[2026-09-07 14:33:16] local.INFO: Extracted packet for processing {"connection_id":173453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b19"} 
[2026-09-07 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532768,"longitude_deg":75.6640576,"latitude_deg":11.9532768,"altitude":60,"angle":257,"satellites":40,"speed":6,"hex_longitude":"2d196b40","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925548544001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426092599640064,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079480320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33: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-07 14:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788771682000,"timestamp_ms":1788771682000,"timestamp_seconds":1788771682,"priority":1,"record_length":96,"hex_timestamp":"000001a07b19c6d0"} 
[2026-09-07 14: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-07 14:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-07 14:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925548544001,"66":13135,"102":206,"83":41984,"24":6,"16":18426092599640064,"45":1834302085079480320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925548544001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:33:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:33:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426092599640064,"km_value":18426092599640.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079480320,"description":"Unknown IO ID 45"} 
[2026-09-07 14:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925548544001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1834302085079480320}} 
[2026-09-07 14:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":173453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:33:16] local.INFO: GPS data processed {"connection_id":173453,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:33:16] local.INFO: Acknowledgment sent {"connection_id":173453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:33:40] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:40] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:40] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:33:44] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:44] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:44] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:33:45] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:45] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:33:45] local.INFO: IMEI packet received {"connection_id":173454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:33:46] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b19d288012d196900071fec98003c011f27..."} 
[2026-09-07 14:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b19d288012d196900071fec98003c011f27..."} 
[2026-09-07 14:33:46] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b19d288012d196900071fec98003c011f27..."} 
[2026-09-07 14:33:46] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b19"} 
[2026-09-07 14:33:46] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b19"} 
[2026-09-07 14:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532696,"longitude_deg":75.664,"latitude_deg":11.9532696,"altitude":60,"angle":287,"satellites":39,"speed":6,"hex_longitude":"2d196900","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925550592001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426118369443840,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831628072800804864,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788771685000,"timestamp_ms":1788771685000,"timestamp_seconds":1788771685,"priority":1,"record_length":96,"hex_timestamp":"000001a07b19d288"} 
[2026-09-07 14: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-07 14:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-07 14:33:46] 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-07 14: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-07 14: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-07 14:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925550592001,"66":13167,"102":206,"83":41984,"24":6,"16":18426118369443840,"45":1831628072800804864},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925550592001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426118369443840,"km_value":18426118369443.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831628072800804864,"description":"Unknown IO ID 45"} 
[2026-09-07 14:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925550592001,"power":13167,"unknown_102":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1831628072800804864}} 
[2026-09-07 14:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":778999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:33:46] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:33:46] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:33:50] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:50] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:33:50] local.INFO: IMEI packet received {"connection_id":173697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":173697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:33:51] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:51] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:33:51] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:33:51] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:33:51] 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-07 14: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-07 14: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-07 14:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:33:51] 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-07 14:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:33:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:33:51] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:33:51] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:34:14] local.INFO: TCP Data received {"connection_id":176187,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:14] local.INFO: Processing buffer {"connection_id":176187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:14] local.INFO: IMEI packet received {"connection_id":176187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":176187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:34:17] local.INFO: TCP Data received {"connection_id":173454,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a2490012d196840071fecf8003d011f26..."} 
[2026-09-07 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a2490012d196840071fecf8003d011f26..."} 
[2026-09-07 14:34:17] local.INFO: Processing buffer {"connection_id":173454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a2490012d196840071fecf8003d011f26..."} 
[2026-09-07 14:34:17] local.INFO: Packet analysis {"connection_id":173454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:17] local.INFO: Extracted packet for processing {"connection_id":173454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925551360001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103187456,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788771706000,"timestamp_ms":1788771706000,"timestamp_seconds":1788771706,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a2490"} 
[2026-09-07 14: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-07 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-07 14:34:17] 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-07 14: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-07 14: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-07 14:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925551360001,"66":13102,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830994754103187456},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925551360001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103187456,"description":"Unknown IO ID 45"} 
[2026-09-07 14:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925551360001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103187456}} 
[2026-09-07 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":173454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:34:17] local.INFO: GPS data processed {"connection_id":173454,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:34:17] local.INFO: Acknowledgment sent {"connection_id":173454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:34:22] local.INFO: TCP Data received {"connection_id":173697,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:22] local.INFO: Processing buffer {"connection_id":173697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:22] local.INFO: Packet analysis {"connection_id":173697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:22] local.INFO: Extracted packet for processing {"connection_id":173697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:34:22] 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-07 14: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-07 14: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-07 14:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:34:22] 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-07 14:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:34:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":173697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:34:22] local.INFO: GPS data processed {"connection_id":173697,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:34:22] local.INFO: Acknowledgment sent {"connection_id":173697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:34:40] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:40] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:40] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:34:44] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:44] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:44] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:34:45] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:45] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:34:45] local.INFO: IMEI packet received {"connection_id":174807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:34:46] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a7698012d196840071fecf8003d011f29..."} 
[2026-09-07 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a7698012d196840071fecf8003d011f29..."} 
[2026-09-07 14:34:46] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a7698012d196840071fecf8003d011f29..."} 
[2026-09-07 14:34:46] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:46] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925556736001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788771727000,"timestamp_ms":1788771727000,"timestamp_seconds":1788771727,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a7698"} 
[2026-09-07 14: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-07 14:34: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-07 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 14:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925556736001,"66":13048,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925556736001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925556736001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:34:46] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:34:46] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:34:50] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:50] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:34:50] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:34:50] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:50] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:34:50] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:50] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:34:50] 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-07 14: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-07 14: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-07 14:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:34:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:34:50] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:34:50] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:34:52] local.INFO: TCP Data received {"connection_id":174808,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:52] local.INFO: Processing buffer {"connection_id":174808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:34:52] local.INFO: IMEI packet received {"connection_id":174808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":174808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:35:16] local.INFO: TCP Data received {"connection_id":174807,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1ac8a0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1ac8a0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:16] local.INFO: Processing buffer {"connection_id":174807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1ac8a0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:16] local.INFO: Packet analysis {"connection_id":174807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:16] local.INFO: Extracted packet for processing {"connection_id":174807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925562112001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35: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-07 14:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788771748000,"timestamp_ms":1788771748000,"timestamp_seconds":1788771748,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1ac8a0"} 
[2026-09-07 14: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-07 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":248,"data_length":795,"current_offset":136} 
[2026-09-07 14:35:16] 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-07 14: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-07 14: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-07 14:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925562112001,"66":13004,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925562112001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:35:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925562112001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":174807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:35:17] local.INFO: GPS data processed {"connection_id":174807,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:35:17] local.INFO: Acknowledgment sent {"connection_id":174807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:35:22] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:22] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:22] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:22] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:35:22] 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-07 14: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-07 14: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-07 14:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:35:22] 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-07 14:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:35:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:35:22] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:35:22] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:35:44] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:44] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:44] local.INFO: IMEI packet received {"connection_id":173699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":173699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:35:45] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:45] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:45] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:35:50] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:50] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:35:50] local.INFO: IMEI packet received {"connection_id":173699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":173699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:35:50] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:50] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:35:50] local.INFO: Packet analysis {"connection_id":173699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:50] local.INFO: Extracted packet for processing {"connection_id":173699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:35:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:35:50] 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-07 14:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:35:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":173699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:35:50] local.INFO: GPS data processed {"connection_id":173699,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:35:50] local.INFO: Acknowledgment sent {"connection_id":173699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:35:50] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:50] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:35:50] local.INFO: IMEI packet received {"connection_id":174809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":174809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:35:51] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1b1aa8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1b1aa8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:35:51] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1b1aa8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:35:51] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:35:51] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925567488001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35: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-07 14:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788771769000,"timestamp_ms":1788771769000,"timestamp_seconds":1788771769,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1b1aa8"} 
[2026-09-07 14: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-07 14:35: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-07 14: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":204,"data_length":795,"current_offset":136} 
[2026-09-07 14:35:51] 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-07 14: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-07 14: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-07 14:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925567488001,"66":12993,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925567488001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:35:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925567488001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:35:51] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:35:51] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:35:55] local.INFO: TCP Data received {"connection_id":174809,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1b6cb0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1b6cb0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:55] local.INFO: Processing buffer {"connection_id":174809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1b6cb0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:35:55] local.INFO: Packet analysis {"connection_id":174809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:35:55] local.INFO: Extracted packet for processing {"connection_id":174809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925572864001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14: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-07 14:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788771790000,"timestamp_ms":1788771790000,"timestamp_seconds":1788771790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1b6cb0"} 
[2026-09-07 14: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-07 14:35:55] 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-07 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-07 14:35:55] 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-07 14: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-07 14: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-07 14:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925572864001,"66":12972,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925572864001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925572864001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":174809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:35:55] local.INFO: GPS data processed {"connection_id":174809,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:35:55] local.INFO: Acknowledgment sent {"connection_id":174809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:36:21] local.INFO: TCP Data received {"connection_id":173699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:21] local.INFO: Processing buffer {"connection_id":173699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:21] local.INFO: Packet analysis {"connection_id":173699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:36:21] local.INFO: Extracted packet for processing {"connection_id":173699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:36: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-07 14:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:36:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":173699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:36:21] local.INFO: GPS data processed {"connection_id":173699,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:36:21] local.INFO: Acknowledgment sent {"connection_id":173699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:36:36] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:36] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:36] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:36:40] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:40] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:40] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:36:44] local.INFO: TCP Data received {"connection_id":174810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:44] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:44] local.INFO: IMEI packet received {"connection_id":174810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":174810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:36:45] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:45] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:36:45] local.INFO: IMEI packet received {"connection_id":176189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":176189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:36:46] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1bbeb8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1bbeb8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:36:46] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1bbeb8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:36:46] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:36:46] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1b"} 
[2026-09-07 14:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925578240001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788771811000,"timestamp_ms":1788771811000,"timestamp_seconds":1788771811,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1bbeb8"} 
[2026-09-07 14: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-07 14:36: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-07 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-07 14:36:46] 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-07 14: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-07 14: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-07 14:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925578240001,"66":13004,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925578240001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925578240001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:36:46] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:36:46] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:36:50] local.INFO: TCP Data received {"connection_id":174810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:50] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:36:50] local.INFO: IMEI packet received {"connection_id":174810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:36:50] local.INFO: TCP Data received {"connection_id":174810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:50] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1a0168012cc1db8007572818003f015b2c..."} 
[2026-09-07 14:36:50] local.INFO: Packet analysis {"connection_id":174810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:36:50] local.INFO: Extracted packet for processing {"connection_id":174810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1a"} 
[2026-09-07 14:36:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":63,"angle":347,"satellites":44,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925476608001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474530304,"note":"Value kept but may cause issues"} 
[2026-09-07 14:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771697000,"timestamp_ms":1788771697000,"timestamp_seconds":1788771697,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1a0168"} 
[2026-09-07 14: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-07 14:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:36:50] 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-07 14: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-07 14: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-07 14:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925476608001,"66":26517,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474530304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925476608001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:36:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474530304,"description":"Unknown IO ID 44"} 
[2026-09-07 14:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925476608001,"power":26517,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474530304}} 
[2026-09-07 14:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":174810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:36:50] local.INFO: GPS data processed {"connection_id":174810,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:36:50] local.INFO: Acknowledgment sent {"connection_id":174810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:37:17] local.INFO: TCP Data received {"connection_id":176189,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1c10c0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1c10c0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:37:17] local.INFO: Processing buffer {"connection_id":176189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1c10c0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:37:17] local.INFO: Packet analysis {"connection_id":176189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:37:17] local.INFO: Extracted packet for processing {"connection_id":176189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925583616001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788771832000,"timestamp_ms":1788771832000,"timestamp_seconds":1788771832,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1c10c0"} 
[2026-09-07 14: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-07 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-07 14:37:17] 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-07 14: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-07 14: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-07 14:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925583616001,"66":12972,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925583616001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925583616001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":176189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:37:17] local.INFO: GPS data processed {"connection_id":176189,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:37:17] local.INFO: Acknowledgment sent {"connection_id":176189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:37:21] local.INFO: TCP Data received {"connection_id":174810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:21] local.INFO: Processing buffer {"connection_id":174810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:21] local.INFO: Packet analysis {"connection_id":174810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:37:21] local.INFO: Extracted packet for processing {"connection_id":174810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:37: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-07 14:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:37:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":174810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:37:21] local.INFO: GPS data processed {"connection_id":174810,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:37:21] local.INFO: Acknowledgment sent {"connection_id":174810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:37:39] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:39] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:39] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:37:40] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:40] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:40] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:37:45] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:45] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:45] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:37:46] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:46] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:37:46] local.INFO: IMEI packet received {"connection_id":176190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":176190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:37:47] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1c62c8012d196840071fecf8003d011f25..."} 
[2026-09-07 14:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1c62c8012d196840071fecf8003d011f25..."} 
[2026-09-07 14:37:47] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1c62c8012d196840071fecf8003d011f25..."} 
[2026-09-07 14:37:47] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:37:47] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925588992001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37: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-07 14:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788771853000,"timestamp_ms":1788771853000,"timestamp_seconds":1788771853,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1c62c8"} 
[2026-09-07 14: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-07 14:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-07 14:37:47] 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-07 14: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-07 14: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-07 14:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925588992001,"66":12863,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925588992001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:37:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925588992001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:37:47] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:37:47] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:37:50] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:50] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:37:50] local.INFO: IMEI packet received {"connection_id":174811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":174811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:37:50] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:50] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:37:50] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:37:50] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14: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-07 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:37:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:37:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:37:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:37:50] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:37:50] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:38:18] local.INFO: TCP Data received {"connection_id":176190,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1cb4d0012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1cb4d0012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:18] local.INFO: Processing buffer {"connection_id":176190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1cb4d0012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:18] local.INFO: Packet analysis {"connection_id":176190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:38:18] local.INFO: Extracted packet for processing {"connection_id":176190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1c"} 
[2026-09-07 14:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925594368001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38: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-07 14:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788771874000,"timestamp_ms":1788771874000,"timestamp_seconds":1788771874,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1cb4d0"} 
[2026-09-07 14:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 14:38:18] 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-07 14:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925594368001,"66":12917,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925594368001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925594368001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":176190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:38:18] local.INFO: GPS data processed {"connection_id":176190,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:38:18] local.INFO: Acknowledgment sent {"connection_id":176190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:38:21] local.INFO: TCP Data received {"connection_id":174811,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:21] local.INFO: Processing buffer {"connection_id":174811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:21] local.INFO: Packet analysis {"connection_id":174811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:38:21] local.INFO: Extracted packet for processing {"connection_id":174811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:38:21] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14: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-07 14:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:38: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-07 14:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:38:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":174811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:38:21] local.INFO: GPS data processed {"connection_id":174811,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:38:21] local.INFO: Acknowledgment sent {"connection_id":174811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:38:40] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:40] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:40] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:38:43] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:43] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:43] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:38:44] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:44] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:44] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:38:45] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:45] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:38:45] local.INFO: IMEI packet received {"connection_id":176191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":176191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:38:46] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1d06d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1d06d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:46] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1d06d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:38:46] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:38:46] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925599744001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788771895000,"timestamp_ms":1788771895000,"timestamp_seconds":1788771895,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1d06d8"} 
[2026-09-07 14: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-07 14:38: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-07 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 14:38:46] 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-07 14: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-07 14: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-07 14:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925599744001,"66":12874,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925599744001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925599744001,"power":12874,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:38:46] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:38:46] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:38:50] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:50] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:38:50] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:38:50] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:50] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:38:50] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:38:50] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14: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-07 14:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:38:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:38:50] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:38:50] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:38:51] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1d58e0012d196840071fecf8003d011f26..."} 
[2026-09-07 14:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1d58e0012d196840071fecf8003d011f26..."} 
[2026-09-07 14:38:51] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1d58e0012d196840071fecf8003d011f26..."} 
[2026-09-07 14:38:51] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:38:51] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925605120001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:38: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-07 14:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788771916000,"timestamp_ms":1788771916000,"timestamp_seconds":1788771916,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1d58e0"} 
[2026-09-07 14: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-07 14:38: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-07 14: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 14:38:51] 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-07 14: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-07 14: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-07 14:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925605120001,"66":12863,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925605120001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:38:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925605120001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:38:51] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:38:51] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:39:21] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:21] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:21] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:39:21] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14: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-07 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:39: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-07 14:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:39:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:39:21] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:39:21] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:39:22] local.INFO: TCP Data received {"connection_id":176191,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1daae8012d196840071fecf8003d011f22..."} 
[2026-09-07 14:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1daae8012d196840071fecf8003d011f22..."} 
[2026-09-07 14:39:22] local.INFO: Processing buffer {"connection_id":176191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1daae8012d196840071fecf8003d011f22..."} 
[2026-09-07 14:39:22] local.INFO: Packet analysis {"connection_id":176191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:39:22] local.INFO: Extracted packet for processing {"connection_id":176191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:39: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-07 14:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925610496001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39: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-07 14:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788771937000,"timestamp_ms":1788771937000,"timestamp_seconds":1788771937,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1daae8"} 
[2026-09-07 14:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:39: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-07 14:39: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-07 14:39: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-07 14:39: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-07 14:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925610496001,"66":12863,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925610496001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:39:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:39:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925610496001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":176191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:39:22] local.INFO: GPS data processed {"connection_id":176191,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:39:22] local.INFO: Acknowledgment sent {"connection_id":176191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:39:41] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:41] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:41] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:39:44] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:44] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:44] local.INFO: IMEI packet received {"connection_id":174813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":174813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:39:45] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:45] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:39:45] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:39:46] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1dfcf0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1dfcf0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:39:46] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1dfcf0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:39:46] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:39:46] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1d"} 
[2026-09-07 14:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925615872001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788771958000,"timestamp_ms":1788771958000,"timestamp_seconds":1788771958,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1dfcf0"} 
[2026-09-07 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-07 14:39: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-07 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-07 14:39:46] 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-07 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-07 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-07 14:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925615872001,"66":12841,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925615872001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925615872001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:39:46] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:39:46] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:39:50] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:50] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:39:50] local.INFO: IMEI packet received {"connection_id":174813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":174813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:39:51] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:51] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e9930012cc1db8007572818004a015b2a..."} 
[2026-09-07 14:39:51] local.INFO: Packet analysis {"connection_id":174813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:39:51] local.INFO: Extracted packet for processing {"connection_id":174813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925554432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788771998000,"timestamp_ms":1788771998000,"timestamp_seconds":1788771998,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e9930"} 
[2026-09-07 14:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 14:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:39:51] 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-07 14:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925554432001,"66":26267,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925554432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:39:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925554432001,"power":26267,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":174813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:39:51] local.INFO: GPS data processed {"connection_id":174813,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:39:51] local.INFO: Acknowledgment sent {"connection_id":174813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:40:12] local.INFO: TCP Data received {"connection_id":173704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:40:12] local.INFO: Processing buffer {"connection_id":173704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:40:12] local.INFO: IMEI packet received {"connection_id":173704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":173704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:40:17] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1e4ef8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1e4ef8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:40:17] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1e4ef8012d196840071fecf8003d011f27..."} 
[2026-09-07 14:40:17] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:40:17] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925621248001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788771979000,"timestamp_ms":1788771979000,"timestamp_seconds":1788771979,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1e4ef8"} 
[2026-09-07 14: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-07 14:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 14:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925621248001,"66":12841,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925621248001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925621248001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:40:17] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:40:17] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:40:22] local.INFO: TCP Data received {"connection_id":174813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b215850012cc1db8007572818004a015b29..."} 
[2026-09-07 14:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b215850012cc1db8007572818004a015b29..."} 
[2026-09-07 14:40:22] local.INFO: Processing buffer {"connection_id":174813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b215850012cc1db8007572818004a015b29..."} 
[2026-09-07 14:40:22] local.INFO: Packet analysis {"connection_id":174813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b21"} 
[2026-09-07 14:40:22] local.INFO: Extracted packet for processing {"connection_id":174813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b21"} 
[2026-09-07 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152408,"longitude_deg":75.0902144,"latitude_deg":12.3152408,"altitude":74,"angle":347,"satellites":41,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572818","is_valid_coordinates":true} 
[2026-09-07 14:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925631488001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507321085165568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788772178000,"timestamp_ms":1788772178000,"timestamp_seconds":1788772178,"priority":1,"record_length":96,"hex_timestamp":"000001a07b215850"} 
[2026-09-07 14: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-07 14:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 14: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 14:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:40:22] 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-07 14:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925631488001,"66":26158,"103":206,"85":37120,"24":0,"16":401507321085165568,"44":-4477844635474454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925631488001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:40:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507321085165568,"km_value":401507321085165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925631488001,"power":26158,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":174813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:40:22] local.INFO: GPS data processed {"connection_id":174813,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:40:22] local.INFO: Acknowledgment sent {"connection_id":174813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:40:40] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:40] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:40] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:40:44] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:44] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:44] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:40:45] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:45] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:40:45] local.INFO: IMEI packet received {"connection_id":176192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:40:46] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1ea100012d196840071fecf8003d011f28..."} 
[2026-09-07 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1ea100012d196840071fecf8003d011f28..."} 
[2026-09-07 14:40:46] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1ea100012d196840071fecf8003d011f28..."} 
[2026-09-07 14:40:46] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:40:46] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925626624001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772000000,"timestamp_ms":1788772000000,"timestamp_seconds":1788772000,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1ea100"} 
[2026-09-07 14: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-07 14:40: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-07 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 14:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925626624001,"66":12558,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925626624001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925626624001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:40:46] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:40:46] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:40:49] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:49] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:40:49] local.INFO: IMEI packet received {"connection_id":173455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":173455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:40:50] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b21b610012cc1d38007573690004b015b2b..."} 
[2026-09-07 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b21b610012cc1d38007573690004b015b2b..."} 
[2026-09-07 14:40:50] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b21b610012cc1d38007573690004b015b2b..."} 
[2026-09-07 14:40:50] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b21"} 
[2026-09-07 14:40:50] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b21"} 
[2026-09-07 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":750900096,"raw_latitude":123156112,"longitude_deg":75.0900096,"latitude_deg":12.3156112,"altitude":75,"angle":347,"satellites":43,"speed":0,"hex_longitude":"2cc1d380","hex_latitude":"07573690","is_valid_coordinates":true} 
[2026-09-07 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925677568001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507372624773120,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474454528,"note":"Value kept but may cause issues"} 
[2026-09-07 14:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788772202000,"timestamp_ms":1788772202000,"timestamp_seconds":1788772202,"priority":1,"record_length":96,"hex_timestamp":"000001a07b21b610"} 
[2026-09-07 14:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 14:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:40:50] 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-07 14:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925677568001,"66":27843,"103":206,"85":37120,"24":0,"16":401507372624773120,"44":-4477844635474454528},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925677568001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:40:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507372624773120,"km_value":401507372624773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474454528,"description":"Unknown IO ID 44"} 
[2026-09-07 14:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925677568001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474454528}} 
[2026-09-07 14:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:40:50] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:40:50] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:41:17] local.INFO: TCP Data received {"connection_id":176192,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1ef308012d196840071fecf8003d011f26..."} 
[2026-09-07 14:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1ef308012d196840071fecf8003d011f26..."} 
[2026-09-07 14:41:17] local.INFO: Processing buffer {"connection_id":176192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1ef308012d196840071fecf8003d011f26..."} 
[2026-09-07 14:41:17] local.INFO: Packet analysis {"connection_id":176192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:41:17] local.INFO: Extracted packet for processing {"connection_id":176192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1e"} 
[2026-09-07 14:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925632000001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772021000,"timestamp_ms":1788772021000,"timestamp_seconds":1788772021,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1ef308"} 
[2026-09-07 14:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:41:17] local.INFO: IO Element 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-07 14:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,118,160,78,45,64,236,61,39,10,66,252,170,1,240,63,227,123,31,4,113,205,6,104,248,40,239,50,2,65,7,120,81,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 14:41:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828967949467648,"timestamp_seconds":4395828967949467.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925632000001,"66":12798,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925632000001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925632000001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":176192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:41:17] local.INFO: GPS data processed {"connection_id":176192,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:41:17] local.INFO: Acknowledgment sent {"connection_id":176192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:41:21] local.INFO: TCP Data received {"connection_id":173455,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b220818012cc1d38007573690004b015b2a..."} 
[2026-09-07 14:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b220818012cc1d38007573690004b015b2a..."} 
[2026-09-07 14:41:21] local.INFO: Processing buffer {"connection_id":173455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b220818012cc1d38007573690004b015b2a..."} 
[2026-09-07 14:41:21] local.INFO: Packet analysis {"connection_id":173455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:21] local.INFO: Extracted packet for processing {"connection_id":173455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:21] local.INFO: GPS Element Parsed {"raw_longitude":750900096,"raw_latitude":123156112,"longitude_deg":75.0900096,"latitude_deg":12.3156112,"altitude":75,"angle":347,"satellites":42,"speed":0,"hex_longitude":"2cc1d380","hex_latitude":"07573690","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925683712001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507372624773120,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4480096435287191552,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788772223000,"timestamp_ms":1788772223000,"timestamp_seconds":1788772223,"priority":1,"record_length":96,"hex_timestamp":"000001a07b220818"} 
[2026-09-07 14: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-07 14:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 14:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41: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-07 14:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925683712001,"66":27658,"103":206,"85":37120,"24":0,"16":401507372624773120,"44":-4480096435287191552},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925683712001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:41:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507372624773120,"km_value":401507372624773.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4480096435287191552,"description":"Unknown IO ID 44"} 
[2026-09-07 14:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925683712001,"power":27658,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4480096435287191552}} 
[2026-09-07 14:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":173455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:41:21] local.INFO: GPS data processed {"connection_id":173455,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:41:21] local.INFO: Acknowledgment sent {"connection_id":173455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:41:40] local.INFO: TCP Data received {"connection_id":174814,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:40] local.INFO: Processing buffer {"connection_id":174814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:40] local.INFO: IMEI packet received {"connection_id":174814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":174814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:41:45] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:41:45] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:45] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:41:46] local.INFO: TCP Data received {"connection_id":174814,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:46] local.INFO: Processing buffer {"connection_id":174814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:41:46] local.INFO: IMEI packet received {"connection_id":174814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:41:47] local.INFO: TCP Data received {"connection_id":174814,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1f4510012d196840071fecf8003d011f24..."} 
[2026-09-07 14:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1f4510012d196840071fecf8003d011f24..."} 
[2026-09-07 14:41:47] local.INFO: Processing buffer {"connection_id":174814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1f4510012d196840071fecf8003d011f24..."} 
[2026-09-07 14:41:47] local.INFO: Packet analysis {"connection_id":174814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:41:47] local.INFO: Extracted packet for processing {"connection_id":174814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925637376001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41: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-07 14:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788772042000,"timestamp_ms":1788772042000,"timestamp_seconds":1788772042,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1f4510"} 
[2026-09-07 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-07 14:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 14:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925637376001,"66":12798,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925637376001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:41:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:41:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925637376001,"power":12798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":174814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:41:47] local.INFO: GPS data processed {"connection_id":174814,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:41:47] local.INFO: Acknowledgment sent {"connection_id":174814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:41:50] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:50] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:41:50] local.INFO: IMEI packet received {"connection_id":174815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":174815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:41:51] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b220fe8012cc1d5c007573578004600932b..."} 
[2026-09-07 14:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b220fe8012cc1d5c007573578004600932b..."} 
[2026-09-07 14:41:51] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b220fe8012cc1d5c007573578004600932b..."} 
[2026-09-07 14:41:51] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:51] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:51] local.INFO: GPS Element Parsed {"raw_longitude":750900672,"raw_latitude":123155832,"longitude_deg":75.0900672,"latitude_deg":12.3155832,"altitude":70,"angle":147,"satellites":43,"speed":6,"hex_longitude":"2cc1d5c0","hex_latitude":"07573578","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925689088001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507402689544192,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4480096435287191552,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788772225000,"timestamp_ms":1788772225000,"timestamp_seconds":1788772225,"priority":1,"record_length":96,"hex_timestamp":"000001a07b220fe8"} 
[2026-09-07 14: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-07 14:41: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-07 14: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 14:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41:51] 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-07 14:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925689088001,"66":27843,"103":206,"85":37120,"24":6,"16":401507402689544192,"44":-4480096435287191552},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925689088001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:41:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507402689544192,"km_value":401507402689544.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4480096435287191552,"description":"Unknown IO ID 44"} 
[2026-09-07 14:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925689088001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4480096435287191552}} 
[2026-09-07 14:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:41:51] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:41:51] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:41:55] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2213d0012cc1d640075734e0004700ac2b..."} 
[2026-09-07 14:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2213d0012cc1d640075734e0004700ac2b..."} 
[2026-09-07 14:41:55] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2213d0012cc1d640075734e0004700ac2b..."} 
[2026-09-07 14:41:55] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:55] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":750900800,"raw_latitude":123155680,"longitude_deg":75.09008,"latitude_deg":12.315568,"altitude":71,"angle":172,"satellites":43,"speed":8,"hex_longitude":"2cc1d640","hex_latitude":"075734e0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925689600001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507411279478784,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479463116589664256,"note":"Value kept but may cause issues"} 
[2026-09-07 14:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788772226000,"timestamp_ms":1788772226000,"timestamp_seconds":1788772226,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2213d0"} 
[2026-09-07 14: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-07 14:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 14:41:55] 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-07 14: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-07 14: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-07 14:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:41:55] 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-07 14:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925689600001,"66":27843,"103":206,"85":37120,"24":8,"16":401507411279478784,"44":-4479463116589664256},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 14:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925689600001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:41:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 14:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507411279478784,"km_value":401507411279478.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479463116589664256,"description":"Unknown IO ID 44"} 
[2026-09-07 14:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925689600001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4479463116589664256}} 
[2026-09-07 14:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:41:55] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:41:55] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:42:18] local.INFO: TCP Data received {"connection_id":174814,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1f9718012d196840071fecf8003d011f26..."} 
[2026-09-07 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1f9718012d196840071fecf8003d011f26..."} 
[2026-09-07 14:42:18] local.INFO: Processing buffer {"connection_id":174814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1f9718012d196840071fecf8003d011f26..."} 
[2026-09-07 14:42:18] local.INFO: Packet analysis {"connection_id":174814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:42:18] local.INFO: Extracted packet for processing {"connection_id":174814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925642752001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42: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-07 14:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788772063000,"timestamp_ms":1788772063000,"timestamp_seconds":1788772063,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1f9718"} 
[2026-09-07 14:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-07 14:42:18] 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-07 14:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925642752001,"66":12776,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925642752001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:42:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925642752001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":174814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:42:18] local.INFO: GPS data processed {"connection_id":174814,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:42:18] local.INFO: Acknowledgment sent {"connection_id":174814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:42:26] local.INFO: TCP Data received {"connection_id":174815,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b223310012cc1da4007572a38003f00a02b..."} 
[2026-09-07 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b223310012cc1da4007572a38003f00a02b..."} 
[2026-09-07 14:42:26] local.INFO: Processing buffer {"connection_id":174815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b223310012cc1da4007572a38003f00a02b..."} 
[2026-09-07 14:42:26] local.INFO: Packet analysis {"connection_id":174815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:42:26] local.INFO: Extracted packet for processing {"connection_id":174815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b22"} 
[2026-09-07 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152952,"longitude_deg":75.0901824,"latitude_deg":12.3152952,"altitude":63,"angle":160,"satellites":43,"speed":6,"hex_longitude":"2cc1da40","hex_latitude":"07572a38","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925689856001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401507557308366848,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4479322379101347840,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788772234000,"timestamp_ms":1788772234000,"timestamp_seconds":1788772234,"priority":1,"record_length":96,"hex_timestamp":"000001a07b223310"} 
[2026-09-07 14: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-07 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 14:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:42:26] 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-07 14:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925689856001,"66":27800,"83":206,"85":37120,"24":6,"16":401507557308366848,"44":-4479322379101347840},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925689856001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401507557308366848,"km_value":401507557308366.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4479322379101347840,"description":"Unknown IO ID 44"} 
[2026-09-07 14:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925689856001,"power":27800,"unknown_83":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4479322379101347840}} 
[2026-09-07 14:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":174815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:42:26] local.INFO: GPS data processed {"connection_id":174815,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:42:26] local.INFO: Acknowledgment sent {"connection_id":174815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:42:45] local.INFO: TCP Data received {"connection_id":173456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:45] local.INFO: Processing buffer {"connection_id":173456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:45] local.INFO: IMEI packet received {"connection_id":173456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:42:48] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:48] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:48] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:42:50] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:50] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:50] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:42:50] local.INFO: TCP Data received {"connection_id":173456,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:50] local.INFO: Processing buffer {"connection_id":173456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:42:50] local.INFO: IMEI packet received {"connection_id":173456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":173456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:42:51] local.INFO: TCP Data received {"connection_id":173456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b1fe920012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b1fe920012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:51] local.INFO: Processing buffer {"connection_id":173456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b1fe920012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:51] local.INFO: Packet analysis {"connection_id":173456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:42:51] local.INFO: Extracted packet for processing {"connection_id":173456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b1f"} 
[2026-09-07 14:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925648128001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42: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-07 14:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788772084000,"timestamp_ms":1788772084000,"timestamp_seconds":1788772084,"priority":1,"record_length":96,"hex_timestamp":"000001a07b1fe920"} 
[2026-09-07 14: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-07 14:42: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-07 14: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-07 14:42: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-07 14: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-07 14: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-07 14:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925648128001,"66":12645,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925648128001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:42:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925648128001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":173456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:42:51] local.INFO: GPS data processed {"connection_id":173456,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:42:51] local.INFO: Acknowledgment sent {"connection_id":173456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:42:55] local.INFO: TCP Data received {"connection_id":173456,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b203b28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b203b28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:55] local.INFO: Processing buffer {"connection_id":173456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b203b28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:42:55] local.INFO: Packet analysis {"connection_id":173456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b20"} 
[2026-09-07 14:42:55] local.INFO: Extracted packet for processing {"connection_id":173456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b20"} 
[2026-09-07 14:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925653504001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14: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-07 14:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788772105000,"timestamp_ms":1788772105000,"timestamp_seconds":1788772105,"priority":1,"record_length":96,"hex_timestamp":"000001a07b203b28"} 
[2026-09-07 14: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-07 14:42:55] 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-07 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 14:42:55] 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-07 14: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-07 14: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-07 14:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925653504001,"66":12765,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925653504001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925653504001,"power":12765,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:42:55] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:55] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:42:55] local.INFO: IMEI packet received {"connection_id":176194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":176194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":173456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:42:55] local.INFO: GPS data processed {"connection_id":173456,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:42:55] local.INFO: Acknowledgment sent {"connection_id":173456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:42:56] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b239688012cc270c007569f980014008827..."} 
[2026-09-07 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b239688012cc270c007569f980014008827..."} 
[2026-09-07 14:42:56] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b239688012cc270c007569f980014008827..."} 
[2026-09-07 14:42:56] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:42:56] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:42:56] local.INFO: GPS Element Parsed {"raw_longitude":750940352,"raw_latitude":123117464,"longitude_deg":75.0940352,"latitude_deg":12.3117464,"altitude":20,"angle":136,"satellites":39,"speed":27,"hex_longitude":"2cc270c0","hex_latitude":"07569f98","is_valid_coordinates":true} 
[2026-09-07 14:42: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-07 14:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925711360001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401510095634038784,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4444419481997918208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788772325000,"timestamp_ms":1788772325000,"timestamp_seconds":1788772325,"priority":1,"record_length":96,"hex_timestamp":"000001a07b239688"} 
[2026-09-07 14:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:42:56] 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-07 14:42: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-07 14:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:42:56] 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-07 14:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925711360001,"66":27800,"83":206,"85":37120,"24":27,"16":401510095634038784,"44":-4444419481997918208},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925711360001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401510095634038784,"km_value":401510095634038.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4444419481997918208,"description":"Unknown IO ID 44"} 
[2026-09-07 14:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925711360001,"power":27800,"unknown_83":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4444419481997918208}} 
[2026-09-07 14:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:42:56] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:42:56] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:43:27] local.INFO: TCP Data received {"connection_id":176194,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b23adf8012cc279c0075692e00014009927..."} 
[2026-09-07 14:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b23adf8012cc279c0075692e00014009927..."} 
[2026-09-07 14:43:27] local.INFO: Processing buffer {"connection_id":176194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b23adf8012cc279c0075692e00014009927..."} 
[2026-09-07 14:43:27] local.INFO: Packet analysis {"connection_id":176194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:27] local.INFO: Extracted packet for processing {"connection_id":176194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:27] local.INFO: GPS Element Parsed {"raw_longitude":750942656,"raw_latitude":123114208,"longitude_deg":75.0942656,"latitude_deg":12.3114208,"altitude":20,"angle":153,"satellites":39,"speed":27,"hex_longitude":"2cc279c0","hex_latitude":"075692e0","is_valid_coordinates":true} 
[2026-09-07 14:43: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-07 14:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925715200001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401510293202534400,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4435834495209334784,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788772331000,"timestamp_ms":1788772331000,"timestamp_seconds":1788772331,"priority":1,"record_length":96,"hex_timestamp":"000001a07b23adf8"} 
[2026-09-07 14:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 14:43:27] 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-07 14:43: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-07 14:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:43:27] 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-07 14:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925715200001,"66":27691,"83":206,"85":37120,"24":27,"16":401510293202534400,"44":-4435834495209334784},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,44]} 
[2026-09-07 14:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925715200001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-09-07 14:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401510293202534400,"km_value":401510293202534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4435834495209334784,"description":"Unknown IO ID 44"} 
[2026-09-07 14:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925715200001,"power":27691,"unknown_83":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4435834495209334784}} 
[2026-09-07 14:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":176194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:43:27] local.INFO: GPS data processed {"connection_id":176194,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:43:27] local.INFO: Acknowledgment sent {"connection_id":176194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:43:36] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:36] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:36] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:43:40] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:40] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:40] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:43:44] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:44] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:44] local.INFO: IMEI packet received {"connection_id":174817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":174817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:43:45] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:45] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:43:45] local.INFO: IMEI packet received {"connection_id":173458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":173458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:43:46] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b23c180012d196840071fecf8003d011f28..."} 
[2026-09-07 14:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b23c180012d196840071fecf8003d011f28..."} 
[2026-09-07 14:43:46] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b23c180012d196840071fecf8003d011f28..."} 
[2026-09-07 14:43:46] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:46] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925712640001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772336000,"timestamp_ms":1788772336000,"timestamp_seconds":1788772336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b23c180"} 
[2026-09-07 14: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-07 14:43: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-07 14: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 14:43:46] 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-07 14: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-07 14: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-07 14:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925712640001,"66":12613,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925712640001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925712640001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:43:46] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:43:46] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:43:50] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:50] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:43:50] local.INFO: IMEI packet received {"connection_id":174817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":174817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:43:50] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b23d8f0012cc28c40075674d80014009226..."} 
[2026-09-07 14:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b23d8f0012cc28c40075674d80014009226..."} 
[2026-09-07 14:43:50] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b23d8f0012cc28c40075674d80014009226..."} 
[2026-09-07 14:43:50] local.INFO: Packet analysis {"connection_id":174817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:50] local.INFO: Extracted packet for processing {"connection_id":174817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b23"} 
[2026-09-07 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750947392,"raw_latitude":123106520,"longitude_deg":75.0947392,"latitude_deg":12.310652,"altitude":20,"angle":146,"satellites":38,"speed":33,"hex_longitude":"2cc28c40","hex_latitude":"075674d8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925716736001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401510726994231296,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4433301220419772416,"note":"Value kept but may cause issues"} 
[2026-09-07 14:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788772342000,"timestamp_ms":1788772342000,"timestamp_seconds":1788772342,"priority":1,"record_length":96,"hex_timestamp":"000001a07b23d8f0"} 
[2026-09-07 14: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-07 14:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 14:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:43:50] 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-07 14:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925716736001,"66":28050,"84":206,"85":37120,"24":33,"16":401510726994231296,"44":-4433301220419772416},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-07 14:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925716736001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:43:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 14:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401510726994231296,"km_value":401510726994231.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4433301220419772416,"description":"Unknown IO ID 44"} 
[2026-09-07 14:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925716736001,"power":28050,"unknown_84":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4433301220419772416}} 
[2026-09-07 14:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":174817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:43:50] local.INFO: GPS data processed {"connection_id":174817,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:43:50] local.INFO: Acknowledgment sent {"connection_id":174817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:44:17] local.INFO: TCP Data received {"connection_id":173458,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b241388012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b241388012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:17] local.INFO: Processing buffer {"connection_id":173458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b241388012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:17] local.INFO: Packet analysis {"connection_id":173458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:17] local.INFO: Extracted packet for processing {"connection_id":173458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925718016001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772357000,"timestamp_ms":1788772357000,"timestamp_seconds":1788772357,"priority":1,"record_length":96,"hex_timestamp":"000001a07b241388"} 
[2026-09-07 14: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-07 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-07 14:44:17] 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-07 14: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-07 14: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-07 14:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925718016001,"66":12613,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925718016001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925718016001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":173458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:44:17] local.INFO: GPS data processed {"connection_id":173458,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:44:17] local.INFO: Acknowledgment sent {"connection_id":173458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:44:22] local.INFO: TCP Data received {"connection_id":174817,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2407d0012cc2a30007565730001600942a..."} 
[2026-09-07 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2407d0012cc2a30007565730001600942a..."} 
[2026-09-07 14:44:22] local.INFO: Processing buffer {"connection_id":174817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2407d0012cc2a30007565730001600942a..."} 
[2026-09-07 14:44:22] local.INFO: Packet analysis {"connection_id":174817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:22] local.INFO: Extracted packet for processing {"connection_id":174817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":750953216,"raw_latitude":123098928,"longitude_deg":75.0953216,"latitude_deg":12.3098928,"altitude":22,"angle":148,"satellites":42,"speed":28,"hex_longitude":"2cc2a300","hex_latitude":"07565730","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925719552001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401511186555731968,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4428093933352593408,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788772354000,"timestamp_ms":1788772354000,"timestamp_seconds":1788772354,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2407d0"} 
[2026-09-07 14: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-07 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 14:44:22] 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-07 14: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-07 14: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-07 14:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:44:22] 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-07 14:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925719552001,"66":27865,"84":206,"85":37120,"24":28,"16":401511186555731968,"44":-4428093933352593408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-07 14:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925719552001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:44:22] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 14:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401511186555731968,"km_value":401511186555731.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4428093933352593408,"description":"Unknown IO ID 44"} 
[2026-09-07 14:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925719552001,"power":27865,"unknown_84":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4428093933352593408}} 
[2026-09-07 14:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":174817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:44:22] local.INFO: GPS data processed {"connection_id":174817,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:44:22] local.INFO: Acknowledgment sent {"connection_id":174817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:44:39] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:39] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:39] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:44:40] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:40] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:40] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:44:45] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:45] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:44:45] local.INFO: IMEI packet received {"connection_id":174819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":174819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:44:46] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b246590012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b246590012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:46] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b246590012d196840071fecf8003d011f28..."} 
[2026-09-07 14:44:46] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:46] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925723392001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772378000,"timestamp_ms":1788772378000,"timestamp_seconds":1788772378,"priority":1,"record_length":96,"hex_timestamp":"000001a07b246590"} 
[2026-09-07 14: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-07 14:44: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-07 14: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-07 14:44:46] 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-07 14: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-07 14: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-07 14:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925723392001,"66":12602,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925723392001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925723392001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:44:46] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:44:46] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:44:49] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:44:49] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:49] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:44:56] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:56] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:44:56] local.INFO: IMEI packet received {"connection_id":173460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":173460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:44:58] local.INFO: TCP Data received {"connection_id":173460,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2436b0012cc2b240075637f80012009d2a..."} 
[2026-09-07 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2436b0012cc2b240075637f80012009d2a..."} 
[2026-09-07 14:44:58] local.INFO: Processing buffer {"connection_id":173460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2436b0012cc2b240075637f80012009d2a..."} 
[2026-09-07 14:44:58] local.INFO: Packet analysis {"connection_id":173460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:58] local.INFO: Extracted packet for processing {"connection_id":173460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:44:58] local.INFO: GPS Element Parsed {"raw_longitude":750957120,"raw_latitude":123090936,"longitude_deg":75.095712,"latitude_deg":12.3090936,"altitude":18,"angle":157,"satellites":42,"speed":26,"hex_longitude":"2cc2b240","hex_latitude":"075637f8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925722624001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401511616052461568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421690377634369536,"note":"Value kept but may cause issues"} 
[2026-09-07 14:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788772366000,"timestamp_ms":1788772366000,"timestamp_seconds":1788772366,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2436b0"} 
[2026-09-07 14: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-07 14:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:44:58] 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-07 14:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925722624001,"66":27865,"84":206,"85":37120,"24":26,"16":401511616052461568,"44":-4421690377634369536},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-09-07 14:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925722624001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:44:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 14:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401511616052461568,"km_value":401511616052461.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421690377634369536,"description":"Unknown IO ID 44"} 
[2026-09-07 14:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925722624001,"power":27865,"unknown_84":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4421690377634369536}} 
[2026-09-07 14:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":173460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:44:58] local.INFO: GPS data processed {"connection_id":173460,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:44:58] local.INFO: Acknowledgment sent {"connection_id":173460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:45:17] local.INFO: TCP Data received {"connection_id":174819,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b24b798012d196840071fecf8003d011f28..."} 
[2026-09-07 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b24b798012d196840071fecf8003d011f28..."} 
[2026-09-07 14:45:17] local.INFO: Processing buffer {"connection_id":174819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b24b798012d196840071fecf8003d011f28..."} 
[2026-09-07 14:45:17] local.INFO: Packet analysis {"connection_id":174819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:45:17] local.INFO: Extracted packet for processing {"connection_id":174819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b24"} 
[2026-09-07 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925728768001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772399000,"timestamp_ms":1788772399000,"timestamp_seconds":1788772399,"priority":1,"record_length":96,"hex_timestamp":"000001a07b24b798"} 
[2026-09-07 14: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-07 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-07 14:45:17] 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-07 14: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-07 14: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-07 14:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925728768001,"66":12591,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925728768001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925728768001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":174819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:45:17] local.INFO: GPS data processed {"connection_id":174819,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:45:17] local.INFO: Acknowledgment sent {"connection_id":174819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:45:40] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:40] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:40] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:45:42] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:42] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:42] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:45:45] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:45] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:45:45] local.INFO: IMEI packet received {"connection_id":173461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":173461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:45:46] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2509a0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2509a0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:45:46] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2509a0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:45:46] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:45:46] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925734144001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772420000,"timestamp_ms":1788772420000,"timestamp_seconds":1788772420,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2509a0"} 
[2026-09-07 14:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:45: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-07 14:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 14:45:46] 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-07 14:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925734144001,"66":12526,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925734144001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925734144001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:45:46] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:45:46] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:45:48] local.INFO: TCP Data received {"connection_id":174820,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:45:48] local.INFO: Processing buffer {"connection_id":174820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:45:48] local.INFO: IMEI packet received {"connection_id":174820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:45:49] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:45:49] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:45:49] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:45:50] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.51","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:45:50] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:45:50] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:45:50] local.INFO: TCP Data received {"connection_id":176195,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:45:50] local.INFO: Processing buffer {"connection_id":176195,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:45:50] local.INFO: IMEI packet received {"connection_id":176195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":176195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:46:17] local.INFO: TCP Data received {"connection_id":173461,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b255ba8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b255ba8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:46:17] local.INFO: Processing buffer {"connection_id":173461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b255ba8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:46:17] local.INFO: Packet analysis {"connection_id":173461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:46:17] local.INFO: Extracted packet for processing {"connection_id":173461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925739520001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772441000,"timestamp_ms":1788772441000,"timestamp_seconds":1788772441,"priority":1,"record_length":96,"hex_timestamp":"000001a07b255ba8"} 
[2026-09-07 14: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-07 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 14:46:17] 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-07 14: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-07 14: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-07 14:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925739520001,"66":12548,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925739520001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:46:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925739520001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":173461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:46:17] local.INFO: GPS data processed {"connection_id":173461,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:46:17] local.INFO: Acknowledgment sent {"connection_id":173461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:46:40] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:40] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:40] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:46:45] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:45] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:46:45] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:46:46] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b25adb0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b25adb0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:46:46] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b25adb0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:46:46] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:46:46] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925744896001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772462000,"timestamp_ms":1788772462000,"timestamp_seconds":1788772462,"priority":1,"record_length":96,"hex_timestamp":"000001a07b25adb0"} 
[2026-09-07 14:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:46: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-07 14:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:46:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,118,160,9,45,64,236,61,41,10,66,183,40,101,1,240,58,227,123,31,4,113,205,193,104,248,239,49,2,65,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 14:46:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828967949467648,"timestamp_seconds":4395828967949467.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925744896001,"66":12591,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925744896001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:46:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925744896001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:46:46] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:46:46] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:47:17] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b25ffb8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b25ffb8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:47:17] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b25ffb8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:47:17] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:47:17] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b25"} 
[2026-09-07 14:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925750272001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772483000,"timestamp_ms":1788772483000,"timestamp_seconds":1788772483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b25ffb8"} 
[2026-09-07 14:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-07 14:47:17] 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-07 14:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925750272001,"66":12548,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925750272001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:47:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925750272001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:47:17] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:47:17] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:47:40] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:40] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:40] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:47:46] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:46] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:47:46] local.INFO: IMEI packet received {"connection_id":173462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:47:46] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2651c0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2651c0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:47:46] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2651c0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:47:46] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:47:46] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925755648001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772504000,"timestamp_ms":1788772504000,"timestamp_seconds":1788772504,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2651c0"} 
[2026-09-07 14: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-07 14:47: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-07 14: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:47:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,118,160,173,45,64,236,61,39,10,66,91,40,9,1,240,238,227,123,31,4,113,205,101,104,248,239,49,2,65,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 14:47:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828967949467648,"timestamp_seconds":4395828967949467.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925755648001,"66":12004,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925755648001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925755648001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:47:47] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:47:47] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:48:18] local.INFO: TCP Data received {"connection_id":173462,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b26a3c8012d196840071fecf8003d011f29..."} 
[2026-09-07 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b26a3c8012d196840071fecf8003d011f29..."} 
[2026-09-07 14:48:18] local.INFO: Processing buffer {"connection_id":173462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b26a3c8012d196840071fecf8003d011f29..."} 
[2026-09-07 14:48:18] local.INFO: Packet analysis {"connection_id":173462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:48:18] local.INFO: Extracted packet for processing {"connection_id":173462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925761024001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48: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-07 14:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788772525000,"timestamp_ms":1788772525000,"timestamp_seconds":1788772525,"priority":1,"record_length":96,"hex_timestamp":"000001a07b26a3c8"} 
[2026-09-07 14: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-07 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 14:48:18] 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-07 14: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-07 14: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-07 14:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925761024001,"66":12548,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925761024001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925761024001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":173462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:48:18] local.INFO: GPS data processed {"connection_id":173462,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:48:18] local.INFO: Acknowledgment sent {"connection_id":173462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:48:45] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:45] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:45] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:48:50] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:50] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:48:50] local.INFO: IMEI packet received {"connection_id":173464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":173464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:48:51] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b26f5d0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b26f5d0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:48:51] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b26f5d0012d196840071fecf8003d011f27..."} 
[2026-09-07 14:48:51] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:48:51] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b26"} 
[2026-09-07 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925766400001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48: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-07 14:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788772546000,"timestamp_ms":1788772546000,"timestamp_seconds":1788772546,"priority":1,"record_length":96,"hex_timestamp":"000001a07b26f5d0"} 
[2026-09-07 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-07 14:48: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-07 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,102,83,24,241,157,16,118,160,81,45,64,236,61,39,10,66,255,40,173,1,240,47,227,123,31,4,113,205,9,104,248,41,239,48,2,65,7,120],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 14:48:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828972244434944,"timestamp_seconds":4395828972244435.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 14:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925766400001,"66":12558,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925766400001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:48:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925766400001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:48:51] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:48:51] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:48:52] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2747d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2747d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:48:52] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2747d8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:48:52] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:48:52] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925771776001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14: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-07 14:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788772567000,"timestamp_ms":1788772567000,"timestamp_seconds":1788772567,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2747d8"} 
[2026-09-07 14: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-07 14: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-07 14: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-07 14:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249743230331251960,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-07 14:48:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,118,160,163,45,64,236,61,41,10,66,81,39,255,1,240,4,227,123,31,113,205,91,104,248,40,239,49,2,65,7,120,82,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-07 14:48:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828963654500352,"timestamp_seconds":4395828963654500.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925771776001,"66":11971,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925771776001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:48:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:48:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925771776001,"power":11971,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:48:52] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:48:52] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:49:23] local.INFO: TCP Data received {"connection_id":173464,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2799e0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2799e0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:49:23] local.INFO: Processing buffer {"connection_id":173464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2799e0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:49:23] local.INFO: Packet analysis {"connection_id":173464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:49:23] local.INFO: Extracted packet for processing {"connection_id":173464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925777152001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14: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-07 14:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788772588000,"timestamp_ms":1788772588000,"timestamp_seconds":1788772588,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2799e0"} 
[2026-09-07 14: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-07 14:49: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-07 14: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 14:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925777152001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925777152001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925777152001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":173464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:49:23] local.INFO: GPS data processed {"connection_id":173464,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:49:23] local.INFO: Acknowledgment sent {"connection_id":173464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:49:40] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:40] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:40] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:49:46] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:46] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:49:46] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:49:47] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b27ebe8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b27ebe8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:49:47] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b27ebe8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:49:47] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:49:47] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b27"} 
[2026-09-07 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925782528001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:49: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-07 14:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788772609000,"timestamp_ms":1788772609000,"timestamp_seconds":1788772609,"priority":1,"record_length":96,"hex_timestamp":"000001a07b27ebe8"} 
[2026-09-07 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-07 14:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:49:47] 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-07 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-07 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-07 14:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925782528001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925782528001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:49:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:49:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925782528001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:49:47] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:49:47] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:50:18] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b283df0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b283df0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:50:18] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b283df0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:50:18] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:50:18] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925787904001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50: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-07 14:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788772630000,"timestamp_ms":1788772630000,"timestamp_seconds":1788772630,"priority":1,"record_length":96,"hex_timestamp":"000001a07b283df0"} 
[2026-09-07 14:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:50:18] 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-07 14:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925787904001,"66":12037,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925787904001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925787904001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:50:18] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:50:18] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:50:40] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:40] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:40] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:50:45] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:45] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:50:45] local.INFO: IMEI packet received {"connection_id":173468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:50:46] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b288ff8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b288ff8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:50:46] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b288ff8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:50:46] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:50:46] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925793280001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772651000,"timestamp_ms":1788772651000,"timestamp_seconds":1788772651,"priority":1,"record_length":96,"hex_timestamp":"000001a07b288ff8"} 
[2026-09-07 14: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-07 14:50: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-07 14: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300486189586652967,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194808320,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,118,160,235,45,64,236,61,43,10,66,153,41,71,1,240,195,227,123,31,4,113,205,163,104,248,239,49,2,65,7,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-07 14:50:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828976539402240,"timestamp_seconds":4395828976539402.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 14: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-07 14:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925793280001,"66":12526,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925793280001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925793280001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:50:46] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:50:46] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:50:55] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:50:55] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:50:55] local.INFO: IMEI packet received {"connection_id":173469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":173469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:50:56] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2aab08012cc4d94007591aa0002400112f..."} 
[2026-09-07 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2aab08012cc4d94007591aa0002400112f..."} 
[2026-09-07 14:50:56] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2aab08012cc4d94007591aa0002400112f..."} 
[2026-09-07 14:50:56] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:50:56] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":751098176,"raw_latitude":123280032,"longitude_deg":75.1098176,"latitude_deg":12.3280032,"altitude":36,"angle":17,"satellites":47,"speed":45,"hex_longitude":"2cc4d940","hex_latitude":"07591aa0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925831936001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401528263345700864,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4265401396771663872,"note":"Value kept but may cause issues"} 
[2026-09-07 14:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788772789000,"timestamp_ms":1788772789000,"timestamp_seconds":1788772789,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2aab08"} 
[2026-09-07 14: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-07 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 14: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-07 14: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-07 14:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:50:56] 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-07 14:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925831936001,"66":27571,"130":206,"85":37120,"24":45,"16":401528263345700864,"44":-4265401396771663872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-07 14:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925831936001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:50:56] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 14:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401528263345700864,"km_value":401528263345700.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4265401396771663872,"description":"Unknown IO ID 44"} 
[2026-09-07 14:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925831936001,"power":27571,"unknown_130":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4265401396771663872}} 
[2026-09-07 14:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:50:56] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:50:56] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:51:17] local.INFO: TCP Data received {"connection_id":173470,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:17] local.INFO: Processing buffer {"connection_id":173470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:17] local.INFO: IMEI packet received {"connection_id":173470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":173470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:51:17] local.INFO: TCP Data received {"connection_id":173468,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b28e200012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b28e200012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:51:17] local.INFO: Processing buffer {"connection_id":173468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b28e200012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:51:17] local.INFO: Packet analysis {"connection_id":173468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:51:17] local.INFO: Extracted packet for processing {"connection_id":173468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b28"} 
[2026-09-07 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925798656001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772672000,"timestamp_ms":1788772672000,"timestamp_seconds":1788772672,"priority":1,"record_length":96,"hex_timestamp":"000001a07b28e200"} 
[2026-09-07 14:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 14:51:17] 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-07 14:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925798656001,"66":12526,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925798656001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925798656001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":173468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:51:17] local.INFO: GPS data processed {"connection_id":173468,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:51:17] local.INFO: Acknowledgment sent {"connection_id":173468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:51:26] local.INFO: TCP Data received {"connection_id":173469,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2aca48012cc4e14007593df0002600032e..."} 
[2026-09-07 14:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2aca48012cc4e14007593df0002600032e..."} 
[2026-09-07 14:51:26] local.INFO: Processing buffer {"connection_id":173469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2aca48012cc4e14007593df0002600032e..."} 
[2026-09-07 14:51:26] local.INFO: Packet analysis {"connection_id":173469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:51:26] local.INFO: Extracted packet for processing {"connection_id":173469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:51:26] local.INFO: GPS Element Parsed {"raw_longitude":751100224,"raw_latitude":123289072,"longitude_deg":75.1100224,"latitude_deg":12.3289072,"altitude":38,"angle":3,"satellites":46,"speed":46,"hex_longitude":"2cc4e140","hex_latitude":"07593df0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925833984001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401528710022299648,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4262305172025597952,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788772797000,"timestamp_ms":1788772797000,"timestamp_seconds":1788772797,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2aca48"} 
[2026-09-07 14: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-07 14:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 14:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:26] 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-07 14:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925833984001,"66":27930,"130":206,"85":37120,"24":46,"16":401528710022299648,"44":-4262305172025597952},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,44]} 
[2026-09-07 14:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925833984001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:51:26] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 14:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401528710022299648,"km_value":401528710022299.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4262305172025597952,"description":"Unknown IO ID 44"} 
[2026-09-07 14:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925833984001,"power":27930,"unknown_130":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4262305172025597952}} 
[2026-09-07 14:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":173469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:51:26] local.INFO: GPS data processed {"connection_id":173469,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:51:26] local.INFO: Acknowledgment sent {"connection_id":173469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:51:39] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:39] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:39] local.INFO: IMEI packet received {"connection_id":176197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":176197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:51:40] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:40] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:40] local.INFO: IMEI packet received {"connection_id":176197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":176197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:51:45] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:45] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:51:45] local.INFO: IMEI packet received {"connection_id":176197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":176197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:51:46] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b293408012d196840071fecf8003d011f24..."} 
[2026-09-07 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b293408012d196840071fecf8003d011f24..."} 
[2026-09-07 14:51:46] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b293408012d196840071fecf8003d011f24..."} 
[2026-09-07 14:51:46] local.INFO: Packet analysis {"connection_id":176197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:51:46] local.INFO: Extracted packet for processing {"connection_id":176197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925804032001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772693000,"timestamp_ms":1788772693000,"timestamp_seconds":1788772693,"priority":1,"record_length":96,"hex_timestamp":"000001a07b293408"} 
[2026-09-07 14: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-07 14:51: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-07 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 14:51:46] 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-07 14: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-07 14: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-07 14:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925804032001,"66":12113,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925804032001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:51:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925804032001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":176197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:51:46] local.INFO: GPS data processed {"connection_id":176197,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:51:46] local.INFO: Acknowledgment sent {"connection_id":176197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:51:46] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:46] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:51:46] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:51:50] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: IMEI packet received {"connection_id":173709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:51:50] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:51:50] local.INFO: IMEI packet received {"connection_id":173709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:51:51] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2b9d38012cc49e80075a0b08002d01602a..."} 
[2026-09-07 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2b9d38012cc49e80075a0b08002d01602a..."} 
[2026-09-07 14:51:51] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2b9d38012cc49e80075a0b08002d01602a..."} 
[2026-09-07 14:51:51] local.INFO: Packet analysis {"connection_id":173709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:51:51] local.INFO: Extracted packet for processing {"connection_id":173709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":751083136,"raw_latitude":123341576,"longitude_deg":75.1083136,"latitude_deg":12.3341576,"altitude":45,"angle":352,"satellites":42,"speed":45,"hex_longitude":"2cc49e80","hex_latitude":"075a0b08","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925847552001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401531445916467200,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4277223345777905664,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788772851000,"timestamp_ms":1788772851000,"timestamp_seconds":1788772851,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2b9d38"} 
[2026-09-07 14: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-07 14:51: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-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:51:51] 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-07 14:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14: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-07 14:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:51] 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-07 14:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925847552001,"66":27919,"34":206,"85":37120,"24":45,"16":401531445916467200,"44":-4277223345777905664},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-07 14:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925847552001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:51:51] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 14:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401531445916467200,"km_value":401531445916467.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4277223345777905664,"description":"Unknown IO ID 44"} 
[2026-09-07 14:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925847552001,"power":27919,"unknown_34":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4277223345777905664}} 
[2026-09-07 14:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":173709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:51:51] local.INFO: GPS data processed {"connection_id":173709,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:51:51] local.INFO: Acknowledgment sent {"connection_id":173709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:51:56] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2bbc78012cc499c0075a3100002d01602c..."} 
[2026-09-07 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2bbc78012cc499c0075a3100002d01602c..."} 
[2026-09-07 14:51:56] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2bbc78012cc499c0075a3100002d01602c..."} 
[2026-09-07 14:51:56] local.INFO: Packet analysis {"connection_id":173709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:51:56] local.INFO: Extracted packet for processing {"connection_id":173709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":751081920,"raw_latitude":123351296,"longitude_deg":75.108192,"latitude_deg":12.3351296,"altitude":45,"angle":352,"satellites":44,"speed":51,"hex_longitude":"2cc499c0","hex_latitude":"075a3100","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925849856001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401531922657837056,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4278841826891593728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788772859000,"timestamp_ms":1788772859000,"timestamp_seconds":1788772859,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2bbc78"} 
[2026-09-07 14: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-07 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:51:56] 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-07 14:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925849856001,"66":27919,"34":206,"85":37120,"24":51,"16":401531922657837056,"44":-4278841826891593728},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-07 14:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925849856001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:51:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 14:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401531922657837056,"km_value":401531922657837.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4278841826891593728,"description":"Unknown IO ID 44"} 
[2026-09-07 14:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925849856001,"power":27919,"unknown_34":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4278841826891593728}} 
[2026-09-07 14:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:51:56] local.INFO: GPS data processed {"connection_id":173709,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:51:56] local.INFO: Acknowledgment sent {"connection_id":173709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:52:17] local.INFO: TCP Data received {"connection_id":176197,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b298610012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b298610012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:52:17] local.INFO: Processing buffer {"connection_id":176197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b298610012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:52:17] local.INFO: Packet analysis {"connection_id":176197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:52:17] local.INFO: Extracted packet for processing {"connection_id":176197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925809408001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772714000,"timestamp_ms":1788772714000,"timestamp_seconds":1788772714,"priority":1,"record_length":96,"hex_timestamp":"000001a07b298610"} 
[2026-09-07 14: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-07 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-07 14:52:17] 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-07 14: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-07 14: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-07 14:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925809408001,"66":12526,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925809408001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:52:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925809408001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":176197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:52:17] local.INFO: GPS data processed {"connection_id":176197,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:52:17] local.INFO: Acknowledgment sent {"connection_id":176197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:52:33] local.INFO: TCP Data received {"connection_id":173709,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2bd7d0012cc49380075a53f0002d015a2b..."} 
[2026-09-07 14:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2bd7d0012cc49380075a53f0002d015a2b..."} 
[2026-09-07 14:52:33] local.INFO: Processing buffer {"connection_id":173709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2bd7d0012cc49380075a53f0002d015a2b..."} 
[2026-09-07 14:52:33] local.INFO: Packet analysis {"connection_id":173709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:52:33] local.INFO: Extracted packet for processing {"connection_id":173709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":751080320,"raw_latitude":123360240,"longitude_deg":75.108032,"latitude_deg":12.336024,"altitude":45,"angle":346,"satellites":43,"speed":51,"hex_longitude":"2cc49380","hex_latitude":"075a53f0","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925851904001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401532360744501248,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4280178833028481024,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788772866000,"timestamp_ms":1788772866000,"timestamp_seconds":1788772866,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2bd7d0"} 
[2026-09-07 14: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-07 14:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 14:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:52:33] 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-07 14:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925851904001,"66":27800,"34":206,"85":37120,"24":51,"16":401532360744501248,"44":-4280178833028481024},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-07 14:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925851904001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:52:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 14:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401532360744501248,"km_value":401532360744501.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:52:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4280178833028481024,"description":"Unknown IO ID 44"} 
[2026-09-07 14:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925851904001,"power":27800,"unknown_34":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4280178833028481024}} 
[2026-09-07 14:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":173709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:52:33] local.INFO: GPS data processed {"connection_id":173709,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:52:33] local.INFO: Acknowledgment sent {"connection_id":173709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:52:40] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:40] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:40] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:52:42] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:52:42] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:52:42] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:52:43] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:43] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:43] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:52:45] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:45] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:52:45] local.INFO: IMEI packet received {"connection_id":174822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":174822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:52:46] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b29d818012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b29d818012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:52:46] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b29d818012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:52:46] local.INFO: Packet analysis {"connection_id":174822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:52:46] local.INFO: Extracted packet for processing {"connection_id":174822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b29"} 
[2026-09-07 14:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925814784001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772735000,"timestamp_ms":1788772735000,"timestamp_seconds":1788772735,"priority":1,"record_length":96,"hex_timestamp":"000001a07b29d818"} 
[2026-09-07 14: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-07 14:52: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-07 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 14:52:46] 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-07 14: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-07 14: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-07 14:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925814784001,"66":12526,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925814784001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925814784001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":174822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:52:46] local.INFO: GPS data processed {"connection_id":174822,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:52:46] local.INFO: Acknowledgment sent {"connection_id":174822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:52:52] local.INFO: TCP Data received {"connection_id":174823,"ip":"42.106.6.51","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174823,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:52:52] local.INFO: Processing buffer {"connection_id":174823,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 14:52:52] local.INFO: IMEI packet received {"connection_id":174823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":174823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:53:17] local.INFO: TCP Data received {"connection_id":174822,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2a2a20012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2a2a20012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:17] local.INFO: Processing buffer {"connection_id":174822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2a2a20012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:17] local.INFO: Packet analysis {"connection_id":174822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:53:17] local.INFO: Extracted packet for processing {"connection_id":174822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925820160001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772756000,"timestamp_ms":1788772756000,"timestamp_seconds":1788772756,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2a2a20"} 
[2026-09-07 14: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-07 14:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-07 14:53:17] 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-07 14: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-07 14: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-07 14:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925820160001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925820160001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925820160001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":174822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:53:18] local.INFO: GPS data processed {"connection_id":174822,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:53:18] local.INFO: Acknowledgment sent {"connection_id":174822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:53:40] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:40] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:40] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:53:45] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:45] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:53:45] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:53:46] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2a7c28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2a7c28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:46] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2a7c28012d196840071fecf8003d011f29..."} 
[2026-09-07 14:53:46] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:53:46] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925825536001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772777000,"timestamp_ms":1788772777000,"timestamp_seconds":1788772777,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2a7c28"} 
[2026-09-07 14: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-07 14:53: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-07 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925825536001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925825536001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925825536001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:53:46] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:53:46] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:54:17] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2ace30012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2ace30012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:17] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2ace30012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:17] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:54:17] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2a"} 
[2026-09-07 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925830912001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772798000,"timestamp_ms":1788772798000,"timestamp_seconds":1788772798,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2ace30"} 
[2026-09-07 14: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-07 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925830912001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925830912001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925830912001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:54:17] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:54:17] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:54:45] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:45] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:45] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:54:48] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:48] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:54:48] local.INFO: IMEI packet received {"connection_id":173473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":173473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:54:49] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2b2038012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2b2038012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:49] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2b2038012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:54:49] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:54:49] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925836288001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54: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-07 14:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788772819000,"timestamp_ms":1788772819000,"timestamp_seconds":1788772819,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2b2038"} 
[2026-09-07 14: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-07 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:54:49] 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-07 14: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-07 14: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-07 14:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925836288001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925836288001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925836288001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:54:49] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:54:49] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:54:50] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2b7240012d196840071fecf8003d011f29..."} 
[2026-09-07 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2b7240012d196840071fecf8003d011f29..."} 
[2026-09-07 14:54:50] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2b7240012d196840071fecf8003d011f29..."} 
[2026-09-07 14:54:50] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:54:50] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925841664001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:54: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-07 14:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788772840000,"timestamp_ms":1788772840000,"timestamp_seconds":1788772840,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2b7240"} 
[2026-09-07 14:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:54: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-07 14:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925841664001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925841664001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:54:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925841664001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:54:50] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:54:50] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:55:21] local.INFO: TCP Data received {"connection_id":173473,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2bc448012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2bc448012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:21] local.INFO: Processing buffer {"connection_id":173473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2bc448012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:21] local.INFO: Packet analysis {"connection_id":173473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:55:21] local.INFO: Extracted packet for processing {"connection_id":173473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2b"} 
[2026-09-07 14:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925847040001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55: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-07 14:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788772861000,"timestamp_ms":1788772861000,"timestamp_seconds":1788772861,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2bc448"} 
[2026-09-07 14: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-07 14:55: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-07 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:55: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-07 14: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-07 14: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-07 14:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925847040001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925847040001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:55:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925847040001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":173473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:55:21] local.INFO: GPS data processed {"connection_id":173473,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:55:21] local.INFO: Acknowledgment sent {"connection_id":173473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:55:40] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:40] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:40] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:55:45] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:45] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:55:45] local.INFO: IMEI packet received {"connection_id":173474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:55:46] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2c1650012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2c1650012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:46] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2c1650012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:55:46] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:55:46] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925852416001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772882000,"timestamp_ms":1788772882000,"timestamp_seconds":1788772882,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2c1650"} 
[2026-09-07 14: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-07 14:55: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-07 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925852416001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925852416001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:55:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925852416001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:55:46] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:55:46] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:56:17] local.INFO: TCP Data received {"connection_id":173474,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2c6858012d196840071fecf8003d011f28..."} 
[2026-09-07 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2c6858012d196840071fecf8003d011f28..."} 
[2026-09-07 14:56:17] local.INFO: Processing buffer {"connection_id":173474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2c6858012d196840071fecf8003d011f28..."} 
[2026-09-07 14:56:17] local.INFO: Packet analysis {"connection_id":173474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:56:17] local.INFO: Extracted packet for processing {"connection_id":173474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925857792001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788772903000,"timestamp_ms":1788772903000,"timestamp_seconds":1788772903,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2c6858"} 
[2026-09-07 14: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-07 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 14:56:17] 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-07 14: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-07 14: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-07 14:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925857792001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925857792001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925857792001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":173474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:56:17] local.INFO: GPS data processed {"connection_id":173474,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:56:17] local.INFO: Acknowledgment sent {"connection_id":173474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:56:40] local.INFO: TCP Data received {"connection_id":173713,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:40] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:40] local.INFO: IMEI packet received {"connection_id":173713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:56:45] local.INFO: TCP Data received {"connection_id":173713,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:45] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:56:45] local.INFO: IMEI packet received {"connection_id":173713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:56:46] local.INFO: TCP Data received {"connection_id":173713,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b2cba60012d196840071fecf8003d011f29..."} 
[2026-09-07 14:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b2cba60012d196840071fecf8003d011f29..."} 
[2026-09-07 14:56:46] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b2cba60012d196840071fecf8003d011f29..."} 
[2026-09-07 14:56:46] local.INFO: Packet analysis {"connection_id":173713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:56:46] local.INFO: Extracted packet for processing {"connection_id":173713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b2c"} 
[2026-09-07 14:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925863168001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788772924000,"timestamp_ms":1788772924000,"timestamp_seconds":1788772924,"priority":1,"record_length":96,"hex_timestamp":"000001a07b2cba60"} 
[2026-09-07 14: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-07 14:56: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-07 14:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:56:46] 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-07 14: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-07 14: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-07 14:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925863168001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925863168001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:56:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925863168001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:56:46] local.INFO: GPS data processed {"connection_id":173713,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:56:46] local.INFO: Acknowledgment sent {"connection_id":173713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:56:52] local.INFO: TCP Data received {"connection_id":176202,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:56:52] local.INFO: Processing buffer {"connection_id":176202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 14:56:52] local.INFO: IMEI packet received {"connection_id":176202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 14:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":176202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:57:16] local.INFO: TCP Data received {"connection_id":173713,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3040b8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3040b8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:16] local.INFO: Processing buffer {"connection_id":173713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3040b8012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:16] local.INFO: Packet analysis {"connection_id":173713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:16] local.INFO: Extracted packet for processing {"connection_id":173713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925922304001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57: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-07 14:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788773155000,"timestamp_ms":1788773155000,"timestamp_seconds":1788773155,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3040b8"} 
[2026-09-07 14: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-07 14:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 14:57:16] 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-07 14: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-07 14: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-07 14:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925922304001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925922304001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:57:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:57:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925922304001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":173713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:57:17] local.INFO: GPS data processed {"connection_id":173713,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:57:17] local.INFO: Acknowledgment sent {"connection_id":173713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:57:40] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:40] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:40] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:57:46] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:46] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:57:46] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:57:47] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3092c0012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3092c0012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:47] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3092c0012d196840071fecf8003d011f2b..."} 
[2026-09-07 14:57:47] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:47] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925927680001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57: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-07 14:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788773176000,"timestamp_ms":1788773176000,"timestamp_seconds":1788773176,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3092c0"} 
[2026-09-07 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-07 14:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:57:47] 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-07 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-07 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-07 14:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925927680001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925927680001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:57:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925927680001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:57:47] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:57:47] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:57:55] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:57:55] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:57:55] local.INFO: IMEI packet received {"connection_id":173475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":173475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:57:55] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b30dcf8012cc34100075fbd88001700392d..."} 
[2026-09-07 14:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b30dcf8012cc34100075fbd88001700392d..."} 
[2026-09-07 14:57:55] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b30dcf8012cc34100075fbd88001700392d..."} 
[2026-09-07 14:57:55] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:55] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:57:55] local.INFO: GPS Element Parsed {"raw_longitude":750993664,"raw_latitude":123714952,"longitude_deg":75.0993664,"latitude_deg":12.3714952,"altitude":23,"angle":57,"satellites":45,"speed":54,"hex_longitude":"2cc34100","hex_latitude":"075fbd88","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925937408001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401553174156017664,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379680237203030016,"note":"Value kept but may cause issues"} 
[2026-09-07 14:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788773195000,"timestamp_ms":1788773195000,"timestamp_seconds":1788773195,"priority":1,"record_length":96,"hex_timestamp":"000001a07b30dcf8"} 
[2026-09-07 14: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-07 14:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 14:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 14: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-07 14: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-07 14:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:57:55] 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-07 14:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925937408001,"66":27908,"187":206,"85":37120,"24":54,"16":401553174156017664,"44":-4379680237203030016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-09-07 14:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925937408001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:57:55] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-07 14:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401553174156017664,"km_value":401553174156017.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379680237203030016,"description":"Unknown IO ID 44"} 
[2026-09-07 14:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925937408001,"power":27908,"unknown_187":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4379680237203030016}} 
[2026-09-07 14:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:57:55] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:57:55] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:58:18] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b30e4c8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b30e4c8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:58:18] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b30e4c8012d196840071fecf8003d011f28..."} 
[2026-09-07 14:58:18] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:58:18] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b30"} 
[2026-09-07 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925933056001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58: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-07 14:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788773197000,"timestamp_ms":1788773197000,"timestamp_seconds":1788773197,"priority":1,"record_length":96,"hex_timestamp":"000001a07b30e4c8"} 
[2026-09-07 14: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-07 14:58: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-07 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:58:18] 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-07 14: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-07 14: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-07 14:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925933056001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925933056001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925933056001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:58:18] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:58:18] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:58:26] local.INFO: TCP Data received {"connection_id":173475,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b31afe8012cc3338007607310003600062e..."} 
[2026-09-07 14:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b31afe8012cc3338007607310003600062e..."} 
[2026-09-07 14:58:26] local.INFO: Processing buffer {"connection_id":173475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b31afe8012cc3338007607310003600062e..."} 
[2026-09-07 14:58:26] local.INFO: Packet analysis {"connection_id":173475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:26] local.INFO: Extracted packet for processing {"connection_id":173475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":750990208,"raw_latitude":123761424,"longitude_deg":75.0990208,"latitude_deg":12.3761424,"altitude":54,"angle":6,"satellites":46,"speed":34,"hex_longitude":"2cc33380","hex_latitude":"07607310","is_valid_coordinates":true} 
[2026-09-07 14:58: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-07 14:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925950464001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401555785496133632,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381157980819548160,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788773249000,"timestamp_ms":1788773249000,"timestamp_seconds":1788773249,"priority":1,"record_length":96,"hex_timestamp":"000001a07b31afe8"} 
[2026-09-07 14:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 14:58:26] 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-07 14:58: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-07 14:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58:26] 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-07 14:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925950464001,"66":28006,"179":206,"85":37120,"24":34,"16":401555785496133632,"44":-4381157980819548160},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925950464001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:58:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401555785496133632,"km_value":401555785496133.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381157980819548160,"description":"Unknown IO ID 44"} 
[2026-09-07 14:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925950464001,"power":28006,"unknown_179":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4381157980819548160}} 
[2026-09-07 14:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":173475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:58:26] local.INFO: GPS data processed {"connection_id":173475,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:58:26] local.INFO: Acknowledgment sent {"connection_id":173475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:58:39] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:39] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:39] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:58:40] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:40] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:40] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:58:44] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:44] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:44] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:58:45] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:45] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:58:45] local.INFO: IMEI packet received {"connection_id":173476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:58:46] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3136d0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3136d0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:58:46] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3136d0012d196840071fecf8003d011f29..."} 
[2026-09-07 14:58:46] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:46] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925938432001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773218000,"timestamp_ms":1788773218000,"timestamp_seconds":1788773218,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3136d0"} 
[2026-09-07 14: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-07 14:58: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-07 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925938432001,"66":12504,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925938432001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:58:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925938432001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:58:46] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:58:46] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:58:46] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:46] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:58:46] local.INFO: IMEI packet received {"connection_id":174824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":174824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:58:48] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b31dae0012cc33c0007609788003c000e2d..."} 
[2026-09-07 14:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b31dae0012cc33c0007609788003c000e2d..."} 
[2026-09-07 14:58:48] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b31dae0012cc33c0007609788003c000e2d..."} 
[2026-09-07 14:58:48] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:48] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:48] local.INFO: GPS Element Parsed {"raw_longitude":750992384,"raw_latitude":123770760,"longitude_deg":75.0992384,"latitude_deg":12.377076,"altitude":60,"angle":14,"satellites":45,"speed":35,"hex_longitude":"2cc33c00","hex_latitude":"07609788","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925951744001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401556249352601600,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381017243330080768,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788773260000,"timestamp_ms":1788773260000,"timestamp_seconds":1788773260,"priority":1,"record_length":96,"hex_timestamp":"000001a07b31dae0"} 
[2026-09-07 14: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-07 14:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 14:58: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-07 14: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-07 14: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-07 14:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58: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-07 14:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925951744001,"66":27930,"179":206,"85":37120,"24":35,"16":401556249352601600,"44":-4381017243330080768},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925951744001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:58:48] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401556249352601600,"km_value":401556249352601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:58:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381017243330080768,"description":"Unknown IO ID 44"} 
[2026-09-07 14:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925951744001,"power":27930,"unknown_179":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4381017243330080768}} 
[2026-09-07 14:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:58:48] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:58:48] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:58:50] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b31f638012cc344400760af90003f001b2e..."} 
[2026-09-07 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b31f638012cc344400760af90003f001b2e..."} 
[2026-09-07 14:58:50] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b31f638012cc344400760af90003f001b2e..."} 
[2026-09-07 14:58:50] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:50] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":750994496,"raw_latitude":123776912,"longitude_deg":75.0994496,"latitude_deg":12.3776912,"altitude":63,"angle":27,"satellites":46,"speed":38,"hex_longitude":"2cc34440","hex_latitude":"0760af90","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925954560001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401556562885214208,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378624706025650176,"note":"Value kept but may cause issues"} 
[2026-09-07 14:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773267000,"timestamp_ms":1788773267000,"timestamp_seconds":1788773267,"priority":1,"record_length":96,"hex_timestamp":"000001a07b31f638"} 
[2026-09-07 14: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-07 14:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 14:58: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-07 14: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-07 14: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-07 14:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:58:50] 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-07 14:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925954560001,"66":27865,"179":206,"85":37120,"24":38,"16":401556562885214208,"44":-4378624706025650176},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925954560001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:58:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401556562885214208,"km_value":401556562885214.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378624706025650176,"description":"Unknown IO ID 44"} 
[2026-09-07 14:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925954560001,"power":27865,"unknown_179":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4378624706025650176}} 
[2026-09-07 14:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:58:50] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:58:50] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:59:17] local.INFO: TCP Data received {"connection_id":173476,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3188d8012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3188d8012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:17] local.INFO: Processing buffer {"connection_id":173476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3188d8012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:17] local.INFO: Packet analysis {"connection_id":173476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:59:17] local.INFO: Extracted packet for processing {"connection_id":173476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 14: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-07 14:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925943808001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773239000,"timestamp_ms":1788773239000,"timestamp_seconds":1788773239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3188d8"} 
[2026-09-07 14: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-07 14:59: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-07 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 14:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14: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-07 14: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-07 14:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925943808001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925943808001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:59:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925943808001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":173476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:59:17] local.INFO: GPS data processed {"connection_id":173476,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:59:17] local.INFO: Acknowledgment sent {"connection_id":173476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:59:21] local.INFO: TCP Data received {"connection_id":174824,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b321960012cc358400760cc30004000222f..."} 
[2026-09-07 14:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b321960012cc358400760cc30004000222f..."} 
[2026-09-07 14:59:21] local.INFO: Processing buffer {"connection_id":174824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b321960012cc358400760cc30004000222f..."} 
[2026-09-07 14:59:21] local.INFO: Packet analysis {"connection_id":174824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:21] local.INFO: Extracted packet for processing {"connection_id":174824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750999616,"raw_latitude":123784240,"longitude_deg":75.0999616,"latitude_deg":12.378424,"altitude":64,"angle":34,"satellites":47,"speed":40,"hex_longitude":"2cc35840","hex_latitude":"0760cc30","is_valid_coordinates":true} 
[2026-09-07 14:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925956352001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401556996676911104,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376302537466212352,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773276000,"timestamp_ms":1788773276000,"timestamp_seconds":1788773276,"priority":1,"record_length":96,"hex_timestamp":"000001a07b321960"} 
[2026-09-07 14:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:59: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-07 14:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:21] 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-07 14:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925956352001,"66":27865,"179":206,"85":37120,"24":40,"16":401556996676911104,"44":-4376302537466212352},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925956352001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:59:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401556996676911104,"km_value":401556996676911.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376302537466212352,"description":"Unknown IO ID 44"} 
[2026-09-07 14:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925956352001,"power":27865,"unknown_179":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4376302537466212352}} 
[2026-09-07 14:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":174824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:59:21] local.INFO: GPS data processed {"connection_id":174824,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:59:21] local.INFO: Acknowledgment sent {"connection_id":174824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:59:40] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:40] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:40] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 14:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:59:43] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:43] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:43] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:59:44] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:44] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:44] local.INFO: IMEI packet received {"connection_id":173716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 14:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 14:59:45] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:45] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 14:59:45] local.INFO: IMEI packet received {"connection_id":176205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 14:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:59:46] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:46] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 14:59:46] local.INFO: IMEI packet received {"connection_id":173716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 14:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":173716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 14:59:46] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b31dae0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b31dae0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:46] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b31dae0012d196840071fecf8003d011f2a..."} 
[2026-09-07 14:59:46] local.INFO: Packet analysis {"connection_id":176205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:59:46] local.INFO: Extracted packet for processing {"connection_id":176205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b31"} 
[2026-09-07 14:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 14:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925949184001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773260000,"timestamp_ms":1788773260000,"timestamp_seconds":1788773260,"priority":1,"record_length":96,"hex_timestamp":"000001a07b31dae0"} 
[2026-09-07 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-07 14:59: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 14:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 14:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 14:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 14:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 14:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925949184001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 14:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 14:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 14:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925949184001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 14:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 14:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 14:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925949184001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 14:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":176205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:59:46] local.INFO: GPS data processed {"connection_id":176205,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:59:46] local.INFO: Acknowledgment sent {"connection_id":176205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:59:47] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b322900012cc35fc00760d9c0004000152e..."} 
[2026-09-07 14:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b322900012cc35fc00760d9c0004000152e..."} 
[2026-09-07 14:59:47] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b322900012cc35fc00760d9c0004000152e..."} 
[2026-09-07 14:59:47] local.INFO: Packet analysis {"connection_id":173716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:47] local.INFO: Extracted packet for processing {"connection_id":173716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":751001536,"raw_latitude":123787712,"longitude_deg":75.1001536,"latitude_deg":12.3787712,"altitude":64,"angle":21,"satellites":46,"speed":37,"hex_longitude":"2cc35fc0","hex_latitude":"0760d9c0","is_valid_coordinates":true} 
[2026-09-07 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-07 14:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925958656001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401557185655472128,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370673037930123264,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788773280000,"timestamp_ms":1788773280000,"timestamp_seconds":1788773280,"priority":1,"record_length":96,"hex_timestamp":"000001a07b322900"} 
[2026-09-07 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-07 14:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 14:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 14:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:47] 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-07 14:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925958656001,"66":27876,"179":206,"85":37120,"24":37,"16":401557185655472128,"44":-4370673037930123264},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925958656001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:59:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401557185655472128,"km_value":401557185655472.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370673037930123264,"description":"Unknown IO ID 44"} 
[2026-09-07 14:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925958656001,"power":27876,"unknown_179":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4370673037930123264}} 
[2026-09-07 14:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":173716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:59:47] local.INFO: GPS data processed {"connection_id":173716,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:59:47] local.INFO: Acknowledgment sent {"connection_id":173716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 14:59:50] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b324840012cc367800760f1180040000a2e..."} 
[2026-09-07 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b324840012cc367800760f1180040000a2e..."} 
[2026-09-07 14:59:50] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b324840012cc367800760f1180040000a2e..."} 
[2026-09-07 14:59:50] local.INFO: Packet analysis {"connection_id":173716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:50] local.INFO: Extracted packet for processing {"connection_id":173716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":751003520,"raw_latitude":123793688,"longitude_deg":75.100352,"latitude_deg":12.3793688,"altitude":64,"angle":10,"satellites":46,"speed":31,"hex_longitude":"2cc36780","hex_latitude":"0760f118","is_valid_coordinates":true} 
[2026-09-07 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 14:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925959680001,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401557490598150144,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368561975603904512,"note":"Value kept but may cause issues"} 
[2026-09-07 14:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 14:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773288000,"timestamp_ms":1788773288000,"timestamp_seconds":1788773288,"priority":1,"record_length":96,"hex_timestamp":"000001a07b324840"} 
[2026-09-07 14:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 14:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 14:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 14:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 14:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 14:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 14:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 14:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 14:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 14:59:50] 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-07 14:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 14:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 14:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925959680001,"66":26908,"179":206,"85":37120,"24":31,"16":401557490598150144,"44":-4368561975603904512},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-09-07 14:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 14:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 14:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925959680001,"description":"Unknown IO ID 0"} 
[2026-09-07 14:59:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 14:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 14:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401557490598150144,"km_value":401557490598150.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 14:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368561975603904512,"description":"Unknown IO ID 44"} 
[2026-09-07 14:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925959680001,"power":26908,"unknown_179":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4368561975603904512}} 
[2026-09-07 14:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":173716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 14:59:50] local.INFO: GPS data processed {"connection_id":173716,"processed":1,"errors":0,"total":1} 
[2026-09-07 14:59:50] local.INFO: Acknowledgment sent {"connection_id":173716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:00:17] local.INFO: TCP Data received {"connection_id":176205,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b322ce8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b322ce8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:17] local.INFO: Processing buffer {"connection_id":176205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b322ce8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:17] local.INFO: Packet analysis {"connection_id":176205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:17] local.INFO: Extracted packet for processing {"connection_id":176205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925954560001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773281000,"timestamp_ms":1788773281000,"timestamp_seconds":1788773281,"priority":1,"record_length":96,"hex_timestamp":"000001a07b322ce8"} 
[2026-09-07 15: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-07 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925954560001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925954560001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925954560001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:00:17] local.INFO: GPS data processed {"connection_id":176205,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:00:17] local.INFO: Acknowledgment sent {"connection_id":176205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:00:21] local.INFO: TCP Data received {"connection_id":173716,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b326f50012cc36ec0076115c0003e000e2d..."} 
[2026-09-07 15:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b326f50012cc36ec0076115c0003e000e2d..."} 
[2026-09-07 15:00:21] local.INFO: Processing buffer {"connection_id":173716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b326f50012cc36ec0076115c0003e000e2d..."} 
[2026-09-07 15:00:21] local.INFO: Packet analysis {"connection_id":173716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:21] local.INFO: Extracted packet for processing {"connection_id":173716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":751005376,"raw_latitude":123803072,"longitude_deg":75.1005376,"latitude_deg":12.3803072,"altitude":62,"angle":14,"satellites":45,"speed":44,"hex_longitude":"2cc36ec0","hex_latitude":"076115c0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925961728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401557954454618112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366380544532867072,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773298000,"timestamp_ms":1788773298000,"timestamp_seconds":1788773298,"priority":1,"record_length":96,"hex_timestamp":"000001a07b326f50"} 
[2026-09-07 15: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-07 15:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 15:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:21] 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-07 15:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925961728001,"66":27919,"178":206,"85":37120,"24":44,"16":401557954454618112,"44":-4366380544532867072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-09-07 15:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925961728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:00:21] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 15:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401557954454618112,"km_value":401557954454618.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366380544532867072,"description":"Unknown IO ID 44"} 
[2026-09-07 15:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925961728001,"power":27919,"unknown_178":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4366380544532867072}} 
[2026-09-07 15:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":173716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:00:21] local.INFO: GPS data processed {"connection_id":173716,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:00:21] local.INFO: Acknowledgment sent {"connection_id":173716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:00:40] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:40] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:40] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:00:43] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:43] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:43] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:00:44] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:44] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:44] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:00:45] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:45] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:00:45] local.INFO: IMEI packet received {"connection_id":176206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:00:46] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b327ef0012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b327ef0012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:46] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b327ef0012d196840071fecf8003d011f29..."} 
[2026-09-07 15:00:46] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:46] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925959936001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773302000,"timestamp_ms":1788773302000,"timestamp_seconds":1788773302,"priority":1,"record_length":96,"hex_timestamp":"000001a07b327ef0"} 
[2026-09-07 15: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-07 15:00: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-07 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:00:46] 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-07 15: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-07 15: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-07 15:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925959936001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925959936001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925959936001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:00:46] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:00:46] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:00:47] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:47] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:47] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:00:49] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:49] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:00:49] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:00:50] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b33a7d0012cc3a000076273e0004801642e..."} 
[2026-09-07 15:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b33a7d0012cc3a000076273e0004801642e..."} 
[2026-09-07 15:00:50] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b33a7d0012cc3a000076273e0004801642e..."} 
[2026-09-07 15:00:50] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:00:50] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:00:50] local.INFO: GPS Element Parsed {"raw_longitude":751017984,"raw_latitude":123892704,"longitude_deg":75.1017984,"latitude_deg":12.3892704,"altitude":72,"angle":356,"satellites":46,"speed":51,"hex_longitude":"2cc3a000","hex_latitude":"076273e0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925983744001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401562365386031104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350688314557173760,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773378000,"timestamp_ms":1788773378000,"timestamp_seconds":1788773378,"priority":1,"record_length":96,"hex_timestamp":"000001a07b33a7d0"} 
[2026-09-07 15: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-07 15:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 15:00:50] 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-07 15: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-07 15: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-07 15:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:50] 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-07 15:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925983744001,"66":27821,"2":206,"85":37120,"24":51,"16":401562365386031104,"44":-4350688314557173760},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925983744001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401562365386031104,"km_value":401562365386031.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350688314557173760,"description":"Unknown IO ID 44"} 
[2026-09-07 15:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925983744001,"power":27821,"power_alt":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4350688314557173760}} 
[2026-09-07 15:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:00:50] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:00:50] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:00:54] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b33bb58012cc39b4007628de8004701572c..."} 
[2026-09-07 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b33bb58012cc39b4007628de8004701572c..."} 
[2026-09-07 15:00:54] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b33bb58012cc39b4007628de8004701572c..."} 
[2026-09-07 15:00:54] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:00:54] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":751016768,"raw_latitude":123899368,"longitude_deg":75.1016768,"latitude_deg":12.3899368,"altitude":71,"angle":343,"satellites":44,"speed":56,"hex_longitude":"2cc39b40","hex_latitude":"07628de8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925984768001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401562691803545600,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350477208323366912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788773383000,"timestamp_ms":1788773383000,"timestamp_seconds":1788773383,"priority":1,"record_length":96,"hex_timestamp":"000001a07b33bb58"} 
[2026-09-07 15: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-07 15:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:00:54] 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-07 15: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-07 15: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-07 15:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:00:54] 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-07 15:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925984768001,"66":27876,"2":206,"85":37120,"24":56,"16":401562691803545600,"44":-4350477208323366912},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925984768001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401562691803545600,"km_value":401562691803545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350477208323366912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925984768001,"power":27876,"power_alt":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4350477208323366912}} 
[2026-09-07 15:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:00:54] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:00:54] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:01:17] local.INFO: TCP Data received {"connection_id":176206,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b32d0f8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b32d0f8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:17] local.INFO: Processing buffer {"connection_id":176206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b32d0f8012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:17] local.INFO: Packet analysis {"connection_id":176206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:01:17] local.INFO: Extracted packet for processing {"connection_id":176206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925965312001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773323000,"timestamp_ms":1788773323000,"timestamp_seconds":1788773323,"priority":1,"record_length":96,"hex_timestamp":"000001a07b32d0f8"} 
[2026-09-07 15: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-07 15:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925965312001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925965312001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925965312001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":176206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:01:17] local.INFO: GPS data processed {"connection_id":176206,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:01:17] local.INFO: Acknowledgment sent {"connection_id":176206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:01:25] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b33d2c8012cc38ec00762ae90004601502c..."} 
[2026-09-07 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b33d2c8012cc38ec00762ae90004601502c..."} 
[2026-09-07 15:01:25] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b33d2c8012cc38ec00762ae90004601502c..."} 
[2026-09-07 15:01:25] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:01:25] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":751013568,"raw_latitude":123907728,"longitude_deg":75.1013568,"latitude_deg":12.3907728,"altitude":70,"angle":336,"satellites":44,"speed":60,"hex_longitude":"2cc38ec0","hex_latitude":"0762ae90","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925986048001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401563125595242496,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4351814214461036544,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788773389000,"timestamp_ms":1788773389000,"timestamp_seconds":1788773389,"priority":1,"record_length":96,"hex_timestamp":"000001a07b33d2c8"} 
[2026-09-07 15: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-07 15:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 15:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:01:25] 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-07 15:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925986048001,"66":27658,"2":206,"85":37120,"24":60,"16":401563125595242496,"44":-4351814214461036544},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925986048001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401563125595242496,"km_value":401563125595242.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4351814214461036544,"description":"Unknown IO ID 44"} 
[2026-09-07 15:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925986048001,"power":27658,"power_alt":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4351814214461036544}} 
[2026-09-07 15:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:01:25] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:01:25] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:01:40] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:40] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:40] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:01:45] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:45] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:45] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:01:45] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:45] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:01:45] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:01:46] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b332300012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b332300012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:46] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b332300012d196840071fecf8003d011f29..."} 
[2026-09-07 15:01:46] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:01:46] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925970688001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773344000,"timestamp_ms":1788773344000,"timestamp_seconds":1788773344,"priority":1,"record_length":96,"hex_timestamp":"000001a07b332300"} 
[2026-09-07 15: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-07 15:01: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925970688001,"66":12439,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925970688001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925970688001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:01:46] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:01:46] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:01:49] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:49] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:01:49] local.INFO: IMEI packet received {"connection_id":176207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":176207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:01:50] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b34a1d0012cc2d900076335880055015a2c..."} 
[2026-09-07 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b34a1d0012cc2d900076335880055015a2c..."} 
[2026-09-07 15:01:50] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b34a1d0012cc2d900076335880055015a2c..."} 
[2026-09-07 15:01:50] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:01:50] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":750967040,"raw_latitude":123942280,"longitude_deg":75.096704,"latitude_deg":12.394228,"altitude":85,"angle":346,"satellites":44,"speed":23,"hex_longitude":"2cc2d900","hex_latitude":"07633588","is_valid_coordinates":true} 
[2026-09-07 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925999360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401566170727055360,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405364828770138112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773442000,"timestamp_ms":1788773442000,"timestamp_seconds":1788773442,"priority":1,"record_length":96,"hex_timestamp":"000001a07b34a1d0"} 
[2026-09-07 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 15:01: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-07 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:01:50] 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-07 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925999360001,"66":27876,"158":206,"85":37120,"24":23,"16":401566170727055360,"44":-4405364828770138112},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925999360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:01:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401566170727055360,"km_value":401566170727055.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405364828770138112,"description":"Unknown IO ID 44"} 
[2026-09-07 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925999360001,"power":27876,"unknown_158":206,"unknown_85":37120,"ignition":23,"odometer":null,"unknown_44":-4405364828770138112}} 
[2026-09-07 15:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:01:50] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:01:50] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:02:17] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b337508012d196840071fecf8003d011f28..."} 
[2026-09-07 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b337508012d196840071fecf8003d011f28..."} 
[2026-09-07 15:02:17] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b337508012d196840071fecf8003d011f28..."} 
[2026-09-07 15:02:17] local.INFO: Packet analysis {"connection_id":173719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:02:17] local.INFO: Extracted packet for processing {"connection_id":173719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925976064001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773365000,"timestamp_ms":1788773365000,"timestamp_seconds":1788773365,"priority":1,"record_length":96,"hex_timestamp":"000001a07b337508"} 
[2026-09-07 15: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-07 15:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 15:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925976064001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925976064001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:02:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925976064001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":173719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:02:17] local.INFO: GPS data processed {"connection_id":173719,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:02:17] local.INFO: Acknowledgment sent {"connection_id":173719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:02:21] local.INFO: TCP Data received {"connection_id":176207,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b34d0b0012cc2d30007635b20005401602b..."} 
[2026-09-07 15:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b34d0b0012cc2d30007635b20005401602b..."} 
[2026-09-07 15:02:21] local.INFO: Processing buffer {"connection_id":176207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b34d0b0012cc2d30007635b20005401602b..."} 
[2026-09-07 15:02:21] local.INFO: Packet analysis {"connection_id":176207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:21] local.INFO: Extracted packet for processing {"connection_id":176207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750965504,"raw_latitude":123951904,"longitude_deg":75.0965504,"latitude_deg":12.3951904,"altitude":84,"angle":352,"satellites":43,"speed":43,"hex_longitude":"2cc2d300","hex_latitude":"07635b20","is_valid_coordinates":true} 
[2026-09-07 15:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926001152001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401566643173457920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406490728676096000,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773454000,"timestamp_ms":1788773454000,"timestamp_seconds":1788773454,"priority":1,"record_length":96,"hex_timestamp":"000001a07b34d0b0"} 
[2026-09-07 15:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 15:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:02:21] 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-07 15:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926001152001,"66":27865,"158":206,"85":37120,"24":43,"16":401566643173457920,"44":-4406490728676096000},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926001152001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:02:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401566643173457920,"km_value":401566643173457.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406490728676096000,"description":"Unknown IO ID 44"} 
[2026-09-07 15:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926001152001,"power":27865,"unknown_158":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4406490728676096000}} 
[2026-09-07 15:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":176207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:02:21] local.INFO: GPS data processed {"connection_id":176207,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:02:21] local.INFO: Acknowledgment sent {"connection_id":176207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:02:27] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:27] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:27] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:02:44] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:44] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:44] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:02:45] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:45] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:45] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:02:47] local.INFO: TCP Data received {"connection_id":174826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:47] local.INFO: Processing buffer {"connection_id":174826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:02:47] local.INFO: IMEI packet received {"connection_id":174826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":174826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:02:50] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:50] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:02:50] local.INFO: IMEI packet received {"connection_id":176208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":176208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:02:50] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:50] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:02:50] local.INFO: IMEI packet received {"connection_id":174825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":174825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:02:50] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b34eff0012cc2cf8007638070005001662a..."} 
[2026-09-07 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b34eff0012cc2cf8007638070005001662a..."} 
[2026-09-07 15:02:50] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b34eff0012cc2cf8007638070005001662a..."} 
[2026-09-07 15:02:50] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:50] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":750964608,"raw_latitude":123961456,"longitude_deg":75.0964608,"latitude_deg":12.3961456,"altitude":80,"angle":358,"satellites":42,"speed":49,"hex_longitude":"2cc2cf80","hex_latitude":"07638070","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926004224001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401567111324893184,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408179578533896192,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773462000,"timestamp_ms":1788773462000,"timestamp_seconds":1788773462,"priority":1,"record_length":96,"hex_timestamp":"000001a07b34eff0"} 
[2026-09-07 15: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-07 15:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 15:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:02:50] 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-07 15:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926004224001,"66":27397,"158":206,"85":37120,"24":49,"16":401567111324893184,"44":-4408179578533896192},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926004224001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:02:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401567111324893184,"km_value":401567111324893.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408179578533896192,"description":"Unknown IO ID 44"} 
[2026-09-07 15:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926004224001,"power":27397,"unknown_158":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4408179578533896192}} 
[2026-09-07 15:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:02:51] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:02:51] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:02:51] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b33c710012d196840071fecf8003d011f27..."} 
[2026-09-07 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b33c710012d196840071fecf8003d011f27..."} 
[2026-09-07 15:02:51] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b33c710012d196840071fecf8003d011f27..."} 
[2026-09-07 15:02:51] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:02:51] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b33"} 
[2026-09-07 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925981440001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02: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-07 15:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788773386000,"timestamp_ms":1788773386000,"timestamp_seconds":1788773386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b33c710"} 
[2026-09-07 15: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-07 15:02: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:02: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-07 15: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-07 15: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-07 15:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925981440001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925981440001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:02:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925981440001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:02:51] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:02:51] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:02:52] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b341918012d196840071fecf8003d011f23..."} 
[2026-09-07 15:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b341918012d196840071fecf8003d011f23..."} 
[2026-09-07 15:02:52] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b341918012d196840071fecf8003d011f23..."} 
[2026-09-07 15:02:52] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:52] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925986816001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788773407000,"timestamp_ms":1788773407000,"timestamp_seconds":1788773407,"priority":1,"record_length":96,"hex_timestamp":"000001a07b341918"} 
[2026-09-07 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-07 15:02: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15: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-07 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-07 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-07 15:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925986816001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925986816001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:02:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:02:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925986816001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:02:52] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:02:52] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:03:22] local.INFO: TCP Data received {"connection_id":176208,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3647b0012cc2e880076458900053005a21..."} 
[2026-09-07 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3647b0012cc2e880076458900053005a21..."} 
[2026-09-07 15:03:22] local.INFO: Processing buffer {"connection_id":176208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3647b0012cc2e880076458900053005a21..."} 
[2026-09-07 15:03:22] local.INFO: Packet analysis {"connection_id":176208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:03:22] local.INFO: Extracted packet for processing {"connection_id":176208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":750971008,"raw_latitude":124016784,"longitude_deg":75.0971008,"latitude_deg":12.4016784,"altitude":83,"angle":90,"satellites":33,"speed":8,"hex_longitude":"2cc2e880","hex_latitude":"07645890","is_valid_coordinates":true} 
[2026-09-07 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-07 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926028544001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401569894463700992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402550078983059456,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788773550000,"timestamp_ms":1788773550000,"timestamp_seconds":1788773550,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3647b0"} 
[2026-09-07 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-07 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 15:03:22] 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-07 15: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-07 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-07 15:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:03:22] 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-07 15:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926028544001,"66":27843,"158":206,"85":37120,"24":8,"16":401569894463700992,"44":-4402550078983059456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926028544001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:03:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401569894463700992,"km_value":401569894463701.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402550078983059456,"description":"Unknown IO ID 44"} 
[2026-09-07 15:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926028544001,"power":27843,"unknown_158":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4402550078983059456}} 
[2026-09-07 15:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":176208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:03:22] local.INFO: GPS data processed {"connection_id":176208,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:03:22] local.INFO: Acknowledgment sent {"connection_id":176208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:03:23] local.INFO: TCP Data received {"connection_id":174825,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b346b20012d196840071fecf8003d011f27..."} 
[2026-09-07 15:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b346b20012d196840071fecf8003d011f27..."} 
[2026-09-07 15:03:23] local.INFO: Processing buffer {"connection_id":174825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b346b20012d196840071fecf8003d011f27..."} 
[2026-09-07 15:03:23] local.INFO: Packet analysis {"connection_id":174825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:03:23] local.INFO: Extracted packet for processing {"connection_id":174825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925992192001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788773428000,"timestamp_ms":1788773428000,"timestamp_seconds":1788773428,"priority":1,"record_length":96,"hex_timestamp":"000001a07b346b20"} 
[2026-09-07 15: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-07 15:03: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-07 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 15:03: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-07 15: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-07 15: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-07 15:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925992192001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925992192001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:03:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925992192001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":174825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:03:23] local.INFO: GPS data processed {"connection_id":174825,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:03:23] local.INFO: Acknowledgment sent {"connection_id":174825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:03:40] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:40] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:40] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:03:44] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:44] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:44] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:03:46] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:46] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:03:46] local.INFO: IMEI packet received {"connection_id":174827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":174827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:03:47] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b34bd28012d196840071fecf8003d011f28..."} 
[2026-09-07 15:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b34bd28012d196840071fecf8003d011f28..."} 
[2026-09-07 15:03:47] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b34bd28012d196840071fecf8003d011f28..."} 
[2026-09-07 15:03:47] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:03:47] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b34"} 
[2026-09-07 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925997568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03: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-07 15:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788773449000,"timestamp_ms":1788773449000,"timestamp_seconds":1788773449,"priority":1,"record_length":96,"hex_timestamp":"000001a07b34bd28"} 
[2026-09-07 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-07 15:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:03:47] 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-07 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-07 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-07 15:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925997568001,"66":11961,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925997568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:03:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:03:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925997568001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:03:47] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:03:47] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:03:48] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:48] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:48] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:03:49] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:49] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:03:49] local.INFO: IMEI packet received {"connection_id":173478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:03:50] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b364f80012cc2ec00076459080053004922..."} 
[2026-09-07 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b364f80012cc2ec00076459080053004922..."} 
[2026-09-07 15:03:50] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b364f80012cc2ec00076459080053004922..."} 
[2026-09-07 15:03:50] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:03:50] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:03:50] local.INFO: GPS Element Parsed {"raw_longitude":750971904,"raw_latitude":124016904,"longitude_deg":75.0971904,"latitude_deg":12.4016904,"altitude":83,"angle":73,"satellites":34,"speed":11,"hex_longitude":"2cc2ec00","hex_latitude":"07645908","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926028800001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401569941708341248,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402127866518007808,"note":"Value kept but may cause issues"} 
[2026-09-07 15:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773552000,"timestamp_ms":1788773552000,"timestamp_seconds":1788773552,"priority":1,"record_length":96,"hex_timestamp":"000001a07b364f80"} 
[2026-09-07 15: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-07 15:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 15:03:50] 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-07 15: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-07 15: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-07 15:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:03:50] 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-07 15:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926028800001,"66":27821,"158":206,"85":37120,"24":11,"16":401569941708341248,"44":-4402127866518007808},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926028800001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:03:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401569941708341248,"km_value":401569941708341.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402127866518007808,"description":"Unknown IO ID 44"} 
[2026-09-07 15:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926028800001,"power":27821,"unknown_158":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4402127866518007808}} 
[2026-09-07 15:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:03:50] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:03:50] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:04:18] local.INFO: TCP Data received {"connection_id":174827,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b350f30012d196840071fecf8003d011f24..."} 
[2026-09-07 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b350f30012d196840071fecf8003d011f24..."} 
[2026-09-07 15:04:18] local.INFO: Processing buffer {"connection_id":174827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b350f30012d196840071fecf8003d011f24..."} 
[2026-09-07 15:04:18] local.INFO: Packet analysis {"connection_id":174827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:04:18] local.INFO: Extracted packet for processing {"connection_id":174827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:04: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-07 15:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926002944001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04: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-07 15:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788773470000,"timestamp_ms":1788773470000,"timestamp_seconds":1788773470,"priority":1,"record_length":96,"hex_timestamp":"000001a07b350f30"} 
[2026-09-07 15:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 15:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:04: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-07 15:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926002944001,"66":12037,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926002944001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926002944001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":174827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:04:18] local.INFO: GPS data processed {"connection_id":174827,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:04:18] local.INFO: Acknowledgment sent {"connection_id":174827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:04:21] local.INFO: TCP Data received {"connection_id":173478,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b365b38012cc2ef80076459680052003326..."} 
[2026-09-07 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b365b38012cc2ef80076459680052003326..."} 
[2026-09-07 15:04:21] local.INFO: Processing buffer {"connection_id":173478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b365b38012cc2ef80076459680052003326..."} 
[2026-09-07 15:04:21] local.INFO: Packet analysis {"connection_id":173478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:04:21] local.INFO: Extracted packet for processing {"connection_id":173478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:04:21] local.INFO: GPS Element Parsed {"raw_longitude":750972800,"raw_latitude":124017000,"longitude_deg":75.09728,"latitude_deg":12.4017,"altitude":82,"angle":51,"satellites":38,"speed":6,"hex_longitude":"2cc2ef80","hex_latitude":"07645968","is_valid_coordinates":true} 
[2026-09-07 15:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926029312001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401569984658014208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401142704099489792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773555000,"timestamp_ms":1788773555000,"timestamp_seconds":1788773555,"priority":1,"record_length":96,"hex_timestamp":"000001a07b365b38"} 
[2026-09-07 15:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:04:21] 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-07 15:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:04:21] 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-07 15:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926029312001,"66":27767,"158":206,"85":37120,"24":6,"16":401569984658014208,"44":-4401142704099489792},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926029312001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:04:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401569984658014208,"km_value":401569984658014.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401142704099489792,"description":"Unknown IO ID 44"} 
[2026-09-07 15:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926029312001,"power":27767,"unknown_158":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4401142704099489792}} 
[2026-09-07 15:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":173478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:04:21] local.INFO: GPS data processed {"connection_id":173478,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:04:21] local.INFO: Acknowledgment sent {"connection_id":173478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:04:40] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:40] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:40] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:04:45] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:45] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:04:45] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:04:46] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b356138012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b356138012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:04:46] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b356138012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:04:46] local.INFO: Packet analysis {"connection_id":173721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:04:46] local.INFO: Extracted packet for processing {"connection_id":173721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926008320001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773491000,"timestamp_ms":1788773491000,"timestamp_seconds":1788773491,"priority":1,"record_length":96,"hex_timestamp":"000001a07b356138"} 
[2026-09-07 15: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-07 15:04: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-07 15: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3975675965,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300486189586652969,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194919680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:04:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,118,160,189,45,64,236,61,40,10,66,107,39,25,1,240,140,227,123,31,4,113,205,117,104,248,239,48,2,65,7,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-07 15:04:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395828950769598464,"timestamp_seconds":4395828950769598.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15: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-07 15:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926008320001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926008320001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926008320001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:04:46] local.INFO: GPS data processed {"connection_id":173721,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:04:46] local.INFO: Acknowledgment sent {"connection_id":173721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:04:50] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:50] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:50] local.INFO: IMEI packet received {"connection_id":173722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":173722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:04:59] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:59] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:04:59] local.INFO: IMEI packet received {"connection_id":173722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":173722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:05:00] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3695d0012cc2f0c007645a08005000102d..."} 
[2026-09-07 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3695d0012cc2f0c007645a08005000102d..."} 
[2026-09-07 15:05:00] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3695d0012cc2f0c007645a08005000102d..."} 
[2026-09-07 15:05:00] local.INFO: Packet analysis {"connection_id":173722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:00] local.INFO: Extracted packet for processing {"connection_id":173722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":750973120,"raw_latitude":124017160,"longitude_deg":75.097312,"latitude_deg":12.401716,"altitude":80,"angle":16,"satellites":45,"speed":6,"hex_longitude":"2cc2f0c0","hex_latitude":"07645a08","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926030080001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401570010427817984,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4400157541680977920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788773570000,"timestamp_ms":1788773570000,"timestamp_seconds":1788773570,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3695d0"} 
[2026-09-07 15: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-07 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:00] 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-07 15:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926030080001,"66":27843,"158":206,"85":37120,"24":6,"16":401570010427817984,"44":-4400157541680977920},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926030080001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:00] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401570010427817984,"km_value":401570010427818.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4400157541680977920,"description":"Unknown IO ID 44"} 
[2026-09-07 15:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926030080001,"power":27843,"unknown_158":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4400157541680977920}} 
[2026-09-07 15:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":173722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:00] local.INFO: GPS data processed {"connection_id":173722,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:00] local.INFO: Acknowledgment sent {"connection_id":173722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:05:01] local.INFO: TCP Data received {"connection_id":173722,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3699b8012cc2f10007645ae8005000012c..."} 
[2026-09-07 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3699b8012cc2f10007645ae8005000012c..."} 
[2026-09-07 15:05:01] local.INFO: Processing buffer {"connection_id":173722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3699b8012cc2f10007645ae8005000012c..."} 
[2026-09-07 15:05:01] local.INFO: Packet analysis {"connection_id":173722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:01] local.INFO: Extracted packet for processing {"connection_id":173722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750973184,"raw_latitude":124017384,"longitude_deg":75.0973184,"latitude_deg":12.4017384,"altitude":80,"angle":1,"satellites":44,"speed":10,"hex_longitude":"2cc2f100","hex_latitude":"07645ae8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926033920001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401570019017752576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4399805697960048640,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788773571000,"timestamp_ms":1788773571000,"timestamp_seconds":1788773571,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3699b8"} 
[2026-09-07 15: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-07 15:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 15:05:01] 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-07 15: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-07 15: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-07 15:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:01] 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-07 15:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926033920001,"66":27908,"158":206,"85":37120,"24":10,"16":401570019017752576,"44":-4399805697960048640},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926033920001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401570019017752576,"km_value":401570019017752.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4399805697960048640,"description":"Unknown IO ID 44"} 
[2026-09-07 15:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926033920001,"power":27908,"unknown_158":206,"unknown_85":37120,"ignition":10,"odometer":null,"unknown_44":-4399805697960048640}} 
[2026-09-07 15:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":173722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:01] local.INFO: GPS data processed {"connection_id":173722,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:01] local.INFO: Acknowledgment sent {"connection_id":173722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:05:17] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b35b340012d196840071fecf8003d011f28..."} 
[2026-09-07 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b35b340012d196840071fecf8003d011f28..."} 
[2026-09-07 15:05:17] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b35b340012d196840071fecf8003d011f28..."} 
[2026-09-07 15:05:17] local.INFO: Packet analysis {"connection_id":173721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:05:17] local.INFO: Extracted packet for processing {"connection_id":173721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b35"} 
[2026-09-07 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926013696001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773512000,"timestamp_ms":1788773512000,"timestamp_seconds":1788773512,"priority":1,"record_length":96,"hex_timestamp":"000001a07b35b340"} 
[2026-09-07 15:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926013696001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926013696001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926013696001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":173721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:17] local.INFO: GPS data processed {"connection_id":173721,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:17] local.INFO: Acknowledgment sent {"connection_id":173721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:05:39] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:39] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:39] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:05:40] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:40] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:40] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:05:44] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:44] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:44] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:05:45] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:05:45] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:45] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:05:45] local.INFO: IMEI packet received {"connection_id":173481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:05:45] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:05:45] local.INFO: IMEI packet received {"connection_id":176209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":176209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:05:46] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b360548012d196840071fecf8003d011f27..."} 
[2026-09-07 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b360548012d196840071fecf8003d011f27..."} 
[2026-09-07 15:05:46] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b360548012d196840071fecf8003d011f27..."} 
[2026-09-07 15:05:46] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:46] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926019072001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773533000,"timestamp_ms":1788773533000,"timestamp_seconds":1788773533,"priority":1,"record_length":96,"hex_timestamp":"000001a07b360548"} 
[2026-09-07 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-07 15:05: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926019072001,"66":12374,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926019072001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926019072001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:46] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:46] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:05:46] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b384380012cc2b50007654c28005001402b..."} 
[2026-09-07 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b384380012cc2b50007654c28005001402b..."} 
[2026-09-07 15:05:46] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b384380012cc2b50007654c28005001402b..."} 
[2026-09-07 15:05:46] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:05:46] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":750957824,"raw_latitude":124079144,"longitude_deg":75.0957824,"latitude_deg":12.4079144,"altitude":80,"angle":320,"satellites":43,"speed":32,"hex_longitude":"2cc2b500","hex_latitude":"07654c28","is_valid_coordinates":true} 
[2026-09-07 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-07 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926058496001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401573188703617024,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410361009572794368,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773680000,"timestamp_ms":1788773680000,"timestamp_seconds":1788773680,"priority":1,"record_length":96,"hex_timestamp":"000001a07b384380"} 
[2026-09-07 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-07 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:46] 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-07 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926058496001,"66":27745,"209":206,"85":37120,"24":32,"16":401573188703617024,"44":-4410361009572794368},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926058496001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401573188703617024,"km_value":401573188703617.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410361009572794368,"description":"Unknown IO ID 44"} 
[2026-09-07 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926058496001,"power":27745,"unknown_209":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4410361009572794368}} 
[2026-09-07 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:46] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:46] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:05:46] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b386a90012cc29e00076568e80051014127..."} 
[2026-09-07 15:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b386a90012cc29e00076568e80051014127..."} 
[2026-09-07 15:05:46] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b386a90012cc29e00076568e80051014127..."} 
[2026-09-07 15:05:46] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:05:46] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":750951936,"raw_latitude":124086504,"longitude_deg":75.0951936,"latitude_deg":12.4086504,"altitude":81,"angle":321,"satellites":39,"speed":38,"hex_longitude":"2cc29e00","hex_latitude":"076568e8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926062080001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401573639675183104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4416623827802642432,"note":"Value kept but may cause issues"} 
[2026-09-07 15:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773690000,"timestamp_ms":1788773690000,"timestamp_seconds":1788773690,"priority":1,"record_length":96,"hex_timestamp":"000001a07b386a90"} 
[2026-09-07 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-07 15:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:05: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-07 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-07 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-07 15:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:05:46] 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-07 15:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926062080001,"66":27930,"209":206,"85":37120,"24":38,"16":401573639675183104,"44":-4416623827802642432},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-07 15:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926062080001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401573639675183104,"km_value":401573639675183.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4416623827802642432,"description":"Unknown IO ID 44"} 
[2026-09-07 15:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926062080001,"power":27930,"unknown_209":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4416623827802642432}} 
[2026-09-07 15:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:05:46] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:05:46] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:06:17] local.INFO: TCP Data received {"connection_id":173481,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b365750012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b365750012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:17] local.INFO: Processing buffer {"connection_id":173481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b365750012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:17] local.INFO: Packet analysis {"connection_id":173481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:06:17] local.INFO: Extracted packet for processing {"connection_id":173481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926024448001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773554000,"timestamp_ms":1788773554000,"timestamp_seconds":1788773554,"priority":1,"record_length":96,"hex_timestamp":"000001a07b365750"} 
[2026-09-07 15: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-07 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 15:06:17] 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-07 15: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-07 15: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-07 15:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926024448001,"66":12406,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926024448001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926024448001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":173481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:06:17] local.INFO: GPS data processed {"connection_id":173481,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:06:17] local.INFO: Acknowledgment sent {"connection_id":173481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:06:21] local.INFO: TCP Data received {"connection_id":176209,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b38ef60012cc2910007659658005101672a..."} 
[2026-09-07 15:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b38ef60012cc2910007659658005101672a..."} 
[2026-09-07 15:06:21] local.INFO: Processing buffer {"connection_id":176209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b38ef60012cc2910007659658005101672a..."} 
[2026-09-07 15:06:21] local.INFO: Packet analysis {"connection_id":176209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:06:21] local.INFO: Extracted packet for processing {"connection_id":176209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750948608,"raw_latitude":124098136,"longitude_deg":75.0948608,"latitude_deg":12.4098136,"altitude":81,"angle":359,"satellites":42,"speed":24,"hex_longitude":"2cc29100","hex_latitude":"07659658","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926073088001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401574451424002048,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426827295703695360,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773724000,"timestamp_ms":1788773724000,"timestamp_seconds":1788773724,"priority":1,"record_length":96,"hex_timestamp":"000001a07b38ef60"} 
[2026-09-07 15: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-07 15:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:06:21] 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-07 15:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926073088001,"66":27908,"209":206,"85":37120,"24":24,"16":401574451424002048,"44":-4426827295703695360},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-07 15:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926073088001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:06:21] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 15:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401574451424002048,"km_value":401574451424002.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426827295703695360,"description":"Unknown IO ID 44"} 
[2026-09-07 15:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926073088001,"power":27908,"unknown_209":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4426827295703695360}} 
[2026-09-07 15:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":176209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:06:21] local.INFO: GPS data processed {"connection_id":176209,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:06:21] local.INFO: Acknowledgment sent {"connection_id":176209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:06:40] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:40] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:40] local.INFO: IMEI packet received {"connection_id":176210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":176210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:06:43] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:43] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:43] local.INFO: IMEI packet received {"connection_id":176210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":176210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:06:44] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:44] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:44] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:06:45] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:45] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:45] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:06:45] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:45] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:06:45] local.INFO: IMEI packet received {"connection_id":176210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:06:46] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b36a958012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b36a958012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:46] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b36a958012d196840071fecf8003d011f29..."} 
[2026-09-07 15:06:46] local.INFO: Packet analysis {"connection_id":176210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:06:46] local.INFO: Extracted packet for processing {"connection_id":176210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926029824001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773575000,"timestamp_ms":1788773575000,"timestamp_seconds":1788773575,"priority":1,"record_length":96,"hex_timestamp":"000001a07b36a958"} 
[2026-09-07 15: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-07 15:06: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-07 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:06:46] 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-07 15: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-07 15: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-07 15:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926029824001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926029824001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926029824001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":176210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:06:46] local.INFO: GPS data processed {"connection_id":176210,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:06:46] local.INFO: Acknowledgment sent {"connection_id":176210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:06:48] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:48] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:48] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:06:50] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:50] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:06:50] local.INFO: IMEI packet received {"connection_id":176211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":176211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:06:51] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3906d0012cc291000765a940004e000a2b..."} 
[2026-09-07 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3906d0012cc291000765a940004e000a2b..."} 
[2026-09-07 15:06:51] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3906d0012cc291000765a940004e000a2b..."} 
[2026-09-07 15:06:51] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:06:51] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":750948608,"raw_latitude":124102976,"longitude_deg":75.0948608,"latitude_deg":12.4102976,"altitude":78,"angle":10,"satellites":43,"speed":38,"hex_longitude":"2cc29100","hex_latitude":"0765a940","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926073344001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401574687647203328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426756926959364096,"note":"Value kept but may cause issues"} 
[2026-09-07 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788773730000,"timestamp_ms":1788773730000,"timestamp_seconds":1788773730,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3906d0"} 
[2026-09-07 15: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-07 15:06: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-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:06:51] 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-07 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926073344001,"66":27908,"209":206,"85":37120,"24":38,"16":401574687647203328,"44":-4426756926959364096},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-09-07 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926073344001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:06:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 15:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401574687647203328,"km_value":401574687647203.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426756926959364096,"description":"Unknown IO ID 44"} 
[2026-09-07 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926073344001,"power":27908,"unknown_209":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4426756926959364096}} 
[2026-09-07 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:06:51] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:06:51] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:07:17] local.INFO: TCP Data received {"connection_id":176210,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b36fb60012d196840071fecf8003d011f28..."} 
[2026-09-07 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b36fb60012d196840071fecf8003d011f28..."} 
[2026-09-07 15:07:17] local.INFO: Processing buffer {"connection_id":176210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b36fb60012d196840071fecf8003d011f28..."} 
[2026-09-07 15:07:17] local.INFO: Packet analysis {"connection_id":176210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:07:17] local.INFO: Extracted packet for processing {"connection_id":176210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b36"} 
[2026-09-07 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926035200001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773596000,"timestamp_ms":1788773596000,"timestamp_seconds":1788773596,"priority":1,"record_length":96,"hex_timestamp":"000001a07b36fb60"} 
[2026-09-07 15: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-07 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926035200001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926035200001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:07:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926035200001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":176210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:07:17] local.INFO: GPS data processed {"connection_id":176210,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:07:17] local.INFO: Acknowledgment sent {"connection_id":176210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:07:22] local.INFO: TCP Data received {"connection_id":176211,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b39f518012cc2fec00766add0004d00422b..."} 
[2026-09-07 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b39f518012cc2fec00766add0004d00422b..."} 
[2026-09-07 15:07:22] local.INFO: Processing buffer {"connection_id":176211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b39f518012cc2fec00766add0004d00422b..."} 
[2026-09-07 15:07:22] local.INFO: Packet analysis {"connection_id":176211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:07:22] local.INFO: Extracted packet for processing {"connection_id":176211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":750976704,"raw_latitude":124169680,"longitude_deg":75.0976704,"latitude_deg":12.416968,"altitude":77,"angle":66,"satellites":43,"speed":53,"hex_longitude":"2cc2fec0","hex_latitude":"0766add0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926088704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401578643312082944,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405505566200432640,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788773791000,"timestamp_ms":1788773791000,"timestamp_seconds":1788773791,"priority":1,"record_length":96,"hex_timestamp":"000001a07b39f518"} 
[2026-09-07 15: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-07 15:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 15:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:07:22] 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-07 15:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926088704001,"66":27843,"88":206,"85":37120,"24":53,"16":401578643312082944,"44":-4405505566200432640},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926088704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:07:22] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401578643312082944,"km_value":401578643312082.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405505566200432640,"description":"Unknown IO ID 44"} 
[2026-09-07 15:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926088704001,"power":27843,"unknown_88":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4405505566200432640}} 
[2026-09-07 15:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":176211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:07:22] local.INFO: GPS data processed {"connection_id":176211,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:07:22] local.INFO: Acknowledgment sent {"connection_id":176211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:07:40] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:40] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:40] local.INFO: IMEI packet received {"connection_id":174828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":174828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:07:44] local.INFO: TCP Data received {"connection_id":174829,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:44] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:44] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:07:45] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:45] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:07:45] local.INFO: IMEI packet received {"connection_id":174828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:07:46] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b374d68012d196840071fecf8003d011f27..."} 
[2026-09-07 15:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b374d68012d196840071fecf8003d011f27..."} 
[2026-09-07 15:07:46] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b374d68012d196840071fecf8003d011f27..."} 
[2026-09-07 15:07:46] local.INFO: Packet analysis {"connection_id":174828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:07:46] local.INFO: Extracted packet for processing {"connection_id":174828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926040576001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773617000,"timestamp_ms":1788773617000,"timestamp_seconds":1788773617,"priority":1,"record_length":96,"hex_timestamp":"000001a07b374d68"} 
[2026-09-07 15: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-07 15:07: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926040576001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926040576001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926040576001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":174828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:07:46] local.INFO: GPS data processed {"connection_id":174828,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:07:46] local.INFO: Acknowledgment sent {"connection_id":174828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:07:47] local.INFO: TCP Data received {"connection_id":174829,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:47] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:47] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:07:49] local.INFO: TCP Data received {"connection_id":174829,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:49] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:07:49] local.INFO: IMEI packet received {"connection_id":174829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:07:50] local.INFO: TCP Data received {"connection_id":174829,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3a04b8012cc311800766b720005000372c..."} 
[2026-09-07 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3a04b8012cc311800766b720005000372c..."} 
[2026-09-07 15:07:50] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3a04b8012cc311800766b720005000372c..."} 
[2026-09-07 15:07:50] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:07:50] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750981504,"raw_latitude":124172064,"longitude_deg":75.0981504,"latitude_deg":12.4172064,"altitude":80,"angle":55,"satellites":44,"speed":51,"hex_longitude":"2cc31180","hex_latitude":"0766b720","is_valid_coordinates":true} 
[2026-09-07 15:07: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-07 15:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926090496001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401578901010120704,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4395865048247054336,"note":"Value kept but may cause issues"} 
[2026-09-07 15:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773795000,"timestamp_ms":1788773795000,"timestamp_seconds":1788773795,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3a04b8"} 
[2026-09-07 15:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:07: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":195,"data_length":795,"current_offset":136} 
[2026-09-07 15:07:50] 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-07 15:07: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-07 15:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:07:50] 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-07 15:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926090496001,"66":27919,"88":206,"85":37120,"24":51,"16":401578901010120704,"44":-4395865048247054336},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926090496001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:07:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:07:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401578901010120704,"km_value":401578901010120.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4395865048247054336,"description":"Unknown IO ID 44"} 
[2026-09-07 15:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926090496001,"power":27919,"unknown_88":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4395865048247054336}} 
[2026-09-07 15:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:07:50] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:07:50] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:08:02] local.INFO: TCP Data received {"connection_id":174830,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:08:02] local.INFO: Processing buffer {"connection_id":174830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:08:02] local.INFO: IMEI packet received {"connection_id":174830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":174830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:08:17] local.INFO: TCP Data received {"connection_id":174828,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b379f70012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b379f70012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:17] local.INFO: Processing buffer {"connection_id":174828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b379f70012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:17] local.INFO: Packet analysis {"connection_id":174828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:08:17] local.INFO: Extracted packet for processing {"connection_id":174828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926045952001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773638000,"timestamp_ms":1788773638000,"timestamp_seconds":1788773638,"priority":1,"record_length":96,"hex_timestamp":"000001a07b379f70"} 
[2026-09-07 15: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-07 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926045952001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926045952001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926045952001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":174828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:08:17] local.INFO: GPS data processed {"connection_id":174828,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:08:17] local.INFO: Acknowledgment sent {"connection_id":174828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:08:21] local.INFO: TCP Data received {"connection_id":174829,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3aef18012cc389400767b3680055015528..."} 
[2026-09-07 15:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3aef18012cc389400767b3680055015528..."} 
[2026-09-07 15:08:21] local.INFO: Processing buffer {"connection_id":174829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3aef18012cc389400767b3680055015528..."} 
[2026-09-07 15:08:21] local.INFO: Packet analysis {"connection_id":174829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:08:21] local.INFO: Extracted packet for processing {"connection_id":174829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:08:21] local.INFO: GPS Element Parsed {"raw_longitude":751012160,"raw_latitude":124236648,"longitude_deg":75.101216,"latitude_deg":12.4236648,"altitude":85,"angle":341,"satellites":40,"speed":43,"hex_longitude":"2cc38940","hex_latitude":"0767b368","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926106624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401582448653107200,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356528920234866688,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773855000,"timestamp_ms":1788773855000,"timestamp_seconds":1788773855,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3aef18"} 
[2026-09-07 15: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-07 15:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:08:21] 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-07 15:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926106624001,"66":27908,"88":206,"85":37120,"24":43,"16":401582448653107200,"44":-4356528920234866688},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926106624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:08:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401582448653107200,"km_value":401582448653107.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356528920234866688,"description":"Unknown IO ID 44"} 
[2026-09-07 15:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926106624001,"power":27908,"unknown_88":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4356528920234866688}} 
[2026-09-07 15:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":174829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:08:21] local.INFO: GPS data processed {"connection_id":174829,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:08:21] local.INFO: Acknowledgment sent {"connection_id":174829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:08:40] local.INFO: TCP Data received {"connection_id":173723,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:40] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:40] local.INFO: IMEI packet received {"connection_id":173723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":173723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:08:45] local.INFO: TCP Data received {"connection_id":173723,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:45] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:08:45] local.INFO: IMEI packet received {"connection_id":173723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:08:46] local.INFO: TCP Data received {"connection_id":173723,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b37f178012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b37f178012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:46] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b37f178012d196840071fecf8003d011f29..."} 
[2026-09-07 15:08:46] local.INFO: Packet analysis {"connection_id":173723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:08:46] local.INFO: Extracted packet for processing {"connection_id":173723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b37"} 
[2026-09-07 15:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926051328001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773659000,"timestamp_ms":1788773659000,"timestamp_seconds":1788773659,"priority":1,"record_length":96,"hex_timestamp":"000001a07b37f178"} 
[2026-09-07 15: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-07 15:08: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-07 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 15:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926051328001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926051328001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926051328001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":173723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:08:46] local.INFO: GPS data processed {"connection_id":173723,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:08:46] local.INFO: Acknowledgment sent {"connection_id":173723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:08:49] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:49] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:49] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:08:55] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:55] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:08:55] local.INFO: IMEI packet received {"connection_id":176213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":176213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:08:55] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3af6e8012cc385000767bb600054014529..."} 
[2026-09-07 15:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3af6e8012cc385000767bb600054014529..."} 
[2026-09-07 15:08:55] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3af6e8012cc385000767bb600054014529..."} 
[2026-09-07 15:08:55] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:08:55] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3a"} 
[2026-09-07 15:08:55] local.INFO: GPS Element Parsed {"raw_longitude":751011072,"raw_latitude":124238688,"longitude_deg":75.1011072,"latitude_deg":12.4238688,"altitude":84,"angle":325,"satellites":41,"speed":48,"hex_longitude":"2cc38500","hex_latitude":"0767bb60","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926106880001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401582564617224192,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4356880763955484672,"note":"Value kept but may cause issues"} 
[2026-09-07 15:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788773857000,"timestamp_ms":1788773857000,"timestamp_seconds":1788773857,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3af6e8"} 
[2026-09-07 15: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-07 15:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:08:55] 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-07 15:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926106880001,"66":27767,"88":206,"85":37120,"24":48,"16":401582564617224192,"44":-4356880763955484672},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926106880001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:08:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401582564617224192,"km_value":401582564617224.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:08:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4356880763955484672,"description":"Unknown IO ID 44"} 
[2026-09-07 15:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926106880001,"power":27767,"unknown_88":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4356880763955484672}} 
[2026-09-07 15:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:08:55] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:08:55] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:09:00] local.INFO: TCP Data received {"connection_id":176213,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b02a0012cc37ac00767c690005401362b..."} 
[2026-09-07 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b02a0012cc37ac00767c690005401362b..."} 
[2026-09-07 15:09:00] local.INFO: Processing buffer {"connection_id":176213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b02a0012cc37ac00767c690005401362b..."} 
[2026-09-07 15:09:00] local.INFO: Packet analysis {"connection_id":176213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:09:00] local.INFO: Extracted packet for processing {"connection_id":176213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":751008448,"raw_latitude":124241552,"longitude_deg":75.1008448,"latitude_deg":12.4241552,"altitude":84,"angle":310,"satellites":43,"speed":52,"hex_longitude":"2cc37ac0","hex_latitude":"0767c690","is_valid_coordinates":true} 
[2026-09-07 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926107392001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401582749300817920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4358077032605982720,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788773860000,"timestamp_ms":1788773860000,"timestamp_seconds":1788773860,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b02a0"} 
[2026-09-07 15:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:09:00] 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-07 15:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926107392001,"66":27321,"88":206,"85":37120,"24":52,"16":401582749300817920,"44":-4358077032605982720},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926107392001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:09:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401582749300817920,"km_value":401582749300817.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4358077032605982720,"description":"Unknown IO ID 44"} 
[2026-09-07 15:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926107392001,"power":27321,"unknown_88":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4358077032605982720}} 
[2026-09-07 15:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":176213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:09:00] local.INFO: GPS data processed {"connection_id":176213,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:09:00] local.INFO: Acknowledgment sent {"connection_id":176213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:09:17] local.INFO: TCP Data received {"connection_id":173723,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b384380012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b384380012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:17] local.INFO: Processing buffer {"connection_id":173723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b384380012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:17] local.INFO: Packet analysis {"connection_id":173723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:17] local.INFO: Extracted packet for processing {"connection_id":173723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926056704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788773680000,"timestamp_ms":1788773680000,"timestamp_seconds":1788773680,"priority":1,"record_length":96,"hex_timestamp":"000001a07b384380"} 
[2026-09-07 15: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-07 15:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926056704001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926056704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926056704001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":173723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:09:17] local.INFO: GPS data processed {"connection_id":173723,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:09:17] local.INFO: Acknowledgment sent {"connection_id":173723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:09:44] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:44] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:44] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:09:45] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:45] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:45] local.INFO: IMEI packet received {"connection_id":176215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:09:49] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:49] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:09:49] local.INFO: IMEI packet received {"connection_id":173483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:09:50] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b1df8012cc35ec00767e0000057013b2b..."} 
[2026-09-07 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b1df8012cc35ec00767e0000057013b2b..."} 
[2026-09-07 15:09:50] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b1df8012cc35ec00767e0000057013b2b..."} 
[2026-09-07 15:09:50] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:09:50] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":751001280,"raw_latitude":124248064,"longitude_deg":75.100128,"latitude_deg":12.4248064,"altitude":87,"angle":315,"satellites":43,"speed":53,"hex_longitude":"2cc35ec0","hex_latitude":"0767e000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926108160001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583213157285888,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4360962151116533760,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773867000,"timestamp_ms":1788773867000,"timestamp_seconds":1788773867,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b1df8"} 
[2026-09-07 15: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-07 15:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 15:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926108160001,"66":27887,"88":206,"85":37120,"24":53,"16":401583213157285888,"44":-4360962151116533760},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926108160001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:09:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583213157285888,"km_value":401583213157285.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4360962151116533760,"description":"Unknown IO ID 44"} 
[2026-09-07 15:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926108160001,"power":27887,"unknown_88":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4360962151116533760}} 
[2026-09-07 15:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:09:50] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:09:50] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:09:50] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:50] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:09:50] local.INFO: IMEI packet received {"connection_id":176215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":176215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:09:51] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b389588012d196840071fecf8003d011f25..."} 
[2026-09-07 15:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b389588012d196840071fecf8003d011f25..."} 
[2026-09-07 15:09:51] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b389588012d196840071fecf8003d011f25..."} 
[2026-09-07 15:09:51] local.INFO: Packet analysis {"connection_id":176215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:51] local.INFO: Extracted packet for processing {"connection_id":176215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926062080001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09: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-07 15:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788773701000,"timestamp_ms":1788773701000,"timestamp_seconds":1788773701,"priority":1,"record_length":96,"hex_timestamp":"000001a07b389588"} 
[2026-09-07 15: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-07 15:09: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-07 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:09:51] 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-07 15: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-07 15: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-07 15:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926062080001,"66":12406,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926062080001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:09:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926062080001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":176215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:09:51] local.INFO: GPS data processed {"connection_id":176215,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:09:51] local.INFO: Acknowledgment sent {"connection_id":176215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:09:52] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b38e790012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b38e790012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:52] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b38e790012d196840071fecf8003d011f28..."} 
[2026-09-07 15:09:52] local.INFO: Packet analysis {"connection_id":176215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:52] local.INFO: Extracted packet for processing {"connection_id":176215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b38"} 
[2026-09-07 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926067456001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:09: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-07 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788773722000,"timestamp_ms":1788773722000,"timestamp_seconds":1788773722,"priority":1,"record_length":96,"hex_timestamp":"000001a07b38e790"} 
[2026-09-07 15: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-07 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:09: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-07 15: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-07 15: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-07 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926067456001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926067456001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:09:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:09:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926067456001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":176215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:09:52] local.INFO: GPS data processed {"connection_id":176215,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:09:52] local.INFO: Acknowledgment sent {"connection_id":176215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:10:21] local.INFO: TCP Data received {"connection_id":173483,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b3180012cc34ec00767f400005801482a..."} 
[2026-09-07 15:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b3180012cc34ec00767f400005801482a..."} 
[2026-09-07 15:10:21] local.INFO: Processing buffer {"connection_id":173483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b3180012cc34ec00767f400005801482a..."} 
[2026-09-07 15:10:21] local.INFO: Packet analysis {"connection_id":173483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:10:21] local.INFO: Extracted packet for processing {"connection_id":173483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:10:21] local.INFO: GPS Element Parsed {"raw_longitude":750997184,"raw_latitude":124253184,"longitude_deg":75.0997184,"latitude_deg":12.4253184,"altitude":88,"angle":328,"satellites":42,"speed":50,"hex_longitude":"2cc34ec0","hex_latitude":"0767f400","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926109952001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583530984865792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368843450462765056,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773872000,"timestamp_ms":1788773872000,"timestamp_seconds":1788773872,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b3180"} 
[2026-09-07 15: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-07 15:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 15:10:21] 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-07 15: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-07 15: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-07 15:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:10: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-07 15:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926109952001,"66":27995,"88":206,"85":37120,"24":50,"16":401583530984865792,"44":-4368843450462765056},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926109952001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:10:21] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583530984865792,"km_value":401583530984865.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368843450462765056,"description":"Unknown IO ID 44"} 
[2026-09-07 15:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926109952001,"power":27995,"unknown_88":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4368843450462765056}} 
[2026-09-07 15:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":173483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:10:21] local.INFO: GPS data processed {"connection_id":173483,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:10:21] local.INFO: Acknowledgment sent {"connection_id":173483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:10:23] local.INFO: TCP Data received {"connection_id":176215,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b393998012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b393998012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:23] local.INFO: Processing buffer {"connection_id":176215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b393998012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:23] local.INFO: Packet analysis {"connection_id":176215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:10:23] local.INFO: Extracted packet for processing {"connection_id":176215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926072832001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788773743000,"timestamp_ms":1788773743000,"timestamp_seconds":1788773743,"priority":1,"record_length":96,"hex_timestamp":"000001a07b393998"} 
[2026-09-07 15: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-07 15:10: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-07 15: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":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:10: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-07 15: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-07 15: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-07 15:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926072832001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926072832001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926072832001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":176215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:10:23] local.INFO: GPS data processed {"connection_id":176215,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:10:23] local.INFO: Acknowledgment sent {"connection_id":176215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:10:40] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:40] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:40] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:10:45] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:45] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:45] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:10:45] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:45] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:10:45] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:10:46] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b398ba0012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b398ba0012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:46] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b398ba0012d196840071fecf8003d011f28..."} 
[2026-09-07 15:10:46] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:10:46] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b39"} 
[2026-09-07 15:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926078208001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788773764000,"timestamp_ms":1788773764000,"timestamp_seconds":1788773764,"priority":1,"record_length":96,"hex_timestamp":"000001a07b398ba0"} 
[2026-09-07 15: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-07 15:10: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-07 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:10:46] 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-07 15: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-07 15: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-07 15:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926078208001,"66":12156,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926078208001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926078208001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:10:46] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:10:46] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:10:49] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:49] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:10:49] local.INFO: IMEI packet received {"connection_id":173725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:10:50] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b3d38012cc349000767ffd8005901572a..."} 
[2026-09-07 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b3d38012cc349000767ffd8005901572a..."} 
[2026-09-07 15:10:50] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b3d38012cc349000767ffd8005901572a..."} 
[2026-09-07 15:10:50] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:10:50] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":750995712,"raw_latitude":124256216,"longitude_deg":75.0995712,"latitude_deg":12.4256216,"altitude":89,"angle":343,"satellites":42,"speed":41,"hex_longitude":"2cc34900","hex_latitude":"0767ffd8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926111232001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583694193623040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4373347050088824832,"note":"Value kept but may cause issues"} 
[2026-09-07 15:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773875000,"timestamp_ms":1788773875000,"timestamp_seconds":1788773875,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b3d38"} 
[2026-09-07 15: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-07 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 15:10: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-07 15: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-07 15: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-07 15:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:10:50] 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-07 15:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926111232001,"66":27908,"89":206,"85":37120,"24":41,"16":401583694193623040,"44":-4373347050088824832},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926111232001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:10:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583694193623040,"km_value":401583694193623.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4373347050088824832,"description":"Unknown IO ID 44"} 
[2026-09-07 15:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926111232001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4373347050088824832}} 
[2026-09-07 15:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:10:50] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:10:50] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:11:16] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3d11f8012d196840071fecf8003d011f28..."} 
[2026-09-07 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3d11f8012d196840071fecf8003d011f28..."} 
[2026-09-07 15:11:16] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3d11f8012d196840071fecf8003d011f28..."} 
[2026-09-07 15:11:16] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:11:16] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926137344001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11: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-07 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788773995000,"timestamp_ms":1788773995000,"timestamp_seconds":1788773995,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3d11f8"} 
[2026-09-07 15: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-07 15:11: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-07 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:11:16] 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-07 15: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-07 15: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-07 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926137344001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926137344001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:11:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926137344001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:11:17] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:11:17] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:11:21] local.INFO: TCP Data received {"connection_id":173725,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:21] local.INFO: Processing buffer {"connection_id":173725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:21] local.INFO: Packet analysis {"connection_id":173725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:11:21] local.INFO: Extracted packet for processing {"connection_id":173725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":124257240,"longitude_deg":75.0995392,"latitude_deg":12.425724,"altitude":89,"angle":345,"satellites":41,"speed":42,"hex_longitude":"2cc347c0","hex_latitude":"076803d8","is_valid_coordinates":true} 
[2026-09-07 15:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204134912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773876000,"timestamp_ms":1788773876000,"timestamp_seconds":1788773876,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b4120"} 
[2026-09-07 15: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-07 15:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:11: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-07 15:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112000001,"66":27908,"89":206,"85":37120,"24":42,"16":401583745733230592,"44":-4374965531204134912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:11:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204134912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112000001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4374965531204134912}} 
[2026-09-07 15:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":173725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:11:21] local.INFO: GPS data processed {"connection_id":173725,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:11:21] local.INFO: Acknowledgment sent {"connection_id":173725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:11:40] local.INFO: TCP Data received {"connection_id":174832,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:40] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:40] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:11:44] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:44] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:44] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:11:45] local.INFO: TCP Data received {"connection_id":174832,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:45] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:11:45] local.INFO: IMEI packet received {"connection_id":174832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":174832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:11:46] local.INFO: TCP Data received {"connection_id":174832,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3d6400012d196840071fecf8003d011f29..."} 
[2026-09-07 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3d6400012d196840071fecf8003d011f29..."} 
[2026-09-07 15:11:46] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3d6400012d196840071fecf8003d011f29..."} 
[2026-09-07 15:11:46] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:11:46] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926142720001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774016000,"timestamp_ms":1788774016000,"timestamp_seconds":1788774016,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3d6400"} 
[2026-09-07 15: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-07 15:11: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926142720001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926142720001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:11:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926142720001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:11:46] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:11:46] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:11:49] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:49] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:11:49] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:11:50] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:50] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:11:50] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:11:50] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":124257240,"longitude_deg":75.0995392,"latitude_deg":12.425724,"altitude":89,"angle":345,"satellites":41,"speed":42,"hex_longitude":"2cc347c0","hex_latitude":"076803d8","is_valid_coordinates":true} 
[2026-09-07 15:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204134912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773876000,"timestamp_ms":1788773876000,"timestamp_seconds":1788773876,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b4120"} 
[2026-09-07 15: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-07 15:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:11: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-07 15:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112000001,"66":27908,"89":206,"85":37120,"24":42,"16":401583745733230592,"44":-4374965531204134912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:11:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204134912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112000001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4374965531204134912}} 
[2026-09-07 15:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:11:50] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:11:50] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:12:16] local.INFO: TCP Data received {"connection_id":174832,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3db608012d196840071fecf8003d011f25..."} 
[2026-09-07 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3db608012d196840071fecf8003d011f25..."} 
[2026-09-07 15:12:16] local.INFO: Processing buffer {"connection_id":174832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3db608012d196840071fecf8003d011f25..."} 
[2026-09-07 15:12:16] local.INFO: Packet analysis {"connection_id":174832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:12:16] local.INFO: Extracted packet for processing {"connection_id":174832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3d"} 
[2026-09-07 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926148096001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12: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-07 15:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788774037000,"timestamp_ms":1788774037000,"timestamp_seconds":1788774037,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3db608"} 
[2026-09-07 15: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-07 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:12:16] 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-07 15: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-07 15: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-07 15:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926148096001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926148096001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:12:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926148096001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":174832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:12:16] local.INFO: GPS data processed {"connection_id":174832,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:12:16] local.INFO: Acknowledgment sent {"connection_id":174832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:12:21] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:21] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:21] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:12:21] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":124257240,"longitude_deg":75.0995392,"latitude_deg":12.425724,"altitude":89,"angle":345,"satellites":41,"speed":42,"hex_longitude":"2cc347c0","hex_latitude":"076803d8","is_valid_coordinates":true} 
[2026-09-07 15:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204134912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773876000,"timestamp_ms":1788773876000,"timestamp_seconds":1788773876,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b4120"} 
[2026-09-07 15: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-07 15:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:12:21] 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-07 15:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112000001,"66":27908,"89":206,"85":37120,"24":42,"16":401583745733230592,"44":-4374965531204134912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:12:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204134912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112000001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4374965531204134912}} 
[2026-09-07 15:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:12:21] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:12:21] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:12:39] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:39] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:39] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:12:40] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:40] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:40] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:12:44] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:44] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:44] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:12:45] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:45] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:12:45] local.INFO: IMEI packet received {"connection_id":176217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":176217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:12:46] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3e0810012d196840071fecf8003d011f26..."} 
[2026-09-07 15:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3e0810012d196840071fecf8003d011f26..."} 
[2026-09-07 15:12:46] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3e0810012d196840071fecf8003d011f26..."} 
[2026-09-07 15:12:46] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:12:46] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926153472001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774058000,"timestamp_ms":1788774058000,"timestamp_seconds":1788774058,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3e0810"} 
[2026-09-07 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-07 15:12: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926153472001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926153472001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926153472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:12:46] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:12:46] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:12:49] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:49] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:12:49] local.INFO: IMEI packet received {"connection_id":176218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":176218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:12:50] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:50] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:12:50] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:12:50] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":124257240,"longitude_deg":75.0995392,"latitude_deg":12.425724,"altitude":89,"angle":345,"satellites":41,"speed":42,"hex_longitude":"2cc347c0","hex_latitude":"076803d8","is_valid_coordinates":true} 
[2026-09-07 15:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204134912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788773876000,"timestamp_ms":1788773876000,"timestamp_seconds":1788773876,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b4120"} 
[2026-09-07 15: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-07 15:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:12:50] 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-07 15:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112000001,"66":27908,"89":206,"85":37120,"24":42,"16":401583745733230592,"44":-4374965531204134912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:12:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204134912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112000001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4374965531204134912}} 
[2026-09-07 15:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:12:50] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:12:50] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:17] local.INFO: TCP Data received {"connection_id":176217,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3e5a18012d196840071fecf8003d011f26..."} 
[2026-09-07 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3e5a18012d196840071fecf8003d011f26..."} 
[2026-09-07 15:13:17] local.INFO: Processing buffer {"connection_id":176217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3e5a18012d196840071fecf8003d011f26..."} 
[2026-09-07 15:13:17] local.INFO: Packet analysis {"connection_id":176217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:13:17] local.INFO: Extracted packet for processing {"connection_id":176217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926158848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774079000,"timestamp_ms":1788774079000,"timestamp_seconds":1788774079,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3e5a18"} 
[2026-09-07 15:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926158848001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926158848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926158848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":176217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:17] local.INFO: GPS data processed {"connection_id":176217,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:17] local.INFO: Acknowledgment sent {"connection_id":176217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:21] local.INFO: TCP Data received {"connection_id":176218,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:13:21] local.INFO: Processing buffer {"connection_id":176218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3b4120012cc347c0076803d80059015929..."} 
[2026-09-07 15:13:21] local.INFO: Packet analysis {"connection_id":176218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:13:21] local.INFO: Extracted packet for processing {"connection_id":176218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3b"} 
[2026-09-07 15:13:21] local.INFO: GPS Element Parsed {"raw_longitude":750995392,"raw_latitude":124257240,"longitude_deg":75.0995392,"latitude_deg":12.425724,"altitude":89,"angle":345,"satellites":41,"speed":42,"hex_longitude":"2cc347c0","hex_latitude":"076803d8","is_valid_coordinates":true} 
[2026-09-07 15:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4374965531204134912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788773876000,"timestamp_ms":1788773876000,"timestamp_seconds":1788773876,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3b4120"} 
[2026-09-07 15: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-07 15:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13: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-07 15:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112000001,"66":27908,"89":206,"85":37120,"24":42,"16":401583745733230592,"44":-4374965531204134912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4374965531204134912,"description":"Unknown IO ID 44"} 
[2026-09-07 15:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112000001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4374965531204134912}} 
[2026-09-07 15:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":176218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:21] local.INFO: GPS data processed {"connection_id":176218,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:21] local.INFO: Acknowledgment sent {"connection_id":176218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:40] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:40] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:40] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:13:42] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:42] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:42] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:13:45] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:45] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:13:45] local.INFO: IMEI packet received {"connection_id":173485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:13:46] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3eac20012d196840071fecf8003d011f29..."} 
[2026-09-07 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3eac20012d196840071fecf8003d011f29..."} 
[2026-09-07 15:13:46] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3eac20012d196840071fecf8003d011f29..."} 
[2026-09-07 15:13:46] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:13:46] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926164224001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774100000,"timestamp_ms":1788774100000,"timestamp_seconds":1788774100,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3eac20"} 
[2026-09-07 15: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-07 15:13: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926164224001,"66":12406,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926164224001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926164224001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:46] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:46] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:46] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:46] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:46] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:13:49] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:49] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:49] local.INFO: IMEI packet received {"connection_id":173486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:13:52] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:52] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:13:52] local.INFO: IMEI packet received {"connection_id":174833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-07 15:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":174833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:13:53] local.INFO: TCP Data received {"connection_id":174833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b0e0ae8012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b0e0ae8012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:13:53] local.INFO: Processing buffer {"connection_id":174833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b0e0ae8012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:13:53] local.INFO: Packet analysis {"connection_id":174833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b0e"} 
[2026-09-07 15:13:53] local.INFO: Extracted packet for processing {"connection_id":174833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b0e"} 
[2026-09-07 15:13:53] local.INFO: GPS Element Parsed {"raw_longitude":730344064,"raw_latitude":192704976,"longitude_deg":73.0344064,"latitude_deg":19.2704976,"altitude":35,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2b882a80","hex_latitude":"0b7c71d0","is_valid_coordinates":true} 
[2026-09-07 15:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925276672001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3887576763072512,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:53] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8634948548708675584,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788770913000,"timestamp_ms":1788770913000,"timestamp_seconds":1788770913,"priority":1,"record_length":96,"hex_timestamp":"000001a07b0e0ae8"} 
[2026-09-07 15:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:13: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-07 15:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 15:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 15:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-07 15:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-07 15:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925276672001,"66":25473,"27":206,"234":55296,"24":0,"16":3887576763072512,"43":-8634948548708675584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-07 15:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-07 15:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-07 15:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925276672001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 15:13:53] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-07 15:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3887576763072512,"km_value":3887576763072.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8634948548708675584,"description":"Unknown IO ID 43"} 
[2026-09-07 15:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925276672001,"power":25473,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8634948548708675584}} 
[2026-09-07 15:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":174833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:53] local.INFO: GPS data processed {"connection_id":174833,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:53] local.INFO: Acknowledgment sent {"connection_id":174833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:54] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:54] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:13:54] local.INFO: IMEI packet received {"connection_id":173486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":173486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:13:55] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:55] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:55] local.INFO: Packet analysis {"connection_id":173486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:13:55] local.INFO: Extracted packet for processing {"connection_id":173486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:13:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15: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-07 15:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":173486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:55] local.INFO: GPS data processed {"connection_id":173486,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:55] local.INFO: Acknowledgment sent {"connection_id":173486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:13:59] local.INFO: TCP Data received {"connection_id":173486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:59] local.INFO: Processing buffer {"connection_id":173486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:13:59] local.INFO: Packet analysis {"connection_id":173486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:13:59] local.INFO: Extracted packet for processing {"connection_id":173486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:13: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-07 15:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15:13: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-07 15:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:13:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":173486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:13:59] local.INFO: GPS data processed {"connection_id":173486,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:13:59] local.INFO: Acknowledgment sent {"connection_id":173486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:14:17] local.INFO: TCP Data received {"connection_id":173485,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3efe28012d196840071fecf8003d011f27..."} 
[2026-09-07 15:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3efe28012d196840071fecf8003d011f27..."} 
[2026-09-07 15:14:17] local.INFO: Processing buffer {"connection_id":173485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3efe28012d196840071fecf8003d011f27..."} 
[2026-09-07 15:14:17] local.INFO: Packet analysis {"connection_id":173485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:14:17] local.INFO: Extracted packet for processing {"connection_id":173485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3e"} 
[2026-09-07 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926169600001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774121000,"timestamp_ms":1788774121000,"timestamp_seconds":1788774121,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3efe28"} 
[2026-09-07 15: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-07 15:14: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-07 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:14:17] 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-07 15: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-07 15: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-07 15:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926169600001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926169600001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926169600001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":173485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:14:17] local.INFO: GPS data processed {"connection_id":173485,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:14:17] local.INFO: Acknowledgment sent {"connection_id":173485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:14:37] local.INFO: TCP Data received {"connection_id":174834,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:14:37] local.INFO: Processing buffer {"connection_id":174834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:14:37] local.INFO: IMEI packet received {"connection_id":174834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":174834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:14:40] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:40] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:40] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:14:44] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:44] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:44] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:14:46] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:46] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:14:46] local.INFO: IMEI packet received {"connection_id":174835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":174835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:14:47] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3f5030012d196840071fecf8003d011f28..."} 
[2026-09-07 15:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3f5030012d196840071fecf8003d011f28..."} 
[2026-09-07 15:14:47] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3f5030012d196840071fecf8003d011f28..."} 
[2026-09-07 15:14:47] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:14:47] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926174976001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14: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-07 15:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788774142000,"timestamp_ms":1788774142000,"timestamp_seconds":1788774142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3f5030"} 
[2026-09-07 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-07 15:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 15:14:47] 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-07 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-07 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-07 15:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926174976001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926174976001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:14:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926174976001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:14:47] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:14:47] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:14:48] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:48] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:48] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:14:49] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:49] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:14:49] local.INFO: IMEI packet received {"connection_id":173487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:14:50] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:50] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:50] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:14:50] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:14:50] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:14:50] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:14:50] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:14:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:14:50] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:14:50] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:14:52] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:52] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:14:52] local.INFO: IMEI packet received {"connection_id":173488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":173488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:14:53] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 15:14:53] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 15:14:53] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 15:14:53] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 15:14:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:14:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:14:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:14:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 15:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 15:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 15:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 15:14:53] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 15:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 15:14:53] local.ERROR: GPS data processing failed {"connection_id":173488,"error":"No valid data to process"} 
[2026-09-07 15:14:53] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 15:15:18] local.INFO: TCP Data received {"connection_id":174835,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fa238012d196840071fecf8003d011f26..."} 
[2026-09-07 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fa238012d196840071fecf8003d011f26..."} 
[2026-09-07 15:15:18] local.INFO: Processing buffer {"connection_id":174835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fa238012d196840071fecf8003d011f26..."} 
[2026-09-07 15:15:18] local.INFO: Packet analysis {"connection_id":174835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:18] local.INFO: Extracted packet for processing {"connection_id":174835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:15: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-07 15:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926180352001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15: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-07 15:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788774163000,"timestamp_ms":1788774163000,"timestamp_seconds":1788774163,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fa238"} 
[2026-09-07 15:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:15: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-07 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 15:15:18] 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-07 15:15: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-07 15:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926180352001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926180352001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926180352001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":174835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:15:18] local.INFO: GPS data processed {"connection_id":174835,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:15:18] local.INFO: Acknowledgment sent {"connection_id":174835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:15:21] local.INFO: TCP Data received {"connection_id":173487,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:21] local.INFO: Processing buffer {"connection_id":173487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:21] local.INFO: Packet analysis {"connection_id":173487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:21] local.INFO: Extracted packet for processing {"connection_id":173487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 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-07 15:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 15:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:15:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":173487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:15:21] local.INFO: GPS data processed {"connection_id":173487,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:15:21] local.INFO: Acknowledgment sent {"connection_id":173487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:15:25] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 15:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 15:15:25] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 15:15:25] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:15:25] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:15: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-07 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-07 15:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:15:25] 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-07 15:15:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 15:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 15:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 15:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 15:15:25] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 15:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 15:15:25] local.ERROR: GPS data processing failed {"connection_id":173488,"error":"No valid data to process"} 
[2026-09-07 15:15:25] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 15:15:40] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:40] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:40] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:15:45] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:45] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:45] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:15:45] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:45] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:15:45] local.INFO: IMEI packet received {"connection_id":173489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:15:46] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3ff440012d196840071fecf8003d011f27..."} 
[2026-09-07 15:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3ff440012d196840071fecf8003d011f27..."} 
[2026-09-07 15:15:46] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3ff440012d196840071fecf8003d011f27..."} 
[2026-09-07 15:15:46] local.INFO: Packet analysis {"connection_id":173489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:46] local.INFO: Extracted packet for processing {"connection_id":173489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926185728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774184000,"timestamp_ms":1788774184000,"timestamp_seconds":1788774184,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3ff440"} 
[2026-09-07 15:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:15: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-07 15:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926185728001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926185728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:15:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926185728001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":173489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:15:46] local.INFO: GPS data processed {"connection_id":173489,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:15:46] local.INFO: Acknowledgment sent {"connection_id":173489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:15:49] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:49] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:15:49] local.INFO: IMEI packet received {"connection_id":176219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":176219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:15:50] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:50] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:15:50] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:50] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:15:50] local.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-07 15:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:15:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:15:50] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:15:50] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:15:57] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b422aa80100000000000000000000000000..."} 
[2026-09-07 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b422aa80100000000000000000000000000..."} 
[2026-09-07 15:15:57] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b422aa80100000000000000000000000000..."} 
[2026-09-07 15:15:57] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:15:57] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:15:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788774329000,"timestamp_ms":1788774329000,"timestamp_seconds":1788774329,"priority":1,"record_length":96,"hex_timestamp":"000001a07b422aa8"} 
[2026-09-07 15: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-07 15:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-07 15:15:57] 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-07 15: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-07 15: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-07 15:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:15:57] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:15:57] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:17] local.INFO: TCP Data received {"connection_id":173489,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b404648012d196840071fecf8003d011f26..."} 
[2026-09-07 15:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b404648012d196840071fecf8003d011f26..."} 
[2026-09-07 15:16:17] local.INFO: Processing buffer {"connection_id":173489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b404648012d196840071fecf8003d011f26..."} 
[2026-09-07 15:16:17] local.INFO: Packet analysis {"connection_id":173489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:17] local.INFO: Extracted packet for processing {"connection_id":173489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926191104001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774205000,"timestamp_ms":1788774205000,"timestamp_seconds":1788774205,"priority":1,"record_length":96,"hex_timestamp":"000001a07b404648"} 
[2026-09-07 15: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-07 15:16: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-07 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:16:17] 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-07 15: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-07 15: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-07 15:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926191104001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926191104001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926191104001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":173489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:16:17] local.INFO: GPS data processed {"connection_id":173489,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:16:17] local.INFO: Acknowledgment sent {"connection_id":173489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:21] local.INFO: TCP Data received {"connection_id":176219,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:21] local.INFO: Processing buffer {"connection_id":176219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:21] local.INFO: Packet analysis {"connection_id":176219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:16:21] local.INFO: Extracted packet for processing {"connection_id":176219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:16:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15: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-07 15:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:16:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":176219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:16:21] local.INFO: GPS data processed {"connection_id":176219,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:16:21] local.INFO: Acknowledgment sent {"connection_id":176219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:28] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b427cb00100000000000000000000000000..."} 
[2026-09-07 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b427cb00100000000000000000000000000..."} 
[2026-09-07 15:16:28] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b427cb00100000000000000000000000000..."} 
[2026-09-07 15:16:28] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:16:28] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:16: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-07 15: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-07 15:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788774350000,"timestamp_ms":1788774350000,"timestamp_seconds":1788774350,"priority":1,"record_length":96,"hex_timestamp":"000001a07b427cb0"} 
[2026-09-07 15: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-07 15:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:16:28] 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-07 15: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-07 15: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-07 15:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:16:28] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:16:28] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:44] local.INFO: TCP Data received {"connection_id":174837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:44] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:44] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:16:46] local.INFO: TCP Data received {"connection_id":174836,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:46] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:46] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:16:49] local.INFO: TCP Data received {"connection_id":174837,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:49] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:16:49] local.INFO: IMEI packet received {"connection_id":174837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:16:50] local.INFO: TCP Data received {"connection_id":174837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:50] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:16:50] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:16:50] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:16: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-07 15:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:16:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:16:50] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:16:50] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:50] local.INFO: TCP Data received {"connection_id":174836,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:50] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:16:50] local.INFO: IMEI packet received {"connection_id":174836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":174836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:16:51] local.INFO: TCP Data received {"connection_id":174836,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b409850012d196840071fecf8003d011f23..."} 
[2026-09-07 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b409850012d196840071fecf8003d011f23..."} 
[2026-09-07 15:16:51] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b409850012d196840071fecf8003d011f23..."} 
[2026-09-07 15:16:51] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:51] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926196480001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16: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-07 15:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788774226000,"timestamp_ms":1788774226000,"timestamp_seconds":1788774226,"priority":1,"record_length":96,"hex_timestamp":"000001a07b409850"} 
[2026-09-07 15: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-07 15:16: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-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:16: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-07 15: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-07 15: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-07 15:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926196480001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926196480001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926196480001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:16:51] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:16:51] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:16:52] local.INFO: TCP Data received {"connection_id":174836,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b40ea58012d196840071fecf8003d011f29..."} 
[2026-09-07 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b40ea58012d196840071fecf8003d011f29..."} 
[2026-09-07 15:16:52] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b40ea58012d196840071fecf8003d011f29..."} 
[2026-09-07 15:16:52] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:52] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b40"} 
[2026-09-07 15:16:52] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926201856001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788774247000,"timestamp_ms":1788774247000,"timestamp_seconds":1788774247,"priority":1,"record_length":96,"hex_timestamp":"000001a07b40ea58"} 
[2026-09-07 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-07 15: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:16: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-07 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-07 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-07 15:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926201856001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926201856001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:16:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:16:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926201856001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:16:52] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:16:52] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:00] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b42ceb80100000000000000000000000000..."} 
[2026-09-07 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b42ceb80100000000000000000000000000..."} 
[2026-09-07 15:17:00] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b42ceb80100000000000000000000000000..."} 
[2026-09-07 15:17:00] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:17:00] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:17: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-07 15:17: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-07 15:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788774371000,"timestamp_ms":1788774371000,"timestamp_seconds":1788774371,"priority":1,"record_length":96,"hex_timestamp":"000001a07b42ceb8"} 
[2026-09-07 15:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 15:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:17: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-07 15:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:17:00] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:17:00] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:21] local.INFO: TCP Data received {"connection_id":174837,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:21] local.INFO: Processing buffer {"connection_id":174837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:21] local.INFO: Packet analysis {"connection_id":174837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:17:21] local.INFO: Extracted packet for processing {"connection_id":174837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15: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-07 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:17: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-07 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:17:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":174837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:17:21] local.INFO: GPS data processed {"connection_id":174837,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:17:21] local.INFO: Acknowledgment sent {"connection_id":174837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:23] local.INFO: TCP Data received {"connection_id":174836,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b413c60012d196840071fecf8003d011f27..."} 
[2026-09-07 15:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b413c60012d196840071fecf8003d011f27..."} 
[2026-09-07 15:17:23] local.INFO: Processing buffer {"connection_id":174836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b413c60012d196840071fecf8003d011f27..."} 
[2026-09-07 15:17:23] local.INFO: Packet analysis {"connection_id":174836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:17:23] local.INFO: Extracted packet for processing {"connection_id":174836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926207232001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788774268000,"timestamp_ms":1788774268000,"timestamp_seconds":1788774268,"priority":1,"record_length":96,"hex_timestamp":"000001a07b413c60"} 
[2026-09-07 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-07 15:17: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-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:17: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-07 15: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-07 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-07 15:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926207232001,"66":12102,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926207232001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926207232001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":174836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:17:23] local.INFO: GPS data processed {"connection_id":174836,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:17:23] local.INFO: Acknowledgment sent {"connection_id":174836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:33] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4320c00100000000000000000000000000..."} 
[2026-09-07 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4320c00100000000000000000000000000..."} 
[2026-09-07 15:17:33] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4320c00100000000000000000000000000..."} 
[2026-09-07 15:17:33] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:17:33] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774392000,"timestamp_ms":1788774392000,"timestamp_seconds":1788774392,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4320c0"} 
[2026-09-07 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3777759225317425152,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631615388123136,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6557466457335188992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2461270016,"corrected_to":0} 
[2026-09-07 15:17:33] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,110,87,24,241,157,16,146,160,124,10,66,42,9,1,240,45,227,4,113,205,27,239,2,49,203],"length":577,"final_offset":707,"validated_count":26,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":203,"original":2461270016,"validated":0}]} 
[2026-09-07 15:17:33] 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-07 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:17:33] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:17:33] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:40] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:40] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:40] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:17:44] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:44] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:44] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:17:45] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:45] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:17:45] local.INFO: IMEI packet received {"connection_id":173490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:17:46] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b418e68012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b418e68012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:17:46] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b418e68012d196840071fecf8003d011f2a..."} 
[2026-09-07 15:17:46] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:17:46] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926212608001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774289000,"timestamp_ms":1788774289000,"timestamp_seconds":1788774289,"priority":1,"record_length":96,"hex_timestamp":"000001a07b418e68"} 
[2026-09-07 15: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-07 15:17: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-07 15: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 15:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926212608001,"66":12385,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926212608001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926212608001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:17:46] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:17:46] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:17:49] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:49] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:17:49] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:17:50] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:50] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:17:50] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:17:50] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15: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-07 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:17:50] 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-07 15:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:17:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:17:50] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:17:50] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:06] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4372c80100000000000000000000000000..."} 
[2026-09-07 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4372c80100000000000000000000000000..."} 
[2026-09-07 15:18:06] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4372c80100000000000000000000000000..."} 
[2026-09-07 15:18:06] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:18:06] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788774413000,"timestamp_ms":1788774413000,"timestamp_seconds":1788774413,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4372c8"} 
[2026-09-07 15:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:18:06] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:18:06] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:16] local.INFO: TCP Data received {"connection_id":173490,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b41e070012d196840071fecf8003d011f28..."} 
[2026-09-07 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b41e070012d196840071fecf8003d011f28..."} 
[2026-09-07 15:18:16] local.INFO: Processing buffer {"connection_id":173490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b41e070012d196840071fecf8003d011f28..."} 
[2026-09-07 15:18:16] local.INFO: Packet analysis {"connection_id":173490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:18:16] local.INFO: Extracted packet for processing {"connection_id":173490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b41"} 
[2026-09-07 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926217984001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18: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-07 15:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788774310000,"timestamp_ms":1788774310000,"timestamp_seconds":1788774310,"priority":1,"record_length":96,"hex_timestamp":"000001a07b41e070"} 
[2026-09-07 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-07 15:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926217984001,"66":12428,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926217984001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:18:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926217984001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":173490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:18:16] local.INFO: GPS data processed {"connection_id":173490,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:18:16] local.INFO: Acknowledgment sent {"connection_id":173490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:21] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:21] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b3fec70012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:21] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:18:21] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b3f"} 
[2026-09-07 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926112256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4375317374924761088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774182000,"timestamp_ms":1788774182000,"timestamp_seconds":1788774182,"priority":1,"record_length":96,"hex_timestamp":"000001a07b3fec70"} 
[2026-09-07 15: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-07 15:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:18: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-07 15:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926112256001,"66":26495,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4375317374924761088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926112256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:18:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4375317374924761088,"description":"Unknown IO ID 44"} 
[2026-09-07 15:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926112256001,"power":26495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4375317374924761088}} 
[2026-09-07 15:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:18:21] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:18:21] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:39] local.INFO: TCP Data received {"connection_id":173488,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b43c4d00100000000000000000000000000..."} 
[2026-09-07 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b43c4d00100000000000000000000000000..."} 
[2026-09-07 15:18:39] local.INFO: Processing buffer {"connection_id":173488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b43c4d00100000000000000000000000000..."} 
[2026-09-07 15:18:39] local.INFO: Packet analysis {"connection_id":173488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:18:39] local.INFO: Extracted packet for processing {"connection_id":173488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788774434000,"timestamp_ms":1788774434000,"timestamp_seconds":1788774434,"priority":1,"record_length":96,"hex_timestamp":"000001a07b43c4d0"} 
[2026-09-07 15:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:39] 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-07 15:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":173488,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:18:39] local.INFO: GPS data processed {"connection_id":173488,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:18:39] local.INFO: Acknowledgment sent {"connection_id":173488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:40] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:40] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:40] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:18:45] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:45] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:18:45] local.INFO: IMEI packet received {"connection_id":176220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":176220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:18:46] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b423278012d196840071fecf8003d011f26..."} 
[2026-09-07 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b423278012d196840071fecf8003d011f26..."} 
[2026-09-07 15:18:46] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b423278012d196840071fecf8003d011f26..."} 
[2026-09-07 15:18:46] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:18:46] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926223360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774331000,"timestamp_ms":1788774331000,"timestamp_seconds":1788774331,"priority":1,"record_length":96,"hex_timestamp":"000001a07b423278"} 
[2026-09-07 15: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-07 15:18: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-07 15: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926223360001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926223360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926223360001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:18:46] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:18:46] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:18:49] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:49] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:49] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:18:54] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:54] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:18:54] local.INFO: IMEI packet received {"connection_id":174838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":174838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:18:55] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:55] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:18:55] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:18:55] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:18:55] 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-07 15:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:18:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:18:55] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:18:55] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:00] local.INFO: TCP Data received {"connection_id":174838,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:00] local.INFO: Processing buffer {"connection_id":174838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:00] local.INFO: Packet analysis {"connection_id":174838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:00] local.INFO: Extracted packet for processing {"connection_id":174838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:19:00] 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-07 15:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:19:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":174838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:19:00] local.INFO: GPS data processed {"connection_id":174838,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:19:00] local.INFO: Acknowledgment sent {"connection_id":174838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:17] local.INFO: TCP Data received {"connection_id":176220,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b428480012d196840071fecf8003d011f26..."} 
[2026-09-07 15:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b428480012d196840071fecf8003d011f26..."} 
[2026-09-07 15:19:17] local.INFO: Processing buffer {"connection_id":176220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b428480012d196840071fecf8003d011f26..."} 
[2026-09-07 15:19:17] local.INFO: Packet analysis {"connection_id":176220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:19:17] local.INFO: Extracted packet for processing {"connection_id":176220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926228736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774352000,"timestamp_ms":1788774352000,"timestamp_seconds":1788774352,"priority":1,"record_length":96,"hex_timestamp":"000001a07b428480"} 
[2026-09-07 15: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-07 15:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926228736001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926228736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926228736001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":176220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:19:17] local.INFO: GPS data processed {"connection_id":176220,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:19:17] local.INFO: Acknowledgment sent {"connection_id":176220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:29] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:29] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:29] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:19:35] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:35] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:19:35] local.INFO: IMEI packet received {"connection_id":174839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":174839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:19:38] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4416d80100000000000000000000000000..."} 
[2026-09-07 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4416d80100000000000000000000000000..."} 
[2026-09-07 15:19:38] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4416d80100000000000000000000000000..."} 
[2026-09-07 15:19:38] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:38] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788774455000,"timestamp_ms":1788774455000,"timestamp_seconds":1788774455,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4416d8"} 
[2026-09-07 15:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416629,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2818637824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2461270016,"corrected_to":0} 
[2026-09-07 15:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:38] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,110,87,24,241,157,16,146,160,114,10,66,32,206,1,240,12,227,123,4,113,205,42,239,2,53,203,45],"length":527,"final_offset":657,"validated_count":28,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0},{"io_id":203,"original":2461270016,"validated":0}]} 
[2026-09-07 15:19:38] 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-07 15:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:19:38] local.INFO: GPS data processed {"connection_id":174839,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:19:38] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:39] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:39] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:39] local.INFO: IMEI packet received {"connection_id":173491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":173491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:19:40] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:40] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:40] local.INFO: IMEI packet received {"connection_id":173491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":173491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:19:41] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4468e00100000000000000000000000000..."} 
[2026-09-07 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4468e00100000000000000000000000000..."} 
[2026-09-07 15:19:41] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4468e00100000000000000000000000000..."} 
[2026-09-07 15:19:41] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:41] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788774476000,"timestamp_ms":1788774476000,"timestamp_seconds":1788774476,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4468e0"} 
[2026-09-07 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:19:41] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:19: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-07 15:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:19:41] local.INFO: GPS data processed {"connection_id":174839,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:19:41] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:44] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:44] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:44] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:19:45] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:45] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:19:45] local.INFO: IMEI packet received {"connection_id":173491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:19:45] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b42d688012d196840071fecf8003d011f27..."} 
[2026-09-07 15:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b42d688012d196840071fecf8003d011f27..."} 
[2026-09-07 15:19:45] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b42d688012d196840071fecf8003d011f27..."} 
[2026-09-07 15:19:45] local.INFO: Packet analysis {"connection_id":173491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:19:45] local.INFO: Extracted packet for processing {"connection_id":173491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b42"} 
[2026-09-07 15:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":39,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926234112001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774373000,"timestamp_ms":1788774373000,"timestamp_seconds":1788774373,"priority":1,"record_length":96,"hex_timestamp":"000001a07b42d688"} 
[2026-09-07 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-07 15:19: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-07 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926234112001,"66":12406,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926234112001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926234112001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":173491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:19:46] local.INFO: GPS data processed {"connection_id":173491,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:19:46] local.INFO: Acknowledgment sent {"connection_id":173491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:49] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:49] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:19:49] local.INFO: IMEI packet received {"connection_id":173732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:19:50] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:50] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:19:50] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:50] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:19:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:19:50] 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-07 15:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:19:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:19:50] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:19:50] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:19:58] local.INFO: TCP Data received {"connection_id":173492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:19:58] local.INFO: Processing buffer {"connection_id":173492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:19:58] local.INFO: IMEI packet received {"connection_id":173492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":173492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:20:12] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448820012d7c980005ec3648001a010e08..."} 
[2026-09-07 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448820012d7c980005ec3648001a010e08..."} 
[2026-09-07 15:20:12] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448820012d7c980005ec3648001a010e08..."} 
[2026-09-07 15:20:12] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:12] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":763140096,"raw_latitude":99366472,"longitude_deg":76.3140096,"latitude_deg":9.9366472,"altitude":26,"angle":270,"satellites":8,"speed":36,"hex_longitude":"2d7c9800","hex_latitude":"05ec3648","is_valid_coordinates":true} 
[2026-09-07 15:20:12] 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-07 15:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129358316101959680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788774484000,"timestamp_ms":1788774484000,"timestamp_seconds":1788774484,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448820"} 
[2026-09-07 15:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13646,"110":206,"87":13824,"24":36,"16":129358316101959680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16]} 
[2026-09-07 15:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 15:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129358316101959680,"km_value":129358316101959.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13646,"unknown_110":206,"unknown_87":13824,"ignition":36,"odometer":null}} 
[2026-09-07 15:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:12] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:12] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:20:17] local.INFO: TCP Data received {"connection_id":173491,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b432890012d196840071fecf8003d011f28..."} 
[2026-09-07 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b432890012d196840071fecf8003d011f28..."} 
[2026-09-07 15:20:17] local.INFO: Processing buffer {"connection_id":173491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b432890012d196840071fecf8003d011f28..."} 
[2026-09-07 15:20:17] local.INFO: Packet analysis {"connection_id":173491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:20:17] local.INFO: Extracted packet for processing {"connection_id":173491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":40,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926239488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774394000,"timestamp_ms":1788774394000,"timestamp_seconds":1788774394,"priority":1,"record_length":96,"hex_timestamp":"000001a07b432890"} 
[2026-09-07 15: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-07 15:20: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-07 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:17] 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-07 15: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-07 15: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-07 15:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926239488001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926239488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926239488001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":173491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:17] local.INFO: GPS data processed {"connection_id":173491,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:17] local.INFO: Acknowledgment sent {"connection_id":173491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:20:21] local.INFO: TCP Data received {"connection_id":173732,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:21] local.INFO: Processing buffer {"connection_id":173732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:21] local.INFO: Packet analysis {"connection_id":173732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:21] local.INFO: Extracted packet for processing {"connection_id":173732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:20: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-07 15:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":173732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:21] local.INFO: GPS data processed {"connection_id":173732,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:21] local.INFO: Acknowledgment sent {"connection_id":173732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:20:40] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:40] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:40] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:20:43] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:43] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:43] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:20:43] local.INFO: TCP Data received {"connection_id":174839,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b469778012d7ad1c005ebc2e0001300f417..."} 
[2026-09-07 15:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b469778012d7ad1c005ebc2e0001300f417..."} 
[2026-09-07 15:20:43] local.INFO: Processing buffer {"connection_id":174839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b469778012d7ad1c005ebc2e0001300f417..."} 
[2026-09-07 15:20:43] local.INFO: Packet analysis {"connection_id":174839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:20:43] local.INFO: Extracted packet for processing {"connection_id":174839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763023808,"raw_latitude":99336928,"longitude_deg":76.3023808,"latitude_deg":9.9336928,"altitude":19,"angle":244,"satellites":23,"speed":42,"hex_longitude":"2d7ad1c0","hex_latitude":"05ebc2e0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926300672001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129364135782645760,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704934111232,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788774619000,"timestamp_ms":1788774619000,"timestamp_seconds":1788774619,"priority":1,"record_length":96,"hex_timestamp":"000001a07b469778"} 
[2026-09-07 15: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-07 15:20:43] 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-07 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926300672001,"66":13798,"98":206,"87":13824,"24":42,"16":129364135782645760,"45":8859002704934111232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926300672001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:43] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:20:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129364135782645760,"km_value":129364135782645.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704934111232,"description":"Unknown IO ID 45"} 
[2026-09-07 15:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926300672001,"power":13798,"unknown_98":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8859002704934111232}} 
[2026-09-07 15:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":174839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:43] local.INFO: GPS data processed {"connection_id":174839,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:43] local.INFO: Acknowledgment sent {"connection_id":174839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:20:45] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:45] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:45] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:20:45] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:45] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:20:45] local.INFO: IMEI packet received {"connection_id":176222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":176222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:20:46] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b437a98012d196840071fecf8003d011f26..."} 
[2026-09-07 15:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b437a98012d196840071fecf8003d011f26..."} 
[2026-09-07 15:20:46] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b437a98012d196840071fecf8003d011f26..."} 
[2026-09-07 15:20:46] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:20:46] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b43"} 
[2026-09-07 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926244864001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774415000,"timestamp_ms":1788774415000,"timestamp_seconds":1788774415,"priority":1,"record_length":96,"hex_timestamp":"000001a07b437a98"} 
[2026-09-07 15:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926244864001,"66":12461,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926244864001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926244864001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:46] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:46] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:20:49] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:49] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:20:49] local.INFO: IMEI packet received {"connection_id":174840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":174840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:20:50] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:50] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:20:50] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:50] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:20:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:20:50] 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-07 15:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:20:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:20:50] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:20:50] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:17] local.INFO: TCP Data received {"connection_id":176222,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:17] local.INFO: Processing buffer {"connection_id":176222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:17] local.INFO: Packet analysis {"connection_id":176222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:17] local.INFO: Extracted packet for processing {"connection_id":176222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:21:17] 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-07 15:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774623000,"timestamp_ms":1788774623000,"timestamp_seconds":1788774623,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46a718"} 
[2026-09-07 15: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-07 15:21: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":12841,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":176222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:17] local.INFO: GPS data processed {"connection_id":176222,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:17] local.INFO: Acknowledgment sent {"connection_id":176222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:21] local.INFO: TCP Data received {"connection_id":174840,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:21] local.INFO: Processing buffer {"connection_id":174840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:21] local.INFO: Packet analysis {"connection_id":174840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:21:21] local.INFO: Extracted packet for processing {"connection_id":174840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:21:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:21: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-07 15:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:21] local.INFO: GPS data processed {"connection_id":174840,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:21] local.INFO: Acknowledgment sent {"connection_id":174840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:28] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:28] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:28] local.INFO: IMEI packet received {"connection_id":173493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":173493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:21:31] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:31] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:31] local.INFO: IMEI packet received {"connection_id":173493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":173493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:21:32] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:32] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:21:32] local.INFO: IMEI packet received {"connection_id":173493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":173493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:21:33] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46be88012d7ab14005ebb458001000f918..."} 
[2026-09-07 15:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46be88012d7ab14005ebb458001000f918..."} 
[2026-09-07 15:21:33] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46be88012d7ab14005ebb458001000f918..."} 
[2026-09-07 15:21:33] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:33] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":763015488,"raw_latitude":99333208,"longitude_deg":76.3015488,"latitude_deg":9.9333208,"altitude":16,"angle":249,"satellites":24,"speed":39,"hex_longitude":"2d7ab140","hex_latitude":"05ebb458","is_valid_coordinates":true} 
[2026-09-07 15:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926302464001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129364573869309952,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850065874422521856,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774629000,"timestamp_ms":1788774629000,"timestamp_seconds":1788774629,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46be88"} 
[2026-09-07 15:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:33] 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-07 15:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926302464001,"66":13830,"98":206,"87":13824,"24":39,"16":129364573869309952,"45":8850065874422521856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926302464001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:21:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129364573869309952,"km_value":129364573869309.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850065874422521856,"description":"Unknown IO ID 45"} 
[2026-09-07 15:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926302464001,"power":13830,"unknown_98":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8850065874422521856}} 
[2026-09-07 15:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:33] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:33] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:38] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46e980012d7a8f8005eba7f0000d00f719..."} 
[2026-09-07 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46e980012d7a8f8005eba7f0000d00f719..."} 
[2026-09-07 15:21:38] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46e980012d7a8f8005eba7f0000d00f719..."} 
[2026-09-07 15:21:38] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:38] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":763006848,"raw_latitude":99330032,"longitude_deg":76.3006848,"latitude_deg":9.9330032,"altitude":13,"angle":247,"satellites":25,"speed":23,"hex_longitude":"2d7a8f80","hex_latitude":"05eba7f0","is_valid_coordinates":true} 
[2026-09-07 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926305024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365016250941440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937678473216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788774640000,"timestamp_ms":1788774640000,"timestamp_seconds":1788774640,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46e980"} 
[2026-09-07 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:21:38] 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-07 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8725732883759104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627203296768,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4104650776,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-09-07 15:21:38] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2522415104,"corrected_to":0} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960406016,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3459095997706143212,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2305872700273262626,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:38] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,98,87,24,241,157,16,152,160,151,45,192,194,19,23,10,66,124,128,210,20,21,88,64,1,240,28,227,123,235,4,113,205,36,3,96,18,239,54,198,2,203,5,26,31,169,25],"length":528,"final_offset":658,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0},{"io_id":203,"original":2522415104,"validated":0}]} 
[2026-09-07 15:21:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153195386083934208,"timestamp_seconds":1153195386083934.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926305024001,"66":13798,"98":206,"87":13824,"24":23,"16":129365016250941440,"45":8840917937678473216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926305024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:21:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365016250941440,"km_value":129365016250941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937678473216,"description":"Unknown IO ID 45"} 
[2026-09-07 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926305024001,"power":13798,"unknown_98":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8840917937678473216}} 
[2026-09-07 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:38] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:38] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:40] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:40] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:40] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:21:44] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:44] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:44] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:21:45] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:45] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:21:45] local.INFO: IMEI packet received {"connection_id":173733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":173733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:21:46] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:46] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46a718012d196840071fecf8003d011f25..."} 
[2026-09-07 15:21:46] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:46] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774623000,"timestamp_ms":1788774623000,"timestamp_seconds":1788774623,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46a718"} 
[2026-09-07 15: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-07 15:21: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":12841,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:46] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:46] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:21:49] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:49] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:21:49] local.INFO: IMEI packet received {"connection_id":176224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":176224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:21:50] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:50] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:21:50] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:21:50] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:21: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-07 15:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:21:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:21:50] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:21:50] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:09] local.INFO: TCP Data received {"connection_id":173493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b472be8012d7a88c005eba5b8000f010418..."} 
[2026-09-07 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b472be8012d7a88c005eba5b8000f010418..."} 
[2026-09-07 15:22:09] local.INFO: Processing buffer {"connection_id":173493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b472be8012d7a88c005eba5b8000f010418..."} 
[2026-09-07 15:22:09] local.INFO: Packet analysis {"connection_id":173493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b47"} 
[2026-09-07 15:22:09] local.INFO: Extracted packet for processing {"connection_id":173493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b47"} 
[2026-09-07 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":763005120,"raw_latitude":99329464,"longitude_deg":76.300512,"latitude_deg":9.9329464,"altitude":15,"angle":260,"satellites":24,"speed":4,"hex_longitude":"2d7a88c0","hex_latitude":"05eba5b8","is_valid_coordinates":true} 
[2026-09-07 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926307840001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365115035189248,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831418157213675520,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788774657000,"timestamp_ms":1788774657000,"timestamp_seconds":1788774657,"priority":1,"record_length":96,"hex_timestamp":"000001a07b472be8"} 
[2026-09-07 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:09] 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-07 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926307840001,"66":13830,"98":206,"87":13824,"24":4,"16":129365115035189248,"45":8831418157213675520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926307840001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:22:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365115035189248,"km_value":129365115035189.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831418157213675520,"description":"Unknown IO ID 45"} 
[2026-09-07 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926307840001,"power":13830,"unknown_98":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8831418157213675520}} 
[2026-09-07 15:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":173493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:09] local.INFO: GPS data processed {"connection_id":173493,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:09] local.INFO: Acknowledgment sent {"connection_id":173493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:17] local.INFO: TCP Data received {"connection_id":173733,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:17] local.INFO: Processing buffer {"connection_id":173733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:17] local.INFO: Packet analysis {"connection_id":173733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:22:17] local.INFO: Extracted packet for processing {"connection_id":173733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:22: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":173733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:17] local.INFO: GPS data processed {"connection_id":173733,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:17] local.INFO: Acknowledgment sent {"connection_id":173733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:21] local.INFO: TCP Data received {"connection_id":176224,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:21] local.INFO: Processing buffer {"connection_id":176224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:21] local.INFO: Packet analysis {"connection_id":176224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:22:21] local.INFO: Extracted packet for processing {"connection_id":176224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:22: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-07 15:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":176224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:21] local.INFO: GPS data processed {"connection_id":176224,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:21] local.INFO: Acknowledgment sent {"connection_id":176224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:27] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:27] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:27] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:22:33] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:33] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:22:33] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:22:33] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4737a0012d7a870005eba520000f00f618..."} 
[2026-09-07 15:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4737a0012d7a870005eba520000f00f618..."} 
[2026-09-07 15:22:33] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4737a0012d7a870005eba520000f00f618..."} 
[2026-09-07 15:22:33] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b47"} 
[2026-09-07 15:22:33] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b47"} 
[2026-09-07 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763004672,"raw_latitude":99329312,"longitude_deg":76.3004672,"latitude_deg":9.9329312,"altitude":15,"angle":246,"satellites":24,"speed":6,"hex_longitude":"2d7a8700","hex_latitude":"05eba520","is_valid_coordinates":true} 
[2026-09-07 15:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926312192001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365140804993024,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829518201120733184,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774660000,"timestamp_ms":1788774660000,"timestamp_seconds":1788774660,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4737a0"} 
[2026-09-07 15:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":10133107767312384,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627203244288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3532128276,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":88,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2536046592,"corrected_to":0} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3958679552,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.WARNING: Large IO value detected {"io_id":3,"raw_value":6917555420048523293,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:33] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,98,87,24,241,157,16,152,160,233,45,128,167,13,25,10,66,190,64,180,151,192,1,240,230,227,123,235,4,113,205,51,88,21,96,19,239,54,198,2,203,5,36,3],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0},{"io_id":203,"original":2536046592,"validated":0}]} 
[2026-09-07 15:22:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081149886671618048,"timestamp_seconds":1081149886671618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926312192001,"66":13852,"98":206,"87":13824,"24":6,"16":129365140804993024,"45":8829518201120733184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926312192001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365140804993024,"km_value":129365140804993.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829518201120733184,"description":"Unknown IO ID 45"} 
[2026-09-07 15:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926312192001,"power":13852,"unknown_98":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8829518201120733184}} 
[2026-09-07 15:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:33] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:33] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:40] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:40] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:40] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:22:44] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:44] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:44] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:22:45] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:45] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:22:45] local.INFO: IMEI packet received {"connection_id":173494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:22:46] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:46] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:22:46] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:22:46] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:22: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:46] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:46] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:22:49] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:49] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:22:49] local.INFO: IMEI packet received {"connection_id":176225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":176225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:22:50] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:50] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:22:50] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:22:50] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:22:50] 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-07 15:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:22:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:22:50] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:22:50] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:05] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b48f108012d7a664005eb9800000e010018..."} 
[2026-09-07 15:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b48f108012d7a664005eb9800000e010018..."} 
[2026-09-07 15:23:05] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b48f108012d7a664005eb9800000e010018..."} 
[2026-09-07 15:23:05] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b48"} 
[2026-09-07 15:23:05] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b48"} 
[2026-09-07 15:23:05] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":99325952,"longitude_deg":76.2996288,"latitude_deg":9.9325952,"altitude":14,"angle":256,"satellites":24,"speed":0,"hex_longitude":"2d7a6640","hex_latitude":"05eb9800","is_valid_coordinates":true} 
[2026-09-07 15:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926336512001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365574596689920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314423316480,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788774773000,"timestamp_ms":1788774773000,"timestamp_seconds":1788774773,"priority":1,"record_length":96,"hex_timestamp":"000001a07b48f108"} 
[2026-09-07 15:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:05] 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-07 15:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926336512001,"66":12982,"163":206,"87":13824,"24":0,"16":129365574596689920,"45":8819807314423316480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926336512001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:23:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365574596689920,"km_value":129365574596689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314423316480,"description":"Unknown IO ID 45"} 
[2026-09-07 15:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926336512001,"power":12982,"unknown_163":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819807314423316480}} 
[2026-09-07 15:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:05] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:05] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:17] local.INFO: TCP Data received {"connection_id":173494,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:17] local.INFO: Processing buffer {"connection_id":173494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:17] local.INFO: Packet analysis {"connection_id":173494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:23:17] local.INFO: Extracted packet for processing {"connection_id":173494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:23: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":173494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:17] local.INFO: GPS data processed {"connection_id":173494,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:17] local.INFO: Acknowledgment sent {"connection_id":173494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:21] local.INFO: TCP Data received {"connection_id":176225,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:23:21] local.INFO: Processing buffer {"connection_id":176225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b448438012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:23:21] local.INFO: Packet analysis {"connection_id":176225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:23:21] local.INFO: Extracted packet for processing {"connection_id":176225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b44"} 
[2026-09-07 15:23:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926190592001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774483000,"timestamp_ms":1788774483000,"timestamp_seconds":1788774483,"priority":1,"record_length":96,"hex_timestamp":"000001a07b448438"} 
[2026-09-07 15: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-07 15:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":103,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1856,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:23:21] 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-07 15:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926190592001,"66":26267,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926190592001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926190592001,"power":26267,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":176225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:21] local.INFO: GPS data processed {"connection_id":176225,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:21] local.INFO: Acknowledgment sent {"connection_id":176225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:27] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:27] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:27] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:23:32] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:23:32] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:23:32] local.INFO: IMEI packet received {"connection_id":173736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":173736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:23:33] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b490490012d7a660005eb9810000d00f218..."} 
[2026-09-07 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b490490012d7a660005eb9810000d00f218..."} 
[2026-09-07 15:23:33] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b490490012d7a660005eb9810000d00f218..."} 
[2026-09-07 15:23:33] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:33] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:33] local.INFO: GPS Element Parsed {"raw_longitude":762996224,"raw_latitude":99325968,"longitude_deg":76.2996224,"latitude_deg":9.9325968,"altitude":13,"angle":242,"satellites":24,"speed":4,"hex_longitude":"2d7a6600","hex_latitude":"05eb9810","is_valid_coordinates":true} 
[2026-09-07 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926341888001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365578891657216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314423316480,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774778000,"timestamp_ms":1788774778000,"timestamp_seconds":1788774778,"priority":1,"record_length":96,"hex_timestamp":"000001a07b490490"} 
[2026-09-07 15:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:23:33] 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-07 15:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926341888001,"66":13656,"163":206,"87":13824,"24":4,"16":129365578891657216,"45":8819807314423316480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926341888001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365578891657216,"km_value":129365578891657.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314423316480,"description":"Unknown IO ID 45"} 
[2026-09-07 15:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926341888001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8819807314423316480}} 
[2026-09-07 15:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:33] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:33] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:38] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b490878012d7a64c005eb97f0000d010019..."} 
[2026-09-07 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b490878012d7a64c005eb97f0000d010019..."} 
[2026-09-07 15:23:38] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b490878012d7a64c005eb97f0000d010019..."} 
[2026-09-07 15:23:38] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:38] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":762995904,"raw_latitude":99325936,"longitude_deg":76.2995904,"latitude_deg":9.9325936,"altitude":13,"angle":256,"satellites":25,"speed":7,"hex_longitude":"2d7a64c0","hex_latitude":"05eb97f0","is_valid_coordinates":true} 
[2026-09-07 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926343168001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365596071526400,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819736945679142912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788774779000,"timestamp_ms":1788774779000,"timestamp_seconds":1788774779,"priority":1,"record_length":96,"hex_timestamp":"000001a07b490878"} 
[2026-09-07 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926343168001,"66":13656,"163":206,"87":13824,"24":7,"16":129365596071526400,"45":8819736945679142912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926343168001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:23:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365596071526400,"km_value":129365596071526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819736945679142912,"description":"Unknown IO ID 45"} 
[2026-09-07 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926343168001,"power":13656,"unknown_163":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8819736945679142912}} 
[2026-09-07 15:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:38] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:38] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:45] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:45] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:45] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:23:49] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:49] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:49] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:23:50] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:50] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:23:50] local.INFO: IMEI packet received {"connection_id":173737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":173737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:23:51] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:51] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:23:51] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:23:51] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23: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-07 15:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:23: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:23: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-07 15: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-07 15: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-07 15:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:51] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:51] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:23:55] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:55] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:23:55] local.INFO: IMEI packet received {"connection_id":173495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":173495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:23:56] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:23:56] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:23:56] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:56] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:23: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-07 15:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:23: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:23: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-07 15:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:23:56] 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-07 15:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:23:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:23:56] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:23:56] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:00] local.INFO: TCP Data received {"connection_id":173495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:00] local.INFO: Processing buffer {"connection_id":173495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:00] local.INFO: Packet analysis {"connection_id":173495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:00] local.INFO: Extracted packet for processing {"connection_id":173495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:24: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-07 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:24:00] 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-07 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":173495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:00] local.INFO: GPS data processed {"connection_id":173495,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:00] local.INFO: Acknowledgment sent {"connection_id":173495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:09] local.INFO: TCP Data received {"connection_id":173736,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4927b8012d7a564005eb9490000c011b18..."} 
[2026-09-07 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4927b8012d7a564005eb9490000c011b18..."} 
[2026-09-07 15:24:09] local.INFO: Processing buffer {"connection_id":173736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4927b8012d7a564005eb9490000c011b18..."} 
[2026-09-07 15:24:09] local.INFO: Packet analysis {"connection_id":173736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:09] local.INFO: Extracted packet for processing {"connection_id":173736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99325072,"longitude_deg":76.2992192,"latitude_deg":9.9325072,"altitude":12,"angle":283,"satellites":24,"speed":17,"hex_longitude":"2d7a5640","hex_latitude":"05eb9490","is_valid_coordinates":true} 
[2026-09-07 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926343424001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365780755120128,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101958246400,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788774787000,"timestamp_ms":1788774787000,"timestamp_seconds":1788774787,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4927b8"} 
[2026-09-07 15:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:09] 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-07 15:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926343424001,"66":13091,"163":206,"87":13824,"24":17,"16":129365780755120128,"45":8819385101958246400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926343424001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:09] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:24:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365780755120128,"km_value":129365780755120.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101958246400,"description":"Unknown IO ID 45"} 
[2026-09-07 15:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926343424001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8819385101958246400}} 
[2026-09-07 15:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":173736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:09] local.INFO: GPS data processed {"connection_id":173736,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:09] local.INFO: Acknowledgment sent {"connection_id":173736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:22] local.INFO: TCP Data received {"connection_id":173737,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:22] local.INFO: Processing buffer {"connection_id":173737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:22] local.INFO: Packet analysis {"connection_id":173737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:24:22] local.INFO: Extracted packet for processing {"connection_id":173737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24: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-07 15:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:24: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-07 15:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:24:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":173737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:22] local.INFO: GPS data processed {"connection_id":173737,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:22] local.INFO: Acknowledgment sent {"connection_id":173737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:33] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:33] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:33] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:24:38] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:38] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:24:38] local.INFO: IMEI packet received {"connection_id":176227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":176227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:24:38] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b492ba0012d7a548005eb9538000c012d18..."} 
[2026-09-07 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b492ba0012d7a548005eb9538000c012d18..."} 
[2026-09-07 15:24:38] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b492ba0012d7a548005eb9538000c012d18..."} 
[2026-09-07 15:24:38] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:38] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":762991744,"raw_latitude":99325240,"longitude_deg":76.2991744,"latitude_deg":9.932524,"altitude":12,"angle":301,"satellites":24,"speed":17,"hex_longitude":"2d7a5480","hex_latitude":"05eb9538","is_valid_coordinates":true} 
[2026-09-07 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926345472001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365802229956608,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795720704,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788774788000,"timestamp_ms":1788774788000,"timestamp_seconds":1788774788,"priority":1,"record_length":96,"hex_timestamp":"000001a07b492ba0"} 
[2026-09-07 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926345472001,"66":13015,"163":206,"87":13824,"24":17,"16":129365802229956608,"45":8815303714795720704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926345472001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:38] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:24:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365802229956608,"km_value":129365802229956.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795720704,"description":"Unknown IO ID 45"} 
[2026-09-07 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926345472001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8815303714795720704}} 
[2026-09-07 15:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:38] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:38] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:40] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b492f88012d7a534005eb9678000c014217..."} 
[2026-09-07 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b492f88012d7a534005eb9678000c014217..."} 
[2026-09-07 15:24:40] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b492f88012d7a534005eb9678000c014217..."} 
[2026-09-07 15:24:40] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:40] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:40] local.INFO: GPS Element Parsed {"raw_longitude":762991424,"raw_latitude":99325560,"longitude_deg":76.2991424,"latitude_deg":9.932556,"altitude":12,"angle":322,"satellites":23,"speed":18,"hex_longitude":"2d7a5340","hex_latitude":"05eb9678","is_valid_coordinates":true} 
[2026-09-07 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926345728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129365823704793088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814811133586520064,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788774789000,"timestamp_ms":1788774789000,"timestamp_seconds":1788774789,"priority":1,"record_length":96,"hex_timestamp":"000001a07b492f88"} 
[2026-09-07 15:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:24:40] 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-07 15:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926345728001,"66":13015,"163":206,"87":13824,"24":18,"16":129365823704793088,"45":8814811133586520064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-09-07 15:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926345728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:40] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 15:24:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129365823704793088,"km_value":129365823704793.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814811133586520064,"description":"Unknown IO ID 45"} 
[2026-09-07 15:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926345728001,"power":13015,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8814811133586520064}} 
[2026-09-07 15:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:40] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:40] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:40] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:40] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:40] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:24:44] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:44] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:44] local.INFO: IMEI packet received {"connection_id":176229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:24:45] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:45] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:24:45] local.INFO: IMEI packet received {"connection_id":176228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:24:46] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:46] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:24:46] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:24:46] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:24: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:46] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:46] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:24:49] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:49] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:24:49] local.INFO: IMEI packet received {"connection_id":176229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":176229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:24:50] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:50] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:24:50] local.INFO: Packet analysis {"connection_id":176229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:50] local.INFO: Extracted packet for processing {"connection_id":176229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 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-07 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:24:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":176229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:24:50] local.INFO: GPS data processed {"connection_id":176229,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:24:50] local.INFO: Acknowledgment sent {"connection_id":176229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:11] local.INFO: TCP Data received {"connection_id":176227,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4af0c0012d7a0b4005ec3260000e01591b..."} 
[2026-09-07 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4af0c0012d7a0b4005ec3260000e01591b..."} 
[2026-09-07 15:25:11] local.INFO: Processing buffer {"connection_id":176227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4af0c0012d7a0b4005ec3260000e01591b..."} 
[2026-09-07 15:25:11] local.INFO: Packet analysis {"connection_id":176227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4a"} 
[2026-09-07 15:25:11] local.INFO: Extracted packet for processing {"connection_id":176227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4a"} 
[2026-09-07 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":762972992,"raw_latitude":99365472,"longitude_deg":76.2972992,"latitude_deg":9.9365472,"altitude":14,"angle":345,"satellites":27,"speed":14,"hex_longitude":"2d7a0b40","hex_latitude":"05ec3260","is_valid_coordinates":true} 
[2026-09-07 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926373120001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129367966893473792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728947232768,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788774904000,"timestamp_ms":1788774904000,"timestamp_seconds":1788774904,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4af0c0"} 
[2026-09-07 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 15:25: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-07 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":176227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":176227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926373120001,"66":13765,"99":206,"87":13824,"24":14,"16":129367966893473792,"45":8795459728947232768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926373120001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:11] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 15:25:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129367966893473792,"km_value":129367966893473.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728947232768,"description":"Unknown IO ID 45"} 
[2026-09-07 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926373120001,"power":13765,"unknown_99":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8795459728947232768}} 
[2026-09-07 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":176227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:11] local.INFO: GPS data processed {"connection_id":176227,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:11] local.INFO: Acknowledgment sent {"connection_id":176227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:17] local.INFO: TCP Data received {"connection_id":176228,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:17] local.INFO: Processing buffer {"connection_id":176228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:17] local.INFO: Packet analysis {"connection_id":176228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:25:17] local.INFO: Extracted packet for processing {"connection_id":176228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 15: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-07 15:25: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-07 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":176228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:17] local.INFO: GPS data processed {"connection_id":176228,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:17] local.INFO: Acknowledgment sent {"connection_id":176228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:21] local.INFO: TCP Data received {"connection_id":176229,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:21] local.INFO: Processing buffer {"connection_id":176229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:21] local.INFO: Packet analysis {"connection_id":176229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:25:21] local.INFO: Extracted packet for processing {"connection_id":176229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 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-07 15:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:25: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-07 15:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":176229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:21] local.INFO: GPS data processed {"connection_id":176229,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:21] local.INFO: Acknowledgment sent {"connection_id":176229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:23] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:23] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:23] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:25:28] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:28] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:28] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:25:32] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:32] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:25:32] local.INFO: IMEI packet received {"connection_id":176230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":176230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:25:33] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4afc78012d7a0b0005ec36b0000e00021b..."} 
[2026-09-07 15:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4afc78012d7a0b0005ec36b0000e00021b..."} 
[2026-09-07 15:25:33] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4afc78012d7a0b0005ec36b0000e00021b..."} 
[2026-09-07 15:25:33] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4a"} 
[2026-09-07 15:25:33] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4a"} 
[2026-09-07 15:25:33] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":99366576,"longitude_deg":76.2972928,"latitude_deg":9.9366576,"altitude":14,"angle":2,"satellites":27,"speed":15,"hex_longitude":"2d7a0b00","hex_latitude":"05ec36b0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926375424001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129368022728048640,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794193091552763904,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774907000,"timestamp_ms":1788774907000,"timestamp_seconds":1788774907,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4afc78"} 
[2026-09-07 15: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-07 15:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:33] 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-07 15: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-07 15: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-07 15:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926375424001,"66":13646,"99":206,"87":13824,"24":15,"16":129368022728048640,"45":8794193091552763904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 15:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926375424001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 15:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129368022728048640,"km_value":129368022728048.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794193091552763904,"description":"Unknown IO ID 45"} 
[2026-09-07 15:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926375424001,"power":13646,"unknown_99":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8794193091552763904}} 
[2026-09-07 15:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:33] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:33] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:37] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b0060012d7a0b0005ec3838000f01601c..."} 
[2026-09-07 15:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b0060012d7a0b0005ec3838000f01601c..."} 
[2026-09-07 15:25:37] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b0060012d7a0b0005ec3838000f01601c..."} 
[2026-09-07 15:25:37] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:25:37] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":99366968,"longitude_deg":76.2972928,"latitude_deg":9.9366968,"altitude":15,"angle":352,"satellites":28,"speed":15,"hex_longitude":"2d7a0b00","hex_latitude":"05ec3838","is_valid_coordinates":true} 
[2026-09-07 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926376192001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129368039907917824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722808868864,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788774908000,"timestamp_ms":1788774908000,"timestamp_seconds":1788774908,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b0060"} 
[2026-09-07 15:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:37] 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-07 15:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926376192001,"66":13722,"99":206,"87":13824,"24":15,"16":129368039907917824,"45":8794122722808868864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 15:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926376192001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 15:25:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129368039907917824,"km_value":129368039907917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722808868864,"description":"Unknown IO ID 45"} 
[2026-09-07 15:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926376192001,"power":13722,"unknown_99":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8794122722808868864}} 
[2026-09-07 15:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:37] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:37] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:41] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:41] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:41] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:25:44] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:44] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:44] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:25:45] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:45] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:25:45] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:25:46] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:46] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b46aee8012d196840071fecf8003d011f24..."} 
[2026-09-07 15:25:46] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:25:46] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b46"} 
[2026-09-07 15:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532792,"longitude_deg":75.6639808,"latitude_deg":11.9532792,"altitude":61,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fecf8","is_valid_coordinates":true} 
[2026-09-07 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-07 15:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926303488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774625000,"timestamp_ms":1788774625000,"timestamp_seconds":1788774625,"priority":1,"record_length":96,"hex_timestamp":"000001a07b46aee8"} 
[2026-09-07 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-07 15: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-07 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926303488001,"66":2677,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926303488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926303488001,"power":2677,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:46] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:46] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:25:47] local.INFO: TCP Data received {"connection_id":173500,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:25:47] local.INFO: Processing buffer {"connection_id":173500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:25:47] local.INFO: IMEI packet received {"connection_id":173500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":173500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:25:49] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:49] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:25:49] local.INFO: IMEI packet received {"connection_id":173499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:25:50] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:50] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:25:50] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:25:50] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 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-07 15:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:25:50] 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-07 15:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:25:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:25:50] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:25:50] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:08] local.INFO: TCP Data received {"connection_id":176230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b3710012d7a078005ec4818001001551c..."} 
[2026-09-07 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b3710012d7a078005ec4818001001551c..."} 
[2026-09-07 15:26:08] local.INFO: Processing buffer {"connection_id":176230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b3710012d7a078005ec4818001001551c..."} 
[2026-09-07 15:26:08] local.INFO: Packet analysis {"connection_id":176230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:08] local.INFO: Extracted packet for processing {"connection_id":176230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":762972032,"raw_latitude":99371032,"longitude_deg":76.2972032,"latitude_deg":9.9371032,"altitude":16,"angle":341,"satellites":28,"speed":18,"hex_longitude":"2d7a0780","hex_latitude":"05ec4818","is_valid_coordinates":true} 
[2026-09-07 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926376448001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129368241771380736,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722808969216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788774922000,"timestamp_ms":1788774922000,"timestamp_seconds":1788774922,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b3710"} 
[2026-09-07 15:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 15:26: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-07 15:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":176230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":176230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926376448001,"66":13678,"99":206,"87":13824,"24":18,"16":129368241771380736,"45":8794122722808969216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-09-07 15:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926376448001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-09-07 15:26:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129368241771380736,"km_value":129368241771380.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722808969216,"description":"Unknown IO ID 45"} 
[2026-09-07 15:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926376448001,"power":13678,"unknown_99":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8794122722808969216}} 
[2026-09-07 15:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":176230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:08] local.INFO: GPS data processed {"connection_id":176230,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:08] local.INFO: Acknowledgment sent {"connection_id":176230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:17] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:17] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:17] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:17] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:26: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:17] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:17] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:21] local.INFO: TCP Data received {"connection_id":173499,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:21] local.INFO: Processing buffer {"connection_id":173499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:21] local.INFO: Packet analysis {"connection_id":173499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:26:21] local.INFO: Extracted packet for processing {"connection_id":173499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 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-07 15:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:26: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-07 15:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":173499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:21] local.INFO: GPS data processed {"connection_id":173499,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:21] local.INFO: Acknowledgment sent {"connection_id":173499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:24] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:24] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:24] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:26:28] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:28] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:28] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:26:32] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:32] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:26:32] local.INFO: IMEI packet received {"connection_id":173740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":173740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:26:33] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b69d8012d79fb8005ec6aa8000f01571d..."} 
[2026-09-07 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b69d8012d79fb8005ec6aa8000f01571d..."} 
[2026-09-07 15:26:33] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b69d8012d79fb8005ec6aa8000f01571d..."} 
[2026-09-07 15:26:33] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:33] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":762968960,"raw_latitude":99379880,"longitude_deg":76.296896,"latitude_deg":9.937988,"altitude":15,"angle":343,"satellites":29,"speed":21,"hex_longitude":"2d79fb80","hex_latitude":"05ec6aa8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926380032001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129368697037914112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793137560391522304,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788774935000,"timestamp_ms":1788774935000,"timestamp_seconds":1788774935,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b69d8"} 
[2026-09-07 15: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-07 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926380032001,"66":13515,"100":206,"87":13824,"24":21,"16":129368697037914112,"45":8793137560391522304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926380032001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:26:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129368697037914112,"km_value":129368697037914.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793137560391522304,"description":"Unknown IO ID 45"} 
[2026-09-07 15:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926380032001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8793137560391522304}} 
[2026-09-07 15:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:33] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:33] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:44] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:44] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:44] local.INFO: IMEI packet received {"connection_id":173501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":173501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:26:45] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:45] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:45] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:26:49] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:49] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:26:49] local.INFO: IMEI packet received {"connection_id":173501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":173501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:26:50] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:50] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:26:50] local.INFO: Packet analysis {"connection_id":173501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:26:50] local.INFO: Extracted packet for processing {"connection_id":173501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:26:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15: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-07 15:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:26: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-07 15:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":173501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:50] local.INFO: GPS data processed {"connection_id":173501,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:50] local.INFO: Acknowledgment sent {"connection_id":173501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:50] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:50] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:26:50] local.INFO: IMEI packet received {"connection_id":174841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":174841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:26:51] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:51] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:51] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:51] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26: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-07 15:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:26: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:51] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:51] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:26:56] local.INFO: TCP Data received {"connection_id":174841,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:56] local.INFO: Processing buffer {"connection_id":174841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:26:56] local.INFO: Packet analysis {"connection_id":174841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:56] local.INFO: Extracted packet for processing {"connection_id":174841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:26: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-07 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:26:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:26:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":174841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:26:56] local.INFO: GPS data processed {"connection_id":174841,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:26:56] local.INFO: Acknowledgment sent {"connection_id":174841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:27:04] local.INFO: TCP Data received {"connection_id":173740,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b9ca0012d79f6c005ec7640000d014c1d..."} 
[2026-09-07 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b9ca0012d79f6c005ec7640000d014c1d..."} 
[2026-09-07 15:27:04] local.INFO: Processing buffer {"connection_id":173740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b9ca0012d79f6c005ec7640000d014c1d..."} 
[2026-09-07 15:27:04] local.INFO: Packet analysis {"connection_id":173740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:27:04] local.INFO: Extracted packet for processing {"connection_id":173740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:27:04] local.INFO: GPS Element Parsed {"raw_longitude":762967744,"raw_latitude":99382848,"longitude_deg":76.2967744,"latitude_deg":9.9382848,"altitude":13,"angle":332,"satellites":29,"speed":17,"hex_longitude":"2d79f6c0","hex_latitude":"05ec7640","is_valid_coordinates":true} 
[2026-09-07 15:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926383360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129368855951704064,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789759860673259520,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788774948000,"timestamp_ms":1788774948000,"timestamp_seconds":1788774948,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b9ca0"} 
[2026-09-07 15:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:27:04] 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-07 15:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 15:27:04] 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-07 15:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926383360001,"66":13363,"100":206,"87":13824,"24":17,"16":129368855951704064,"45":8789759860673259520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926383360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:27:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129368855951704064,"km_value":129368855951704.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789759860673259520,"description":"Unknown IO ID 45"} 
[2026-09-07 15:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926383360001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8789759860673259520}} 
[2026-09-07 15:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":173740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:27:04] local.INFO: GPS data processed {"connection_id":173740,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:27:04] local.INFO: Acknowledgment sent {"connection_id":173740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:27:21] local.INFO: TCP Data received {"connection_id":173501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:21] local.INFO: Processing buffer {"connection_id":173501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:21] local.INFO: Packet analysis {"connection_id":173501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:27:21] local.INFO: Extracted packet for processing {"connection_id":173501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:27:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15: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-07 15:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:27: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-07 15:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:27:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":173501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:27:21] local.INFO: GPS data processed {"connection_id":173501,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:27:21] local.INFO: Acknowledgment sent {"connection_id":173501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:27:28] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:28] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:28] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:27:33] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:33] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:27:33] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:27:34] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4cf848012d79f54005ecb008000b011e1d..."} 
[2026-09-07 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4cf848012d79f54005ecb008000b011e1d..."} 
[2026-09-07 15:27:34] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4cf848012d79f54005ecb008000b011e1d..."} 
[2026-09-07 15:27:34] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4c"} 
[2026-09-07 15:27:34] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4c"} 
[2026-09-07 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762967360,"raw_latitude":99397640,"longitude_deg":76.296736,"latitude_deg":9.939764,"altitude":11,"angle":286,"satellites":29,"speed":3,"hex_longitude":"2d79f540","hex_latitude":"05ecb008","is_valid_coordinates":true} 
[2026-09-07 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926409216001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369891038822400,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788000642073360384,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775037000,"timestamp_ms":1788775037000,"timestamp_seconds":1788775037,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4cf848"} 
[2026-09-07 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 15:27:34] 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-07 15:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926409216001,"66":13276,"100":206,"87":13824,"24":3,"16":129369891038822400,"45":8788000642073360384},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926409216001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:27:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369891038822400,"km_value":129369891038822.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788000642073360384,"description":"Unknown IO ID 45"} 
[2026-09-07 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926409216001,"power":13276,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8788000642073360384}} 
[2026-09-07 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:27:34] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:27:34] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:27:40] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:40] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:40] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:27:45] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:45] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:27:45] local.INFO: IMEI packet received {"connection_id":174842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":174842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:27:46] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:27:46] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:27:46] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:27:46] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:27:46] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:27:46] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:27:49] local.INFO: TCP Data received {"connection_id":174843,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:49] local.INFO: Processing buffer {"connection_id":174843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:49] local.INFO: IMEI packet received {"connection_id":174843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":174843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:27:54] local.INFO: TCP Data received {"connection_id":174843,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:54] local.INFO: Processing buffer {"connection_id":174843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:27:54] local.INFO: IMEI packet received {"connection_id":174843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":174843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:27:55] local.INFO: TCP Data received {"connection_id":174843,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:55] local.INFO: Processing buffer {"connection_id":174843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:27:55] local.INFO: Packet analysis {"connection_id":174843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:27:55] local.INFO: Extracted packet for processing {"connection_id":174843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15: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-07 15:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:27:55] 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-07 15:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:27:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":174843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:27:55] local.INFO: GPS data processed {"connection_id":174843,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:27:55] local.INFO: Acknowledgment sent {"connection_id":174843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:00] local.INFO: TCP Data received {"connection_id":174843,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:28:00] local.INFO: Processing buffer {"connection_id":174843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b491c00012cc334c0076850d00059015c2c..."} 
[2026-09-07 15:28:00] local.INFO: Packet analysis {"connection_id":174843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:28:00] local.INFO: Extracted packet for processing {"connection_id":174843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b49"} 
[2026-09-07 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":44,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:28: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-07 15:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926267648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788774784000,"timestamp_ms":1788774784000,"timestamp_seconds":1788774784,"priority":1,"record_length":96,"hex_timestamp":"000001a07b491c00"} 
[2026-09-07 15:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:28: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:28: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-07 15:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:28:00] 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-07 15:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926267648001,"66":26158,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926267648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926267648001,"power":26158,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":174843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:00] local.INFO: GPS data processed {"connection_id":174843,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:00] local.INFO: Acknowledgment sent {"connection_id":174843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:05] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4cfc30012d79f50005ecb018000b012d1d..."} 
[2026-09-07 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4cfc30012d79f50005ecb018000b012d1d..."} 
[2026-09-07 15:28:05] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4cfc30012d79f50005ecb018000b012d1d..."} 
[2026-09-07 15:28:05] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4c"} 
[2026-09-07 15:28:05] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4c"} 
[2026-09-07 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762967296,"raw_latitude":99397656,"longitude_deg":76.2967296,"latitude_deg":9.9397656,"altitude":11,"angle":301,"satellites":29,"speed":2,"hex_longitude":"2d79f500","hex_latitude":"05ecb018","is_valid_coordinates":true} 
[2026-09-07 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926409472001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369895333789696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788000642073364480,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775038000,"timestamp_ms":1788775038000,"timestamp_seconds":1788775038,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4cfc30"} 
[2026-09-07 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926409472001,"66":13624,"100":206,"87":13824,"24":2,"16":129369895333789696,"45":8788000642073364480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926409472001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369895333789696,"km_value":129369895333789.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788000642073364480,"description":"Unknown IO ID 45"} 
[2026-09-07 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926409472001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788000642073364480}} 
[2026-09-07 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:05] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:05] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:17] local.INFO: TCP Data received {"connection_id":174842,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:17] local.INFO: Processing buffer {"connection_id":174842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:17] local.INFO: Packet analysis {"connection_id":174842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:28:17] local.INFO: Extracted packet for processing {"connection_id":174842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:28: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":174842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:17] local.INFO: GPS data processed {"connection_id":174842,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:17] local.INFO: Acknowledgment sent {"connection_id":174842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:28] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:28] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:28] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:28:33] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:33] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:28:33] local.INFO: IMEI packet received {"connection_id":173503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":173503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:28:33] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4d0400012d79f4c005ecb030000b01221d..."} 
[2026-09-07 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4d0400012d79f4c005ecb030000b01221d..."} 
[2026-09-07 15:28:33] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4d0400012d79f4c005ecb030000b01221d..."} 
[2026-09-07 15:28:33] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:28:33] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:28:33] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397680,"longitude_deg":76.2967232,"latitude_deg":9.939768,"altitude":11,"angle":290,"satellites":29,"speed":1,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb030","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926409728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787930273329190912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775040000,"timestamp_ms":1788775040000,"timestamp_seconds":1788775040,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4d0400"} 
[2026-09-07 15: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-07 15:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:33] 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-07 15: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-07 15: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-07 15:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926409728001,"66":13678,"100":206,"87":13824,"24":1,"16":129369899628756992,"45":8787930273329190912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926409728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:28:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787930273329190912,"description":"Unknown IO ID 45"} 
[2026-09-07 15:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926409728001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8787930273329190912}} 
[2026-09-07 15:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:33] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:33] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:40] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:40] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:40] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:28:43] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:43] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:43] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:28:44] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:44] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:44] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:28:45] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:45] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:28:45] local.INFO: IMEI packet received {"connection_id":173504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":173504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:28:46] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:46] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:28:46] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:28:46] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:46] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:46] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:28:49] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:49] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:28:49] local.INFO: IMEI packet received {"connection_id":176232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":176232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:28:50] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:28:50] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:28:50] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:28:50] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15: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-07 15:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:28:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:28:50] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:28:50] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:05] local.INFO: TCP Data received {"connection_id":173503,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4d5220012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4d5220012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:29:05] local.INFO: Processing buffer {"connection_id":173503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4d5220012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:29:05] local.INFO: Packet analysis {"connection_id":173503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:05] local.INFO: Extracted packet for processing {"connection_id":173503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":28,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926410240001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585019392,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775060000,"timestamp_ms":1788775060000,"timestamp_seconds":1788775060,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4d5220"} 
[2026-09-07 15:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:05] 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-07 15:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926410240001,"66":13798,"100":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585019392},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926410240001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585019392,"description":"Unknown IO ID 45"} 
[2026-09-07 15:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926410240001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585019392}} 
[2026-09-07 15:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":173503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:05] local.INFO: GPS data processed {"connection_id":173503,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:05] local.INFO: Acknowledgment sent {"connection_id":173503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:17] local.INFO: TCP Data received {"connection_id":173504,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:17] local.INFO: Processing buffer {"connection_id":173504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:17] local.INFO: Packet analysis {"connection_id":173504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:29:17] local.INFO: Extracted packet for processing {"connection_id":173504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:29: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":173504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:17] local.INFO: GPS data processed {"connection_id":173504,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:17] local.INFO: Acknowledgment sent {"connection_id":173504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:21] local.INFO: TCP Data received {"connection_id":176232,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:21] local.INFO: Processing buffer {"connection_id":176232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:21] local.INFO: Packet analysis {"connection_id":176232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:21] local.INFO: Extracted packet for processing {"connection_id":176232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15: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-07 15:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:29: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-07 15:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":176232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:21] local.INFO: GPS data processed {"connection_id":176232,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:21] local.INFO: Acknowledgment sent {"connection_id":176232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:22] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:22] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:22] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:29:25] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:25] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:29:25] local.INFO: IMEI packet received {"connection_id":176233,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":176233,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:29:26] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-07 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-07 15:29:26] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-09-07 15:29:26] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:29:26] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:29:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 15:29:26] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 15:29:26] local.ERROR: GPS data processing failed {"connection_id":176233,"error":"No valid data to process"} 
[2026-09-07 15:29:26] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 15:29:27] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:29:27] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:27] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:29:32] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:32] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:29:32] local.INFO: IMEI packet received {"connection_id":176234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":176234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:29:33] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4da428012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4da428012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:29:33] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4da428012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:29:33] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:33] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":26,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926415360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585021440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775081000,"timestamp_ms":1788775081000,"timestamp_seconds":1788775081,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4da428"} 
[2026-09-07 15:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:33] 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-07 15:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926415360001,"66":13852,"100":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585021440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926415360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585021440,"description":"Unknown IO ID 45"} 
[2026-09-07 15:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926415360001,"power":13852,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585021440}} 
[2026-09-07 15:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:33] local.INFO: GPS data processed {"connection_id":176234,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:33] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:40] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:40] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:40] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:29:44] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:44] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:44] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:29:45] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:45] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:29:45] local.INFO: IMEI packet received {"connection_id":174844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":174844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:29:46] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:46] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:29:46] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:29:46] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:46] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:46] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:29:49] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:49] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:29:49] local.INFO: IMEI packet received {"connection_id":173743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:29:50] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:50] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:29:50] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:50] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15: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-07 15:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:29:50] 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-07 15:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:29:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:29:50] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:29:50] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:05] local.INFO: TCP Data received {"connection_id":176234,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4df630012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4df630012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:30:05] local.INFO: Processing buffer {"connection_id":176234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4df630012d79f4c005ecb038000b01251a..."} 
[2026-09-07 15:30:05] local.INFO: Packet analysis {"connection_id":176234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:05] local.INFO: Extracted packet for processing {"connection_id":176234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":26,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926420736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585021440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775102000,"timestamp_ms":1788775102000,"timestamp_seconds":1788775102,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4df630"} 
[2026-09-07 15:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926420736001,"66":13798,"100":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585021440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926420736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:30:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585021440,"description":"Unknown IO ID 45"} 
[2026-09-07 15:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926420736001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585021440}} 
[2026-09-07 15:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":176234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:05] local.INFO: GPS data processed {"connection_id":176234,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:05] local.INFO: Acknowledgment sent {"connection_id":176234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:13] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-09-07 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-09-07 15:30:13] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-09-07 15:30:13] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:30:13] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 15:30: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-07 15:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:30:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":93000,"timestamp_seconds":93,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:30:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 15:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 15:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 15:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 15:30:13] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 15:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 15:30:13] local.ERROR: GPS data processing failed {"connection_id":176233,"error":"No valid data to process"} 
[2026-09-07 15:30:13] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 15:30:17] local.INFO: TCP Data received {"connection_id":174844,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:17] local.INFO: Processing buffer {"connection_id":174844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:17] local.INFO: Packet analysis {"connection_id":174844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:30:17] local.INFO: Extracted packet for processing {"connection_id":174844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:30: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":174844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:17] local.INFO: GPS data processed {"connection_id":174844,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:17] local.INFO: Acknowledgment sent {"connection_id":174844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:21] local.INFO: TCP Data received {"connection_id":173743,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:21] local.INFO: Processing buffer {"connection_id":173743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:21] local.INFO: Packet analysis {"connection_id":173743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:21] local.INFO: Extracted packet for processing {"connection_id":173743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:30: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-07 15:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":173743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:21] local.INFO: GPS data processed {"connection_id":173743,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:21] local.INFO: Acknowledgment sent {"connection_id":173743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:27] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:27] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:27] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:30:33] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:33] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:30:33] local.INFO: IMEI packet received {"connection_id":174845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":174845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:30:33] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4e4838012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4e4838012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:30:33] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4e4838012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:30:33] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:30:33] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":27,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926426112001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585021440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775123000,"timestamp_ms":1788775123000,"timestamp_seconds":1788775123,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4e4838"} 
[2026-09-07 15: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-07 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:33] 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-07 15: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-07 15: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-07 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926426112001,"66":13917,"118":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585021440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926426112001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:30:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585021440,"description":"Unknown IO ID 45"} 
[2026-09-07 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926426112001,"power":13917,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585021440}} 
[2026-09-07 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:33] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:33] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:40] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:40] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:40] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:30:44] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:44] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:44] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:30:45] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:45] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:30:45] local.INFO: IMEI packet received {"connection_id":176236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":176236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:30:46] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:46] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4b4e80012d196500071ff0200040011f26..."} 
[2026-09-07 15:30:46] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:30:46] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4b"} 
[2026-09-07 15:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870679040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788774928000,"timestamp_ms":1788774928000,"timestamp_seconds":1788774928,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4b4e80"} 
[2026-09-07 15: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-07 15:30: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-07 15: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":10,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15: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-07 15:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926304000001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1830783647870679040},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870679040,"description":"Unknown IO ID 45"} 
[2026-09-07 15:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926304000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830783647870679040}} 
[2026-09-07 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:46] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:46] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:46] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4f90580100000000000000000000000000..."} 
[2026-09-07 15:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4f90580100000000000000000000000000..."} 
[2026-09-07 15:30:46] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4f90580100000000000000000000000000..."} 
[2026-09-07 15:30:46] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:30:46] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:30:46] 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-07 15: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-07 15:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775207000,"timestamp_ms":1788775207000,"timestamp_seconds":1788775207,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4f9058"} 
[2026-09-07 15: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-07 15:30:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15: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-07 15:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:30:46] local.INFO: GPS data processed {"connection_id":176233,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:30:46] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:30:49] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:49] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:30:49] local.INFO: IMEI packet received {"connection_id":176237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":176237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:30:50] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:50] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:30:50] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:50] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:30:50] 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-07 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:30:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:30:50] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:30:50] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:04] local.INFO: TCP Data received {"connection_id":174845,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4e9a40012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4e9a40012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:31:04] local.INFO: Processing buffer {"connection_id":174845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4e9a40012d79f4c005ecb038000b01251b..."} 
[2026-09-07 15:31:04] local.INFO: Packet analysis {"connection_id":174845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:31:04] local.INFO: Extracted packet for processing {"connection_id":174845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:31:04] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":27,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926431488001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585021440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788775144000,"timestamp_ms":1788775144000,"timestamp_seconds":1788775144,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4e9a40"} 
[2026-09-07 15: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-07 15:31:04] 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-07 15: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:04] 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-07 15: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-07 15: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-07 15:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926431488001,"66":13646,"118":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585021440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926431488001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:31:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585021440,"description":"Unknown IO ID 45"} 
[2026-09-07 15:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926431488001,"power":13646,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585021440}} 
[2026-09-07 15:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":174845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:04] local.INFO: GPS data processed {"connection_id":174845,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:04] local.INFO: Acknowledgment sent {"connection_id":174845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:16] local.INFO: TCP Data received {"connection_id":173505,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:16] local.INFO: Processing buffer {"connection_id":173505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:16] local.INFO: IMEI packet received {"connection_id":173505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":173505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:31:18] local.INFO: TCP Data received {"connection_id":176236,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:18] local.INFO: Processing buffer {"connection_id":176236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:18] local.INFO: Packet analysis {"connection_id":176236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:18] local.INFO: Extracted packet for processing {"connection_id":176236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31: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-07 15:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:18] 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-07 15:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:18] local.INFO: GPS data processed {"connection_id":176236,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:18] local.INFO: Acknowledgment sent {"connection_id":176236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:18] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe2600100000000000000000000000000..."} 
[2026-09-07 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe2600100000000000000000000000000..."} 
[2026-09-07 15:31:18] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe2600100000000000000000000000000..."} 
[2026-09-07 15:31:18] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:18] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788775228000,"timestamp_ms":1788775228000,"timestamp_seconds":1788775228,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe260"} 
[2026-09-07 15:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:31:18] local.INFO: GPS data processed {"connection_id":176233,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:31:18] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:21] local.INFO: TCP Data received {"connection_id":176237,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:21] local.INFO: Processing buffer {"connection_id":176237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:21] local.INFO: Packet analysis {"connection_id":176237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:31:21] local.INFO: Extracted packet for processing {"connection_id":176237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15: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-07 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:31: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-07 15:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":176237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:21] local.INFO: GPS data processed {"connection_id":176237,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:21] local.INFO: Acknowledgment sent {"connection_id":176237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:27] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:27] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:27] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:31:33] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:33] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:31:33] local.INFO: IMEI packet received {"connection_id":173744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":173744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:31:34] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4eec48012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4eec48012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:31:34] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4eec48012d79f4c005ecb038000b01251c..."} 
[2026-09-07 15:31:34] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:31:34] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4e"} 
[2026-09-07 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762967232,"raw_latitude":99397688,"longitude_deg":76.2967232,"latitude_deg":9.9397688,"altitude":11,"angle":293,"satellites":28,"speed":0,"hex_longitude":"2d79f4c0","hex_latitude":"05ecb038","is_valid_coordinates":true} 
[2026-09-07 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926436864001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129369899628756992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787859904585021440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775165000,"timestamp_ms":1788775165000,"timestamp_seconds":1788775165,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4eec48"} 
[2026-09-07 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:34] 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-07 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926436864001,"66":13678,"118":206,"87":13824,"24":0,"16":129369899628756992,"45":8787859904585021440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926436864001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129369899628756992,"km_value":129369899628756.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787859904585021440,"description":"Unknown IO ID 45"} 
[2026-09-07 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926436864001,"power":13678,"unknown_118":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787859904585021440}} 
[2026-09-07 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:34] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:34] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:44] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:44] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:44] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:31:45] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:45] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:45] local.INFO: IMEI packet received {"connection_id":173506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:31:46] local.INFO: TCP Data received {"connection_id":176238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:46] local.INFO: Processing buffer {"connection_id":176238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:31:46] local.INFO: IMEI packet received {"connection_id":176238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":176238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:31:49] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:49] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:31:49] local.INFO: IMEI packet received {"connection_id":173745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":173745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:31:50] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:50] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:31:50] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:31:50] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 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-07 15:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:31:50] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:50] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:50] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:50] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:31:50] local.INFO: IMEI packet received {"connection_id":173506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:31:51] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:51] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:51] local.INFO: Packet analysis {"connection_id":173506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:51] local.INFO: Extracted packet for processing {"connection_id":173506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31: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-07 15:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:51] local.INFO: GPS data processed {"connection_id":173506,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:51] local.INFO: Acknowledgment sent {"connection_id":173506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:56] local.INFO: TCP Data received {"connection_id":173506,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:56] local.INFO: Processing buffer {"connection_id":173506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:31:56] local.INFO: Packet analysis {"connection_id":173506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:56] local.INFO: Extracted packet for processing {"connection_id":173506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 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-07 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:56] 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-07 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-07 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-07 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:31:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":173506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:31:56] local.INFO: GPS data processed {"connection_id":173506,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:31:56] local.INFO: Acknowledgment sent {"connection_id":173506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:31:56] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5034680100000000000000000000000000..."} 
[2026-09-07 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5034680100000000000000000000000000..."} 
[2026-09-07 15:31:56] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5034680100000000000000000000000000..."} 
[2026-09-07 15:31:56] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:31:56] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:31: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-07 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-07 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:31:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788775249000,"timestamp_ms":1788775249000,"timestamp_seconds":1788775249,"priority":1,"record_length":96,"hex_timestamp":"000001a07b503468"} 
[2026-09-07 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-07 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 15:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:31:56] local.INFO: GPS data processed {"connection_id":176233,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:31:56] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:05] local.INFO: TCP Data received {"connection_id":173744,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b511310012d79fa0005ec77c0000900661e..."} 
[2026-09-07 15:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b511310012d79fa0005ec77c0000900661e..."} 
[2026-09-07 15:32:05] local.INFO: Processing buffer {"connection_id":173744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b511310012d79fa0005ec77c0000900661e..."} 
[2026-09-07 15:32:05] local.INFO: Packet analysis {"connection_id":173744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:32:05] local.INFO: Extracted packet for processing {"connection_id":173744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":99383232,"longitude_deg":76.2968576,"latitude_deg":9.9383232,"altitude":9,"angle":102,"satellites":30,"speed":6,"hex_longitude":"2d79fa00","hex_latitude":"05ec77c0","is_valid_coordinates":true} 
[2026-09-07 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926477824001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129370848816529408,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788915435744038912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775306000,"timestamp_ms":1788775306000,"timestamp_seconds":1788775306,"priority":1,"record_length":96,"hex_timestamp":"000001a07b511310"} 
[2026-09-07 15:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:05] 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-07 15:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926477824001,"66":12645,"118":206,"87":13824,"24":6,"16":129370848816529408,"45":8788915435744038912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926477824001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:32:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:32:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129370848816529408,"km_value":129370848816529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788915435744038912,"description":"Unknown IO ID 45"} 
[2026-09-07 15:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926477824001,"power":12645,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8788915435744038912}} 
[2026-09-07 15:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":173744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:32:05] local.INFO: GPS data processed {"connection_id":173744,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:32:05] local.INFO: Acknowledgment sent {"connection_id":173744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:21] local.INFO: TCP Data received {"connection_id":173745,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:21] local.INFO: Processing buffer {"connection_id":173745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:21] local.INFO: Packet analysis {"connection_id":173745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:32:21] local.INFO: Extracted packet for processing {"connection_id":173745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:32:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:32: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-07 15:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:32:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":173745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:32:21] local.INFO: GPS data processed {"connection_id":173745,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:32:21] local.INFO: Acknowledgment sent {"connection_id":173745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:27] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:27] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:27] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:32:29] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5086700100000000000000000000000000..."} 
[2026-09-07 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5086700100000000000000000000000000..."} 
[2026-09-07 15:32:29] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5086700100000000000000000000000000..."} 
[2026-09-07 15:32:29] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:32:29] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788775270000,"timestamp_ms":1788775270000,"timestamp_seconds":1788775270,"priority":1,"record_length":96,"hex_timestamp":"000001a07b508670"} 
[2026-09-07 15:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:32:29] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:32:29] local.INFO: GPS data processed {"connection_id":176233,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:32:29] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:33] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:33] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:32:33] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:32:34] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b512a80012d79fc4005ec78380008003b1f..."} 
[2026-09-07 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b512a80012d79fc4005ec78380008003b1f..."} 
[2026-09-07 15:32:34] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b512a80012d79fc4005ec78380008003b1f..."} 
[2026-09-07 15:32:34] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:32:34] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":762969152,"raw_latitude":99383352,"longitude_deg":76.2969152,"latitude_deg":9.9383352,"altitude":8,"angle":59,"satellites":31,"speed":6,"hex_longitude":"2d79fc40","hex_latitude":"05ec7838","is_valid_coordinates":true} 
[2026-09-07 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926478336001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129370874586333184,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648209051648,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775312000,"timestamp_ms":1788775312000,"timestamp_seconds":1788775312,"priority":1,"record_length":96,"hex_timestamp":"000001a07b512a80"} 
[2026-09-07 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926478336001,"66":13646,"118":206,"87":13824,"24":6,"16":129370874586333184,"45":8789337648209051648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926478336001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:32:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:32:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129370874586333184,"km_value":129370874586333.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648209051648,"description":"Unknown IO ID 45"} 
[2026-09-07 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926478336001,"power":13646,"unknown_118":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789337648209051648}} 
[2026-09-07 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:32:34] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:32:34] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:40] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:40] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:40] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:32:45] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:45] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:32:45] local.INFO: IMEI packet received {"connection_id":173747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":173747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:32:46] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:32:46] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:32:46] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:32:46] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:46] 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-07 15: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-07 15: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-07 15:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:32:46] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:32:46] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:32:49] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:49] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:49] local.INFO: IMEI packet received {"connection_id":173507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:32:54] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:54] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:32:54] local.INFO: IMEI packet received {"connection_id":173507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:32:55] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:55] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:32:55] local.INFO: Packet analysis {"connection_id":173507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:32:55] local.INFO: Extracted packet for processing {"connection_id":173507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:32:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15: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-07 15:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:32:55] local.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-07 15:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:32:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:32:55] local.INFO: GPS data processed {"connection_id":173507,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:32:55] local.INFO: Acknowledgment sent {"connection_id":173507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:00] local.INFO: TCP Data received {"connection_id":173507,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:33:00] local.INFO: Processing buffer {"connection_id":173507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4db3c8012cc334c0076850d00059015c2a..."} 
[2026-09-07 15:33:00] local.INFO: Packet analysis {"connection_id":173507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:33:00] local.INFO: Extracted packet for processing {"connection_id":173507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4d"} 
[2026-09-07 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":42,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926344704001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788775085000,"timestamp_ms":1788775085000,"timestamp_seconds":1788775085,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4db3c8"} 
[2026-09-07 15:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:00] local.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-07 15:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926344704001,"66":26082,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926344704001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926344704001,"power":26082,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:00] local.INFO: GPS data processed {"connection_id":173507,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:00] local.INFO: Acknowledgment sent {"connection_id":173507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:01] local.INFO: TCP Data received {"connection_id":176233,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b50d8780100000000000000000000000000..."} 
[2026-09-07 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b50d8780100000000000000000000000000..."} 
[2026-09-07 15:33:01] local.INFO: Processing buffer {"connection_id":176233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b50d8780100000000000000000000000000..."} 
[2026-09-07 15:33:01] local.INFO: Packet analysis {"connection_id":176233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:33:01] local.INFO: Extracted packet for processing {"connection_id":176233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b50"} 
[2026-09-07 15:33:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788775291000,"timestamp_ms":1788775291000,"timestamp_seconds":1788775291,"priority":1,"record_length":96,"hex_timestamp":"000001a07b50d878"} 
[2026-09-07 15:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176233,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":176233,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:33:01] local.INFO: GPS data processed {"connection_id":176233,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:33:01] local.INFO: Acknowledgment sent {"connection_id":176233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:05] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b513e08012d7a00c005ec7a10000700461f..."} 
[2026-09-07 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b513e08012d7a00c005ec7a10000700461f..."} 
[2026-09-07 15:33:05] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b513e08012d7a00c005ec7a10000700461f..."} 
[2026-09-07 15:33:05] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:05] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762970304,"raw_latitude":99383824,"longitude_deg":76.2970304,"latitude_deg":9.9383824,"altitude":7,"angle":70,"satellites":31,"speed":9,"hex_longitude":"2d7a00c0","hex_latitude":"05ec7a10","is_valid_coordinates":true} 
[2026-09-07 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926479872001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129370934715875328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789970966906681344,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775317000,"timestamp_ms":1788775317000,"timestamp_seconds":1788775317,"priority":1,"record_length":96,"hex_timestamp":"000001a07b513e08"} 
[2026-09-07 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:05] 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-07 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926479872001,"66":13798,"118":206,"87":13824,"24":9,"16":129370934715875328,"45":8789970966906681344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,87,24,16,45]} 
[2026-09-07 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926479872001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:05] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 15:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129370934715875328,"km_value":129370934715875.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789970966906681344,"description":"Unknown IO ID 45"} 
[2026-09-07 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926479872001,"power":13798,"unknown_118":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8789970966906681344}} 
[2026-09-07 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:05] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:05] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:17] local.INFO: TCP Data received {"connection_id":173747,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:17] local.INFO: Processing buffer {"connection_id":173747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:17] local.INFO: Packet analysis {"connection_id":173747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:33:17] local.INFO: Extracted packet for processing {"connection_id":173747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:17] 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-07 15: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-07 15: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-07 15:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":173747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:17] local.INFO: GPS data processed {"connection_id":173747,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:17] local.INFO: Acknowledgment sent {"connection_id":173747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:31] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:31] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:31] local.INFO: IMEI packet received {"connection_id":174847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":174847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:33:32] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:32] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:32] local.INFO: IMEI packet received {"connection_id":174847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":174847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:33] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:33] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:33:33] local.INFO: IMEI packet received {"connection_id":174847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":174847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:34] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b518c28012d7a0a4005ec7db8000a00441d..."} 
[2026-09-07 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b518c28012d7a0a4005ec7db8000a00441d..."} 
[2026-09-07 15:33:34] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b518c28012d7a0a4005ec7db8000a00441d..."} 
[2026-09-07 15:33:34] local.INFO: Packet analysis {"connection_id":174847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:34] local.INFO: Extracted packet for processing {"connection_id":174847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99384760,"longitude_deg":76.2972736,"latitude_deg":9.938476,"altitude":10,"angle":68,"satellites":29,"speed":0,"hex_longitude":"2d7a0a40","hex_latitude":"05ec7db8","is_valid_coordinates":true} 
[2026-09-07 15:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926481152001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371063564894208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604302000128,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775337000,"timestamp_ms":1788775337000,"timestamp_seconds":1788775337,"priority":1,"record_length":96,"hex_timestamp":"000001a07b518c28"} 
[2026-09-07 15:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:34] 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-07 15:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926481152001,"66":13656,"100":206,"87":13824,"24":0,"16":129371063564894208,"45":8791237604302000128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926481152001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371063564894208,"km_value":129371063564894.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604302000128,"description":"Unknown IO ID 45"} 
[2026-09-07 15:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926481152001,"power":13656,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8791237604302000128}} 
[2026-09-07 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":174847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:34] local.INFO: GPS data processed {"connection_id":174847,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:34] local.INFO: Acknowledgment sent {"connection_id":174847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:36] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b51de30012d7a13c005ec81100008004a1d..."} 
[2026-09-07 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b51de30012d7a13c005ec81100008004a1d..."} 
[2026-09-07 15:33:36] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b51de30012d7a13c005ec81100008004a1d..."} 
[2026-09-07 15:33:36] local.INFO: Packet analysis {"connection_id":174847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:36] local.INFO: Extracted packet for processing {"connection_id":174847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":762975168,"raw_latitude":99385616,"longitude_deg":76.2975168,"latitude_deg":9.9385616,"altitude":8,"angle":74,"satellites":29,"speed":4,"hex_longitude":"2d7a13c0","hex_latitude":"05ec8110","is_valid_coordinates":true} 
[2026-09-07 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926486272001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371188118945792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793911616580990976,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788775358000,"timestamp_ms":1788775358000,"timestamp_seconds":1788775358,"priority":1,"record_length":96,"hex_timestamp":"000001a07b51de30"} 
[2026-09-07 15:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:36] 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-07 15:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926486272001,"66":13526,"100":206,"87":13824,"24":4,"16":129371188118945792,"45":8793911616580990976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926486272001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:36] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:33:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371188118945792,"km_value":129371188118945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793911616580990976,"description":"Unknown IO ID 45"} 
[2026-09-07 15:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926486272001,"power":13526,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8793911616580990976}} 
[2026-09-07 15:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":174847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:36] local.INFO: GPS data processed {"connection_id":174847,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:36] local.INFO: Acknowledgment sent {"connection_id":174847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:40] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:40] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:40] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:33:40] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:40] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:40] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:33:44] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:44] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:44] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:33:45] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:45] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:45] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:45] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:45] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:33:45] local.INFO: IMEI packet received {"connection_id":176239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":176239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:46] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:46] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:33:46] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:33:46] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:46] 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-07 15: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-07 15: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-07 15:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:46] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:46] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:49] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:49] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:33:49] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:49] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:49] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:33:49] local.INFO: IMEI packet received {"connection_id":173508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:33:50] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b512a800100000000000000000000000000..."} 
[2026-09-07 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b512a800100000000000000000000000000..."} 
[2026-09-07 15:33:50] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b512a800100000000000000000000000000..."} 
[2026-09-07 15:33:50] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:50] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:33:50] 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-07 15: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-07 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775312000,"timestamp_ms":1788775312000,"timestamp_seconds":1788775312,"priority":1,"record_length":96,"hex_timestamp":"000001a07b512a80"} 
[2026-09-07 15: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-07 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:50] 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-07 15: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-07 15: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-07 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:33:50] local.INFO: GPS data processed {"connection_id":173748,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:33:50] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:50] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:50] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:50] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:33:50] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:50] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:50] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:33:55] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:55] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:33:55] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:33:55] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:33: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-07 15:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:33: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:33: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-07 15:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:33:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:33:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:33:55] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:33:55] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:07] local.INFO: TCP Data received {"connection_id":174847,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b520d10012d7a184005ec82800009003f1d..."} 
[2026-09-07 15:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b520d10012d7a184005ec82800009003f1d..."} 
[2026-09-07 15:34:07] local.INFO: Processing buffer {"connection_id":174847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b520d10012d7a184005ec82800009003f1d..."} 
[2026-09-07 15:34:07] local.INFO: Packet analysis {"connection_id":174847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:07] local.INFO: Extracted packet for processing {"connection_id":174847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:07] local.INFO: GPS Element Parsed {"raw_longitude":762976320,"raw_latitude":99385984,"longitude_deg":76.297632,"latitude_deg":9.9385984,"altitude":9,"angle":63,"satellites":29,"speed":2,"hex_longitude":"2d7a1840","hex_latitude":"05ec8280","is_valid_coordinates":true} 
[2026-09-07 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926491648001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371243953520640,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796585628859961344,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788775370000,"timestamp_ms":1788775370000,"timestamp_seconds":1788775370,"priority":1,"record_length":96,"hex_timestamp":"000001a07b520d10"} 
[2026-09-07 15:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:34: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-07 15:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926491648001,"66":13765,"100":206,"87":13824,"24":2,"16":129371243953520640,"45":8796585628859961344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926491648001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:07] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:34:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371243953520640,"km_value":129371243953520.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796585628859961344,"description":"Unknown IO ID 45"} 
[2026-09-07 15:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926491648001,"power":13765,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8796585628859961344}} 
[2026-09-07 15:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":174847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:07] local.INFO: GPS data processed {"connection_id":174847,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:07] local.INFO: Acknowledgment sent {"connection_id":174847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:17] local.INFO: TCP Data received {"connection_id":176239,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:17] local.INFO: Processing buffer {"connection_id":176239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:17] local.INFO: Packet analysis {"connection_id":176239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:34:17] local.INFO: Extracted packet for processing {"connection_id":176239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:17] 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-07 15: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-07 15: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-07 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":176239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:17] local.INFO: GPS data processed {"connection_id":176239,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:17] local.INFO: Acknowledgment sent {"connection_id":176239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:21] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b517c880100000000000000000000000000..."} 
[2026-09-07 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b517c880100000000000000000000000000..."} 
[2026-09-07 15:34:21] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b517c880100000000000000000000000000..."} 
[2026-09-07 15:34:21] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:34:21] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775333000,"timestamp_ms":1788775333000,"timestamp_seconds":1788775333,"priority":1,"record_length":96,"hex_timestamp":"000001a07b517c88"} 
[2026-09-07 15: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-07 15:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:34:21] local.INFO: GPS data processed {"connection_id":173748,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:34:21] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:26] local.INFO: TCP Data received {"connection_id":173508,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:26] local.INFO: Processing buffer {"connection_id":173508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:26] local.INFO: Packet analysis {"connection_id":173508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:26] local.INFO: Extracted packet for processing {"connection_id":173508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:34: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-07 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":173508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:26] local.INFO: GPS data processed {"connection_id":173508,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:26] local.INFO: Acknowledgment sent {"connection_id":173508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:28] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:28] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:28] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:34:33] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:33] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:34:33] local.INFO: IMEI packet received {"connection_id":176241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":176241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:34:33] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b522098012d7a1a4005ec8338000900591d..."} 
[2026-09-07 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b522098012d7a1a4005ec8338000900591d..."} 
[2026-09-07 15:34:33] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b522098012d7a1a4005ec8338000900591d..."} 
[2026-09-07 15:34:33] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:33] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":762976832,"raw_latitude":99386168,"longitude_deg":76.2976832,"latitude_deg":9.9386168,"altitude":9,"angle":89,"satellites":29,"speed":4,"hex_longitude":"2d7a1a40","hex_latitude":"05ec8338","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926494720001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371274018291712,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797852266255253504,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775375000,"timestamp_ms":1788775375000,"timestamp_seconds":1788775375,"priority":1,"record_length":96,"hex_timestamp":"000001a07b522098"} 
[2026-09-07 15: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-07 15:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:33] 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-07 15: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-07 15: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-07 15:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926494720001,"66":13689,"100":206,"87":13824,"24":4,"16":129371274018291712,"45":8797852266255253504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926494720001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371274018291712,"km_value":129371274018291.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797852266255253504,"description":"Unknown IO ID 45"} 
[2026-09-07 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926494720001,"power":13689,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8797852266255253504}} 
[2026-09-07 15:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:34] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:34] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:38] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b522480012d7a1ac005ec83280009006b1d..."} 
[2026-09-07 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b522480012d7a1ac005ec83280009006b1d..."} 
[2026-09-07 15:34:38] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b522480012d7a1ac005ec83280009006b1d..."} 
[2026-09-07 15:34:38] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:38] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":762976960,"raw_latitude":99386152,"longitude_deg":76.297696,"latitude_deg":9.9386152,"altitude":9,"angle":107,"satellites":29,"speed":5,"hex_longitude":"2d7a1ac0","hex_latitude":"05ec8328","is_valid_coordinates":true} 
[2026-09-07 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926496000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371278313259008,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798415216208721920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788775376000,"timestamp_ms":1788775376000,"timestamp_seconds":1788775376,"priority":1,"record_length":96,"hex_timestamp":"000001a07b522480"} 
[2026-09-07 15:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:38] 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-07 15:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926496000001,"66":13461,"100":206,"87":13824,"24":5,"16":129371278313259008,"45":8798415216208721920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926496000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:38] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:34:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371278313259008,"km_value":129371278313259.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798415216208721920,"description":"Unknown IO ID 45"} 
[2026-09-07 15:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926496000001,"power":13461,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8798415216208721920}} 
[2026-09-07 15:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:38] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:38] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:40] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:40] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:40] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:34:44] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:44] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:44] local.INFO: IMEI packet received {"connection_id":174849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":174849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:34:45] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:45] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:34:45] local.INFO: IMEI packet received {"connection_id":174848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":174848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:34:46] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:46] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:34:46] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:34:46] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:46] 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-07 15: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-07 15: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-07 15:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:46] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:46] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:49] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:49] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:34:49] local.INFO: IMEI packet received {"connection_id":174849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:34:50] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:50] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:34:50] local.INFO: Packet analysis {"connection_id":174849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:50] local.INFO: Extracted packet for processing {"connection_id":174849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:34:50] 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-07 15:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:34:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":174849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:34:50] local.INFO: GPS data processed {"connection_id":174849,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:34:50] local.INFO: Acknowledgment sent {"connection_id":174849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:34:54] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b51ce900100000000000000000000000000..."} 
[2026-09-07 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b51ce900100000000000000000000000000..."} 
[2026-09-07 15:34:54] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b51ce900100000000000000000000000000..."} 
[2026-09-07 15:34:54] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:34:54] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b51"} 
[2026-09-07 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493846894804992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:34:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788775354000,"timestamp_ms":1788775354000,"timestamp_seconds":1788775354,"priority":1,"record_length":96,"hex_timestamp":"000001a07b51ce90"} 
[2026-09-07 15: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-07 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 15:34:54] 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-07 15: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-07 15: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-07 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 15:34:54] local.INFO: GPS data processed {"connection_id":173748,"processed":0,"errors":0,"total":1} 
[2026-09-07 15:34:54] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:09] local.INFO: TCP Data received {"connection_id":176241,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b522c50012d7a1bc005ec82d80009008a1d..."} 
[2026-09-07 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b522c50012d7a1bc005ec82d80009008a1d..."} 
[2026-09-07 15:35:09] local.INFO: Processing buffer {"connection_id":176241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b522c50012d7a1bc005ec82d80009008a1d..."} 
[2026-09-07 15:35:09] local.INFO: Packet analysis {"connection_id":176241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:09] local.INFO: Extracted packet for processing {"connection_id":176241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386072,"longitude_deg":76.2977216,"latitude_deg":9.9386072,"altitude":9,"angle":138,"satellites":29,"speed":3,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec82d8","is_valid_coordinates":true} 
[2026-09-07 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926496256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371291198160896,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798555953697073152,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788775378000,"timestamp_ms":1788775378000,"timestamp_seconds":1788775378,"priority":1,"record_length":96,"hex_timestamp":"000001a07b522c50"} 
[2026-09-07 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:09] 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-07 15:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":176241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":176241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926496256001,"66":13319,"100":206,"87":13824,"24":3,"16":129371291198160896,"45":8798555953697073152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926496256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371291198160896,"km_value":129371291198160.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798555953697073152,"description":"Unknown IO ID 45"} 
[2026-09-07 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926496256001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8798555953697073152}} 
[2026-09-07 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":176241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:09] local.INFO: GPS data processed {"connection_id":176241,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:09] local.INFO: Acknowledgment sent {"connection_id":176241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:17] local.INFO: TCP Data received {"connection_id":174848,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:17] local.INFO: Processing buffer {"connection_id":174848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:17] local.INFO: Packet analysis {"connection_id":174848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:35:17] local.INFO: Extracted packet for processing {"connection_id":174848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:17] 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-07 15: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-07 15: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-07 15:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":174848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:17] local.INFO: GPS data processed {"connection_id":174848,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:17] local.INFO: Acknowledgment sent {"connection_id":174848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:21] local.INFO: TCP Data received {"connection_id":174849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:21] local.INFO: Processing buffer {"connection_id":174849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:21] local.INFO: Packet analysis {"connection_id":174849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:21] local.INFO: Extracted packet for processing {"connection_id":174849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:21] local.INFO: GPS data processed {"connection_id":174849,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:21] local.INFO: Acknowledgment sent {"connection_id":174849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:28] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:35:28] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:28] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:35:29] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5437c0012d0b7980070339a8009d00640b..."} 
[2026-09-07 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5437c0012d0b7980070339a8009d00640b..."} 
[2026-09-07 15:35:29] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5437c0012d0b7980070339a8009d00640b..."} 
[2026-09-07 15:35:29] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:35:29] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:35:29] local.INFO: GPS Element Parsed {"raw_longitude":755726720,"raw_latitude":117651880,"longitude_deg":75.572672,"latitude_deg":11.765188,"altitude":157,"angle":100,"satellites":11,"speed":6,"hex_longitude":"2d0b7980","hex_latitude":"070339a8","is_valid_coordinates":true} 
[2026-09-07 15:35: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-07 15:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926528768001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30493962858921984,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826480930485575680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788775512000,"timestamp_ms":1788775512000,"timestamp_seconds":1788775512,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5437c0"} 
[2026-09-07 15:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:35:29] 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-07 15:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:35: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-07 15:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926528768001,"66":14580,"17":206,"94":11008,"24":6,"16":30493962858921984,"45":826480930485575680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 15:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926528768001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30493962858921984,"km_value":30493962858921.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":826480930485575680,"description":"Unknown IO ID 45"} 
[2026-09-07 15:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926528768001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":826480930485575680}} 
[2026-09-07 15:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779276,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:29] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:29] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:32] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:32] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:35:32] local.INFO: IMEI packet received {"connection_id":173750,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":173750,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:35:33] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b542820012d7a1f4005ec7c20000a01651d..."} 
[2026-09-07 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b542820012d7a1f4005ec7c20000a01651d..."} 
[2026-09-07 15:35:33] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b542820012d7a1f4005ec7c20000a01651d..."} 
[2026-09-07 15:35:33] local.INFO: Packet analysis {"connection_id":173750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:35:33] local.INFO: Extracted packet for processing {"connection_id":173750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:35:33] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":99384352,"longitude_deg":76.2978112,"latitude_deg":9.9384352,"altitude":10,"angle":357,"satellites":29,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05ec7c20","is_valid_coordinates":true} 
[2026-09-07 15:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926528000001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371518831427584,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104066068361216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775508000,"timestamp_ms":1788775508000,"timestamp_seconds":1788775508,"priority":1,"record_length":96,"hex_timestamp":"000001a07b542820"} 
[2026-09-07 15:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3774413411434102784,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435105892,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864916822074379863,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2660958208,"corrected_to":0} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967598592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2233791928449630218,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,158,160,249,45,192,120,10,29,66,171,119,27,89,1,240,82,227,123,236,4,113,205,184,31,112,30,239,53,2,203,5,3,122,54],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2660958208,"validated":0}]} 
[2026-09-07 15:35:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720949898886971392,"timestamp_seconds":720949898886971.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926528000001,"66":13820,"100":206,"87":13824,"24":0,"16":129371518831427584,"45":8800104066068361216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926528000001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:35:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371518831427584,"km_value":129371518831427.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104066068361216,"description":"Unknown IO ID 45"} 
[2026-09-07 15:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926528000001,"power":13820,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8800104066068361216}} 
[2026-09-07 15:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":173750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:33] local.INFO: GPS data processed {"connection_id":173750,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:33] local.INFO: Acknowledgment sent {"connection_id":173750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:40] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:40] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:40] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:35:44] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:44] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:44] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:35:45] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:45] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:35:45] local.INFO: IMEI packet received {"connection_id":176242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:35:46] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:46] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b4fe648012d196500071ff0200040011f1f..."} 
[2026-09-07 15:35:46] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:35:46] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b4f"} 
[2026-09-07 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926381568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775229000,"timestamp_ms":1788775229000,"timestamp_seconds":1788775229,"priority":1,"record_length":96,"hex_timestamp":"000001a07b4fe648"} 
[2026-09-07 15: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-07 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:46] 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-07 15: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-07 15: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-07 15:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926381568001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926381568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926381568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:46] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:46] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:35:49] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:49] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:35:49] local.INFO: IMEI packet received {"connection_id":176243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":176243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:35:50] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:50] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:35:50] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:50] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:35:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:35:50] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:35:50] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:00] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b545ae8012d0b87c007033960009c00530b..."} 
[2026-09-07 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b545ae8012d0b87c007033960009c00530b..."} 
[2026-09-07 15:36:00] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b545ae8012d0b87c007033960009c00530b..."} 
[2026-09-07 15:36:00] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:00] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":755730368,"raw_latitude":117651808,"longitude_deg":75.5730368,"latitude_deg":11.7651808,"altitude":156,"angle":83,"satellites":11,"speed":11,"hex_longitude":"2d0b87c0","hex_latitude":"07033960","is_valid_coordinates":true} 
[2026-09-07 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926531072001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494138952581120,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826832774206433280,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788775521000,"timestamp_ms":1788775521000,"timestamp_seconds":1788775521,"priority":1,"record_length":96,"hex_timestamp":"000001a07b545ae8"} 
[2026-09-07 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:36:00] 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-07 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926531072001,"66":14559,"17":206,"94":11008,"24":11,"16":30494138952581120,"45":826832774206433280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926531072001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494138952581120,"km_value":30494138952581.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":826832774206433280,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926531072001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":826832774206433280}} 
[2026-09-07 15:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779280,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:01] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:01] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:05] local.INFO: TCP Data received {"connection_id":173750,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b542ff0012d7a1f0005ec7c68000a01541d..."} 
[2026-09-07 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b542ff0012d7a1f0005ec7c68000a01541d..."} 
[2026-09-07 15:36:05] local.INFO: Processing buffer {"connection_id":173750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b542ff0012d7a1f0005ec7c68000a01541d..."} 
[2026-09-07 15:36:05] local.INFO: Packet analysis {"connection_id":173750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:05] local.INFO: Extracted packet for processing {"connection_id":173750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":99384424,"longitude_deg":76.2978048,"latitude_deg":9.9384424,"altitude":10,"angle":340,"satellites":29,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05ec7c68","is_valid_coordinates":true} 
[2026-09-07 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926530048001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371523126394880,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822591091810304,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775510000,"timestamp_ms":1788775510000,"timestamp_seconds":1788775510,"priority":1,"record_length":96,"hex_timestamp":"000001a07b542ff0"} 
[2026-09-07 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:36: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-07 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:05] 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-07 15:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173750,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926530048001,"66":13646,"100":206,"87":13824,"24":0,"16":129371523126394880,"45":8799822591091810304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926530048001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371523126394880,"km_value":129371523126394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822591091810304,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926530048001,"power":13646,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799822591091810304}} 
[2026-09-07 15:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":173750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:05] local.INFO: GPS data processed {"connection_id":173750,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:05] local.INFO: Acknowledgment sent {"connection_id":173750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:17] local.INFO: TCP Data received {"connection_id":176242,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:17] local.INFO: Processing buffer {"connection_id":176242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:17] local.INFO: Packet analysis {"connection_id":176242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:17] local.INFO: Extracted packet for processing {"connection_id":176242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:36:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":176242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:17] local.INFO: GPS data processed {"connection_id":176242,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:17] local.INFO: Acknowledgment sent {"connection_id":176242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:21] local.INFO: TCP Data received {"connection_id":176243,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:21] local.INFO: Processing buffer {"connection_id":176243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:21] local.INFO: Packet analysis {"connection_id":176243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:36:21] local.INFO: Extracted packet for processing {"connection_id":176243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:36:21] 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-07 15:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":176243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:21] local.INFO: GPS data processed {"connection_id":176243,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:21] local.INFO: Acknowledgment sent {"connection_id":176243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:27] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:27] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:27] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:36:33] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:33] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:36:33] local.INFO: IMEI packet received {"connection_id":174850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":174850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:36:33] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b546e70012d7a1d4005ec80e0000a01641c..."} 
[2026-09-07 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b546e70012d7a1d4005ec80e0000a01641c..."} 
[2026-09-07 15:36:33] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b546e70012d7a1d4005ec80e0000a01641c..."} 
[2026-09-07 15:36:33] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:33] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:33] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":99385568,"longitude_deg":76.29776,"latitude_deg":9.9385568,"altitude":10,"angle":356,"satellites":28,"speed":2,"hex_longitude":"2d7a1d40","hex_latitude":"05ec80e0","is_valid_coordinates":true} 
[2026-09-07 15:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926530560001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371587550904320,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222347651072,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775526000,"timestamp_ms":1788775526000,"timestamp_seconds":1788775526,"priority":1,"record_length":96,"hex_timestamp":"000001a07b546e70"} 
[2026-09-07 15:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926530560001,"66":13678,"100":206,"87":13824,"24":2,"16":129371587550904320,"45":8799752222347651072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926530560001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:36:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371587550904320,"km_value":129371587550904.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222347651072,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926530560001,"power":13678,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8799752222347651072}} 
[2026-09-07 15:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:33] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:33] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:40] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:40] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:40] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:36:41] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:41] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:41] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:36:44] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:44] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:44] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:36:45] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:45] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:36:45] local.INFO: IMEI packet received {"connection_id":173509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:36:46] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:36:46] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:46] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:36:46] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:46] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:36:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:36:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:46] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:46] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:46] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:36:46] local.INFO: IMEI packet received {"connection_id":174851,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174851,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:36:47] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b557040012d0bab8007034880009c00470d..."} 
[2026-09-07 15:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b557040012d0bab8007034880009c00470d..."} 
[2026-09-07 15:36:47] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b557040012d0bab8007034880009c00470d..."} 
[2026-09-07 15:36:47] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:36:47] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":755739520,"raw_latitude":117655680,"longitude_deg":75.573952,"latitude_deg":11.765568,"altitude":156,"angle":71,"satellites":13,"speed":12,"hex_longitude":"2d0bab80","hex_latitude":"07034880","is_valid_coordinates":true} 
[2026-09-07 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-07 15:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926550272001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494714478198784,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838443616996614144,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788775592000,"timestamp_ms":1788775592000,"timestamp_seconds":1788775592,"priority":1,"record_length":96,"hex_timestamp":"000001a07b557040"} 
[2026-09-07 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-07 15:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926550272001,"66":14548,"37":206,"94":11008,"24":12,"16":30494714478198784,"45":838443616996614144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926550272001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:36:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494714478198784,"km_value":30494714478198.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":838443616996614144,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926550272001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":838443616996614144}} 
[2026-09-07 15:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779286,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:47] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:47] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:49] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:49] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:36:49] local.INFO: IMEI packet received {"connection_id":176244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":176244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:36:50] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5583c8012d0bb1c007034960009a00360d..."} 
[2026-09-07 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5583c8012d0bb1c007034960009a00360d..."} 
[2026-09-07 15:36:50] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5583c8012d0bb1c007034960009a00360d..."} 
[2026-09-07 15:36:50] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:36:50] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":755741120,"raw_latitude":117655904,"longitude_deg":75.574112,"latitude_deg":11.7655904,"altitude":154,"angle":54,"satellites":13,"speed":5,"hex_longitude":"2d0bb1c0","hex_latitude":"07034960","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926551552001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494791787610112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840906523042938880,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775597000,"timestamp_ms":1788775597000,"timestamp_seconds":1788775597,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5583c8"} 
[2026-09-07 15: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-07 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926551552001,"66":14450,"37":206,"94":11008,"24":5,"16":30494791787610112,"45":840906523042938880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926551552001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494791787610112,"km_value":30494791787610.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":840906523042938880,"description":"Unknown IO ID 45"} 
[2026-09-07 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926551552001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":840906523042938880}} 
[2026-09-07 15:36:50] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:50] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:36:50] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:36:50] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:36:50] 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-07 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:50] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:50] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779288,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:36:50] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:36:50] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:36:52] local.INFO: TCP Data received {"connection_id":173752,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:36:52] local.INFO: Processing buffer {"connection_id":173752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:36:52] local.INFO: IMEI packet received {"connection_id":173752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":173752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:37:04] local.INFO: TCP Data received {"connection_id":174850,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d7a1d4005ec8168000a00071c..."} 
[2026-09-07 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d7a1d4005ec8168000a00071c..."} 
[2026-09-07 15:37:04] local.INFO: Processing buffer {"connection_id":174850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d7a1d4005ec8168000a00071c..."} 
[2026-09-07 15:37:04] local.INFO: Packet analysis {"connection_id":174850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:04] local.INFO: Extracted packet for processing {"connection_id":174850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":99385704,"longitude_deg":76.29776,"latitude_deg":9.9385704,"altitude":10,"angle":7,"satellites":28,"speed":0,"hex_longitude":"2d7a1d40","hex_latitude":"05ec8168","is_valid_coordinates":true} 
[2026-09-07 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926534656001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371596140838912,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641138700288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:37: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-07 15:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926534656001,"66":13689,"100":206,"87":13824,"24":0,"16":129371596140838912,"45":8799259641138700288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926534656001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:37:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371596140838912,"km_value":129371596140838.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641138700288,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926534656001,"power":13689,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799259641138700288}} 
[2026-09-07 15:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":174850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:04] local.INFO: GPS data processed {"connection_id":174850,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:04] local.INFO: Acknowledgment sent {"connection_id":174850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:17] local.INFO: TCP Data received {"connection_id":173509,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:17] local.INFO: Processing buffer {"connection_id":173509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:17] local.INFO: Packet analysis {"connection_id":173509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:17] local.INFO: Extracted packet for processing {"connection_id":173509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:37:17] 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-07 15:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":173509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:17] local.INFO: GPS data processed {"connection_id":173509,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:17] local.INFO: Acknowledgment sent {"connection_id":173509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:21] local.INFO: TCP Data received {"connection_id":176244,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:21] local.INFO: Processing buffer {"connection_id":176244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:21] local.INFO: Packet analysis {"connection_id":176244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:37:21] local.INFO: Extracted packet for processing {"connection_id":176244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:37:21] 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-07 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":176244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:21] local.INFO: GPS data processed {"connection_id":176244,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:21] local.INFO: Acknowledgment sent {"connection_id":176244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:21] local.INFO: TCP Data received {"connection_id":174851,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5587b0012d0bb2c007034988009900280c..."} 
[2026-09-07 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5587b0012d0bb2c007034988009900280c..."} 
[2026-09-07 15:37:21] local.INFO: Processing buffer {"connection_id":174851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5587b0012d0bb2c007034988009900280c..."} 
[2026-09-07 15:37:21] local.INFO: Packet analysis {"connection_id":174851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:21] local.INFO: Extracted packet for processing {"connection_id":174851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":755741376,"raw_latitude":117655944,"longitude_deg":75.5741376,"latitude_deg":11.7655944,"altitude":153,"angle":40,"satellites":12,"speed":5,"hex_longitude":"2d0bb2c0","hex_latitude":"07034988","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926552832001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494804672512000,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842665741647437824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775598000,"timestamp_ms":1788775598000,"timestamp_seconds":1788775598,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5587b0"} 
[2026-09-07 15: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-07 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174851,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926552832001,"66":14450,"37":206,"94":11008,"24":5,"16":30494804672512000,"45":842665741647437824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926552832001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494804672512000,"km_value":30494804672512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":842665741647437824,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926552832001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":842665741647437824}} 
[2026-09-07 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":174851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:21] local.INFO: GPS data processed {"connection_id":174851,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:21] local.INFO: Acknowledgment sent {"connection_id":174851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:27] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:27] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:27] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:37:33] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:33] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:37:33] local.INFO: IMEI packet received {"connection_id":176245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":176245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:37:34] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b549d50012d7a1d4005ec8240000a01571d..."} 
[2026-09-07 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b549d50012d7a1d4005ec8240000a01571d..."} 
[2026-09-07 15:37:34] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b549d50012d7a1d4005ec8240000a01571d..."} 
[2026-09-07 15:37:34] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:34] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":99385920,"longitude_deg":76.29776,"latitude_deg":9.938592,"altitude":10,"angle":343,"satellites":29,"speed":2,"hex_longitude":"2d7a1d40","hex_latitude":"05ec8240","is_valid_coordinates":true} 
[2026-09-07 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371604730773504,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641138735104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775538000,"timestamp_ms":1788775538000,"timestamp_seconds":1788775538,"priority":1,"record_length":96,"hex_timestamp":"000001a07b549d50"} 
[2026-09-07 15:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:34] 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-07 15:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":13798,"100":206,"87":13824,"24":2,"16":129371604730773504,"45":8799259641138735104},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:37:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371604730773504,"km_value":129371604730773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641138735104,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8799259641138735104}} 
[2026-09-07 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:34] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:34] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:41] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:41] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:41] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:37:43] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:43] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:37:43] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:37:44] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b558f80012d0bb38007034978009900530d..."} 
[2026-09-07 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b558f80012d0bb38007034978009900530d..."} 
[2026-09-07 15:37:44] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b558f80012d0bb38007034978009900530d..."} 
[2026-09-07 15:37:44] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:44] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117655928,"longitude_deg":75.5741568,"latitude_deg":11.7655928,"altitude":153,"angle":83,"satellites":13,"speed":5,"hex_longitude":"2d0bb380","hex_latitude":"07034978","is_valid_coordinates":true} 
[2026-09-07 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926553088001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494817557413888,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842947216624158720,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788775600000,"timestamp_ms":1788775600000,"timestamp_seconds":1788775600,"priority":1,"record_length":96,"hex_timestamp":"000001a07b558f80"} 
[2026-09-07 15:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:37: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-07 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926553088001,"66":14407,"37":206,"94":11008,"24":5,"16":30494817557413888,"45":842947216624158720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926553088001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:37:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494817557413888,"km_value":30494817557413.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":842947216624158720,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926553088001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":842947216624158720}} 
[2026-09-07 15:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:44] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:44] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:45] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b55a308012d0bb98007034a58009700440d..."} 
[2026-09-07 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b55a308012d0bb98007034a58009700440d..."} 
[2026-09-07 15:37:45] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b55a308012d0bb98007034a58009700440d..."} 
[2026-09-07 15:37:45] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:45] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":755743104,"raw_latitude":117656152,"longitude_deg":75.5743104,"latitude_deg":11.7656152,"altitude":151,"angle":68,"satellites":13,"speed":16,"hex_longitude":"2d0bb980","hex_latitude":"07034a58","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926553600001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30494890571857920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322856687616,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788775605000,"timestamp_ms":1788775605000,"timestamp_seconds":1788775605,"priority":1,"record_length":96,"hex_timestamp":"000001a07b55a308"} 
[2026-09-07 15: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-07 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926553600001,"66":14450,"37":206,"94":11008,"24":16,"16":30494890571857920,"45":843158322856687616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926553600001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:37:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30494890571857920,"km_value":30494890571857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322856687616,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926553600001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":843158322856687616}} 
[2026-09-07 15:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779295,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:45] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:45] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:45] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:45] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:45] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:37:49] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:49] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:49] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:37:50] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:50] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:37:50] local.INFO: IMEI packet received {"connection_id":176246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":176246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:37:50] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:50] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:50] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:50] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37: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-07 15:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:37:50] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:51] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:51] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:54] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:54] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:37:54] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:37:55] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:55] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:37:55] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:37:55] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15: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-07 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:37:55] local.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-07 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:55] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:55] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:37:55] local.INFO: TCP Data received {"connection_id":176246,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:55] local.INFO: Processing buffer {"connection_id":176246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:37:55] local.INFO: Packet analysis {"connection_id":176246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:55] local.INFO: Extracted packet for processing {"connection_id":176246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:37: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-07 15: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-07 15: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-07 15: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-07 15: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-07 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":176246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:37:56] local.INFO: GPS data processed {"connection_id":176246,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:37:56] local.INFO: Acknowledgment sent {"connection_id":176246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:00] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:00] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b524b90012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:00] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:38:00] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b52"} 
[2026-09-07 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926421760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788775386000,"timestamp_ms":1788775386000,"timestamp_seconds":1788775386,"priority":1,"record_length":96,"hex_timestamp":"000001a07b524b90"} 
[2026-09-07 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:38:00] local.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-07 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926421760001,"66":26006,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926421760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926421760001,"power":26006,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:00] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:00] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:05] local.INFO: TCP Data received {"connection_id":176245,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b54eb70012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b54eb70012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:38:05] local.INFO: Processing buffer {"connection_id":176245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b54eb70012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:38:05] local.INFO: Packet analysis {"connection_id":176245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:38:05] local.INFO: Extracted packet for processing {"connection_id":176245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":31,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926537728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641138790400,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775558000,"timestamp_ms":1788775558000,"timestamp_seconds":1788775558,"priority":1,"record_length":96,"hex_timestamp":"000001a07b54eb70"} 
[2026-09-07 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:38: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-07 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:05] 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-07 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926537728001,"66":13580,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799259641138790400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926537728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641138790400,"description":"Unknown IO ID 45"} 
[2026-09-07 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926537728001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799259641138790400}} 
[2026-09-07 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":176245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:06] local.INFO: GPS data processed {"connection_id":176245,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:06] local.INFO: Acknowledgment sent {"connection_id":176245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:17] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56ef10012d0c1cc007033c30007300370d..."} 
[2026-09-07 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56ef10012d0c1cc007033c30007300370d..."} 
[2026-09-07 15:38:17] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56ef10012d0c1cc007033c30007300370d..."} 
[2026-09-07 15:38:17] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:17] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":755768512,"raw_latitude":117652528,"longitude_deg":75.5768512,"latitude_deg":11.7652528,"altitude":115,"angle":55,"satellites":13,"speed":11,"hex_longitude":"2d0c1cc0","hex_latitude":"07033c30","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926576384001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30496380925509632,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872431720433682432,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775690000,"timestamp_ms":1788775690000,"timestamp_seconds":1788775690,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56ef10"} 
[2026-09-07 15: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-07 15:38:17] 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-07 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926576384001,"66":14537,"37":206,"94":11008,"24":11,"16":30496380925509632,"45":872431720433682432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926576384001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:38:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30496380925509632,"km_value":30496380925509.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":872431720433682432,"description":"Unknown IO ID 45"} 
[2026-09-07 15:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926576384001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":872431720433682432}} 
[2026-09-07 15:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:17] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:17] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:26] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:26] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:26] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:38:27] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:27] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:27] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:33] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:33] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:38:33] local.INFO: IMEI packet received {"connection_id":173510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":173510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:37] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:37] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:37] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:38:39] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b553d78012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b553d78012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:38:39] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b553d78012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:38:39] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:38:39] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":32,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926542848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788775579000,"timestamp_ms":1788775579000,"timestamp_seconds":1788775579,"priority":1,"record_length":96,"hex_timestamp":"000001a07b553d78"} 
[2026-09-07 15:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6997749404593553418,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132235364,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341293968956902999,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2662727680,"corrected_to":0} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967397888,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2359892717932118026,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,158,160,45,64,130,10,29,66,126,129,28,110,1,240,227,123,236,4,113,205,40,31,32,239,53,2,203,5,3,122,54],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2662727680,"validated":0}]} 
[2026-09-07 15:38:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720948807965081600,"timestamp_seconds":720948807965081.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926542848001,"66":13406,"98":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-09-07 15:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926542848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:39] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 15:38:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926542848001,"power":13406,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:40] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:40] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:40] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:40] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:40] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:38:41] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:41] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:41] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:44] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:38:44] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:44] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:45] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:45] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:45] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:45] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:45] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:38:45] local.INFO: IMEI packet received {"connection_id":174852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:46] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:46] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:38:46] local.INFO: IMEI packet received {"connection_id":174853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:46] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:38:46] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:38:46] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:38:46] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:38:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:46] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:46] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:46] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56f2f8012d0c1d4007033d38007200240d..."} 
[2026-09-07 15:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56f2f8012d0c1d4007033d38007200240d..."} 
[2026-09-07 15:38:46] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56f2f8012d0c1d4007033d38007200240d..."} 
[2026-09-07 15:38:46] local.INFO: Packet analysis {"connection_id":174853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:46] local.INFO: Extracted packet for processing {"connection_id":174853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:46] local.INFO: GPS Element Parsed {"raw_longitude":755768640,"raw_latitude":117652792,"longitude_deg":75.576864,"latitude_deg":11.7652792,"altitude":114,"angle":36,"satellites":13,"speed":12,"hex_longitude":"2d0c1d40","hex_latitude":"07033d38","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926576640001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30496398105378816,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872783564154613760,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775691000,"timestamp_ms":1788775691000,"timestamp_seconds":1788775691,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56f2f8"} 
[2026-09-07 15: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-07 15:38:46] 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-07 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926576640001,"66":14461,"37":206,"94":11008,"24":12,"16":30496398105378816,"45":872783564154613760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926576640001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30496398105378816,"km_value":30496398105378.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":872783564154613760,"description":"Unknown IO ID 45"} 
[2026-09-07 15:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926576640001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":872783564154613760}} 
[2026-09-07 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":174853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:47] local.INFO: GPS data processed {"connection_id":174853,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:47] local.INFO: Acknowledgment sent {"connection_id":174853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:38:50] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:50] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:38:50] local.INFO: IMEI packet received {"connection_id":174854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":174854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:38:50] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56db88012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56db88012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:50] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56db88012cc334c0076850d00059015c29..."} 
[2026-09-07 15:38:50] local.INFO: Packet analysis {"connection_id":174854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:50] local.INFO: Extracted packet for processing {"connection_id":174854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":124276944,"longitude_deg":75.0990528,"latitude_deg":12.4276944,"altitude":89,"angle":348,"satellites":41,"speed":0,"hex_longitude":"2cc334c0","hex_latitude":"076850d0","is_valid_coordinates":true} 
[2026-09-07 15:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 15:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926498816001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775685000,"timestamp_ms":1788775685000,"timestamp_seconds":1788775685,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56db88"} 
[2026-09-07 15: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-07 15:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 15:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:38:50] local.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-07 15:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926498816001,"66":25973,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926498816001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:38:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926498816001,"power":25973,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":174854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:38:50] local.INFO: GPS data processed {"connection_id":174854,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:38:50] local.INFO: Acknowledgment sent {"connection_id":174854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:11] local.INFO: TCP Data received {"connection_id":173510,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b558f80012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b558f80012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:39:11] local.INFO: Processing buffer {"connection_id":173510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b558f80012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:39:11] local.INFO: Packet analysis {"connection_id":173510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:39:11] local.INFO: Extracted packet for processing {"connection_id":173510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":32,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926548224001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788775600000,"timestamp_ms":1788775600000,"timestamp_seconds":1788775600,"priority":1,"record_length":96,"hex_timestamp":"000001a07b558f80"} 
[2026-09-07 15:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 15:39: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-07 15:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926548224001,"66":13798,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926548224001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926548224001,"power":13798,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":173510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:11] local.INFO: GPS data processed {"connection_id":173510,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:11] local.INFO: Acknowledgment sent {"connection_id":173510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:17] local.INFO: TCP Data received {"connection_id":174852,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:17] local.INFO: Processing buffer {"connection_id":174852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:17] local.INFO: Packet analysis {"connection_id":174852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:39:17] local.INFO: Extracted packet for processing {"connection_id":174852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:39:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:17] local.INFO: GPS data processed {"connection_id":174852,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:17] local.INFO: Acknowledgment sent {"connection_id":174852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:17] local.INFO: TCP Data received {"connection_id":174853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56fac8012d0c1ec007034010007200170d..."} 
[2026-09-07 15:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56fac8012d0c1ec007034010007200170d..."} 
[2026-09-07 15:39:17] local.INFO: Processing buffer {"connection_id":174853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56fac8012d0c1ec007034010007200170d..."} 
[2026-09-07 15:39:17] local.INFO: Packet analysis {"connection_id":174853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:39:17] local.INFO: Extracted packet for processing {"connection_id":174853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755769024,"raw_latitude":117653520,"longitude_deg":75.5769024,"latitude_deg":11.765352,"altitude":114,"angle":23,"satellites":13,"speed":13,"hex_longitude":"2d0c1ec0","hex_latitude":"07034010","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926576896001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30496436760084480,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301643036672,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775693000,"timestamp_ms":1788775693000,"timestamp_seconds":1788775693,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56fac8"} 
[2026-09-07 15: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-07 15:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:17] 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-07 15: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-07 15: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-07 15:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926576896001,"66":14135,"37":206,"94":11008,"24":13,"16":30496436760084480,"45":872924301643036672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926576896001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30496436760084480,"km_value":30496436760084.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301643036672,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926576896001,"power":14135,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":872924301643036672}} 
[2026-09-07 15:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:17] local.INFO: GPS data processed {"connection_id":174853,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:17] local.INFO: Acknowledgment sent {"connection_id":174853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:21] local.INFO: TCP Data received {"connection_id":174854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56e358012cc3320007685920005900c229..."} 
[2026-09-07 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56e358012cc3320007685920005900c229..."} 
[2026-09-07 15:39:21] local.INFO: Processing buffer {"connection_id":174854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56e358012cc3320007685920005900c229..."} 
[2026-09-07 15:39:21] local.INFO: Packet analysis {"connection_id":174854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:39:21] local.INFO: Extracted packet for processing {"connection_id":174854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279072,"longitude_deg":75.0989824,"latitude_deg":12.4279072,"altitude":89,"angle":194,"satellites":41,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685920","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926575360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399477219328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775687000,"timestamp_ms":1788775687000,"timestamp_seconds":1788775687,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56e358"} 
[2026-09-07 15: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-07 15:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39: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-07 15:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926575360001,"66":25125,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4380665399477219328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926575360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399477219328,"description":"Unknown IO ID 44"} 
[2026-09-07 15:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926575360001,"power":25125,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380665399477219328}} 
[2026-09-07 15:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":174854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:21] local.INFO: GPS data processed {"connection_id":174854,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:21] local.INFO: Acknowledgment sent {"connection_id":174854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:27] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:27] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:27] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:39:33] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:33] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:39:33] local.INFO: IMEI packet received {"connection_id":173756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":173756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:34] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b55e188012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b55e188012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:39:34] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b55e188012d7a1cc005ec8450000a01531f..."} 
[2026-09-07 15:39:34] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:39:34] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b55"} 
[2026-09-07 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":31,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926553600001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775621000,"timestamp_ms":1788775621000,"timestamp_seconds":1788775621,"priority":1,"record_length":96,"hex_timestamp":"000001a07b55e188"} 
[2026-09-07 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:34] 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-07 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926553600001,"66":13906,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926553600001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926553600001,"power":13906,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:34] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:34] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:40] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:39:40] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:40] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:40] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:39:40] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:40] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:43] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:43] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:39:43] local.INFO: IMEI packet received {"connection_id":174855,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":174855,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:43] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b570680012d0c2140070344400071000b0d..."} 
[2026-09-07 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b570680012d0c2140070344400071000b0d..."} 
[2026-09-07 15:39:43] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b570680012d0c2140070344400071000b0d..."} 
[2026-09-07 15:39:43] local.INFO: Packet analysis {"connection_id":174855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:43] local.INFO: Extracted packet for processing {"connection_id":174855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755769664,"raw_latitude":117654592,"longitude_deg":75.5769664,"latitude_deg":11.7654592,"altitude":113,"angle":11,"satellites":13,"speed":16,"hex_longitude":"2d0c2140","hex_latitude":"07034440","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926577408001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30496496889626624,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873346514108289024,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788775696000,"timestamp_ms":1788775696000,"timestamp_seconds":1788775696,"priority":1,"record_length":96,"hex_timestamp":"000001a07b570680"} 
[2026-09-07 15: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-07 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:43] 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-07 15: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-07 15: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-07 15:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926577408001,"66":14494,"37":206,"94":11008,"24":16,"16":30496496889626624,"45":873346514108289024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926577408001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:39:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30496496889626624,"km_value":30496496889626.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":873346514108289024,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926577408001,"power":14494,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":873346514108289024}} 
[2026-09-07 15:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":174855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779311,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:44] local.INFO: GPS data processed {"connection_id":174855,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:44] local.INFO: Acknowledgment sent {"connection_id":174855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:44] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:44] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:44] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:39:45] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:45] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:39:45] local.INFO: IMEI packet received {"connection_id":173511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:46] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:46] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:39:46] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:39:46] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:39:46] 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-07 15:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:46] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:46] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:47] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:47] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:47] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:48] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:48] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:39:48] local.INFO: IMEI packet received {"connection_id":173512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:39:49] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b573560012cc3320007685920005900c22b..."} 
[2026-09-07 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b573560012cc3320007685920005900c22b..."} 
[2026-09-07 15:39:49] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b573560012cc3320007685920005900c22b..."} 
[2026-09-07 15:39:49] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:49] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279072,"longitude_deg":75.0989824,"latitude_deg":12.4279072,"altitude":89,"angle":194,"satellites":43,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685920","is_valid_coordinates":true} 
[2026-09-07 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926575872001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381439455662628864,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788775708000,"timestamp_ms":1788775708000,"timestamp_seconds":1788775708,"priority":1,"record_length":96,"hex_timestamp":"000001a07b573560"} 
[2026-09-07 15:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 15:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39:49] local.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-07 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926575872001,"66":27745,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4381439455662628864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926575872001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381439455662628864,"description":"Unknown IO ID 44"} 
[2026-09-07 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926575872001,"power":27745,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381439455662628864}} 
[2026-09-07 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:49] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:49] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:39:49] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b578768012cc3320007685920005900c22a..."} 
[2026-09-07 15:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b578768012cc3320007685920005900c22a..."} 
[2026-09-07 15:39:49] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b578768012cc3320007685920005900c22a..."} 
[2026-09-07 15:39:49] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:49] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:39:49] local.INFO: GPS Element Parsed {"raw_longitude":750989824,"raw_latitude":124279072,"longitude_deg":75.0989824,"latitude_deg":12.4279072,"altitude":89,"angle":194,"satellites":42,"speed":0,"hex_longitude":"2cc33200","hex_latitude":"07685920","is_valid_coordinates":true} 
[2026-09-07 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926581248001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583745733230592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381439455662628864,"note":"Value kept but may cause issues"} 
[2026-09-07 15:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788775729000,"timestamp_ms":1788775729000,"timestamp_seconds":1788775729,"priority":1,"record_length":96,"hex_timestamp":"000001a07b578768"} 
[2026-09-07 15:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:39: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:39: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-07 15:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:39:49] local.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-07 15:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926581248001,"66":27169,"89":206,"85":37120,"24":0,"16":401583745733230592,"44":-4381439455662628864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926581248001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583745733230592,"km_value":401583745733230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:39:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381439455662628864,"description":"Unknown IO ID 44"} 
[2026-09-07 15:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926581248001,"power":27169,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381439455662628864}} 
[2026-09-07 15:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:39:49] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:39:49] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:05] local.INFO: TCP Data received {"connection_id":173756,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b563390012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b563390012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:40:05] local.INFO: Processing buffer {"connection_id":173756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b563390012d7a1cc005ec8450000a015320..."} 
[2026-09-07 15:40:05] local.INFO: Packet analysis {"connection_id":173756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:05] local.INFO: Extracted packet for processing {"connection_id":173756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:05] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":32,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926558976001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775642000,"timestamp_ms":1788775642000,"timestamp_seconds":1788775642,"priority":1,"record_length":96,"hex_timestamp":"000001a07b563390"} 
[2026-09-07 15:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926558976001,"66":13624,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926558976001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:40:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926558976001,"power":13624,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":173756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:05] local.INFO: GPS data processed {"connection_id":173756,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:05] local.INFO: Acknowledgment sent {"connection_id":173756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:15] local.INFO: TCP Data received {"connection_id":174855,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b586de0012d0c3ac007035ed0006500320e..."} 
[2026-09-07 15:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b586de0012d0c3ac007035ed0006500320e..."} 
[2026-09-07 15:40:15] local.INFO: Processing buffer {"connection_id":174855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b586de0012d0c3ac007035ed0006500320e..."} 
[2026-09-07 15:40:15] local.INFO: Packet analysis {"connection_id":174855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:15] local.INFO: Extracted packet for processing {"connection_id":174855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":755776192,"raw_latitude":117661392,"longitude_deg":75.5776192,"latitude_deg":11.7661392,"altitude":101,"angle":50,"satellites":14,"speed":12,"hex_longitude":"2d0c3ac0","hex_latitude":"07035ed0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926601472001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30497123954851840,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481430528,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788775788000,"timestamp_ms":1788775788000,"timestamp_seconds":1788775788,"priority":1,"record_length":96,"hex_timestamp":"000001a07b586de0"} 
[2026-09-07 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-07 15:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174855,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926601472001,"66":14515,"37":206,"94":11008,"24":12,"16":30497123954851840,"45":880946338481430528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926601472001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:40:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30497123954851840,"km_value":30497123954851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481430528,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926601472001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":880946338481430528}} 
[2026-09-07 15:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":174855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:15] local.INFO: GPS data processed {"connection_id":174855,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:15] local.INFO: Acknowledgment sent {"connection_id":174855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:17] local.INFO: TCP Data received {"connection_id":173511,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:17] local.INFO: Processing buffer {"connection_id":173511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:17] local.INFO: Packet analysis {"connection_id":173511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:40:17] local.INFO: Extracted packet for processing {"connection_id":173511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:40:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":173511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:17] local.INFO: GPS data processed {"connection_id":173511,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:17] local.INFO: Acknowledgment sent {"connection_id":173511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:21] local.INFO: TCP Data received {"connection_id":173512,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b580c38012cc3390007685740005800b32d..."} 
[2026-09-07 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b580c38012cc3390007685740005800b32d..."} 
[2026-09-07 15:40:21] local.INFO: Processing buffer {"connection_id":173512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b580c38012cc3390007685740005800b32d..."} 
[2026-09-07 15:40:21] local.INFO: Packet analysis {"connection_id":173512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:21] local.INFO: Extracted packet for processing {"connection_id":173512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750991616,"raw_latitude":124278592,"longitude_deg":75.0991616,"latitude_deg":12.4278592,"altitude":88,"angle":179,"satellites":45,"speed":12,"hex_longitude":"2cc33900","hex_latitude":"07685740","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926594816001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583913236955136,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379469130825650176,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788775763000,"timestamp_ms":1788775763000,"timestamp_seconds":1788775763,"priority":1,"record_length":96,"hex_timestamp":"000001a07b580c38"} 
[2026-09-07 15: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-07 15:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40: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-07 15:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926594816001,"66":27800,"89":206,"85":37120,"24":12,"16":401583913236955136,"44":-4379469130825650176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926594816001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583913236955136,"km_value":401583913236955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379469130825650176,"description":"Unknown IO ID 44"} 
[2026-09-07 15:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926594816001,"power":27800,"unknown_89":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4379469130825650176}} 
[2026-09-07 15:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":173512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:21] local.INFO: GPS data processed {"connection_id":173512,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:21] local.INFO: Acknowledgment sent {"connection_id":173512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:33] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:33] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:33] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:40:38] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:38] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:40:38] local.INFO: IMEI packet received {"connection_id":173757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":173757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:39] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b568598012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b568598012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:39] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b568598012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:39] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:39] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:39] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926564352001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788775663000,"timestamp_ms":1788775663000,"timestamp_seconds":1788775663,"priority":1,"record_length":96,"hex_timestamp":"000001a07b568598"} 
[2026-09-07 15:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:39] 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-07 15: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-07 15:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926564352001,"66":13830,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926564352001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:40:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926564352001,"power":13830,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:39] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:39] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:41] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:41] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:41] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:40:41] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:41] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:41] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:40:43] local.INFO: TCP Data received {"connection_id":173757,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b56d7a0012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b56d7a0012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:43] local.INFO: Processing buffer {"connection_id":173757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b56d7a0012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:40:43] local.INFO: Packet analysis {"connection_id":173757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:43] local.INFO: Extracted packet for processing {"connection_id":173757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b56"} 
[2026-09-07 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926569728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788775684000,"timestamp_ms":1788775684000,"timestamp_seconds":1788775684,"priority":1,"record_length":96,"hex_timestamp":"000001a07b56d7a0"} 
[2026-09-07 15: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-07 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627202717184,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2219835402,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147273422,"corrected_to":0} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2664497152,"corrected_to":0} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967959040,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":126,"raw_value":1153252982083552748,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.WARNING: Large IO value detected {"io_id":129,"raw_value":7494000775180058624,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,158,160,51,45,192,132,10,32,66,225,31,143,1,240,230,227,123,236,4,113,205,235,28,80,239,53,2,203,5,126,129],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147273422,"validated":0},{"io_id":203,"original":2664497152,"validated":0}]} 
[2026-09-07 15:40:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720948816555016192,"timestamp_seconds":720948816555016.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15: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-07 15:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926569728001,"66":13374,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926569728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:40:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926569728001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":173757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:43] local.INFO: GPS data processed {"connection_id":173757,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:43] local.INFO: Acknowledgment sent {"connection_id":173757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:44] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:44] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:44] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:40:45] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:45] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:45] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:45] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:45] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:40:45] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:46] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:46] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:40:46] local.INFO: IMEI packet received {"connection_id":176249,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":176249,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:46] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:46] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b547e10012d196500071ff0200040011f21..."} 
[2026-09-07 15:40:46] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:40:46] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b54"} 
[2026-09-07 15:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926458624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775530000,"timestamp_ms":1788775530000,"timestamp_seconds":1788775530,"priority":1,"record_length":96,"hex_timestamp":"000001a07b547e10"} 
[2026-09-07 15: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-07 15:40:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926458624001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926458624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926458624001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:46] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:46] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:46] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5875b0012d0c3d40070360480065003d0e..."} 
[2026-09-07 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5875b0012d0c3d40070360480065003d0e..."} 
[2026-09-07 15:40:46] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5875b0012d0c3d40070360480065003d0e..."} 
[2026-09-07 15:40:46] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:46] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":117661768,"longitude_deg":75.5776832,"latitude_deg":11.7661768,"altitude":101,"angle":61,"satellites":14,"speed":14,"hex_longitude":"2d0c3d40","hex_latitude":"07036048","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926601728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30497158314590208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881227813458202624,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775790000,"timestamp_ms":1788775790000,"timestamp_seconds":1788775790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5875b0"} 
[2026-09-07 15: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-07 15:40: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-07 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926601728001,"66":14439,"37":206,"94":11008,"24":14,"16":30497158314590208,"45":881227813458202624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926601728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30497158314590208,"km_value":30497158314590.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":881227813458202624,"description":"Unknown IO ID 45"} 
[2026-09-07 15:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926601728001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":881227813458202624}} 
[2026-09-07 15:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:47] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:47] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:50] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:50] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:50] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:51] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:51] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:40:51] local.INFO: IMEI packet received {"connection_id":176251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":176251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:40:52] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b581408012cc3398007685458005800a52d..."} 
[2026-09-07 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b581408012cc3398007685458005800a52d..."} 
[2026-09-07 15:40:52] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b581408012cc3398007685458005800a52d..."} 
[2026-09-07 15:40:52] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:52] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":750991744,"raw_latitude":124277848,"longitude_deg":75.0991744,"latitude_deg":12.4277848,"altitude":88,"angle":165,"satellites":45,"speed":15,"hex_longitude":"2cc33980","hex_latitude":"07685458","is_valid_coordinates":true} 
[2026-09-07 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-07 15:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926595328001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401583947596693504,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379469130825777152,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788775765000,"timestamp_ms":1788775765000,"timestamp_seconds":1788775765,"priority":1,"record_length":96,"hex_timestamp":"000001a07b581408"} 
[2026-09-07 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-07 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 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-07 15:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40: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-07 15:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926595328001,"66":27908,"89":206,"85":37120,"24":15,"16":401583947596693504,"44":-4379469130825777152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926595328001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401583947596693504,"km_value":401583947596693.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379469130825777152,"description":"Unknown IO ID 44"} 
[2026-09-07 15:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926595328001,"power":27908,"unknown_89":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4379469130825777152}} 
[2026-09-07 15:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:52] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:52] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:40:52] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b584ab8012cc33ec007683068005c00ab2c..."} 
[2026-09-07 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b584ab8012cc33ec007683068005c00ab2c..."} 
[2026-09-07 15:40:52] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b584ab8012cc33ec007683068005c00ab2c..."} 
[2026-09-07 15:40:52] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:52] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":750993088,"raw_latitude":124268648,"longitude_deg":75.0993088,"latitude_deg":12.4268648,"altitude":92,"angle":171,"satellites":44,"speed":34,"hex_longitude":"2cc33ec0","hex_latitude":"07683068","is_valid_coordinates":true} 
[2026-09-07 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-07 15:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926595840001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401584398568259584,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379328393337612288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788775779000,"timestamp_ms":1788775779000,"timestamp_seconds":1788775779,"priority":1,"record_length":96,"hex_timestamp":"000001a07b584ab8"} 
[2026-09-07 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-07 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 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-07 15:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:40: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-07 15:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926595840001,"66":27984,"88":206,"85":37120,"24":34,"16":401584398568259584,"44":-4379328393337612288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926595840001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401584398568259584,"km_value":401584398568259.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379328393337612288,"description":"Unknown IO ID 44"} 
[2026-09-07 15:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926595840001,"power":27984,"unknown_88":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4379328393337612288}} 
[2026-09-07 15:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:40:52] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:40:52] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:17] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:17] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:17] local.INFO: Packet analysis {"connection_id":173758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:17] local.INFO: Extracted packet for processing {"connection_id":173758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":173758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:17] local.INFO: GPS data processed {"connection_id":173758,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:17] local.INFO: Acknowledgment sent {"connection_id":173758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:18] local.INFO: TCP Data received {"connection_id":176249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b58a0a8012d0c4ec0070368200060004b0e..."} 
[2026-09-07 15:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b58a0a8012d0c4ec0070368200060004b0e..."} 
[2026-09-07 15:41:18] local.INFO: Processing buffer {"connection_id":176249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b58a0a8012d0c4ec0070368200060004b0e..."} 
[2026-09-07 15:41:18] local.INFO: Packet analysis {"connection_id":176249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:41:18] local.INFO: Extracted packet for processing {"connection_id":176249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:41:18] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":117663776,"longitude_deg":75.5781312,"latitude_deg":11.7663776,"altitude":96,"angle":75,"satellites":14,"speed":6,"hex_longitude":"2d0c4ec0","hex_latitude":"07036820","is_valid_coordinates":true} 
[2026-09-07 15:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926602240001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30497398832758784,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931500900075520,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788775801000,"timestamp_ms":1788775801000,"timestamp_seconds":1788775801,"priority":1,"record_length":96,"hex_timestamp":"000001a07b58a0a8"} 
[2026-09-07 15:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176249,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926602240001,"66":14537,"37":206,"94":11008,"24":6,"16":30497398832758784,"45":881931500900075520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 15:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926602240001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 15:41:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30497398832758784,"km_value":30497398832758.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931500900075520,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926602240001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":881931500900075520}} 
[2026-09-07 15:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":176249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:18] local.INFO: GPS data processed {"connection_id":176249,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:18] local.INFO: Acknowledgment sent {"connection_id":176249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:23] local.INFO: TCP Data received {"connection_id":176251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b586de0012cc345c007680c38005a00a72a..."} 
[2026-09-07 15:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b586de0012cc345c007680c38005a00a72a..."} 
[2026-09-07 15:41:23] local.INFO: Processing buffer {"connection_id":176251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b586de0012cc345c007680c38005a00a72a..."} 
[2026-09-07 15:41:23] local.INFO: Packet analysis {"connection_id":176251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:41:23] local.INFO: Extracted packet for processing {"connection_id":176251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b58"} 
[2026-09-07 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":750994880,"raw_latitude":124259384,"longitude_deg":75.099488,"latitude_deg":12.4259384,"altitude":90,"angle":167,"satellites":42,"speed":46,"hex_longitude":"2cc345c0","hex_latitude":"07680c38","is_valid_coordinates":true} 
[2026-09-07 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-07 15:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926599424001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401584858129760256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377850649712236544,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788775788000,"timestamp_ms":1788775788000,"timestamp_seconds":1788775788,"priority":1,"record_length":96,"hex_timestamp":"000001a07b586de0"} 
[2026-09-07 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-07 15:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:23] 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-07 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-07 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-07 15:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926599424001,"66":27974,"88":206,"85":37120,"24":46,"16":401584858129760256,"44":-4377850649712236544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926599424001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:23] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401584858129760256,"km_value":401584858129760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377850649712236544,"description":"Unknown IO ID 44"} 
[2026-09-07 15:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926599424001,"power":27974,"unknown_88":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4377850649712236544}} 
[2026-09-07 15:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":176251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:23] local.INFO: GPS data processed {"connection_id":176251,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:23] local.INFO: Acknowledgment sent {"connection_id":176251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:27] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:27] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:27] local.INFO: IMEI packet received {"connection_id":174856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":174856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:41:33] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:33] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:41:33] local.INFO: IMEI packet received {"connection_id":174856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":174856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:33] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5729a8012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5729a8012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:41:33] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5729a8012d7a1cc005ec8450000a015321..."} 
[2026-09-07 15:41:33] local.INFO: Packet analysis {"connection_id":174856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:41:33] local.INFO: Extracted packet for processing {"connection_id":174856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:41:33] local.INFO: GPS Element Parsed {"raw_longitude":762977472,"raw_latitude":99386448,"longitude_deg":76.2977472,"latitude_deg":9.9386448,"altitude":10,"angle":339,"satellites":33,"speed":0,"hex_longitude":"2d7a1cc0","hex_latitude":"05ec8450","is_valid_coordinates":true} 
[2026-09-07 15:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926575104001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371634795544576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775705000,"timestamp_ms":1788775705000,"timestamp_seconds":1788775705,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5729a8"} 
[2026-09-07 15:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926575104001,"66":13689,"100":206,"87":13824,"24":0,"16":129371634795544576,"45":8799118903650570240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926575104001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:41:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371634795544576,"km_value":129371634795544.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926575104001,"power":13689,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":174856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:33] local.INFO: GPS data processed {"connection_id":174856,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:33] local.INFO: Acknowledgment sent {"connection_id":174856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:40] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:40] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:40] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:41:44] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:44] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:44] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:41:45] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:45] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:45] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:41:46] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:46] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:41:46] local.INFO: IMEI packet received {"connection_id":176252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":176252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:46] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b59f480012d0c6e800703dd38002d01620e..."} 
[2026-09-07 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b59f480012d0c6e800703dd38002d01620e..."} 
[2026-09-07 15:41:46] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b59f480012d0c6e800703dd38002d01620e..."} 
[2026-09-07 15:41:46] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:46] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:46] local.INFO: GPS Element Parsed {"raw_longitude":755789440,"raw_latitude":117693752,"longitude_deg":75.578944,"latitude_deg":11.7693752,"altitude":45,"angle":354,"satellites":14,"speed":14,"hex_longitude":"2d0c6e80","hex_latitude":"0703dd38","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926625536001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30499039510265856,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037277958144,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775888000,"timestamp_ms":1788775888000,"timestamp_seconds":1788775888,"priority":1,"record_length":96,"hex_timestamp":"000001a07b59f480"} 
[2026-09-07 15: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-07 15:41: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-07 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926625536001,"66":14537,"16":30499039510265856,"94":11008,"24":14,"45":895583037277958144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926625536001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30499039510265856,"km_value":30499039510265.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037277958144,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926625536001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895583037277958144}} 
[2026-09-07 15:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:47] local.INFO: GPS data processed {"connection_id":176252,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:47] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:48] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:48] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:48] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:49] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:49] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:41:49] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:50] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5948a0012cc35e40076716b0005e00c52b..."} 
[2026-09-07 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5948a0012cc35e40076716b0005e00c52b..."} 
[2026-09-07 15:41:50] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5948a0012cc35e40076716b0005e00c52b..."} 
[2026-09-07 15:41:50] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:50] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:50] local.INFO: GPS Element Parsed {"raw_longitude":751001152,"raw_latitude":124196528,"longitude_deg":75.1001152,"latitude_deg":12.4196528,"altitude":94,"angle":197,"satellites":43,"speed":49,"hex_longitude":"2cc35e40","hex_latitude":"076716b0","is_valid_coordinates":true} 
[2026-09-07 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926614272001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401588294103597056,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4365465750753165312,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775844000,"timestamp_ms":1788775844000,"timestamp_seconds":1788775844,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5948a0"} 
[2026-09-07 15:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:41: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-07 15:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 15:41: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-07 15:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:50] local.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-07 15:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926614272001,"66":27843,"88":206,"85":37120,"24":49,"16":401588294103597056,"44":-4365465750753165312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926614272001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401588294103597056,"km_value":401588294103597.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4365465750753165312,"description":"Unknown IO ID 44"} 
[2026-09-07 15:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926614272001,"power":27843,"unknown_88":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4365465750753165312}} 
[2026-09-07 15:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:50] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:50] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:50] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:50] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:41:50] local.INFO: IMEI packet received {"connection_id":173513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":173513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:41:51] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b595458012cc3590007670ab0005e00d22a..."} 
[2026-09-07 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b595458012cc3590007670ab0005e00d22a..."} 
[2026-09-07 15:41:51] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b595458012cc3590007670ab0005e00d22a..."} 
[2026-09-07 15:41:51] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:51] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":750999808,"raw_latitude":124193456,"longitude_deg":75.0999808,"latitude_deg":12.4193456,"altitude":94,"angle":210,"satellites":42,"speed":40,"hex_longitude":"2cc35900","hex_latitude":"07670ab0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926616064001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401588457312354304,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4368984187964313600,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788775847000,"timestamp_ms":1788775847000,"timestamp_seconds":1788775847,"priority":1,"record_length":96,"hex_timestamp":"000001a07b595458"} 
[2026-09-07 15: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-07 15:41:51] 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-07 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:41:51] local.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-07 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926616064001,"66":27865,"88":206,"85":37120,"24":40,"16":401588457312354304,"44":-4368984187964313600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926616064001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401588457312354304,"km_value":401588457312354.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4368984187964313600,"description":"Unknown IO ID 44"} 
[2026-09-07 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926616064001,"power":27865,"unknown_88":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4368984187964313600}} 
[2026-09-07 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:51] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:51] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:51] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:51] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:51] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:51] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41: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-07 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:51] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:51] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:41:55] local.INFO: TCP Data received {"connection_id":173513,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:55] local.INFO: Processing buffer {"connection_id":173513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:41:55] local.INFO: Packet analysis {"connection_id":173513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:55] local.INFO: Extracted packet for processing {"connection_id":173513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:41: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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:41: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-07 15: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-07 15: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-07 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:41:55] local.INFO: GPS data processed {"connection_id":173513,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:41:55] local.INFO: Acknowledgment sent {"connection_id":173513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:05] local.INFO: TCP Data received {"connection_id":174856,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b577bb0012d7a19c005ec8488000700dd20..."} 
[2026-09-07 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b577bb0012d7a19c005ec8488000700dd20..."} 
[2026-09-07 15:42:05] local.INFO: Processing buffer {"connection_id":174856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b577bb0012d7a19c005ec8488000700dd20..."} 
[2026-09-07 15:42:05] local.INFO: Packet analysis {"connection_id":174856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:42:05] local.INFO: Extracted packet for processing {"connection_id":174856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386504,"longitude_deg":76.2976704,"latitude_deg":9.9386504,"altitude":7,"angle":221,"satellites":32,"speed":2,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8488","is_valid_coordinates":true} 
[2026-09-07 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926580480001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799118903650570240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775726000,"timestamp_ms":1788775726000,"timestamp_seconds":1788775726,"priority":1,"record_length":96,"hex_timestamp":"000001a07b577bb0"} 
[2026-09-07 15:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:05] 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-07 15:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926580480001,"66":13515,"100":206,"87":13824,"24":2,"16":129371673450250240,"45":8799118903650570240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926580480001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799118903650570240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926580480001,"power":13515,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8799118903650570240}} 
[2026-09-07 15:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":174856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:05] local.INFO: GPS data processed {"connection_id":174856,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:05] local.INFO: Acknowledgment sent {"connection_id":174856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:18] local.INFO: TCP Data received {"connection_id":176252,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5a94a8012d0c55000703e3a8002100010e..."} 
[2026-09-07 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5a94a8012d0c55000703e3a8002100010e..."} 
[2026-09-07 15:42:18] local.INFO: Processing buffer {"connection_id":176252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5a94a8012d0c55000703e3a8002100010e..."} 
[2026-09-07 15:42:18] local.INFO: Packet analysis {"connection_id":176252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:18] local.INFO: Extracted packet for processing {"connection_id":176252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117695400,"longitude_deg":75.5782912,"latitude_deg":11.76954,"altitude":33,"angle":1,"satellites":14,"speed":3,"hex_longitude":"2d0c5500","hex_latitude":"0703e3a8","is_valid_coordinates":true} 
[2026-09-07 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926636800001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30499395992551424,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900349652992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788775929000,"timestamp_ms":1788775929000,"timestamp_seconds":1788775929,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5a94a8"} 
[2026-09-07 15:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:42: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-07 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926636800001,"66":13656,"16":30499395992551424,"94":11008,"24":3,"45":888686900349652992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926636800001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30499395992551424,"km_value":30499395992551.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900349652992,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926636800001,"power":13656,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":888686900349652992}} 
[2026-09-07 15:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":176252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779335,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:18] local.INFO: GPS data processed {"connection_id":176252,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:18] local.INFO: Acknowledgment sent {"connection_id":176252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:22] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b595c28012cc353c0076704d8005d00e629..."} 
[2026-09-07 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b595c28012cc353c0076704d8005d00e629..."} 
[2026-09-07 15:42:22] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b595c28012cc353c0076704d8005d00e629..."} 
[2026-09-07 15:42:22] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:42:22] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":750998464,"raw_latitude":124191960,"longitude_deg":75.0998464,"latitude_deg":12.419196,"altitude":93,"angle":230,"satellites":41,"speed":41,"hex_longitude":"2cc353c0","hex_latitude":"076704d8","is_valid_coordinates":true} 
[2026-09-07 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926616832001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401588556096602112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370461931592830976,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788775849000,"timestamp_ms":1788775849000,"timestamp_seconds":1788775849,"priority":1,"record_length":96,"hex_timestamp":"000001a07b595c28"} 
[2026-09-07 15:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926616832001,"66":27484,"88":206,"85":37120,"24":41,"16":401588556096602112,"44":-4370461931592830976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926616832001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401588556096602112,"km_value":401588556096602.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370461931592830976,"description":"Unknown IO ID 44"} 
[2026-09-07 15:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926616832001,"power":27484,"unknown_88":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4370461931592830976}} 
[2026-09-07 15:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:22] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:22] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:27] local.INFO: TCP Data received {"connection_id":173760,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:27] local.INFO: Processing buffer {"connection_id":173760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:27] local.INFO: IMEI packet received {"connection_id":173760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":173760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:27] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:27] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:27] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:33] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:33] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:42:33] local.INFO: IMEI packet received {"connection_id":176253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":176253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:33] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b57c9d0012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b57c9d0012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:42:33] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b57c9d0012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:42:33] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:42:33] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386416,"longitude_deg":76.2976704,"latitude_deg":9.9386416,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8430","is_valid_coordinates":true} 
[2026-09-07 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926585856001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720452608,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788775746000,"timestamp_ms":1788775746000,"timestamp_seconds":1788775746,"priority":1,"record_length":96,"hex_timestamp":"000001a07b57c9d0"} 
[2026-09-07 15:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:33] 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-07 15:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926585856001,"66":13689,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720452608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926585856001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:42:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720452608,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926585856001,"power":13689,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720452608}} 
[2026-09-07 15:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:33] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:33] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:40] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:40] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:40] local.INFO: IMEI packet received {"connection_id":174857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":174857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:40] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:40] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:40] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:45] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:45] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:42:45] local.INFO: IMEI packet received {"connection_id":174857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":174857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:46] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:46] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:42:46] local.INFO: IMEI packet received {"connection_id":173514,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173514,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:46] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:42:46] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:42:46] local.INFO: Packet analysis {"connection_id":174857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:42:46] local.INFO: Extracted packet for processing {"connection_id":174857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:42:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":174857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:46] local.INFO: GPS data processed {"connection_id":174857,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:46] local.INFO: Acknowledgment sent {"connection_id":174857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:46] local.INFO: TCP Data received {"connection_id":173515,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:46] local.INFO: Processing buffer {"connection_id":173515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:42:46] local.INFO: IMEI packet received {"connection_id":173515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:47] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5a9890012d0c55400703e408002100110e..."} 
[2026-09-07 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5a9890012d0c55400703e408002100110e..."} 
[2026-09-07 15:42:47] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5a9890012d0c55400703e408002100110e..."} 
[2026-09-07 15:42:47] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:47] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":755782976,"raw_latitude":117695496,"longitude_deg":75.5782976,"latitude_deg":11.7695496,"altitude":33,"angle":17,"satellites":14,"speed":4,"hex_longitude":"2d0c5540","hex_latitude":"0703e408","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926637824001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30499400287518720,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605563392,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788775930000,"timestamp_ms":1788775930000,"timestamp_seconds":1788775930,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5a9890"} 
[2026-09-07 15: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-07 15:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:47] 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-07 15: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-07 15: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-07 15:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926637824001,"66":13656,"16":30499400287518720,"94":11008,"24":4,"45":888616531605563392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926637824001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30499400287518720,"km_value":30499400287518.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605563392,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926637824001,"power":13656,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":888616531605563392}} 
[2026-09-07 15:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779339,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:47] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:47] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:47] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:47] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:47] local.INFO: IMEI packet received {"connection_id":173761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":173761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:42:49] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:49] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:49] local.INFO: IMEI packet received {"connection_id":173761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:51] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5aa830012d0c56c00703e638002000290e..."} 
[2026-09-07 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5aa830012d0c56c00703e638002000290e..."} 
[2026-09-07 15:42:51] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5aa830012d0c56c00703e638002000290e..."} 
[2026-09-07 15:42:51] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:51] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755783360,"raw_latitude":117696056,"longitude_deg":75.578336,"latitude_deg":11.7696056,"altitude":32,"angle":41,"satellites":14,"speed":8,"hex_longitude":"2d0c56c0","hex_latitude":"0703e638","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926638080001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30499434647257088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888686900349765632,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788775934000,"timestamp_ms":1788775934000,"timestamp_seconds":1788775934,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5aa830"} 
[2026-09-07 15: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-07 15:42: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-07 15: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:51] 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-07 15: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-07 15: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-07 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926638080001,"66":14428,"16":30499434647257088,"94":11008,"24":8,"45":888686900349765632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926638080001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30499434647257088,"km_value":30499434647257.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":888686900349765632,"description":"Unknown IO ID 45"} 
[2026-09-07 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926638080001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":888686900349765632}} 
[2026-09-07 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:51] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:51] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:42:54] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:54] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:42:54] local.INFO: IMEI packet received {"connection_id":173761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":173761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:42:54] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5a2360012cc29380076649b0004d00bb2a..."} 
[2026-09-07 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5a2360012cc29380076649b0004d00bb2a..."} 
[2026-09-07 15:42:54] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5a2360012cc29380076649b0004d00bb2a..."} 
[2026-09-07 15:42:54] local.INFO: Packet analysis {"connection_id":173761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:54] local.INFO: Extracted packet for processing {"connection_id":173761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":750949248,"raw_latitude":124144048,"longitude_deg":75.0949248,"latitude_deg":12.4144048,"altitude":77,"angle":187,"satellites":42,"speed":56,"hex_longitude":"2cc29380","hex_latitude":"076649b0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926629632001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401591953415733248,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4424786602109581312,"note":"Value kept but may cause issues"} 
[2026-09-07 15:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788775900000,"timestamp_ms":1788775900000,"timestamp_seconds":1788775900,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5a2360"} 
[2026-09-07 15: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-07 15:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:42:54] local.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-07 15:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926629632001,"66":27821,"211":206,"85":37120,"24":56,"16":401591953415733248,"44":-4424786602109581312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-09-07 15:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926629632001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:42:54] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-09-07 15:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401591953415733248,"km_value":401591953415733.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4424786602109581312,"description":"Unknown IO ID 44"} 
[2026-09-07 15:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926629632001,"power":27821,"unknown_211":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4424786602109581312}} 
[2026-09-07 15:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":173761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:42:54] local.INFO: GPS data processed {"connection_id":173761,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:42:54] local.INFO: Acknowledgment sent {"connection_id":173761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:05] local.INFO: TCP Data received {"connection_id":176253,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:05] local.INFO: Processing buffer {"connection_id":176253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:05] local.INFO: Packet analysis {"connection_id":176253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:43:05] local.INFO: Extracted packet for processing {"connection_id":176253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386416,"longitude_deg":76.2976704,"latitude_deg":9.9386416,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8430","is_valid_coordinates":true} 
[2026-09-07 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926590976001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775751000,"timestamp_ms":1788775751000,"timestamp_seconds":1788775751,"priority":1,"record_length":96,"hex_timestamp":"000001a07b57dd58"} 
[2026-09-07 15:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:05] 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-07 15:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926590976001,"66":13656,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926590976001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926590976001,"power":13656,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":176253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:05] local.INFO: GPS data processed {"connection_id":176253,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:05] local.INFO: Acknowledgment sent {"connection_id":176253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:17] local.INFO: TCP Data received {"connection_id":174857,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:17] local.INFO: Processing buffer {"connection_id":174857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:17] local.INFO: Packet analysis {"connection_id":174857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:43:17] local.INFO: Extracted packet for processing {"connection_id":174857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":174857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:17] local.INFO: GPS data processed {"connection_id":174857,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:17] local.INFO: Acknowledgment sent {"connection_id":174857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:22] local.INFO: TCP Data received {"connection_id":173514,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5ad710012d0c6c800703f878001f00390e..."} 
[2026-09-07 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5ad710012d0c6c800703f878001f00390e..."} 
[2026-09-07 15:43:22] local.INFO: Processing buffer {"connection_id":173514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5ad710012d0c6c800703f878001f00390e..."} 
[2026-09-07 15:43:22] local.INFO: Packet analysis {"connection_id":173514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:22] local.INFO: Extracted packet for processing {"connection_id":173514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755788928,"raw_latitude":117700728,"longitude_deg":75.5788928,"latitude_deg":11.7700728,"altitude":31,"angle":57,"satellites":14,"speed":28,"hex_longitude":"2d0c6c80","hex_latitude":"0703f878","is_valid_coordinates":true} 
[2026-09-07 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926639104001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30499782539608064,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889109112814974976,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788775946000,"timestamp_ms":1788775946000,"timestamp_seconds":1788775946,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5ad710"} 
[2026-09-07 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:43: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-07 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173514,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926639104001,"66":14515,"16":30499782539608064,"94":11008,"24":28,"45":889109112814974976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926639104001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30499782539608064,"km_value":30499782539608.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":889109112814974976,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926639104001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":28,"unknown_45":889109112814974976}} 
[2026-09-07 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":173514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:22] local.INFO: GPS data processed {"connection_id":173514,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:22] local.INFO: Acknowledgment sent {"connection_id":173514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:25] local.INFO: TCP Data received {"connection_id":173761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5afa38012cc2818007658938005400b12b..."} 
[2026-09-07 15:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5afa38012cc2818007658938005400b12b..."} 
[2026-09-07 15:43:25] local.INFO: Processing buffer {"connection_id":173761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5afa38012cc2818007658938005400b12b..."} 
[2026-09-07 15:43:25] local.INFO: Packet analysis {"connection_id":173761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:25] local.INFO: Extracted packet for processing {"connection_id":173761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:25] local.INFO: GPS Element Parsed {"raw_longitude":750944640,"raw_latitude":124094776,"longitude_deg":75.094464,"latitude_deg":12.4094776,"altitude":84,"angle":177,"satellites":43,"speed":11,"hex_longitude":"2cc28180","hex_latitude":"07658938","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926644224001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401594577640751104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430979051610816512,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788775955000,"timestamp_ms":1788775955000,"timestamp_seconds":1788775955,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5afa38"} 
[2026-09-07 15: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-07 15:43:25] 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-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926644224001,"66":27930,"159":206,"85":37120,"24":11,"16":401594577640751104,"44":-4430979051610816512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926644224001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401594577640751104,"km_value":401594577640751.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430979051610816512,"description":"Unknown IO ID 44"} 
[2026-09-07 15:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926644224001,"power":27930,"unknown_159":206,"unknown_85":37120,"ignition":11,"odometer":null,"unknown_44":-4430979051610816512}} 
[2026-09-07 15:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":173761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:25] local.INFO: GPS data processed {"connection_id":173761,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:25] local.INFO: Acknowledgment sent {"connection_id":173761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:27] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:27] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:27] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:43:33] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:33] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:43:33] local.INFO: IMEI packet received {"connection_id":173516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":173516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:43:34] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:34] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b57dd58012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:43:34] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:43:34] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386416,"longitude_deg":76.2976704,"latitude_deg":9.9386416,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8430","is_valid_coordinates":true} 
[2026-09-07 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926592256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775751000,"timestamp_ms":1788775751000,"timestamp_seconds":1788775751,"priority":1,"record_length":96,"hex_timestamp":"000001a07b57dd58"} 
[2026-09-07 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:43:34] 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-07 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:34] 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-07 15:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926592256001,"66":13656,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926592256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:43:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926592256001,"power":13656,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:34] local.INFO: GPS data processed {"connection_id":173516,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:34] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:40] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:40] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:40] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:43:40] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:40] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:40] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:43:43] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:43] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:43] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:43:44] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:44] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:44] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:43:45] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:45] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:43:45] local.INFO: IMEI packet received {"connection_id":176254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:43:46] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:46] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:43:46] local.INFO: IMEI packet received {"connection_id":176255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":176255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:43:46] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:46] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:43:46] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:43:46] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 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-07 15:43:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:46] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:46] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:46] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:46] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:43:46] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:43:47] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5b0208012d0c8a8007040e18001d00360e..."} 
[2026-09-07 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5b0208012d0c8a8007040e18001d00360e..."} 
[2026-09-07 15:43:47] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5b0208012d0c8a8007040e18001d00360e..."} 
[2026-09-07 15:43:47] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:43:47] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":755796608,"raw_latitude":117706264,"longitude_deg":75.5796608,"latitude_deg":11.7706264,"altitude":29,"angle":54,"satellites":14,"speed":35,"hex_longitude":"2d0c8a80","hex_latitude":"07040e18","is_valid_coordinates":true} 
[2026-09-07 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-07 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926642176001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30500233511174144,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895231193559627776,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788775957000,"timestamp_ms":1788775957000,"timestamp_seconds":1788775957,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5b0208"} 
[2026-09-07 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-07 15:43: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-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926642176001,"66":14428,"16":30500233511174144,"94":11008,"24":35,"45":895231193559627776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926642176001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30500233511174144,"km_value":30500233511174.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":895231193559627776,"description":"Unknown IO ID 45"} 
[2026-09-07 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457926642176001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":895231193559627776}} 
[2026-09-07 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:47] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:47] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:43:47] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5afe20012cc28200076588180053009b2b..."} 
[2026-09-07 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5afe20012cc28200076588180053009b2b..."} 
[2026-09-07 15:43:47] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5afe20012cc28200076588180053009b2b..."} 
[2026-09-07 15:43:47] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:47] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5a"} 
[2026-09-07 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":750944768,"raw_latitude":124094488,"longitude_deg":75.0944768,"latitude_deg":12.4094488,"altitude":83,"angle":155,"satellites":43,"speed":12,"hex_longitude":"2cc28200","hex_latitude":"07658818","is_valid_coordinates":true} 
[2026-09-07 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-07 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926644480001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401594594820620288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431119789099239424,"note":"Value kept but may cause issues"} 
[2026-09-07 15:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788775956000,"timestamp_ms":1788775956000,"timestamp_seconds":1788775956,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5afe20"} 
[2026-09-07 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-07 15: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-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926644480001,"66":27930,"159":206,"85":37120,"24":12,"16":401594594820620288,"44":-4431119789099239424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926644480001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401594594820620288,"km_value":401594594820620.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431119789099239424,"description":"Unknown IO ID 44"} 
[2026-09-07 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926644480001,"power":27930,"unknown_159":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4431119789099239424}} 
[2026-09-07 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:43:47] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:43:47] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:05] local.INFO: TCP Data received {"connection_id":173516,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:05] local.INFO: Processing buffer {"connection_id":173516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:05] local.INFO: Packet analysis {"connection_id":173516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:44:05] local.INFO: Extracted packet for processing {"connection_id":173516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386416,"longitude_deg":76.2976704,"latitude_deg":9.9386416,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8430","is_valid_coordinates":true} 
[2026-09-07 15:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926592256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788775754000,"timestamp_ms":1788775754000,"timestamp_seconds":1788775754,"priority":1,"record_length":96,"hex_timestamp":"000001a07b57e910"} 
[2026-09-07 15:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:05] 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-07 15:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926592256001,"66":13580,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926592256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926592256001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":173516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:05] local.INFO: GPS data processed {"connection_id":173516,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:05] local.INFO: Acknowledgment sent {"connection_id":173516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:17] local.INFO: TCP Data received {"connection_id":176254,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:17] local.INFO: Processing buffer {"connection_id":176254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:17] local.INFO: Packet analysis {"connection_id":176254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:44:17] local.INFO: Extracted packet for processing {"connection_id":176254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":176254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:17] local.INFO: GPS data processed {"connection_id":176254,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:17] local.INFO: Acknowledgment sent {"connection_id":176254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:18] local.INFO: TCP Data received {"connection_id":176255,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c55e0012d0c8f000704d2e0002201320f..."} 
[2026-09-07 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c55e0012d0c8f000704d2e0002201320f..."} 
[2026-09-07 15:44:18] local.INFO: Processing buffer {"connection_id":176255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c55e0012d0c8f000704d2e0002201320f..."} 
[2026-09-07 15:44:18] local.INFO: Packet analysis {"connection_id":176255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:18] local.INFO: Extracted packet for processing {"connection_id":176255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755797760,"raw_latitude":117756640,"longitude_deg":75.579776,"latitude_deg":11.775664,"altitude":34,"angle":306,"satellites":15,"speed":6,"hex_longitude":"2d0c8f00","hex_latitude":"0704d2e0","is_valid_coordinates":true} 
[2026-09-07 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926666752001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30502965110374400,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905153186502922240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788776044000,"timestamp_ms":1788776044000,"timestamp_seconds":1788776044,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c55e0"} 
[2026-09-07 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:18] 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-07 15:44: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-07 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926666752001,"66":14450,"95":206,"94":10240,"24":6,"16":30502965110374400,"45":905153186502922240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926666752001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30502965110374400,"km_value":30502965110374.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":905153186502922240,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926666752001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":905153186502922240}} 
[2026-09-07 15:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":176255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:18] local.INFO: GPS data processed {"connection_id":176255,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:18] local.INFO: Acknowledgment sent {"connection_id":176255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:18] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5b0208012cc2828007658718005400842c..."} 
[2026-09-07 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5b0208012cc2828007658718005400842c..."} 
[2026-09-07 15:44:18] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5b0208012cc2828007658718005400842c..."} 
[2026-09-07 15:44:18] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:44:18] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":750944896,"raw_latitude":124094232,"longitude_deg":75.0944896,"latitude_deg":12.4094232,"altitude":84,"angle":132,"satellites":44,"speed":12,"hex_longitude":"2cc28280","hex_latitude":"07658718","is_valid_coordinates":true} 
[2026-09-07 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926644736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401594607705522176,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430979051610957824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788775957000,"timestamp_ms":1788775957000,"timestamp_seconds":1788775957,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5b0208"} 
[2026-09-07 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:44: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-07 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926644736001,"66":27800,"159":206,"85":37120,"24":12,"16":401594607705522176,"44":-4430979051610957824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926644736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401594607705522176,"km_value":401594607705522.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430979051610957824,"description":"Unknown IO ID 44"} 
[2026-09-07 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926644736001,"power":27800,"unknown_159":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4430979051610957824}} 
[2026-09-07 15:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:18] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:18] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:27] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:27] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:27] local.INFO: IMEI packet received {"connection_id":174858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":174858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:44:33] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:33] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:44:33] local.INFO: IMEI packet received {"connection_id":174858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":174858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:44:34] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:34] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b57e910012d7a19c005ec8430000700e121..."} 
[2026-09-07 15:44:34] local.INFO: Packet analysis {"connection_id":174858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:44:34] local.INFO: Extracted packet for processing {"connection_id":174858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b57"} 
[2026-09-07 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99386416,"longitude_deg":76.2976704,"latitude_deg":9.9386416,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a19c0","hex_latitude":"05ec8430","is_valid_coordinates":true} 
[2026-09-07 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788775754000,"timestamp_ms":1788775754000,"timestamp_seconds":1788775754,"priority":1,"record_length":96,"hex_timestamp":"000001a07b57e910"} 
[2026-09-07 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:44:34] 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-07 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2223505415,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634789368972388,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2664497152,"corrected_to":0} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,221,45,192,132,7,33,10,66,201,1,240,121,227,123,236,4,113,205,2,41,28,80,239,53,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2664497152,"validated":0}]} 
[2026-09-07 15:44:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665951,"timestamp_seconds":504650690115665.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":13580,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:44:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":13580,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":174858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:34] local.INFO: GPS data processed {"connection_id":174858,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:34] local.INFO: Acknowledgment sent {"connection_id":174858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:40] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:40] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:40] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:44:41] local.INFO: TCP Data received {"connection_id":173517,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:41] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:41] local.INFO: IMEI packet received {"connection_id":173517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":173517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:44:44] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:44] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:44] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:44:45] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:45] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:44:45] local.INFO: IMEI packet received {"connection_id":173764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:44:46] local.INFO: TCP Data received {"connection_id":173517,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:46] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:46] local.INFO: IMEI packet received {"connection_id":173517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:44:46] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:46] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:44:46] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:44:46] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:44:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:46] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:46] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:49] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:49] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:44:49] local.INFO: IMEI packet received {"connection_id":173518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:44:50] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5b38b8012cc29a0007656c580055008c2d..."} 
[2026-09-07 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5b38b8012cc29a0007656c580055008c2d..."} 
[2026-09-07 15:44:50] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5b38b8012cc29a0007656c580055008c2d..."} 
[2026-09-07 15:44:50] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:44:50] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5b"} 
[2026-09-07 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":750950912,"raw_latitude":124087384,"longitude_deg":75.0950912,"latitude_deg":12.4087384,"altitude":85,"angle":140,"satellites":45,"speed":36,"hex_longitude":"2cc29a00","hex_latitude":"07656c58","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926644992001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401595045792186368,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430838314122668032,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788775971000,"timestamp_ms":1788775971000,"timestamp_seconds":1788775971,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5b38b8"} 
[2026-09-07 15: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-07 15:44: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-07 15: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":152,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:50] 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-07 15: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-07 15: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-07 15:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:44:50] local.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-07 15:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926644992001,"66":28028,"159":206,"85":37120,"24":36,"16":401595045792186368,"44":-4430838314122668032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926644992001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401595045792186368,"km_value":401595045792186.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430838314122668032,"description":"Unknown IO ID 44"} 
[2026-09-07 15:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926644992001,"power":28028,"unknown_159":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4430838314122668032}} 
[2026-09-07 15:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:50] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:50] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:51] local.INFO: TCP Data received {"connection_id":173517,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:51] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:44:51] local.INFO: IMEI packet received {"connection_id":173517,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":173517,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:44:51] local.INFO: TCP Data received {"connection_id":173517,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c59c8012d0c8e000704d3300022011d0f..."} 
[2026-09-07 15:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c59c8012d0c8e000704d3300022011d0f..."} 
[2026-09-07 15:44:51] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c59c8012d0c8e000704d3300022011d0f..."} 
[2026-09-07 15:44:51] local.INFO: Packet analysis {"connection_id":173517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:51] local.INFO: Extracted packet for processing {"connection_id":173517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755797504,"raw_latitude":117756720,"longitude_deg":75.5797504,"latitude_deg":11.775672,"altitude":34,"angle":285,"satellites":15,"speed":7,"hex_longitude":"2d0c8e00","hex_latitude":"0704d330","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926667264001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30502977995276288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904942080270458880,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788776045000,"timestamp_ms":1788776045000,"timestamp_seconds":1788776045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c59c8"} 
[2026-09-07 15: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-07 15:44: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-07 15: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":114,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:51] 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-07 15: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-07 15: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-07 15:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926667264001,"66":14254,"95":206,"94":10240,"24":7,"16":30502977995276288,"45":904942080270458880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 15:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926667264001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 15:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30502977995276288,"km_value":30502977995276.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":904942080270458880,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926667264001,"power":14254,"unknown_95":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":904942080270458880}} 
[2026-09-07 15:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":173517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779357,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:52] local.INFO: GPS data processed {"connection_id":173517,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:52] local.INFO: Acknowledgment sent {"connection_id":173517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:44:55] local.INFO: TCP Data received {"connection_id":173517,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c6198012d0c8c000704d3880023010e0f..."} 
[2026-09-07 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c6198012d0c8c000704d3880023010e0f..."} 
[2026-09-07 15:44:55] local.INFO: Processing buffer {"connection_id":173517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c6198012d0c8c000704d3880023010e0f..."} 
[2026-09-07 15:44:55] local.INFO: Packet analysis {"connection_id":173517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:55] local.INFO: Extracted packet for processing {"connection_id":173517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755796992,"raw_latitude":117756808,"longitude_deg":75.5796992,"latitude_deg":11.7756808,"altitude":35,"angle":270,"satellites":15,"speed":9,"hex_longitude":"2d0c8c00","hex_latitude":"0704d388","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926667520001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30503003765080064,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904660605293768704,"note":"Value kept but may cause issues"} 
[2026-09-07 15:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788776047000,"timestamp_ms":1788776047000,"timestamp_seconds":1788776047,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c6198"} 
[2026-09-07 15: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-07 15:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":174,"data_length":795,"current_offset":136} 
[2026-09-07 15:44:55] 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-07 15: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-07 15: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-07 15:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173517,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926667520001,"66":14461,"95":206,"94":10240,"24":9,"16":30503003765080064,"45":904660605293768704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 15:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926667520001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:44:55] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 15:44:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30503003765080064,"km_value":30503003765080.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":904660605293768704,"description":"Unknown IO ID 45"} 
[2026-09-07 15:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926667520001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":904660605293768704}} 
[2026-09-07 15:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":173517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:44:55] local.INFO: GPS data processed {"connection_id":173517,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:44:55] local.INFO: Acknowledgment sent {"connection_id":173517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:05] local.INFO: TCP Data received {"connection_id":174858,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:05] local.INFO: Processing buffer {"connection_id":174858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:05] local.INFO: Packet analysis {"connection_id":174858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:05] local.INFO: Extracted packet for processing {"connection_id":174858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:45:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:45:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":174858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:05] local.INFO: GPS data processed {"connection_id":174858,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:05] local.INFO: Acknowledgment sent {"connection_id":174858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:17] local.INFO: TCP Data received {"connection_id":173764,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:17] local.INFO: Processing buffer {"connection_id":173764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:17] local.INFO: Packet analysis {"connection_id":173764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:45:17] local.INFO: Extracted packet for processing {"connection_id":173764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":173764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:17] local.INFO: GPS data processed {"connection_id":173764,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:17] local.INFO: Acknowledgment sent {"connection_id":173764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:21] local.INFO: TCP Data received {"connection_id":173518,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5ca400012cc2e6c0076456100055014129..."} 
[2026-09-07 15:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5ca400012cc2e6c0076456100055014129..."} 
[2026-09-07 15:45:21] local.INFO: Processing buffer {"connection_id":173518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5ca400012cc2e6c0076456100055014129..."} 
[2026-09-07 15:45:21] local.INFO: Packet analysis {"connection_id":173518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:21] local.INFO: Extracted packet for processing {"connection_id":173518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:21] local.INFO: GPS Element Parsed {"raw_longitude":750970560,"raw_latitude":124016144,"longitude_deg":75.097056,"latitude_deg":12.4016144,"altitude":85,"angle":321,"satellites":41,"speed":7,"hex_longitude":"2cc2e6c0","hex_latitude":"07645610","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926672128001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401598902672818176,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402479710239105024,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776064000,"timestamp_ms":1788776064000,"timestamp_seconds":1788776064,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5ca400"} 
[2026-09-07 15: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-07 15:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:45: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-07 15:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926672128001,"66":27767,"158":206,"85":37120,"24":7,"16":401598902672818176,"44":-4402479710239105024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926672128001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401598902672818176,"km_value":401598902672818.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402479710239105024,"description":"Unknown IO ID 44"} 
[2026-09-07 15:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926672128001,"power":27767,"unknown_158":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4402479710239105024}} 
[2026-09-07 15:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":173518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:21] local.INFO: GPS data processed {"connection_id":173518,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:21] local.INFO: Acknowledgment sent {"connection_id":173518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:27] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:27] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:27] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:45:33] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:33] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:45:33] local.INFO: IMEI packet received {"connection_id":174859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":174859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:33] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:33] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:45:33] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:33] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:33] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:45: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-07 15:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:45:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:45:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:33] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:33] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:37] local.INFO: TCP Data received {"connection_id":174860,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:37] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:37] local.INFO: IMEI packet received {"connection_id":174860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":174860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:45:41] local.INFO: TCP Data received {"connection_id":174860,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: IMEI packet received {"connection_id":174860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:41] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:41] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:41] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:45:41] local.INFO: TCP Data received {"connection_id":174860,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:45:41] local.INFO: IMEI packet received {"connection_id":174860,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174860,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:42] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:42] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:42] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:45:42] local.INFO: TCP Data received {"connection_id":174860,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5d6f20012d0bbb800704bb18001e010f0f..."} 
[2026-09-07 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5d6f20012d0bbb800704bb18001e010f0f..."} 
[2026-09-07 15:45:42] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5d6f20012d0bbb800704bb18001e010f0f..."} 
[2026-09-07 15:45:42] local.INFO: Packet analysis {"connection_id":174860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:45:42] local.INFO: Extracted packet for processing {"connection_id":174860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:45:42] local.INFO: GPS Element Parsed {"raw_longitude":755743616,"raw_latitude":117750552,"longitude_deg":75.5743616,"latitude_deg":11.7750552,"altitude":30,"angle":271,"satellites":15,"speed":28,"hex_longitude":"2d0bbb80","hex_latitude":"0704bb18","is_valid_coordinates":true} 
[2026-09-07 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926685184001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30505589335392256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846958235066499072,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788776116000,"timestamp_ms":1788776116000,"timestamp_seconds":1788776116,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5d6f20"} 
[2026-09-07 15:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:45: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-07 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926685184001,"66":14515,"96":206,"94":10240,"24":28,"16":30505589335392256,"45":846958235066499072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 15:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926685184001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:42] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 15:45:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30505589335392256,"km_value":30505589335392.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":846958235066499072,"description":"Unknown IO ID 45"} 
[2026-09-07 15:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926685184001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":846958235066499072}} 
[2026-09-07 15:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":174860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779363,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:43] local.INFO: GPS data processed {"connection_id":174860,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:43] local.INFO: Acknowledgment sent {"connection_id":174860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:45] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:45] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:45] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:45] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:45] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:45:45] local.INFO: IMEI packet received {"connection_id":176257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:46] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:46] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5915d8012d196500071ff0200040011f21..."} 
[2026-09-07 15:45:46] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:45:46] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b59"} 
[2026-09-07 15:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926535680001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788775831000,"timestamp_ms":1788775831000,"timestamp_seconds":1788775831,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5915d8"} 
[2026-09-07 15: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-07 15:45:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926535680001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926535680001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926535680001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:46] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:46] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:45:49] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:49] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:45:49] local.INFO: IMEI packet received {"connection_id":176258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":176258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:45:50] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5cabd0012cc2e540076458100056015728..."} 
[2026-09-07 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5cabd0012cc2e540076458100056015728..."} 
[2026-09-07 15:45:50] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5cabd0012cc2e540076458100056015728..."} 
[2026-09-07 15:45:50] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:50] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:45:50] local.INFO: GPS Element Parsed {"raw_longitude":750970176,"raw_latitude":124016656,"longitude_deg":75.0970176,"latitude_deg":12.4016656,"altitude":86,"angle":343,"satellites":40,"speed":10,"hex_longitude":"2cc2e540","hex_latitude":"07645810","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926672384001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401598932737589248,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402620447727415296,"note":"Value kept but may cause issues"} 
[2026-09-07 15:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776066000,"timestamp_ms":1788776066000,"timestamp_seconds":1788776066,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5cabd0"} 
[2026-09-07 15: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-07 15:45: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-07 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:45:50] local.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-07 15:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926672384001,"66":27800,"158":206,"85":37120,"24":10,"16":401598932737589248,"44":-4402620447727415296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926672384001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:45:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401598932737589248,"km_value":401598932737589.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402620447727415296,"description":"Unknown IO ID 44"} 
[2026-09-07 15:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926672384001,"power":27800,"unknown_158":206,"unknown_85":37120,"ignition":10,"odometer":null,"unknown_44":-4402620447727415296}} 
[2026-09-07 15:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:45:50] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:45:50] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:05] local.INFO: TCP Data received {"connection_id":174859,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:05] local.INFO: Processing buffer {"connection_id":174859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:05] local.INFO: Packet analysis {"connection_id":174859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:05] local.INFO: Extracted packet for processing {"connection_id":174859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:46:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:05] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":174859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:05] local.INFO: GPS data processed {"connection_id":174859,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:05] local.INFO: Acknowledgment sent {"connection_id":174859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:14] local.INFO: TCP Data received {"connection_id":174860,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5e3a40012d0b5dc00704ec60001d01540f..."} 
[2026-09-07 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5e3a40012d0b5dc00704ec60001d01540f..."} 
[2026-09-07 15:46:14] local.INFO: Processing buffer {"connection_id":174860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5e3a40012d0b5dc00704ec60001d01540f..."} 
[2026-09-07 15:46:14] local.INFO: Packet analysis {"connection_id":174860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:46:14] local.INFO: Extracted packet for processing {"connection_id":174860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":755719616,"raw_latitude":117763168,"longitude_deg":75.5719616,"latitude_deg":11.7763168,"altitude":29,"angle":340,"satellites":15,"speed":22,"hex_longitude":"2d0b5dc0","hex_latitude":"0704ec60","is_valid_coordinates":true} 
[2026-09-07 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926696960001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30507178473291776,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820007006048077824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788776168000,"timestamp_ms":1788776168000,"timestamp_seconds":1788776168,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5e3a40"} 
[2026-09-07 15:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":174860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":174860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":174860,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926696960001,"66":14396,"96":206,"94":10240,"24":22,"16":30507178473291776,"45":820007006048077824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 15:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926696960001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30507178473291776,"km_value":30507178473291.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":820007006048077824,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926696960001,"power":14396,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":820007006048077824}} 
[2026-09-07 15:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":174860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:14] local.INFO: GPS data processed {"connection_id":174860,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:14] local.INFO: Acknowledgment sent {"connection_id":174860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:17] local.INFO: TCP Data received {"connection_id":176257,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:17] local.INFO: Processing buffer {"connection_id":176257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:17] local.INFO: Packet analysis {"connection_id":176257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:17] local.INFO: Extracted packet for processing {"connection_id":176257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:46:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":176257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:17] local.INFO: GPS data processed {"connection_id":176257,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:17] local.INFO: Acknowledgment sent {"connection_id":176257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:21] local.INFO: TCP Data received {"connection_id":176258,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5ce668012cc2d84007647b780057015324..."} 
[2026-09-07 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5ce668012cc2d84007647b780057015324..."} 
[2026-09-07 15:46:21] local.INFO: Processing buffer {"connection_id":176258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5ce668012cc2d84007647b780057015324..."} 
[2026-09-07 15:46:21] local.INFO: Packet analysis {"connection_id":176258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:21] local.INFO: Extracted packet for processing {"connection_id":176258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750966848,"raw_latitude":124025720,"longitude_deg":75.0966848,"latitude_deg":12.402572,"altitude":87,"angle":339,"satellites":36,"speed":38,"hex_longitude":"2cc2d840","hex_latitude":"07647b78","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926672896001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401599400889024512,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4403042660192350208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776081000,"timestamp_ms":1788776081000,"timestamp_seconds":1788776081,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5ce668"} 
[2026-09-07 15: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-07 15:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":152,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15: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-07 15:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926672896001,"66":27767,"158":206,"85":37120,"24":38,"16":401599400889024512,"44":-4403042660192350208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926672896001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:21] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401599400889024512,"km_value":401599400889024.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4403042660192350208,"description":"Unknown IO ID 44"} 
[2026-09-07 15:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926672896001,"power":27767,"unknown_158":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4403042660192350208}} 
[2026-09-07 15:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":176258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:21] local.INFO: GPS data processed {"connection_id":176258,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:21] local.INFO: Acknowledgment sent {"connection_id":176258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:33] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:33] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:33] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:46:38] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:38] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:46:38] local.INFO: IMEI packet received {"connection_id":173519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":173519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:46:38] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:38] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:38] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:46:39] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:39] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:39] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:39] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:39] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15: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-07 15:46:39] 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-07 15: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":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:39] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:46:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15: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-07 15:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:39] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:46:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:39] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:39] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:43] local.INFO: TCP Data received {"connection_id":173519,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:43] local.INFO: Processing buffer {"connection_id":173519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:46:43] local.INFO: Packet analysis {"connection_id":173519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:43] local.INFO: Extracted packet for processing {"connection_id":173519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:46:43] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:46:43] 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-07 15:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:46:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:46:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":173519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:43] local.INFO: GPS data processed {"connection_id":173519,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:43] local.INFO: Acknowledgment sent {"connection_id":173519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:44] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:44] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:44] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:46:45] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:45] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:45] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:46:45] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:45] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:45] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:46:47] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:47] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:46:47] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:46:49] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:49] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:46:49] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:46:50] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:50] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:46:50] local.INFO: IMEI packet received {"connection_id":176260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":176260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:46:51] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dbd40012cc2b3c0076540000058013f2c..."} 
[2026-09-07 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dbd40012cc2b3c0076540000058013f2c..."} 
[2026-09-07 15:46:51] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dbd40012cc2b3c0076540000058013f2c..."} 
[2026-09-07 15:46:51] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:51] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":750957504,"raw_latitude":124076032,"longitude_deg":75.0957504,"latitude_deg":12.4076032,"altitude":88,"angle":319,"satellites":44,"speed":23,"hex_longitude":"2cc2b3c0","hex_latitude":"07654000","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926690304001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401601934919729152,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4416271984082765824,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788776136000,"timestamp_ms":1788776136000,"timestamp_seconds":1788776136,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dbd40"} 
[2026-09-07 15: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-07 15:46:51] 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-07 15: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:46:51] local.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-07 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926690304001,"66":27876,"159":206,"85":37120,"24":23,"16":401601934919729152,"44":-4416271984082765824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926690304001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401601934919729152,"km_value":401601934919729.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4416271984082765824,"description":"Unknown IO ID 44"} 
[2026-09-07 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926690304001,"power":27876,"unknown_159":206,"unknown_85":37120,"ignition":23,"odometer":null,"unknown_44":-4416271984082765824}} 
[2026-09-07 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:51] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:51] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:51] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:51] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:51] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:51] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46: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-07 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:46:51] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:51] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:51] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:46:55] local.INFO: TCP Data received {"connection_id":176260,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:55] local.INFO: Processing buffer {"connection_id":176260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:46:55] local.INFO: Packet analysis {"connection_id":176260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:55] local.INFO: Extracted packet for processing {"connection_id":176260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:46: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-07 15: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-07 15: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-07 15: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-07 15: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-07 15:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":176260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:46:56] local.INFO: GPS data processed {"connection_id":176260,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:46:56] local.INFO: Acknowledgment sent {"connection_id":176260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:03] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 15:47:03] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 15:47:03] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:05] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5e4210012d0b5c000704ef88001d01420f..."} 
[2026-09-07 15:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5e4210012d0b5c000704ef88001d01420f..."} 
[2026-09-07 15:47:05] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07b..."} 
[2026-09-07 15:47:05] local.INFO: IMEI packet received {"connection_id":173520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":173520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:06] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5ee238012d0b2f0007051178002000190f..."} 
[2026-09-07 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5ee238012d0b2f0007051178002000190f..."} 
[2026-09-07 15:47:06] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b5e4210012d0b5c000704ef88001d01420f..."} 
[2026-09-07 15:47:06] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:06] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":755719168,"raw_latitude":117763976,"longitude_deg":75.5719168,"latitude_deg":11.7763976,"altitude":29,"angle":322,"satellites":15,"speed":16,"hex_longitude":"2d0b5c00","hex_latitude":"0704ef88","is_valid_coordinates":true} 
[2026-09-07 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926699008001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30507225717932032,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819021843631202304,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788776170000,"timestamp_ms":1788776170000,"timestamp_seconds":1788776170,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5e4210"} 
[2026-09-07 15:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926699008001,"66":14548,"96":206,"94":10240,"24":16,"16":30507225717932032,"45":819021843631202304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926699008001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30507225717932032,"km_value":30507225717932.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":819021843631202304,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926699008001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":819021843631202304}} 
[2026-09-07 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:06] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:06] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:06] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:06] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":755707648,"raw_latitude":117772664,"longitude_deg":75.5707648,"latitude_deg":11.7772664,"altitude":32,"angle":25,"satellites":15,"speed":27,"hex_longitude":"2d0b2f00","hex_latitude":"07051178","is_valid_coordinates":true} 
[2026-09-07 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926709504001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30508153430867968,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805229569774489600,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788776211000,"timestamp_ms":1788776211000,"timestamp_seconds":1788776211,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5ee238"} 
[2026-09-07 15:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926709504001,"66":14548,"96":206,"94":10240,"24":27,"16":30508153430867968,"45":805229569774489600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 15:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926709504001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30508153430867968,"km_value":30508153430867.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":805229569774489600,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926709504001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":805229569774489600}} 
[2026-09-07 15:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:06] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:06] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:07] local.INFO: TCP Data received {"connection_id":173520,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5eedf0012d0b32c007051808002100250f..."} 
[2026-09-07 15:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5eedf0012d0b32c007051808002100250f..."} 
[2026-09-07 15:47:07] local.INFO: Processing buffer {"connection_id":173520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5eedf0012d0b32c007051808002100250f..."} 
[2026-09-07 15:47:07] local.INFO: Packet analysis {"connection_id":173520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:07] local.INFO: Extracted packet for processing {"connection_id":173520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":755708608,"raw_latitude":117774344,"longitude_deg":75.5708608,"latitude_deg":11.7774344,"altitude":33,"angle":37,"satellites":15,"speed":23,"hex_longitude":"2d0b32c0","hex_latitude":"07051808","is_valid_coordinates":true} 
[2026-09-07 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926710016001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30508247920148480,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805862888472410112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788776214000,"timestamp_ms":1788776214000,"timestamp_seconds":1788776214,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5eedf0"} 
[2026-09-07 15:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926710016001,"66":14515,"96":206,"94":10240,"24":23,"16":30508247920148480,"45":805862888472410112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 15:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926710016001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 15:47:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30508247920148480,"km_value":30508247920148.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":805862888472410112,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926710016001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":805862888472410112}} 
[2026-09-07 15:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":173520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:07] local.INFO: GPS data processed {"connection_id":173520,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:07] local.INFO: Acknowledgment sent {"connection_id":173520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:21] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dec20012cc29cc007655cf0005501422d..."} 
[2026-09-07 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dec20012cc29cc007655cf0005501422d..."} 
[2026-09-07 15:47:21] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dec20012cc29cc007655cf0005501422d..."} 
[2026-09-07 15:47:21] local.INFO: Packet analysis {"connection_id":173765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:47:21] local.INFO: Extracted packet for processing {"connection_id":173765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":750951616,"raw_latitude":124083440,"longitude_deg":75.0951616,"latitude_deg":12.408344,"altitude":85,"angle":322,"satellites":45,"speed":38,"hex_longitude":"2cc29cc0","hex_latitude":"07655cf0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926690816001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401602390186262528,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4416975671524327424,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776148000,"timestamp_ms":1788776148000,"timestamp_seconds":1788776148,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dec20"} 
[2026-09-07 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-07 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:47: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-07 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926690816001,"66":28017,"159":206,"85":37120,"24":38,"16":401602390186262528,"44":-4416975671524327424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926690816001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:21] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 15:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401602390186262528,"km_value":401602390186262.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4416975671524327424,"description":"Unknown IO ID 44"} 
[2026-09-07 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926690816001,"power":28017,"unknown_159":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4416975671524327424}} 
[2026-09-07 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":173765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:21] local.INFO: GPS data processed {"connection_id":173765,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:21] local.INFO: Acknowledgment sent {"connection_id":173765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:28] local.INFO: TCP Data received {"connection_id":173521,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:28] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:28] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:47:33] local.INFO: TCP Data received {"connection_id":173521,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:33] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:47:33] local.INFO: IMEI packet received {"connection_id":173521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":173521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:34] local.INFO: TCP Data received {"connection_id":173521,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:47:34] local.INFO: Processing buffer {"connection_id":173521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5c84c0012d7a18c005ec8420000700e125..."} 
[2026-09-07 15:47:34] local.INFO: Packet analysis {"connection_id":173521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:47:34] local.INFO: Extracted packet for processing {"connection_id":173521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5c"} 
[2026-09-07 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926593024001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720430080,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788776056000,"timestamp_ms":1788776056000,"timestamp_seconds":1788776056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5c84c0"} 
[2026-09-07 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:47:34] 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-07 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631262,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2217738247,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636142283670628,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221613700,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5990068979379470346,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796523970776663,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2665086976,"corrected_to":0} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3968094208,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2071662341980684298,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,100,87,24,241,157,16,158,160,233,45,192,132,7,33,10,66,221,240,88,227,123,236,4,113,205,25,136,32,239,1,52,2,203,5,122,54],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0},{"io_id":203,"original":2665086976,"validated":0}]} 
[2026-09-07 15:47:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504650690115665986,"timestamp_seconds":504650690115666.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926593024001,"66":2416,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8798274478720430080},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926593024001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:47:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720430080,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926593024001,"power":2416,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798274478720430080}} 
[2026-09-07 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":173521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:34] local.INFO: GPS data processed {"connection_id":173521,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:34] local.INFO: Acknowledgment sent {"connection_id":173521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:40] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:40] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:40] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:47:41] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:41] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:41] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:47:44] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:44] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:44] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:47:45] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:45] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:47:45] local.INFO: IMEI packet received {"connection_id":176261,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176261,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:45] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:45] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:47:45] local.INFO: IMEI packet received {"connection_id":173522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:46] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5f8260012d0b25c007056060002400010f..."} 
[2026-09-07 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5f8260012d0b25c007056060002400010f..."} 
[2026-09-07 15:47:46] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5f8260012d0b25c007056060002400010f..."} 
[2026-09-07 15:47:46] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:47:46] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117792864,"longitude_deg":75.570528,"latitude_deg":11.7792864,"altitude":36,"angle":1,"satellites":15,"speed":21,"hex_longitude":"2d0b25c0","hex_latitude":"07056060","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926720256001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30509420446220288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244942819328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776252000,"timestamp_ms":1788776252000,"timestamp_seconds":1788776252,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5f8260"} 
[2026-09-07 15: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-07 15:47: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-07 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926720256001,"66":14559,"165":206,"94":10240,"24":21,"16":30509420446220288,"45":803259244942819328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926720256001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30509420446220288,"km_value":30509420446220.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244942819328,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926720256001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":803259244942819328}} 
[2026-09-07 15:47:46] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:47:46] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:47:46] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:47:46] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:47:46] 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-07 15:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:46] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:46] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:46] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:46] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:47:46] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:46] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:46] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:49] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:49] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:47:49] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:47:50] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5e1330012cc2840007657a680053013d2c..."} 
[2026-09-07 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5e1330012cc2840007657a680053013d2c..."} 
[2026-09-07 15:47:50] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5e1330012cc2840007657a680053013d2c..."} 
[2026-09-07 15:47:50] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:50] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5e"} 
[2026-09-07 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":750945280,"raw_latitude":124090984,"longitude_deg":75.094528,"latitude_deg":12.4090984,"altitude":83,"angle":317,"satellites":44,"speed":40,"hex_longitude":"2cc28400","hex_latitude":"07657a68","is_valid_coordinates":true} 
[2026-09-07 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926693888001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401602862632665088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4423449595986776064,"note":"Value kept but may cause issues"} 
[2026-09-07 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776158000,"timestamp_ms":1788776158000,"timestamp_seconds":1788776158,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5e1330"} 
[2026-09-07 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15: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-07 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-09-07 15:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:47:50] local.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-07 15:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926693888001,"66":27908,"88":206,"85":37120,"24":40,"16":401602862632665088,"44":-4423449595986776064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 15:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926693888001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 15:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401602862632665088,"km_value":401602862632665.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4423449595986776064,"description":"Unknown IO ID 44"} 
[2026-09-07 15:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926693888001,"power":27908,"unknown_88":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4423449595986776064}} 
[2026-09-07 15:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:47:50] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:47:50] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:07] local.INFO: TCP Data received {"connection_id":174862,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:48:07] local.INFO: Processing buffer {"connection_id":174862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:48:07] local.INFO: IMEI packet received {"connection_id":174862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":174862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:48:17] local.INFO: TCP Data received {"connection_id":173522,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:17] local.INFO: Processing buffer {"connection_id":173522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:17] local.INFO: Packet analysis {"connection_id":173522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:48:17] local.INFO: TCP Data received {"connection_id":176261,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:17] local.INFO: Extracted packet for processing {"connection_id":173522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:48:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:17] local.INFO: Processing buffer {"connection_id":176261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:17] local.INFO: Packet analysis {"connection_id":176261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:17] local.INFO: Extracted packet for processing {"connection_id":176261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117802008,"longitude_deg":75.5705664,"latitude_deg":11.7802008,"altitude":36,"angle":342,"satellites":15,"speed":22,"hex_longitude":"2d0b2740","hex_latitude":"07058418","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926720512001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30509871417786368,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803259244943007744,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776263000,"timestamp_ms":1788776263000,"timestamp_seconds":1788776263,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5fad58"} 
[2026-09-07 15: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-07 15:48: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-07 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176261,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926720512001,"66":14396,"165":206,"94":10240,"24":22,"16":30509871417786368,"45":803259244943007744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 15:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926720512001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30509871417786368,"km_value":30509871417786.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":803259244943007744,"description":"Unknown IO ID 45"} 
[2026-09-07 15:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926720512001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":803259244943007744}} 
[2026-09-07 15:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":173522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:17] local.INFO: GPS data processed {"connection_id":173522,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:17] local.INFO: Acknowledgment sent {"connection_id":173522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":176261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779384,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:17] local.INFO: GPS data processed {"connection_id":176261,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:17] local.INFO: Acknowledgment sent {"connection_id":176261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:40] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:40] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:40] local.INFO: IMEI packet received {"connection_id":173523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":173523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:48:40] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:40] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:40] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:48:43] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5f6af0012cc162000766be400051012a2f..."} 
[2026-09-07 15:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5f6af0012cc162000766be400051012a2f..."} 
[2026-09-07 15:48:43] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5f6af0012cc162000766be400051012a2f..."} 
[2026-09-07 15:48:43] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:43] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":750871040,"raw_latitude":124173888,"longitude_deg":75.087104,"latitude_deg":12.4173888,"altitude":81,"angle":298,"satellites":47,"speed":60,"hex_longitude":"2cc16200","hex_latitude":"0766be40","is_valid_coordinates":true} 
[2026-09-07 15:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926717440001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401608334421000192,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4503247751862196224,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788776246000,"timestamp_ms":1788776246000,"timestamp_seconds":1788776246,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5f6af0"} 
[2026-09-07 15:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926717440001,"66":27865,"227":206,"85":37888,"24":60,"16":401608334421000192,"44":-4503247751862196224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-07 15:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926717440001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:43] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 15:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401608334421000192,"km_value":401608334421000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4503247751862196224,"description":"Unknown IO ID 44"} 
[2026-09-07 15:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926717440001,"power":27865,"unknown_227":206,"unknown_85":37888,"ignition":60,"odometer":null,"unknown_44":-4503247751862196224}} 
[2026-09-07 15:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:43] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:43] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:45] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:45] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:48:45] local.INFO: IMEI packet received {"connection_id":173523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:48:46] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:46] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:48:46] local.INFO: IMEI packet received {"connection_id":173524,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":173524,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:48:46] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:46] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:48:46] local.INFO: Packet analysis {"connection_id":173523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:48:46] local.INFO: Extracted packet for processing {"connection_id":173523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 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-07 15:48:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":173523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:46] local.INFO: GPS data processed {"connection_id":173523,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:46] local.INFO: Acknowledgment sent {"connection_id":173523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:46] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:46] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5fad58012d0b274007058418002401560f..."} 
[2026-09-07 15:48:46] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:46] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117802008,"longitude_deg":75.5705664,"latitude_deg":11.7802008,"altitude":36,"angle":342,"satellites":15,"speed":22,"hex_longitude":"2d0b2740","hex_latitude":"07058418","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926723328001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30509871417786368,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803681457410414592,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776263000,"timestamp_ms":1788776263000,"timestamp_seconds":1788776263,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5fad58"} 
[2026-09-07 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-07 15:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:46] 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-07 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-07 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-07 15:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926723328001,"66":14396,"165":206,"94":10240,"24":22,"16":30509871417786368,"45":803681457410414592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 15:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926723328001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30509871417786368,"km_value":30509871417786.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":803681457410414592,"description":"Unknown IO ID 45"} 
[2026-09-07 15:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926723328001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":803681457410414592}} 
[2026-09-07 15:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:46] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:46] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:48:47] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:47] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:47] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:48:49] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:49] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:49] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:48:54] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:54] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:48:54] local.INFO: IMEI packet received {"connection_id":176262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":176262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:48:56] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5f8260012cc142800766ce50004f01292e..."} 
[2026-09-07 15:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5f8260012cc142800766ce50004f01292e..."} 
[2026-09-07 15:48:56] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5f8260012cc142800766ce50004f01292e..."} 
[2026-09-07 15:48:56] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:56] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5f"} 
[2026-09-07 15:48:56] local.INFO: GPS Element Parsed {"raw_longitude":750862976,"raw_latitude":124178000,"longitude_deg":75.0862976,"latitude_deg":12.4178,"altitude":79,"angle":297,"satellites":46,"speed":59,"hex_longitude":"2cc14280","hex_latitude":"0766ce50","is_valid_coordinates":true} 
[2026-09-07 15:48: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-07 15:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926718976001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401608768212697088,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4512043844883300352,"note":"Value kept but may cause issues"} 
[2026-09-07 15:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788776252000,"timestamp_ms":1788776252000,"timestamp_seconds":1788776252,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5f8260"} 
[2026-09-07 15:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 15:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15:48: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-07 15:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:48:56] local.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-07 15:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926718976001,"66":27908,"42":206,"85":37888,"24":59,"16":401608768212697088,"44":-4512043844883300352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-07 15:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926718976001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:48:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 15:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401608768212697088,"km_value":401608768212697.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4512043844883300352,"description":"Unknown IO ID 44"} 
[2026-09-07 15:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926718976001,"power":27908,"unknown_42":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4512043844883300352}} 
[2026-09-07 15:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:48:56] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:48:56] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:17] local.INFO: TCP Data received {"connection_id":173523,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:17] local.INFO: Processing buffer {"connection_id":173523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:17] local.INFO: Packet analysis {"connection_id":173523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:49:17] local.INFO: Extracted packet for processing {"connection_id":173523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 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-07 15:49:17] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":173523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:17] local.INFO: GPS data processed {"connection_id":173523,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:17] local.INFO: Acknowledgment sent {"connection_id":173523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:18] local.INFO: TCP Data received {"connection_id":173524,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b610900012d0aa2c0070583a8002f01150e..."} 
[2026-09-07 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b610900012d0aa2c0070583a8002f01150e..."} 
[2026-09-07 15:49:18] local.INFO: Processing buffer {"connection_id":173524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b610900012d0aa2c0070583a8002f01150e..."} 
[2026-09-07 15:49:18] local.INFO: Packet analysis {"connection_id":173524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:49:18] local.INFO: Extracted packet for processing {"connection_id":173524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":755671744,"raw_latitude":117801896,"longitude_deg":75.5671744,"latitude_deg":11.7801896,"altitude":47,"angle":277,"satellites":14,"speed":14,"hex_longitude":"2d0aa2c0","hex_latitude":"070583a8","is_valid_coordinates":true} 
[2026-09-07 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926745600001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30511778383265792,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767230447926353920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788776352000,"timestamp_ms":1788776352000,"timestamp_seconds":1788776352,"priority":1,"record_length":96,"hex_timestamp":"000001a07b610900"} 
[2026-09-07 15:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173524,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926745600001,"66":14396,"165":206,"94":10240,"24":14,"16":30511778383265792,"45":767230447926353920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 15:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926745600001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 15:49:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30511778383265792,"km_value":30511778383265.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":767230447926353920,"description":"Unknown IO ID 45"} 
[2026-09-07 15:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926745600001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":767230447926353920}} 
[2026-09-07 15:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":173524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:18] local.INFO: GPS data processed {"connection_id":173524,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:18] local.INFO: Acknowledgment sent {"connection_id":173524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:27] local.INFO: TCP Data received {"connection_id":176262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6064f0012cc03680076791c0004b014b2e..."} 
[2026-09-07 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6064f0012cc03680076791c0004b014b2e..."} 
[2026-09-07 15:49:27] local.INFO: Processing buffer {"connection_id":176262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6064f0012cc03680076791c0004b014b2e..."} 
[2026-09-07 15:49:27] local.INFO: Packet analysis {"connection_id":176262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:27] local.INFO: Extracted packet for processing {"connection_id":176262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:27] local.INFO: GPS Element Parsed {"raw_longitude":750794368,"raw_latitude":124228032,"longitude_deg":75.0794368,"latitude_deg":12.4228032,"altitude":75,"angle":331,"satellites":46,"speed":55,"hex_longitude":"2cc03680","hex_latitude":"076791c0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926735360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401612869906464768,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4596345600394280960,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788776310000,"timestamp_ms":1788776310000,"timestamp_seconds":1788776310,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6064f0"} 
[2026-09-07 15: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-07 15:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:27] local.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-07 15:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926735360001,"66":27300,"42":206,"85":37888,"24":55,"16":401612869906464768,"44":-4596345600394280960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-09-07 15:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926735360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:27] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 15:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401612869906464768,"km_value":401612869906464.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4596345600394280960,"description":"Unknown IO ID 44"} 
[2026-09-07 15:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926735360001,"power":27300,"unknown_42":206,"unknown_85":37888,"ignition":55,"odometer":null,"unknown_44":-4596345600394280960}} 
[2026-09-07 15:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":176262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:27] local.INFO: GPS data processed {"connection_id":176262,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:27] local.INFO: Acknowledgment sent {"connection_id":176262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:40] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:40] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:40] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:49:40] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:40] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:40] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:49:41] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:41] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:41] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:49:45] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:45] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:49:45] local.INFO: IMEI packet received {"connection_id":176263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":176263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:49:46] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:46] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:49:46] local.INFO: IMEI packet received {"connection_id":176264,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":176264,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:49:46] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:46] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:49:46] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:49:46] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:49:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:46] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:46] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:47] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b610ce8012d0aa1c007058448002f01260e..."} 
[2026-09-07 15:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b610ce8012d0aa1c007058448002f01260e..."} 
[2026-09-07 15:49:47] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b610ce8012d0aa1c007058448002f01260e..."} 
[2026-09-07 15:49:47] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:49:47] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:49:47] local.INFO: GPS Element Parsed {"raw_longitude":755671488,"raw_latitude":117802056,"longitude_deg":75.5671488,"latitude_deg":11.7802056,"altitude":47,"angle":294,"satellites":14,"speed":12,"hex_longitude":"2d0aa1c0","hex_latitude":"07058448","is_valid_coordinates":true} 
[2026-09-07 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926746112001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30511795563134976,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766386022996224000,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788776353000,"timestamp_ms":1788776353000,"timestamp_seconds":1788776353,"priority":1,"record_length":96,"hex_timestamp":"000001a07b610ce8"} 
[2026-09-07 15:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:49: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-07 15:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926746112001,"66":14396,"153":206,"94":10240,"24":12,"16":30511795563134976,"45":766386022996224000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-07 15:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926746112001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30511795563134976,"km_value":30511795563134.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":766386022996224000,"description":"Unknown IO ID 45"} 
[2026-09-07 15:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926746112001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":766386022996224000}} 
[2026-09-07 15:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:47] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:47] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:52] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:52] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:52] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:49:53] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:53] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:49:53] local.INFO: IMEI packet received {"connection_id":174863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":174863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:49:54] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b608048012cc024400767b448004d014b2d..."} 
[2026-09-07 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b608048012cc024400767b448004d014b2d..."} 
[2026-09-07 15:49:54] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b608048012cc024400767b448004d014b2d..."} 
[2026-09-07 15:49:54] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:54] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":750789696,"raw_latitude":124236872,"longitude_deg":75.0789696,"latitude_deg":12.4236872,"altitude":77,"angle":331,"satellites":45,"speed":57,"hex_longitude":"2cc02440","hex_latitude":"0767b448","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926735360001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401613350942801920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4596345600394280960,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788776317000,"timestamp_ms":1788776317000,"timestamp_seconds":1788776317,"priority":1,"record_length":96,"hex_timestamp":"000001a07b608048"} 
[2026-09-07 15: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-07 15:49: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-07 15: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:54] local.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-07 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926735360001,"66":27995,"227":206,"85":37888,"24":57,"16":401613350942801920,"44":-4596345600394280960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926735360001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401613350942801920,"km_value":401613350942801.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4596345600394280960,"description":"Unknown IO ID 44"} 
[2026-09-07 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926735360001,"power":27995,"unknown_227":206,"unknown_85":37888,"ignition":57,"odometer":null,"unknown_44":-4596345600394280960}} 
[2026-09-07 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:54] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:54] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:49:54] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b609ba0012cc00f400767d640004f01432f..."} 
[2026-09-07 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b609ba0012cc00f400767d640004f01432f..."} 
[2026-09-07 15:49:54] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b609ba0012cc00f400767d640004f01432f..."} 
[2026-09-07 15:49:54] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:54] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:49:54] local.INFO: GPS Element Parsed {"raw_longitude":750784320,"raw_latitude":124245568,"longitude_deg":75.078432,"latitude_deg":12.4245568,"altitude":79,"angle":323,"satellites":47,"speed":59,"hex_longitude":"2cc00f40","hex_latitude":"0767d640","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926737152001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401613844864040960,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4601482518716987392,"note":"Value kept but may cause issues"} 
[2026-09-07 15:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788776324000,"timestamp_ms":1788776324000,"timestamp_seconds":1788776324,"priority":1,"record_length":96,"hex_timestamp":"000001a07b609ba0"} 
[2026-09-07 15: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-07 15:49: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-07 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 15:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:49:54] local.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-07 15:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926737152001,"66":27974,"227":206,"85":37888,"24":59,"16":401613844864040960,"44":-4601482518716987392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-07 15:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926737152001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401613844864040960,"km_value":401613844864040.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:49:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4601482518716987392,"description":"Unknown IO ID 44"} 
[2026-09-07 15:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926737152001,"power":27974,"unknown_227":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4601482518716987392}} 
[2026-09-07 15:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:49:54] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:49:54] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:50:17] local.INFO: TCP Data received {"connection_id":176263,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:17] local.INFO: Processing buffer {"connection_id":176263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:17] local.INFO: Packet analysis {"connection_id":176263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:50:17] local.INFO: Extracted packet for processing {"connection_id":176263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:50:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:50:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":176263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:50:17] local.INFO: GPS data processed {"connection_id":176263,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:50:17] local.INFO: Acknowledgment sent {"connection_id":176263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:50:18] local.INFO: TCP Data received {"connection_id":176264,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6114b8012d0a9f40070585d8002f01330f..."} 
[2026-09-07 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6114b8012d0a9f40070585d8002f01330f..."} 
[2026-09-07 15:50:18] local.INFO: Processing buffer {"connection_id":176264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6114b8012d0a9f40070585d8002f01330f..."} 
[2026-09-07 15:50:18] local.INFO: Packet analysis {"connection_id":176264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:50:18] local.INFO: Extracted packet for processing {"connection_id":176264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":755670848,"raw_latitude":117802456,"longitude_deg":75.5670848,"latitude_deg":11.7802456,"altitude":47,"angle":307,"satellites":15,"speed":14,"hex_longitude":"2d0a9f40","hex_latitude":"070585d8","is_valid_coordinates":true} 
[2026-09-07 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926746368001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30511829922873344,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766104548019554304,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788776355000,"timestamp_ms":1788776355000,"timestamp_seconds":1788776355,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6114b8"} 
[2026-09-07 15:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 15:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176264,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926746368001,"66":14548,"153":206,"94":10240,"24":14,"16":30511829922873344,"45":766104548019554304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-07 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926746368001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:50:18] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 15:50:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30511829922873344,"km_value":30511829922873.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":766104548019554304,"description":"Unknown IO ID 45"} 
[2026-09-07 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926746368001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":766104548019554304}} 
[2026-09-07 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":176264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:50:18] local.INFO: GPS data processed {"connection_id":176264,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:50:18] local.INFO: Acknowledgment sent {"connection_id":176264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:50:25] local.INFO: TCP Data received {"connection_id":174863,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b60b310012cbff8c00767f208004f014130..."} 
[2026-09-07 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b60b310012cbff8c00767f208004f014130..."} 
[2026-09-07 15:50:25] local.INFO: Processing buffer {"connection_id":174863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b60b310012cbff8c00767f208004f014130..."} 
[2026-09-07 15:50:25] local.INFO: Packet analysis {"connection_id":174863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:50:25] local.INFO: Extracted packet for processing {"connection_id":174863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b60"} 
[2026-09-07 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":750778560,"raw_latitude":124252680,"longitude_deg":75.077856,"latitude_deg":12.425268,"altitude":79,"angle":321,"satellites":48,"speed":60,"hex_longitude":"2cbff8c0","hex_latitude":"0767f208","is_valid_coordinates":true} 
[2026-09-07 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926738944001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401614282950705152,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4607393493225684992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788776330000,"timestamp_ms":1788776330000,"timestamp_seconds":1788776330,"priority":1,"record_length":96,"hex_timestamp":"000001a07b60b310"} 
[2026-09-07 15:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 15:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926738944001,"66":27876,"227":206,"85":37888,"24":60,"16":401614282950705152,"44":-4607393493225684992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,44]} 
[2026-09-07 15:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926738944001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:50:25] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 15:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401614282950705152,"km_value":401614282950705.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4607393493225684992,"description":"Unknown IO ID 44"} 
[2026-09-07 15:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926738944001,"power":27876,"unknown_227":206,"unknown_85":37888,"ignition":60,"odometer":null,"unknown_44":-4607393493225684992}} 
[2026-09-07 15:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":174863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:50:25] local.INFO: GPS data processed {"connection_id":174863,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:50:25] local.INFO: Acknowledgment sent {"connection_id":174863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:50:40] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:40] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:40] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:50:40] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:40] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:40] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:50:41] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:41] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:41] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:43] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:43] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:43] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:44] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:44] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:44] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:50:44] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:44] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:50:44] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:45] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:45] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:45] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:50:45] local.INFO: IMEI packet received {"connection_id":173525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:45] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:45] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:46] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:46] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b5dada0012d196500071ff0200040011f23..."} 
[2026-09-07 15:50:46] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:50:46] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b5d"} 
[2026-09-07 15:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926612736001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776132000,"timestamp_ms":1788776132000,"timestamp_seconds":1788776132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b5dada0"} 
[2026-09-07 15: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-07 15:50:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926612736001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926612736001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926612736001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:50:46] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:50:46] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:50:51] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:51] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:50:51] local.INFO: IMEI packet received {"connection_id":176265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":176265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:50:53] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b61bcb0012cbec5400768bab80047011d2c..."} 
[2026-09-07 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b61bcb0012cbec5400768bab80047011d2c..."} 
[2026-09-07 15:50:53] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b61bcb0012cbec5400768bab80047011d2c..."} 
[2026-09-07 15:50:53] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:50:53] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":750699840,"raw_latitude":124304056,"longitude_deg":75.069984,"latitude_deg":12.4304056,"altitude":71,"angle":285,"satellites":44,"speed":58,"hex_longitude":"2cbec540","hex_latitude":"0768bab8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926756096001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401618891450613760,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4689443448922441728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788776398000,"timestamp_ms":1788776398000,"timestamp_seconds":1788776398,"priority":1,"record_length":96,"hex_timestamp":"000001a07b61bcb0"} 
[2026-09-07 15: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-07 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 15:50:53] 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-07 15: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-07 15: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-07 15:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926756096001,"66":27919,"229":206,"85":37888,"24":58,"16":401618891450613760,"44":-4689443448922441728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 15:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926756096001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:50:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 15:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401618891450613760,"km_value":401618891450613.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:50:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4689443448922441728,"description":"Unknown IO ID 44"} 
[2026-09-07 15:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926756096001,"power":27919,"unknown_229":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4689443448922441728}} 
[2026-09-07 15:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:50:53] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:50:53] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:51:17] local.INFO: TCP Data received {"connection_id":173525,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:17] local.INFO: Processing buffer {"connection_id":173525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:17] local.INFO: Packet analysis {"connection_id":173525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:17] local.INFO: Extracted packet for processing {"connection_id":173525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:51:17] 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-07 15:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 15:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":173525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:51:17] local.INFO: GPS data processed {"connection_id":173525,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:51:17] local.INFO: Acknowledgment sent {"connection_id":173525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:51:25] local.INFO: TCP Data received {"connection_id":176265,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b61d038012cbea9800768c5500045012a2e..."} 
[2026-09-07 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b61d038012cbea9800768c5500045012a2e..."} 
[2026-09-07 15:51:25] local.INFO: Processing buffer {"connection_id":176265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b61d038012cbea9800768c5500045012a2e..."} 
[2026-09-07 15:51:25] local.INFO: Packet analysis {"connection_id":176265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:51:25] local.INFO: Extracted packet for processing {"connection_id":176265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750692736,"raw_latitude":124306768,"longitude_deg":75.0692736,"latitude_deg":12.4306768,"altitude":69,"angle":298,"satellites":46,"speed":59,"hex_longitude":"2cbea980","hex_latitude":"0768c550","is_valid_coordinates":true} 
[2026-09-07 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-07 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926757888001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401619256522833920,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4700280235525228544,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788776403000,"timestamp_ms":1788776403000,"timestamp_seconds":1788776403,"priority":1,"record_length":96,"hex_timestamp":"000001a07b61d038"} 
[2026-09-07 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-07 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926757888001,"66":27908,"229":206,"85":37888,"24":59,"16":401619256522833920,"44":-4700280235525228544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926757888001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:51:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 15:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401619256522833920,"km_value":401619256522833.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4700280235525228544,"description":"Unknown IO ID 44"} 
[2026-09-07 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926757888001,"power":27908,"unknown_229":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4700280235525228544}} 
[2026-09-07 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":176265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:51:25] local.INFO: GPS data processed {"connection_id":176265,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:51:25] local.INFO: Acknowledgment sent {"connection_id":176265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:51:43] local.INFO: TCP Data received {"connection_id":173771,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:43] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:43] local.INFO: IMEI packet received {"connection_id":173771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":173771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:51:44] local.INFO: TCP Data received {"connection_id":173771,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:44] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:44] local.INFO: IMEI packet received {"connection_id":173771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":173771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:51:45] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:45] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:45] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:51:49] local.INFO: TCP Data received {"connection_id":173771,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:49] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:51:49] local.INFO: IMEI packet received {"connection_id":173771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:51:50] local.INFO: TCP Data received {"connection_id":173771,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b61dfd8012cbe96000768d220004301352e..."} 
[2026-09-07 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b61dfd8012cbe96000768d220004301352e..."} 
[2026-09-07 15:51:50] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b61dfd8012cbe96000768d220004301352e..."} 
[2026-09-07 15:51:50] local.INFO: Packet analysis {"connection_id":173771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:51:50] local.INFO: Extracted packet for processing {"connection_id":173771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:51:50] local.INFO: GPS Element Parsed {"raw_longitude":750687744,"raw_latitude":124310048,"longitude_deg":75.0687744,"latitude_deg":12.4310048,"altitude":67,"angle":309,"satellites":46,"speed":59,"hex_longitude":"2cbe9600","hex_latitude":"0768d220","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926759168001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401619539990675456,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4708091166128254976,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776407000,"timestamp_ms":1788776407000,"timestamp_seconds":1788776407,"priority":1,"record_length":96,"hex_timestamp":"000001a07b61dfd8"} 
[2026-09-07 15: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-07 15:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:51:50] local.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-07 15:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926759168001,"66":27843,"229":206,"85":37888,"24":59,"16":401619539990675456,"44":-4708091166128254976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 15:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926759168001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:51:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 15:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401619539990675456,"km_value":401619539990675.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4708091166128254976,"description":"Unknown IO ID 44"} 
[2026-09-07 15:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926759168001,"power":27843,"unknown_229":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4708091166128254976}} 
[2026-09-07 15:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":173771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:51:50] local.INFO: GPS data processed {"connection_id":173771,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:51:50] local.INFO: Acknowledgment sent {"connection_id":173771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:51:50] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:50] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:51:50] local.INFO: IMEI packet received {"connection_id":173770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:51:51] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:51] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:51] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:51] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51: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-07 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 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-07 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 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-07 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:51] 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-07 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:51:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:51:51] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:51:51] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:51:55] local.INFO: TCP Data received {"connection_id":173770,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:55] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:51:55] local.INFO: Packet analysis {"connection_id":173770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:55] local.INFO: Extracted packet for processing {"connection_id":173770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15: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-07 15:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:51: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-07 15: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-07 15: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-07 15: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-07 15: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-07 15:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:51:55] 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-07 15:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:51:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":173770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:51:56] local.INFO: GPS data processed {"connection_id":173770,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:51:56] local.INFO: Acknowledgment sent {"connection_id":173770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:52:21] local.INFO: TCP Data received {"connection_id":173771,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b631088012cbdc800076a45e00045015c2e..."} 
[2026-09-07 15:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b631088012cbdc800076a45e00045015c2e..."} 
[2026-09-07 15:52:21] local.INFO: Processing buffer {"connection_id":173771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b631088012cbdc800076a45e00045015c2e..."} 
[2026-09-07 15:52:21] local.INFO: Packet analysis {"connection_id":173771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:52:21] local.INFO: Extracted packet for processing {"connection_id":173771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:52:21] local.INFO: GPS Element Parsed {"raw_longitude":750635008,"raw_latitude":124405216,"longitude_deg":75.0635008,"latitude_deg":12.4405216,"altitude":69,"angle":348,"satellites":46,"speed":62,"hex_longitude":"2cbdc800","hex_latitude":"076a45e0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926778624001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401624981714239488,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4769452711028285440,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776485000,"timestamp_ms":1788776485000,"timestamp_seconds":1788776485,"priority":1,"record_length":96,"hex_timestamp":"000001a07b631088"} 
[2026-09-07 15: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-07 15:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:52: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-07 15:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926778624001,"66":27745,"2":206,"85":37888,"24":62,"16":401624981714239488,"44":-4769452711028285440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926778624001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401624981714239488,"km_value":401624981714239.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4769452711028285440,"description":"Unknown IO ID 44"} 
[2026-09-07 15:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926778624001,"power":27745,"power_alt":206,"unknown_85":37888,"ignition":62,"odometer":null,"unknown_44":-4769452711028285440}} 
[2026-09-07 15:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":173771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:52:21] local.INFO: GPS data processed {"connection_id":173771,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:52:21] local.INFO: Acknowledgment sent {"connection_id":173771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:52:40] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:40] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:40] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:52:45] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:52:45] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:52:45] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:52:45] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:45] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:52:45] local.INFO: IMEI packet received {"connection_id":176266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:52:46] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:52:46] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:52:46] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:52:46] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 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-07 15:52:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:52:46] 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-07 15:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:52:46] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:52:46] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:52:53] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:52:53] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:53] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:52:58] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:58] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:52:58] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:52:59] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b611c88012d7a18c005ec8420000700e121..."} 
[2026-09-07 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b611c88012d7a18c005ec8420000700e121..."} 
[2026-09-07 15:52:59] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b611c88012d7a18c005ec8420000700e121..."} 
[2026-09-07 15:52:59] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:52:59] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b61"} 
[2026-09-07 15:52:59] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926670336001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743715328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788776357000,"timestamp_ms":1788776357000,"timestamp_seconds":1788776357,"priority":1,"record_length":96,"hex_timestamp":"000001a07b611c88"} 
[2026-09-07 15:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-07 15:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:52:59] 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-07 15:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926670336001,"66":2253,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8797993003743715328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926670336001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:52:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:52:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743715328,"description":"Unknown IO ID 45"} 
[2026-09-07 15:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926670336001,"power":2253,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797993003743715328}} 
[2026-09-07 15:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:52:59] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:52:59] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:01] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 15:53:01] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 15:53:01] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:53:02] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6327f8012cbdc340076a68b0004501642f..."} 
[2026-09-07 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6327f8012cbdc340076a68b0004501642f..."} 
[2026-09-07 15:53:02] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 15:53:02] local.INFO: IMEI packet received {"connection_id":176268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":176268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:53:03] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b633f68012cbdc3c0076a8bb8004500022e..."} 
[2026-09-07 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b633f68012cbdc3c0076a8bb8004500022e..."} 
[2026-09-07 15:53:03] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b6327f8012cbdc340076a68b0004501642f..."} 
[2026-09-07 15:53:03] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750633792,"raw_latitude":124414128,"longitude_deg":75.0633792,"latitude_deg":12.4414128,"altitude":69,"angle":356,"satellites":47,"speed":59,"hex_longitude":"2cbdc340","hex_latitude":"076a68b0","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926780160001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401625419800903680,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771563773351305216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788776491000,"timestamp_ms":1788776491000,"timestamp_seconds":1788776491,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6327f8"} 
[2026-09-07 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:03] 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-07 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.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-07 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926780160001,"66":27919,"2":206,"85":37888,"24":59,"16":401625419800903680,"44":-4771563773351305216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926780160001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401625419800903680,"km_value":401625419800903.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771563773351305216,"description":"Unknown IO ID 44"} 
[2026-09-07 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926780160001,"power":27919,"power_alt":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4771563773351305216}} 
[2026-09-07 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:03] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:03] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:03] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750633920,"raw_latitude":124423096,"longitude_deg":75.063392,"latitude_deg":12.4423096,"altitude":69,"angle":2,"satellites":46,"speed":59,"hex_longitude":"2cbdc3c0","hex_latitude":"076a8bb8","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926781696001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401625853592600576,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772900779488399360,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788776497000,"timestamp_ms":1788776497000,"timestamp_seconds":1788776497,"priority":1,"record_length":96,"hex_timestamp":"000001a07b633f68"} 
[2026-09-07 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.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-07 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926781696001,"66":27919,"2":206,"85":37888,"24":59,"16":401625853592600576,"44":-4772900779488399360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926781696001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401625853592600576,"km_value":401625853592600.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772900779488399360,"description":"Unknown IO ID 44"} 
[2026-09-07 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926781696001,"power":27919,"power_alt":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4772900779488399360}} 
[2026-09-07 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:03] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:03] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:03] local.INFO: TCP Data received {"connection_id":176268,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6356d8012cbdc540076aaeb0004600032f..."} 
[2026-09-07 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6356d8012cbdc540076aaeb0004600032f..."} 
[2026-09-07 15:53:03] local.INFO: Processing buffer {"connection_id":176268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6356d8012cbdc540076aaeb0004600032f..."} 
[2026-09-07 15:53:03] local.INFO: Packet analysis {"connection_id":176268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: Extracted packet for processing {"connection_id":176268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":750634304,"raw_latitude":124432048,"longitude_deg":75.0634304,"latitude_deg":12.4432048,"altitude":70,"angle":3,"satellites":47,"speed":58,"hex_longitude":"2cbdc540","hex_latitude":"076aaeb0","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926783232001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401626287384297472,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772760041997748224,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788776503000,"timestamp_ms":1788776503000,"timestamp_seconds":1788776503,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6356d8"} 
[2026-09-07 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:03] local.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-07 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926783232001,"66":27908,"2":206,"85":37888,"24":58,"16":401626287384297472,"44":-4772760041997748224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926783232001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401626287384297472,"km_value":401626287384297.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772760041997748224,"description":"Unknown IO ID 44"} 
[2026-09-07 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926783232001,"power":27908,"power_alt":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4772760041997748224}} 
[2026-09-07 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":176268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:03] local.INFO: GPS data processed {"connection_id":176268,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:03] local.INFO: Acknowledgment sent {"connection_id":176268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:04] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b630ca0012d7a18c005ec8420000700e123..."} 
[2026-09-07 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b630ca0012d7a18c005ec8420000700e123..."} 
[2026-09-07 15:53:04] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b630ca0012d7a18c005ec8420000700e123..."} 
[2026-09-07 15:53:04] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:04] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b63"} 
[2026-09-07 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99386400,"longitude_deg":76.2976448,"latitude_deg":9.93864,"altitude":7,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7a18c0","hex_latitude":"05ec8420","is_valid_coordinates":true} 
[2026-09-07 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926747392001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129371673450250240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003743715328,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788776484000,"timestamp_ms":1788776484000,"timestamp_seconds":1788776484,"priority":1,"record_length":96,"hex_timestamp":"000001a07b630ca0"} 
[2026-09-07 15:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7936,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 15:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926747392001,"66":2253,"100":206,"87":13824,"24":0,"16":129371673450250240,"45":8797993003743715328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-09-07 15:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926747392001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:04] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-09-07 15:53:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 15:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129371673450250240,"km_value":129371673450250.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003743715328,"description":"Unknown IO ID 45"} 
[2026-09-07 15:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926747392001,"power":2253,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8797993003743715328}} 
[2026-09-07 15:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:04] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:04] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:17] local.INFO: TCP Data received {"connection_id":176266,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:17] local.INFO: Processing buffer {"connection_id":176266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:17] local.INFO: Packet analysis {"connection_id":176266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:53:17] local.INFO: Extracted packet for processing {"connection_id":176266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:53:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:53:17] 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-07 15:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":176266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:17] local.INFO: GPS data processed {"connection_id":176266,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:17] local.INFO: Acknowledgment sent {"connection_id":176266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:40] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:40] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:40] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:53:44] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:44] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:44] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:53:45] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:45] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:53:45] local.INFO: IMEI packet received {"connection_id":173526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:53:46] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:46] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:53:46] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:53:46] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:53:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:53:46] 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-07 15:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:46] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:46] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:46] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:46] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:46] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:53:49] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:49] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:53:49] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:53:50] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b646848012cbd3dc0076bf380003c01562d..."} 
[2026-09-07 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b646848012cbd3dc0076bf380003c01562d..."} 
[2026-09-07 15:53:50] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b646848012cbd3dc0076bf380003c01562d..."} 
[2026-09-07 15:53:50] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:53:50] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":750599616,"raw_latitude":124515200,"longitude_deg":75.0599616,"latitude_deg":12.45152,"altitude":60,"angle":342,"satellites":45,"speed":60,"hex_longitude":"2cbd3dc0","hex_latitude":"076bf380","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926801152001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401630844344598528,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4806466670437433344,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776573000,"timestamp_ms":1788776573000,"timestamp_seconds":1788776573,"priority":1,"record_length":96,"hex_timestamp":"000001a07b646848"} 
[2026-09-07 15: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-07 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:53:50] local.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-07 15:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926801152001,"66":27865,"105":206,"85":37888,"24":60,"16":401630844344598528,"44":-4806466670437433344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 15:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926801152001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 15:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401630844344598528,"km_value":401630844344598.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4806466670437433344,"description":"Unknown IO ID 44"} 
[2026-09-07 15:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926801152001,"power":27865,"unknown_105":206,"unknown_85":37888,"ignition":60,"odometer":null,"unknown_44":-4806466670437433344}} 
[2026-09-07 15:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:50] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:50] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:53:52] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:52] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:53:52] local.INFO: IMEI packet received {"connection_id":174868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-07 15:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":174868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:53:53] local.INFO: TCP Data received {"connection_id":174868,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b32c928012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b32c928012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:53:53] local.INFO: Processing buffer {"connection_id":174868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b32c928012b882a800b7c71d0002300d62a..."} 
[2026-09-07 15:53:53] local.INFO: Packet analysis {"connection_id":174868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:53:53] local.INFO: Extracted packet for processing {"connection_id":174868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b32"} 
[2026-09-07 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":730344064,"raw_latitude":192704976,"longitude_deg":73.0344064,"latitude_deg":19.2704976,"altitude":35,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2b882a80","hex_latitude":"0b7c71d0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457925893120001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3887576763072512,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:53] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8634948548708675584,"note":"Value kept but may cause issues"} 
[2026-09-07 15:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788773321000,"timestamp_ms":1788773321000,"timestamp_seconds":1788773321,"priority":1,"record_length":96,"hex_timestamp":"000001a07b32c928"} 
[2026-09-07 15: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-07 15: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-07 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 15:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 15:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-07 15:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-07 15:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-07 15:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457925893120001,"66":25147,"27":206,"234":55296,"24":0,"16":3887576763072512,"43":-8634948548708675584},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-07 15:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-07 15:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-07 15:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457925893120001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:53:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-07 15:53:53] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-07 15:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3887576763072512,"km_value":3887576763072.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:53:53] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8634948548708675584,"description":"Unknown IO ID 43"} 
[2026-09-07 15:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457925893120001,"power":25147,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8634948548708675584}} 
[2026-09-07 15:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":174868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:53:53] local.INFO: GPS data processed {"connection_id":174868,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:53:53] local.INFO: Acknowledgment sent {"connection_id":174868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:54:17] local.INFO: TCP Data received {"connection_id":173526,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:17] local.INFO: Processing buffer {"connection_id":173526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:17] local.INFO: Packet analysis {"connection_id":173526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:54:17] local.INFO: Extracted packet for processing {"connection_id":173526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:54:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":173526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:54:17] local.INFO: GPS data processed {"connection_id":173526,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:54:17] local.INFO: Acknowledgment sent {"connection_id":173526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:54:21] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b647fb8012cbd3640076c1628003a015e2d..."} 
[2026-09-07 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b647fb8012cbd3640076c1628003a015e2d..."} 
[2026-09-07 15:54:21] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b647fb8012cbd3640076c1628003a015e2d..."} 
[2026-09-07 15:54:21] local.INFO: Packet analysis {"connection_id":173773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:21] local.INFO: Extracted packet for processing {"connection_id":173773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":750597696,"raw_latitude":124524072,"longitude_deg":75.0597696,"latitude_deg":12.4524072,"altitude":58,"angle":350,"satellites":45,"speed":59,"hex_longitude":"2cbd3640","hex_latitude":"076c1628","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926802688001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401631282431262720,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4810477688853397504,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776579000,"timestamp_ms":1788776579000,"timestamp_seconds":1788776579,"priority":1,"record_length":96,"hex_timestamp":"000001a07b647fb8"} 
[2026-09-07 15: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-07 15:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 15:54: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-07 15: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-07 15: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-07 15:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54: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-07 15:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926802688001,"66":27919,"105":206,"85":37888,"24":59,"16":401631282431262720,"44":-4810477688853397504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 15:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926802688001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:54:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 15:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401631282431262720,"km_value":401631282431262.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4810477688853397504,"description":"Unknown IO ID 44"} 
[2026-09-07 15:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926802688001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4810477688853397504}} 
[2026-09-07 15:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":173773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:54:21] local.INFO: GPS data processed {"connection_id":173773,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:54:21] local.INFO: Acknowledgment sent {"connection_id":173773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:54:37] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.106.6.56","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:37] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176270,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-07 15:54:40] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:40] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:40] local.INFO: IMEI packet received {"connection_id":173527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":173527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:54:42] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.106.6.56","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:42] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:54:42] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176270,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-07 15:54:45] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:45] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:54:45] local.INFO: IMEI packet received {"connection_id":173527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:54:46] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:46] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:54:46] local.INFO: Packet analysis {"connection_id":173527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:54:46] local.INFO: Extracted packet for processing {"connection_id":173527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:54:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:54:46] 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-07 15:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:54:46] local.INFO: GPS data processed {"connection_id":173527,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:54:46] local.INFO: Acknowledgment sent {"connection_id":173527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:54:47] local.INFO: TCP Data received {"connection_id":173774,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:54:47] local.INFO: Processing buffer {"connection_id":173774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 15:54:47] local.INFO: IMEI packet received {"connection_id":173774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 15:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":173774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:54:48] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:48] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:48] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:54:49] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:49] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:49] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:54:54] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:54] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:54:54] local.INFO: IMEI packet received {"connection_id":176271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":176271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:54:55] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b649728012cbd3140076c38c80038015e2f..."} 
[2026-09-07 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b649728012cbd3140076c38c80038015e2f..."} 
[2026-09-07 15:54:55] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b649728012cbd3140076c38c80038015e2f..."} 
[2026-09-07 15:54:55] local.INFO: Packet analysis {"connection_id":176271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:55] local.INFO: Extracted packet for processing {"connection_id":176271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":750596416,"raw_latitude":124532936,"longitude_deg":75.0596416,"latitude_deg":12.4532936,"altitude":56,"angle":350,"satellites":47,"speed":59,"hex_longitude":"2cbd3140","hex_latitude":"076c38c8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926804224001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401631716222959616,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4812588751176456192,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788776585000,"timestamp_ms":1788776585000,"timestamp_seconds":1788776585,"priority":1,"record_length":96,"hex_timestamp":"000001a07b649728"} 
[2026-09-07 15: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-07 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54:55] local.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-07 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926804224001,"66":27876,"105":206,"85":37888,"24":59,"16":401631716222959616,"44":-4812588751176456192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926804224001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401631716222959616,"km_value":401631716222959.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4812588751176456192,"description":"Unknown IO ID 44"} 
[2026-09-07 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926804224001,"power":27876,"unknown_105":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4812588751176456192}} 
[2026-09-07 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":176271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:54:55] local.INFO: GPS data processed {"connection_id":176271,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:54:55] local.INFO: Acknowledgment sent {"connection_id":176271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:54:55] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b64ae98012cbd2bc0076c5b180038015f2f..."} 
[2026-09-07 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b64ae98012cbd2bc0076c5b180038015f2f..."} 
[2026-09-07 15:54:55] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b64ae98012cbd2bc0076c5b180038015f2f..."} 
[2026-09-07 15:54:55] local.INFO: Packet analysis {"connection_id":176271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:55] local.INFO: Extracted packet for processing {"connection_id":176271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b64"} 
[2026-09-07 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":750595008,"raw_latitude":124541720,"longitude_deg":75.0595008,"latitude_deg":12.454172,"altitude":56,"angle":351,"satellites":47,"speed":59,"hex_longitude":"2cbd2bc0","hex_latitude":"076c5b18","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926805760001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401632145719689216,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4813996126057740288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788776591000,"timestamp_ms":1788776591000,"timestamp_seconds":1788776591,"priority":1,"record_length":96,"hex_timestamp":"000001a07b64ae98"} 
[2026-09-07 15: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-07 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:54:55] local.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-07 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926805760001,"66":27887,"105":206,"85":37888,"24":59,"16":401632145719689216,"44":-4813996126057740288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926805760001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401632145719689216,"km_value":401632145719689.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4813996126057740288,"description":"Unknown IO ID 44"} 
[2026-09-07 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926805760001,"power":27887,"unknown_105":206,"unknown_85":37888,"ignition":59,"odometer":null,"unknown_44":-4813996126057740288}} 
[2026-09-07 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":176271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:54:55] local.INFO: GPS data processed {"connection_id":176271,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:54:55] local.INFO: Acknowledgment sent {"connection_id":176271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:55:12] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.106.6.56","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:12] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:12] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176270,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-07 15:55:17] local.INFO: TCP Data received {"connection_id":173527,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:17] local.INFO: Processing buffer {"connection_id":173527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:17] local.INFO: Packet analysis {"connection_id":173527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:55:17] local.INFO: Extracted packet for processing {"connection_id":173527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:55:17] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:55:17] 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-07 15:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":173527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:55:17] local.INFO: GPS data processed {"connection_id":173527,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:55:17] local.INFO: Acknowledgment sent {"connection_id":173527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:55:26] local.INFO: TCP Data received {"connection_id":176271,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b65e330012cbcf800076df9e0004600052b..."} 
[2026-09-07 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b65e330012cbcf800076df9e0004600052b..."} 
[2026-09-07 15:55:26] local.INFO: Processing buffer {"connection_id":176271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b65e330012cbcf800076df9e0004600052b..."} 
[2026-09-07 15:55:26] local.INFO: Packet analysis {"connection_id":176271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:26] local.INFO: Extracted packet for processing {"connection_id":176271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":750581760,"raw_latitude":124647904,"longitude_deg":75.058176,"latitude_deg":12.4647904,"altitude":70,"angle":5,"satellites":43,"speed":58,"hex_longitude":"2cbcf800","hex_latitude":"076df9e0","is_valid_coordinates":true} 
[2026-09-07 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-07 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926825728001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401637372694888448,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831377205842823168,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788776670000,"timestamp_ms":1788776670000,"timestamp_seconds":1788776670,"priority":1,"record_length":96,"hex_timestamp":"000001a07b65e330"} 
[2026-09-07 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-07 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 15:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:55: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-07 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926825728001,"66":27800,"107":206,"85":37888,"24":58,"16":401637372694888448,"44":-4831377205842823168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-07 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926825728001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:55:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-07 15:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401637372694888448,"km_value":401637372694888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831377205842823168,"description":"Unknown IO ID 44"} 
[2026-09-07 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926825728001,"power":27800,"unknown_107":206,"unknown_85":37888,"ignition":58,"odometer":null,"unknown_44":-4831377205842823168}} 
[2026-09-07 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":176271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:55:26] local.INFO: GPS data processed {"connection_id":176271,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:55:26] local.INFO: Acknowledgment sent {"connection_id":176271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:55:40] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:40] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:40] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:55:42] local.INFO: TCP Data received {"connection_id":176270,"ip":"42.106.6.56","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176270,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:42] local.INFO: Processing buffer {"connection_id":176270,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-09-07 15:55:42] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":176270,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-09-07 15:55:44] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: IMEI packet received {"connection_id":173776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:55:44] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:44] local.INFO: IMEI packet received {"connection_id":173776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:55:45] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:45] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:55:45] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:55:45] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:55:45] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:55:45] local.INFO: IMEI packet received {"connection_id":173528,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173528,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:55:46] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:46] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b624568012d196500071ff0200040011f1c..."} 
[2026-09-07 15:55:46] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:55:46] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b62"} 
[2026-09-07 15:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":28,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926689792001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776433000,"timestamp_ms":1788776433000,"timestamp_seconds":1788776433,"priority":1,"record_length":96,"hex_timestamp":"000001a07b624568"} 
[2026-09-07 15: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-07 15:55:46] 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-07 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 15:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:55:46] 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-07 15:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926689792001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926689792001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926689792001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:55:46] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b65f2d0012d0a4f8007057c180016013d14..."} 
[2026-09-07 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b65f2d0012d0a4f8007057c180016013d14..."} 
[2026-09-07 15:55:46] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b65f2d0012d0a4f8007057c180016013d14..."} 
[2026-09-07 15:55:46] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:46] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:46] local.INFO: GPS Element Parsed {"raw_longitude":755650432,"raw_latitude":117799960,"longitude_deg":75.5650432,"latitude_deg":11.779996,"altitude":22,"angle":317,"satellites":20,"speed":12,"hex_longitude":"2d0a4f80","hex_latitude":"07057c18","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926828288001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30515742638080000,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743164337417052160,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776674000,"timestamp_ms":1788776674000,"timestamp_seconds":1788776674,"priority":1,"record_length":96,"hex_timestamp":"000001a07b65f2d0"} 
[2026-09-07 15: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-07 15:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 15:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926828288001,"66":14537,"153":206,"94":10240,"24":12,"16":30515742638080000,"45":743164337417052160},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-07 15:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926828288001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30515742638080000,"km_value":30515742638080,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":743164337417052160,"description":"Unknown IO ID 45"} 
[2026-09-07 15:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926828288001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":743164337417052160}} 
[2026-09-07 15:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:55:46] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:55:46] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:55:46] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:55:46] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:55:49] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:49] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:55:49] local.INFO: IMEI packet received {"connection_id":173776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:55:50] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b65fe88012cbcfc80076e2110004800042d..."} 
[2026-09-07 15:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b65fe88012cbcfc80076e2110004800042d..."} 
[2026-09-07 15:55:50] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b65fe88012cbcfc80076e2110004800042d..."} 
[2026-09-07 15:55:50] local.INFO: Packet analysis {"connection_id":173776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:50] local.INFO: Extracted packet for processing {"connection_id":173776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b65"} 
[2026-09-07 15:55:50] local.INFO: GPS Element Parsed {"raw_longitude":750582912,"raw_latitude":124657936,"longitude_deg":75.0582912,"latitude_deg":12.4657936,"altitude":72,"angle":4,"satellites":45,"speed":56,"hex_longitude":"2cbcfc80","hex_latitude":"076e2110","is_valid_coordinates":true} 
[2026-09-07 15:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926827520001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401637862321160192,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830110568444993536,"note":"Value kept but may cause issues"} 
[2026-09-07 15:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776677000,"timestamp_ms":1788776677000,"timestamp_seconds":1788776677,"priority":1,"record_length":96,"hex_timestamp":"000001a07b65fe88"} 
[2026-09-07 15:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 15:55:50] 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-07 15:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:55:50] local.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-07 15:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926827520001,"66":27908,"107":206,"85":37888,"24":56,"16":401637862321160192,"44":-4830110568444993536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-07 15:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926827520001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:55:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-07 15:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401637862321160192,"km_value":401637862321160.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830110568444993536,"description":"Unknown IO ID 44"} 
[2026-09-07 15:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926827520001,"power":27908,"unknown_107":206,"unknown_85":37888,"ignition":56,"odometer":null,"unknown_44":-4830110568444993536}} 
[2026-09-07 15:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:55:50] local.INFO: GPS data processed {"connection_id":173776,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:55:50] local.INFO: Acknowledgment sent {"connection_id":173776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:17] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:17] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:17] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:17] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 15: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-07 15:56:17] 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-07 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:17] 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-07 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:17] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:17] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:17] local.INFO: TCP Data received {"connection_id":173528,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66f888012d0a2fc0070585100014010a16..."} 
[2026-09-07 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66f888012d0a2fc0070585100014010a16..."} 
[2026-09-07 15:56:17] local.INFO: Processing buffer {"connection_id":173528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66f888012d0a2fc0070585100014010a16..."} 
[2026-09-07 15:56:17] local.INFO: Packet analysis {"connection_id":173528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:17] local.INFO: Extracted packet for processing {"connection_id":173528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":755642304,"raw_latitude":117802256,"longitude_deg":75.5642304,"latitude_deg":11.7802256,"altitude":20,"angle":266,"satellites":22,"speed":13,"hex_longitude":"2d0a2fc0","hex_latitude":"07058510","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926844928001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30516240854286336,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":735212669325604864,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776741000,"timestamp_ms":1788776741000,"timestamp_seconds":1788776741,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66f888"} 
[2026-09-07 15: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-07 15:56: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-07 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173528,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926844928001,"66":14548,"177":206,"94":10240,"24":13,"16":30516240854286336,"45":735212669325604864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926844928001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30516240854286336,"km_value":30516240854286.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":735212669325604864,"description":"Unknown IO ID 45"} 
[2026-09-07 15:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926844928001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":735212669325604864}} 
[2026-09-07 15:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":173528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:18] local.INFO: GPS data processed {"connection_id":173528,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:18] local.INFO: Acknowledgment sent {"connection_id":173528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:21] local.INFO: TCP Data received {"connection_id":173776,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6619e0012cbcfd00076e46e0004a01632f..."} 
[2026-09-07 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6619e0012cbcfd00076e46e0004a01632f..."} 
[2026-09-07 15:56:21] local.INFO: Processing buffer {"connection_id":173776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6619e0012cbcfd00076e46e0004a01632f..."} 
[2026-09-07 15:56:21] local.INFO: Packet analysis {"connection_id":173776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:21] local.INFO: Extracted packet for processing {"connection_id":173776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:21] local.INFO: GPS Element Parsed {"raw_longitude":750583040,"raw_latitude":124667616,"longitude_deg":75.058304,"latitude_deg":12.4667616,"altitude":74,"angle":355,"satellites":47,"speed":53,"hex_longitude":"2cbcfd00","hex_latitude":"076e46e0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926829312001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401638334767562752,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828843931047227392,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788776684000,"timestamp_ms":1788776684000,"timestamp_seconds":1788776684,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6619e0"} 
[2026-09-07 15: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-07 15:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:56: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-07 15:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926829312001,"66":27876,"107":206,"85":37888,"24":53,"16":401638334767562752,"44":-4828843931047227392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-09-07 15:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926829312001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-07 15:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401638334767562752,"km_value":401638334767562.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828843931047227392,"description":"Unknown IO ID 44"} 
[2026-09-07 15:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926829312001,"power":27876,"unknown_107":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4828843931047227392}} 
[2026-09-07 15:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:21] local.INFO: GPS data processed {"connection_id":173776,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:21] local.INFO: Acknowledgment sent {"connection_id":173776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:40] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:40] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:40] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:56:43] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:43] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:43] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:56:45] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:45] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:45] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:56:45] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:45] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:45] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:56:46] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:46] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:56:46] local.INFO: IMEI packet received {"connection_id":173529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":173529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:56:46] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b67ac38012d09ea00070570f0001700df17..."} 
[2026-09-07 15:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b67ac38012d09ea00070570f0001700df17..."} 
[2026-09-07 15:56:46] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b67ac38012d09ea00070570f0001700df17..."} 
[2026-09-07 15:56:46] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:56:46] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:56:46] local.INFO: GPS Element Parsed {"raw_longitude":755624448,"raw_latitude":117797104,"longitude_deg":75.5624448,"latitude_deg":11.7797104,"altitude":23,"angle":223,"satellites":23,"speed":10,"hex_longitude":"2d09ea00","hex_latitude":"070570f0","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926857216001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30517237286699008,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714594627280291840,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776787000,"timestamp_ms":1788776787000,"timestamp_seconds":1788776787,"priority":1,"record_length":96,"hex_timestamp":"000001a07b67ac38"} 
[2026-09-07 15: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-07 15:56: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-07 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926857216001,"66":14613,"177":206,"94":10240,"24":10,"16":30517237286699008,"45":714594627280291840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926857216001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:56:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30517237286699008,"km_value":30517237286699.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":714594627280291840,"description":"Unknown IO ID 45"} 
[2026-09-07 15:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926857216001,"power":14613,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":714594627280291840}} 
[2026-09-07 15:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779430,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:46] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:46] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:47] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:47] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:56:47] local.INFO: IMEI packet received {"connection_id":173531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":173531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:56:48] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b670058012cbd2540076f5c60005801662d..."} 
[2026-09-07 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b670058012cbd2540076f5c60005801662d..."} 
[2026-09-07 15:56:48] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b670058012cbd2540076f5c60005801662d..."} 
[2026-09-07 15:56:48] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:56:48] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":750593344,"raw_latitude":124738656,"longitude_deg":75.0593344,"latitude_deg":12.4738656,"altitude":88,"angle":358,"satellites":45,"speed":53,"hex_longitude":"2cbd2540","hex_latitude":"076f5c60","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926845696001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401641994079698944,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817655300703002624,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788776743000,"timestamp_ms":1788776743000,"timestamp_seconds":1788776743,"priority":1,"record_length":96,"hex_timestamp":"000001a07b670058"} 
[2026-09-07 15: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-07 15:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:56: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-07 15:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926845696001,"66":27865,"63":206,"85":37888,"24":53,"16":401641994079698944,"44":-4817655300703002624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-07 15:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926845696001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:48] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 15:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401641994079698944,"km_value":401641994079698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817655300703002624,"description":"Unknown IO ID 44"} 
[2026-09-07 15:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926845696001,"power":27865,"unknown_63":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4817655300703002624}} 
[2026-09-07 15:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:48] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:48] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:50] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:50] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:56:50] local.INFO: IMEI packet received {"connection_id":173530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":173530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:56:51] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:51] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:51] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:51] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56: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-07 15:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 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-07 15:56:51] 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-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:51] 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-07 15:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:51] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:51] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:56:56] local.INFO: TCP Data received {"connection_id":173530,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:56] local.INFO: Processing buffer {"connection_id":173530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:56:56] local.INFO: Packet analysis {"connection_id":173530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:56] local.INFO: Extracted packet for processing {"connection_id":173530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:56: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-07 15:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:56: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-07 15:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 15:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:56:56] 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-07 15:56: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":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15:56: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-07 15:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:56:56] 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-07 15:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:56:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:56:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":173530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:56:56] local.INFO: GPS data processed {"connection_id":173530,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:56:56] local.INFO: Acknowledgment sent {"connection_id":173530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:18] local.INFO: TCP Data received {"connection_id":173529,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b683cc0012d09c600070566c00016009c17..."} 
[2026-09-07 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b683cc0012d09c600070566c00016009c17..."} 
[2026-09-07 15:57:18] local.INFO: Processing buffer {"connection_id":173529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b683cc0012d09c600070566c00016009c17..."} 
[2026-09-07 15:57:18] local.INFO: Packet analysis {"connection_id":173529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:18] local.INFO: Extracted packet for processing {"connection_id":173529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755615232,"raw_latitude":117794496,"longitude_deg":75.5615232,"latitude_deg":11.7794496,"altitude":22,"angle":156,"satellites":23,"speed":13,"hex_longitude":"2d09c600","hex_latitude":"070566c0","is_valid_coordinates":true} 
[2026-09-07 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926866688001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30517988905975808,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704109684397172736,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788776824000,"timestamp_ms":1788776824000,"timestamp_seconds":1788776824,"priority":1,"record_length":96,"hex_timestamp":"000001a07b683cc0"} 
[2026-09-07 15:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926866688001,"66":14407,"177":206,"94":10240,"24":13,"16":30517988905975808,"45":704109684397172736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926866688001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30517988905975808,"km_value":30517988905975.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":704109684397172736,"description":"Unknown IO ID 45"} 
[2026-09-07 15:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926866688001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":704109684397172736}} 
[2026-09-07 15:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":173529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779434,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:18] local.INFO: GPS data processed {"connection_id":173529,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:18] local.INFO: Acknowledgment sent {"connection_id":173529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:31] local.INFO: TCP Data received {"connection_id":173531,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b670828012cbd2380076f66d80058015930..."} 
[2026-09-07 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b670828012cbd2380076f66d80058015930..."} 
[2026-09-07 15:57:31] local.INFO: Processing buffer {"connection_id":173531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b670828012cbd2380076f66d80058015930..."} 
[2026-09-07 15:57:31] local.INFO: Packet analysis {"connection_id":173531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:57:31] local.INFO: Extracted packet for processing {"connection_id":173531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b67"} 
[2026-09-07 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":750592896,"raw_latitude":124741336,"longitude_deg":75.0592896,"latitude_deg":12.4741336,"altitude":88,"angle":345,"satellites":48,"speed":54,"hex_longitude":"2cbd2380","hex_latitude":"076f66d8","is_valid_coordinates":true} 
[2026-09-07 15:57: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-07 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926846208001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401642127223685120,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817373825725603840,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788776745000,"timestamp_ms":1788776745000,"timestamp_seconds":1788776745,"priority":1,"record_length":96,"hex_timestamp":"000001a07b670828"} 
[2026-09-07 15:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:57: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15:57: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-07 15:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:57:31] local.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-07 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926846208001,"66":27887,"63":206,"85":37888,"24":54,"16":401642127223685120,"44":-4817373825725603840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-07 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926846208001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 15:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401642127223685120,"km_value":401642127223685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817373825725603840,"description":"Unknown IO ID 44"} 
[2026-09-07 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926846208001,"power":27887,"unknown_63":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4817373825725603840}} 
[2026-09-07 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":173531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:31] local.INFO: GPS data processed {"connection_id":173531,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:31] local.INFO: Acknowledgment sent {"connection_id":173531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:40] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:40] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:40] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:57:40] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:40] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:40] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:57:45] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:45] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:45] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:57:45] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:45] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:57:45] local.INFO: IMEI packet received {"connection_id":173532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:57:46] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:46] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:57:46] local.INFO: IMEI packet received {"connection_id":176272,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":176272,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:57:46] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:57:46] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:57:46] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:57:46] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 15:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:57:46] 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-07 15:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:57:46] 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-07 15:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:46] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:46] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:47] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6840a8012d09c60007056580001600b017..."} 
[2026-09-07 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6840a8012d09c60007056580001600b017..."} 
[2026-09-07 15:57:47] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6840a8012d09c60007056580001600b017..."} 
[2026-09-07 15:57:47] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:47] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":755615232,"raw_latitude":117794176,"longitude_deg":75.5615232,"latitude_deg":11.7794176,"altitude":22,"angle":176,"satellites":23,"speed":13,"hex_longitude":"2d09c600","hex_latitude":"07056580","is_valid_coordinates":true} 
[2026-09-07 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-07 15:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926866944001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30518006085844992,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704250421885452288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788776825000,"timestamp_ms":1788776825000,"timestamp_seconds":1788776825,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6840a8"} 
[2026-09-07 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-07 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926866944001,"66":14428,"177":206,"94":10240,"24":13,"16":30518006085844992,"45":704250421885452288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926866944001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:57:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30518006085844992,"km_value":30518006085844.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":704250421885452288,"description":"Unknown IO ID 45"} 
[2026-09-07 15:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926866944001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":704250421885452288}} 
[2026-09-07 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:47] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:47] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:49] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:49] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:57:49] local.INFO: IMEI packet received {"connection_id":176273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:57:49] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b680228012cbcd2c00770b158005501542d..."} 
[2026-09-07 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b680228012cbcd2c00770b158005501542d..."} 
[2026-09-07 15:57:49] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b680228012cbcd2c00770b158005501542d..."} 
[2026-09-07 15:57:49] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:49] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":750572224,"raw_latitude":124825944,"longitude_deg":75.0572224,"latitude_deg":12.4825944,"altitude":85,"angle":340,"satellites":45,"speed":56,"hex_longitude":"2cbcd2c0","hex_latitude":"0770b158","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926861568001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401646383536275456,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4837147442819381248,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788776809000,"timestamp_ms":1788776809000,"timestamp_seconds":1788776809,"priority":1,"record_length":96,"hex_timestamp":"000001a07b680228"} 
[2026-09-07 15: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-07 15:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:49] 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-07 15: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-07 15: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-07 15:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:57:49] local.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-07 15:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926861568001,"66":27767,"196":206,"85":36608,"24":56,"16":401646383536275456,"44":-4837147442819381248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-09-07 15:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926861568001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-07 15:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 15:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401646383536275456,"km_value":401646383536275.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4837147442819381248,"description":"Unknown IO ID 44"} 
[2026-09-07 15:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926861568001,"power":27767,"unknown_196":206,"unknown_85":36608,"ignition":56,"odometer":null,"unknown_44":-4837147442819381248}} 
[2026-09-07 15:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:49] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:49] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:57:52] local.INFO: TCP Data received {"connection_id":174871,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:52] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:52] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:57:57] local.INFO: TCP Data received {"connection_id":174871,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:57] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:57:57] local.INFO: IMEI packet received {"connection_id":174871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":174871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:57:58] local.INFO: TCP Data received {"connection_id":174871,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b687b40012d7a070005ec4668000100b11d..."} 
[2026-09-07 15:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b687b40012d7a070005ec4668000100b11d..."} 
[2026-09-07 15:57:58] local.INFO: Processing buffer {"connection_id":174871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b687b40012d7a070005ec4668000100b11d..."} 
[2026-09-07 15:57:58] local.INFO: Packet analysis {"connection_id":174871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:58] local.INFO: Extracted packet for processing {"connection_id":174871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:57:58] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":99370600,"longitude_deg":76.2971904,"latitude_deg":9.93706,"altitude":1,"angle":177,"satellites":29,"speed":3,"hex_longitude":"2d7a0700","hex_latitude":"05ec4668","is_valid_coordinates":true} 
[2026-09-07 15:57: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-07 15:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926867712001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129372747192074240,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135461752832,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788776840000,"timestamp_ms":1788776840000,"timestamp_seconds":1788776840,"priority":1,"record_length":96,"hex_timestamp":"000001a07b687b40"} 
[2026-09-07 15:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:57:58] 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-07 15:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 15:57:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":28673,"corrected_to":0} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967338496,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":236,"raw_value":8703206292794319872,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-09-07 15:57:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":196851,"corrected_to":0} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728644,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2670919680,"corrected_to":0} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.WARNING: Large IO value detected {"io_id":102,"raw_value":1301541587142000645,"note":"Value kept but may cause issues"} 
[2026-09-07 15:57:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,130,9,24,241,16,159,160,246,45,128,89,5,36,10,66,100,87,113,192,116,157,90,64,1,240,110,227,123,236,4,205,182,255,200,31,239,52,2,203,3,138,102],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":246,"original":28673,"validated":0},{"io_id":205,"original":1147404494,"validated":0},{"io_id":200,"original":196851,"validated":0},{"io_id":203,"original":2670919680,"validated":0}]} 
[2026-09-07 15:57:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216349953810038784,"timestamp_seconds":216349953810038.78,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926867712001,"66":13222,"130":206,"9":25088,"24":3,"16":129372747192074240,"45":8792293135461752832},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926867712001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:57:58] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:57:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129372747192074240,"km_value":129372747192074.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135461752832,"description":"Unknown IO ID 45"} 
[2026-09-07 15:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926867712001,"power":13222,"unknown_130":206,"unknown_9":25088,"ignition":3,"odometer":null,"unknown_45":8792293135461752832}} 
[2026-09-07 15:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":174871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:57:58] local.INFO: GPS data processed {"connection_id":174871,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:57:58] local.INFO: Acknowledgment sent {"connection_id":174871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:17] local.INFO: TCP Data received {"connection_id":173532,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:17] local.INFO: Processing buffer {"connection_id":173532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:17] local.INFO: Packet analysis {"connection_id":173532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:58:17] local.INFO: Extracted packet for processing {"connection_id":173532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 15: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-07 15:58:17] 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-07 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:58:17] 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-07 15:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":173532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:17] local.INFO: GPS data processed {"connection_id":173532,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:17] local.INFO: Acknowledgment sent {"connection_id":173532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:18] local.INFO: TCP Data received {"connection_id":176272,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b684c60012d09c5c0070560b8001600bc17..."} 
[2026-09-07 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b684c60012d09c5c0070560b8001600bc17..."} 
[2026-09-07 15:58:18] local.INFO: Processing buffer {"connection_id":176272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b684c60012d09c5c0070560b8001600bc17..."} 
[2026-09-07 15:58:18] local.INFO: Packet analysis {"connection_id":176272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:18] local.INFO: Extracted packet for processing {"connection_id":176272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":755615168,"raw_latitude":117792952,"longitude_deg":75.5615168,"latitude_deg":11.7792952,"altitude":22,"angle":188,"satellites":23,"speed":20,"hex_longitude":"2d09c5c0","hex_latitude":"070560b8","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926867200001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30518066215387136,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704250421885370368,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788776828000,"timestamp_ms":1788776828000,"timestamp_seconds":1788776828,"priority":1,"record_length":96,"hex_timestamp":"000001a07b684c60"} 
[2026-09-07 15: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-07 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176272,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926867200001,"66":14374,"177":206,"94":10240,"24":20,"16":30518066215387136,"45":704250421885370368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926867200001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:18] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:58:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30518066215387136,"km_value":30518066215387.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":704250421885370368,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926867200001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":704250421885370368}} 
[2026-09-07 15:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":176272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:18] local.INFO: GPS data processed {"connection_id":176272,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:18] local.INFO: Acknowledgment sent {"connection_id":176272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:20] local.INFO: TCP Data received {"connection_id":176273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b682168012cbcc7400770d690004f015d2e..."} 
[2026-09-07 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b682168012cbcc7400770d690004f015d2e..."} 
[2026-09-07 15:58:20] local.INFO: Processing buffer {"connection_id":176273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b682168012cbcc7400770d690004f015d2e..."} 
[2026-09-07 15:58:20] local.INFO: Packet analysis {"connection_id":176273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:20] local.INFO: Extracted packet for processing {"connection_id":176273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":750569280,"raw_latitude":124835472,"longitude_deg":75.056928,"latitude_deg":12.4835472,"altitude":79,"angle":349,"satellites":46,"speed":53,"hex_longitude":"2cbcc740","hex_latitude":"0770d690","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926863104001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401646864572612608,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4840595511281887232,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788776817000,"timestamp_ms":1788776817000,"timestamp_seconds":1788776817,"priority":1,"record_length":96,"hex_timestamp":"000001a07b682168"} 
[2026-09-07 15: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-07 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:58:20] local.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-07 15:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926863104001,"66":27995,"158":206,"85":37888,"24":53,"16":401646864572612608,"44":-4840595511281887232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926863104001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:20] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401646864572612608,"km_value":401646864572612.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4840595511281887232,"description":"Unknown IO ID 44"} 
[2026-09-07 15:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926863104001,"power":27995,"unknown_158":206,"unknown_85":37888,"ignition":53,"odometer":null,"unknown_44":-4840595511281887232}} 
[2026-09-07 15:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":176273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:20] local.INFO: GPS data processed {"connection_id":176273,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:20] local.INFO: Acknowledgment sent {"connection_id":176273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:31] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:31] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:31] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:58:33] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:33] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:33] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:36] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:36] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:58:36] local.INFO: IMEI packet received {"connection_id":174872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":174872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:38] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b694660012d7a130005ec26780004008b1e..."} 
[2026-09-07 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b694660012d7a130005ec26780004008b1e..."} 
[2026-09-07 15:58:38] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b694660012d7a130005ec26780004008b1e..."} 
[2026-09-07 15:58:38] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:38] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99362424,"longitude_deg":76.2974976,"latitude_deg":9.9362424,"altitude":4,"angle":139,"satellites":30,"speed":15,"hex_longitude":"2d7a1300","hex_latitude":"05ec2678","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926883072001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373189573705728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795318991459270656,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788776892000,"timestamp_ms":1788776892000,"timestamp_seconds":1788776892,"priority":1,"record_length":96,"hex_timestamp":"000001a07b694660"} 
[2026-09-07 15: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-07 15:58:38] 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-07 15: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":252,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15: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-07 15: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-07 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926883072001,"66":13678,"130":206,"9":25088,"24":15,"16":129373189573705728,"45":8795318991459270656},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926883072001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:38] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:58:38] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373189573705728,"km_value":129373189573705.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795318991459270656,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926883072001,"power":13678,"unknown_130":206,"unknown_9":25088,"ignition":15,"odometer":null,"unknown_45":8795318991459270656}} 
[2026-09-07 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:38] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:38] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:39] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b695600012d7a160005ec2080000300961f..."} 
[2026-09-07 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b695600012d7a160005ec2080000300961f..."} 
[2026-09-07 15:58:39] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b695600012d7a160005ec2080000300961f..."} 
[2026-09-07 15:58:39] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:39] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99360896,"longitude_deg":76.2975744,"latitude_deg":9.9360896,"altitude":3,"angle":150,"satellites":31,"speed":19,"hex_longitude":"2d7a1600","hex_latitude":"05ec2080","is_valid_coordinates":true} 
[2026-09-07 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926884352001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373271178084352,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522621491200,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788776896000,"timestamp_ms":1788776896000,"timestamp_seconds":1788776896,"priority":1,"record_length":96,"hex_timestamp":"000001a07b695600"} 
[2026-09-07 15:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:58: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-07 15:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926884352001,"66":13059,"130":206,"9":25088,"24":19,"16":129373271178084352,"45":8796374522621491200},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926884352001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:39] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:58:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373271178084352,"km_value":129373271178084.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522621491200,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926884352001,"power":13059,"unknown_130":206,"unknown_9":25088,"ignition":19,"odometer":null,"unknown_45":8796374522621491200}} 
[2026-09-07 15:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:39] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:39] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:40] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:40] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:40] local.INFO: IMEI packet received {"connection_id":176275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:58:43] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:43] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:43] local.INFO: IMEI packet received {"connection_id":174873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:58:44] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:44] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:44] local.INFO: IMEI packet received {"connection_id":174873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":174873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:45] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:45] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:58:45] local.INFO: IMEI packet received {"connection_id":176275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":176275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:46] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:46] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:58:46] local.INFO: Packet analysis {"connection_id":176275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:58:46] local.INFO: Extracted packet for processing {"connection_id":176275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 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-07 15:58:46] 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-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:58:46] 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-07 15:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":176275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:46] local.INFO: GPS data processed {"connection_id":176275,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:46] local.INFO: Acknowledgment sent {"connection_id":176275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:50] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:50] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:50] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:58:56] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:56] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:58:56] local.INFO: IMEI packet received {"connection_id":173534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":173534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:56] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:56] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:58:56] local.INFO: IMEI packet received {"connection_id":174873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":174873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:58:57] local.INFO: TCP Data received {"connection_id":173534,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b696d70012d09c480070504c80012005917..."} 
[2026-09-07 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b696d70012d09c480070504c80012005917..."} 
[2026-09-07 15:58:57] local.INFO: Processing buffer {"connection_id":173534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b696d70012d09c480070504c80012005917..."} 
[2026-09-07 15:58:57] local.INFO: Packet analysis {"connection_id":173534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:57] local.INFO: Extracted packet for processing {"connection_id":173534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":755614848,"raw_latitude":117769416,"longitude_deg":75.5614848,"latitude_deg":11.7769416,"altitude":18,"angle":89,"satellites":23,"speed":10,"hex_longitude":"2d09c480","hex_latitude":"070504c8","is_valid_coordinates":true} 
[2026-09-07 15:58: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-07 15:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926885888001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30519337525706752,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702209728297842688,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788776902000,"timestamp_ms":1788776902000,"timestamp_seconds":1788776902,"priority":1,"record_length":96,"hex_timestamp":"000001a07b696d70"} 
[2026-09-07 15:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:58: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":212,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:58: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-07 15:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926885888001,"66":14461,"177":206,"94":10240,"24":10,"16":30519337525706752,"45":702209728297842688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926885888001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30519337525706752,"km_value":30519337525706.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":702209728297842688,"description":"Unknown IO ID 45"} 
[2026-09-07 15:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926885888001,"power":14461,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":702209728297842688}} 
[2026-09-07 15:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":173534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:57] local.INFO: GPS data processed {"connection_id":173534,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:57] local.INFO: Acknowledgment sent {"connection_id":173534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:58:57] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b68c960012cbcef8007714bd0003e00782e..."} 
[2026-09-07 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b68c960012cbcef8007714bd0003e00782e..."} 
[2026-09-07 15:58:57] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b68c960012cbcef8007714bd0003e00782e..."} 
[2026-09-07 15:58:57] local.INFO: Packet analysis {"connection_id":174873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:57] local.INFO: Extracted packet for processing {"connection_id":174873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b68"} 
[2026-09-07 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":750579584,"raw_latitude":124865488,"longitude_deg":75.0579584,"latitude_deg":12.4865488,"altitude":62,"angle":120,"satellites":46,"speed":16,"hex_longitude":"2cbcef80","hex_latitude":"07714bd0","is_valid_coordinates":true} 
[2026-09-07 15:58: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-07 15:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926875136001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401648685638746112,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833840111830571008,"note":"Value kept but may cause issues"} 
[2026-09-07 15:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788776860000,"timestamp_ms":1788776860000,"timestamp_seconds":1788776860,"priority":1,"record_length":96,"hex_timestamp":"000001a07b68c960"} 
[2026-09-07 15:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 15:58: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 15:58:57] 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-07 15:58: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-07 15:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:58:57] local.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-07 15:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926875136001,"66":27800,"132":206,"85":36608,"24":16,"16":401648685638746112,"44":-4833840111830571008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-09-07 15:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926875136001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 15:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401648685638746112,"km_value":401648685638746.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:58:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833840111830571008,"description":"Unknown IO ID 44"} 
[2026-09-07 15:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926875136001,"power":27800,"unknown_132":206,"unknown_85":36608,"ignition":16,"odometer":null,"unknown_44":-4833840111830571008}} 
[2026-09-07 15:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":174873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:58:57] local.INFO: GPS data processed {"connection_id":174873,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:58:57] local.INFO: Acknowledgment sent {"connection_id":174873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:12] local.INFO: TCP Data received {"connection_id":174872,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b696988012d7a18c005ec1710000200a11f..."} 
[2026-09-07 15:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b696988012d7a18c005ec1710000200a11f..."} 
[2026-09-07 15:59:12] local.INFO: Processing buffer {"connection_id":174872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b696988012d7a18c005ec1710000200a11f..."} 
[2026-09-07 15:59:12] local.INFO: Packet analysis {"connection_id":174872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:12] local.INFO: Extracted packet for processing {"connection_id":174872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:12] local.INFO: GPS Element Parsed {"raw_longitude":762976448,"raw_latitude":99358480,"longitude_deg":76.2976448,"latitude_deg":9.935848,"altitude":2,"angle":161,"satellites":31,"speed":16,"hex_longitude":"2d7a18c0","hex_latitude":"05ec1710","is_valid_coordinates":true} 
[2026-09-07 15:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926885376001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373391437168640,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947551232000,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788776901000,"timestamp_ms":1788776901000,"timestamp_seconds":1788776901,"priority":1,"record_length":96,"hex_timestamp":"000001a07b696988"} 
[2026-09-07 15:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303173028859144,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":130,"raw_value":57994161715412994,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963955200,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3221613635,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024840,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:12] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2682191872,"corrected_to":0} 
[2026-09-07 15:59:12] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,130,9,24,241,158,16,160,70,45,38,4,30,10,66,50,64,29,228,128,1,240,121,159,123,236,113,205,5,213,8,216,28,239,52,2,203],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":203,"original":2682191872,"validated":0}]} 
[2026-09-07 15:59:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216337842003181568,"timestamp_seconds":216337842003181.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 15:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926885376001,"66":13678,"130":206,"9":25088,"24":16,"16":129373391437168640,"45":8797218947551232000},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926885376001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:12] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:59:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373391437168640,"km_value":129373391437168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947551232000,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926885376001,"power":13678,"unknown_130":206,"unknown_9":25088,"ignition":16,"odometer":null,"unknown_45":8797218947551232000}} 
[2026-09-07 15:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":174872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:12] local.INFO: GPS data processed {"connection_id":174872,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:12] local.INFO: Acknowledgment sent {"connection_id":174872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:17] local.INFO: TCP Data received {"connection_id":176275,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:17] local.INFO: Processing buffer {"connection_id":176275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:17] local.INFO: Packet analysis {"connection_id":176275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:59:17] local.INFO: Extracted packet for processing {"connection_id":176275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 15: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-07 15:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 15: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-07 15:59:17] 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-07 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 15: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-07 15: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-07 15:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:59:17] 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-07 15:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":176275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:17] local.INFO: GPS data processed {"connection_id":176275,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:17] local.INFO: Acknowledgment sent {"connection_id":176275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:24] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:24] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:24] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:59:28] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:28] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:28] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:59:32] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:32] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 15:59:32] local.INFO: IMEI packet received {"connection_id":173535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 15:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":173535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:59:34] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b698cb0012d7a1d4005ec0ad0000000941c..."} 
[2026-09-07 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b698cb0012d7a1d4005ec0ad0000000941c..."} 
[2026-09-07 15:59:34] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b698cb0012d7a1d4005ec0ad0000000941c..."} 
[2026-09-07 15:59:34] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:34] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":762977600,"raw_latitude":99355344,"longitude_deg":76.29776,"latitude_deg":9.9355344,"altitude":0,"angle":148,"satellites":28,"speed":15,"hex_longitude":"2d7a1d40","hex_latitude":"05ec0ad0","is_valid_coordinates":true} 
[2026-09-07 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926886656001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373554645925888,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797993003736567808,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788776910000,"timestamp_ms":1788776910000,"timestamp_seconds":1788776910,"priority":1,"record_length":96,"hex_timestamp":"000001a07b698cb0"} 
[2026-09-07 15:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:34] 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-07 15:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926886656001,"66":13798,"130":206,"9":25088,"24":15,"16":129373554645925888,"45":8797993003736567808},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926886656001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:34] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:59:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373554645925888,"km_value":129373554645925.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797993003736567808,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926886656001,"power":13798,"unknown_130":206,"unknown_9":25088,"ignition":15,"odometer":null,"unknown_45":8797993003736567808}} 
[2026-09-07 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:34] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:34] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:36] local.INFO: TCP Data received {"connection_id":174873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b69b7a8012cbcba800771b0f80020011e2b..."} 
[2026-09-07 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b69b7a8012cbcba800771b0f80020011e2b..."} 
[2026-09-07 15:59:36] local.INFO: Processing buffer {"connection_id":174873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b69b7a8012cbcba800771b0f80020011e2b..."} 
[2026-09-07 15:59:36] local.INFO: Packet analysis {"connection_id":174873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:36] local.INFO: Extracted packet for processing {"connection_id":174873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":750566016,"raw_latitude":124891384,"longitude_deg":75.0566016,"latitude_deg":12.4891384,"altitude":32,"angle":286,"satellites":43,"speed":51,"hex_longitude":"2cbcba80","hex_latitude":"0771b0f8","is_valid_coordinates":true} 
[2026-09-07 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926889984001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401650949086511104,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4838343711452409856,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788776921000,"timestamp_ms":1788776921000,"timestamp_seconds":1788776921,"priority":1,"record_length":96,"hex_timestamp":"000001a07b69b7a8"} 
[2026-09-07 15:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 15:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 15:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 15:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 15:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926889984001,"66":27995,"158":206,"85":37888,"24":51,"16":401650949086511104,"44":-4838343711452409856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 15:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 15:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926889984001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 15:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401650949086511104,"km_value":401650949086511.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4838343711452409856,"description":"Unknown IO ID 44"} 
[2026-09-07 15:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926889984001,"power":27995,"unknown_158":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4838343711452409856}} 
[2026-09-07 15:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":174873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:36] local.INFO: GPS data processed {"connection_id":174873,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:36] local.INFO: Acknowledgment sent {"connection_id":174873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:40] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b699c50012d7a200005ec02f8000000a119..."} 
[2026-09-07 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b699c50012d7a200005ec02f8000000a119..."} 
[2026-09-07 15:59:40] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b699c50012d7a200005ec02f8000000a119..."} 
[2026-09-07 15:59:40] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:40] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":762978304,"raw_latitude":99353336,"longitude_deg":76.2978304,"latitude_deg":9.9353336,"altitude":0,"angle":161,"satellites":25,"speed":22,"hex_longitude":"2d7a2000","hex_latitude":"05ec02f8","is_valid_coordinates":true} 
[2026-09-07 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926888960001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373662020108288,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799259641130962944,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788776914000,"timestamp_ms":1788776914000,"timestamp_seconds":1788776914,"priority":1,"record_length":96,"hex_timestamp":"000001a07b699c50"} 
[2026-09-07 15:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:40] 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-07 15:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926888960001,"66":13656,"130":206,"9":25088,"24":22,"16":129373662020108288,"45":8799259641130962944},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926888960001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:40] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 15:59:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373662020108288,"km_value":129373662020108.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799259641130962944,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926888960001,"power":13656,"unknown_130":206,"unknown_9":25088,"ignition":22,"odometer":null,"unknown_45":8799259641130962944}} 
[2026-09-07 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:40] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:40] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:40] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:40] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:40] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:59:41] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:41] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:41] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 15:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:59:44] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:44] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:44] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 15:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 15:59:45] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:45] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 15:59:45] local.INFO: IMEI packet received {"connection_id":176277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":176277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:59:46] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:46] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 15:59:46] local.INFO: IMEI packet received {"connection_id":176276,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 15:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":176276,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 15:59:46] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:46] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 15:59:46] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:59:46] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 15:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 15:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 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-07 15:59:46] 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-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 15:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 15:59:46] 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-07 15:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 15:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 15:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 15:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 15:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 15:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 15:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 15:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 15:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:46] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:46] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:47] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6a5000012d09ee000704d2800016003716..."} 
[2026-09-07 15:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6a5000012d09ee000704d2800016003716..."} 
[2026-09-07 15:59:47] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6a5000012d09ee000704d2800016003716..."} 
[2026-09-07 15:59:47] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 15:59:47] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":755625472,"raw_latitude":117756544,"longitude_deg":75.5625472,"latitude_deg":11.7756544,"altitude":22,"angle":55,"satellites":22,"speed":20,"hex_longitude":"2d09ee00","hex_latitude":"0704d280","is_valid_coordinates":true} 
[2026-09-07 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 15:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926899712001,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30520458512171008,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":710091027642081280,"note":"Value kept but may cause issues"} 
[2026-09-07 15:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 15:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788776960000,"timestamp_ms":1788776960000,"timestamp_seconds":1788776960,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6a5000"} 
[2026-09-07 15:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 15:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 15:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 15:59:47] 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-07 15:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 15:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 15:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 15:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 15:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 15:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 15:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 15:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 15:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926899712001,"66":14428,"177":206,"94":10240,"24":20,"16":30520458512171008,"45":710091027642081280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-09-07 15:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 15:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926899712001,"description":"Unknown IO ID 0"} 
[2026-09-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 15:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30520458512171008,"km_value":30520458512171.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 15:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":710091027642081280,"description":"Unknown IO ID 45"} 
[2026-09-07 15:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926899712001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":710091027642081280}} 
[2026-09-07 15:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 15:59:48] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-07 15:59:48] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 15:59:49] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:49] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 15:59:49] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 15:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:12] local.INFO: TCP Data received {"connection_id":173535,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b69b7a8012d7a248005ebf5200000009119..."} 
[2026-09-07 16:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b69b7a8012d7a248005ebf5200000009119..."} 
[2026-09-07 16:00:12] local.INFO: Processing buffer {"connection_id":173535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b69b7a8012d7a248005ebf5200000009119..."} 
[2026-09-07 16:00:12] local.INFO: Packet analysis {"connection_id":173535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 16:00:12] local.INFO: Extracted packet for processing {"connection_id":173535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 16:00:12] local.INFO: GPS Element Parsed {"raw_longitude":762979456,"raw_latitude":99349792,"longitude_deg":76.2979456,"latitude_deg":9.9349792,"altitude":0,"angle":145,"satellites":25,"speed":11,"hex_longitude":"2d7a2480","hex_latitude":"05ebf520","is_valid_coordinates":true} 
[2026-09-07 16:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926889984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129373842408734720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800033697316403200,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788776921000,"timestamp_ms":1788776921000,"timestamp_seconds":1788776921,"priority":1,"record_length":96,"hex_timestamp":"000001a07b69b7a8"} 
[2026-09-07 16:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 16:00: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-07 16:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926889984001,"66":13461,"130":206,"9":25088,"24":11,"16":129373842408734720,"45":8800033697316403200},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,9,24,16,45]} 
[2026-09-07 16:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926889984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:12] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 16:00:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129373842408734720,"km_value":129373842408734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800033697316403200,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926889984001,"power":13461,"unknown_130":206,"unknown_9":25088,"ignition":11,"odometer":null,"unknown_45":8800033697316403200}} 
[2026-09-07 16:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":173535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:12] local.INFO: GPS data processed {"connection_id":173535,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:12] local.INFO: Acknowledgment sent {"connection_id":173535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:17] local.INFO: TCP Data received {"connection_id":174874,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:17] local.INFO: Processing buffer {"connection_id":174874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:17] local.INFO: IMEI packet received {"connection_id":174874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":174874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:17] local.INFO: TCP Data received {"connection_id":176277,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:17] local.INFO: Processing buffer {"connection_id":176277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:17] local.INFO: Packet analysis {"connection_id":176277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 16:00:17] local.INFO: Extracted packet for processing {"connection_id":176277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 16:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 16: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-07 16:00:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":176277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:17] local.INFO: GPS data processed {"connection_id":176277,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:17] local.INFO: Acknowledgment sent {"connection_id":176277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:19] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b69bf78012cbcb0000771b2c0001d01102b..."} 
[2026-09-07 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b69bf78012cbcb0000771b2c0001d01102b..."} 
[2026-09-07 16:00:19] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b69bf78012cbcb0000771b2c0001d01102b..."} 
[2026-09-07 16:00:19] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 16:00:19] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b69"} 
[2026-09-07 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":750563328,"raw_latitude":124891840,"longitude_deg":75.0563328,"latitude_deg":12.489184,"altitude":29,"angle":272,"satellites":43,"speed":54,"hex_longitude":"2cbcb000","hex_latitude":"0771b2c0","is_valid_coordinates":true} 
[2026-09-07 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926891776001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401651077935529984,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847421279450368000,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788776923000,"timestamp_ms":1788776923000,"timestamp_seconds":1788776923,"priority":1,"record_length":96,"hex_timestamp":"000001a07b69bf78"} 
[2026-09-07 16:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926891776001,"66":27821,"158":206,"85":37888,"24":54,"16":401651077935529984,"44":-4847421279450368000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 16:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926891776001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 16:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401651077935529984,"km_value":401651077935530.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4847421279450368000,"description":"Unknown IO ID 44"} 
[2026-09-07 16:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926891776001,"power":27821,"unknown_158":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4847421279450368000}} 
[2026-09-07 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:20] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:20] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:24] local.INFO: TCP Data received {"connection_id":176276,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b22f0012d0a5b800704e670001f00a117..."} 
[2026-09-07 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b22f0012d0a5b800704e670001f00a117..."} 
[2026-09-07 16:00:24] local.INFO: Processing buffer {"connection_id":176276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b22f0012d0a5b800704e670001f00a117..."} 
[2026-09-07 16:00:24] local.INFO: Packet analysis {"connection_id":176276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:24] local.INFO: Extracted packet for processing {"connection_id":176276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":755653504,"raw_latitude":117761648,"longitude_deg":75.5653504,"latitude_deg":11.7761648,"altitude":31,"angle":161,"satellites":23,"speed":1,"hex_longitude":"2d0a5b80","hex_latitude":"0704e670","is_valid_coordinates":true} 
[2026-09-07 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-07 16:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926912256001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30521931685953536,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746119824662841344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788777014000,"timestamp_ms":1788777014000,"timestamp_seconds":1788777014,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b22f0"} 
[2026-09-07 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-07 16:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176276,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926912256001,"66":14428,"153":206,"94":10240,"24":1,"16":30521931685953536,"45":746119824662841344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-09-07 16:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926912256001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:24] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 16:00:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30521931685953536,"km_value":30521931685953.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":746119824662841344,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926912256001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":746119824662841344}} 
[2026-09-07 16:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":176276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:24] local.INFO: GPS data processed {"connection_id":176276,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:24] local.INFO: Acknowledgment sent {"connection_id":176276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:27] local.INFO: TCP Data received {"connection_id":173536,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:27] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:27] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:40] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:40] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:40] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:44] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:44] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:44] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:45] local.INFO: TCP Data received {"connection_id":173536,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:45] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:00:45] local.INFO: IMEI packet received {"connection_id":173536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":173536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:45] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:45] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:00:45] local.INFO: IMEI packet received {"connection_id":173779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":173779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:46] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:46] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b66dd30012d196500071ff0200040011f23..."} 
[2026-09-07 16:00:46] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 16:00:46] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b66"} 
[2026-09-07 16:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926766848001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788776734000,"timestamp_ms":1788776734000,"timestamp_seconds":1788776734,"priority":1,"record_length":96,"hex_timestamp":"000001a07b66dd30"} 
[2026-09-07 16: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-07 16:00:46] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:00:46] 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-07 16:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926766848001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926766848001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926766848001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:46] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:46] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:47] local.INFO: TCP Data received {"connection_id":173536,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b2ac0012d7a564005eb9600000000631e..."} 
[2026-09-07 16:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b2ac0012d7a564005eb9600000000631e..."} 
[2026-09-07 16:00:47] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b2ac0012d7a564005eb9600000000631e..."} 
[2026-09-07 16:00:47] local.INFO: Packet analysis {"connection_id":173536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:47] local.INFO: Extracted packet for processing {"connection_id":173536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":762992192,"raw_latitude":99325440,"longitude_deg":76.2992192,"latitude_deg":9.932544,"altitude":0,"angle":99,"satellites":30,"speed":13,"hex_longitude":"2d7a5640","hex_latitude":"05eb9600","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926915840001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129375199618400256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814881502330769408,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788777016000,"timestamp_ms":1788777016000,"timestamp_seconds":1788777016,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b2ac0"} 
[2026-09-07 16: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-07 16:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:47] 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-07 16: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-07 16: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-07 16:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926915840001,"66":13624,"117":206,"9":25088,"24":13,"16":129375199618400256,"45":8814881502330769408},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,45]} 
[2026-09-07 16:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926915840001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 16:00:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129375199618400256,"km_value":129375199618400.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814881502330769408,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926915840001,"power":13624,"unknown_117":206,"unknown_9":25088,"ignition":13,"odometer":null,"unknown_45":8814881502330769408}} 
[2026-09-07 16:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":173536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:47] local.INFO: GPS data processed {"connection_id":173536,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:47] local.INFO: Acknowledgment sent {"connection_id":173536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:49] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:49] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:00:49] local.INFO: IMEI packet received {"connection_id":173780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:49] local.INFO: TCP Data received {"connection_id":173536,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b2ea8012d7a57c005eb9608000000501e..."} 
[2026-09-07 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b2ea8012d7a57c005eb9608000000501e..."} 
[2026-09-07 16:00:49] local.INFO: Processing buffer {"connection_id":173536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b2ea8012d7a57c005eb9608000000501e..."} 
[2026-09-07 16:00:49] local.INFO: Packet analysis {"connection_id":173536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:49] local.INFO: Extracted packet for processing {"connection_id":173536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:00:49] local.INFO: GPS Element Parsed {"raw_longitude":762992576,"raw_latitude":99325448,"longitude_deg":76.2992576,"latitude_deg":9.9325448,"altitude":0,"angle":80,"satellites":30,"speed":16,"hex_longitude":"2d7a57c0","hex_latitude":"05eb9608","is_valid_coordinates":true} 
[2026-09-07 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-07 16:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926916096001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129375216798269440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795814912,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788777017000,"timestamp_ms":1788777017000,"timestamp_seconds":1788777017,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b2ea8"} 
[2026-09-07 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-07 16:00:49] 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-07 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:49] 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-07 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-07 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-07 16:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926916096001,"66":13624,"117":206,"9":25088,"24":16,"16":129375216798269440,"45":8815303714795814912},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,45]} 
[2026-09-07 16:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926916096001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 16:00:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129375216798269440,"km_value":129375216798269.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795814912,"description":"Unknown IO ID 45"} 
[2026-09-07 16:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926916096001,"power":13624,"unknown_117":206,"unknown_9":25088,"ignition":16,"odometer":null,"unknown_45":8815303714795814912}} 
[2026-09-07 16:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":173536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:49] local.INFO: GPS data processed {"connection_id":173536,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:49] local.INFO: Acknowledgment sent {"connection_id":173536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:50] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6a6388012cbcaf8007724738000d00092d..."} 
[2026-09-07 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6a6388012cbcaf8007724738000d00092d..."} 
[2026-09-07 16:00:50] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6a6388012cbcaf8007724738000d00092d..."} 
[2026-09-07 16:00:50] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 16:00:50] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":750563200,"raw_latitude":124929848,"longitude_deg":75.05632,"latitude_deg":12.4929848,"altitude":13,"angle":9,"satellites":45,"speed":40,"hex_longitude":"2cbcaf80","hex_latitude":"07724738","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926901248001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401653921203879936,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4851573035349288960,"note":"Value kept but may cause issues"} 
[2026-09-07 16:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788776965000,"timestamp_ms":1788776965000,"timestamp_seconds":1788776965,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6a6388"} 
[2026-09-07 16: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-07 16:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 16:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:00:50] local.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-07 16:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926901248001,"66":27843,"196":206,"85":36608,"24":40,"16":401653921203879936,"44":-4851573035349288960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-09-07 16:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926901248001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:00:50] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-07 16:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401653921203879936,"km_value":401653921203879.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4851573035349288960,"description":"Unknown IO ID 44"} 
[2026-09-07 16:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926901248001,"power":27843,"unknown_196":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-4851573035349288960}} 
[2026-09-07 16:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:00:50] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:00:50] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:00:50] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:50] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:50] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:51] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:51] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:51] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:52] local.INFO: TCP Data received {"connection_id":176278,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:52] local.INFO: Processing buffer {"connection_id":176278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:00:52] local.INFO: IMEI packet received {"connection_id":176278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":176278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:00:52] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:52] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:52] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:00:53] local.INFO: TCP Data received {"connection_id":173781,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173781,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:53] local.INFO: Processing buffer {"connection_id":173781,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:00:53] local.INFO: IMEI packet received {"connection_id":173781,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173781,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:01:17] local.INFO: TCP Data received {"connection_id":173779,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:17] local.INFO: Processing buffer {"connection_id":173779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:17] local.INFO: Packet analysis {"connection_id":173779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:17] local.INFO: Extracted packet for processing {"connection_id":173779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:01:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01:17] 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-07 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":173779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:17] local.INFO: GPS data processed {"connection_id":173779,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:17] local.INFO: Acknowledgment sent {"connection_id":173779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:01:22] local.INFO: TCP Data received {"connection_id":173780,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6a8e80012cbcb44007726a50000d00062d..."} 
[2026-09-07 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6a8e80012cbcb44007726a50000d00062d..."} 
[2026-09-07 16:01:22] local.INFO: Processing buffer {"connection_id":173780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6a8e80012cbcb44007726a50000d00062d..."} 
[2026-09-07 16:01:22] local.INFO: Packet analysis {"connection_id":173780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 16:01:22] local.INFO: Extracted packet for processing {"connection_id":173780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6a"} 
[2026-09-07 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":750564416,"raw_latitude":124938832,"longitude_deg":75.0564416,"latitude_deg":12.4938832,"altitude":13,"angle":6,"satellites":45,"speed":37,"hex_longitude":"2cbcb440","hex_latitude":"07726a50","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926903040001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401654359290544128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4850517504184338432,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788776976000,"timestamp_ms":1788776976000,"timestamp_seconds":1788776976,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6a8e80"} 
[2026-09-07 16: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-07 16:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:01:22] 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-07 16: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-07 16: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-07 16:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926903040001,"66":27865,"196":206,"85":36608,"24":37,"16":401654359290544128,"44":-4850517504184338432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-09-07 16:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926903040001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:22] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-09-07 16:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401654359290544128,"km_value":401654359290544.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4850517504184338432,"description":"Unknown IO ID 44"} 
[2026-09-07 16:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926903040001,"power":27865,"unknown_196":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-4850517504184338432}} 
[2026-09-07 16:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":173780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:22] local.INFO: GPS data processed {"connection_id":173780,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:22] local.INFO: Acknowledgment sent {"connection_id":173780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:01:27] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:27] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:27] local.INFO: IMEI packet received {"connection_id":174875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":174875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:01:32] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:32] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:01:32] local.INFO: IMEI packet received {"connection_id":174875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":174875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:01:34] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b3a60012d7a5e0005eb97a00000004520..."} 
[2026-09-07 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b3a60012d7a5e0005eb97a00000004520..."} 
[2026-09-07 16:01:34] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b3a60012d7a5e0005eb97a00000004520..."} 
[2026-09-07 16:01:34] local.INFO: Packet analysis {"connection_id":174875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:34] local.INFO: Extracted packet for processing {"connection_id":174875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":762994176,"raw_latitude":99325856,"longitude_deg":76.2994176,"latitude_deg":9.9325856,"altitude":0,"angle":69,"satellites":32,"speed":24,"hex_longitude":"2d7a5e00","hex_latitude":"05eb97a0","is_valid_coordinates":true} 
[2026-09-07 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926916352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129375298402648064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815725927260882944,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788777020000,"timestamp_ms":1788777020000,"timestamp_seconds":1788777020,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b3a60"} 
[2026-09-07 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 16:01:34] 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-07 16:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926916352001,"66":13656,"117":206,"9":25088,"24":24,"16":129375298402648064,"45":8815725927260882944},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,45]} 
[2026-09-07 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926916352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 16:01:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129375298402648064,"km_value":129375298402648.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815725927260882944,"description":"Unknown IO ID 45"} 
[2026-09-07 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926916352001,"power":13656,"unknown_117":206,"unknown_9":25088,"ignition":24,"odometer":null,"unknown_45":8815725927260882944}} 
[2026-09-07 16:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":174875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:35] local.INFO: GPS data processed {"connection_id":174875,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:35] local.INFO: Acknowledgment sent {"connection_id":174875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:01:44] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:44] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:44] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:01:45] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:45] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:45] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:01:49] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:49] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:01:49] local.INFO: IMEI packet received {"connection_id":174876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:01:50] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:50] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:01:50] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:01:50] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b8498012cbc1b80077306100014010b2d..."} 
[2026-09-07 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b8498012cbc1b80077306100014010b2d..."} 
[2026-09-07 16:01:50] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b8498012cbc1b80077306100014010b2d..."} 
[2026-09-07 16:01:50] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:50] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":750525312,"raw_latitude":124978704,"longitude_deg":75.0525312,"latitude_deg":12.4978704,"altitude":20,"angle":267,"satellites":45,"speed":40,"hex_longitude":"2cbc1b80","hex_latitude":"07730610","is_valid_coordinates":true} 
[2026-09-07 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926921984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401657657825427456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4892175800725008384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777039000,"timestamp_ms":1788777039000,"timestamp_seconds":1788777039,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b8498"} 
[2026-09-07 16:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:01:50] 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-07 16:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:01:50] local.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-07 16:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926921984001,"66":27843,"131":206,"85":36608,"24":40,"16":401657657825427456,"44":-4892175800725008384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-07 16:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926921984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 16:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401657657825427456,"km_value":401657657825427.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4892175800725008384,"description":"Unknown IO ID 44"} 
[2026-09-07 16:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926921984001,"power":27843,"unknown_131":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-4892175800725008384}} 
[2026-09-07 16:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:50] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:50] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:01:51] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:51] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:51] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:51] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01: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-07 16:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 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-07 16:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01:51] 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-07 16:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:51] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:51] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:01:55] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:55] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:01:55] local.INFO: Packet analysis {"connection_id":173783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:55] local.INFO: Extracted packet for processing {"connection_id":173783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16: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-07 16:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16: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-07 16: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-07 16: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-07 16:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:01: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-07 16:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":173783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:01:56] local.INFO: GPS data processed {"connection_id":173783,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:01:56] local.INFO: Acknowledgment sent {"connection_id":173783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:02:07] local.INFO: TCP Data received {"connection_id":174875,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b6d28012d7a80c005eba4480000004620..."} 
[2026-09-07 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b6d28012d7a80c005eba4480000004620..."} 
[2026-09-07 16:02:07] local.INFO: Processing buffer {"connection_id":174875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b6d28012d7a80c005eba4480000004620..."} 
[2026-09-07 16:02:07] local.INFO: Packet analysis {"connection_id":174875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:02:07] local.INFO: Extracted packet for processing {"connection_id":174875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":763003072,"raw_latitude":99329096,"longitude_deg":76.3003072,"latitude_deg":9.9329096,"altitude":0,"angle":70,"satellites":32,"speed":28,"hex_longitude":"2d7a80c0","hex_latitude":"05eba448","is_valid_coordinates":true} 
[2026-09-07 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926917120001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129375753669181440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817485145865428992,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788777033000,"timestamp_ms":1788777033000,"timestamp_seconds":1788777033,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b6d28"} 
[2026-09-07 16:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 16:02:07] 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-07 16:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926917120001,"66":13374,"117":206,"9":25088,"24":28,"16":129375753669181440,"45":8817485145865428992},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,45]} 
[2026-09-07 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926917120001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:02:07] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 16:02:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129375753669181440,"km_value":129375753669181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817485145865428992,"description":"Unknown IO ID 45"} 
[2026-09-07 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926917120001,"power":13374,"unknown_117":206,"unknown_9":25088,"ignition":28,"odometer":null,"unknown_45":8817485145865428992}} 
[2026-09-07 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":174875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:02:07] local.INFO: GPS data processed {"connection_id":174875,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:02:07] local.INFO: Acknowledgment sent {"connection_id":174875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:02:21] local.INFO: TCP Data received {"connection_id":174876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6c47e8012cbbf58007734c78002800602c..."} 
[2026-09-07 16:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6c47e8012cbbf58007734c78002800602c..."} 
[2026-09-07 16:02:21] local.INFO: Processing buffer {"connection_id":174876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6c47e8012cbbf58007734c78002800602c..."} 
[2026-09-07 16:02:21] local.INFO: Packet analysis {"connection_id":174876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6c"} 
[2026-09-07 16:02:21] local.INFO: Extracted packet for processing {"connection_id":174876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6c"} 
[2026-09-07 16:02:21] local.INFO: GPS Element Parsed {"raw_longitude":750515584,"raw_latitude":124996728,"longitude_deg":75.0515584,"latitude_deg":12.4996728,"altitude":40,"angle":96,"satellites":44,"speed":13,"hex_longitude":"2cbbf580","hex_latitude":"07734c78","is_valid_coordinates":true} 
[2026-09-07 16:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926934528001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401659483186528256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4903294062300465152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777089000,"timestamp_ms":1788777089000,"timestamp_seconds":1788777089,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6c47e8"} 
[2026-09-07 16:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:02: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-07 16:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926934528001,"66":27908,"131":206,"85":36608,"24":13,"16":401659483186528256,"44":-4903294062300465152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-09-07 16:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926934528001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:02:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 16:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401659483186528256,"km_value":401659483186528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4903294062300465152,"description":"Unknown IO ID 44"} 
[2026-09-07 16:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926934528001,"power":27908,"unknown_131":206,"unknown_85":36608,"ignition":13,"odometer":null,"unknown_44":-4903294062300465152}} 
[2026-09-07 16:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":174876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:02:21] local.INFO: GPS data processed {"connection_id":174876,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:02:21] local.INFO: Acknowledgment sent {"connection_id":174876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:02:35] local.INFO: TCP Data received {"connection_id":176280,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:35] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:35] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:02:36] local.INFO: TCP Data received {"connection_id":176280,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:36] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:36] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:02:38] local.INFO: TCP Data received {"connection_id":176280,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:38] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:02:38] local.INFO: IMEI packet received {"connection_id":176280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":176280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:02:40] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:40] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:40] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:02:45] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:45] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:02:45] local.INFO: IMEI packet received {"connection_id":173784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:02:46] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:02:46] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:02:46] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:02:46] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:02:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:02:46] local.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-07 16:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:02:46] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:02:46] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:02:54] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:54] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:54] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:02:56] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:56] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:56] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:02:59] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:59] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:02:59] local.INFO: IMEI packet received {"connection_id":174878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":174878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:03:00] local.INFO: TCP Data received {"connection_id":174878,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6cc100012cbc1f0007734e08002f00112e..."} 
[2026-09-07 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6cc100012cbc1f0007734e08002f00112e..."} 
[2026-09-07 16:03:00] local.INFO: Processing buffer {"connection_id":174878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6cc100012cbc1f0007734e08002f00112e..."} 
[2026-09-07 16:03:00] local.INFO: Packet analysis {"connection_id":174878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6c"} 
[2026-09-07 16:03:00] local.INFO: Extracted packet for processing {"connection_id":174878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6c"} 
[2026-09-07 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":750526208,"raw_latitude":124997128,"longitude_deg":75.0526208,"latitude_deg":12.4997128,"altitude":47,"angle":17,"satellites":46,"speed":29,"hex_longitude":"2cbc1f00","hex_latitude":"07734e08","is_valid_coordinates":true} 
[2026-09-07 16:03: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-07 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926941184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401660440964235264,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891401744535611392,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788777120000,"timestamp_ms":1788777120000,"timestamp_seconds":1788777120,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6cc100"} 
[2026-09-07 16:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:03:00] 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-07 16:03: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-07 16:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:03:00] local.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-07 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926941184001,"66":27865,"159":206,"85":37888,"24":29,"16":401660440964235264,"44":-4891401744535611392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926941184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:03:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 16:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401660440964235264,"km_value":401660440964235.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891401744535611392,"description":"Unknown IO ID 44"} 
[2026-09-07 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926941184001,"power":27865,"unknown_159":206,"unknown_85":37888,"ignition":29,"odometer":null,"unknown_44":-4891401744535611392}} 
[2026-09-07 16:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":174878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:03:00] local.INFO: GPS data processed {"connection_id":174878,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:03:00] local.INFO: Acknowledgment sent {"connection_id":174878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:03:17] local.INFO: TCP Data received {"connection_id":173784,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:17] local.INFO: Processing buffer {"connection_id":173784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:17] local.INFO: Packet analysis {"connection_id":173784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:03:17] local.INFO: Extracted packet for processing {"connection_id":173784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:03:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:03:17] local.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-07 16:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:03:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":173784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:03:17] local.INFO: GPS data processed {"connection_id":173784,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:03:17] local.INFO: Acknowledgment sent {"connection_id":173784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:03:40] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:40] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:40] local.INFO: IMEI packet received {"connection_id":174880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":174880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:03:45] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:45] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:03:45] local.INFO: IMEI packet received {"connection_id":174880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":174880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:03:46] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:46] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:03:46] local.INFO: Packet analysis {"connection_id":174880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:03:46] local.INFO: Extracted packet for processing {"connection_id":174880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 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-07 16:03:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:03:46] 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-07 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":174880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:03:46] local.INFO: GPS data processed {"connection_id":174880,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:03:46] local.INFO: Acknowledgment sent {"connection_id":174880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:03:49] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:49] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:49] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:03:55] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:55] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:03:55] local.INFO: IMEI packet received {"connection_id":173538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":173538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:12] local.INFO: TCP Data received {"connection_id":173538,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6d97d8012cbc74c00773cb58004801532e..."} 
[2026-09-07 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6d97d8012cbc74c00773cb58004801532e..."} 
[2026-09-07 16:04:12] local.INFO: Processing buffer {"connection_id":173538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6d97d8012cbc74c00773cb58004801532e..."} 
[2026-09-07 16:04:12] local.INFO: Packet analysis {"connection_id":173538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6d"} 
[2026-09-07 16:04:12] local.INFO: Extracted packet for processing {"connection_id":173538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6d"} 
[2026-09-07 16:04:12] local.INFO: GPS Element Parsed {"raw_longitude":750548160,"raw_latitude":125029208,"longitude_deg":75.054816,"latitude_deg":12.5029208,"altitude":72,"angle":339,"satellites":46,"speed":36,"hex_longitude":"2cbc74c0","hex_latitude":"0773cb58","is_valid_coordinates":true} 
[2026-09-07 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926956288001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401662506843504640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866561577831847936,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788777175000,"timestamp_ms":1788777175000,"timestamp_seconds":1788777175,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6d97d8"} 
[2026-09-07 16:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 16:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":173538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":173538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926956288001,"66":27984,"72":206,"85":36608,"24":36,"16":401662506843504640,"44":-4866561577831847936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-07 16:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926956288001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:04:12] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-07 16:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401662506843504640,"km_value":401662506843504.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866561577831847936,"description":"Unknown IO ID 44"} 
[2026-09-07 16:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926956288001,"power":27984,"unknown_72":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-4866561577831847936}} 
[2026-09-07 16:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":173538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:04:12] local.INFO: GPS data processed {"connection_id":173538,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:04:12] local.INFO: Acknowledgment sent {"connection_id":173538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:04:17] local.INFO: TCP Data received {"connection_id":174880,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:17] local.INFO: Processing buffer {"connection_id":174880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:17] local.INFO: Packet analysis {"connection_id":174880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:04:17] local.INFO: Extracted packet for processing {"connection_id":174880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:04:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:04:17] 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-07 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:04:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":174880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:04:17] local.INFO: GPS data processed {"connection_id":174880,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:04:17] local.INFO: Acknowledgment sent {"connection_id":174880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:04:40] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:40] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:40] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:04:44] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:04:44] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:44] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:45] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:45] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:04:45] local.INFO: IMEI packet received {"connection_id":173786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:46] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:46] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:04:46] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:04:46] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:04:46] 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-07 16:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:04:46] 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-07 16:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:04:46] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:04:46] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:04:46] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:46] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:46] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:47] local.INFO: TCP Data received {"connection_id":173539,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:47] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:47] local.INFO: IMEI packet received {"connection_id":173539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":173539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:04:50] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:50] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:04:50] local.INFO: IMEI packet received {"connection_id":176282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":176282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:51] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6e3800012cbc280007742ed80048002b2e..."} 
[2026-09-07 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6e3800012cbc280007742ed80048002b2e..."} 
[2026-09-07 16:04:51] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6e3800012cbc280007742ed80048002b2e..."} 
[2026-09-07 16:04:51] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:04:51] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:04:51] local.INFO: GPS Element Parsed {"raw_longitude":750528512,"raw_latitude":125054680,"longitude_deg":75.0528512,"latitude_deg":12.505468,"altitude":72,"angle":43,"satellites":46,"speed":21,"hex_longitude":"2cbc2800","hex_latitude":"07742ed8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926966528001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401664392334147584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4889572157171298304,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777216000,"timestamp_ms":1788777216000,"timestamp_seconds":1788777216,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6e3800"} 
[2026-09-07 16: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-07 16:04: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-07 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:04:51] 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-07 16: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-07 16: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-07 16:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:04:51] local.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-07 16:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926966528001,"66":27767,"72":206,"85":36608,"24":21,"16":401664392334147584,"44":-4889572157171298304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-07 16:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926966528001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:04:51] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-07 16:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401664392334147584,"km_value":401664392334147.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4889572157171298304,"description":"Unknown IO ID 44"} 
[2026-09-07 16:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926966528001,"power":27767,"unknown_72":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-4889572157171298304}} 
[2026-09-07 16:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:04:51] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:04:51] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:04:53] local.INFO: TCP Data received {"connection_id":173539,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:53] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:04:53] local.INFO: IMEI packet received {"connection_id":173539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":173539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:04:54] local.INFO: TCP Data received {"connection_id":173539,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6ecc70012d7d1bc005ec4260000a011b2a..."} 
[2026-09-07 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6ecc70012d7d1bc005ec4260000a011b2a..."} 
[2026-09-07 16:04:54] local.INFO: Processing buffer {"connection_id":173539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6ecc70012d7d1bc005ec4260000a011b2a..."} 
[2026-09-07 16:04:54] local.INFO: Packet analysis {"connection_id":173539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:04:54] local.INFO: Extracted packet for processing {"connection_id":173539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:04:54] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99369568,"longitude_deg":76.3173824,"latitude_deg":9.9369568,"altitude":10,"angle":283,"satellites":42,"speed":13,"hex_longitude":"2d7d1bc0","hex_latitude":"05ec4260","is_valid_coordinates":true} 
[2026-09-07 16:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926976768001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129384335013838848,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504175616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788777254000,"timestamp_ms":1788777254000,"timestamp_seconds":1788777254,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6ecc70"} 
[2026-09-07 16:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 16:04:54] 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-07 16:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926976768001,"66":13526,"91":206,"8":64768,"24":13,"16":129384335013838848,"45":9015362054504175616},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,8,24,16,45]} 
[2026-09-07 16:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926976768001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:04:54] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 16:04:54] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-07 16:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129384335013838848,"km_value":129384335013838.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504175616,"description":"Unknown IO ID 45"} 
[2026-09-07 16:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926976768001,"power":13526,"unknown_91":206,"unknown_8":64768,"ignition":13,"odometer":null,"unknown_45":9015362054504175616}} 
[2026-09-07 16:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":173539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:04:54] local.INFO: GPS data processed {"connection_id":173539,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:04:54] local.INFO: Acknowledgment sent {"connection_id":173539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:17] local.INFO: TCP Data received {"connection_id":173786,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:17] local.INFO: Processing buffer {"connection_id":173786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:17] local.INFO: Packet analysis {"connection_id":173786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:05:17] local.INFO: Extracted packet for processing {"connection_id":173786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 16: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-07 16:05:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:05:17] 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-07 16:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":173786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:17] local.INFO: GPS data processed {"connection_id":173786,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:17] local.INFO: Acknowledgment sent {"connection_id":173786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:22] local.INFO: TCP Data received {"connection_id":176282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6e43b8012cbc2d8007743340004800372f..."} 
[2026-09-07 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6e43b8012cbc2d8007743340004800372f..."} 
[2026-09-07 16:05:22] local.INFO: Processing buffer {"connection_id":176282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6e43b8012cbc2d8007743340004800372f..."} 
[2026-09-07 16:05:22] local.INFO: Packet analysis {"connection_id":176282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:05:22] local.INFO: Extracted packet for processing {"connection_id":176282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":750529920,"raw_latitude":125055808,"longitude_deg":75.052992,"latitude_deg":12.5055808,"altitude":72,"angle":55,"satellites":47,"speed":26,"hex_longitude":"2cbc2d80","hex_latitude":"07743340","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926967296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401664482528460800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4888657363496675328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788777219000,"timestamp_ms":1788777219000,"timestamp_seconds":1788777219,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6e43b8"} 
[2026-09-07 16: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-07 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926967296001,"66":27843,"71":206,"85":36608,"24":26,"16":401664482528460800,"44":-4888657363496675328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,44]} 
[2026-09-07 16:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926967296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-07 16:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401664482528460800,"km_value":401664482528460.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4888657363496675328,"description":"Unknown IO ID 44"} 
[2026-09-07 16:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926967296001,"power":27843,"unknown_71":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-4888657363496675328}} 
[2026-09-07 16:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":176282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:22] local.INFO: GPS data processed {"connection_id":176282,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:22] local.INFO: Acknowledgment sent {"connection_id":176282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:32] local.INFO: TCP Data received {"connection_id":173787,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:32] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:32] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:05:33] local.INFO: TCP Data received {"connection_id":173787,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:33] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:33] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:05:40] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:40] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:40] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:05:42] local.INFO: TCP Data received {"connection_id":173787,"ip":"117.225.214.181","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:42] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:05:42] local.INFO: IMEI packet received {"connection_id":173787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":173787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:05:44] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:44] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:44] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:05:45] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:45] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:05:45] local.INFO: IMEI packet received {"connection_id":173540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:05:46] local.INFO: TCP Data received {"connection_id":173787,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6ed058012d7d1a0005ec4280000a010e29..."} 
[2026-09-07 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6ed058012d7d1a0005ec4280000a010e29..."} 
[2026-09-07 16:05:46] local.INFO: Processing buffer {"connection_id":173787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6ed058012d7d1a0005ec4280000a010e29..."} 
[2026-09-07 16:05:46] local.INFO: Packet analysis {"connection_id":173787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:05:46] local.INFO: Extracted packet for processing {"connection_id":173787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6e"} 
[2026-09-07 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369600,"longitude_deg":76.3173376,"latitude_deg":9.93696,"altitude":10,"angle":270,"satellites":41,"speed":18,"hex_longitude":"2d7d1a00","hex_latitude":"05ec4280","is_valid_coordinates":true} 
[2026-09-07 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-07 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926977024001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129384356488675328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015010210783322112,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777255000,"timestamp_ms":1788777255000,"timestamp_seconds":1788777255,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6ed058"} 
[2026-09-07 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-07 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 16:05: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-07 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-07 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-07 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926977024001,"66":13526,"91":206,"8":64768,"24":18,"16":129384356488675328,"45":9015010210783322112},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,8,24,16,45]} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926977024001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-09-07 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129384356488675328,"km_value":129384356488675.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015010210783322112,"description":"Unknown IO ID 45"} 
[2026-09-07 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926977024001,"power":13526,"unknown_91":206,"unknown_8":64768,"ignition":18,"odometer":null,"unknown_45":9015010210783322112}} 
[2026-09-07 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":173787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:46] local.INFO: GPS data processed {"connection_id":173787,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:46] local.INFO: Acknowledgment sent {"connection_id":173787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:46] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:46] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b74f8012d196500071ff0200040011f21..."} 
[2026-09-07 16:05:46] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:05:46] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926843904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777035000,"timestamp_ms":1788777035000,"timestamp_seconds":1788777035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b74f8"} 
[2026-09-07 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-07 16:05:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:05:46] 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-07 16:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926843904001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926843904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926843904001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:46] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:46] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:47] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:47] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:47] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:05:49] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:49] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:05:49] local.INFO: IMEI packet received {"connection_id":174883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:05:50] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6f1e78012cbc41800774c3800051011a29..."} 
[2026-09-07 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6f1e78012cbc41800774c3800051011a29..."} 
[2026-09-07 16:05:50] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6f1e78012cbc41800774c3800051011a29..."} 
[2026-09-07 16:05:50] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:05:50] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:05:50] local.INFO: GPS Element Parsed {"raw_longitude":750535040,"raw_latitude":125092736,"longitude_deg":75.053504,"latitude_deg":12.5092736,"altitude":81,"angle":282,"satellites":41,"speed":43,"hex_longitude":"2cbc4180","hex_latitude":"0774c380","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926981120001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401666814695702528,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4875709514558607360,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777275000,"timestamp_ms":1788777275000,"timestamp_seconds":1788777275,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6f1e78"} 
[2026-09-07 16: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-07 16:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:05:50] local.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-07 16:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926981120001,"66":27821,"93":206,"85":36608,"24":43,"16":401666814695702528,"44":-4875709514558607360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-07 16:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926981120001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 16:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401666814695702528,"km_value":401666814695702.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4875709514558607360,"description":"Unknown IO ID 44"} 
[2026-09-07 16:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926981120001,"power":27821,"unknown_93":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-4875709514558607360}} 
[2026-09-07 16:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:50] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:50] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:05:55] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:05:55] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:05:55] local.INFO: IMEI packet received {"connection_id":174882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":174882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:05:57] local.INFO: TCP Data received {"connection_id":174884,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:05:57] local.INFO: Processing buffer {"connection_id":174884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:05:57] local.INFO: IMEI packet received {"connection_id":174884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":174884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:05:57] local.INFO: TCP Data received {"connection_id":174882,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6fb2e8012d0c6840070512f80021002818..."} 
[2026-09-07 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6fb2e8012d0c6840070512f80021002818..."} 
[2026-09-07 16:05:57] local.INFO: Processing buffer {"connection_id":174882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6fb2e8012d0c6840070512f80021002818..."} 
[2026-09-07 16:05:57] local.INFO: Packet analysis {"connection_id":174882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:05:57] local.INFO: Extracted packet for processing {"connection_id":174882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:05:57] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117773048,"longitude_deg":75.578784,"latitude_deg":11.7773048,"altitude":33,"angle":40,"satellites":24,"speed":1,"hex_longitude":"2d0c6840","hex_latitude":"070512f8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926991616001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30530508735643648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893894187438747648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788777313000,"timestamp_ms":1788777313000,"timestamp_seconds":1788777313,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6fb2e8"} 
[2026-09-07 16: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-07 16:05: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-07 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926991616001,"66":14559,"95":206,"94":10240,"24":1,"16":30530508735643648,"45":893894187438747648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926991616001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:05:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:05:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30530508735643648,"km_value":30530508735643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":893894187438747648,"description":"Unknown IO ID 45"} 
[2026-09-07 16:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926991616001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":893894187438747648}} 
[2026-09-07 16:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":174882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:05:57] local.INFO: GPS data processed {"connection_id":174882,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:05:57] local.INFO: Acknowledgment sent {"connection_id":174882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:17] local.INFO: TCP Data received {"connection_id":173540,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:17] local.INFO: Processing buffer {"connection_id":173540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:17] local.INFO: Packet analysis {"connection_id":173540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:17] local.INFO: Extracted packet for processing {"connection_id":173540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:06:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:17] 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-07 16:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":173540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:17] local.INFO: GPS data processed {"connection_id":173540,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:17] local.INFO: Acknowledgment sent {"connection_id":173540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:21] local.INFO: TCP Data received {"connection_id":174883,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6f41a0012cbc1ec00774cad00051011c29..."} 
[2026-09-07 16:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6f41a0012cbc1ec00774cad00051011c29..."} 
[2026-09-07 16:06:21] local.INFO: Processing buffer {"connection_id":174883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6f41a0012cbc1ec00774cad00051011c29..."} 
[2026-09-07 16:06:21] local.INFO: Packet analysis {"connection_id":174883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:21] local.INFO: Extracted packet for processing {"connection_id":174883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:21] local.INFO: GPS Element Parsed {"raw_longitude":750526144,"raw_latitude":125094608,"longitude_deg":75.0526144,"latitude_deg":12.5094608,"altitude":81,"angle":284,"satellites":41,"speed":31,"hex_longitude":"2cbc1ec0","hex_latitude":"0774cad0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926982400001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401667244192432128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4881479751580811264,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777284000,"timestamp_ms":1788777284000,"timestamp_seconds":1788777284,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6f41a0"} 
[2026-09-07 16: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-07 16:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:21] 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-07 16: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-07 16: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-07 16:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:06: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-07 16:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926982400001,"66":27919,"93":206,"85":36608,"24":31,"16":401667244192432128,"44":-4881479751580811264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-07 16:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926982400001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:21] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 16:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401667244192432128,"km_value":401667244192432.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4881479751580811264,"description":"Unknown IO ID 44"} 
[2026-09-07 16:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926982400001,"power":27919,"unknown_93":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-4881479751580811264}} 
[2026-09-07 16:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":174883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:21] local.INFO: GPS data processed {"connection_id":174883,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:21] local.INFO: Acknowledgment sent {"connection_id":174883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:40] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:40] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:40] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:06:44] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:44] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:44] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:06:45] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:45] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:45] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:06:46] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:46] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:06:46] local.INFO: IMEI packet received {"connection_id":173788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":173788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:06:48] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:48] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:48] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:06:49] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:49] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:06:49] local.INFO: IMEI packet received {"connection_id":176283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":176283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:06:49] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6fb6d0012d0c6840070513100020001b18..."} 
[2026-09-07 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6fb6d0012d0c6840070513100020001b18..."} 
[2026-09-07 16:06:49] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6fb6d0012d0c6840070513100020001b18..."} 
[2026-09-07 16:06:49] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:49] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117773072,"longitude_deg":75.578784,"latitude_deg":11.7773072,"altitude":32,"angle":27,"satellites":24,"speed":0,"hex_longitude":"2d0c6840","hex_latitude":"07051310","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926992128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30530508735643648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924927121408,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788777314000,"timestamp_ms":1788777314000,"timestamp_seconds":1788777314,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6fb6d0"} 
[2026-09-07 16: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-07 16:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926992128001,"66":14537,"95":206,"94":10240,"24":0,"16":30530508735643648,"45":894034924927121408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926992128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:06:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30530508735643648,"km_value":30530508735643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924927121408,"description":"Unknown IO ID 45"} 
[2026-09-07 16:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926992128001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":894034924927121408}} 
[2026-09-07 16:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:49] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:49] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:50] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6f68b0012cbbfa800774d298005001192a..."} 
[2026-09-07 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6f68b0012cbbfa800774d298005001192a..."} 
[2026-09-07 16:06:50] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6f68b0012cbbfa800774d298005001192a..."} 
[2026-09-07 16:06:50] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:50] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6f"} 
[2026-09-07 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":750516864,"raw_latitude":125096600,"longitude_deg":75.0516864,"latitude_deg":12.50966,"altitude":80,"angle":281,"satellites":42,"speed":44,"hex_longitude":"2cbbfa80","hex_latitude":"0774d298","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926984704001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401667690869030912,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891261007021027328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777294000,"timestamp_ms":1788777294000,"timestamp_seconds":1788777294,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6f68b0"} 
[2026-09-07 16: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-07 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:06:50] local.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-07 16:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926984704001,"66":27821,"93":206,"85":36608,"24":44,"16":401667690869030912,"44":-4891261007021027328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-07 16:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926984704001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 16:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401667690869030912,"km_value":401667690869030.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891261007021027328,"description":"Unknown IO ID 44"} 
[2026-09-07 16:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926984704001,"power":27821,"unknown_93":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-4891261007021027328}} 
[2026-09-07 16:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:50] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:50] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:50] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:50] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:06:50] local.INFO: IMEI packet received {"connection_id":174885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":174885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:06:51] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:51] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:51] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:51] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16: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-07 16:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:06:51] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:51] 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-07 16:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:51] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:51] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:51] local.INFO: TCP Data received {"connection_id":176280,"ip":"117.225.214.181","data_length":795,"data_hex":"000000000000030f8e0a000001a07b6b9c08012d7aa2c005ebb000000000451c..."} 
[2026-09-07 16:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b6b9c08012d7aa2c005ebb000000000451c..."} 
[2026-09-07 16:06:51] local.INFO: Processing buffer {"connection_id":176280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b6b9c08012d7aa2c005ebb000000000451c..."} 
[2026-09-07 16:06:51] local.INFO: Packet analysis {"connection_id":176280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:06:51] local.INFO: Extracted packet for processing {"connection_id":176280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b6b"} 
[2026-09-07 16:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":99332096,"longitude_deg":76.3011776,"latitude_deg":9.9332096,"altitude":0,"angle":69,"satellites":28,"speed":32,"hex_longitude":"2d7aa2c0","hex_latitude":"05ebb000","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920448001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129376191755845632,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827266401306953728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777045000,"timestamp_ms":1788777045000,"timestamp_seconds":1788777045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b6b9c08"} 
[2026-09-07 16: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-07 16:06:51] 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-07 16: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:06:51] 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-07 16: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-07 16: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-07 16:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.214.181","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920448001,"66":13472,"117":206,"9":25088,"24":32,"16":129376191755845632,"45":8827266401306953728},"client_ip":"117.225.214.181","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,9,24,16,45]} 
[2026-09-07 16:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920448001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129376191755845632,"km_value":129376191755845.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827266401306953728,"description":"Unknown IO ID 45"} 
[2026-09-07 16:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920448001,"power":13472,"unknown_117":206,"unknown_9":25088,"ignition":32,"odometer":null,"unknown_45":8827266401306953728}} 
[2026-09-07 16:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":176280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:52] local.INFO: GPS data processed {"connection_id":176280,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:52] local.INFO: Acknowledgment sent {"connection_id":176280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:06:55] local.INFO: TCP Data received {"connection_id":174885,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:55] local.INFO: Processing buffer {"connection_id":174885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:06:55] local.INFO: Packet analysis {"connection_id":174885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:55] local.INFO: Extracted packet for processing {"connection_id":174885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16: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-07 16:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:06: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-07 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:06: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-07 16: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-07 16: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-07 16:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:06:55] 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-07 16:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":174885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:06:56] local.INFO: GPS data processed {"connection_id":174885,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:06:56] local.INFO: Acknowledgment sent {"connection_id":174885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:07:21] local.INFO: TCP Data received {"connection_id":173788,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7008d8012d0c6840070513200020001b18..."} 
[2026-09-07 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7008d8012d0c6840070513200020001b18..."} 
[2026-09-07 16:07:21] local.INFO: Processing buffer {"connection_id":173788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7008d8012d0c6840070513200020001b18..."} 
[2026-09-07 16:07:21] local.INFO: Packet analysis {"connection_id":173788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:21] local.INFO: Extracted packet for processing {"connection_id":173788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117773088,"longitude_deg":75.578784,"latitude_deg":11.7773088,"altitude":32,"angle":27,"satellites":24,"speed":0,"hex_longitude":"2d0c6840","hex_latitude":"07051320","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926992384001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30530508735643648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924927127552,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777335000,"timestamp_ms":1788777335000,"timestamp_seconds":1788777335,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7008d8"} 
[2026-09-07 16: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-07 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 16:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926992384001,"66":13961,"95":206,"94":10240,"24":0,"16":30530508735643648,"45":894034924927127552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926992384001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30530508735643648,"km_value":30530508735643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924927127552,"description":"Unknown IO ID 45"} 
[2026-09-07 16:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926992384001,"power":13961,"unknown_95":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":894034924927127552}} 
[2026-09-07 16:07:21] local.INFO: TCP Data received {"connection_id":176283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b70bc88012cba11400774e798004801112c..."} 
[2026-09-07 16:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b70bc88012cba11400774e798004801112c..."} 
[2026-09-07 16:07:21] local.INFO: Processing buffer {"connection_id":176283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b70bc88012cba11400774e798004801112c..."} 
[2026-09-07 16:07:21] local.INFO: Packet analysis {"connection_id":176283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:21] local.INFO: Extracted packet for processing {"connection_id":176283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750391616,"raw_latitude":125101976,"longitude_deg":75.0391616,"latitude_deg":12.5101976,"altitude":72,"angle":273,"satellites":44,"speed":58,"hex_longitude":"2cba1140","hex_latitude":"0774e798","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927008000001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401673647988670464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5029183745607530496,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777381000,"timestamp_ms":1788777381000,"timestamp_seconds":1788777381,"priority":1,"record_length":96,"hex_timestamp":"000001a07b70bc88"} 
[2026-09-07 16: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-07 16:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07: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-07 16:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927008000001,"66":27865,"157":206,"85":36608,"24":58,"16":401673647988670464,"44":-5029183745607530496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,44]} 
[2026-09-07 16:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927008000001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401673647988670464,"km_value":401673647988670.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5029183745607530496,"description":"Unknown IO ID 44"} 
[2026-09-07 16:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927008000001,"power":27865,"unknown_157":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5029183745607530496}} 
[2026-09-07 16:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":176283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:07:21] local.INFO: GPS data processed {"connection_id":176283,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:07:21] local.INFO: Acknowledgment sent {"connection_id":176283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":173788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779494,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:07:21] local.INFO: GPS data processed {"connection_id":173788,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:07:21] local.INFO: Acknowledgment sent {"connection_id":173788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:07:40] local.INFO: TCP Data received {"connection_id":174886,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:40] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:40] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:07:45] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:45] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:45] local.INFO: IMEI packet received {"connection_id":174887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:07:45] local.INFO: TCP Data received {"connection_id":174886,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:45] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:07:45] local.INFO: IMEI packet received {"connection_id":174886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:07:46] local.INFO: TCP Data received {"connection_id":174886,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:07:46] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:07:46] local.INFO: Packet analysis {"connection_id":174886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:46] local.INFO: Extracted packet for processing {"connection_id":174886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:07:46] 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-07 16:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":174886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:07:46] local.INFO: GPS data processed {"connection_id":174886,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:07:46] local.INFO: Acknowledgment sent {"connection_id":174886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:07:49] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:49] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:49] local.INFO: IMEI packet received {"connection_id":174887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":174887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:07:52] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:52] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:07:52] local.INFO: IMEI packet received {"connection_id":174887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":174887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:07:53] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b70d7e0012cb9e8800774ea30004901112c..."} 
[2026-09-07 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b70d7e0012cb9e8800774ea30004901112c..."} 
[2026-09-07 16:07:53] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b70d7e0012cb9e8800774ea30004901112c..."} 
[2026-09-07 16:07:53] local.INFO: Packet analysis {"connection_id":174887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:53] local.INFO: Extracted packet for processing {"connection_id":174887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":750381184,"raw_latitude":125102640,"longitude_deg":75.0381184,"latitude_deg":12.510264,"altitude":73,"angle":273,"satellites":44,"speed":58,"hex_longitude":"2cb9e880","hex_latitude":"0774ea30","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927009536001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401674141909909504,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5039176107280590848,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788777388000,"timestamp_ms":1788777388000,"timestamp_seconds":1788777388,"priority":1,"record_length":96,"hex_timestamp":"000001a07b70d7e0"} 
[2026-09-07 16: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-07 16:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927009536001,"66":27930,"159":206,"85":36608,"24":58,"16":401674141909909504,"44":-5039176107280590848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 16:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927009536001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:07:53] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 16:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401674141909909504,"km_value":401674141909909.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5039176107280590848,"description":"Unknown IO ID 44"} 
[2026-09-07 16:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927009536001,"power":27930,"unknown_159":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5039176107280590848}} 
[2026-09-07 16:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":174887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:07:53] local.INFO: GPS data processed {"connection_id":174887,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:07:53] local.INFO: Acknowledgment sent {"connection_id":174887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:07:55] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b70f338012cb9c1800774ecd8004b01112b..."} 
[2026-09-07 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b70f338012cb9c1800774ecd8004b01112b..."} 
[2026-09-07 16:07:55] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b70f338012cb9c1800774ecd8004b01112b..."} 
[2026-09-07 16:07:55] local.INFO: Packet analysis {"connection_id":174887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:55] local.INFO: Extracted packet for processing {"connection_id":174887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":750371200,"raw_latitude":125103320,"longitude_deg":75.03712,"latitude_deg":12.510332,"altitude":75,"angle":273,"satellites":43,"speed":54,"hex_longitude":"2cb9c180","hex_latitude":"0774ecd8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927011328001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401674614356312064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5050646212581380096,"note":"Value kept but may cause issues"} 
[2026-09-07 16:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777395000,"timestamp_ms":1788777395000,"timestamp_seconds":1788777395,"priority":1,"record_length":96,"hex_timestamp":"000001a07b70f338"} 
[2026-09-07 16: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-07 16:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 16:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:07:55] local.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-07 16:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927011328001,"66":27865,"159":206,"85":36608,"24":54,"16":401674614356312064,"44":-5050646212581380096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 16:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927011328001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:07:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 16:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401674614356312064,"km_value":401674614356312.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5050646212581380096,"description":"Unknown IO ID 44"} 
[2026-09-07 16:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927011328001,"power":27865,"unknown_159":206,"unknown_85":36608,"ignition":54,"odometer":null,"unknown_44":-5050646212581380096}} 
[2026-09-07 16:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":174887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:07:55] local.INFO: GPS data processed {"connection_id":174887,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:07:55] local.INFO: Acknowledgment sent {"connection_id":174887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:17] local.INFO: TCP Data received {"connection_id":174886,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:17] local.INFO: Processing buffer {"connection_id":174886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:17] local.INFO: Packet analysis {"connection_id":174886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:08:17] local.INFO: Extracted packet for processing {"connection_id":174886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:08:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":174886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:17] local.INFO: GPS data processed {"connection_id":174886,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:17] local.INFO: Acknowledgment sent {"connection_id":174886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:26] local.INFO: TCP Data received {"connection_id":174887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b711278012cb99bc00774ef78004d01132c..."} 
[2026-09-07 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b711278012cb99bc00774ef78004d01132c..."} 
[2026-09-07 16:08:26] local.INFO: Processing buffer {"connection_id":174887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b711278012cb99bc00774ef78004d01132c..."} 
[2026-09-07 16:08:26] local.INFO: Packet analysis {"connection_id":174887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b71"} 
[2026-09-07 16:08:26] local.INFO: Extracted packet for processing {"connection_id":174887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b71"} 
[2026-09-07 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":750361536,"raw_latitude":125103992,"longitude_deg":75.0361536,"latitude_deg":12.5103992,"altitude":77,"angle":275,"satellites":44,"speed":42,"hex_longitude":"2cb99bc0","hex_latitude":"0774ef78","is_valid_coordinates":true} 
[2026-09-07 16:08: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-07 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927013120001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401675073917812736,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5061623736672921600,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788777403000,"timestamp_ms":1788777403000,"timestamp_seconds":1788777403,"priority":1,"record_length":96,"hex_timestamp":"000001a07b711278"} 
[2026-09-07 16:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:08: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-07 16:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:08: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-07 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927013120001,"66":27821,"159":206,"85":36608,"24":42,"16":401675073917812736,"44":-5061623736672921600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927013120001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 16:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401675073917812736,"km_value":401675073917812.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5061623736672921600,"description":"Unknown IO ID 44"} 
[2026-09-07 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927013120001,"power":27821,"unknown_159":206,"unknown_85":36608,"ignition":42,"odometer":null,"unknown_44":-5061623736672921600}} 
[2026-09-07 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":174887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:26] local.INFO: GPS data processed {"connection_id":174887,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:26] local.INFO: Acknowledgment sent {"connection_id":174887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:34] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:34] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:34] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:08:35] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:35] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:35] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:08:36] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:36] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:08:36] local.INFO: IMEI packet received {"connection_id":173542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":173542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:08:36] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b720c78012d7c284005eb29b80010009b23..."} 
[2026-09-07 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b720c78012d7c284005eb29b80010009b23..."} 
[2026-09-07 16:08:36] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b720c78012d7c284005eb29b80010009b23..."} 
[2026-09-07 16:08:36] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:36] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763111488,"raw_latitude":99297720,"longitude_deg":76.3111488,"latitude_deg":9.929772,"altitude":16,"angle":155,"satellites":35,"speed":22,"hex_longitude":"2d7c2840","hex_latitude":"05eb29b8","is_valid_coordinates":true} 
[2026-09-07 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927027968001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129391546263928832,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997752016896,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788777467000,"timestamp_ms":1788777467000,"timestamp_seconds":1788777467,"priority":1,"record_length":96,"hex_timestamp":"000001a07b720c78"} 
[2026-09-07 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927027968001,"66":13363,"49":206,"9":25088,"24":22,"16":129391546263928832,"45":8945696997752016896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,45]} 
[2026-09-07 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927027968001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129391546263928832,"km_value":129391546263928.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997752016896,"description":"Unknown IO ID 45"} 
[2026-09-07 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927027968001,"power":13363,"unknown_49":206,"unknown_9":25088,"ignition":22,"odometer":null,"unknown_45":8945696997752016896}} 
[2026-09-07 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:36] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:36] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:37] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b721060012d7c298005eb27c00010008e23..."} 
[2026-09-07 16:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b721060012d7c298005eb27c00010008e23..."} 
[2026-09-07 16:08:37] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b721060012d7c298005eb27c00010008e23..."} 
[2026-09-07 16:08:37] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:37] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763111808,"raw_latitude":99297216,"longitude_deg":76.3111808,"latitude_deg":9.9297216,"altitude":16,"angle":142,"satellites":35,"speed":22,"hex_longitude":"2d7c2980","hex_latitude":"05eb27c0","is_valid_coordinates":true} 
[2026-09-07 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927031552001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129391572033732608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946471053935884288,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788777468000,"timestamp_ms":1788777468000,"timestamp_seconds":1788777468,"priority":1,"record_length":96,"hex_timestamp":"000001a07b721060"} 
[2026-09-07 16:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927031552001,"66":13580,"49":206,"9":25088,"24":22,"16":129391572033732608,"45":8946471053935884288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,9,24,16,45]} 
[2026-09-07 16:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927031552001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-09-07 16:08:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-09-07 16:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129391572033732608,"km_value":129391572033732.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946471053935884288,"description":"Unknown IO ID 45"} 
[2026-09-07 16:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927031552001,"power":13580,"unknown_49":206,"unknown_9":25088,"ignition":22,"odometer":null,"unknown_45":8946471053935884288}} 
[2026-09-07 16:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:37] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:37] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:40] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:40] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:40] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:08:44] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:44] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:44] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:08:45] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:45] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:08:45] local.INFO: IMEI packet received {"connection_id":173790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:08:46] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:46] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:08:46] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:08:46] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 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-07 16:08:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:08:46] 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-07 16:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:46] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:46] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:08:47] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:47] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:08:47] local.INFO: IMEI packet received {"connection_id":173543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":173543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:08:48] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b722fa0012cb828c007755ed80039012f2c..."} 
[2026-09-07 16:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b722fa0012cb828c007755ed80039012f2c..."} 
[2026-09-07 16:08:48] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b722fa0012cb828c007755ed80039012f2c..."} 
[2026-09-07 16:08:48] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:48] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":750266560,"raw_latitude":125132504,"longitude_deg":75.026656,"latitude_deg":12.5132504,"altitude":57,"angle":303,"satellites":44,"speed":59,"hex_longitude":"2cb828c0","hex_latitude":"07755ed8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927032064001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401679806971772928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5167036115444975616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788777476000,"timestamp_ms":1788777476000,"timestamp_seconds":1788777476,"priority":1,"record_length":96,"hex_timestamp":"000001a07b722fa0"} 
[2026-09-07 16: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-07 16:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:08: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-07 16:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927032064001,"66":27865,"224":206,"85":36608,"24":59,"16":401679806971772928,"44":-5167036115444975616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-07 16:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927032064001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:08:48] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 16:08:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401679806971772928,"km_value":401679806971772.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:08:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5167036115444975616,"description":"Unknown IO ID 44"} 
[2026-09-07 16:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927032064001,"power":27865,"unknown_224":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5167036115444975616}} 
[2026-09-07 16:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:08:48] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:08:48] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:09] local.INFO: TCP Data received {"connection_id":173542,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b72cfc8012d7c410005eac5d80011006023..."} 
[2026-09-07 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b72cfc8012d7c410005eac5d80011006023..."} 
[2026-09-07 16:09:09] local.INFO: Processing buffer {"connection_id":173542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b72cfc8012d7c410005eac5d80011006023..."} 
[2026-09-07 16:09:09] local.INFO: Packet analysis {"connection_id":173542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:09] local.INFO: Extracted packet for processing {"connection_id":173542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":763117824,"raw_latitude":99272152,"longitude_deg":76.3117824,"latitude_deg":9.9272152,"altitude":17,"angle":96,"satellites":35,"speed":5,"hex_longitude":"2d7c4100","hex_latitude":"05eac5d8","is_valid_coordinates":true} 
[2026-09-07 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927043584001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129392890588692480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952944978393706496,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788777517000,"timestamp_ms":1788777517000,"timestamp_seconds":1788777517,"priority":1,"record_length":96,"hex_timestamp":"000001a07b72cfc8"} 
[2026-09-07 16:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":177,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8230169994403263232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1353449678,"corrected_to":0} 
[2026-09-07 16:09:09] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2975465472,"corrected_to":0} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1507703120279332571,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858631599567351,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.WARNING: Large IO value detected {"io_id":98,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,10,87,24,241,157,16,178,160,192,45,198,17,33,66,188,199,149,1,240,29,227,177,123,235,4,113,205,203,22,90,59,224,40,239,52,172,2,5,20,51,98],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1353449678,"validated":0},{"io_id":203,"original":2975465472,"validated":0}]} 
[2026-09-07 16:09:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225105684216414208,"timestamp_seconds":1225105684216414.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927043584001,"66":13102,"10":206,"87":13824,"24":5,"16":129392890588692480,"45":8952944978393706496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927043584001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:09] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 16:09:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129392890588692480,"km_value":129392890588692.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952944978393706496,"description":"Unknown IO ID 45"} 
[2026-09-07 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927043584001,"power":13102,"unknown_10":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952944978393706496}} 
[2026-09-07 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":173542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:09] local.INFO: GPS data processed {"connection_id":173542,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:09] local.INFO: Acknowledgment sent {"connection_id":173542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:17] local.INFO: TCP Data received {"connection_id":173790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:17] local.INFO: Processing buffer {"connection_id":173790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:17] local.INFO: Packet analysis {"connection_id":173790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:09:17] local.INFO: Extracted packet for processing {"connection_id":173790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:09:17] 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-07 16:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:09:17] 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-07 16:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":173790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:17] local.INFO: GPS data processed {"connection_id":173790,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:17] local.INFO: Acknowledgment sent {"connection_id":173790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:19] local.INFO: TCP Data received {"connection_id":173543,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b724710012cb80ac0077572980039012f2b..."} 
[2026-09-07 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b724710012cb80ac0077572980039012f2b..."} 
[2026-09-07 16:09:19] local.INFO: Processing buffer {"connection_id":173543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b724710012cb80ac0077572980039012f2b..."} 
[2026-09-07 16:09:19] local.INFO: Packet analysis {"connection_id":173543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:19] local.INFO: Extracted packet for processing {"connection_id":173543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":750258880,"raw_latitude":125137560,"longitude_deg":75.025888,"latitude_deg":12.513756,"altitude":57,"angle":303,"satellites":43,"speed":59,"hex_longitude":"2cb80ac0","hex_latitude":"07757298","is_valid_coordinates":true} 
[2026-09-07 16:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927033856001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401680249353404416,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5176676633395931136,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788777482000,"timestamp_ms":1788777482000,"timestamp_seconds":1788777482,"priority":1,"record_length":96,"hex_timestamp":"000001a07b724710"} 
[2026-09-07 16:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927033856001,"66":27930,"224":206,"85":36608,"24":59,"16":401680249353404416,"44":-5176676633395931136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-07 16:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927033856001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:19] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 16:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401680249353404416,"km_value":401680249353404.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5176676633395931136,"description":"Unknown IO ID 44"} 
[2026-09-07 16:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927033856001,"power":27930,"unknown_224":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5176676633395931136}} 
[2026-09-07 16:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":173543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:19] local.INFO: GPS data processed {"connection_id":173543,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:19] local.INFO: Acknowledgment sent {"connection_id":173543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:20] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:20] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:20] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:09:21] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:21] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:21] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:23] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:23] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:23] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:26] local.INFO: TCP Data received {"connection_id":176285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176285,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:26] local.INFO: Processing buffer {"connection_id":176285,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:09:26] local.INFO: IMEI packet received {"connection_id":176285,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":176285,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:27] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:27] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:27] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:09:32] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:32] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:09:32] local.INFO: IMEI packet received {"connection_id":173544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":173544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:33] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b72df68012d7c444005eac6480012005224..."} 
[2026-09-07 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b72df68012d7c444005eac6480012005224..."} 
[2026-09-07 16:09:33] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b72df68012d7c444005eac6480012005224..."} 
[2026-09-07 16:09:33] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:33] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763118656,"raw_latitude":99272264,"longitude_deg":76.3118656,"latitude_deg":9.9272264,"altitude":18,"angle":82,"satellites":36,"speed":7,"hex_longitude":"2d7c4440","hex_latitude":"05eac648","is_valid_coordinates":true} 
[2026-09-07 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927044352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129392929243398144,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953437559602927616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788777521000,"timestamp_ms":1788777521000,"timestamp_seconds":1788777521,"priority":1,"record_length":96,"hex_timestamp":"000001a07b72df68"} 
[2026-09-07 16:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927044352001,"66":13352,"10":206,"87":13824,"24":7,"16":129392929243398144,"45":8953437559602927616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927044352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 16:09:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129392929243398144,"km_value":129392929243398.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953437559602927616,"description":"Unknown IO ID 45"} 
[2026-09-07 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927044352001,"power":13352,"unknown_10":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8953437559602927616}} 
[2026-09-07 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:33] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:33] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:40] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:40] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:40] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:09:44] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:09:44] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:09:44] local.INFO: IMEI packet received {"connection_id":174888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":174888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:09:45] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:45] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:09:45] local.INFO: IMEI packet received {"connection_id":176286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:46] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:46] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:09:46] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:09:46] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:46] 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-07 16:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:46] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:46] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:57] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:09:57] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:09:57] local.INFO: IMEI packet received {"connection_id":174888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":174888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:58] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b726268012cb7e880077588a0003a012c2b..."} 
[2026-09-07 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b726268012cb7e880077588a0003a012c2b..."} 
[2026-09-07 16:09:58] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:09:58] local.INFO: IMEI packet received {"connection_id":174888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":174888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:09:59] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b727dc0012cb7c58007759a40003b01252b..."} 
[2026-09-07 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b727dc0012cb7c58007759a40003b01252b..."} 
[2026-09-07 16:09:59] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b726268012cb7e880077588a0003a012c2b..."} 
[2026-09-07 16:09:59] local.INFO: Packet analysis {"connection_id":174888,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: Extracted packet for processing {"connection_id":174888,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":750250112,"raw_latitude":125143200,"longitude_deg":75.0250112,"latitude_deg":12.51432,"altitude":58,"angle":300,"satellites":43,"speed":57,"hex_longitude":"2cb7e880","hex_latitude":"077588a0","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927035392001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401680743274643456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5185120882695956480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788777489000,"timestamp_ms":1788777489000,"timestamp_seconds":1788777489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b726268"} 
[2026-09-07 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.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-07 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927035392001,"66":27865,"224":206,"85":36608,"24":57,"16":401680743274643456,"44":-5185120882695956480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927035392001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401680743274643456,"km_value":401680743274643.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5185120882695956480,"description":"Unknown IO ID 44"} 
[2026-09-07 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927035392001,"power":27865,"unknown_224":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-5185120882695956480}} 
[2026-09-07 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":174888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:59] local.INFO: GPS data processed {"connection_id":174888,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:59] local.INFO: Acknowledgment sent {"connection_id":174888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:59] local.INFO: Packet analysis {"connection_id":174888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: Extracted packet for processing {"connection_id":174888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":750241152,"raw_latitude":125147712,"longitude_deg":75.0241152,"latitude_deg":12.5147712,"altitude":59,"angle":293,"satellites":43,"speed":55,"hex_longitude":"2cb7c580","hex_latitude":"07759a40","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927037184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401681220016013312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5194761400646852608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788777496000,"timestamp_ms":1788777496000,"timestamp_seconds":1788777496,"priority":1,"record_length":96,"hex_timestamp":"000001a07b727dc0"} 
[2026-09-07 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.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-07 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927037184001,"66":27908,"224":206,"85":36608,"24":55,"16":401681220016013312,"44":-5194761400646852608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927037184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401681220016013312,"km_value":401681220016013.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5194761400646852608,"description":"Unknown IO ID 44"} 
[2026-09-07 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927037184001,"power":27908,"unknown_224":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5194761400646852608}} 
[2026-09-07 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":174888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:59] local.INFO: GPS data processed {"connection_id":174888,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:59] local.INFO: Acknowledgment sent {"connection_id":174888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:09:59] local.INFO: TCP Data received {"connection_id":174888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b729918012cb7a1c00775a8d0003e01242b..."} 
[2026-09-07 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b729918012cb7a1c00775a8d0003e01242b..."} 
[2026-09-07 16:09:59] local.INFO: Processing buffer {"connection_id":174888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b729918012cb7a1c00775a8d0003e01242b..."} 
[2026-09-07 16:09:59] local.INFO: Packet analysis {"connection_id":174888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: Extracted packet for processing {"connection_id":174888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b72"} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":750232000,"raw_latitude":125151440,"longitude_deg":75.0232,"latitude_deg":12.515144,"altitude":62,"angle":292,"satellites":43,"speed":54,"hex_longitude":"2cb7a1c0","hex_latitude":"0775a8d0","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927038976001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401681688167448576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5204613024830570496,"note":"Value kept but may cause issues"} 
[2026-09-07 16:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788777503000,"timestamp_ms":1788777503000,"timestamp_seconds":1788777503,"priority":1,"record_length":96,"hex_timestamp":"000001a07b729918"} 
[2026-09-07 16:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:09:59] local.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-07 16:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927038976001,"66":27908,"224":206,"85":36608,"24":54,"16":401681688167448576,"44":-5204613024830570496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,85,24,16,44]} 
[2026-09-07 16:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927038976001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401681688167448576,"km_value":401681688167448.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5204613024830570496,"description":"Unknown IO ID 44"} 
[2026-09-07 16:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927038976001,"power":27908,"unknown_224":206,"unknown_85":36608,"ignition":54,"odometer":null,"unknown_44":-5204613024830570496}} 
[2026-09-07 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":174888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:09:59] local.INFO: GPS data processed {"connection_id":174888,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:09:59] local.INFO: Acknowledgment sent {"connection_id":174888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:04] local.INFO: TCP Data received {"connection_id":173544,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b731de8012d7c650005eaca480011004422..."} 
[2026-09-07 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b731de8012d7c650005eaca480011004422..."} 
[2026-09-07 16:10:04] local.INFO: Processing buffer {"connection_id":173544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b731de8012d7c650005eaca480011004422..."} 
[2026-09-07 16:10:04] local.INFO: Packet analysis {"connection_id":173544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:04] local.INFO: Extracted packet for processing {"connection_id":173544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":99273288,"longitude_deg":76.312704,"latitude_deg":9.9273288,"altitude":17,"angle":68,"satellites":34,"speed":19,"hex_longitude":"2d7c6500","hex_latitude":"05eaca48","is_valid_coordinates":true} 
[2026-09-07 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927045376001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129393337265291264,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353277265920,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788777537000,"timestamp_ms":1788777537000,"timestamp_seconds":1788777537,"priority":1,"record_length":96,"hex_timestamp":"000001a07b731de8"} 
[2026-09-07 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 16:10:04] 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-07 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927045376001,"66":12961,"10":206,"87":13824,"24":19,"16":129393337265291264,"45":8954352353277265920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-09-07 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927045376001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-09-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129393337265291264,"km_value":129393337265291.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353277265920,"description":"Unknown IO ID 45"} 
[2026-09-07 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927045376001,"power":12961,"unknown_10":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8954352353277265920}} 
[2026-09-07 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":173544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:04] local.INFO: GPS data processed {"connection_id":173544,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:04] local.INFO: Acknowledgment sent {"connection_id":173544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:17] local.INFO: TCP Data received {"connection_id":176286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:17] local.INFO: Processing buffer {"connection_id":176286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:17] local.INFO: Packet analysis {"connection_id":176286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:10:17] local.INFO: Extracted packet for processing {"connection_id":176286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:10:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:10:17] 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-07 16:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":176286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:17] local.INFO: GPS data processed {"connection_id":176286,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:17] local.INFO: Acknowledgment sent {"connection_id":176286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:30] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:30] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:30] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:10:32] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:32] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:32] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:10:37] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:37] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:10:37] local.INFO: IMEI packet received {"connection_id":173791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":173791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:10:38] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b736ff0012d7c7f4005ead270000e003e27..."} 
[2026-09-07 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b736ff0012d7c7f4005ead270000e003e27..."} 
[2026-09-07 16:10:38] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b736ff0012d7c7f4005ead270000e003e27..."} 
[2026-09-07 16:10:38] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:38] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":99275376,"longitude_deg":76.313376,"latitude_deg":9.9275376,"altitude":14,"angle":62,"satellites":39,"speed":0,"hex_longitude":"2d7c7f40","hex_latitude":"05ead270","is_valid_coordinates":true} 
[2026-09-07 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927049472001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129393676567707648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658764802048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788777558000,"timestamp_ms":1788777558000,"timestamp_seconds":1788777558,"priority":1,"record_length":96,"hex_timestamp":"000001a07b736ff0"} 
[2026-09-07 16:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-07 16:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927049472001,"66":13646,"8":206,"87":13824,"24":0,"16":129393676567707648,"45":8963570658764802048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927049472001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:10:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129393676567707648,"km_value":129393676567707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658764802048,"description":"Unknown IO ID 45"} 
[2026-09-07 16:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927049472001,"power":13646,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8963570658764802048}} 
[2026-09-07 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:38] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:38] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:40] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:40] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:40] local.INFO: IMEI packet received {"connection_id":174889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":174889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:10:44] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:44] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:44] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:10:45] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:45] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:10:45] local.INFO: IMEI packet received {"connection_id":174889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":174889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:10:46] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:46] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b700cc0012d196500071ff0200040011f25..."} 
[2026-09-07 16:10:46] local.INFO: Packet analysis {"connection_id":174889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:10:46] local.INFO: Extracted packet for processing {"connection_id":174889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b70"} 
[2026-09-07 16:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926920960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777336000,"timestamp_ms":1788777336000,"timestamp_seconds":1788777336,"priority":1,"record_length":96,"hex_timestamp":"000001a07b700cc0"} 
[2026-09-07 16: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-07 16:10:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:10:46] 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-07 16:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926920960001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926920960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926920960001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":174889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:46] local.INFO: GPS data processed {"connection_id":174889,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:46] local.INFO: Acknowledgment sent {"connection_id":174889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:47] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:47] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:47] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:10:49] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:49] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:10:49] local.INFO: IMEI packet received {"connection_id":173546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:10:50] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b73be10012cb6238007760560003c01082a..."} 
[2026-09-07 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b73be10012cb6238007760560003c01082a..."} 
[2026-09-07 16:10:50] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b73be10012cb6238007760560003c01082a..."} 
[2026-09-07 16:10:50] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:50] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":750134144,"raw_latitude":125175136,"longitude_deg":75.0134144,"latitude_deg":12.5175136,"altitude":60,"angle":264,"satellites":42,"speed":55,"hex_longitude":"2cb62380","hex_latitude":"07760560","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927058176001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401686618789904384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5311151303508303872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777578000,"timestamp_ms":1788777578000,"timestamp_seconds":1788777578,"priority":1,"record_length":96,"hex_timestamp":"000001a07b73be10"} 
[2026-09-07 16: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-07 16:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 16:10: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-07 16: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-07 16: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-07 16:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:10:50] local.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-07 16:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927058176001,"66":27930,"155":206,"85":36608,"24":55,"16":401686618789904384,"44":-5311151303508303872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-07 16:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927058176001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 16:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401686618789904384,"km_value":401686618789904.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5311151303508303872,"description":"Unknown IO ID 44"} 
[2026-09-07 16:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927058176001,"power":27930,"unknown_155":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5311151303508303872}} 
[2026-09-07 16:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:50] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:50] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:10:57] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b73d968012cb5fd40077601d0003c01082b..."} 
[2026-09-07 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b73d968012cb5fd40077601d0003c01082b..."} 
[2026-09-07 16:10:57] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b73d968012cb5fd40077601d0003c01082b..."} 
[2026-09-07 16:10:57] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:57] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":750124352,"raw_latitude":125174224,"longitude_deg":75.0124352,"latitude_deg":12.5174224,"altitude":60,"angle":264,"satellites":43,"speed":55,"hex_longitude":"2cb5fd40","hex_latitude":"077601d0","is_valid_coordinates":true} 
[2026-09-07 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-07 16:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927059968001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401687082646372352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5322269565088604160,"note":"Value kept but may cause issues"} 
[2026-09-07 16:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788777585000,"timestamp_ms":1788777585000,"timestamp_seconds":1788777585,"priority":1,"record_length":96,"hex_timestamp":"000001a07b73d968"} 
[2026-09-07 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-07 16:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 16:10:57] 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-07 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-07 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-07 16:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:10:57] local.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-07 16:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927059968001,"66":27919,"155":206,"85":36608,"24":55,"16":401687082646372352,"44":-5322269565088604160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-07 16:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927059968001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:10:57] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 16:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401687082646372352,"km_value":401687082646372.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5322269565088604160,"description":"Unknown IO ID 44"} 
[2026-09-07 16:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927059968001,"power":27919,"unknown_155":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-5322269565088604160}} 
[2026-09-07 16:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:10:57] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:10:57] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:10] local.INFO: TCP Data received {"connection_id":173791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b73c1f8012d7c8bc005ead890000e004525..."} 
[2026-09-07 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b73c1f8012d7c8bc005ead890000e004525..."} 
[2026-09-07 16:11:10] local.INFO: Processing buffer {"connection_id":173791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b73c1f8012d7c8bc005ead890000e004525..."} 
[2026-09-07 16:11:10] local.INFO: Packet analysis {"connection_id":173791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:11:10] local.INFO: Extracted packet for processing {"connection_id":173791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":99276944,"longitude_deg":76.313696,"latitude_deg":9.9276944,"altitude":14,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d7c8bc0","hex_latitude":"05ead890","is_valid_coordinates":true} 
[2026-09-07 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927054848001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129393856956334080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376903991296,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788777579000,"timestamp_ms":1788777579000,"timestamp_seconds":1788777579,"priority":1,"record_length":96,"hex_timestamp":"000001a07b73c1f8"} 
[2026-09-07 16:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:10] 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-07 16:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927054848001,"66":12982,"8":206,"87":13824,"24":0,"16":129393856956334080,"45":8970959376903991296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927054848001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:10] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:11:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129393856956334080,"km_value":129393856956334.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376903991296,"description":"Unknown IO ID 45"} 
[2026-09-07 16:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927054848001,"power":12982,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8970959376903991296}} 
[2026-09-07 16:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":173791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:10] local.INFO: GPS data processed {"connection_id":173791,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:10] local.INFO: Acknowledgment sent {"connection_id":173791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:17] local.INFO: TCP Data received {"connection_id":174889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:17] local.INFO: Processing buffer {"connection_id":174889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:17] local.INFO: Packet analysis {"connection_id":174889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:17] local.INFO: Extracted packet for processing {"connection_id":174889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:11:17] 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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:17] 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-07 16:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":174889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:17] local.INFO: GPS data processed {"connection_id":174889,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:17] local.INFO: Acknowledgment sent {"connection_id":174889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:28] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:28] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:28] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:11:33] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:33] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:11:33] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:11:35] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b741400012d7c8d0005ead938000e004c25..."} 
[2026-09-07 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b741400012d7c8d0005ead938000e004c25..."} 
[2026-09-07 16:11:35] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b741400012d7c8d0005ead938000e004c25..."} 
[2026-09-07 16:11:35] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:35] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":99277112,"longitude_deg":76.313728,"latitude_deg":9.9277112,"altitude":14,"angle":76,"satellites":37,"speed":4,"hex_longitude":"2d7c8d00","hex_latitude":"05ead938","is_valid_coordinates":true} 
[2026-09-07 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927060224001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129393874136203264,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477814113275904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788777600000,"timestamp_ms":1788777600000,"timestamp_seconds":1788777600,"priority":1,"record_length":96,"hex_timestamp":"000001a07b741400"} 
[2026-09-07 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:35] 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-07 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927060224001,"66":13493,"8":206,"87":13824,"24":4,"16":129393874136203264,"45":8974477814113275904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927060224001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:35] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:11:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129393874136203264,"km_value":129393874136203.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477814113275904,"description":"Unknown IO ID 45"} 
[2026-09-07 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927060224001,"power":13493,"unknown_8":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8974477814113275904}} 
[2026-09-07 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:35] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:35] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:36] local.INFO: TCP Data received {"connection_id":173546,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b73f0d8012cb5dc000775fb98003b00fc2b..."} 
[2026-09-07 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b73f0d8012cb5dc000775fb98003b00fc2b..."} 
[2026-09-07 16:11:36] local.INFO: Processing buffer {"connection_id":173546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b73f0d8012cb5dc000775fb98003b00fc2b..."} 
[2026-09-07 16:11:36] local.INFO: Packet analysis {"connection_id":173546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:11:36] local.INFO: Extracted packet for processing {"connection_id":173546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b73"} 
[2026-09-07 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":750115840,"raw_latitude":125172632,"longitude_deg":75.011584,"latitude_deg":12.5172632,"altitude":59,"angle":252,"satellites":43,"speed":57,"hex_longitude":"2cb5dc00","hex_latitude":"0775fb98","is_valid_coordinates":true} 
[2026-09-07 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927061760001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401687499258200064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5333035982948020224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788777591000,"timestamp_ms":1788777591000,"timestamp_seconds":1788777591,"priority":1,"record_length":96,"hex_timestamp":"000001a07b73f0d8"} 
[2026-09-07 16:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927061760001,"66":28028,"155":206,"85":36608,"24":57,"16":401687499258200064,"44":-5333035982948020224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,44]} 
[2026-09-07 16:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927061760001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 16:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401687499258200064,"km_value":401687499258200.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5333035982948020224,"description":"Unknown IO ID 44"} 
[2026-09-07 16:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927061760001,"power":28028,"unknown_155":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-5333035982948020224}} 
[2026-09-07 16:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":173546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:36] local.INFO: GPS data processed {"connection_id":173546,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:36] local.INFO: Acknowledgment sent {"connection_id":173546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:45] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:45] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:45] local.INFO: IMEI packet received {"connection_id":176289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:11:46] local.INFO: TCP Data received {"connection_id":173547,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:11:46] local.INFO: Processing buffer {"connection_id":173547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:11:46] local.INFO: IMEI packet received {"connection_id":173547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":173547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:11:49] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:49] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:49] local.INFO: IMEI packet received {"connection_id":173548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":173548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:11:50] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:50] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:11:50] local.INFO: IMEI packet received {"connection_id":173548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":173548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:11:50] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:50] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:11:50] local.INFO: IMEI packet received {"connection_id":176289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":176289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:11:51] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74eec0012cb4b780077544a8002d01122a..."} 
[2026-09-07 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74eec0012cb4b780077544a8002d01122a..."} 
[2026-09-07 16:11:51] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74eec0012cb4b780077544a8002d01122a..."} 
[2026-09-07 16:11:51] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:51] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":750040960,"raw_latitude":125125800,"longitude_deg":75.004096,"latitude_deg":12.51258,"altitude":45,"angle":274,"satellites":42,"speed":47,"hex_longitude":"2cb4b780","hex_latitude":"077544a8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927078912001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401691759865757696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5419237694577993728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777656000,"timestamp_ms":1788777656000,"timestamp_seconds":1788777656,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74eec0"} 
[2026-09-07 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-07 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:51] local.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-07 16:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927078912001,"66":27821,"145":206,"85":36608,"24":47,"16":401691759865757696,"44":-5419237694577993728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927078912001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401691759865757696,"km_value":401691759865757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5419237694577993728,"description":"Unknown IO ID 44"} 
[2026-09-07 16:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927078912001,"power":27821,"unknown_145":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5419237694577993728}} 
[2026-09-07 16:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:51] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:51] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:51] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:51] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:51] local.INFO: Packet analysis {"connection_id":176289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:51] local.INFO: Extracted packet for processing {"connection_id":176289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11: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-07 16:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 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-07 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":176289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:51] local.INFO: GPS data processed {"connection_id":176289,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:51] local.INFO: Acknowledgment sent {"connection_id":176289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:55] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74fe60012cb4a50007754888002c01202c..."} 
[2026-09-07 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74fe60012cb4a50007754888002c01202c..."} 
[2026-09-07 16:11:55] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74fe60012cb4a50007754888002c01202c..."} 
[2026-09-07 16:11:55] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:55] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":750036224,"raw_latitude":125126792,"longitude_deg":75.0036224,"latitude_deg":12.5126792,"altitude":44,"angle":288,"satellites":44,"speed":47,"hex_longitude":"2cb4a500","hex_latitude":"07754888","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927079936001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401691987499024384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5424726456623912960,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777660000,"timestamp_ms":1788777660000,"timestamp_seconds":1788777660,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74fe60"} 
[2026-09-07 16: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-07 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 16:11:55] 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-07 16: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-07 16: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-07 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:11:55] local.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-07 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927079936001,"66":27821,"145":206,"85":36608,"24":47,"16":401691987499024384,"44":-5424726456623912960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927079936001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401691987499024384,"km_value":401691987499024.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5424726456623912960,"description":"Unknown IO ID 44"} 
[2026-09-07 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927079936001,"power":27821,"unknown_145":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5424726456623912960}} 
[2026-09-07 16:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:55] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:55] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:11:55] local.INFO: TCP Data received {"connection_id":176289,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:55] local.INFO: Processing buffer {"connection_id":176289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:11:55] local.INFO: Packet analysis {"connection_id":176289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:55] local.INFO: Extracted packet for processing {"connection_id":176289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16: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-07 16:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:11: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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:11: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-07 16: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-07 16: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-07 16:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":176289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:11:56] local.INFO: GPS data processed {"connection_id":176289,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:11:56] local.INFO: Acknowledgment sent {"connection_id":176289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:06] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b745668012d7cb00005eae4f0000d004728..."} 
[2026-09-07 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b745668012d7cb00005eae4f0000d004728..."} 
[2026-09-07 16:12:06] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b745668012d7cb00005eae4f0000d004728..."} 
[2026-09-07 16:12:06] local.INFO: Packet analysis {"connection_id":173793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:06] local.INFO: Extracted packet for processing {"connection_id":173793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763146240,"raw_latitude":99280112,"longitude_deg":76.314624,"latitude_deg":9.9280112,"altitude":13,"angle":71,"satellites":40,"speed":24,"hex_longitude":"2d7cb000","hex_latitude":"05eae4f0","is_valid_coordinates":true} 
[2026-09-07 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927065600001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129394325107769344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657834207232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788777617000,"timestamp_ms":1788777617000,"timestamp_seconds":1788777617,"priority":1,"record_length":96,"hex_timestamp":"000001a07b745668"} 
[2026-09-07 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 16:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927065600001,"66":12689,"8":206,"87":13824,"24":24,"16":129394325107769344,"45":8974829657834207232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927065600001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:06] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:12:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129394325107769344,"km_value":129394325107769.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657834207232,"description":"Unknown IO ID 45"} 
[2026-09-07 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927065600001,"power":12689,"unknown_8":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8974829657834207232}} 
[2026-09-07 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":173793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:06] local.INFO: GPS data processed {"connection_id":173793,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:06] local.INFO: Acknowledgment sent {"connection_id":173793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:26] local.INFO: TCP Data received {"connection_id":173548,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b750e00012cb493c0077550b8002b012e2c..."} 
[2026-09-07 16:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b750e00012cb493c0077550b8002b012e2c..."} 
[2026-09-07 16:12:26] local.INFO: Processing buffer {"connection_id":173548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b750e00012cb493c0077550b8002b012e2c..."} 
[2026-09-07 16:12:26] local.INFO: Packet analysis {"connection_id":173548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:12:26] local.INFO: Extracted packet for processing {"connection_id":173548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:12:26] local.INFO: GPS Element Parsed {"raw_longitude":750031808,"raw_latitude":125128888,"longitude_deg":75.0031808,"latitude_deg":12.5128888,"altitude":43,"angle":302,"satellites":44,"speed":48,"hex_longitude":"2cb493c0","hex_latitude":"077550b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927080960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401692223722225664,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5429933743692806144,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788777664000,"timestamp_ms":1788777664000,"timestamp_seconds":1788777664,"priority":1,"record_length":96,"hex_timestamp":"000001a07b750e00"} 
[2026-09-07 16: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-07 16:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 16:12:26] 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-07 16: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-07 16: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-07 16:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:12: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-07 16:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927080960001,"66":27865,"145":206,"85":36608,"24":48,"16":401692223722225664,"44":-5429933743692806144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 16:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927080960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 16:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401692223722225664,"km_value":401692223722225.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5429933743692806144,"description":"Unknown IO ID 44"} 
[2026-09-07 16:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927080960001,"power":27865,"unknown_145":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5429933743692806144}} 
[2026-09-07 16:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":173548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:26] local.INFO: GPS data processed {"connection_id":173548,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:26] local.INFO: Acknowledgment sent {"connection_id":173548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:28] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:28] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:28] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:12:29] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:29] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:29] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:12:31] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:31] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:12:31] local.INFO: IMEI packet received {"connection_id":173549,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":173549,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:12:33] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b748548012d7ccc0005eaec08000c005325..."} 
[2026-09-07 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b748548012d7ccc0005eaec08000c005325..."} 
[2026-09-07 16:12:33] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b748548012d7ccc0005eaec08000c005325..."} 
[2026-09-07 16:12:33] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:33] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763153408,"raw_latitude":99281928,"longitude_deg":76.3153408,"latitude_deg":9.9281928,"altitude":12,"angle":83,"satellites":37,"speed":26,"hex_longitude":"2d7ccc00","hex_latitude":"05eaec08","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927069952001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129394677295087616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984681282019848192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788777629000,"timestamp_ms":1788777629000,"timestamp_seconds":1788777629,"priority":1,"record_length":96,"hex_timestamp":"000001a07b748548"} 
[2026-09-07 16: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-07 16:12: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-07 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-07 16:12: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-07 16: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-07 16: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-07 16:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927069952001,"66":13396,"8":206,"87":13824,"24":26,"16":129394677295087616,"45":8984681282019848192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927069952001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129394677295087616,"km_value":129394677295087.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984681282019848192,"description":"Unknown IO ID 45"} 
[2026-09-07 16:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927069952001,"power":13396,"unknown_8":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8984681282019848192}} 
[2026-09-07 16:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:33] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:33] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:37] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74d368012d7ce54005eaede8000e005525..."} 
[2026-09-07 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74d368012d7ce54005eaede8000e005525..."} 
[2026-09-07 16:12:37] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74d368012d7ce54005eaede8000e005525..."} 
[2026-09-07 16:12:37] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:37] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763159872,"raw_latitude":99282408,"longitude_deg":76.3159872,"latitude_deg":9.9282408,"altitude":14,"angle":85,"satellites":37,"speed":7,"hex_longitude":"2d7ce540","hex_latitude":"05eaede8","is_valid_coordinates":true} 
[2026-09-07 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927073024001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129394990827700224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992562581368211456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788777649000,"timestamp_ms":1788777649000,"timestamp_seconds":1788777649,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74d368"} 
[2026-09-07 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-09-07 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927073024001,"66":13048,"8":206,"87":13824,"24":7,"16":129394990827700224,"45":8992562581368211456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-09-07 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927073024001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:37] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-09-07 16:12:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129394990827700224,"km_value":129394990827700.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992562581368211456,"description":"Unknown IO ID 45"} 
[2026-09-07 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927073024001,"power":13048,"unknown_8":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8992562581368211456}} 
[2026-09-07 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:37] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:37] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:40] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:40] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:40] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:12:40] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:40] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:40] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:12:44] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:44] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:44] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:12:45] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:45] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:12:45] local.INFO: IMEI packet received {"connection_id":173795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":173795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:12:46] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:12:46] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:12:46] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:46] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:12:46] 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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:12:46] 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-07 16:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:46] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:46] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:12:49] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:49] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:12:49] local.INFO: IMEI packet received {"connection_id":174890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:12:50] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b752d40012cb474c0077567700029012a2a..."} 
[2026-09-07 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b752d40012cb474c0077567700029012a2a..."} 
[2026-09-07 16:12:50] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b752d40012cb474c0077567700029012a2a..."} 
[2026-09-07 16:12:50] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:12:50] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:12:50] local.INFO: GPS Element Parsed {"raw_longitude":750023872,"raw_latitude":125134704,"longitude_deg":75.0023872,"latitude_deg":12.5134704,"altitude":41,"angle":298,"satellites":42,"speed":49,"hex_longitude":"2cb474c0","hex_latitude":"07756770","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927081984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401692691873660928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5434789187040528384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777672000,"timestamp_ms":1788777672000,"timestamp_seconds":1788777672,"priority":1,"record_length":96,"hex_timestamp":"000001a07b752d40"} 
[2026-09-07 16: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-07 16:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:12:50] local.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-07 16:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927081984001,"66":27865,"223":206,"85":36608,"24":49,"16":401692691873660928,"44":-5434789187040528384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-07 16:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927081984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:12:50] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 16:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401692691873660928,"km_value":401692691873660.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5434789187040528384,"description":"Unknown IO ID 44"} 
[2026-09-07 16:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927081984001,"power":27865,"unknown_223":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5434789187040528384}} 
[2026-09-07 16:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:12:50] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:12:50] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:09] local.INFO: TCP Data received {"connection_id":173549,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b769888012d7d20c005eafef8000f004629..."} 
[2026-09-07 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b769888012d7d20c005eafef8000f004629..."} 
[2026-09-07 16:13:09] local.INFO: Processing buffer {"connection_id":173549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b769888012d7d20c005eafef8000f004629..."} 
[2026-09-07 16:13:09] local.INFO: Packet analysis {"connection_id":173549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:09] local.INFO: Extracted packet for processing {"connection_id":173549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99286776,"longitude_deg":76.3175104,"latitude_deg":9.9286776,"altitude":15,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2d7d20c0","hex_latitude":"05eafef8","is_valid_coordinates":true} 
[2026-09-07 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927107328001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129395785396649984,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216901494784,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788777765000,"timestamp_ms":1788777765000,"timestamp_seconds":1788777765,"priority":1,"record_length":96,"hex_timestamp":"000001a07b769888"} 
[2026-09-07 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":234,"raw_value":-869194667949218048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-09-07 16:13:09] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3030974464,"corrected_to":0} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":88,"raw_value":57791009774262070,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.WARNING: Large IO value detected {"io_id":118,"raw_value":576462047186305029,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,158,87,24,241,157,16,180,160,140,45,128,254,15,39,10,66,125,64,253,41,121,192,1,240,69,227,123,234,4,113,205,8,90,23,32,38,239,52,2,203,5,88,118],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0},{"io_id":203,"original":3030974464,"validated":0}]} 
[2026-09-07 16:13:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080923455995510784,"timestamp_seconds":1080923455995510.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173549,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927107328001,"66":13243,"158":206,"87":13824,"24":0,"16":129395785396649984,"45":9016347216901494784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927107328001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129395785396649984,"km_value":129395785396649.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216901494784,"description":"Unknown IO ID 45"} 
[2026-09-07 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927107328001,"power":13243,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9016347216901494784}} 
[2026-09-07 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":173549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:09] local.INFO: GPS data processed {"connection_id":173549,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:09] local.INFO: Acknowledgment sent {"connection_id":173549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:17] local.INFO: TCP Data received {"connection_id":173795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:17] local.INFO: Processing buffer {"connection_id":173795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:17] local.INFO: Packet analysis {"connection_id":173795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:13:17] local.INFO: Extracted packet for processing {"connection_id":173795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:13:17] 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-07 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:13:17] 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-07 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":173795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:17] local.INFO: GPS data processed {"connection_id":173795,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:17] local.INFO: Acknowledgment sent {"connection_id":173795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:24] local.INFO: TCP Data received {"connection_id":174890,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7540c8012cb45e40077570e80029011e2b..."} 
[2026-09-07 16:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7540c8012cb45e40077570e80029011e2b..."} 
[2026-09-07 16:13:24] local.INFO: Processing buffer {"connection_id":174890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7540c8012cb45e40077570e80029011e2b..."} 
[2026-09-07 16:13:24] local.INFO: Packet analysis {"connection_id":174890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:13:24] local.INFO: Extracted packet for processing {"connection_id":174890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b75"} 
[2026-09-07 16:13:24] local.INFO: GPS Element Parsed {"raw_longitude":750018112,"raw_latitude":125137128,"longitude_deg":75.0018112,"latitude_deg":12.5137128,"altitude":41,"angle":286,"satellites":43,"speed":49,"hex_longitude":"2cb45e40","hex_latitude":"077570e8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927084032001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401692992521371648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5443514911317069824,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788777677000,"timestamp_ms":1788777677000,"timestamp_seconds":1788777677,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7540c8"} 
[2026-09-07 16: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-07 16:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927084032001,"66":27908,"223":206,"85":36608,"24":49,"16":401692992521371648,"44":-5443514911317069824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-07 16:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927084032001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:24] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 16:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401692992521371648,"km_value":401692992521371.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5443514911317069824,"description":"Unknown IO ID 44"} 
[2026-09-07 16:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927084032001,"power":27908,"unknown_223":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-5443514911317069824}} 
[2026-09-07 16:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":174890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:24] local.INFO: GPS data processed {"connection_id":174890,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:24] local.INFO: Acknowledgment sent {"connection_id":174890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:28] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:28] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:28] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:13:33] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:33] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:13:33] local.INFO: IMEI packet received {"connection_id":174891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":174891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:13:34] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b769c70012d7d214005eafef8000f00562a..."} 
[2026-09-07 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b769c70012d7d214005eafef8000f00562a..."} 
[2026-09-07 16:13:34] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b769c70012d7d214005eafef8000f00562a..."} 
[2026-09-07 16:13:34] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:34] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99286776,"longitude_deg":76.3175232,"latitude_deg":9.9286776,"altitude":15,"angle":86,"satellites":42,"speed":1,"hex_longitude":"2d7d2140","hex_latitude":"05eafef8","is_valid_coordinates":true} 
[2026-09-07 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927107840001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129395789691617280,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645680640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788777766000,"timestamp_ms":1788777766000,"timestamp_seconds":1788777766,"priority":1,"record_length":96,"hex_timestamp":"000001a07b769c70"} 
[2026-09-07 16:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927107840001,"66":13363,"158":206,"87":13824,"24":1,"16":129395789691617280,"45":9016417585645680640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927107840001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129395789691617280,"km_value":129395789691617.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645680640,"description":"Unknown IO ID 45"} 
[2026-09-07 16:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927107840001,"power":13363,"unknown_158":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9016417585645680640}} 
[2026-09-07 16:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:34] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:34] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:40] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:40] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:40] local.INFO: IMEI packet received {"connection_id":173550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":173550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:13:45] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:45] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:13:45] local.INFO: IMEI packet received {"connection_id":173550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:13:45] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:13:45] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:13:45] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:13:46] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:46] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:13:46] local.INFO: Packet analysis {"connection_id":173550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:13:46] local.INFO: Extracted packet for processing {"connection_id":173550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 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-07 16:13:46] 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-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:13:46] 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-07 16:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:46] local.INFO: GPS data processed {"connection_id":173550,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:46] local.INFO: Acknowledgment sent {"connection_id":173550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:47] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:13:47] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 16:13:47] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:13:47] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b768cd0012cb380800774c058001d00d825..."} 
[2026-09-07 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b768cd0012cb380800774c058001d00d825..."} 
[2026-09-07 16:13:47] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:13:47] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:13:49] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b76bbb0012cb36dc00774a028001f00ca24..."} 
[2026-09-07 16:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b76bbb0012cb36dc00774a028001f00ca24..."} 
[2026-09-07 16:13:49] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b768cd0012cb380800774c058001d00d825..."} 
[2026-09-07 16:13:49] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:49] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:49] local.INFO: GPS Element Parsed {"raw_longitude":749961344,"raw_latitude":125091928,"longitude_deg":74.9961344,"latitude_deg":12.5091928,"altitude":29,"angle":216,"satellites":37,"speed":31,"hex_longitude":"2cb38080","hex_latitude":"0774c058","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927104512001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401696677603311616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5505650512435167232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788777762000,"timestamp_ms":1788777762000,"timestamp_seconds":1788777762,"priority":1,"record_length":96,"hex_timestamp":"000001a07b768cd0"} 
[2026-09-07 16: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-07 16:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:49] local.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-07 16:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927104512001,"66":27930,"244":206,"85":36608,"24":31,"16":401696677603311616,"44":-5505650512435167232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,44]} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927104512001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401696677603311616,"km_value":401696677603311.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5505650512435167232,"description":"Unknown IO ID 44"} 
[2026-09-07 16:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927104512001,"power":27930,"unknown_244":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5505650512435167232}} 
[2026-09-07 16:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:49] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:49] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:49] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:49] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:49] local.INFO: GPS Element Parsed {"raw_longitude":749956544,"raw_latitude":125083688,"longitude_deg":74.9956544,"latitude_deg":12.5083688,"altitude":31,"angle":202,"satellites":36,"speed":28,"hex_longitude":"2cb36dc0","hex_latitude":"0774a028","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927107072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401697137164812288,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5512265174389598208,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788777774000,"timestamp_ms":1788777774000,"timestamp_seconds":1788777774,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76bbb0"} 
[2026-09-07 16: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-07 16:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:49] local.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-07 16:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927107072001,"66":27484,"245":206,"85":36608,"24":28,"16":401697137164812288,"44":-5512265174389598208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-09-07 16:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927107072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401697137164812288,"km_value":401697137164812.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5512265174389598208,"description":"Unknown IO ID 44"} 
[2026-09-07 16:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927107072001,"power":27484,"geofence_id":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5512265174389598208}} 
[2026-09-07 16:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:49] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:49] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:13:50] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b76bbb0012cb36dc00774a028001f00ca24..."} 
[2026-09-07 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b76bbb0012cb36dc00774a028001f00ca24..."} 
[2026-09-07 16:13:50] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b76bbb0012cb36dc00774a028001f00ca24..."} 
[2026-09-07 16:13:50] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:50] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":749956544,"raw_latitude":125083688,"longitude_deg":74.9956544,"latitude_deg":12.5083688,"altitude":31,"angle":202,"satellites":36,"speed":28,"hex_longitude":"2cb36dc0","hex_latitude":"0774a028","is_valid_coordinates":true} 
[2026-09-07 16:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927110144001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401697137164812288,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5517542830205032448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777774000,"timestamp_ms":1788777774000,"timestamp_seconds":1788777774,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76bbb0"} 
[2026-09-07 16:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:13:50] local.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-07 16:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927110144001,"66":27484,"245":206,"85":36608,"24":28,"16":401697137164812288,"44":-5517542830205032448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-09-07 16:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927110144001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401697137164812288,"km_value":401697137164812.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5517542830205032448,"description":"Unknown IO ID 44"} 
[2026-09-07 16:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927110144001,"power":27484,"geofence_id":206,"unknown_85":36608,"ignition":28,"odometer":null,"unknown_44":-5517542830205032448}} 
[2026-09-07 16:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:13:50] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:13:50] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:05] local.INFO: TCP Data received {"connection_id":174891,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b76a440012d7d21c005eafef0000f00692b..."} 
[2026-09-07 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b76a440012d7d21c005eafef0000f00692b..."} 
[2026-09-07 16:14:05] local.INFO: Processing buffer {"connection_id":174891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b76a440012d7d21c005eafef0000f00692b..."} 
[2026-09-07 16:14:05] local.INFO: Packet analysis {"connection_id":174891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:05] local.INFO: Extracted packet for processing {"connection_id":174891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99286768,"longitude_deg":76.317536,"latitude_deg":9.9286768,"altitude":15,"angle":105,"satellites":43,"speed":2,"hex_longitude":"2d7d21c0","hex_latitude":"05eafef0","is_valid_coordinates":true} 
[2026-09-07 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927108096001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129395793986584576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323134035968,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788777768000,"timestamp_ms":1788777768000,"timestamp_seconds":1788777768,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76a440"} 
[2026-09-07 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:14: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-07 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:05] 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-07 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927108096001,"66":13450,"158":206,"87":13824,"24":2,"16":129395793986584576,"45":9016558323134035968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927108096001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129395793986584576,"km_value":129395793986584.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323134035968,"description":"Unknown IO ID 45"} 
[2026-09-07 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927108096001,"power":13450,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9016558323134035968}} 
[2026-09-07 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":174891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:05] local.INFO: GPS data processed {"connection_id":174891,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:05] local.INFO: Acknowledgment sent {"connection_id":174891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:17] local.INFO: TCP Data received {"connection_id":173550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:17] local.INFO: Processing buffer {"connection_id":173550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:17] local.INFO: Packet analysis {"connection_id":173550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:14:17] local.INFO: Extracted packet for processing {"connection_id":173550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:14:17] 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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:14:17] 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-07 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":173550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:17] local.INFO: GPS data processed {"connection_id":173550,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:17] local.INFO: Acknowledgment sent {"connection_id":173550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:23] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b76ea90012cb35f8007748078002400d322..."} 
[2026-09-07 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b76ea90012cb35f8007748078002400d322..."} 
[2026-09-07 16:14:23] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b76ea90012cb35f8007748078002400d322..."} 
[2026-09-07 16:14:23] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:23] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:23] local.INFO: GPS Element Parsed {"raw_longitude":749952896,"raw_latitude":125075576,"longitude_deg":74.9952896,"latitude_deg":12.5075576,"altitude":36,"angle":211,"satellites":34,"speed":27,"hex_longitude":"2cb35f80","hex_latitude":"07748078","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927110144001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401697570956509184,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5517542830205032448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788777786000,"timestamp_ms":1788777786000,"timestamp_seconds":1788777786,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76ea90"} 
[2026-09-07 16: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-07 16:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927110144001,"66":27821,"245":206,"85":36608,"24":27,"16":401697570956509184,"44":-5517542830205032448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-09-07 16:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927110144001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401697570956509184,"km_value":401697570956509.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5517542830205032448,"description":"Unknown IO ID 44"} 
[2026-09-07 16:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927110144001,"power":27821,"geofence_id":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-5517542830205032448}} 
[2026-09-07 16:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:23] local.INFO: GPS data processed {"connection_id":173797,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:23] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:27] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:27] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:27] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:14:29] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:29] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:29] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:14:32] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:32] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:14:32] local.INFO: IMEI packet received {"connection_id":173799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":173799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:14:35] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b76f260012d7d228005eaff18000f00652a..."} 
[2026-09-07 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b76f260012d7d228005eaff18000f00652a..."} 
[2026-09-07 16:14:35] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b76f260012d7d228005eaff18000f00652a..."} 
[2026-09-07 16:14:35] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:35] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763175552,"raw_latitude":99286808,"longitude_deg":76.3175552,"latitude_deg":9.9286808,"altitude":15,"angle":101,"satellites":42,"speed":0,"hex_longitude":"2d7d2280","hex_latitude":"05eaff18","is_valid_coordinates":true} 
[2026-09-07 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927108608001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129395806871486464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060622389248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788777788000,"timestamp_ms":1788777788000,"timestamp_seconds":1788777788,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76f260"} 
[2026-09-07 16:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:14:35] 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-07 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:35] 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-07 16:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927108608001,"66":12765,"158":206,"87":13824,"24":0,"16":129395806871486464,"45":9016699060622389248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927108608001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129395806871486464,"km_value":129395806871486.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060622389248,"description":"Unknown IO ID 45"} 
[2026-09-07 16:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927108608001,"power":12765,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9016699060622389248}} 
[2026-09-07 16:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:35] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:35] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:40] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:40] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:40] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:14:45] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:45] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:14:45] local.INFO: IMEI packet received {"connection_id":174893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":174893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:14:46] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:46] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:14:46] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:14:46] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:14:46] 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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:14:46] 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-07 16:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:46] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:46] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:47] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:47] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:47] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:14:49] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:49] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:14:49] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:14:50] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:14:50] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:14:50] local.INFO: IMEI packet received {"connection_id":173551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":173551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:14:52] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b770200012cb35a00077472f8002900d323..."} 
[2026-09-07 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b770200012cb35a00077472f8002900d323..."} 
[2026-09-07 16:14:52] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b76f260012cb35e4007747c30002500c524..."} 
[2026-09-07 16:14:52] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:52] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b76"} 
[2026-09-07 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":749952576,"raw_latitude":125074480,"longitude_deg":74.9952576,"latitude_deg":12.507448,"altitude":37,"angle":197,"satellites":36,"speed":22,"hex_longitude":"2cb35e40","hex_latitude":"07747c30","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927113216001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401697626791084032,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5521553848625235968,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788777788000,"timestamp_ms":1788777788000,"timestamp_seconds":1788777788,"priority":1,"record_length":96,"hex_timestamp":"000001a07b76f260"} 
[2026-09-07 16: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-07 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14: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-07 16:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927113216001,"66":27908,"245":206,"85":36608,"24":22,"16":401697626791084032,"44":-5521553848625235968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927113216001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401697626791084032,"km_value":401697626791084.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5521553848625235968,"description":"Unknown IO ID 44"} 
[2026-09-07 16:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927113216001,"power":27908,"geofence_id":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5521553848625235968}} 
[2026-09-07 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:52] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:52] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:52] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b77"} 
[2026-09-07 16:14:52] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b77"} 
[2026-09-07 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":749951488,"raw_latitude":125072120,"longitude_deg":74.9951488,"latitude_deg":12.507212,"altitude":41,"angle":211,"satellites":35,"speed":24,"hex_longitude":"2cb35a00","hex_latitude":"077472f8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927113728001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401697751345135616,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5521905692346404864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788777792000,"timestamp_ms":1788777792000,"timestamp_seconds":1788777792,"priority":1,"record_length":96,"hex_timestamp":"000001a07b770200"} 
[2026-09-07 16: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-07 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14: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-07 16:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927113728001,"66":27865,"88":206,"85":36608,"24":24,"16":401697751345135616,"44":-5521905692346404864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 16:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927113728001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401697751345135616,"km_value":401697751345135.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5521905692346404864,"description":"Unknown IO ID 44"} 
[2026-09-07 16:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927113728001,"power":27865,"unknown_88":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5521905692346404864}} 
[2026-09-07 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:52] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:52] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:14:55] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b772910012cb3498007745cb8003300e025..."} 
[2026-09-07 16:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b772910012cb3498007745cb8003300e025..."} 
[2026-09-07 16:14:55] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b772910012cb3498007745cb8003300e025..."} 
[2026-09-07 16:14:55] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b77"} 
[2026-09-07 16:14:55] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b77"} 
[2026-09-07 16:14:55] local.INFO: GPS Element Parsed {"raw_longitude":749947264,"raw_latitude":125066424,"longitude_deg":74.9947264,"latitude_deg":12.5066424,"altitude":51,"angle":224,"satellites":37,"speed":25,"hex_longitude":"2cb34980","hex_latitude":"07745cb8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927114752001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401698094942519296,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523101960998029312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777802000,"timestamp_ms":1788777802000,"timestamp_seconds":1788777802,"priority":1,"record_length":96,"hex_timestamp":"000001a07b772910"} 
[2026-09-07 16: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-07 16:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:14:55] local.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-07 16:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927114752001,"66":27876,"88":206,"85":36608,"24":25,"16":401698094942519296,"44":-5523101960998029312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-09-07 16:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927114752001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:14:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 16:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401698094942519296,"km_value":401698094942519.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:14:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523101960998029312,"description":"Unknown IO ID 44"} 
[2026-09-07 16:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927114752001,"power":27876,"unknown_88":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5523101960998029312}} 
[2026-09-07 16:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:14:55] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:14:55] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:17] local.INFO: TCP Data received {"connection_id":174893,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:17] local.INFO: Processing buffer {"connection_id":174893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:17] local.INFO: Packet analysis {"connection_id":174893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:15:17] local.INFO: Extracted packet for processing {"connection_id":174893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:15:17] 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-07 16: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:15:17] 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-07 16:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":174893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:17] local.INFO: GPS data processed {"connection_id":174893,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:17] local.INFO: Acknowledgment sent {"connection_id":174893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:18] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:18] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:18] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:15:20] local.INFO: TCP Data received {"connection_id":176290,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176290,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:20] local.INFO: Processing buffer {"connection_id":176290,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:20] local.INFO: IMEI packet received {"connection_id":176290,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":176290,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:15:26] local.INFO: TCP Data received {"connection_id":173551,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b786960012cb2498007748880000f013d27..."} 
[2026-09-07 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b786960012cb2498007748880000f013d27..."} 
[2026-09-07 16:15:26] local.INFO: Processing buffer {"connection_id":173551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b786960012cb2498007748880000f013d27..."} 
[2026-09-07 16:15:26] local.INFO: Packet analysis {"connection_id":173551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:26] local.INFO: Extracted packet for processing {"connection_id":173551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":749881728,"raw_latitude":125077632,"longitude_deg":74.9881728,"latitude_deg":12.5077632,"altitude":15,"angle":317,"satellites":39,"speed":12,"hex_longitude":"2cb24980","hex_latitude":"07748880","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927137024001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701475081781248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5597411354848522240,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788777884000,"timestamp_ms":1788777884000,"timestamp_seconds":1788777884,"priority":1,"record_length":96,"hex_timestamp":"000001a07b786960"} 
[2026-09-07 16: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-07 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15: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-07 16:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927137024001,"66":27865,"230":206,"85":36608,"24":12,"16":401701475081781248,"44":-5597411354848522240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927137024001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:26] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701475081781248,"km_value":401701475081781.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5597411354848522240,"description":"Unknown IO ID 44"} 
[2026-09-07 16:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927137024001,"power":27865,"unknown_230":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5597411354848522240}} 
[2026-09-07 16:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":173551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:26] local.INFO: GPS data processed {"connection_id":173551,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:26] local.INFO: Acknowledgment sent {"connection_id":173551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:28] local.INFO: TCP Data received {"connection_id":173799,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b787900012d7d178005ea1cd8000e00aa23..."} 
[2026-09-07 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b787900012d7d178005ea1cd8000e00aa23..."} 
[2026-09-07 16:15:28] local.INFO: Processing buffer {"connection_id":173799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b787900012d7d178005ea1cd8000e00aa23..."} 
[2026-09-07 16:15:28] local.INFO: Packet analysis {"connection_id":173799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:28] local.INFO: Extracted packet for processing {"connection_id":173799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99228888,"longitude_deg":76.3172736,"latitude_deg":9.9228888,"altitude":14,"angle":170,"satellites":35,"speed":7,"hex_longitude":"2d7d1780","hex_latitude":"05ea1cd8","is_valid_coordinates":true} 
[2026-09-07 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927136256001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129398641549901824,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014236154562942976,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788777888000,"timestamp_ms":1788777888000,"timestamp_seconds":1788777888,"priority":1,"record_length":96,"hex_timestamp":"000001a07b787900"} 
[2026-09-07 16:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:15:28] 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-07 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:28] 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-07 16:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927136256001,"66":13222,"158":206,"87":13824,"24":7,"16":129398641549901824,"45":9014236154562942976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927136256001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:28] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:15:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129398641549901824,"km_value":129398641549901.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014236154562942976,"description":"Unknown IO ID 45"} 
[2026-09-07 16:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927136256001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9014236154562942976}} 
[2026-09-07 16:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":173799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:29] local.INFO: GPS data processed {"connection_id":173799,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:29] local.INFO: Acknowledgment sent {"connection_id":173799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:32] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:32] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:32] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:15:38] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:38] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:15:38] local.INFO: IMEI packet received {"connection_id":176291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":176291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:15:38] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7884b8012d7d180005ea1968000e00b525..."} 
[2026-09-07 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7884b8012d7d180005ea1968000e00b525..."} 
[2026-09-07 16:15:38] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7884b8012d7d180005ea1968000e00b525..."} 
[2026-09-07 16:15:38] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:38] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99228008,"longitude_deg":76.3172864,"latitude_deg":9.9228008,"altitude":14,"angle":181,"satellites":37,"speed":17,"hex_longitude":"2d7d1800","hex_latitude":"05ea1968","is_valid_coordinates":true} 
[2026-09-07 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927139328001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129398684499574784,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942096287744,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788777891000,"timestamp_ms":1788777891000,"timestamp_seconds":1788777891,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7884b8"} 
[2026-09-07 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927139328001,"66":13493,"158":206,"87":13824,"24":17,"16":129398684499574784,"45":9013813942096287744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-09-07 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927139328001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:38] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 16:15:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129398684499574784,"km_value":129398684499574.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942096287744,"description":"Unknown IO ID 45"} 
[2026-09-07 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927139328001,"power":13493,"unknown_158":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9013813942096287744}} 
[2026-09-07 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:38] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:38] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:40] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:40] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:40] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:15:44] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:44] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:44] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:15:45] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:45] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:15:45] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:15:46] local.INFO: TCP Data received {"connection_id":174896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:46] local.INFO: Processing buffer {"connection_id":174896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:46] local.INFO: IMEI packet received {"connection_id":174896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:15:46] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:46] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b74a488012d196500071ff0200040011f22..."} 
[2026-09-07 16:15:46] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:15:46] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b74"} 
[2026-09-07 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457926998016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777637000,"timestamp_ms":1788777637000,"timestamp_seconds":1788777637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b74a488"} 
[2026-09-07 16: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-07 16:15:46] 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-07 16:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:15:46] 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-07 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457926998016001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457926998016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457926998016001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:46] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:46] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:50] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:50] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:15:50] local.INFO: IMEI packet received {"connection_id":174895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":174895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:15:51] local.INFO: TCP Data received {"connection_id":174896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:51] local.INFO: Processing buffer {"connection_id":174896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:15:51] local.INFO: IMEI packet received {"connection_id":174896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":174896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:15:51] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b787130012cb248c007748aa8000f015426..."} 
[2026-09-07 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b787130012cb248c007748aa8000f015426..."} 
[2026-09-07 16:15:51] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b787130012cb248c007748aa8000f015426..."} 
[2026-09-07 16:15:51] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:51] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749881536,"raw_latitude":125078184,"longitude_deg":74.9881536,"latitude_deg":12.5078184,"altitude":15,"angle":340,"satellites":38,"speed":12,"hex_longitude":"2cb248c0","hex_latitude":"07748aa8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927138304001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701505146552320,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599803892150272000,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777886000,"timestamp_ms":1788777886000,"timestamp_seconds":1788777886,"priority":1,"record_length":96,"hex_timestamp":"000001a07b787130"} 
[2026-09-07 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-07 16:15: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-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15:51] local.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-07 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927138304001,"66":27843,"230":206,"85":36608,"24":12,"16":401701505146552320,"44":-5599803892150272000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927138304001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701505146552320,"km_value":401701505146552.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599803892150272000,"description":"Unknown IO ID 44"} 
[2026-09-07 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927138304001,"power":27843,"unknown_230":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5599803892150272000}} 
[2026-09-07 16:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:51] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:51] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:51] local.INFO: TCP Data received {"connection_id":174896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7880d0012d0c3e8007064478001600711d..."} 
[2026-09-07 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7880d0012d0c3e8007064478001600711d..."} 
[2026-09-07 16:15:51] local.INFO: Processing buffer {"connection_id":174896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7880d0012d0c3e8007064478001600711d..."} 
[2026-09-07 16:15:51] local.INFO: Packet analysis {"connection_id":174896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:51] local.INFO: Extracted packet for processing {"connection_id":174896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755777152,"raw_latitude":117851256,"longitude_deg":75.5777152,"latitude_deg":11.7851256,"altitude":22,"angle":113,"satellites":29,"speed":5,"hex_longitude":"2d0c3e80","hex_latitude":"07064478","is_valid_coordinates":true} 
[2026-09-07 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-07 16:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927138816001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30535941869273088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881650025971933184,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777890000,"timestamp_ms":1788777890000,"timestamp_seconds":1788777890,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7880d0"} 
[2026-09-07 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-07 16:15:51] 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-07 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:15: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-07 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-07 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-07 16:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927138816001,"66":14374,"164":206,"94":10240,"24":5,"16":30535941869273088,"45":881650025971933184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 16:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927138816001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30535941869273088,"km_value":30535941869273.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":881650025971933184,"description":"Unknown IO ID 45"} 
[2026-09-07 16:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927138816001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":881650025971933184}} 
[2026-09-07 16:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":174896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:52] local.INFO: GPS data processed {"connection_id":174896,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:52] local.INFO: Acknowledgment sent {"connection_id":174896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:15:55] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b787518012cb2490007748c10000d016726..."} 
[2026-09-07 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b787518012cb2490007748c10000d016726..."} 
[2026-09-07 16:15:55] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b787518012cb2490007748c10000d016726..."} 
[2026-09-07 16:15:55] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:55] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:15:55] local.INFO: GPS Element Parsed {"raw_longitude":749881600,"raw_latitude":125078544,"longitude_deg":74.98816,"latitude_deg":12.5078544,"altitude":13,"angle":359,"satellites":38,"speed":12,"hex_longitude":"2cb24900","hex_latitude":"07748c10","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927138816001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701522326421504,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5600014998382663680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777887000,"timestamp_ms":1788777887000,"timestamp_seconds":1788777887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b787518"} 
[2026-09-07 16: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-07 16:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:15:55] 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-07 16: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-07 16: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-07 16:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:15:55] local.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-07 16:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927138816001,"66":27800,"230":206,"85":36608,"24":12,"16":401701522326421504,"44":-5600014998382663680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927138816001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:15:55] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701522326421504,"km_value":401701522326421.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5600014998382663680,"description":"Unknown IO ID 44"} 
[2026-09-07 16:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927138816001,"power":27800,"unknown_230":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5600014998382663680}} 
[2026-09-07 16:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:15:55] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:15:55] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:10] local.INFO: TCP Data received {"connection_id":176291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b79a1e0012d7ccc4005e9bd08000b013e26..."} 
[2026-09-07 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b79a1e0012d7ccc4005e9bd08000b013e26..."} 
[2026-09-07 16:16:10] local.INFO: Processing buffer {"connection_id":176291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b79a1e0012d7ccc4005e9bd08000b013e26..."} 
[2026-09-07 16:16:10] local.INFO: Packet analysis {"connection_id":176291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:10] local.INFO: Extracted packet for processing {"connection_id":176291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99204360,"longitude_deg":76.3153472,"latitude_deg":9.920436,"altitude":11,"angle":318,"satellites":38,"speed":12,"hex_longitude":"2d7ccc40","hex_latitude":"05e9bd08","is_valid_coordinates":true} 
[2026-09-07 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927158528001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129400741788909568,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992844056324993024,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788777964000,"timestamp_ms":1788777964000,"timestamp_seconds":1788777964,"priority":1,"record_length":96,"hex_timestamp":"000001a07b79a1e0"} 
[2026-09-07 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:16: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-07 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927158528001,"66":13276,"192":206,"87":13824,"24":12,"16":129400741788909568,"45":8992844056324993024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927158528001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:10] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:16:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129400741788909568,"km_value":129400741788909.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992844056324993024,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927158528001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992844056324993024}} 
[2026-09-07 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":176291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:10] local.INFO: GPS data processed {"connection_id":176291,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:10] local.INFO: Acknowledgment sent {"connection_id":176291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:17] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:17] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:17] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:17] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 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-07 16:16:17] 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-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 16:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16:17] 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-07 16:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:17] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:17] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:23] local.INFO: TCP Data received {"connection_id":174896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b788c88012d0c4100070643c8001600651d..."} 
[2026-09-07 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b788c88012d0c4100070643c8001600651d..."} 
[2026-09-07 16:16:23] local.INFO: Processing buffer {"connection_id":174896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b788c88012d0c4100070643c8001600651d..."} 
[2026-09-07 16:16:23] local.INFO: Packet analysis {"connection_id":174896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:23] local.INFO: Extracted packet for processing {"connection_id":174896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:23] local.INFO: GPS Element Parsed {"raw_longitude":755777792,"raw_latitude":117851080,"longitude_deg":75.5777792,"latitude_deg":11.785108,"altitude":22,"angle":101,"satellites":29,"speed":10,"hex_longitude":"2d0c4100","hex_latitude":"070643c8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927139840001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30535971934044160,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882283344669472768,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788777893000,"timestamp_ms":1788777893000,"timestamp_seconds":1788777893,"priority":1,"record_length":96,"hex_timestamp":"000001a07b788c88"} 
[2026-09-07 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-07 16:16: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-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:16: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-07 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-07 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-07 16:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927139840001,"66":14396,"164":206,"94":10240,"24":10,"16":30535971934044160,"45":882283344669472768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 16:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927139840001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:23] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 16:16:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30535971934044160,"km_value":30535971934044.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":882283344669472768,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927139840001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":882283344669472768}} 
[2026-09-07 16:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":174896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:23] local.INFO: GPS data processed {"connection_id":174896,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:23] local.INFO: Acknowledgment sent {"connection_id":174896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:26] local.INFO: TCP Data received {"connection_id":174895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b787900012cb2498007748d60000c000a22..."} 
[2026-09-07 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b787900012cb2498007748d60000c000a22..."} 
[2026-09-07 16:16:26] local.INFO: Processing buffer {"connection_id":174895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b787900012cb2498007748d60000c000a22..."} 
[2026-09-07 16:16:26] local.INFO: Packet analysis {"connection_id":174895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:26] local.INFO: Extracted packet for processing {"connection_id":174895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":749881728,"raw_latitude":125078880,"longitude_deg":74.9881728,"latitude_deg":12.507888,"altitude":12,"angle":10,"satellites":34,"speed":11,"hex_longitude":"2cb24980","hex_latitude":"07748d60","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927139072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701539506290688,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599944629638393856,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788777888000,"timestamp_ms":1788777888000,"timestamp_seconds":1788777888,"priority":1,"record_length":96,"hex_timestamp":"000001a07b787900"} 
[2026-09-07 16: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-07 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:26] 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-07 16: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-07 16: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-07 16:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:16: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-07 16:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927139072001,"66":27800,"230":206,"85":36608,"24":11,"16":401701539506290688,"44":-5599944629638393856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927139072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:26] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701539506290688,"km_value":401701539506290.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599944629638393856,"description":"Unknown IO ID 44"} 
[2026-09-07 16:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927139072001,"power":27800,"unknown_230":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5599944629638393856}} 
[2026-09-07 16:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":174895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:26] local.INFO: GPS data processed {"connection_id":174895,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:26] local.INFO: Acknowledgment sent {"connection_id":174895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:26] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:26] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:26] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:16:27] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:27] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:27] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:28] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:28] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:28] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:37] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:37] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:16:37] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:38] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b79a5c8012d7ccb4005e9bdb0000b012826..."} 
[2026-09-07 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b79a5c8012d7ccb4005e9bdb0000b012826..."} 
[2026-09-07 16:16:38] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b79a5c8012d7ccb4005e9bdb0000b012826..."} 
[2026-09-07 16:16:38] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:38] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":763153216,"raw_latitude":99204528,"longitude_deg":76.3153216,"latitude_deg":9.9204528,"altitude":11,"angle":296,"satellites":38,"speed":12,"hex_longitude":"2d7ccb40","hex_latitude":"05e9bdb0","is_valid_coordinates":true} 
[2026-09-07 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927158784001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129400754673811456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950092531712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788777965000,"timestamp_ms":1788777965000,"timestamp_seconds":1788777965,"priority":1,"record_length":96,"hex_timestamp":"000001a07b79a5c8"} 
[2026-09-07 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:16: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-07 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:38] 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-07 16:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927158784001,"66":13276,"192":206,"87":13824,"24":12,"16":129400754673811456,"45":8992632950092531712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927158784001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:38] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:16:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129400754673811456,"km_value":129400754673811.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950092531712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927158784001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992632950092531712}} 
[2026-09-07 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:38] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:38] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:38] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:38] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:38] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:16:40] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:40] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:40] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:43] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:43] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:43] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:44] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:16:44] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:44] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:45] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:45] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:45] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:16:46] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:46] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:16:46] local.INFO: IMEI packet received {"connection_id":173553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:47] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a1af8012d0c9d000705eda0001a007d1d..."} 
[2026-09-07 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a1af8012d0c9d000705eda0001a007d1d..."} 
[2026-09-07 16:16:47] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a1af8012d0c9d000705eda0001a007d1d..."} 
[2026-09-07 16:16:47] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:16:47] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:16:47] local.INFO: GPS Element Parsed {"raw_longitude":755801344,"raw_latitude":117829024,"longitude_deg":75.5801344,"latitude_deg":11.7829024,"altitude":26,"angle":125,"satellites":29,"speed":2,"hex_longitude":"2d0c9d00","hex_latitude":"0705eda0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927166208001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30537561071943680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908741992474605568,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788777995000,"timestamp_ms":1788777995000,"timestamp_seconds":1788777995,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a1af8"} 
[2026-09-07 16: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-07 16:16:47] 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-07 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927166208001,"66":14428,"220":206,"94":10240,"24":2,"16":30537561071943680,"45":908741992474605568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927166208001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30537561071943680,"km_value":30537561071943.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":908741992474605568,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927166208001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":908741992474605568}} 
[2026-09-07 16:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779561,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:47] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:47] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:47] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a22c8012d0c9d400705ed28001b00931d..."} 
[2026-09-07 16:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a22c8012d0c9d400705ed28001b00931d..."} 
[2026-09-07 16:16:47] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a22c8012d0c9d400705ed28001b00931d..."} 
[2026-09-07 16:16:47] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:16:47] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:16:47] local.INFO: GPS Element Parsed {"raw_longitude":755801408,"raw_latitude":117828904,"longitude_deg":75.5801408,"latitude_deg":11.7828904,"altitude":27,"angle":147,"satellites":29,"speed":3,"hex_longitude":"2d0c9d40","hex_latitude":"0705ed28","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927166720001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30537569661878272,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908882729962938368,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788777997000,"timestamp_ms":1788777997000,"timestamp_seconds":1788777997,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a22c8"} 
[2026-09-07 16: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-07 16:16:47] 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-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927166720001,"66":14428,"220":206,"94":10240,"24":3,"16":30537569661878272,"45":908882729962938368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927166720001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30537569661878272,"km_value":30537569661878.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":908882729962938368,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927166720001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":908882729962938368}} 
[2026-09-07 16:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:48] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:48] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:49] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:49] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:16:49] local.INFO: IMEI packet received {"connection_id":176293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":176293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:50] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b78abc8012cb24dc0077492700009002b2a..."} 
[2026-09-07 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b78abc8012cb24dc0077492700009002b2a..."} 
[2026-09-07 16:16:50] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b78abc8012cb24dc0077492700009002b2a..."} 
[2026-09-07 16:16:50] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:50] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":749882816,"raw_latitude":125080176,"longitude_deg":74.9882816,"latitude_deg":12.5080176,"altitude":9,"angle":43,"satellites":42,"speed":9,"hex_longitude":"2cb24dc0","hex_latitude":"07749270","is_valid_coordinates":true} 
[2026-09-07 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927139328001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701625405636608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599803892149952512,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777901000,"timestamp_ms":1788777901000,"timestamp_seconds":1788777901,"priority":1,"record_length":96,"hex_timestamp":"000001a07b78abc8"} 
[2026-09-07 16:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:50] 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-07 16:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:16:50] local.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-07 16:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927139328001,"66":27876,"230":206,"85":36608,"24":9,"16":401701625405636608,"44":-5599803892149952512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927139328001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:50] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701625405636608,"km_value":401701625405636.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599803892149952512,"description":"Unknown IO ID 44"} 
[2026-09-07 16:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927139328001,"power":27876,"unknown_230":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5599803892149952512}} 
[2026-09-07 16:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:50] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:50] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:50] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:50] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:16:50] local.INFO: IMEI packet received {"connection_id":176292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":176292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:16:51] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:51] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:51] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:51] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16: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-07 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 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-07 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16:51] 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-07 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:51] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:51] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:16:55] local.INFO: TCP Data received {"connection_id":176292,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:55] local.INFO: Processing buffer {"connection_id":176292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:16:55] local.INFO: Packet analysis {"connection_id":176292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:55] local.INFO: Extracted packet for processing {"connection_id":176292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16: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-07 16:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:16: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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:16: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-07 16: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-07 16: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-07 16:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:16: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-07 16:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:16:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":176292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:16:56] local.INFO: GPS data processed {"connection_id":176292,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:16:56] local.INFO: Acknowledgment sent {"connection_id":176292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:11] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a7ca0012d7c8e8005e9b570000900e723..."} 
[2026-09-07 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a7ca0012d7c8e8005e9b570000900e723..."} 
[2026-09-07 16:17:11] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a7ca0012d7c8e8005e9b570000900e723..."} 
[2026-09-07 16:17:11] local.INFO: Packet analysis {"connection_id":173801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:11] local.INFO: Extracted packet for processing {"connection_id":173801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763137664,"raw_latitude":99202416,"longitude_deg":76.3137664,"latitude_deg":9.9202416,"altitude":9,"angle":231,"satellites":35,"speed":2,"hex_longitude":"2d7c8e80","hex_latitude":"05e9b570","is_valid_coordinates":true} 
[2026-09-07 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927170048001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401523472957440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659245163837440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788778020000,"timestamp_ms":1788778020000,"timestamp_seconds":1788778020,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a7ca0"} 
[2026-09-07 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:17: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-07 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927170048001,"66":13200,"192":206,"87":13824,"24":2,"16":129401523472957440,"45":8976659245163837440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927170048001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:11] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:17:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401523472957440,"km_value":129401523472957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659245163837440,"description":"Unknown IO ID 45"} 
[2026-09-07 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927170048001,"power":13200,"unknown_192":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8976659245163837440}} 
[2026-09-07 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":173801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:11] local.INFO: GPS data processed {"connection_id":173801,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:11] local.INFO: Acknowledgment sent {"connection_id":173801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:16] local.INFO: TCP Data received {"connection_id":176294,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:16] local.INFO: Processing buffer {"connection_id":176294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:16] local.INFO: IMEI packet received {"connection_id":176294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":176294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:19] local.INFO: TCP Data received {"connection_id":173553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a3268012d0c9f000705eb60001c00a21d..."} 
[2026-09-07 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a3268012d0c9f000705eb60001c00a21d..."} 
[2026-09-07 16:17:19] local.INFO: Processing buffer {"connection_id":173553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a3268012d0c9f000705eb60001c00a21d..."} 
[2026-09-07 16:17:19] local.INFO: Packet analysis {"connection_id":173553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:19] local.INFO: Extracted packet for processing {"connection_id":173553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:19] local.INFO: GPS Element Parsed {"raw_longitude":755801856,"raw_latitude":117828448,"longitude_deg":75.5801856,"latitude_deg":11.7828448,"altitude":28,"angle":162,"satellites":29,"speed":7,"hex_longitude":"2d0c9f00","hex_latitude":"0705eb60","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927167232001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30537604021616640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908953098707085312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788778001000,"timestamp_ms":1788778001000,"timestamp_seconds":1788778001,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a3268"} 
[2026-09-07 16: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-07 16:17:19] 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-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:19] 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-07 16: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-07 16: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-07 16:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927167232001,"66":14450,"220":206,"94":10240,"24":7,"16":30537604021616640,"45":908953098707085312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927167232001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:19] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:17:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30537604021616640,"km_value":30537604021616.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":908953098707085312,"description":"Unknown IO ID 45"} 
[2026-09-07 16:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927167232001,"power":14450,"unknown_220":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":908953098707085312}} 
[2026-09-07 16:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":173553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779567,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:19] local.INFO: GPS data processed {"connection_id":173553,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:19] local.INFO: Acknowledgment sent {"connection_id":173553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:21] local.INFO: TCP Data received {"connection_id":176293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b78b398012cb24f40077494200009001e2c..."} 
[2026-09-07 16:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b78b398012cb24f40077494200009001e2c..."} 
[2026-09-07 16:17:21] local.INFO: Processing buffer {"connection_id":176293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b78b398012cb24f40077494200009001e2c..."} 
[2026-09-07 16:17:21] local.INFO: Packet analysis {"connection_id":176293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:17:21] local.INFO: Extracted packet for processing {"connection_id":176293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b78"} 
[2026-09-07 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749883200,"raw_latitude":125080608,"longitude_deg":74.98832,"latitude_deg":12.5080608,"altitude":9,"angle":30,"satellites":44,"speed":10,"hex_longitude":"2cb24f40","hex_latitude":"07749420","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927142656001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401701655470407680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5598607623498600448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777903000,"timestamp_ms":1788777903000,"timestamp_seconds":1788777903,"priority":1,"record_length":96,"hex_timestamp":"000001a07b78b398"} 
[2026-09-07 16: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-07 16:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:17: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-07 16:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927142656001,"66":27800,"230":206,"85":36608,"24":10,"16":401701655470407680,"44":-5598607623498600448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,85,24,16,44]} 
[2026-09-07 16:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927142656001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:21] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 16:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401701655470407680,"km_value":401701655470407.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5598607623498600448,"description":"Unknown IO ID 44"} 
[2026-09-07 16:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927142656001,"power":27800,"unknown_230":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5598607623498600448}} 
[2026-09-07 16:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":176293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:21] local.INFO: GPS data processed {"connection_id":176293,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:21] local.INFO: Acknowledgment sent {"connection_id":176293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:27] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:27] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:27] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:28] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:28] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:28] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:33] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:33] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:17:33] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:34] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a9410012d7c8bc005e9b420000900d422..."} 
[2026-09-07 16:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a9410012d7c8bc005e9b420000900d422..."} 
[2026-09-07 16:17:34] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a9410012d7c8bc005e9b420000900d422..."} 
[2026-09-07 16:17:34] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:34] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763136960,"raw_latitude":99202080,"longitude_deg":76.313696,"latitude_deg":9.920208,"altitude":9,"angle":212,"satellites":34,"speed":4,"hex_longitude":"2d7c8bc0","hex_latitude":"05e9b420","is_valid_coordinates":true} 
[2026-09-07 16:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927173120001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401557832695808,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975251870280151040,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778026000,"timestamp_ms":1788778026000,"timestamp_seconds":1788778026,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a9410"} 
[2026-09-07 16:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927173120001,"66":13352,"192":206,"87":13824,"24":4,"16":129401557832695808,"45":8975251870280151040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927173120001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401557832695808,"km_value":129401557832695.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975251870280151040,"description":"Unknown IO ID 45"} 
[2026-09-07 16:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927173120001,"power":13352,"unknown_192":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8975251870280151040}} 
[2026-09-07 16:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:34] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:34] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:40] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: IMEI packet received {"connection_id":176296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:40] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:40] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:40] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:40] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:40] local.INFO: IMEI packet received {"connection_id":176296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:44] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:44] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:17:44] local.INFO: IMEI packet received {"connection_id":176296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":176296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:45] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a3e20012d0ca0800705e8c0001d00931d..."} 
[2026-09-07 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a3e20012d0ca0800705e8c0001d00931d..."} 
[2026-09-07 16:17:45] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a3e20012d0ca0800705e8c0001d00931d..."} 
[2026-09-07 16:17:45] local.INFO: Packet analysis {"connection_id":176296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:45] local.INFO: Extracted packet for processing {"connection_id":176296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":755802240,"raw_latitude":117827776,"longitude_deg":75.580224,"latitude_deg":11.7827776,"altitude":29,"angle":147,"satellites":29,"speed":11,"hex_longitude":"2d0ca080","hex_latitude":"0705e8c0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927168256001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30537638381355008,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909445679916212224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788778004000,"timestamp_ms":1788778004000,"timestamp_seconds":1788778004,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a3e20"} 
[2026-09-07 16: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-07 16:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:45] 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-07 16: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-07 16: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-07 16:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927168256001,"66":14374,"220":206,"94":10240,"24":11,"16":30537638381355008,"45":909445679916212224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927168256001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:45] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:17:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30537638381355008,"km_value":30537638381355.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":909445679916212224,"description":"Unknown IO ID 45"} 
[2026-09-07 16:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927168256001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":909445679916212224}} 
[2026-09-07 16:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":176296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:45] local.INFO: GPS data processed {"connection_id":176296,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:45] local.INFO: Acknowledgment sent {"connection_id":176296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:45] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:45] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:17:45] local.INFO: IMEI packet received {"connection_id":176295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:46] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:17:46] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:17:46] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:17:46] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:17:46] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:17:46] 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-07 16:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:46] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:46] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:17:46] local.INFO: TCP Data received {"connection_id":173555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:46] local.INFO: Processing buffer {"connection_id":173555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:17:46] local.INFO: IMEI packet received {"connection_id":173555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":173555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:47] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:47] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:47] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:17:49] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:49] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:49] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:54] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:54] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:17:54] local.INFO: IMEI packet received {"connection_id":173554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":173554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:17:55] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7905a0012cb25f400774afe80012001f2b..."} 
[2026-09-07 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7905a0012cb25f400774afe80012001f2b..."} 
[2026-09-07 16:17:55] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7905a0012cb25f400774afe80012001f2b..."} 
[2026-09-07 16:17:55] local.INFO: Packet analysis {"connection_id":173554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:17:55] local.INFO: Extracted packet for processing {"connection_id":173554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:17:55] local.INFO: GPS Element Parsed {"raw_longitude":749887296,"raw_latitude":125087720,"longitude_deg":74.9887296,"latitude_deg":12.508772,"altitude":18,"angle":31,"satellites":43,"speed":22,"hex_longitude":"2cb25f40","hex_latitude":"0774afe8","is_valid_coordinates":true} 
[2026-09-07 16:17: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-07 16:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927143168001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401702050607398912,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5598185411033423872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788777924000,"timestamp_ms":1788777924000,"timestamp_seconds":1788777924,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7905a0"} 
[2026-09-07 16:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:17:55] 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-07 16:17: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-07 16:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:17:55] local.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-07 16:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927143168001,"66":27908,"215":206,"85":36608,"24":22,"16":401702050607398912,"44":-5598185411033423872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927143168001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:17:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401702050607398912,"km_value":401702050607398.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:17:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5598185411033423872,"description":"Unknown IO ID 44"} 
[2026-09-07 16:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927143168001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5598185411033423872}} 
[2026-09-07 16:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":173554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:17:55] local.INFO: GPS data processed {"connection_id":173554,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:17:55] local.INFO: Acknowledgment sent {"connection_id":173554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:05] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a97f8012d7c8b4005e9b390000900c623..."} 
[2026-09-07 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a97f8012d7c8b4005e9b390000900c623..."} 
[2026-09-07 16:18:05] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a97f8012d7c8b4005e9b390000900c623..."} 
[2026-09-07 16:18:05] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:05] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":99201936,"longitude_deg":76.3136832,"latitude_deg":9.9201936,"altitude":9,"angle":198,"satellites":35,"speed":4,"hex_longitude":"2d7c8b40","hex_latitude":"05e9b390","is_valid_coordinates":true} 
[2026-09-07 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927174656001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401570717597696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974477814094110720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788778027000,"timestamp_ms":1788778027000,"timestamp_seconds":1788778027,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a97f8"} 
[2026-09-07 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:05] 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-07 16:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927174656001,"66":13852,"192":206,"87":13824,"24":4,"16":129401570717597696,"45":8974477814094110720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927174656001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:05] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401570717597696,"km_value":129401570717597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974477814094110720,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927174656001,"power":13852,"unknown_192":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8974477814094110720}} 
[2026-09-07 16:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:05] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:05] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:16] local.INFO: TCP Data received {"connection_id":176296,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7b4f90012d0cf2000705d6100015003f1e..."} 
[2026-09-07 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7b4f90012d0cf2000705d6100015003f1e..."} 
[2026-09-07 16:18:16] local.INFO: Processing buffer {"connection_id":176296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7b4f90012d0cf2000705d6100015003f1e..."} 
[2026-09-07 16:18:16] local.INFO: Packet analysis {"connection_id":176296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:18:16] local.INFO: Extracted packet for processing {"connection_id":176296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:18:16] local.INFO: GPS Element Parsed {"raw_longitude":755823104,"raw_latitude":117822992,"longitude_deg":75.5823104,"latitude_deg":11.7822992,"altitude":21,"angle":63,"satellites":30,"speed":22,"hex_longitude":"2d0cf200","hex_latitude":"0705d610","is_valid_coordinates":true} 
[2026-09-07 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927186688001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30539266173960192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932174784284135424,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788778074000,"timestamp_ms":1788778074000,"timestamp_seconds":1788778074,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7b4f90"} 
[2026-09-07 16:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:18: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-07 16:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927186688001,"66":14515,"220":206,"94":10240,"24":22,"16":30539266173960192,"45":932174784284135424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927186688001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:16] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:18:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30539266173960192,"km_value":30539266173960.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":932174784284135424,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927186688001,"power":14515,"unknown_220":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":932174784284135424}} 
[2026-09-07 16:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":176296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779574,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:16] local.INFO: GPS data processed {"connection_id":176296,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:16] local.INFO: Acknowledgment sent {"connection_id":176296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:17] local.INFO: TCP Data received {"connection_id":176295,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:17] local.INFO: Processing buffer {"connection_id":176295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:17] local.INFO: Packet analysis {"connection_id":176295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:17] local.INFO: Extracted packet for processing {"connection_id":176295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:18:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:18:17] 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-07 16:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":176295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:17] local.INFO: GPS data processed {"connection_id":176295,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:17] local.INFO: Acknowledgment sent {"connection_id":176295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:26] local.INFO: TCP Data received {"connection_id":173554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b794038012cb271c00774cdf00017001e2a..."} 
[2026-09-07 16:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b794038012cb271c00774cdf00017001e2a..."} 
[2026-09-07 16:18:26] local.INFO: Processing buffer {"connection_id":173554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b794038012cb271c00774cdf00017001e2a..."} 
[2026-09-07 16:18:26] local.INFO: Packet analysis {"connection_id":173554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:26] local.INFO: Extracted packet for processing {"connection_id":173554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:26] local.INFO: GPS Element Parsed {"raw_longitude":749892032,"raw_latitude":125095408,"longitude_deg":74.9892032,"latitude_deg":12.5095408,"altitude":23,"angle":30,"satellites":42,"speed":26,"hex_longitude":"2cb271c0","hex_latitude":"0774cdf0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927148544001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401702484399095808,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5593681811404232704,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788777939000,"timestamp_ms":1788777939000,"timestamp_seconds":1788777939,"priority":1,"record_length":96,"hex_timestamp":"000001a07b794038"} 
[2026-09-07 16: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-07 16:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:18: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-07 16:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927148544001,"66":27876,"215":206,"85":36608,"24":26,"16":401702484399095808,"44":-5593681811404232704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927148544001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401702484399095808,"km_value":401702484399095.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5593681811404232704,"description":"Unknown IO ID 44"} 
[2026-09-07 16:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927148544001,"power":27876,"unknown_215":206,"unknown_85":36608,"ignition":26,"odometer":null,"unknown_44":-5593681811404232704}} 
[2026-09-07 16:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":173554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:26] local.INFO: GPS data processed {"connection_id":173554,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:26] local.INFO: Acknowledgment sent {"connection_id":173554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:37] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:18:37] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:18:37] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:18:38] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:18:38] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:18:38] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:38] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a9fc8012d7c8b4005e9b258000900b223..."} 
[2026-09-07 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a9fc8012d7c8b4005e9b258000900b223..."} 
[2026-09-07 16:18:38] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a07b..."} 
[2026-09-07 16:18:38] local.INFO: IMEI packet received {"connection_id":173803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":173803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:38] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:38] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:38] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:18:40] local.INFO: TCP Data received {"connection_id":174897,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:40] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:40] local.INFO: IMEI packet received {"connection_id":174897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":174897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:18:41] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:41] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:41] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:43] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7aa3b0012d7c8b8005e9b170000900a322..."} 
[2026-09-07 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7aa3b0012d7c8b8005e9b170000900a322..."} 
[2026-09-07 16:18:43] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07b7a9fc8012d7c8b4005e9b258000900b223..."} 
[2026-09-07 16:18:43] local.INFO: Packet analysis {"connection_id":173803,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:43] local.INFO: Extracted packet for processing {"connection_id":173803,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":99201624,"longitude_deg":76.3136832,"latitude_deg":9.9201624,"altitude":9,"angle":178,"satellites":35,"speed":6,"hex_longitude":"2d7c8b40","hex_latitude":"05e9b258","is_valid_coordinates":true} 
[2026-09-07 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927174912001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401583602499584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076605718528,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788778029000,"timestamp_ms":1788778029000,"timestamp_seconds":1788778029,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a9fc8"} 
[2026-09-07 16:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:18: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-07 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927174912001,"66":13852,"192":206,"87":13824,"24":6,"16":129401583602499584,"45":8974337076605718528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927174912001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401583602499584,"km_value":129401583602499.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076605718528,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927174912001,"power":13852,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8974337076605718528}} 
[2026-09-07 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":173803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:43] local.INFO: GPS data processed {"connection_id":173803,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:43] local.INFO: Acknowledgment sent {"connection_id":173803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:43] local.INFO: Packet analysis {"connection_id":173803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:43] local.INFO: Extracted packet for processing {"connection_id":173803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763136896,"raw_latitude":99201392,"longitude_deg":76.3136896,"latitude_deg":9.9201392,"altitude":9,"angle":163,"satellites":34,"speed":10,"hex_longitude":"2d7c8b80","hex_latitude":"05e9b170","is_valid_coordinates":true} 
[2026-09-07 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927175424001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401596487401472,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076605638656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788778030000,"timestamp_ms":1788778030000,"timestamp_seconds":1788778030,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7aa3b0"} 
[2026-09-07 16:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:18: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-07 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927175424001,"66":13602,"192":206,"87":13824,"24":10,"16":129401596487401472,"45":8974337076605638656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927175424001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401596487401472,"km_value":129401596487401.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076605638656,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927175424001,"power":13602,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8974337076605638656}} 
[2026-09-07 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":173803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:43] local.INFO: GPS data processed {"connection_id":173803,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:43] local.INFO: Acknowledgment sent {"connection_id":173803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:44] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:44] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:44] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:18:44] local.INFO: TCP Data received {"connection_id":173803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7ade48012d7c908005e99b88000c00ca28..."} 
[2026-09-07 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7ade48012d7c908005e99b88000c00ca28..."} 
[2026-09-07 16:18:44] local.INFO: Processing buffer {"connection_id":173803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7ade48012d7c908005e99b88000c00ca28..."} 
[2026-09-07 16:18:44] local.INFO: Packet analysis {"connection_id":173803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:44] local.INFO: Extracted packet for processing {"connection_id":173803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:18:44] local.INFO: GPS Element Parsed {"raw_longitude":763138176,"raw_latitude":99195784,"longitude_deg":76.3138176,"latitude_deg":9.9195784,"altitude":12,"angle":202,"satellites":40,"speed":5,"hex_longitude":"2d7c9080","hex_latitude":"05e99b88","is_valid_coordinates":true} 
[2026-09-07 16:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927175680001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129401879955243008,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974407445349756928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788778045000,"timestamp_ms":1788778045000,"timestamp_seconds":1788778045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7ade48"} 
[2026-09-07 16:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:18: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-07 16:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:44] 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-07 16:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927175680001,"66":13319,"192":206,"87":13824,"24":5,"16":129401879955243008,"45":8974407445349756928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927175680001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:18:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129401879955243008,"km_value":129401879955243.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974407445349756928,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927175680001,"power":13319,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8974407445349756928}} 
[2026-09-07 16:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":173803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:44] local.INFO: GPS data processed {"connection_id":173803,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:44] local.INFO: Acknowledgment sent {"connection_id":173803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:45] local.INFO: TCP Data received {"connection_id":174897,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:45] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:18:45] local.INFO: IMEI packet received {"connection_id":174897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":174897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:46] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:46] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:18:46] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:46] local.INFO: TCP Data received {"connection_id":174897,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:46] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:18:46] local.INFO: Packet analysis {"connection_id":174897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:46] local.INFO: Extracted packet for processing {"connection_id":174897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:18:46] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:18:46] 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-07 16:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":174897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:46] local.INFO: GPS data processed {"connection_id":174897,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:46] local.INFO: Acknowledgment sent {"connection_id":174897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:46] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7be400012d0d3a400705c2a00018009c1e..."} 
[2026-09-07 16:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7be400012d0d3a400705c2a00018009c1e..."} 
[2026-09-07 16:18:46] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7be400012d0d3a400705c2a00018009c1e..."} 
[2026-09-07 16:18:46] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:18:46] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:18:46] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117818016,"longitude_deg":75.58416,"latitude_deg":11.7818016,"altitude":24,"angle":156,"satellites":30,"speed":10,"hex_longitude":"2d0d3a40","hex_latitude":"0705c2a0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927196160001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540387160424448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932559683584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778112000,"timestamp_ms":1788778112000,"timestamp_seconds":1788778112,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7be400"} 
[2026-09-07 16: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-07 16:18:46] 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-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927196160001,"66":14407,"220":206,"94":10240,"24":10,"16":30540387160424448,"45":953003932559683584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-09-07 16:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927196160001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540387160424448,"km_value":30540387160424.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932559683584,"description":"Unknown IO ID 45"} 
[2026-09-07 16:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927196160001,"power":14407,"unknown_220":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":953003932559683584}} 
[2026-09-07 16:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:46] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:46] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:18:49] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:49] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:18:49] local.INFO: IMEI packet received {"connection_id":173556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:18:50] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7976e8012cb285800774ecd8001c002028..."} 
[2026-09-07 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7976e8012cb285800774ecd8001c002028..."} 
[2026-09-07 16:18:50] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7976e8012cb285800774ecd8001c002028..."} 
[2026-09-07 16:18:50] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:50] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":749897088,"raw_latitude":125103320,"longitude_deg":74.9897088,"latitude_deg":12.510332,"altitude":28,"angle":32,"satellites":40,"speed":23,"hex_longitude":"2cb28580","hex_latitude":"0774ecd8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152384001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401702939665629184,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588474524333117440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777953000,"timestamp_ms":1788777953000,"timestamp_seconds":1788777953,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7976e8"} 
[2026-09-07 16: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-07 16:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 16:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:18:50] local.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-07 16:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152384001,"66":27908,"215":206,"85":36608,"24":23,"16":401702939665629184,"44":-5588474524333117440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152384001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:18:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401702939665629184,"km_value":401702939665629.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5588474524333117440,"description":"Unknown IO ID 44"} 
[2026-09-07 16:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152384001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":23,"odometer":null,"unknown_44":-5588474524333117440}} 
[2026-09-07 16:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:18:50] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:18:50] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:17] local.INFO: TCP Data received {"connection_id":174897,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:17] local.INFO: Processing buffer {"connection_id":174897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:17] local.INFO: Packet analysis {"connection_id":174897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:17] local.INFO: Extracted packet for processing {"connection_id":174897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:19:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:19:17] 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-07 16:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":174897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:17] local.INFO: GPS data processed {"connection_id":174897,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:17] local.INFO: Acknowledgment sent {"connection_id":174897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:18] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7be7e8012d0d3ac00705c1d0001800891e..."} 
[2026-09-07 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7be7e8012d0d3ac00705c1d0001800891e..."} 
[2026-09-07 16:19:18] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7be7e8012d0d3ac00705c1d0001800891e..."} 
[2026-09-07 16:19:18] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:19:18] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117817808,"longitude_deg":75.5841728,"latitude_deg":11.7817808,"altitude":24,"angle":137,"satellites":30,"speed":8,"hex_longitude":"2d0d3ac0","hex_latitude":"0705c1d0","is_valid_coordinates":true} 
[2026-09-07 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927196672001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540400045326336,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047870976,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788778113000,"timestamp_ms":1788778113000,"timestamp_seconds":1788778113,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7be7e8"} 
[2026-09-07 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:19:18] 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-07 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927196672001,"66":14407,"167":206,"94":11008,"24":8,"16":30540400045326336,"45":953144670047870976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927196672001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540400045326336,"km_value":30540400045326.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047870976,"description":"Unknown IO ID 45"} 
[2026-09-07 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927196672001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953144670047870976}} 
[2026-09-07 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:18] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:18] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:21] local.INFO: TCP Data received {"connection_id":173556,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b79a9b0012cb29500077502c8001d002c2b..."} 
[2026-09-07 16:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b79a9b0012cb29500077502c8001d002c2b..."} 
[2026-09-07 16:19:21] local.INFO: Processing buffer {"connection_id":173556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b79a9b0012cb29500077502c8001d002c2b..."} 
[2026-09-07 16:19:21] local.INFO: Packet analysis {"connection_id":173556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:21] local.INFO: Extracted packet for processing {"connection_id":173556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749901056,"raw_latitude":125108936,"longitude_deg":74.9901056,"latitude_deg":12.5108936,"altitude":29,"angle":44,"satellites":43,"speed":17,"hex_longitude":"2cb29500","hex_latitude":"077502c8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927155968001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703270378110976,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5582915393541056512,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788777966000,"timestamp_ms":1788777966000,"timestamp_seconds":1788777966,"priority":1,"record_length":96,"hex_timestamp":"000001a07b79a9b0"} 
[2026-09-07 16: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-07 16:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:19: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-07 16:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927155968001,"66":27484,"215":206,"85":36608,"24":17,"16":401703270378110976,"44":-5582915393541056512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927155968001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703270378110976,"km_value":401703270378111.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5582915393541056512,"description":"Unknown IO ID 44"} 
[2026-09-07 16:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927155968001,"power":27484,"unknown_215":206,"unknown_85":36608,"ignition":17,"odometer":null,"unknown_44":-5582915393541056512}} 
[2026-09-07 16:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":173556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:21] local.INFO: GPS data processed {"connection_id":173556,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:21] local.INFO: Acknowledgment sent {"connection_id":173556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:28] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:28] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:28] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:19:33] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:33] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:19:33] local.INFO: IMEI packet received {"connection_id":174899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":174899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:19:35] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7c1e98012d7bf88005e961f0000d010528..."} 
[2026-09-07 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7c1e98012d7bf88005e961f0000d010528..."} 
[2026-09-07 16:19:35] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7c1e98012d7bf88005e961f0000d010528..."} 
[2026-09-07 16:19:35] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:19:35] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763099264,"raw_latitude":99181040,"longitude_deg":76.3099264,"latitude_deg":9.918104,"altitude":13,"angle":261,"satellites":40,"speed":25,"hex_longitude":"2d7bf880","hex_latitude":"05e961f0","is_valid_coordinates":true} 
[2026-09-07 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927199232001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129403881410002944,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936760167209773056,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788778127000,"timestamp_ms":1788778127000,"timestamp_seconds":1788778127,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7c1e98"} 
[2026-09-07 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:35] 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-07 16:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927199232001,"66":13341,"192":206,"87":13824,"24":25,"16":129403881410002944,"45":8936760167209773056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-09-07 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927199232001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:35] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 16:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129403881410002944,"km_value":129403881410002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936760167209773056,"description":"Unknown IO ID 45"} 
[2026-09-07 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927199232001,"power":13341,"unknown_192":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8936760167209773056}} 
[2026-09-07 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:35] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:35] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:40] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:40] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:40] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:19:40] local.INFO: TCP Data received {"connection_id":173805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:40] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:40] local.INFO: IMEI packet received {"connection_id":173805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":173805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:19:45] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:45] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:45] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:19:45] local.INFO: TCP Data received {"connection_id":173805,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:45] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:19:45] local.INFO: IMEI packet received {"connection_id":173805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:19:46] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:46] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:19:46] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:19:46] local.INFO: TCP Data received {"connection_id":173805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:46] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:19:46] local.INFO: Packet analysis {"connection_id":173805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:46] local.INFO: Extracted packet for processing {"connection_id":173805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:19:46] 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-07 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:19:46] 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-07 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":173805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:46] local.INFO: GPS data processed {"connection_id":173805,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:46] local.INFO: Acknowledgment sent {"connection_id":173805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:46] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7bebd0012d0d3b400705c1680017007a1e..."} 
[2026-09-07 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7bebd0012d0d3b400705c1680017007a1e..."} 
[2026-09-07 16:19:46] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7bebd0012d0d3b400705c1680017007a1e..."} 
[2026-09-07 16:19:46] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:19:46] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117817704,"longitude_deg":75.5841856,"latitude_deg":11.7817704,"altitude":23,"angle":122,"satellites":30,"speed":6,"hex_longitude":"2d0d3b40","hex_latitude":"0705c168","is_valid_coordinates":true} 
[2026-09-07 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927196928001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540404340293632,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407536173056,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778114000,"timestamp_ms":1788778114000,"timestamp_seconds":1788778114,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7bebd0"} 
[2026-09-07 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:19:46] 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-07 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927196928001,"66":14407,"167":206,"94":11008,"24":6,"16":30540404340293632,"45":953285407536173056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927196928001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540404340293632,"km_value":30540404340293.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407536173056,"description":"Unknown IO ID 45"} 
[2026-09-07 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927196928001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953285407536173056}} 
[2026-09-07 16:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:47] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:47] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:19:49] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:49] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:19:49] local.INFO: IMEI packet received {"connection_id":173557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:19:50] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b79fbb8012cb2a34007751310001c00252d..."} 
[2026-09-07 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b79fbb8012cb2a34007751310001c00252d..."} 
[2026-09-07 16:19:50] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b79fbb8012cb2a34007751310001c00252d..."} 
[2026-09-07 16:19:50] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:50] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749904704,"raw_latitude":125113104,"longitude_deg":74.9904704,"latitude_deg":12.5113104,"altitude":28,"angle":37,"satellites":45,"speed":2,"hex_longitude":"2cb2a340","hex_latitude":"07751310","is_valid_coordinates":true} 
[2026-09-07 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927159296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703540961050624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5578552531400603648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788777987000,"timestamp_ms":1788777987000,"timestamp_seconds":1788777987,"priority":1,"record_length":96,"hex_timestamp":"000001a07b79fbb8"} 
[2026-09-07 16:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:19:50] local.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-07 16:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927159296001,"66":27908,"215":206,"85":36608,"24":2,"16":401703540961050624,"44":-5578552531400603648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927159296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703540961050624,"km_value":401703540961050.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5578552531400603648,"description":"Unknown IO ID 44"} 
[2026-09-07 16:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927159296001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":2,"odometer":null,"unknown_44":-5578552531400603648}} 
[2026-09-07 16:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:19:50] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:19:50] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:07] local.INFO: TCP Data received {"connection_id":174899,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7c5160012d7bda0005e95b80000600f923..."} 
[2026-09-07 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7c5160012d7bda0005e95b80000600f923..."} 
[2026-09-07 16:20:07] local.INFO: Processing buffer {"connection_id":174899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7c5160012d7bda0005e95b80000600f923..."} 
[2026-09-07 16:20:07] local.INFO: Packet analysis {"connection_id":174899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:20:07] local.INFO: Extracted packet for processing {"connection_id":174899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763091456,"raw_latitude":99179392,"longitude_deg":76.3091456,"latitude_deg":9.9179392,"altitude":6,"angle":249,"satellites":35,"speed":9,"hex_longitude":"2d7bda00","hex_latitude":"05e95b80","is_valid_coordinates":true} 
[2026-09-07 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927200512001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129404267957059584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933030623768080384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788778140000,"timestamp_ms":1788778140000,"timestamp_seconds":1788778140,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7c5160"} 
[2026-09-07 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:07] 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-07 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":174899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":174899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927200512001,"66":13319,"156":206,"87":13824,"24":9,"16":129404267957059584,"45":8933030623768080384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927200512001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:20:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129404267957059584,"km_value":129404267957059.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933030623768080384,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927200512001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8933030623768080384}} 
[2026-09-07 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":174899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:07] local.INFO: GPS data processed {"connection_id":174899,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:07] local.INFO: Acknowledgment sent {"connection_id":174899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:17] local.INFO: TCP Data received {"connection_id":173805,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:17] local.INFO: Processing buffer {"connection_id":173805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:17] local.INFO: Packet analysis {"connection_id":173805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:20:17] local.INFO: Extracted packet for processing {"connection_id":173805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:17] 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-07 16:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:20:17] 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-07 16:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":173805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:17] local.INFO: GPS data processed {"connection_id":173805,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:17] local.INFO: Acknowledgment sent {"connection_id":173805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:18] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7bf3a0012d0d3cc00705c0680018008c1e..."} 
[2026-09-07 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7bf3a0012d0d3cc00705c0680018008c1e..."} 
[2026-09-07 16:20:18] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7bf3a0012d0d3cc00705c0680018008c1e..."} 
[2026-09-07 16:20:18] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:20:18] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117817448,"longitude_deg":75.584224,"latitude_deg":11.7817448,"altitude":24,"angle":140,"satellites":30,"speed":10,"hex_longitude":"2d0d3cc0","hex_latitude":"0705c068","is_valid_coordinates":true} 
[2026-09-07 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927197184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540430110097408,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145024501760,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788778116000,"timestamp_ms":1788778116000,"timestamp_seconds":1788778116,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7bf3a0"} 
[2026-09-07 16:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:18] 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-07 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927197184001,"66":13961,"167":206,"94":11008,"24":10,"16":30540430110097408,"45":953426145024501760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927197184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:20:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540430110097408,"km_value":30540430110097.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145024501760,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927197184001,"power":13961,"unknown_167":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":953426145024501760}} 
[2026-09-07 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:18] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:18] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:21] local.INFO: TCP Data received {"connection_id":173557,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a4dc0012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a4dc0012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:20:21] local.INFO: Processing buffer {"connection_id":173557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a4dc0012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:20:21] local.INFO: Packet analysis {"connection_id":173557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:20:21] local.INFO: Extracted packet for processing {"connection_id":173557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":43,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927164672001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574541512981409792,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778008000,"timestamp_ms":1788778008000,"timestamp_seconds":1788778008,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a4dc0"} 
[2026-09-07 16:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:20: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-07 16:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927164672001,"66":27974,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574541512981409792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927164672001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574541512981409792,"description":"Unknown IO ID 44"} 
[2026-09-07 16:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927164672001,"power":27974,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574541512981409792}} 
[2026-09-07 16:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":173557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:21] local.INFO: GPS data processed {"connection_id":173557,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:21] local.INFO: Acknowledgment sent {"connection_id":173557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:27] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:27] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:27] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:20:33] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:33] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:20:33] local.INFO: IMEI packet received {"connection_id":176298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":176298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:20:34] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7c8040012d7bd78005e95b780004010a26..."} 
[2026-09-07 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7c8040012d7bd78005e95b780004010a26..."} 
[2026-09-07 16:20:34] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7c8040012d7bd78005e95b780004010a26..."} 
[2026-09-07 16:20:34] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:20:34] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":763090816,"raw_latitude":99179384,"longitude_deg":76.3090816,"latitude_deg":9.9179384,"altitude":4,"angle":266,"satellites":38,"speed":3,"hex_longitude":"2d7bd780","hex_latitude":"05e95b78","is_valid_coordinates":true} 
[2026-09-07 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927203840001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129404298021830656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924445636977983488,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778152000,"timestamp_ms":1788778152000,"timestamp_seconds":1788778152,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7c8040"} 
[2026-09-07 16:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2073908923278704645,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-7327356546470370560,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-07 16:20:34] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3133865984,"corrected_to":0} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3918909440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:34] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,156,87,24,241,157,16,188,160,30,45,128,97,13,40,10,66,192,11,102,14,41,187,216,1,240,227,123,233,4,113,205,29,95,106,64,37,239,51,2,203,5,17,12],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":203,"original":3133865984,"validated":0}]} 
[2026-09-07 16:20:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432619492947329024,"timestamp_seconds":432619492947329.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927203840001,"66":13319,"156":206,"87":13824,"24":3,"16":129404298021830656,"45":8924445636977983488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927203840001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:20:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129404298021830656,"km_value":129404298021830.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924445636977983488,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927203840001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8924445636977983488}} 
[2026-09-07 16:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:34] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:34] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:40] local.INFO: TCP Data received {"connection_id":174900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:40] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:40] local.INFO: IMEI packet received {"connection_id":174900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":174900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:20:40] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:40] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:40] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:20:41] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:41] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:41] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:20:44] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:44] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:44] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:20:45] local.INFO: TCP Data received {"connection_id":174900,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:45] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:20:45] local.INFO: IMEI packet received {"connection_id":174900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":174900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:20:46] local.INFO: TCP Data received {"connection_id":174900,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:46] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:20:46] local.INFO: Packet analysis {"connection_id":174900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:20:46] local.INFO: Extracted packet for processing {"connection_id":174900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:46] 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-07 16:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:20:46] 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-07 16:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:20:46] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:46] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:20:46] local.INFO: IMEI packet received {"connection_id":173807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":173807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":174900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:46] local.INFO: GPS data processed {"connection_id":174900,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:46] local.INFO: Acknowledgment sent {"connection_id":174900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:47] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dcc48012d0d3a000705c0980017014021..."} 
[2026-09-07 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dcc48012d0d3a000705c0980017014021..."} 
[2026-09-07 16:20:47] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dcc48012d0d3a000705c0980017014021..."} 
[2026-09-07 16:20:47] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:20:47] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117817496,"longitude_deg":75.5841536,"latitude_deg":11.7817496,"altitude":23,"angle":320,"satellites":33,"speed":6,"hex_longitude":"2d0d3a00","hex_latitude":"0705c098","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927228160001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540593318854656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038791878656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788778237000,"timestamp_ms":1788778237000,"timestamp_seconds":1788778237,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dcc48"} 
[2026-09-07 16: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-07 16:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927228160001,"66":14396,"167":206,"94":11008,"24":6,"16":30540593318854656,"45":953215038791878656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927228160001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:47] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:20:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540593318854656,"km_value":30540593318854.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038791878656,"description":"Unknown IO ID 45"} 
[2026-09-07 16:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927228160001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953215038791878656}} 
[2026-09-07 16:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:47] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:47] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:20:49] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:49] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:20:49] local.INFO: IMEI packet received {"connection_id":174901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":174901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:20:50] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7a9fc8012cb2a380077513a8001c00252c..."} 
[2026-09-07 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7a9fc8012cb2a380077513a8001c00252c..."} 
[2026-09-07 16:20:50] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7a9fc8012cb2a380077513a8001c00252c..."} 
[2026-09-07 16:20:50] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:20:50] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927170048001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778029000,"timestamp_ms":1788778029000,"timestamp_seconds":1788778029,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7a9fc8"} 
[2026-09-07 16:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 16:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:20:50] local.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-07 16:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927170048001,"66":27745,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927170048001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:20:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927170048001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:20:50] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:20:50] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:12] local.INFO: TCP Data received {"connection_id":176298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7cce60012d7bd1c005e95af80004010824..."} 
[2026-09-07 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7cce60012d7bd1c005e95af80004010824..."} 
[2026-09-07 16:21:12] local.INFO: Processing buffer {"connection_id":176298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7cce60012d7bd1c005e95af80004010824..."} 
[2026-09-07 16:21:12] local.INFO: Packet analysis {"connection_id":176298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:21:12] local.INFO: Extracted packet for processing {"connection_id":176298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":763089344,"raw_latitude":99179256,"longitude_deg":76.3089344,"latitude_deg":9.9179256,"altitude":4,"angle":264,"satellites":36,"speed":6,"hex_longitude":"2d7bd1c0","hex_latitude":"05e95af8","is_valid_coordinates":true} 
[2026-09-07 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927206912001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129404366741307392,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923741949536204800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788778172000,"timestamp_ms":1788778172000,"timestamp_seconds":1788778172,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7cce60"} 
[2026-09-07 16:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":187,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":123,"raw_value":4325708736963051525,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-7651615723937324800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221612927,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910998,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3140550656,"corrected_to":0} 
[2026-09-07 16:21:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3918282752,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:12] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,87,24,241,157,16,188,160,81,45,91,6,35,10,66,30,128,97,13,40,192,11,1,240,227,187,123,233,4,113,205,23,142,72,32,36,239,53,2,203,5,28],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0},{"io_id":203,"original":3140550656,"validated":0}]} 
[2026-09-07 16:21:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288523009453654016,"timestamp_seconds":288523009453654.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":176298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":176298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":176298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927206912001,"66":12917,"156":206,"87":13824,"24":6,"16":129404366741307392,"45":8923741949536204800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927206912001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129404366741307392,"km_value":129404366741307.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923741949536204800,"description":"Unknown IO ID 45"} 
[2026-09-07 16:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927206912001,"power":12917,"unknown_156":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8923741949536204800}} 
[2026-09-07 16:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":176298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:12] local.INFO: GPS data processed {"connection_id":176298,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:12] local.INFO: Acknowledgment sent {"connection_id":176298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:17] local.INFO: TCP Data received {"connection_id":174900,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:17] local.INFO: Processing buffer {"connection_id":174900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b793c50012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:17] local.INFO: Packet analysis {"connection_id":174900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:21:17] local.INFO: Extracted packet for processing {"connection_id":174900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b79"} 
[2026-09-07 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927075072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788777938000,"timestamp_ms":1788777938000,"timestamp_seconds":1788777938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b793c50"} 
[2026-09-07 16: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-07 16:21:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:21:17] 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-07 16:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927075072001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927075072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927075072001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":174900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:17] local.INFO: GPS data processed {"connection_id":174900,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:17] local.INFO: Acknowledgment sent {"connection_id":174900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:18] local.INFO: TCP Data received {"connection_id":173807,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd030012d0d39c00705c1200017014d21..."} 
[2026-09-07 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd030012d0d39c00705c1200017014d21..."} 
[2026-09-07 16:21:18] local.INFO: Processing buffer {"connection_id":173807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd030012d0d39c00705c1200017014d21..."} 
[2026-09-07 16:21:18] local.INFO: Packet analysis {"connection_id":173807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:21:18] local.INFO: Extracted packet for processing {"connection_id":173807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117817632,"longitude_deg":75.5841472,"latitude_deg":11.7817632,"altitude":23,"angle":333,"satellites":33,"speed":7,"hex_longitude":"2d0d39c0","hex_latitude":"0705c120","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927228672001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30540597613821952,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301303560192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788778238000,"timestamp_ms":1788778238000,"timestamp_seconds":1788778238,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd030"} 
[2026-09-07 16: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-07 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927228672001,"66":14428,"167":206,"94":11008,"24":7,"16":30540597613821952,"45":953074301303560192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927228672001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:21:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30540597613821952,"km_value":30540597613821.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301303560192,"description":"Unknown IO ID 45"} 
[2026-09-07 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927228672001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953074301303560192}} 
[2026-09-07 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":173807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779600,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:18] local.INFO: GPS data processed {"connection_id":173807,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:18] local.INFO: Acknowledgment sent {"connection_id":173807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:21] local.INFO: TCP Data received {"connection_id":174901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7af1d0012cb2a380077513a8001c002529..."} 
[2026-09-07 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7af1d0012cb2a380077513a8001c002529..."} 
[2026-09-07 16:21:21] local.INFO: Processing buffer {"connection_id":174901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7af1d0012cb2a380077513a8001c002529..."} 
[2026-09-07 16:21:21] local.INFO: Packet analysis {"connection_id":174901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:21:21] local.INFO: Extracted packet for processing {"connection_id":174901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7a"} 
[2026-09-07 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927175424001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778050000,"timestamp_ms":1788778050000,"timestamp_seconds":1788778050,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7af1d0"} 
[2026-09-07 16: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-07 16:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 16:21: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-07 16: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-07 16: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-07 16:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:21: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-07 16:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927175424001,"66":27843,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927175424001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927175424001,"power":27843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":174901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:21] local.INFO: GPS data processed {"connection_id":174901,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:21] local.INFO: Acknowledgment sent {"connection_id":174901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:27] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:27] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:27] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:21:28] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:28] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:28] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:33] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:33] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:21:33] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:34] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7e5500012d7b4a4005e92e28000800d921..."} 
[2026-09-07 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7e5500012d7b4a4005e92e28000800d921..."} 
[2026-09-07 16:21:34] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7e5500012d7b4a4005e92e28000800d921..."} 
[2026-09-07 16:21:34] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:21:34] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":99167784,"longitude_deg":76.3054656,"latitude_deg":9.9167784,"altitude":8,"angle":217,"satellites":33,"speed":7,"hex_longitude":"2d7b4a40","hex_latitude":"05e92e28","is_valid_coordinates":true} 
[2026-09-07 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927237376001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129406166332604416,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977817067520,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778272000,"timestamp_ms":1788778272000,"timestamp_seconds":1788778272,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e5500"} 
[2026-09-07 16:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:34] 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-07 16:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927237376001,"66":13048,"156":206,"87":13824,"24":7,"16":129406166332604416,"45":8884053977817067520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927237376001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129406166332604416,"km_value":129406166332604.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977817067520,"description":"Unknown IO ID 45"} 
[2026-09-07 16:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927237376001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8884053977817067520}} 
[2026-09-07 16:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:34] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:34] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:36] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:36] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:36] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:21:39] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:39] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:39] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:40] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:40] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:40] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:41] local.INFO: TCP Data received {"connection_id":176299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176299,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:41] local.INFO: Processing buffer {"connection_id":176299,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:21:41] local.INFO: IMEI packet received {"connection_id":176299,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":176299,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:44] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:44] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:44] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:21:45] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:45] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:45] local.INFO: IMEI packet received {"connection_id":176300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":176300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:21:49] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:49] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:21:49] local.INFO: IMEI packet received {"connection_id":173558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":173558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:50] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7b43d8012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7b43d8012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:21:50] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7b43d8012cb2a380077513a8001c00252b..."} 
[2026-09-07 16:21:50] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:21:50] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:21:50] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":43,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927180800001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778071000,"timestamp_ms":1788778071000,"timestamp_seconds":1788778071,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7b43d8"} 
[2026-09-07 16: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-07 16:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:50] 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-07 16: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-07 16: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-07 16:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:21:50] local.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-07 16:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927180800001,"66":27626,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927180800001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927180800001,"power":27626,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:50] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:50] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:21:50] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:50] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:21:50] local.INFO: IMEI packet received {"connection_id":176300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":176300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:21:51] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:51] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:21:51] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:21:51] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:21: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-07 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 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-07 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:21:51] 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-07 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:21:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:21:51] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:21:51] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:11] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7e58e8012d7b4a0005e92d58000800c121..."} 
[2026-09-07 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7e58e8012d7b4a0005e92d58000800c121..."} 
[2026-09-07 16:22:11] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7e58e8012d7b4a0005e92d58000800c121..."} 
[2026-09-07 16:22:11] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:11] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":99167576,"longitude_deg":76.3054592,"latitude_deg":9.9167576,"altitude":8,"angle":193,"satellites":33,"speed":10,"hex_longitude":"2d7b4a00","hex_latitude":"05e92d58","is_valid_coordinates":true} 
[2026-09-07 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927237632001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129406174922539008,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983609072855040,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788778273000,"timestamp_ms":1788778273000,"timestamp_seconds":1788778273,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e58e8"} 
[2026-09-07 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:22: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-07 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927237632001,"66":13048,"156":206,"87":13824,"24":10,"16":129406174922539008,"45":8883983609072855040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927237632001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:22:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129406174922539008,"km_value":129406174922539.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983609072855040,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927237632001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8883983609072855040}} 
[2026-09-07 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:11] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:11] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:21] local.INFO: TCP Data received {"connection_id":173558,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7b95e0012cb2a380077513a8001c002526..."} 
[2026-09-07 16:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7b95e0012cb2a380077513a8001c002526..."} 
[2026-09-07 16:22:21] local.INFO: Processing buffer {"connection_id":173558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7b95e0012cb2a380077513a8001c002526..."} 
[2026-09-07 16:22:21] local.INFO: Packet analysis {"connection_id":173558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:22:21] local.INFO: Extracted packet for processing {"connection_id":173558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":38,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927186176001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778092000,"timestamp_ms":1788778092000,"timestamp_seconds":1788778092,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7b95e0"} 
[2026-09-07 16: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-07 16:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:22: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-07 16:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927186176001,"66":27995,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927186176001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927186176001,"power":27995,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":173558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:21] local.INFO: GPS data processed {"connection_id":173558,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:21] local.INFO: Acknowledgment sent {"connection_id":173558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:22] local.INFO: TCP Data received {"connection_id":176300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:22] local.INFO: Processing buffer {"connection_id":176300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:22] local.INFO: Packet analysis {"connection_id":176300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:22:22] local.INFO: Extracted packet for processing {"connection_id":176300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22: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-07 16:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:22:22] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:22:22] 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-07 16:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":176300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:22] local.INFO: GPS data processed {"connection_id":176300,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:22] local.INFO: Acknowledgment sent {"connection_id":176300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:39] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:39] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:39] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:22:40] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:40] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:40] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:22:40] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:40] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:40] local.INFO: IMEI packet received {"connection_id":173809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":173809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:22:43] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:43] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:22:43] local.INFO: IMEI packet received {"connection_id":173559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":173559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:22:44] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":1340,"data_hex":"000000000000030f8e0a000001a07b7e5cd0012d7b49c005e92c20000800b421..."} 
[2026-09-07 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a07b7e5cd0012d7b49c005e92c20000800b421..."} 
[2026-09-07 16:22:44] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a07b7e5cd0012d7b49c005e92c20000800b421..."} 
[2026-09-07 16:22:44] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:44] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763054528,"raw_latitude":99167264,"longitude_deg":76.3054528,"latitude_deg":9.9167264,"altitude":8,"angle":180,"satellites":33,"speed":14,"hex_longitude":"2d7b49c0","hex_latitude":"05e92c20","is_valid_coordinates":true} 
[2026-09-07 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927237888001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129406192102408192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240328624128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788778274000,"timestamp_ms":1788778274000,"timestamp_seconds":1788778274,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e5cd0"} 
[2026-09-07 16:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:44] 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-07 16:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927237888001,"66":13102,"156":206,"87":13824,"24":14,"16":129406192102408192,"45":8883913240328624128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927237888001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129406192102408192,"km_value":129406192102408.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240328624128,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927237888001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8883913240328624128}} 
[2026-09-07 16:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:44] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:44] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:44] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:44] local.INFO: Incomplete packet, waiting for more data {"connection_id":173559,"needed":795,"available":545} 
[2026-09-07 16:22:44] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:44] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:44] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:22:44] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":250,"data_hex":"e3001001cbbdc100000000000001a07b7de3b8012d7b804005e93a48000900f1..."} 
[2026-09-07 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":250,"packet_hex":"e3001001cbbdc100000000000001a07b7de3b8012d7b804005e93a48000900f1..."} 
[2026-09-07 16:22:44] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7e8bb0012d7b4d4005e907e8000800ac23..."} 
[2026-09-07 16:22:44] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:44] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763055424,"raw_latitude":99157992,"longitude_deg":76.3055424,"latitude_deg":9.9157992,"altitude":8,"angle":172,"satellites":35,"speed":39,"hex_longitude":"2d7b4d40","hex_latitude":"05e907e8","is_valid_coordinates":true} 
[2026-09-07 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927238144001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129406643073974272,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883842871584366592,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788778286000,"timestamp_ms":1788778286000,"timestamp_seconds":1788778286,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e8bb0"} 
[2026-09-07 16:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:44] 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-07 16:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927238144001,"66":13493,"128":206,"87":13824,"24":39,"16":129406643073974272,"45":8883842871584366592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-07 16:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927238144001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129406643073974272,"km_value":129406643073974.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883842871584366592,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927238144001,"power":13493,"unknown_128":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8883842871584366592}} 
[2026-09-07 16:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:44] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:44] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:45] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:45] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:22:45] local.INFO: IMEI packet received {"connection_id":173809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:22:45] local.INFO: TCP Data received {"connection_id":173559,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7eaed8012d7b520005e8e128000800ad26..."} 
[2026-09-07 16:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7eaed8012d7b520005e8e128000800ad26..."} 
[2026-09-07 16:22:45] local.INFO: Processing buffer {"connection_id":173559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7eaed8012d7b520005e8e128000800ad26..."} 
[2026-09-07 16:22:45] local.INFO: Packet analysis {"connection_id":173559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:45] local.INFO: Extracted packet for processing {"connection_id":173559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":99148072,"longitude_deg":76.305664,"latitude_deg":9.9148072,"altitude":8,"angle":173,"satellites":38,"speed":47,"hex_longitude":"2d7b5200","hex_latitude":"05e8e128","is_valid_coordinates":true} 
[2026-09-07 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927241216001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129407128405278720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884828034000480256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788778295000,"timestamp_ms":1788778295000,"timestamp_seconds":1788778295,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7eaed8"} 
[2026-09-07 16:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:45] 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-07 16:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927241216001,"66":13580,"128":206,"87":13824,"24":47,"16":129407128405278720,"45":8884828034000480256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,87,24,16,45]} 
[2026-09-07 16:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927241216001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:45] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-09-07 16:22:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129407128405278720,"km_value":129407128405278.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884828034000480256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927241216001,"power":13580,"unknown_128":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8884828034000480256}} 
[2026-09-07 16:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":173559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:45] local.INFO: GPS data processed {"connection_id":173559,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:45] local.INFO: Acknowledgment sent {"connection_id":173559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:46] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:46] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:22:46] local.INFO: Packet analysis {"connection_id":173809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:22:46] local.INFO: Extracted packet for processing {"connection_id":173809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 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-07 16:22:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:22:46] 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-07 16:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":173809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:46] local.INFO: GPS data processed {"connection_id":173809,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:46] local.INFO: Acknowledgment sent {"connection_id":173809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:49] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:49] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:22:49] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:22:50] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7be7e8012cb2a380077513a8001c002523..."} 
[2026-09-07 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7be7e8012cb2a380077513a8001c002523..."} 
[2026-09-07 16:22:50] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7be7e8012cb2a380077513a8001c002523..."} 
[2026-09-07 16:22:50] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:22:50] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7b"} 
[2026-09-07 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":35,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927191552001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778113000,"timestamp_ms":1788778113000,"timestamp_seconds":1788778113,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7be7e8"} 
[2026-09-07 16: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-07 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-09-07 16:22: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-07 16: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-07 16: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-07 16:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:22:50] local.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-07 16:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927191552001,"66":27908,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927191552001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:22:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927191552001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:22:50] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:22:50] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:22:52] local.INFO: TCP Data received {"connection_id":176302,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:22:52] local.INFO: Processing buffer {"connection_id":176302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:22:52] local.INFO: IMEI packet received {"connection_id":176302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":176302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:23:17] local.INFO: TCP Data received {"connection_id":173809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:17] local.INFO: Processing buffer {"connection_id":173809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:17] local.INFO: Packet analysis {"connection_id":173809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:23:17] local.INFO: Extracted packet for processing {"connection_id":173809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:23:17] 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-07 16:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:23:17] 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-07 16:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":173809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:23:17] local.INFO: GPS data processed {"connection_id":173809,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:23:17] local.INFO: Acknowledgment sent {"connection_id":173809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:23:21] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7c39f0012cb2a380077513a8001c00251d..."} 
[2026-09-07 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7c39f0012cb2a380077513a8001c00251d..."} 
[2026-09-07 16:23:21] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7c39f0012cb2a380077513a8001c00251d..."} 
[2026-09-07 16:23:21] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:23:21] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":29,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927196928001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778134000,"timestamp_ms":1788778134000,"timestamp_seconds":1788778134,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7c39f0"} 
[2026-09-07 16: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-07 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:23: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-07 16:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927196928001,"66":27745,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927196928001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:23:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927196928001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:23:21] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:23:21] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:23:28] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:23:28] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:28] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:23:38] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:38] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:23:38] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:23:39] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7ece18012d7b56c005e8bd78000800ad24..."} 
[2026-09-07 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7ece18012d7b56c005e8bd78000800ad24..."} 
[2026-09-07 16:23:39] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7ece18012d7b56c005e8bd78000800ad24..."} 
[2026-09-07 16:23:39] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:23:39] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":763057856,"raw_latitude":99138936,"longitude_deg":76.3057856,"latitude_deg":9.9138936,"altitude":8,"angle":173,"satellites":36,"speed":33,"hex_longitude":"2d7b56c0","hex_latitude":"05e8bd78","is_valid_coordinates":true} 
[2026-09-07 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927243520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129407575081877504,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040137316352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788778303000,"timestamp_ms":1788778303000,"timestamp_seconds":1788778303,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7ece18"} 
[2026-09-07 16:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:23: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-07 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631293,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3765554646249111552,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":8322658610552766473,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634647635056540,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2147871022,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252759,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3191275520,"corrected_to":0} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912216576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858290501988777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,128,87,24,241,157,16,191,160,139,45,64,7,8,35,10,66,190,92,192,44,33,156,88,1,240,248,227,123,233,4,113,205,81,74,176,239,50,2,203,5,9,26,51,54],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0},{"io_id":203,"original":3191275520,"validated":0}]} 
[2026-09-07 16:23:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576651131026866176,"timestamp_seconds":576651131026866.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927243520001,"66":12863,"201":206,"87":13824,"24":33,"16":129407575081877504,"45":8886165040137316352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 16:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927243520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129407575081877504,"km_value":129407575081877.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040137316352,"description":"Unknown IO ID 45"} 
[2026-09-07 16:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927243520001,"power":12863,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8886165040137316352}} 
[2026-09-07 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:23:39] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:23:39] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:23:40] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:40] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:40] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:23:44] local.INFO: TCP Data received {"connection_id":173561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:44] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:44] local.INFO: IMEI packet received {"connection_id":173561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:23:45] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:45] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:23:45] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:23:46] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:46] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:23:46] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:23:46] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 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-07 16:23:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:23:46] 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-07 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:23:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:23:46] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:23:46] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:23:49] local.INFO: TCP Data received {"connection_id":173561,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:49] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:23:49] local.INFO: IMEI packet received {"connection_id":173561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:23:50] local.INFO: TCP Data received {"connection_id":173561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7c8bf8012cb2a380077513a8001c002528..."} 
[2026-09-07 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7c8bf8012cb2a380077513a8001c002528..."} 
[2026-09-07 16:23:50] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7c8bf8012cb2a380077513a8001c002528..."} 
[2026-09-07 16:23:50] local.INFO: Packet analysis {"connection_id":173561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:23:50] local.INFO: Extracted packet for processing {"connection_id":173561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:23:50] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927202304001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778155000,"timestamp_ms":1788778155000,"timestamp_seconds":1788778155,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7c8bf8"} 
[2026-09-07 16:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 16:23:50] 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-07 16:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:23:50] local.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-07 16:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927202304001,"66":27745,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927202304001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:23:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927202304001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":173561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:23:50] local.INFO: GPS data processed {"connection_id":173561,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:23:50] local.INFO: Acknowledgment sent {"connection_id":173561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:11] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b806070012d7b600005e7bea0000500ab22..."} 
[2026-09-07 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b806070012d7b600005e7bea0000500ab22..."} 
[2026-09-07 16:24:11] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b806070012d7b600005e7bea0000500ab22..."} 
[2026-09-07 16:24:11] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:24:11] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":763060224,"raw_latitude":99073696,"longitude_deg":76.3060224,"latitude_deg":9.9073696,"altitude":5,"angle":171,"satellites":34,"speed":9,"hex_longitude":"2d7b6000","hex_latitude":"05e7bea0","is_valid_coordinates":true} 
[2026-09-07 16:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927268864001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129410774832513024,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888627946166771712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788778406000,"timestamp_ms":1788778406000,"timestamp_seconds":1788778406,"priority":1,"record_length":96,"hex_timestamp":"000001a07b806070"} 
[2026-09-07 16:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-07 16:24: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-07 16:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927268864001,"66":13450,"201":206,"87":13824,"24":9,"16":129410774832513024,"45":8888627946166771712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-09-07 16:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927268864001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:11] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-09-07 16:24:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129410774832513024,"km_value":129410774832513.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888627946166771712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927268864001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8888627946166771712}} 
[2026-09-07 16:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:11] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:11] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:17] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:17] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:17] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:17] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:24:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:24:17] 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-07 16:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:17] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:17] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:21] local.INFO: TCP Data received {"connection_id":173561,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7cde00012cb2a380077513a8001c002525..."} 
[2026-09-07 16:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7cde00012cb2a380077513a8001c002525..."} 
[2026-09-07 16:24:21] local.INFO: Processing buffer {"connection_id":173561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7cde00012cb2a380077513a8001c002525..."} 
[2026-09-07 16:24:21] local.INFO: Packet analysis {"connection_id":173561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:24:21] local.INFO: Extracted packet for processing {"connection_id":173561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7c"} 
[2026-09-07 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":37,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927207680001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778176000,"timestamp_ms":1788778176000,"timestamp_seconds":1788778176,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7cde00"} 
[2026-09-07 16:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:24:21] local.INFO: IO Element 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-07 16:24: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-07 16:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927207680001,"66":27767,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927207680001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927207680001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":173561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:21] local.INFO: GPS data processed {"connection_id":173561,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:21] local.INFO: Acknowledgment sent {"connection_id":173561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:27] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:27] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:27] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:24:33] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:33] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:24:33] local.INFO: IMEI packet received {"connection_id":174903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":174903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:24:33] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b80ae90012d7b620005e7a6b8000700b327..."} 
[2026-09-07 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b80ae90012d7b620005e7a6b8000700b327..."} 
[2026-09-07 16:24:33] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b80ae90012d7b620005e7a6b8000700b327..."} 
[2026-09-07 16:24:33] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:24:33] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763060736,"raw_latitude":99067576,"longitude_deg":76.3060736,"latitude_deg":9.9067576,"altitude":7,"angle":179,"satellites":39,"speed":6,"hex_longitude":"2d7b6200","hex_latitude":"05e7a6b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927271936001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129411075480223744,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890105689792225280,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788778426000,"timestamp_ms":1788778426000,"timestamp_seconds":1788778426,"priority":1,"record_length":96,"hex_timestamp":"000001a07b80ae90"} 
[2026-09-07 16: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-07 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 16:24:33] 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-07 16:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16: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-07 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927271936001,"66":13363,"96":206,"87":13824,"24":6,"16":129411075480223744,"45":8890105689792225280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927271936001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:24:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129411075480223744,"km_value":129411075480223.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890105689792225280,"description":"Unknown IO ID 45"} 
[2026-09-07 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927271936001,"power":13363,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8890105689792225280}} 
[2026-09-07 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:33] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:33] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:40] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:40] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:40] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:24:45] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:45] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:24:45] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:24:46] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:46] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:24:46] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:46] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:24:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:24:46] 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-07 16:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:46] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:46] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:24:49] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:49] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:49] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:24:54] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:54] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:24:54] local.INFO: IMEI packet received {"connection_id":173562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":173562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:24:55] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7d3008012cb2a380077513a8001c002524..."} 
[2026-09-07 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7d3008012cb2a380077513a8001c002524..."} 
[2026-09-07 16:24:55] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7d3008012cb2a380077513a8001c002524..."} 
[2026-09-07 16:24:55] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:55] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:24:55] local.INFO: GPS Element Parsed {"raw_longitude":749904768,"raw_latitude":125113256,"longitude_deg":74.9904768,"latitude_deg":12.5113256,"altitude":28,"angle":37,"satellites":36,"speed":0,"hex_longitude":"2cb2a380","hex_latitude":"077513a8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927213056001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703549550985216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788778197000,"timestamp_ms":1788778197000,"timestamp_seconds":1788778197,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7d3008"} 
[2026-09-07 16: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-07 16:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:24:55] 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-07 16:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927213056001,"66":27745,"215":206,"85":36608,"24":0,"16":401703549550985216,"44":-5574471144237193216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927213056001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:24:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703549550985216,"km_value":401703549550985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927213056001,"power":27745,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:24:55] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:24:55] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:00] local.INFO: TCP Data received {"connection_id":173562,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7d8210012cb2a680077515b80023002525..."} 
[2026-09-07 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7d8210012cb2a680077515b80023002525..."} 
[2026-09-07 16:25:00] local.INFO: Processing buffer {"connection_id":173562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7d8210012cb2a680077515b80023002525..."} 
[2026-09-07 16:25:00] local.INFO: Packet analysis {"connection_id":173562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:00] local.INFO: Extracted packet for processing {"connection_id":173562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":37,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927218432001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574471144237193216,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788778218000,"timestamp_ms":1788778218000,"timestamp_seconds":1788778218,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7d8210"} 
[2026-09-07 16: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-07 16:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:00] 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-07 16: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-07 16: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-07 16:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:00] 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-07 16:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927218432001,"66":27767,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5574471144237193216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927218432001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574471144237193216,"description":"Unknown IO ID 44"} 
[2026-09-07 16:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927218432001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574471144237193216}} 
[2026-09-07 16:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":173562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:00] local.INFO: GPS data processed {"connection_id":173562,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:00] local.INFO: Acknowledgment sent {"connection_id":173562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:04] local.INFO: TCP Data received {"connection_id":174903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b80d5a0012d7b638005e797a8000500a623..."} 
[2026-09-07 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b80d5a0012d7b638005e797a8000500a623..."} 
[2026-09-07 16:25:04] local.INFO: Processing buffer {"connection_id":174903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b80d5a0012d7b638005e797a8000500a623..."} 
[2026-09-07 16:25:04] local.INFO: Packet analysis {"connection_id":174903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:25:04] local.INFO: Extracted packet for processing {"connection_id":174903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b80"} 
[2026-09-07 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763061120,"raw_latitude":99063720,"longitude_deg":76.306112,"latitude_deg":9.906372,"altitude":5,"angle":166,"satellites":35,"speed":23,"hex_longitude":"2d7b6380","hex_latitude":"05e797a8","is_valid_coordinates":true} 
[2026-09-07 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927277056001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129411264458784768,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890668639744079872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788778436000,"timestamp_ms":1788778436000,"timestamp_seconds":1788778436,"priority":1,"record_length":96,"hex_timestamp":"000001a07b80d5a0"} 
[2026-09-07 16:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927277056001,"66":13678,"96":206,"87":13824,"24":23,"16":129411264458784768,"45":8890668639744079872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927277056001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129411264458784768,"km_value":129411264458784.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890668639744079872,"description":"Unknown IO ID 45"} 
[2026-09-07 16:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927277056001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8890668639744079872}} 
[2026-09-07 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":174903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:05] local.INFO: GPS data processed {"connection_id":174903,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:05] local.INFO: Acknowledgment sent {"connection_id":174903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:17] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:17] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:17] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:17] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:25:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:25:17] 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-07 16:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:17] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:17] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:27] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:27] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:27] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:25:28] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:28] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:28] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:25:30] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:30] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:30] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:25:32] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:32] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:25:32] local.INFO: IMEI packet received {"connection_id":173563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":173563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:25:34] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8123c0012d7b68c005e786d00008009d22..."} 
[2026-09-07 16:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8123c0012d7b68c005e786d00008009d22..."} 
[2026-09-07 16:25:34] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8123c0012d7b68c005e786d00008009d22..."} 
[2026-09-07 16:25:34] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b81"} 
[2026-09-07 16:25:34] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b81"} 
[2026-09-07 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":99059408,"longitude_deg":76.3062464,"latitude_deg":9.9059408,"altitude":8,"angle":157,"satellites":34,"speed":17,"hex_longitude":"2d7b68c0","hex_latitude":"05e786d0","is_valid_coordinates":true} 
[2026-09-07 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927279616001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129411483502116864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891090852208158720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778456000,"timestamp_ms":1788778456000,"timestamp_seconds":1788778456,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8123c0"} 
[2026-09-07 16:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:34] 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-07 16:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927279616001,"66":13276,"96":206,"87":13824,"24":17,"16":129411483502116864,"45":8891090852208158720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927279616001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129411483502116864,"km_value":129411483502116.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891090852208158720,"description":"Unknown IO ID 45"} 
[2026-09-07 16:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927279616001,"power":13276,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8891090852208158720}} 
[2026-09-07 16:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:34] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:34] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:40] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:40] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:40] local.INFO: IMEI packet received {"connection_id":176306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":176306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:25:45] local.INFO: TCP Data received {"connection_id":176307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:45] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:45] local.INFO: IMEI packet received {"connection_id":176307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":176307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:25:45] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:45] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:25:45] local.INFO: IMEI packet received {"connection_id":176306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":176306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:25:46] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:46] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:25:46] local.INFO: Packet analysis {"connection_id":176306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:46] local.INFO: Extracted packet for processing {"connection_id":176306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:25:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:25:46] 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-07 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":176306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:46] local.INFO: GPS data processed {"connection_id":176306,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:46] local.INFO: Acknowledgment sent {"connection_id":176306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:49] local.INFO: TCP Data received {"connection_id":176307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:49] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:25:49] local.INFO: IMEI packet received {"connection_id":176307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":176307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:25:50] local.INFO: TCP Data received {"connection_id":176307,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012cb2a680077515b80023002527..."} 
[2026-09-07 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012cb2a680077515b80023002527..."} 
[2026-09-07 16:25:50] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012cb2a680077515b80023002527..."} 
[2026-09-07 16:25:50] local.INFO: Packet analysis {"connection_id":176307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:50] local.INFO: Extracted packet for processing {"connection_id":176307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:25:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927223808001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:50] 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-07 16:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927223808001,"66":27974,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927223808001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927223808001,"power":27974,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:50] local.INFO: GPS data processed {"connection_id":176307,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:50] local.INFO: Acknowledgment sent {"connection_id":176307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:25:55] local.INFO: TCP Data received {"connection_id":176307,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7e2620012cb2a680077515b8002300252a..."} 
[2026-09-07 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7e2620012cb2a680077515b8002300252a..."} 
[2026-09-07 16:25:55] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7e2620012cb2a680077515b8002300252a..."} 
[2026-09-07 16:25:55] local.INFO: Packet analysis {"connection_id":176307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:25:55] local.INFO: Extracted packet for processing {"connection_id":176307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788778260000,"timestamp_ms":1788778260000,"timestamp_seconds":1788778260,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e2620"} 
[2026-09-07 16: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-07 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 16:25:55] 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-07 16: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-07 16: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-07 16:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:25:55] 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-07 16:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":27843,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:25:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":27843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":176307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:25:55] local.INFO: GPS data processed {"connection_id":176307,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:25:55] local.INFO: Acknowledgment sent {"connection_id":176307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:06] local.INFO: TCP Data received {"connection_id":173563,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b813f18012d7b6bc005e77da0000800ac23..."} 
[2026-09-07 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b813f18012d7b6bc005e77da0000800ac23..."} 
[2026-09-07 16:26:06] local.INFO: Processing buffer {"connection_id":173563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b813f18012d7b6bc005e77da0000800ac23..."} 
[2026-09-07 16:26:06] local.INFO: Packet analysis {"connection_id":173563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b81"} 
[2026-09-07 16:26:06] local.INFO: Extracted packet for processing {"connection_id":173563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b81"} 
[2026-09-07 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763063232,"raw_latitude":99057056,"longitude_deg":76.3063232,"latitude_deg":9.9057056,"altitude":8,"angle":172,"satellites":35,"speed":11,"hex_longitude":"2d7b6bc0","hex_latitude":"05e77da0","is_valid_coordinates":true} 
[2026-09-07 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927284736001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129411603761201152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595834785792,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788778463000,"timestamp_ms":1788778463000,"timestamp_seconds":1788778463,"priority":1,"record_length":96,"hex_timestamp":"000001a07b813f18"} 
[2026-09-07 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927284736001,"66":13243,"96":206,"87":13824,"24":11,"16":129411603761201152,"45":8892568595834785792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927284736001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129411603761201152,"km_value":129411603761201.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595834785792,"description":"Unknown IO ID 45"} 
[2026-09-07 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927284736001,"power":13243,"unknown_96":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8892568595834785792}} 
[2026-09-07 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":173563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:06] local.INFO: GPS data processed {"connection_id":173563,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:06] local.INFO: Acknowledgment sent {"connection_id":173563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:17] local.INFO: TCP Data received {"connection_id":176306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:26:17] local.INFO: Processing buffer {"connection_id":176306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7dd418012d196500071ff0200040011f20..."} 
[2026-09-07 16:26:17] local.INFO: Packet analysis {"connection_id":176306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:26:17] local.INFO: Extracted packet for processing {"connection_id":176306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7d"} 
[2026-09-07 16:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927152128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778239000,"timestamp_ms":1788778239000,"timestamp_seconds":1788778239,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7dd418"} 
[2026-09-07 16: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-07 16:26:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:26:17] 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-07 16:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927152128001,"66":2122,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927152128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927152128001,"power":2122,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":176306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:18] local.INFO: GPS data processed {"connection_id":176306,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:18] local.INFO: Acknowledgment sent {"connection_id":176306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:26] local.INFO: TCP Data received {"connection_id":176307,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7e7828012cb2a680077515b80023002528..."} 
[2026-09-07 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7e7828012cb2a680077515b80023002528..."} 
[2026-09-07 16:26:26] local.INFO: Processing buffer {"connection_id":176307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7e7828012cb2a680077515b80023002528..."} 
[2026-09-07 16:26:26] local.INFO: Packet analysis {"connection_id":176307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:26:26] local.INFO: Extracted packet for processing {"connection_id":176307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927234560001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788778281000,"timestamp_ms":1788778281000,"timestamp_seconds":1788778281,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7e7828"} 
[2026-09-07 16: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-07 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:26: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-07 16:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927234560001,"66":27908,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927234560001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927234560001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":176307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:26] local.INFO: GPS data processed {"connection_id":176307,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:26] local.INFO: Acknowledgment sent {"connection_id":176307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:33] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:33] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:33] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:26:35] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:35] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:26:35] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:26:36] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b82b230012d7b990005e6cbb0000b00c025..."} 
[2026-09-07 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b82b230012d7b990005e6cbb0000b00c025..."} 
[2026-09-07 16:26:36] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b82b230012d7b990005e6cbb0000b00c025..."} 
[2026-09-07 16:26:36] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:26:36] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763074816,"raw_latitude":99011504,"longitude_deg":76.3074816,"latitude_deg":9.9011504,"altitude":11,"angle":192,"satellites":37,"speed":25,"hex_longitude":"2d7b9900","hex_latitude":"05e6cbb0","is_valid_coordinates":true} 
[2026-09-07 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927308800001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129413923043540992,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288473122816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788778558000,"timestamp_ms":1788778558000,"timestamp_seconds":1788778558,"priority":1,"record_length":96,"hex_timestamp":"000001a07b82b230"} 
[2026-09-07 16:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2185291777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":231,"raw_value":4231131892875208192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391949,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3294232576,"corrected_to":0} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878305792,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-3767259793438932987,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:36] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,87,24,241,157,16,197,160,135,45,128,223,10,34,66,115,235,11,39,196,72,192,1,240,227,123,231,4,113,205,28,53,40,239,51,2,203,5,23,214,129],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0},{"io_id":203,"original":3294232576,"validated":0}]} 
[2026-09-07 16:26:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720770708557135872,"timestamp_seconds":720770708557135.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927308800001,"66":13406,"96":206,"87":13824,"24":25,"16":129413923043540992,"45":8905868288473122816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927308800001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:36] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:26:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129413923043540992,"km_value":129413923043540.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288473122816,"description":"Unknown IO ID 45"} 
[2026-09-07 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927308800001,"power":13406,"unknown_96":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8905868288473122816}} 
[2026-09-07 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:36] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:36] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:38] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b82c9a0012d7b95c005e6b9d0000b00b125..."} 
[2026-09-07 16:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b82c9a0012d7b95c005e6b9d0000b00b125..."} 
[2026-09-07 16:26:38] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b82c9a0012d7b95c005e6b9d0000b00b125..."} 
[2026-09-07 16:26:38] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:26:38] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763073984,"raw_latitude":99006928,"longitude_deg":76.3073984,"latitude_deg":9.9006928,"altitude":11,"angle":177,"satellites":37,"speed":30,"hex_longitude":"2d7b95c0","hex_latitude":"05e6b9d0","is_valid_coordinates":true} 
[2026-09-07 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927310848001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129414146381840384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906149763448811520,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788778564000,"timestamp_ms":1788778564000,"timestamp_seconds":1788778564,"priority":1,"record_length":96,"hex_timestamp":"000001a07b82c9a0"} 
[2026-09-07 16:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:26: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-07 16:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:38] 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-07 16:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927310848001,"66":13678,"96":206,"87":13824,"24":30,"16":129414146381840384,"45":8906149763448811520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927310848001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129414146381840384,"km_value":129414146381840.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906149763448811520,"description":"Unknown IO ID 45"} 
[2026-09-07 16:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927310848001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8906149763448811520}} 
[2026-09-07 16:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:38] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:38] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:41] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:41] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:41] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:26:43] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:43] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:43] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:26:44] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:44] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:44] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:26:45] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:45] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:26:45] local.INFO: IMEI packet received {"connection_id":173564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":173564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:26:45] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b835640012d0dc14007067fc0001c00491f..."} 
[2026-09-07 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b835640012d0dc14007067fc0001c00491f..."} 
[2026-09-07 16:26:45] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b835640012d0dc14007067fc0001c00491f..."} 
[2026-09-07 16:26:45] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:26:45] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":755876160,"raw_latitude":117866432,"longitude_deg":75.587616,"latitude_deg":11.7866432,"altitude":28,"angle":73,"satellites":31,"speed":18,"hex_longitude":"2d0dc140","hex_latitude":"07067fc0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927321344001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30546709352284160,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":990721579451090944,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788778600000,"timestamp_ms":1788778600000,"timestamp_seconds":1788778600,"priority":1,"record_length":96,"hex_timestamp":"000001a07b835640"} 
[2026-09-07 16: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-07 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927321344001,"66":14396,"167":206,"94":11008,"24":18,"16":30546709352284160,"45":990721579451090944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927321344001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:45] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:26:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30546709352284160,"km_value":30546709352284.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":990721579451090944,"description":"Unknown IO ID 45"} 
[2026-09-07 16:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927321344001,"power":14396,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":990721579451090944}} 
[2026-09-07 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779636,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:46] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:46] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:26:49] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:49] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:26:49] local.INFO: IMEI packet received {"connection_id":176309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:26:50] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7eca30012cb2a680077515b80023002529..."} 
[2026-09-07 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7eca30012cb2a680077515b80023002529..."} 
[2026-09-07 16:26:50] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7eca30012cb2a680077515b80023002529..."} 
[2026-09-07 16:26:50] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:26:50] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927239936001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778302000,"timestamp_ms":1788778302000,"timestamp_seconds":1788778302,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7eca30"} 
[2026-09-07 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-07 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 16:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:26:50] 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-07 16:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927239936001,"66":27876,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927239936001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:26:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927239936001,"power":27876,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:26:50] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:26:50] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:00] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:00] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:00] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:27:05] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:05] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:05] local.INFO: IMEI packet received {"connection_id":176311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":176311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:06] local.INFO: TCP Data received {"connection_id":176311,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:06] local.INFO: Processing buffer {"connection_id":176311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:06] local.INFO: Packet analysis {"connection_id":176311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:06] local.INFO: Extracted packet for processing {"connection_id":176311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":176311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:06] local.INFO: GPS data processed {"connection_id":176311,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:06] local.INFO: Acknowledgment sent {"connection_id":176311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:08] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b82d940012d7b980005e6ac68000a00a622..."} 
[2026-09-07 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b82d940012d7b980005e6ac68000a00a622..."} 
[2026-09-07 16:27:08] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b82d940012d7b980005e6ac68000a00a622..."} 
[2026-09-07 16:27:08] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:08] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99003496,"longitude_deg":76.307456,"latitude_deg":9.9003496,"altitude":10,"angle":166,"satellites":34,"speed":38,"hex_longitude":"2d7b9800","hex_latitude":"05e6ac68","is_valid_coordinates":true} 
[2026-09-07 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927312384001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129414318180532224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905234969773330432,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788778568000,"timestamp_ms":1788778568000,"timestamp_seconds":1788778568,"priority":1,"record_length":96,"hex_timestamp":"000001a07b82d940"} 
[2026-09-07 16:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:27: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-07 16:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927312384001,"66":13678,"96":206,"87":13824,"24":38,"16":129414318180532224,"45":8905234969773330432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927312384001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:08] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:27:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129414318180532224,"km_value":129414318180532.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905234969773330432,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927312384001,"power":13678,"unknown_96":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8905234969773330432}} 
[2026-09-07 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:09] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:09] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:21] local.INFO: TCP Data received {"connection_id":176309,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07b7eed58012cb2a680077515b80023002529..."} 
[2026-09-07 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b7eed58012cb2a680077515b80023002529..."} 
[2026-09-07 16:27:21] local.INFO: Processing buffer {"connection_id":176309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b7eed58012cb2a680077515b80023002529..."} 
[2026-09-07 16:27:21] local.INFO: Packet analysis {"connection_id":176309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:27:21] local.INFO: Extracted packet for processing {"connection_id":176309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b7e"} 
[2026-09-07 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927245312001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778311000,"timestamp_ms":1788778311000,"timestamp_seconds":1788778311,"priority":1,"record_length":96,"hex_timestamp":"000001a07b7eed58"} 
[2026-09-07 16:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:27: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-07 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927245312001,"66":28006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927245312001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927245312001,"power":28006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":176309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:21] local.INFO: GPS data processed {"connection_id":176309,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:21] local.INFO: Acknowledgment sent {"connection_id":176309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:22] local.INFO: TCP Data received {"connection_id":173564,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b83cb70012d0ded000706a4b0001b00251f..."} 
[2026-09-07 16:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b83cb70012d0ded000706a4b0001b00251f..."} 
[2026-09-07 16:27:22] local.INFO: Processing buffer {"connection_id":173564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b83cb70012d0ded000706a4b0001b00251f..."} 
[2026-09-07 16:27:22] local.INFO: Packet analysis {"connection_id":173564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:27:22] local.INFO: Extracted packet for processing {"connection_id":173564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755887360,"raw_latitude":117875888,"longitude_deg":75.588736,"latitude_deg":11.7875888,"altitude":27,"angle":37,"satellites":31,"speed":14,"hex_longitude":"2d0ded00","hex_latitude":"0706a4b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927329024001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30547568345743360,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003106478428768256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788778630000,"timestamp_ms":1788778630000,"timestamp_seconds":1788778630,"priority":1,"record_length":96,"hex_timestamp":"000001a07b83cb70"} 
[2026-09-07 16: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-07 16:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927329024001,"66":14461,"167":206,"94":11008,"24":14,"16":30547568345743360,"45":1003106478428768256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-09-07 16:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927329024001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 16:27:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30547568345743360,"km_value":30547568345743.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003106478428768256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927329024001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1003106478428768256}} 
[2026-09-07 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":173564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:22] local.INFO: GPS data processed {"connection_id":173564,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:22] local.INFO: Acknowledgment sent {"connection_id":173564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:27] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:27] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:27] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:27:32] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:32] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:27:32] local.INFO: IMEI packet received {"connection_id":173565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":173565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:33] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b82fc68012d7ba08005e68800000b00a725..."} 
[2026-09-07 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b82fc68012d7ba08005e68800000b00a725..."} 
[2026-09-07 16:27:33] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b82fc68012d7ba08005e68800000b00a725..."} 
[2026-09-07 16:27:33] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:33] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763076736,"raw_latitude":98994176,"longitude_deg":76.3076736,"latitude_deg":9.8994176,"altitude":11,"angle":167,"satellites":37,"speed":42,"hex_longitude":"2d7ba080","hex_latitude":"05e68800","is_valid_coordinates":true} 
[2026-09-07 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927313408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129414782037000192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288470050816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788778577000,"timestamp_ms":1788778577000,"timestamp_seconds":1788778577,"priority":1,"record_length":96,"hex_timestamp":"000001a07b82fc68"} 
[2026-09-07 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927313408001,"66":13656,"96":206,"87":13824,"24":42,"16":129414782037000192,"45":8905868288470050816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-09-07 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927313408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 16:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129414782037000192,"km_value":129414782037000.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288470050816,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927313408001,"power":13656,"unknown_96":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8905868288470050816}} 
[2026-09-07 16:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:33] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:33] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:40] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:40] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:40] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:27:41] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:27:41] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:41] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:44] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:44] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:44] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:27:45] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:45] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:27:45] local.INFO: IMEI packet received {"connection_id":176312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":176312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:46] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:46] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:27:46] local.INFO: IMEI packet received {"connection_id":176313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":176313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:46] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:46] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:27:46] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:46] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16: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-07 16:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:27:46] 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-07 16:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:46] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:46] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:46] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8434e8012d0dce000706c9c00020000120..."} 
[2026-09-07 16:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8434e8012d0dce000706c9c00020000120..."} 
[2026-09-07 16:27:46] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8434e8012d0dce000706c9c00020000120..."} 
[2026-09-07 16:27:46] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:27:46] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:27:46] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117885376,"longitude_deg":75.5879424,"latitude_deg":11.7885376,"altitude":32,"angle":1,"satellites":32,"speed":15,"hex_longitude":"2d0dce00","hex_latitude":"0706c9c0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927335936001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30548298490183680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994732597873999872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778657000,"timestamp_ms":1788778657000,"timestamp_seconds":1788778657,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8434e8"} 
[2026-09-07 16: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-07 16:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927335936001,"66":14450,"219":206,"94":10240,"24":15,"16":30548298490183680,"45":994732597873999872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927335936001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30548298490183680,"km_value":30548298490183.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":994732597873999872,"description":"Unknown IO ID 45"} 
[2026-09-07 16:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927335936001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":994732597873999872}} 
[2026-09-07 16:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779644,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:47] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:47] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:27:49] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:49] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:27:49] local.INFO: IMEI packet received {"connection_id":176314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":176314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:27:50] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b821dc0012cb2a640077515780023002525..."} 
[2026-09-07 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b821dc0012cb2a640077515780023002525..."} 
[2026-09-07 16:27:50] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b821dc0012cb2a640077515780023002525..."} 
[2026-09-07 16:27:50] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:50] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:27:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125113720,"longitude_deg":74.9905472,"latitude_deg":12.511372,"altitude":35,"angle":37,"satellites":37,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"07751578","is_valid_coordinates":true} 
[2026-09-07 16:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 16:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927247616001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778520000,"timestamp_ms":1788778520000,"timestamp_seconds":1788778520,"priority":1,"record_length":96,"hex_timestamp":"000001a07b821dc0"} 
[2026-09-07 16:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 16:27:50] 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-07 16:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:27:50] 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-07 16:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927247616001,"66":26560,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927247616001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:27:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927247616001,"power":26560,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:27:50] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:27:50] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:04] local.INFO: TCP Data received {"connection_id":173565,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b844488012d7bfd0005e5d510000f008925..."} 
[2026-09-07 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b844488012d7bfd0005e5d510000f008925..."} 
[2026-09-07 16:28:04] local.INFO: Processing buffer {"connection_id":173565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b844488012d7bfd0005e5d510000f008925..."} 
[2026-09-07 16:28:04] local.INFO: Packet analysis {"connection_id":173565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:04] local.INFO: Extracted packet for processing {"connection_id":173565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763100416,"raw_latitude":98948368,"longitude_deg":76.3100416,"latitude_deg":9.8948368,"altitude":15,"angle":137,"satellites":37,"speed":30,"hex_longitude":"2d7bfd00","hex_latitude":"05e5d510","is_valid_coordinates":true} 
[2026-09-07 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927335680001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129417328952606720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398965608448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788778661000,"timestamp_ms":1788778661000,"timestamp_seconds":1788778661,"priority":1,"record_length":96,"hex_timestamp":"000001a07b844488"} 
[2026-09-07 16:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:04] 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-07 16:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927335680001,"66":13613,"40":206,"87":13824,"24":30,"16":129417328952606720,"45":8929934398965608448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-07 16:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927335680001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:04] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-07 16:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129417328952606720,"km_value":129417328952606.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398965608448,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927335680001,"power":13613,"unknown_40":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8929934398965608448}} 
[2026-09-07 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":173565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:05] local.INFO: GPS data processed {"connection_id":173565,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:05] local.INFO: Acknowledgment sent {"connection_id":173565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:17] local.INFO: TCP Data received {"connection_id":176312,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:17] local.INFO: Processing buffer {"connection_id":176312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:17] local.INFO: Packet analysis {"connection_id":176312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:17] local.INFO: Extracted packet for processing {"connection_id":176312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:28:17] 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-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:28:17] 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-07 16:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":176312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:17] local.INFO: GPS data processed {"connection_id":176312,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:17] local.INFO: Acknowledgment sent {"connection_id":176312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:17] local.INFO: TCP Data received {"connection_id":176313,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b843cb8012d0dce000706cbe00020001120..."} 
[2026-09-07 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b843cb8012d0dce000706cbe00020001120..."} 
[2026-09-07 16:28:17] local.INFO: Processing buffer {"connection_id":176313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b843cb8012d0dce000706cbe00020001120..."} 
[2026-09-07 16:28:17] local.INFO: Packet analysis {"connection_id":176313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:17] local.INFO: Extracted packet for processing {"connection_id":176313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:17] local.INFO: GPS Element Parsed {"raw_longitude":755879424,"raw_latitude":117885920,"longitude_deg":75.5879424,"latitude_deg":11.788592,"altitude":32,"angle":17,"satellites":32,"speed":6,"hex_longitude":"2d0dce00","hex_latitude":"0706cbe0","is_valid_coordinates":true} 
[2026-09-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927336192001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30548324259987456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994732597874114560,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778659000,"timestamp_ms":1788778659000,"timestamp_seconds":1788778659,"priority":1,"record_length":96,"hex_timestamp":"000001a07b843cb8"} 
[2026-09-07 16:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:28:17] 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-07 16:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927336192001,"66":14428,"219":206,"94":10240,"24":6,"16":30548324259987456,"45":994732597874114560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927336192001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30548324259987456,"km_value":30548324259987.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":994732597874114560,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927336192001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":994732597874114560}} 
[2026-09-07 16:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":176313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:18] local.INFO: GPS data processed {"connection_id":176313,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:18] local.INFO: Acknowledgment sent {"connection_id":176313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:21] local.INFO: TCP Data received {"connection_id":176314,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8273b0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8273b0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:21] local.INFO: Processing buffer {"connection_id":176314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8273b0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:21] local.INFO: Packet analysis {"connection_id":176314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:21] local.INFO: Extracted packet for processing {"connection_id":176314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927301120001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051120128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778542000,"timestamp_ms":1788778542000,"timestamp_seconds":1788778542,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8273b0"} 
[2026-09-07 16:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:28: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-07 16:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927301120001,"66":27843,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051120128},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927301120001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051120128,"description":"Unknown IO ID 44"} 
[2026-09-07 16:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927301120001,"power":27843,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051120128}} 
[2026-09-07 16:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":176314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:21] local.INFO: GPS data processed {"connection_id":176314,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:21] local.INFO: Acknowledgment sent {"connection_id":176314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:22] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:22] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:22] local.INFO: IMEI packet received {"connection_id":173817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":173817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:28] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:28] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:28] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:33] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:33] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:28:33] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:34] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b845810012d7c078005e5c7f8000e009620..."} 
[2026-09-07 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b845810012d7c078005e5c7f8000e009620..."} 
[2026-09-07 16:28:34] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b845810012d7c078005e5c7f8000e009620..."} 
[2026-09-07 16:28:34] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:34] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98945016,"longitude_deg":76.3103104,"latitude_deg":9.8945016,"altitude":14,"angle":150,"satellites":32,"speed":39,"hex_longitude":"2d7c0780","hex_latitude":"05e5c7f8","is_valid_coordinates":true} 
[2026-09-07 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927337216001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129417539406004224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934297261103714304,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778666000,"timestamp_ms":1788778666000,"timestamp_seconds":1788778666,"priority":1,"record_length":96,"hex_timestamp":"000001a07b845810"} 
[2026-09-07 16:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:34] 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-07 16:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927337216001,"66":13472,"40":206,"87":13824,"24":39,"16":129417539406004224,"45":8934297261103714304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-07 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927337216001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:34] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-07 16:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129417539406004224,"km_value":129417539406004.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934297261103714304,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927337216001,"power":13472,"unknown_40":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8934297261103714304}} 
[2026-09-07 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:34] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:34] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:40] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:40] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:40] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:40] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:40] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:40] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:44] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:44] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:44] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:44] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:44] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:44] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:45] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:45] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:28:45] local.INFO: IMEI packet received {"connection_id":176315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:45] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:45] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:28:45] local.INFO: IMEI packet received {"connection_id":176316,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":176316,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:46] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:46] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:28:46] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:46] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16: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-07 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:28:46] 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-07 16:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:46] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:46] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:46] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a07b850008012d0dff00070706000028005720..."} 
[2026-09-07 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":93,"packet_hex":"00000000000000518e01000001a07b850008012d0dff00070706000028005720..."} 
[2026-09-07 16:28:46] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07b850008012d0dff00070706000028005720..."} 
[2026-09-07 16:28:46] local.INFO: Packet analysis {"connection_id":176316,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07b85"} 
[2026-09-07 16:28:46] local.INFO: Extracted packet for processing {"connection_id":176316,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07b85"} 
[2026-09-07 16:28:46] local.INFO: GPS Element Parsed {"raw_longitude":755891968,"raw_latitude":117900800,"longitude_deg":75.5891968,"latitude_deg":11.79008,"altitude":40,"angle":87,"satellites":32,"speed":20,"hex_longitude":"2d0dff00","hex_latitude":"07070600","is_valid_coordinates":true} 
[2026-09-07 16: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":93,"current_offset":40} 
[2026-09-07 16:28:46] 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-07 16:28:46] 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-07 16:28:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:28:46] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 16:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176316,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 16:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 16:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-07 16:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 16:28:46] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 16:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":176316,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 16:28:46] local.ERROR: GPS data processing failed {"connection_id":176316,"error":"No valid data to process"} 
[2026-09-07 16:28:46] local.INFO: Acknowledgment sent {"connection_id":176316,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 16:28:47] local.INFO: TCP Data received {"connection_id":173819,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:47] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:28:47] local.INFO: IMEI packet received {"connection_id":173819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":173819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:28:49] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:49] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:28:49] local.INFO: IMEI packet received {"connection_id":174904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":174904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:28:50] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b82c5b8012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b82c5b8012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:50] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b82c5b8012cb2a680077515b8002300252c..."} 
[2026-09-07 16:28:50] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:50] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306752001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778563000,"timestamp_ms":1788778563000,"timestamp_seconds":1788778563,"priority":1,"record_length":96,"hex_timestamp":"000001a07b82c5b8"} 
[2026-09-07 16: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-07 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:28:50] 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-07 16: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-07 16: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-07 16:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:28: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-07 16:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306752001,"66":27919,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306752001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306752001,"power":27919,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:50] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:50] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:28:51] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8503f0012d0e00c0070705e80027006520..."} 
[2026-09-07 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8503f0012d0e00c0070705e80027006520..."} 
[2026-09-07 16:28:51] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8503f0012d0e00c0070705e80027006520..."} 
[2026-09-07 16:28:51] local.INFO: Packet analysis {"connection_id":176316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:28:51] local.INFO: Extracted packet for processing {"connection_id":176316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:28:51] local.INFO: GPS Element Parsed {"raw_longitude":755892416,"raw_latitude":117900776,"longitude_deg":75.5892416,"latitude_deg":11.7900776,"altitude":39,"angle":101,"satellites":32,"speed":16,"hex_longitude":"2d0e00c0","hex_latitude":"070705e8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927349504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30549531145797632,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1008524871736885248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788778710000,"timestamp_ms":1788778710000,"timestamp_seconds":1788778710,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8503f0"} 
[2026-09-07 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-07 16:28: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-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16: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-07 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-07 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-07 16:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927349504001,"66":14374,"219":206,"94":10240,"24":16,"16":30549531145797632,"45":1008524871736885248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927349504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:28:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:28:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30549531145797632,"km_value":30549531145797.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1008524871736885248,"description":"Unknown IO ID 45"} 
[2026-09-07 16:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927349504001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1008524871736885248}} 
[2026-09-07 16:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":176316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779653,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:28:51] local.INFO: GPS data processed {"connection_id":176316,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:28:51] local.INFO: Acknowledgment sent {"connection_id":176316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:05] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b847750012d7c174005e5a820000e009920..."} 
[2026-09-07 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b847750012d7c174005e5a820000e009920..."} 
[2026-09-07 16:29:05] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b847750012d7c174005e5a820000e009920..."} 
[2026-09-07 16:29:05] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:29:05] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b84"} 
[2026-09-07 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763107136,"raw_latitude":98936864,"longitude_deg":76.3107136,"latitude_deg":9.8936864,"altitude":14,"angle":153,"satellites":32,"speed":46,"hex_longitude":"2d7c1740","hex_latitude":"05e5a820","is_valid_coordinates":true} 
[2026-09-07 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927338496001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129417977492668416,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748358318080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788778674000,"timestamp_ms":1788778674000,"timestamp_seconds":1788778674,"priority":1,"record_length":96,"hex_timestamp":"000001a07b847750"} 
[2026-09-07 16:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:05] 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-07 16:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927338496001,"66":13276,"40":206,"87":13824,"24":46,"16":129417977492668416,"45":8937252748358318080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-09-07 16:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927338496001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-09-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129417977492668416,"km_value":129417977492668.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748358318080,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927338496001,"power":13276,"unknown_40":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8937252748358318080}} 
[2026-09-07 16:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:05] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:05] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:17] local.INFO: TCP Data received {"connection_id":176315,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:17] local.INFO: Processing buffer {"connection_id":176315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:17] local.INFO: Packet analysis {"connection_id":176315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:29:17] local.INFO: Extracted packet for processing {"connection_id":176315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16: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-07 16:29:17] 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-07 16: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":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:29:17] 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-07 16:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":176315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:17] local.INFO: GPS data processed {"connection_id":176315,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:17] local.INFO: Acknowledgment sent {"connection_id":176315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:21] local.INFO: TCP Data received {"connection_id":174904,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b830ff0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b830ff0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:21] local.INFO: Processing buffer {"connection_id":174904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b830ff0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:21] local.INFO: Packet analysis {"connection_id":174904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:29:21] local.INFO: Extracted packet for processing {"connection_id":174904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 16:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927312128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778582000,"timestamp_ms":1788778582000,"timestamp_seconds":1788778582,"priority":1,"record_length":96,"hex_timestamp":"000001a07b830ff0"} 
[2026-09-07 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-07 16:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:29:21] 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-07 16:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927312128001,"66":27767,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927312128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927312128001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":174904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:21] local.INFO: GPS data processed {"connection_id":174904,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:21] local.INFO: Acknowledgment sent {"connection_id":174904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:22] local.INFO: TCP Data received {"connection_id":176316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b850bc0012d0e0300070705480026007320..."} 
[2026-09-07 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b850bc0012d0e0300070705480026007320..."} 
[2026-09-07 16:29:22] local.INFO: Processing buffer {"connection_id":176316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b850bc0012d0e0300070705480026007320..."} 
[2026-09-07 16:29:22] local.INFO: Packet analysis {"connection_id":176316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:22] local.INFO: Extracted packet for processing {"connection_id":176316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117900616,"longitude_deg":75.5892992,"latitude_deg":11.7900616,"altitude":38,"angle":115,"satellites":32,"speed":9,"hex_longitude":"2d0e0300","hex_latitude":"07070548","is_valid_coordinates":true} 
[2026-09-07 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-07 16:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927349760001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30549556915601408,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009017452946122752,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788778712000,"timestamp_ms":1788778712000,"timestamp_seconds":1788778712,"priority":1,"record_length":96,"hex_timestamp":"000001a07b850bc0"} 
[2026-09-07 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-07 16:29: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-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:29: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-07 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-07 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-07 16:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176316,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927349760001,"66":14428,"219":206,"94":10240,"24":9,"16":30549556915601408,"45":1009017452946122752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927349760001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:22] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:29:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30549556915601408,"km_value":30549556915601.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009017452946122752,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927349760001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009017452946122752}} 
[2026-09-07 16:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":176316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:23] local.INFO: GPS data processed {"connection_id":176316,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:23] local.INFO: Acknowledgment sent {"connection_id":176316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:27] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:27] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:27] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:29:28] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:28] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:28] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:29:32] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:32] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:29:32] local.INFO: IMEI packet received {"connection_id":173567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":173567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:29:33] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8580f0012d7c304005e4fea8000e00d228..."} 
[2026-09-07 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8580f0012d7c304005e4fea8000e00d228..."} 
[2026-09-07 16:29:33] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8580f0012d7c304005e4fea8000e00d228..."} 
[2026-09-07 16:29:33] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:33] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":98893480,"longitude_deg":76.3113536,"latitude_deg":9.889348,"altitude":14,"angle":210,"satellites":40,"speed":43,"hex_longitude":"2d7c3040","hex_latitude":"05e4fea8","is_valid_coordinates":true} 
[2026-09-07 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927354624001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129420258120302592,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353182394368,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788778742000,"timestamp_ms":1788778742000,"timestamp_seconds":1788778742,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8580f0"} 
[2026-09-07 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927354624001,"66":13472,"39":206,"87":13824,"24":43,"16":129420258120302592,"45":8954352353182394368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927354624001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:29:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129420258120302592,"km_value":129420258120302.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353182394368,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927354624001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8954352353182394368}} 
[2026-09-07 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:33] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:33] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:40] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:40] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:40] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:29:41] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:41] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:41] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:29:44] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:44] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:44] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:29:45] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:45] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:29:45] local.INFO: IMEI packet received {"connection_id":174905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":174905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:29:46] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:46] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:29:46] local.INFO: IMEI packet received {"connection_id":174906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":174906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:29:46] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:46] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:29:46] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:29:46] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:29:46] 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-07 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:46] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:46] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:46] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b851778012d0e0700070704480026006220..."} 
[2026-09-07 16:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b851778012d0e0700070704480026006220..."} 
[2026-09-07 16:29:46] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b851778012d0e0700070704480026006220..."} 
[2026-09-07 16:29:46] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:46] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":755894016,"raw_latitude":117900360,"longitude_deg":75.5894016,"latitude_deg":11.790036,"altitude":38,"angle":98,"satellites":32,"speed":18,"hex_longitude":"2d0e0700","hex_latitude":"07070448","is_valid_coordinates":true} 
[2026-09-07 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927350272001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30549608455208960,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009650771643680768,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778715000,"timestamp_ms":1788778715000,"timestamp_seconds":1788778715,"priority":1,"record_length":96,"hex_timestamp":"000001a07b851778"} 
[2026-09-07 16:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927350272001,"66":14439,"219":206,"94":10240,"24":18,"16":30549608455208960,"45":1009650771643680768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927350272001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30549608455208960,"km_value":30549608455208.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009650771643680768,"description":"Unknown IO ID 45"} 
[2026-09-07 16:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927350272001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1009650771643680768}} 
[2026-09-07 16:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:46] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:46] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:29:49] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:49] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:29:49] local.INFO: IMEI packet received {"connection_id":176317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:29:50] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:50] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:29:50] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:29:50] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 16: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-07 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:29:50] 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-07 16:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:29:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:29:50] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:29:50] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:17] local.INFO: TCP Data received {"connection_id":174906,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b864828012d0e40400706d438002500b720..."} 
[2026-09-07 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b864828012d0e40400706d438002500b720..."} 
[2026-09-07 16:30:17] local.INFO: Processing buffer {"connection_id":174906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b864828012d0e40400706d438002500b720..."} 
[2026-09-07 16:30:17] local.INFO: Packet analysis {"connection_id":174906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:30:17] local.INFO: Extracted packet for processing {"connection_id":174906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":755908672,"raw_latitude":117888056,"longitude_deg":75.5908672,"latitude_deg":11.7888056,"altitude":37,"angle":183,"satellites":32,"speed":11,"hex_longitude":"2d0e4040","hex_latitude":"0706d438","is_valid_coordinates":true} 
[2026-09-07 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927370240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30550853995724800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026891113964216320,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778793000,"timestamp_ms":1788778793000,"timestamp_seconds":1788778793,"priority":1,"record_length":96,"hex_timestamp":"000001a07b864828"} 
[2026-09-07 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30:17] 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-07 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751541385,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2244939777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":4033871913,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509137371,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":6629524256910790238,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2304442368,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":14,"raw_value":4305448970461642789,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,219,94,24,241,157,16,137,160,48,45,128,38,32,10,66,44,192,220,39,9,1,240,114,227,123,6,4,113,205,156,61,56,239,2,108,7,8,14,40],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0}]} 
[2026-09-07 16:30:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738376727369351168,"timestamp_seconds":2738376727369351.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927370240001,"66":14330,"219":206,"94":10240,"24":11,"16":30550853995724800,"45":1026891113964216320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927370240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30550853995724800,"km_value":30550853995724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026891113964216320,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927370240001,"power":14330,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1026891113964216320}} 
[2026-09-07 16:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":174906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:17] local.INFO: GPS data processed {"connection_id":174906,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:17] local.INFO: Acknowledgment sent {"connection_id":174906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:17] local.INFO: TCP Data received {"connection_id":174905,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:17] local.INFO: Processing buffer {"connection_id":174905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:17] local.INFO: Packet analysis {"connection_id":174905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:30:17] local.INFO: Extracted packet for processing {"connection_id":174905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30:17] 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-07 16:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:30:17] 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-07 16:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":174905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:18] local.INFO: GPS data processed {"connection_id":174905,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:18] local.INFO: Acknowledgment sent {"connection_id":174905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:21] local.INFO: TCP Data received {"connection_id":176317,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:21] local.INFO: Processing buffer {"connection_id":176317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:21] local.INFO: Packet analysis {"connection_id":176317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:30:21] local.INFO: Extracted packet for processing {"connection_id":176317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 16: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-07 16:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:30: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-07 16:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:21] local.INFO: GPS data processed {"connection_id":176317,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:21] local.INFO: Acknowledgment sent {"connection_id":176317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:25] local.INFO: TCP Data received {"connection_id":173567,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b85a030012d7c1d4005e4dfe0000d00d428..."} 
[2026-09-07 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b85a030012d7c1d4005e4dfe0000d00d428..."} 
[2026-09-07 16:30:25] local.INFO: Processing buffer {"connection_id":173567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b85a030012d7c1d4005e4dfe0000d00d428..."} 
[2026-09-07 16:30:25] local.INFO: Packet analysis {"connection_id":173567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:30:25] local.INFO: Extracted packet for processing {"connection_id":173567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763108672,"raw_latitude":98885600,"longitude_deg":76.3108672,"latitude_deg":9.88856,"altitude":13,"angle":212,"satellites":40,"speed":45,"hex_longitude":"2d7c1d40","hex_latitude":"05e4dfe0","is_valid_coordinates":true} 
[2026-09-07 16:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927357952001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129420704796901376,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853646084096,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788778750000,"timestamp_ms":1788778750000,"timestamp_seconds":1788778750,"priority":1,"record_length":96,"hex_timestamp":"000001a07b85a030"} 
[2026-09-07 16:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30: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-07 16:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:25] 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-07 16:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927357952001,"66":13254,"39":206,"87":13824,"24":45,"16":129420704796901376,"45":8948722853646084096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927357952001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129420704796901376,"km_value":129420704796901.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853646084096,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927357952001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8948722853646084096}} 
[2026-09-07 16:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":173567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:25] local.INFO: GPS data processed {"connection_id":173567,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:25] local.INFO: Acknowledgment sent {"connection_id":173567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:32] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:32] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:32] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:30:38] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:38] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:30:38] local.INFO: IMEI packet received {"connection_id":173820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":173820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:39] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b85c358012d7c090005e4c198001000d428..."} 
[2026-09-07 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b85c358012d7c090005e4c198001000d428..."} 
[2026-09-07 16:30:39] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b85c358012d7c090005e4c198001000d428..."} 
[2026-09-07 16:30:39] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:30:39] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98877848,"longitude_deg":76.3103488,"latitude_deg":9.8877848,"altitude":16,"angle":212,"satellites":40,"speed":44,"hex_longitude":"2d7c0900","hex_latitude":"05e4c198","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927360000001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129421155768467456,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943374829086564352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788778759000,"timestamp_ms":1788778759000,"timestamp_seconds":1788778759,"priority":1,"record_length":96,"hex_timestamp":"000001a07b85c358"} 
[2026-09-07 16: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-07 16:30: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-07 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:39] 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-07 16: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-07 16: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-07 16:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927360000001,"66":13091,"39":206,"87":13824,"24":44,"16":129421155768467456,"45":8943374829086564352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927360000001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:30:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129421155768467456,"km_value":129421155768467.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943374829086564352,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927360000001,"power":13091,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8943374829086564352}} 
[2026-09-07 16:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:39] local.INFO: GPS data processed {"connection_id":173820,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:39] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:40] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:40] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:40] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:30:40] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:40] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:40] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:30:41] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:41] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:41] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:44] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:44] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:44] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:30:45] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:45] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:45] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:30:45] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:45] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:30:45] local.INFO: IMEI packet received {"connection_id":173568,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173568,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:46] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b867af0012d0e3a400706b610002100c320..."} 
[2026-09-07 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b867af0012d0e3a400706b610002100c320..."} 
[2026-09-07 16:30:46] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b867af0012d0e3a400706b610002100c320..."} 
[2026-09-07 16:30:46] local.INFO: Packet analysis {"connection_id":173568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:30:46] local.INFO: Extracted packet for processing {"connection_id":173568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755907136,"raw_latitude":117880336,"longitude_deg":75.5907136,"latitude_deg":11.7880336,"altitude":33,"angle":195,"satellites":32,"speed":24,"hex_longitude":"2d0e3a40","hex_latitude":"0706b610","is_valid_coordinates":true} 
[2026-09-07 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927371008001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30551236247814144,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026891113963993088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778806000,"timestamp_ms":1788778806000,"timestamp_seconds":1788778806,"priority":1,"record_length":96,"hex_timestamp":"000001a07b867af0"} 
[2026-09-07 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:46] 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-07 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927371008001,"66":14428,"219":206,"94":10240,"24":24,"16":30551236247814144,"45":1026891113963993088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927371008001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30551236247814144,"km_value":30551236247814.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026891113963993088,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927371008001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":1026891113963993088}} 
[2026-09-07 16:30:46] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:46] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:30:46] local.INFO: Packet analysis {"connection_id":173821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:30:46] local.INFO: Extracted packet for processing {"connection_id":173821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:30:46] 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-07 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":173821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:46] local.INFO: GPS data processed {"connection_id":173821,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:46] local.INFO: Acknowledgment sent {"connection_id":173821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":173568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:46] local.INFO: GPS data processed {"connection_id":173568,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:46] local.INFO: Acknowledgment sent {"connection_id":173568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:30:49] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:49] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:30:49] local.INFO: IMEI packet received {"connection_id":174907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:30:50] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:50] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:30:50] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:30:50] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 16:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:30:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:30:50] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:30:50] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:11] local.INFO: TCP Data received {"connection_id":173820,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b85e298012d7bf4c005e4a248001200d428..."} 
[2026-09-07 16:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b85e298012d7bf4c005e4a248001200d428..."} 
[2026-09-07 16:31:11] local.INFO: Processing buffer {"connection_id":173820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b85e298012d7bf4c005e4a248001200d428..."} 
[2026-09-07 16:31:11] local.INFO: Packet analysis {"connection_id":173820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:31:11] local.INFO: Extracted packet for processing {"connection_id":173820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b85"} 
[2026-09-07 16:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":98869832,"longitude_deg":76.3098304,"latitude_deg":9.8869832,"altitude":18,"angle":212,"satellites":40,"speed":48,"hex_longitude":"2d7bf4c0","hex_latitude":"05e4a248","is_valid_coordinates":true} 
[2026-09-07 16:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927362304001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129421615329968128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960806189056,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788778767000,"timestamp_ms":1788778767000,"timestamp_seconds":1788778767,"priority":1,"record_length":96,"hex_timestamp":"000001a07b85e298"} 
[2026-09-07 16: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-07 16:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":35,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927362304001,"66":13319,"39":206,"87":13824,"24":48,"16":129421615329968128,"45":8937674960806189056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927362304001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:31:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129421615329968128,"km_value":129421615329968.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960806189056,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927362304001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8937674960806189056}} 
[2026-09-07 16:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":173820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:11] local.INFO: GPS data processed {"connection_id":173820,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:11] local.INFO: Acknowledgment sent {"connection_id":173820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:17] local.INFO: TCP Data received {"connection_id":173568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b869e18012d0e35400706a3f0001c00b520..."} 
[2026-09-07 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b869e18012d0e35400706a3f0001c00b520..."} 
[2026-09-07 16:31:17] local.INFO: Processing buffer {"connection_id":173568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b869e18012d0e35400706a3f0001c00b520..."} 
[2026-09-07 16:31:17] local.INFO: Packet analysis {"connection_id":173568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:17] local.INFO: Extracted packet for processing {"connection_id":173568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":755905856,"raw_latitude":117875696,"longitude_deg":75.5905856,"latitude_deg":11.7875696,"altitude":28,"angle":181,"satellites":32,"speed":16,"hex_longitude":"2d0e3540","hex_latitude":"0706a3f0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927374336001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30551468176048128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025202264101752832,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778815000,"timestamp_ms":1788778815000,"timestamp_seconds":1788778815,"priority":1,"record_length":96,"hex_timestamp":"000001a07b869e18"} 
[2026-09-07 16: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-07 16:31:17] 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-07 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173568,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927374336001,"66":14407,"219":206,"94":10240,"24":16,"16":30551468176048128,"45":1025202264101752832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927374336001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30551468176048128,"km_value":30551468176048.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025202264101752832,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927374336001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":1025202264101752832}} 
[2026-09-07 16:31:17] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:31:17] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b826be0012d196500071ff0200040011f1e..."} 
[2026-09-07 16:31:17] local.INFO: Packet analysis {"connection_id":173821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:31:17] local.INFO: Extracted packet for processing {"connection_id":173821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b82"} 
[2026-09-07 16:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":30,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927229184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778540000,"timestamp_ms":1788778540000,"timestamp_seconds":1788778540,"priority":1,"record_length":96,"hex_timestamp":"000001a07b826be0"} 
[2026-09-07 16: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-07 16:31:17] 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-07 16:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:31:17] 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-07 16:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927229184001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927229184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927229184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":173568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:17] local.INFO: GPS data processed {"connection_id":173568,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:17] local.INFO: Acknowledgment sent {"connection_id":173568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":173821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:17] local.INFO: GPS data processed {"connection_id":173821,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:17] local.INFO: Acknowledgment sent {"connection_id":173821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:21] local.INFO: TCP Data received {"connection_id":174907,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:21] local.INFO: Processing buffer {"connection_id":174907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:21] local.INFO: Packet analysis {"connection_id":174907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:21] local.INFO: Extracted packet for processing {"connection_id":174907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 16: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-07 16:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31: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-07 16:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":174907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:21] local.INFO: GPS data processed {"connection_id":174907,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:21] local.INFO: Acknowledgment sent {"connection_id":174907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:29] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:29] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:29] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:31:33] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:33] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:31:33] local.INFO: IMEI packet received {"connection_id":173569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":173569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:31:35] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8601d8012d7be04005e48340001400d529..."} 
[2026-09-07 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8601d8012d7be04005e48340001400d529..."} 
[2026-09-07 16:31:35] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8601d8012d7be04005e48340001400d529..."} 
[2026-09-07 16:31:35] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:35] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98861888,"longitude_deg":76.3093056,"latitude_deg":9.8861888,"altitude":20,"angle":213,"satellites":41,"speed":47,"hex_longitude":"2d7be040","hex_latitude":"05e48340","is_valid_coordinates":true} 
[2026-09-07 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927364352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129422074891468800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092525746176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788778775000,"timestamp_ms":1788778775000,"timestamp_seconds":1788778775,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8601d8"} 
[2026-09-07 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 16:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3399090176,"corrected_to":0} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2236491777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2418433060036945664,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2147869983,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941336,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844134912,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":178,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.WARNING: Large IO value detected {"io_id":133,"raw_value":4787327698764824581,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,39,87,24,241,157,16,204,160,195,45,193,40,10,66,203,64,223,13,128,1,240,227,123,229,4,113,205,12,74,68,216,239,51,2,5,14,9,178,133],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":3399090176,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-09-07 16:31:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297269960949628928,"timestamp_seconds":1297269960949629.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927364352001,"66":13363,"39":206,"87":13824,"24":47,"16":129422074891468800,"45":8931975092525746176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927364352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:31:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129422074891468800,"km_value":129422074891468.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092525746176,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927364352001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8931975092525746176}} 
[2026-09-07 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:35] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:35] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:44] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:44] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:44] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:31:45] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:31:45] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:45] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:45] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:31:45] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:45] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:31:49] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:49] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:31:49] local.INFO: IMEI packet received {"connection_id":176319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":176319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:31:50] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:50] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:50] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:50] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 16: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-07 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31:50] 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-07 16:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:50] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:50] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:50] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:50] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:31:50] local.INFO: IMEI packet received {"connection_id":173570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:31:50] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:50] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:31:50] local.INFO: IMEI packet received {"connection_id":173571,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173571,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:31:51] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:31:51] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:31:51] local.INFO: Packet analysis {"connection_id":173570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:31:51] local.INFO: Extracted packet for processing {"connection_id":173570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31: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-07 16:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:31:51] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:31:51] 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-07 16:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:51] local.INFO: GPS data processed {"connection_id":173570,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:51] local.INFO: Acknowledgment sent {"connection_id":173570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:51] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b86e850012d0e3280070687c8001f00c220..."} 
[2026-09-07 16:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b86e850012d0e3280070687c8001f00c220..."} 
[2026-09-07 16:31:51] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b86e850012d0e3280070687c8001f00c220..."} 
[2026-09-07 16:31:51] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:51] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755905152,"raw_latitude":117868488,"longitude_deg":75.5905152,"latitude_deg":11.7868488,"altitude":31,"angle":194,"satellites":32,"speed":18,"hex_longitude":"2d0e3280","hex_latitude":"070687c8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927376640001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30551824658333696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023794889217011712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788778834000,"timestamp_ms":1788778834000,"timestamp_seconds":1788778834,"priority":1,"record_length":96,"hex_timestamp":"000001a07b86e850"} 
[2026-09-07 16: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-07 16: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-07 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:51] 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-07 16: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-07 16: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-07 16:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927376640001,"66":14461,"219":206,"94":10240,"24":18,"16":30551824658333696,"45":1023794889217011712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927376640001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30551824658333696,"km_value":30551824658333.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023794889217011712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927376640001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":1023794889217011712}} 
[2026-09-07 16:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:51] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:51] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:31:55] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:55] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8317c0012cb2a680077515b8002300252c..."} 
[2026-09-07 16:31:55] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:55] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b83"} 
[2026-09-07 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125113784,"longitude_deg":74.9905536,"latitude_deg":12.5113784,"altitude":35,"angle":37,"satellites":44,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"077515b8","is_valid_coordinates":true} 
[2026-09-07 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-07 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927316992001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788778584000,"timestamp_ms":1788778584000,"timestamp_seconds":1788778584,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8317c0"} 
[2026-09-07 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-07 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:31:55] 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-07 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927316992001,"66":27539,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927316992001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:31:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927316992001,"power":27539,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:31:55] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:31:55] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:08] local.INFO: TCP Data received {"connection_id":173569,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b861d30012d7bcd0005e46630001600d429..."} 
[2026-09-07 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b861d30012d7bcd0005e46630001600d429..."} 
[2026-09-07 16:32:08] local.INFO: Processing buffer {"connection_id":173569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b861d30012d7bcd0005e46630001600d429..."} 
[2026-09-07 16:32:08] local.INFO: Packet analysis {"connection_id":173569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:32:08] local.INFO: Extracted packet for processing {"connection_id":173569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763088128,"raw_latitude":98854448,"longitude_deg":76.3088128,"latitude_deg":9.8854448,"altitude":22,"angle":212,"satellites":41,"speed":53,"hex_longitude":"2d7bcd00","hex_latitude":"05e46630","is_valid_coordinates":true} 
[2026-09-07 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927366400001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129422504388198400,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926204855501144064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788778782000,"timestamp_ms":1788778782000,"timestamp_seconds":1788778782,"priority":1,"record_length":96,"hex_timestamp":"000001a07b861d30"} 
[2026-09-07 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:08] 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-07 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":173569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":173569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927366400001,"66":13472,"39":206,"87":13824,"24":53,"16":129422504388198400,"45":8926204855501144064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927366400001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129422504388198400,"km_value":129422504388198.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926204855501144064,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927366400001,"power":13472,"unknown_39":206,"unknown_87":13824,"ignition":53,"odometer":null,"unknown_45":8926204855501144064}} 
[2026-09-07 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":173569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:08] local.INFO: GPS data processed {"connection_id":173569,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:08] local.INFO: Acknowledgment sent {"connection_id":173569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:22] local.INFO: TCP Data received {"connection_id":173570,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:22] local.INFO: Processing buffer {"connection_id":173570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:22] local.INFO: Packet analysis {"connection_id":173570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:22] local.INFO: Extracted packet for processing {"connection_id":173570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32: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-07 16:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:32:22] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:32:22] 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-07 16:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:23] local.INFO: GPS data processed {"connection_id":173570,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:23] local.INFO: Acknowledgment sent {"connection_id":173570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:23] local.INFO: TCP Data received {"connection_id":173571,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b886338012d0e030007068dc0001e00da21..."} 
[2026-09-07 16:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b886338012d0e030007068dc0001e00da21..."} 
[2026-09-07 16:32:23] local.INFO: Processing buffer {"connection_id":173571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b886338012d0e030007068dc0001e00da21..."} 
[2026-09-07 16:32:23] local.INFO: Packet analysis {"connection_id":173571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:32:23] local.INFO: Extracted packet for processing {"connection_id":173571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117870016,"longitude_deg":75.5892992,"latitude_deg":11.7870016,"altitude":30,"angle":218,"satellites":33,"speed":7,"hex_longitude":"2d0e0300","hex_latitude":"07068dc0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927406080001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30552524738002944,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009861877868412928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788778931000,"timestamp_ms":1788778931000,"timestamp_seconds":1788778931,"priority":1,"record_length":96,"hex_timestamp":"000001a07b886338"} 
[2026-09-07 16: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-07 16:32: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-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173571,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927406080001,"66":14450,"219":206,"94":10240,"24":7,"16":30552524738002944,"45":1009861877868412928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927406080001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30552524738002944,"km_value":30552524738002.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009861877868412928,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927406080001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009861877868412928}} 
[2026-09-07 16:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:23] local.INFO: GPS data processed {"connection_id":173571,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:23] local.INFO: Acknowledgment sent {"connection_id":173571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:25] local.INFO: TCP Data received {"connection_id":176319,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:25] local.INFO: Processing buffer {"connection_id":176319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:25] local.INFO: Packet analysis {"connection_id":176319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:25] local.INFO: Extracted packet for processing {"connection_id":176319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:32:25] 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-07 16:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":176319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:25] local.INFO: GPS data processed {"connection_id":176319,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:25] local.INFO: Acknowledgment sent {"connection_id":176319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:28] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:28] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:28] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:32:33] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:33] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:32:33] local.INFO: IMEI packet received {"connection_id":174909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":174909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:36] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b863888012d7bb84005e445f8001500d529..."} 
[2026-09-07 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b863888012d7bb84005e445f8001500d529..."} 
[2026-09-07 16:32:36] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b863888012d7bb84005e445f8001500d529..."} 
[2026-09-07 16:32:36] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:32:36] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763082816,"raw_latitude":98846200,"longitude_deg":76.3082816,"latitude_deg":9.88462,"altitude":21,"angle":213,"satellites":41,"speed":54,"hex_longitude":"2d7bb840","hex_latitude":"05e445f8","is_valid_coordinates":true} 
[2026-09-07 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927368192001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129422981129568256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920786462197559296,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788778789000,"timestamp_ms":1788778789000,"timestamp_seconds":1788778789,"priority":1,"record_length":96,"hex_timestamp":"000001a07b863888"} 
[2026-09-07 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:36] 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-07 16:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927368192001,"66":13276,"39":206,"87":13824,"24":54,"16":129422981129568256,"45":8920786462197559296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927368192001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:32:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129422981129568256,"km_value":129422981129568.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920786462197559296,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927368192001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8920786462197559296}} 
[2026-09-07 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:36] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:36] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:40] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:32:40] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:40] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:40] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:32:40] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:40] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:41] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:41] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:32:41] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:42] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b886720012d0e02c007068d28001e00c420..."} 
[2026-09-07 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b886720012d0e02c007068d28001e00c420..."} 
[2026-09-07 16:32:42] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b886720012d0e02c007068d28001e00c420..."} 
[2026-09-07 16:32:42] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:32:42] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":755892928,"raw_latitude":117869864,"longitude_deg":75.5892928,"latitude_deg":11.7869864,"altitude":30,"angle":196,"satellites":32,"speed":7,"hex_longitude":"2d0e02c0","hex_latitude":"07068d28","is_valid_coordinates":true} 
[2026-09-07 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927406336001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30552533327937536,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009650771635847168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788778932000,"timestamp_ms":1788778932000,"timestamp_seconds":1788778932,"priority":1,"record_length":96,"hex_timestamp":"000001a07b886720"} 
[2026-09-07 16:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927406336001,"66":14450,"219":206,"94":10240,"24":7,"16":30552533327937536,"45":1009650771635847168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927406336001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:32:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30552533327937536,"km_value":30552533327937.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009650771635847168,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927406336001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009650771635847168}} 
[2026-09-07 16:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:42] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:42] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:45] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:45] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:32:45] local.INFO: IMEI packet received {"connection_id":174910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:46] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:46] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:32:46] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:46] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:32:46] 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-07 16:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:46] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:46] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:32:49] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:49] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:49] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:32:54] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:54] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:32:54] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:32:55] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:55] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:32:55] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:55] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:32:55] 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-07 16:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:32:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:32:55] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:32:55] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:00] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:00] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:00] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:00] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:33:00] 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-07 16:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:00] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:00] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:10] local.INFO: TCP Data received {"connection_id":174909,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8653e0012d7ba30005e42610001400d529..."} 
[2026-09-07 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8653e0012d7ba30005e42610001400d529..."} 
[2026-09-07 16:33:10] local.INFO: Processing buffer {"connection_id":174909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8653e0012d7ba30005e42610001400d529..."} 
[2026-09-07 16:33:10] local.INFO: Packet analysis {"connection_id":174909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:33:10] local.INFO: Extracted packet for processing {"connection_id":174909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763077376,"raw_latitude":98838032,"longitude_deg":76.3077376,"latitude_deg":9.8838032,"altitude":20,"angle":213,"satellites":41,"speed":56,"hex_longitude":"2d7ba300","hex_latitude":"05e42610","is_valid_coordinates":true} 
[2026-09-07 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927369984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129423453575970816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914945856428701696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788778796000,"timestamp_ms":1788778796000,"timestamp_seconds":1788778796,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8653e0"} 
[2026-09-07 16:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:33: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-07 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":174909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":174909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927369984001,"66":13656,"39":206,"87":13824,"24":56,"16":129423453575970816,"45":8914945856428701696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-09-07 16:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927369984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 16:33:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-09-07 16:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129423453575970816,"km_value":129423453575970.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914945856428701696,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927369984001,"power":13656,"unknown_39":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":8914945856428701696}} 
[2026-09-07 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":174909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:10] local.INFO: GPS data processed {"connection_id":174909,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:10] local.INFO: Acknowledgment sent {"connection_id":174909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:13] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b887e90012d0e030007068cf0001e002520..."} 
[2026-09-07 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b887e90012d0e030007068cf0001e002520..."} 
[2026-09-07 16:33:13] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b887e90012d0e030007068cf0001e002520..."} 
[2026-09-07 16:33:13] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:33:13] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b88"} 
[2026-09-07 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":755892992,"raw_latitude":117869808,"longitude_deg":75.5892992,"latitude_deg":11.7869808,"altitude":30,"angle":37,"satellites":32,"speed":2,"hex_longitude":"2d0e0300","hex_latitude":"07068cf0","is_valid_coordinates":true} 
[2026-09-07 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927406592001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30552550507806720,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009580402891630592,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788778938000,"timestamp_ms":1788778938000,"timestamp_seconds":1788778938,"priority":1,"record_length":96,"hex_timestamp":"000001a07b887e90"} 
[2026-09-07 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927406592001,"66":14407,"219":206,"94":10240,"24":2,"16":30552550507806720,"45":1009580402891630592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927406592001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:33:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30552550507806720,"km_value":30552550507806.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009580402891630592,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927406592001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1009580402891630592}} 
[2026-09-07 16:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:14] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:14] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:17] local.INFO: TCP Data received {"connection_id":174910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:17] local.INFO: Processing buffer {"connection_id":174910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:17] local.INFO: Packet analysis {"connection_id":174910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:17] local.INFO: Extracted packet for processing {"connection_id":174910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:33:17] 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-07 16:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:33:17] 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-07 16:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":174910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:17] local.INFO: GPS data processed {"connection_id":174910,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:17] local.INFO: Acknowledgment sent {"connection_id":174910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:27] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:27] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:27] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:33:32] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:32] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:33:32] local.INFO: IMEI packet received {"connection_id":176320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:33:34] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b866f38012d7b8e0005e405c8001300d529..."} 
[2026-09-07 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b866f38012d7b8e0005e405c8001300d529..."} 
[2026-09-07 16:33:34] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b866f38012d7b8e0005e405c8001300d529..."} 
[2026-09-07 16:33:34] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:33:34] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b86"} 
[2026-09-07 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763072000,"raw_latitude":98829768,"longitude_deg":76.3072,"latitude_deg":9.8829768,"altitude":19,"angle":213,"satellites":41,"speed":55,"hex_longitude":"2d7b8e00","hex_latitude":"05e405c8","is_valid_coordinates":true} 
[2026-09-07 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927371776001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129423930317340672,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908964513171509248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788778803000,"timestamp_ms":1788778803000,"timestamp_seconds":1788778803,"priority":1,"record_length":96,"hex_timestamp":"000001a07b866f38"} 
[2026-09-07 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:34] 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-07 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927371776001,"66":13374,"110":206,"88":20224,"24":55,"16":129423930317340672,"45":8908964513171509248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-09-07 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927371776001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 16:33:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-09-07 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129423930317340672,"km_value":129423930317340.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908964513171509248,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927371776001,"power":13374,"unknown_110":206,"unknown_88":20224,"ignition":55,"odometer":null,"unknown_45":8908964513171509248}} 
[2026-09-07 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:34] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:34] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:40] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:40] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:40] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:33:41] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:33:41] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:41] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:33:44] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:44] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:44] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:33:45] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:45] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:33:45] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:33:45] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:45] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:33:45] local.INFO: IMEI packet received {"connection_id":173573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":173573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:33:45] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8974a8012d0e29c0070682580021006321..."} 
[2026-09-07 16:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8974a8012d0e29c0070682580021006321..."} 
[2026-09-07 16:33:45] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8974a8012d0e29c0070682580021006321..."} 
[2026-09-07 16:33:45] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:33:45] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:33:45] local.INFO: GPS Element Parsed {"raw_longitude":755902912,"raw_latitude":117867096,"longitude_deg":75.5902912,"latitude_deg":11.7867096,"altitude":33,"angle":99,"satellites":33,"speed":10,"hex_longitude":"2d0e29c0","hex_latitude":"07068258","is_valid_coordinates":true} 
[2026-09-07 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927423488001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30553121738457088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019572764564246528,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788779001000,"timestamp_ms":1788779001000,"timestamp_seconds":1788779001,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8974a8"} 
[2026-09-07 16:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:33:45] 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-07 16:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927423488001,"66":14428,"219":206,"94":10240,"24":10,"16":30553121738457088,"45":1019572764564246528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927423488001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30553121738457088,"km_value":30553121738457.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019572764564246528,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927423488001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1019572764564246528}} 
[2026-09-07 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:46] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:46] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:46] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:46] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:33:46] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:46] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 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-07 16:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:33:46] 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-07 16:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:46] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:46] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:33:49] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:49] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:33:49] local.INFO: IMEI packet received {"connection_id":173574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":173574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:33:50] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:50] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:33:50] local.INFO: Packet analysis {"connection_id":173574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:50] local.INFO: Extracted packet for processing {"connection_id":173574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:33:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:33:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":173574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:33:50] local.INFO: GPS data processed {"connection_id":173574,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:33:50] local.INFO: Acknowledgment sent {"connection_id":173574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:02] local.INFO: TCP Data received {"connection_id":174911,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:34:02] local.INFO: Processing buffer {"connection_id":174911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:34:02] local.INFO: IMEI packet received {"connection_id":174911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":174911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:34:07] local.INFO: TCP Data received {"connection_id":176320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b895568012d7b340005e38068000800d329..."} 
[2026-09-07 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b895568012d7b340005e38068000800d329..."} 
[2026-09-07 16:34:07] local.INFO: Processing buffer {"connection_id":176320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b895568012d7b340005e38068000800d329..."} 
[2026-09-07 16:34:07] local.INFO: Packet analysis {"connection_id":176320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:07] local.INFO: Extracted packet for processing {"connection_id":176320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763048960,"raw_latitude":98795624,"longitude_deg":76.304896,"latitude_deg":9.8795624,"altitude":8,"angle":211,"satellites":41,"speed":10,"hex_longitude":"2d7b3400","hex_latitude":"05e38068","is_valid_coordinates":true} 
[2026-09-07 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927416832001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129425936067067904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880957752979120128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:07] 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-07 16:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788778993000,"timestamp_ms":1788778993000,"timestamp_seconds":1788778993,"priority":1,"record_length":96,"hex_timestamp":"000001a07b895568"} 
[2026-09-07 16:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:07] 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-07 16:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":176320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":176320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":176320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927416832001,"66":13276,"208":206,"85":15104,"24":10,"16":129425936067067904,"45":8880957752979120128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927416832001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129425936067067904,"km_value":129425936067067.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880957752979120128,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927416832001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8880957752979120128}} 
[2026-09-07 16:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":176320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:07] local.INFO: GPS data processed {"connection_id":176320,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:07] local.INFO: Acknowledgment sent {"connection_id":176320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:17] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b897890012d0e2ac0070682480022005621..."} 
[2026-09-07 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b897890012d0e2ac0070682480022005621..."} 
[2026-09-07 16:34:17] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b897890012d0e2ac0070682480022005621..."} 
[2026-09-07 16:34:17] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:17] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755903168,"raw_latitude":117867080,"longitude_deg":75.5903168,"latitude_deg":11.786708,"altitude":34,"angle":86,"satellites":33,"speed":10,"hex_longitude":"2d0e2ac0","hex_latitude":"07068248","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927424256001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30553134623358976,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020557926982637568,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779002000,"timestamp_ms":1788779002000,"timestamp_seconds":1788779002,"priority":1,"record_length":96,"hex_timestamp":"000001a07b897890"} 
[2026-09-07 16: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-07 16:34:17] 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-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927424256001,"66":14428,"219":206,"94":10240,"24":10,"16":30553134623358976,"45":1020557926982637568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927424256001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30553134623358976,"km_value":30553134623358.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020557926982637568,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927424256001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1020557926982637568}} 
[2026-09-07 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779696,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:17] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:17] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:17] local.INFO: TCP Data received {"connection_id":173573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:17] local.INFO: Processing buffer {"connection_id":173573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:17] local.INFO: Packet analysis {"connection_id":173573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:17] local.INFO: Extracted packet for processing {"connection_id":173573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:34:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:34:17] 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-07 16:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":173573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:17] local.INFO: GPS data processed {"connection_id":173573,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:17] local.INFO: Acknowledgment sent {"connection_id":173573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:21] local.INFO: TCP Data received {"connection_id":173574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:21] local.INFO: Processing buffer {"connection_id":173574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:21] local.INFO: Packet analysis {"connection_id":173574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:21] local.INFO: Extracted packet for processing {"connection_id":173574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":173574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:21] local.INFO: GPS data processed {"connection_id":173574,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:21] local.INFO: Acknowledgment sent {"connection_id":173574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:32] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:32] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:32] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:34:38] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:38] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:34:38] local.INFO: IMEI packet received {"connection_id":174912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":174912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:40] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b89a770012d7b26c005e36bd8000900d329..."} 
[2026-09-07 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b89a770012d7b26c005e36bd8000900d329..."} 
[2026-09-07 16:34:40] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b89a770012d7b26c005e36bd8000900d329..."} 
[2026-09-07 16:34:40] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:40] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763045568,"raw_latitude":98790360,"longitude_deg":76.3045568,"latitude_deg":9.879036,"altitude":9,"angle":211,"satellites":41,"speed":10,"hex_longitude":"2d7b26c0","hex_latitude":"05e36bd8","is_valid_coordinates":true} 
[2026-09-07 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927422208001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129426236714778624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877720790745769984,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:40] 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-07 16:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788779014000,"timestamp_ms":1788779014000,"timestamp_seconds":1788779014,"priority":1,"record_length":96,"hex_timestamp":"000001a07b89a770"} 
[2026-09-07 16:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927422208001,"66":13624,"208":206,"85":15104,"24":10,"16":129426236714778624,"45":8877720790745769984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927422208001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129426236714778624,"km_value":129426236714778.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877720790745769984,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927422208001,"power":13624,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8877720790745769984}} 
[2026-09-07 16:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:40] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:40] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:41] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:41] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:41] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:34:41] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: IMEI packet received {"connection_id":173575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":173575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:34:41] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:41] local.INFO: IMEI packet received {"connection_id":173575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":173575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:42] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:42] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:42] local.INFO: IMEI packet received {"connection_id":173575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":173575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:44] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:44] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:44] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:34:45] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:45] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:34:45] local.INFO: IMEI packet received {"connection_id":173575,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":173575,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:45] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:45] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:34:45] local.INFO: IMEI packet received {"connection_id":173576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":173576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:46] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a7e48012d0e3e800706d3400026016221..."} 
[2026-09-07 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a7e48012d0e3e800706d3400026016221..."} 
[2026-09-07 16:34:46] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a7e48012d0e3e800706d3400026016221..."} 
[2026-09-07 16:34:46] local.INFO: Packet analysis {"connection_id":173575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:34:46] local.INFO: Extracted packet for processing {"connection_id":173575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117887808,"longitude_deg":75.5908224,"latitude_deg":11.7887808,"altitude":38,"angle":354,"satellites":33,"speed":6,"hex_longitude":"2d0e3e80","hex_latitude":"0706d340","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927440384001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30554221250084864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532754548736,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779069000,"timestamp_ms":1788779069000,"timestamp_seconds":1788779069,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a7e48"} 
[2026-09-07 16: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-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927440384001,"66":14439,"219":206,"94":10240,"24":6,"16":30554221250084864,"45":1026398532754548736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927440384001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30554221250084864,"km_value":30554221250084.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532754548736,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927440384001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1026398532754548736}} 
[2026-09-07 16:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":173575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:46] local.INFO: GPS data processed {"connection_id":173575,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:46] local.INFO: Acknowledgment sent {"connection_id":173575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:46] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:46] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:34:46] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:46] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:34:46] 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-07 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:46] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:46] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:46] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a8a00012d0e3e800706d5500025014d21..."} 
[2026-09-07 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a8a00012d0e3e800706d5500025014d21..."} 
[2026-09-07 16:34:46] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a8a00012d0e3e800706d5500025014d21..."} 
[2026-09-07 16:34:46] local.INFO: Packet analysis {"connection_id":173575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:34:46] local.INFO: Extracted packet for processing {"connection_id":173575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":117888336,"longitude_deg":75.5908224,"latitude_deg":11.7888336,"altitude":37,"angle":333,"satellites":33,"speed":1,"hex_longitude":"2d0e3e80","hex_latitude":"0706d550","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927441664001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30554247019888640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532754685952,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779072000,"timestamp_ms":1788779072000,"timestamp_seconds":1788779072,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a8a00"} 
[2026-09-07 16: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-07 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927441664001,"66":14450,"219":206,"94":10240,"24":1,"16":30554247019888640,"45":1026398532754685952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927441664001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30554247019888640,"km_value":30554247019888.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532754685952,"description":"Unknown IO ID 45"} 
[2026-09-07 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927441664001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1026398532754685952}} 
[2026-09-07 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":173575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:47] local.INFO: GPS data processed {"connection_id":173575,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:47] local.INFO: Acknowledgment sent {"connection_id":173575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:34:49] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:49] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:34:49] local.INFO: IMEI packet received {"connection_id":176321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":176321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:34:50] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:50] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:34:50] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:50] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:34:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:34:50] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:34:50] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:13] local.INFO: TCP Data received {"connection_id":174912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b89f978012d7b1a8005e356e0000a00cd26..."} 
[2026-09-07 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b89f978012d7b1a8005e356e0000a00cd26..."} 
[2026-09-07 16:35:13] local.INFO: Processing buffer {"connection_id":174912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b89f978012d7b1a8005e356e0000a00cd26..."} 
[2026-09-07 16:35:13] local.INFO: Packet analysis {"connection_id":174912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:35:13] local.INFO: Extracted packet for processing {"connection_id":174912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b89"} 
[2026-09-07 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98784992,"longitude_deg":76.3042432,"latitude_deg":9.8784992,"altitude":10,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d7b1a80","hex_latitude":"05e356e0","is_valid_coordinates":true} 
[2026-09-07 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927427584001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129426541657456640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873991247303006208,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35: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-07 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788779035000,"timestamp_ms":1788779035000,"timestamp_seconds":1788779035,"priority":1,"record_length":96,"hex_timestamp":"000001a07b89f978"} 
[2026-09-07 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:13] 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-07 16:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":174912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":174912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":174912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927427584001,"66":13580,"208":206,"85":15104,"24":0,"16":129426541657456640,"45":8873991247303006208},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927427584001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129426541657456640,"km_value":129426541657456.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873991247303006208,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927427584001,"power":13580,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8873991247303006208}} 
[2026-09-07 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":174912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:13] local.INFO: GPS data processed {"connection_id":174912,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:13] local.INFO: Acknowledgment sent {"connection_id":174912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:17] local.INFO: TCP Data received {"connection_id":173576,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:17] local.INFO: Processing buffer {"connection_id":173576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:17] local.INFO: Packet analysis {"connection_id":173576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:17] local.INFO: Extracted packet for processing {"connection_id":173576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:35:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:35:17] 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-07 16:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":173576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:17] local.INFO: GPS data processed {"connection_id":173576,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:17] local.INFO: Acknowledgment sent {"connection_id":173576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:17] local.INFO: TCP Data received {"connection_id":173575,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a99a0012d0e3e000706d6680025015921..."} 
[2026-09-07 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a99a0012d0e3e000706d6680025015921..."} 
[2026-09-07 16:35:17] local.INFO: Processing buffer {"connection_id":173575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a99a0012d0e3e000706d6680025015921..."} 
[2026-09-07 16:35:17] local.INFO: Packet analysis {"connection_id":173575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:35:17] local.INFO: Extracted packet for processing {"connection_id":173575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":755908096,"raw_latitude":117888616,"longitude_deg":75.5908096,"latitude_deg":11.7888616,"altitude":37,"angle":345,"satellites":33,"speed":3,"hex_longitude":"2d0e3e00","hex_latitude":"0706d668","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927442432001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30554264199757824,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026398532754821120,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779076000,"timestamp_ms":1788779076000,"timestamp_seconds":1788779076,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a99a0"} 
[2026-09-07 16: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-07 16:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173575,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927442432001,"66":13656,"219":206,"94":10240,"24":3,"16":30554264199757824,"45":1026398532754821120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927442432001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30554264199757824,"km_value":30554264199757.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026398532754821120,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927442432001,"power":13656,"unknown_219":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":1026398532754821120}} 
[2026-09-07 16:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":173575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:18] local.INFO: GPS data processed {"connection_id":173575,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:18] local.INFO: Acknowledgment sent {"connection_id":173575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:21] local.INFO: TCP Data received {"connection_id":176321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:21] local.INFO: Processing buffer {"connection_id":176321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:21] local.INFO: Packet analysis {"connection_id":176321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:21] local.INFO: Extracted packet for processing {"connection_id":176321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":176321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:21] local.INFO: GPS data processed {"connection_id":176321,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:21] local.INFO: Acknowledgment sent {"connection_id":176321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:27] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:27] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:27] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:35:33] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:33] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:35:33] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:35:35] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a4b80012d7b178005e350d8000a00cc25..."} 
[2026-09-07 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a4b80012d7b178005e350d8000a00cc25..."} 
[2026-09-07 16:35:35] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a4b80012d7b178005e350d8000a00cc25..."} 
[2026-09-07 16:35:35] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:35:35] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763041664,"raw_latitude":98783448,"longitude_deg":76.3041664,"latitude_deg":9.8783448,"altitude":10,"angle":204,"satellites":37,"speed":5,"hex_longitude":"2d7b1780","hex_latitude":"05e350d8","is_valid_coordinates":true} 
[2026-09-07 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927432960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129426627556802560,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178836926464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] 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-07 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788779056000,"timestamp_ms":1788779056000,"timestamp_seconds":1788779056,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a4b80"} 
[2026-09-07 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631311,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3760654122924113920,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2705326088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":207,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":123,"raw_value":6557247533094535181,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634883858259920,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4467796641746832981,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3482845184,"corrected_to":0} 
[2026-09-07 16:35:35] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:35] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,160,167,45,192,107,9,41,10,66,128,8,3,1,240,116,227,207,123,4,113,205,95,81,42,239,52,2,203,5,12,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":203,"original":3482845184,"validated":0}]} 
[2026-09-07 16:35:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720801503471730688,"timestamp_seconds":720801503471730.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927432960001,"66":13243,"208":206,"85":15104,"24":5,"16":129426627556802560,"45":8870543178836926464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927432960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129426627556802560,"km_value":129426627556802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178836926464,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927432960001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8870543178836926464}} 
[2026-09-07 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:35] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:35] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:40] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:40] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:40] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:35:41] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:41] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:41] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:35:43] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:43] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:43] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:35:44] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:44] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:44] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:35:45] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:45] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:35:45] local.INFO: IMEI packet received {"connection_id":173827,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":173827,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:35:45] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:45] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:35:45] local.INFO: IMEI packet received {"connection_id":173577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":173577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:35:46] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b4580012d0e2b40070704000025010b21..."} 
[2026-09-07 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b4580012d0e2b40070704000025010b21..."} 
[2026-09-07 16:35:46] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b4580012d0e2b40070704000025010b21..."} 
[2026-09-07 16:35:46] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:35:46] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":755903296,"raw_latitude":117900288,"longitude_deg":75.5903296,"latitude_deg":11.7900288,"altitude":37,"angle":267,"satellites":33,"speed":8,"hex_longitude":"2d0e2b40","hex_latitude":"07070400","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927454464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30555032998903808,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021191245688737792,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779120000,"timestamp_ms":1788779120000,"timestamp_seconds":1788779120,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b4580"} 
[2026-09-07 16: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-07 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:46] 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-07 16: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-07 16: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-07 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927454464001,"66":14396,"219":206,"94":10240,"24":8,"16":30555032998903808,"45":1021191245688737792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927454464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30555032998903808,"km_value":30555032998903.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021191245688737792,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927454464001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1021191245688737792}} 
[2026-09-07 16:35:46] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:46] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:35:46] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:46] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16: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-07 16:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:35:46] 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-07 16:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:46] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:46] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:46] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:46] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:35:49] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:49] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:35:49] local.INFO: IMEI packet received {"connection_id":176322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":176322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:35:50] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:50] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:35:50] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:50] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:35:50] local.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-07 16:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:35:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:35:50] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:35:50] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:07] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a5738012d7b174005e34ff8000a00ba23..."} 
[2026-09-07 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a5738012d7b174005e34ff8000a00ba23..."} 
[2026-09-07 16:36:07] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a5738012d7b174005e34ff8000a00ba23..."} 
[2026-09-07 16:36:07] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:36:07] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":763041600,"raw_latitude":98783224,"longitude_deg":76.30416,"latitude_deg":9.8783224,"altitude":10,"angle":186,"satellites":35,"speed":1,"hex_longitude":"2d7b1740","hex_latitude":"05e34ff8","is_valid_coordinates":true} 
[2026-09-07 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927438336001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129426636146737152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869698753906399232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:07] 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-07 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788779059000,"timestamp_ms":1788779059000,"timestamp_seconds":1788779059,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a5738"} 
[2026-09-07 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927438336001,"66":13374,"208":206,"85":15104,"24":1,"16":129426636146737152,"45":8869698753906399232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927438336001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:36:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129426636146737152,"km_value":129426636146737.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869698753906399232,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927438336001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8869698753906399232}} 
[2026-09-07 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:07] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:07] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:17] local.INFO: TCP Data received {"connection_id":173827,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b7460012d0e1480070702780022011a21..."} 
[2026-09-07 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b7460012d0e1480070702780022011a21..."} 
[2026-09-07 16:36:17] local.INFO: Processing buffer {"connection_id":173827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b7460012d0e1480070702780022011a21..."} 
[2026-09-07 16:36:17] local.INFO: Packet analysis {"connection_id":173827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:36:17] local.INFO: Extracted packet for processing {"connection_id":173827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":755897472,"raw_latitude":117899896,"longitude_deg":75.5897472,"latitude_deg":11.7899896,"altitude":34,"angle":282,"satellites":33,"speed":15,"hex_longitude":"2d0e1480","hex_latitude":"07070278","is_valid_coordinates":true} 
[2026-09-07 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927454720001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30555316466745344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020980139456200704,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779132000,"timestamp_ms":1788779132000,"timestamp_seconds":1788779132,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b7460"} 
[2026-09-07 16:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173827,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927454720001,"66":14374,"219":206,"94":10240,"24":15,"16":30555316466745344,"45":1020980139456200704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927454720001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30555316466745344,"km_value":30555316466745.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020980139456200704,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927454720001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":1020980139456200704}} 
[2026-09-07 16:36:17] local.INFO: TCP Data received {"connection_id":173577,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:17] local.INFO: Processing buffer {"connection_id":173577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8703a8012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:17] local.INFO: Packet analysis {"connection_id":173577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:17] local.INFO: Extracted packet for processing {"connection_id":173577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927306240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788778841000,"timestamp_ms":1788778841000,"timestamp_seconds":1788778841,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8703a8"} 
[2026-09-07 16:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:36:17] 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-07 16:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:36:17] 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-07 16:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927306240001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927306240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927306240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":173577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:17] local.INFO: GPS data processed {"connection_id":173577,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:17] local.INFO: Acknowledgment sent {"connection_id":173577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":173827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:17] local.INFO: GPS data processed {"connection_id":173827,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:17] local.INFO: Acknowledgment sent {"connection_id":173827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:21] local.INFO: TCP Data received {"connection_id":176322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:21] local.INFO: Processing buffer {"connection_id":176322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:21] local.INFO: Packet analysis {"connection_id":176322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:21] local.INFO: Extracted packet for processing {"connection_id":176322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:36: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-07 16:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":176322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:21] local.INFO: GPS data processed {"connection_id":176322,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:21] local.INFO: Acknowledgment sent {"connection_id":176322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:27] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:27] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:27] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:36:33] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:33] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:36:33] local.INFO: IMEI packet received {"connection_id":176323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":176323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:36:33] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8a66d8012d7b170005e34f48000a00d022..."} 
[2026-09-07 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8a66d8012d7b170005e34f48000a00d022..."} 
[2026-09-07 16:36:33] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8a66d8012d7b170005e34f48000a00d022..."} 
[2026-09-07 16:36:33] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:36:33] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8a"} 
[2026-09-07 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98783048,"longitude_deg":76.3041536,"latitude_deg":9.8783048,"altitude":10,"angle":208,"satellites":34,"speed":2,"hex_longitude":"2d7b1700","hex_latitude":"05e34f48","is_valid_coordinates":true} 
[2026-09-07 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927439104001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129426649031639040,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869628385162164224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36: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-07 16:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788779063000,"timestamp_ms":1788779063000,"timestamp_seconds":1788779063,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8a66d8"} 
[2026-09-07 16:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927439104001,"66":13015,"208":206,"85":15104,"24":2,"16":129426649031639040,"45":8869628385162164224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927439104001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129426649031639040,"km_value":129426649031639.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869628385162164224,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927439104001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8869628385162164224}} 
[2026-09-07 16:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:33] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:33] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:39] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:39] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:39] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:36:40] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:40] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:40] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:36:44] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:44] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:44] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:36:45] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:45] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:45] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:36:46] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:46] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:36:46] local.INFO: IMEI packet received {"connection_id":173578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":173578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:36:46] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c2810012d0dc6800706f2600028010821..."} 
[2026-09-07 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c2810012d0dc6800706f2600028010821..."} 
[2026-09-07 16:36:46] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c2810012d0dc6800706f2600028010821..."} 
[2026-09-07 16:36:46] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:36:46] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":755877504,"raw_latitude":117895776,"longitude_deg":75.5877504,"latitude_deg":11.7895776,"altitude":40,"angle":264,"satellites":33,"speed":20,"hex_longitude":"2d0dc680","hex_latitude":"0706f260","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927469056001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30556330079027200,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993747435458342912,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779178000,"timestamp_ms":1788779178000,"timestamp_seconds":1788779178,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c2810"} 
[2026-09-07 16: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-07 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927469056001,"66":14330,"219":206,"94":10240,"24":20,"16":30556330079027200,"45":993747435458342912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927469056001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:36:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30556330079027200,"km_value":30556330079027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":993747435458342912,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927469056001,"power":14330,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":993747435458342912}} 
[2026-09-07 16:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:46] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:46] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:49] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:49] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:36:49] local.INFO: IMEI packet received {"connection_id":176324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":176324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:36:50] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:50] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b87b758012cb2a640077516b0001e002528..."} 
[2026-09-07 16:36:50] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:50] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b87"} 
[2026-09-07 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927317504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306926080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788778887000,"timestamp_ms":1788778887000,"timestamp_seconds":1788778887,"priority":1,"record_length":96,"hex_timestamp":"000001a07b87b758"} 
[2026-09-07 16: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-07 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:36:50] 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-07 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927317504001,"66":26430,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573626719306926080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927317504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306926080,"description":"Unknown IO ID 44"} 
[2026-09-07 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927317504001,"power":26430,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306926080}} 
[2026-09-07 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:50] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:50] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:36:50] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:50] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:36:50] local.INFO: IMEI packet received {"connection_id":173579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":173579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:36:51] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:51] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:36:51] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:36:51] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:36: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-07 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 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-07 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:36:51] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:36:51] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:05] local.INFO: TCP Data received {"connection_id":176323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8ca128012d7b250005e29258000d00bb21..."} 
[2026-09-07 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8ca128012d7b250005e29258000d00bb21..."} 
[2026-09-07 16:37:05] local.INFO: Processing buffer {"connection_id":176323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8ca128012d7b250005e29258000d00bb21..."} 
[2026-09-07 16:37:05] local.INFO: Packet analysis {"connection_id":176323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:05] local.INFO: Extracted packet for processing {"connection_id":176323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763045120,"raw_latitude":98734680,"longitude_deg":76.304512,"latitude_deg":9.873468,"altitude":13,"angle":187,"satellites":33,"speed":12,"hex_longitude":"2d7b2500","hex_latitude":"05e29258","is_valid_coordinates":true} 
[2026-09-07 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927473664001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129429067098226688,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873076453615769600,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:05] 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-07 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788779209000,"timestamp_ms":1788779209000,"timestamp_seconds":1788779209,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8ca128"} 
[2026-09-07 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:05] 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-07 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927473664001,"66":13091,"207":206,"85":15104,"24":12,"16":129429067098226688,"45":8873076453615769600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927473664001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129429067098226688,"km_value":129429067098226.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873076453615769600,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927473664001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8873076453615769600}} 
[2026-09-07 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":176323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:05] local.INFO: GPS data processed {"connection_id":176323,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:05] local.INFO: Acknowledgment sent {"connection_id":176323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:17] local.INFO: TCP Data received {"connection_id":173578,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c56f0012d0db2000706eef0002b00fd21..."} 
[2026-09-07 16:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c56f0012d0db2000706eef0002b00fd21..."} 
[2026-09-07 16:37:17] local.INFO: Processing buffer {"connection_id":173578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c56f0012d0db2000706eef0002b00fd21..."} 
[2026-09-07 16:37:17] local.INFO: Packet analysis {"connection_id":173578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:17] local.INFO: Extracted packet for processing {"connection_id":173578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":755872256,"raw_latitude":117894896,"longitude_deg":75.5872256,"latitude_deg":11.7894896,"altitude":43,"angle":253,"satellites":33,"speed":23,"hex_longitude":"2d0db200","hex_latitude":"0706eef0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927469568001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30556587777064960,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992621535551447040,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779190000,"timestamp_ms":1788779190000,"timestamp_seconds":1788779190,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c56f0"} 
[2026-09-07 16: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-07 16:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:17] 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-07 16: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-07 16: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-07 16:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927469568001,"66":14450,"219":206,"94":10240,"24":23,"16":30556587777064960,"45":992621535551447040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927469568001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:17] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:37:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30556587777064960,"km_value":30556587777064.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":992621535551447040,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927469568001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":992621535551447040}} 
[2026-09-07 16:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":173578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:17] local.INFO: GPS data processed {"connection_id":173578,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:17] local.INFO: Acknowledgment sent {"connection_id":173578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:21] local.INFO: TCP Data received {"connection_id":176324,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:21] local.INFO: Processing buffer {"connection_id":176324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:21] local.INFO: Packet analysis {"connection_id":176324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:21] local.INFO: Extracted packet for processing {"connection_id":176324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:21] 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-07 16: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-07 16: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-07 16:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:37: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-07 16:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":176324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:21] local.INFO: GPS data processed {"connection_id":176324,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:21] local.INFO: Acknowledgment sent {"connection_id":176324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:22] local.INFO: TCP Data received {"connection_id":173579,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:22] local.INFO: Processing buffer {"connection_id":173579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:22] local.INFO: Packet analysis {"connection_id":173579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:37:22] local.INFO: Extracted packet for processing {"connection_id":173579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37: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-07 16:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 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-07 16:37:22] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":173579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:22] local.INFO: GPS data processed {"connection_id":173579,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:22] local.INFO: Acknowledgment sent {"connection_id":173579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:27] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:27] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:27] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:37:32] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:32] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:37:32] local.INFO: IMEI packet received {"connection_id":174916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":174916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:34] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8ca510012d7b24c005e29168000d00cf22..."} 
[2026-09-07 16:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8ca510012d7b24c005e29168000d00cf22..."} 
[2026-09-07 16:37:34] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8ca510012d7b24c005e29168000d00cf22..."} 
[2026-09-07 16:37:34] local.INFO: Packet analysis {"connection_id":174916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:34] local.INFO: Extracted packet for processing {"connection_id":174916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98734440,"longitude_deg":76.3045056,"latitude_deg":9.873444,"altitude":13,"angle":207,"satellites":34,"speed":9,"hex_longitude":"2d7b24c0","hex_latitude":"05e29168","is_valid_coordinates":true} 
[2026-09-07 16:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927477504001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129429079983128576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873498666079508480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:34] 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-07 16:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788779210000,"timestamp_ms":1788779210000,"timestamp_seconds":1788779210,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8ca510"} 
[2026-09-07 16:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:34] 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-07 16:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927477504001,"66":13091,"207":206,"85":15104,"24":9,"16":129429079983128576,"45":8873498666079508480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927477504001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129429079983128576,"km_value":129429079983128.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873498666079508480,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927477504001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8873498666079508480}} 
[2026-09-07 16:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":174916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:34] local.INFO: GPS data processed {"connection_id":174916,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:34] local.INFO: Acknowledgment sent {"connection_id":174916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:40] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:40] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:40] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:37:40] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:40] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:40] local.INFO: IMEI packet received {"connection_id":174917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":174917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:37:43] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: IMEI packet received {"connection_id":174917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":174917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:43] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:43] local.INFO: IMEI packet received {"connection_id":174917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":174917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:45] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:45] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:37:45] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:45] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:45] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:37:45] local.INFO: IMEI packet received {"connection_id":174917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":174917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:46] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:46] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:37:46] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:37:46] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:37:46] 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-07 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:46] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:46] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:46] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c62a8012d0dab800706eda0002c011220..."} 
[2026-09-07 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c62a8012d0dab800706eda0002c011220..."} 
[2026-09-07 16:37:46] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c62a8012d0dab800706eda0002c011220..."} 
[2026-09-07 16:37:46] local.INFO: Packet analysis {"connection_id":174917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:46] local.INFO: Extracted packet for processing {"connection_id":174917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":755870592,"raw_latitude":117894560,"longitude_deg":75.5870592,"latitude_deg":11.789456,"altitude":44,"angle":274,"satellites":32,"speed":20,"hex_longitude":"2d0dab80","hex_latitude":"0706eda0","is_valid_coordinates":true} 
[2026-09-07 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472640001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30556669381443584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986851298528653312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779193000,"timestamp_ms":1788779193000,"timestamp_seconds":1788779193,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c62a8"} 
[2026-09-07 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472640001,"66":14374,"219":206,"94":10240,"24":20,"16":30556669381443584,"45":986851298528653312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-09-07 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472640001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30556669381443584,"km_value":30556669381443.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":986851298528653312,"description":"Unknown IO ID 45"} 
[2026-09-07 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472640001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":986851298528653312}} 
[2026-09-07 16:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":174917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:47] local.INFO: GPS data processed {"connection_id":174917,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:47] local.INFO: Acknowledgment sent {"connection_id":174917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:37:49] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:49] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:49] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:37:54] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:54] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:37:54] local.INFO: IMEI packet received {"connection_id":176325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":176325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:37:55] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:55] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:37:55] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:55] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:37:55] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:37:55] 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-07 16: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-07 16: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-07 16:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:37:55] 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-07 16:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:37:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:37:55] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:37:55] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:00] local.INFO: TCP Data received {"connection_id":176325,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:00] local.INFO: Processing buffer {"connection_id":176325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:00] local.INFO: Packet analysis {"connection_id":176325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:00] local.INFO: Extracted packet for processing {"connection_id":176325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:00] 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-07 16:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:38:00] 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-07 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":176325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:00] local.INFO: GPS data processed {"connection_id":176325,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:00] local.INFO: Acknowledgment sent {"connection_id":176325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:06] local.INFO: TCP Data received {"connection_id":174916,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8ca8f8012d7b240005e290b8000d00dd21..."} 
[2026-09-07 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8ca8f8012d7b240005e290b8000d00dd21..."} 
[2026-09-07 16:38:06] local.INFO: Processing buffer {"connection_id":174916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8ca8f8012d7b240005e290b8000d00dd21..."} 
[2026-09-07 16:38:06] local.INFO: Packet analysis {"connection_id":174916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:06] local.INFO: Extracted packet for processing {"connection_id":174916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":98734264,"longitude_deg":76.3044864,"latitude_deg":9.8734264,"altitude":13,"angle":221,"satellites":33,"speed":8,"hex_longitude":"2d7b2400","hex_latitude":"05e290b8","is_valid_coordinates":true} 
[2026-09-07 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927477760001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129429092868030464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873428297335269376,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:06] 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-07 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788779211000,"timestamp_ms":1788779211000,"timestamp_seconds":1788779211,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8ca8f8"} 
[2026-09-07 16:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927477760001,"66":13091,"207":206,"85":15104,"24":8,"16":129429092868030464,"45":8873428297335269376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927477760001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129429092868030464,"km_value":129429092868030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873428297335269376,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927477760001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8873428297335269376}} 
[2026-09-07 16:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":174916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:06] local.INFO: GPS data processed {"connection_id":174916,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:06] local.INFO: Acknowledgment sent {"connection_id":174916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:17] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:17] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:17] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:38:17] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:38:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:17] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:17] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:18] local.INFO: TCP Data received {"connection_id":174917,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8dca08012d0d294007074050002901351f..."} 
[2026-09-07 16:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8dca08012d0d294007074050002901351f..."} 
[2026-09-07 16:38:18] local.INFO: Processing buffer {"connection_id":174917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8dca08012d0d294007074050002901351f..."} 
[2026-09-07 16:38:18] local.INFO: Packet analysis {"connection_id":174917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8d"} 
[2026-09-07 16:38:18] local.INFO: Extracted packet for processing {"connection_id":174917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8d"} 
[2026-09-07 16:38:18] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117915728,"longitude_deg":75.5837248,"latitude_deg":11.7915728,"altitude":41,"angle":309,"satellites":31,"speed":17,"hex_longitude":"2d0d2940","hex_latitude":"07074050","is_valid_coordinates":true} 
[2026-09-07 16:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927496704001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30558855519797248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948711439189616640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788779285000,"timestamp_ms":1788779285000,"timestamp_seconds":1788779285,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8dca08"} 
[2026-09-07 16:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:18] 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-07 16:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174917,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927496704001,"66":14428,"221":206,"94":10240,"24":17,"16":30558855519797248,"45":948711439189616640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927496704001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:38:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30558855519797248,"km_value":30558855519797.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":948711439189616640,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927496704001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":948711439189616640}} 
[2026-09-07 16:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":174917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:18] local.INFO: GPS data processed {"connection_id":174917,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:18] local.INFO: Acknowledgment sent {"connection_id":174917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:28] local.INFO: TCP Data received {"connection_id":173830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:28] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:28] local.INFO: IMEI packet received {"connection_id":173830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":173830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:38:32] local.INFO: TCP Data received {"connection_id":173830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:32] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:38:32] local.INFO: IMEI packet received {"connection_id":173830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":173830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:38:35] local.INFO: TCP Data received {"connection_id":173830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8cd7d8012d7b204005e291a0000e013a22..."} 
[2026-09-07 16:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8cd7d8012d7b204005e291a0000e013a22..."} 
[2026-09-07 16:38:35] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8cd7d8012d7b204005e291a0000e013a22..."} 
[2026-09-07 16:38:35] local.INFO: Packet analysis {"connection_id":173830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:35] local.INFO: Extracted packet for processing {"connection_id":173830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734496,"longitude_deg":76.3043904,"latitude_deg":9.8734496,"altitude":14,"angle":314,"satellites":34,"speed":8,"hex_longitude":"2d7b2040","hex_latitude":"05e291a0","is_valid_coordinates":true} 
[2026-09-07 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927478016001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129429152997572608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191102691328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:35] 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-07 16:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788779223000,"timestamp_ms":1788779223000,"timestamp_seconds":1788779223,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8cd7d8"} 
[2026-09-07 16:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 16:38: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-07 16:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927478016001,"66":13580,"207":206,"85":15104,"24":8,"16":129429152997572608,"45":8873217191102691328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927478016001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:35] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129429152997572608,"km_value":129429152997572.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191102691328,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927478016001,"power":13580,"unknown_207":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8873217191102691328}} 
[2026-09-07 16:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":173830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:35] local.INFO: GPS data processed {"connection_id":173830,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:35] local.INFO: Acknowledgment sent {"connection_id":173830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:40] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:40] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:40] local.INFO: IMEI packet received {"connection_id":174918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:38:40] local.INFO: TCP Data received {"connection_id":174919,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:40] local.INFO: Processing buffer {"connection_id":174919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:40] local.INFO: IMEI packet received {"connection_id":174919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:38:41] local.INFO: TCP Data received {"connection_id":174919,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:41] local.INFO: Processing buffer {"connection_id":174919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:41] local.INFO: IMEI packet received {"connection_id":174919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":174919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:38:44] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:44] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:44] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:38:45] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:45] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:38:45] local.INFO: IMEI packet received {"connection_id":174918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:38:46] local.INFO: TCP Data received {"connection_id":174919,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:46] local.INFO: Processing buffer {"connection_id":174919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:38:46] local.INFO: IMEI packet received {"connection_id":174919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":174919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:38:46] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:46] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:38:46] local.INFO: Packet analysis {"connection_id":174918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:38:46] local.INFO: Extracted packet for processing {"connection_id":174918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:38:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:38:46] 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-07 16:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:46] local.INFO: GPS data processed {"connection_id":174918,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:46] local.INFO: Acknowledgment sent {"connection_id":174918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:46] local.INFO: TCP Data received {"connection_id":174919,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e4708012d0cdd8007074e280023010621..."} 
[2026-09-07 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e4708012d0cdd8007074e280023010621..."} 
[2026-09-07 16:38:46] local.INFO: Processing buffer {"connection_id":174919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e4708012d0cdd8007074e280023010621..."} 
[2026-09-07 16:38:46] local.INFO: Packet analysis {"connection_id":174919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:38:46] local.INFO: Extracted packet for processing {"connection_id":174919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:38:46] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117919272,"longitude_deg":75.5817856,"latitude_deg":11.7919272,"altitude":35,"angle":262,"satellites":33,"speed":14,"hex_longitude":"2d0cdd80","hex_latitude":"07074e28","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927504896001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30559873427046400,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927460078448977920,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779317000,"timestamp_ms":1788779317000,"timestamp_seconds":1788779317,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e4708"} 
[2026-09-07 16: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-07 16:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927504896001,"66":14515,"221":206,"94":10240,"24":14,"16":30559873427046400,"45":927460078448977920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927504896001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30559873427046400,"km_value":30559873427046.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":927460078448977920,"description":"Unknown IO ID 45"} 
[2026-09-07 16:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927504896001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":927460078448977920}} 
[2026-09-07 16:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":174919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:47] local.INFO: GPS data processed {"connection_id":174919,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:47] local.INFO: Acknowledgment sent {"connection_id":174919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:38:49] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:49] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:38:49] local.INFO: IMEI packet received {"connection_id":173580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:38:50] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:50] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:38:50] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:50] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:38:50] 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-07 16: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-07 16: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-07 16:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:38:50] 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-07 16:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:38:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:38:50] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:38:50] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:07] local.INFO: TCP Data received {"connection_id":173830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e0888012d7b044005e34630000c015c1a..."} 
[2026-09-07 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e0888012d7b044005e34630000c015c1a..."} 
[2026-09-07 16:39:07] local.INFO: Processing buffer {"connection_id":173830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e0888012d7b044005e34630000c015c1a..."} 
[2026-09-07 16:39:07] local.INFO: Packet analysis {"connection_id":173830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:07] local.INFO: Extracted packet for processing {"connection_id":173830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763036736,"raw_latitude":98780720,"longitude_deg":76.3036736,"latitude_deg":9.878072,"altitude":12,"angle":348,"satellites":26,"speed":6,"hex_longitude":"2d7b0440","hex_latitude":"05e34630","is_valid_coordinates":true} 
[2026-09-07 16:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927500544001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129431472279912448,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729348073472,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:07] 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-07 16:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1788779301000,"timestamp_ms":1788779301000,"timestamp_seconds":1788779301,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e0888"} 
[2026-09-07 16:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":173830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":173830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":173830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927500544001,"66":13461,"208":206,"85":15104,"24":6,"16":129431472279912448,"45":8864350729348073472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927500544001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:39:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129431472279912448,"km_value":129431472279912.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729348073472,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927500544001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8864350729348073472}} 
[2026-09-07 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":173830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:07] local.INFO: GPS data processed {"connection_id":173830,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:07] local.INFO: Acknowledgment sent {"connection_id":173830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:17] local.INFO: TCP Data received {"connection_id":174918,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:17] local.INFO: Processing buffer {"connection_id":174918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:17] local.INFO: Packet analysis {"connection_id":174918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:39:17] local.INFO: Extracted packet for processing {"connection_id":174918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:39:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:39:17] 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-07 16:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:17] local.INFO: GPS data processed {"connection_id":174918,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:17] local.INFO: Acknowledgment sent {"connection_id":174918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:17] local.INFO: TCP Data received {"connection_id":174919,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e4af0012d0cdc0007074e500023011921..."} 
[2026-09-07 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e4af0012d0cdc0007074e500023011921..."} 
[2026-09-07 16:39:17] local.INFO: Processing buffer {"connection_id":174919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e4af0012d0cdc0007074e500023011921..."} 
[2026-09-07 16:39:17] local.INFO: Packet analysis {"connection_id":174919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:17] local.INFO: Extracted packet for processing {"connection_id":174919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755817472,"raw_latitude":117919312,"longitude_deg":75.5817472,"latitude_deg":11.7919312,"altitude":35,"angle":281,"satellites":33,"speed":16,"hex_longitude":"2d0cdc00","hex_latitude":"07074e50","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927505152001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30559890606915584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983879168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779318000,"timestamp_ms":1788779318000,"timestamp_seconds":1788779318,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e4af0"} 
[2026-09-07 16: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-07 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:17] 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-07 16: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-07 16: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-07 16:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927505152001,"66":14515,"221":206,"94":10240,"24":16,"16":30559890606915584,"45":927037865983879168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927505152001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30559890606915584,"km_value":30559890606915.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983879168,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927505152001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":927037865983879168}} 
[2026-09-07 16:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":174919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:18] local.INFO: GPS data processed {"connection_id":174919,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:18] local.INFO: Acknowledgment sent {"connection_id":174919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:21] local.INFO: TCP Data received {"connection_id":173580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:21] local.INFO: Processing buffer {"connection_id":173580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:21] local.INFO: Packet analysis {"connection_id":173580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:39:21] local.INFO: Extracted packet for processing {"connection_id":173580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:21] 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-07 16:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:39: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-07 16:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":173580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:21] local.INFO: GPS data processed {"connection_id":173580,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:21] local.INFO: Acknowledgment sent {"connection_id":173580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:33] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:33] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:33] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:39:38] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:38] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:39:38] local.INFO: IMEI packet received {"connection_id":176326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":176326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:39:40] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e56a8012d7b00c005e35780000b015627..."} 
[2026-09-07 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e56a8012d7b00c005e35780000b015627..."} 
[2026-09-07 16:39:40] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e56a8012d7b00c005e35780000b015627..."} 
[2026-09-07 16:39:40] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:40] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763035840,"raw_latitude":98785152,"longitude_deg":76.303584,"latitude_deg":9.8785152,"altitude":11,"angle":342,"satellites":39,"speed":25,"hex_longitude":"2d7b00c0","hex_latitude":"05e35780","is_valid_coordinates":true} 
[2026-09-07 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927501056001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129431695618211840,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864280360604020736,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:40] 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-07 16:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788779321000,"timestamp_ms":1788779321000,"timestamp_seconds":1788779321,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e56a8"} 
[2026-09-07 16:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:40] 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-07 16:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927501056001,"66":13428,"208":206,"85":15104,"24":25,"16":129431695618211840,"45":8864280360604020736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927501056001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129431695618211840,"km_value":129431695618211.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864280360604020736,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927501056001,"power":13428,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8864280360604020736}} 
[2026-09-07 16:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:40] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:40] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:40] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:40] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:40] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:39:41] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:41] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:41] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:39:42] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:42] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:42] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:39:44] local.INFO: TCP Data received {"connection_id":174921,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:44] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:44] local.INFO: IMEI packet received {"connection_id":174921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":174921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:39:45] local.INFO: TCP Data received {"connection_id":176326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e8d58012d7af70005e37b70000a015827..."} 
[2026-09-07 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e8d58012d7af70005e37b70000a015827..."} 
[2026-09-07 16:39:45] local.INFO: Processing buffer {"connection_id":176326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e8d58012d7af70005e37b70000a015827..."} 
[2026-09-07 16:39:45] local.INFO: Packet analysis {"connection_id":176326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:45] local.INFO: Extracted packet for processing {"connection_id":176326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763033344,"raw_latitude":98794352,"longitude_deg":76.3033344,"latitude_deg":9.8794352,"altitude":10,"angle":344,"satellites":39,"speed":25,"hex_longitude":"2d7af700","hex_latitude":"05e37b70","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927506176001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129432155179712512,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863295198186668032,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39: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-07 16:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788779335000,"timestamp_ms":1788779335000,"timestamp_seconds":1788779335,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e8d58"} 
[2026-09-07 16: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-07 16:39: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-07 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:45] 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-07 16: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-07 16: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-07 16:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927506176001,"66":13722,"208":206,"85":15104,"24":25,"16":129432155179712512,"45":8863295198186668032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927506176001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129432155179712512,"km_value":129432155179712.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863295198186668032,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927506176001,"power":13722,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8863295198186668032}} 
[2026-09-07 16:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":176326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:45] local.INFO: GPS data processed {"connection_id":176326,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:45] local.INFO: Acknowledgment sent {"connection_id":176326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:45] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:45] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:39:45] local.INFO: IMEI packet received {"connection_id":176327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":176327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:39:46] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:46] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:39:46] local.INFO: IMEI packet received {"connection_id":173831,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":173831,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:39:46] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:46] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:39:46] local.INFO: Packet analysis {"connection_id":176327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:39:46] local.INFO: Extracted packet for processing {"connection_id":176327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:39:46] 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-07 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:39:46] 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-07 16:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":176327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:46] local.INFO: GPS data processed {"connection_id":176327,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:46] local.INFO: Acknowledgment sent {"connection_id":176327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:46] local.INFO: TCP Data received {"connection_id":176328,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:39:46] local.INFO: Processing buffer {"connection_id":176328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:39:46] local.INFO: IMEI packet received {"connection_id":176328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":176328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:39:46] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8e4ed8012d0cda4007074f080023012821..."} 
[2026-09-07 16:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8e4ed8012d0cda4007074f080023012821..."} 
[2026-09-07 16:39:46] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8e4ed8012d0cda4007074f080023012821..."} 
[2026-09-07 16:39:46] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:46] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":755817024,"raw_latitude":117919496,"longitude_deg":75.5817024,"latitude_deg":11.7919496,"altitude":35,"angle":296,"satellites":33,"speed":19,"hex_longitude":"2d0cda40","hex_latitude":"07074f08","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927505408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30559916376719360,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926615653518823424,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779319000,"timestamp_ms":1788779319000,"timestamp_seconds":1788779319,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8e4ed8"} 
[2026-09-07 16: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-07 16:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927505408001,"66":13722,"221":206,"94":10240,"24":19,"16":30559916376719360,"45":926615653518823424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927505408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30559916376719360,"km_value":30559916376719.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":926615653518823424,"description":"Unknown IO ID 45"} 
[2026-09-07 16:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927505408001,"power":13722,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":926615653518823424}} 
[2026-09-07 16:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:47] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:47] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:39:49] local.INFO: TCP Data received {"connection_id":174921,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:49] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:39:49] local.INFO: IMEI packet received {"connection_id":174921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":174921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:39:50] local.INFO: TCP Data received {"connection_id":174921,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:50] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:39:50] local.INFO: Packet analysis {"connection_id":174921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:39:50] local.INFO: Extracted packet for processing {"connection_id":174921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:39:50] 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-07 16: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-07 16: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-07 16:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:39:50] 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-07 16:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:39:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":174921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:39:50] local.INFO: GPS data processed {"connection_id":174921,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:39:50] local.INFO: Acknowledgment sent {"connection_id":174921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:17] local.INFO: TCP Data received {"connection_id":176327,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:17] local.INFO: Processing buffer {"connection_id":176327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:17] local.INFO: Packet analysis {"connection_id":176327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:40:17] local.INFO: Extracted packet for processing {"connection_id":176327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:40:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:40:17] 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-07 16:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":176327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:17] local.INFO: GPS data processed {"connection_id":176327,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:17] local.INFO: Acknowledgment sent {"connection_id":176327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:18] local.INFO: TCP Data received {"connection_id":173831,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8f8758012d0ca880070778780022011821..."} 
[2026-09-07 16:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8f8758012d0ca880070778780022011821..."} 
[2026-09-07 16:40:18] local.INFO: Processing buffer {"connection_id":173831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8f8758012d0ca880070778780022011821..."} 
[2026-09-07 16:40:18] local.INFO: Packet analysis {"connection_id":173831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:18] local.INFO: Extracted packet for processing {"connection_id":173831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:18] local.INFO: GPS Element Parsed {"raw_longitude":755804288,"raw_latitude":117930104,"longitude_deg":75.5804288,"latitude_deg":11.7930104,"altitude":34,"angle":280,"satellites":33,"speed":15,"hex_longitude":"2d0ca880","hex_latitude":"07077878","is_valid_coordinates":true} 
[2026-09-07 16:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927525888001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30560861269524480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912612273430214656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788779399000,"timestamp_ms":1788779399000,"timestamp_seconds":1788779399,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8f8758"} 
[2026-09-07 16:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173831,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927525888001,"66":14135,"221":206,"94":10240,"24":15,"16":30560861269524480,"45":912612273430214656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927525888001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30560861269524480,"km_value":30560861269524.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":912612273430214656,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927525888001,"power":14135,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":912612273430214656}} 
[2026-09-07 16:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":173831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:18] local.INFO: GPS data processed {"connection_id":173831,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:18] local.INFO: Acknowledgment sent {"connection_id":173831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:21] local.INFO: TCP Data received {"connection_id":174921,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:21] local.INFO: Processing buffer {"connection_id":174921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:21] local.INFO: Packet analysis {"connection_id":174921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:40:21] local.INFO: Extracted packet for processing {"connection_id":174921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:21] 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-07 16: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-07 16: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-07 16:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:40:21] 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-07 16:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":174921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:21] local.INFO: GPS data processed {"connection_id":174921,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:21] local.INFO: Acknowledgment sent {"connection_id":174921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:27] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:27] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:27] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:40:33] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:33] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:40:33] local.INFO: IMEI packet received {"connection_id":174922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":174922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:40:35] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8edb78012d7aefc005e393600006015024..."} 
[2026-09-07 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8edb78012d7aefc005e393600006015024..."} 
[2026-09-07 16:40:35] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8edb78012d7aefc005e393600006015024..."} 
[2026-09-07 16:40:35] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:40:35] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8e"} 
[2026-09-07 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763031488,"raw_latitude":98800480,"longitude_deg":76.3031488,"latitude_deg":9.880048,"altitude":6,"angle":336,"satellites":36,"speed":0,"hex_longitude":"2d7aefc0","hex_latitude":"05e39360","is_valid_coordinates":true} 
[2026-09-07 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927509760001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129432468712325120,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860550817166094336,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:35] 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-07 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788779355000,"timestamp_ms":1788779355000,"timestamp_seconds":1788779355,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8edb78"} 
[2026-09-07 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:35] 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-07 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927509760001,"66":13678,"208":206,"85":15104,"24":0,"16":129432468712325120,"45":8860550817166094336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927509760001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129432468712325120,"km_value":129432468712325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860550817166094336,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927509760001,"power":13678,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8860550817166094336}} 
[2026-09-07 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:35] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:35] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:40] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:40] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:40] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:40:44] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:44] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:44] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:40:45] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:45] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:40:45] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:40:46] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:46] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:46] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:40:46] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:46] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:40:46] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:40:46] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16: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-07 16:40:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:40:46] 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-07 16:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:46] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:46] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:49] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:49] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:40:49] local.INFO: IMEI packet received {"connection_id":176329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":176329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:40:50] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:50] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:40:50] local.INFO: IMEI packet received {"connection_id":173581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":173581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:40:50] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:50] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:40:50] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:40:50] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:50] 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-07 16:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:40:50] 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-07 16:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:50] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:50] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:51] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8f8f28012d0ca400070778700022010b21..."} 
[2026-09-07 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8f8f28012d0ca400070778700022010b21..."} 
[2026-09-07 16:40:51] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8f8f28012d0ca400070778700022010b21..."} 
[2026-09-07 16:40:51] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:51] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755803136,"raw_latitude":117930096,"longitude_deg":75.5803136,"latitude_deg":11.7930096,"altitude":34,"angle":267,"satellites":33,"speed":24,"hex_longitude":"2d0ca400","hex_latitude":"07077870","is_valid_coordinates":true} 
[2026-09-07 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927526144001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30560912809132032,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912119692220987392,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788779401000,"timestamp_ms":1788779401000,"timestamp_seconds":1788779401,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8f8f28"} 
[2026-09-07 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:40: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-07 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-07 16:40: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-07 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927526144001,"66":14450,"221":206,"94":10240,"24":24,"16":30560912809132032,"45":912119692220987392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927526144001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30560912809132032,"km_value":30560912809132.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":912119692220987392,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927526144001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":912119692220987392}} 
[2026-09-07 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:51] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:51] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:40:51] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8fbe08012d0c8e4007077648001d00ff21..."} 
[2026-09-07 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8fbe08012d0c8e4007077648001d00ff21..."} 
[2026-09-07 16:40:51] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8fbe08012d0c8e4007077648001d00ff21..."} 
[2026-09-07 16:40:51] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:51] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8f"} 
[2026-09-07 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755797568,"raw_latitude":117929544,"longitude_deg":75.5797568,"latitude_deg":11.7929544,"altitude":29,"angle":255,"satellites":33,"speed":25,"hex_longitude":"2d0c8e40","hex_latitude":"07077648","is_valid_coordinates":true} 
[2026-09-07 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927526656001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30561179097104384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910853054825787392,"note":"Value kept but may cause issues"} 
[2026-09-07 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788779413000,"timestamp_ms":1788779413000,"timestamp_seconds":1788779413,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8fbe08"} 
[2026-09-07 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:40: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-07 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:40:51] 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-07 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927526656001,"66":14548,"221":206,"94":10240,"24":25,"16":30561179097104384,"45":910853054825787392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927526656001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30561179097104384,"km_value":30561179097104.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":910853054825787392,"description":"Unknown IO ID 45"} 
[2026-09-07 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927526656001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":910853054825787392}} 
[2026-09-07 16:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:40:52] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:40:52] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:08] local.INFO: TCP Data received {"connection_id":174922,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b905278012d7acb4005e410580005012729..."} 
[2026-09-07 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b905278012d7acb4005e410580005012729..."} 
[2026-09-07 16:41:08] local.INFO: Processing buffer {"connection_id":174922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b905278012d7acb4005e410580005012729..."} 
[2026-09-07 16:41:08] local.INFO: Packet analysis {"connection_id":174922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:08] local.INFO: Extracted packet for processing {"connection_id":174922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":763022144,"raw_latitude":98832472,"longitude_deg":76.3022144,"latitude_deg":9.8832472,"altitude":5,"angle":295,"satellites":41,"speed":12,"hex_longitude":"2d7acb40","hex_latitude":"05e41058","is_valid_coordinates":true} 
[2026-09-07 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927539200001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129434113684799488,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665607168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41: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-07 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788779451000,"timestamp_ms":1788779451000,"timestamp_seconds":1788779451,"priority":1,"record_length":96,"hex_timestamp":"000001a07b905278"} 
[2026-09-07 16:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:08] 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-07 16:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927539200001,"66":12939,"208":206,"85":15104,"24":12,"16":129434113684799488,"45":8848588130665607168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927539200001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129434113684799488,"km_value":129434113684799.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665607168,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927539200001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8848588130665607168}} 
[2026-09-07 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":174922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:08] local.INFO: GPS data processed {"connection_id":174922,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:08] local.INFO: Acknowledgment sent {"connection_id":174922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:17] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:17] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8b9b70012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:17] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:41:17] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8b"} 
[2026-09-07 16:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927383296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779142000,"timestamp_ms":1788779142000,"timestamp_seconds":1788779142,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8b9b70"} 
[2026-09-07 16:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:41:17] 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-07 16:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:41:17] 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-07 16:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927383296001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927383296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927383296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:17] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:17] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:21] local.INFO: TCP Data received {"connection_id":176329,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:21] local.INFO: Processing buffer {"connection_id":176329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:21] local.INFO: Packet analysis {"connection_id":176329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:41:21] local.INFO: Extracted packet for processing {"connection_id":176329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16: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-07 16:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:21] 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-07 16: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-07 16: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-07 16:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:41: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-07 16:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":176329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:21] local.INFO: GPS data processed {"connection_id":176329,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:21] local.INFO: Acknowledgment sent {"connection_id":176329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:23] local.INFO: TCP Data received {"connection_id":173581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9090f8012d0c3140070753c8001000ef20..."} 
[2026-09-07 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9090f8012d0c3140070753c8001000ef20..."} 
[2026-09-07 16:41:23] local.INFO: Processing buffer {"connection_id":173581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9090f8012d0c3140070753c8001000ef20..."} 
[2026-09-07 16:41:23] local.INFO: Packet analysis {"connection_id":173581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:23] local.INFO: Extracted packet for processing {"connection_id":173581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755773760,"raw_latitude":117920712,"longitude_deg":75.577376,"latitude_deg":11.7920712,"altitude":16,"angle":239,"satellites":32,"speed":22,"hex_longitude":"2d0c3140","hex_latitude":"070753c8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927543296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30562656565854208,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879187119943510016,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788779467000,"timestamp_ms":1788779467000,"timestamp_seconds":1788779467,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9090f8"} 
[2026-09-07 16: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-07 16:41: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-07 16: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":223,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927543296001,"66":14450,"221":206,"94":10240,"24":22,"16":30562656565854208,"45":879187119943510016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927543296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:41:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30562656565854208,"km_value":30562656565854.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":879187119943510016,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927543296001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":879187119943510016}} 
[2026-09-07 16:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":173581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:23] local.INFO: GPS data processed {"connection_id":173581,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:23] local.INFO: Acknowledgment sent {"connection_id":173581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:26] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:26] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:26] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:41:28] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:28] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:28] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:30] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:30] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:41:30] local.INFO: IMEI packet received {"connection_id":173582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":173582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:31] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b905660012d7ac9c005e410780005010c29..."} 
[2026-09-07 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b905660012d7ac9c005e410780005010c29..."} 
[2026-09-07 16:41:31] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b905660012d7ac9c005e410780005010c29..."} 
[2026-09-07 16:41:31] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:31] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832504,"longitude_deg":76.302176,"latitude_deg":9.8832504,"altitude":5,"angle":268,"satellites":41,"speed":13,"hex_longitude":"2d7ac9c0","hex_latitude":"05e41078","is_valid_coordinates":true} 
[2026-09-07 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927539456001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129434130864668672,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944761856,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:31] 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-07 16:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788779452000,"timestamp_ms":1788779452000,"timestamp_seconds":1788779452,"priority":1,"record_length":96,"hex_timestamp":"000001a07b905660"} 
[2026-09-07 16:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:41: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-07 16:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:31] 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-07 16:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927539456001,"66":12939,"208":206,"85":15104,"24":13,"16":129434130864668672,"45":8848236286944761856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927539456001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129434130864668672,"km_value":129434130864668.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944761856,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927539456001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8848236286944761856}} 
[2026-09-07 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:32] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:32] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:40] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:40] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:40] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:41:41] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:41] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:41] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:41:44] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:44] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:44] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:41:45] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:45] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:41:45] local.INFO: IMEI packet received {"connection_id":173583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:45] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:45] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:41:45] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:45] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9094e0012d0c2e8007075318001000fa20..."} 
[2026-09-07 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9094e0012d0c2e8007075318001000fa20..."} 
[2026-09-07 16:41:45] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9094e0012d0c2e8007075318001000fa20..."} 
[2026-09-07 16:41:45] local.INFO: Packet analysis {"connection_id":173583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:45] local.INFO: Extracted packet for processing {"connection_id":173583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":755773056,"raw_latitude":117920536,"longitude_deg":75.5773056,"latitude_deg":11.7920536,"altitude":16,"angle":250,"satellites":32,"speed":26,"hex_longitude":"2d0c2e80","hex_latitude":"07075318","is_valid_coordinates":true} 
[2026-09-07 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927543552001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30562690925592576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878553801245837312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788779468000,"timestamp_ms":1788779468000,"timestamp_seconds":1788779468,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9094e0"} 
[2026-09-07 16:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:45] 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-07 16:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927543552001,"66":14450,"221":206,"94":10240,"24":26,"16":30562690925592576,"45":878553801245837312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927543552001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:41:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30562690925592576,"km_value":30562690925592.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":878553801245837312,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927543552001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":878553801245837312}} 
[2026-09-07 16:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":173583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:46] local.INFO: GPS data processed {"connection_id":173583,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:46] local.INFO: Acknowledgment sent {"connection_id":173583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:46] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:46] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:41:46] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:46] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:41:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:46] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:46] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:41:49] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:49] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:41:49] local.INFO: IMEI packet received {"connection_id":174923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":174923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:41:50] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:50] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b8c4f20012cb2a640077516b0001e002527..."} 
[2026-09-07 16:41:50] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:41:50] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b8c"} 
[2026-09-07 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927395072001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779188000,"timestamp_ms":1788779188000,"timestamp_seconds":1788779188,"priority":1,"record_length":96,"hex_timestamp":"000001a07b8c4f20"} 
[2026-09-07 16:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-07 16:41:50] 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-07 16:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:41: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-07 16:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927395072001,"66":26158,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927395072001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927395072001,"power":26158,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:41:50] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:41:50] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:04] local.INFO: TCP Data received {"connection_id":173582,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b905a48012d7ac80005e41010000500ff29..."} 
[2026-09-07 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b905a48012d7ac80005e41010000500ff29..."} 
[2026-09-07 16:42:04] local.INFO: Processing buffer {"connection_id":173582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b905a48012d7ac80005e41010000500ff29..."} 
[2026-09-07 16:42:04] local.INFO: Packet analysis {"connection_id":173582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:04] local.INFO: Extracted packet for processing {"connection_id":173582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763021312,"raw_latitude":98832400,"longitude_deg":76.3021312,"latitude_deg":9.88324,"altitude":5,"angle":255,"satellites":41,"speed":17,"hex_longitude":"2d7ac800","hex_latitude":"05e41010","is_valid_coordinates":true} 
[2026-09-07 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927539712001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129434152339505152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479704064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:04] 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-07 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788779453000,"timestamp_ms":1788779453000,"timestamp_seconds":1788779453,"priority":1,"record_length":96,"hex_timestamp":"000001a07b905a48"} 
[2026-09-07 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:04] 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-07 16:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927539712001,"66":12939,"208":206,"85":15104,"24":17,"16":129434152339505152,"45":8847814074479704064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-09-07 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927539712001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129434152339505152,"km_value":129434152339505.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479704064,"description":"Unknown IO ID 45"} 
[2026-09-07 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927539712001,"power":12939,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8847814074479704064}} 
[2026-09-07 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":173582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:04] local.INFO: GPS data processed {"connection_id":173582,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:04] local.INFO: Acknowledgment sent {"connection_id":173582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:16] local.INFO: TCP Data received {"connection_id":173583,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90a098012d0c2500070751980011010820..."} 
[2026-09-07 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90a098012d0c2500070751980011010820..."} 
[2026-09-07 16:42:16] local.INFO: Processing buffer {"connection_id":173583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90a098012d0c2500070751980011010820..."} 
[2026-09-07 16:42:16] local.INFO: Packet analysis {"connection_id":173583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:16] local.INFO: Extracted packet for processing {"connection_id":173583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":755770624,"raw_latitude":117920152,"longitude_deg":75.5770624,"latitude_deg":11.7920152,"altitude":17,"angle":264,"satellites":32,"speed":33,"hex_longitude":"2d0c2500","hex_latitude":"07075198","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927543808001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30562806889709568,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877779745059837952,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788779471000,"timestamp_ms":1788779471000,"timestamp_seconds":1788779471,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90a098"} 
[2026-09-07 16: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-07 16:42:16] 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-07 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927543808001,"66":14439,"221":206,"94":10240,"24":33,"16":30562806889709568,"45":877779745059837952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-09-07 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927543808001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-09-07 16:42:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30562806889709568,"km_value":30562806889709.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":877779745059837952,"description":"Unknown IO ID 45"} 
[2026-09-07 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927543808001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":877779745059837952}} 
[2026-09-07 16:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":173583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:17] local.INFO: GPS data processed {"connection_id":173583,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:17] local.INFO: Acknowledgment sent {"connection_id":173583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:17] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:17] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:17] local.INFO: Packet analysis {"connection_id":173834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:17] local.INFO: Extracted packet for processing {"connection_id":173834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:42:17] 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-07 16:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":173834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:17] local.INFO: GPS data processed {"connection_id":173834,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:17] local.INFO: Acknowledgment sent {"connection_id":173834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:21] local.INFO: TCP Data received {"connection_id":174923,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:21] local.INFO: Processing buffer {"connection_id":174923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:21] local.INFO: Packet analysis {"connection_id":174923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:21] local.INFO: Extracted packet for processing {"connection_id":174923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:21] 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-07 16:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":174923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:21] local.INFO: GPS data processed {"connection_id":174923,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:21] local.INFO: Acknowledgment sent {"connection_id":174923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:27] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:27] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:27] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:42:29] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:29] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:42:29] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:30] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:42:30] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 16:42:30] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:40] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:40] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:40] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:42:41] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:42:41] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:41] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:44] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:44] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:44] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:42:45] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:45] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:42:45] local.INFO: IMEI packet received {"connection_id":174924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":174924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:45] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:45] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:42:45] local.INFO: IMEI packet received {"connection_id":173585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:46] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:46] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:42:46] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:46] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 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-07 16:42:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:46] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:46] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:46] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b919e80012d0bb140070718580014010021..."} 
[2026-09-07 16:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b919e80012d0bb140070718580014010021..."} 
[2026-09-07 16:42:46] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b919e80012d0bb140070718580014010021..."} 
[2026-09-07 16:42:46] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b91"} 
[2026-09-07 16:42:46] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b91"} 
[2026-09-07 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755740992,"raw_latitude":117905496,"longitude_deg":75.5740992,"latitude_deg":11.7905496,"altitude":20,"angle":256,"satellites":33,"speed":16,"hex_longitude":"2d0bb140","hex_latitude":"07071858","is_valid_coordinates":true} 
[2026-09-07 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-07 16:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927560960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30564752509894656,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842947216688072704,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779536000,"timestamp_ms":1788779536000,"timestamp_seconds":1788779536,"priority":1,"record_length":96,"hex_timestamp":"000001a07b919e80"} 
[2026-09-07 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-07 16:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927560960001,"66":14374,"163":206,"94":10240,"24":16,"16":30564752509894656,"45":842947216688072704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927560960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30564752509894656,"km_value":30564752509894.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":842947216688072704,"description":"Unknown IO ID 45"} 
[2026-09-07 16:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927560960001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":842947216688072704}} 
[2026-09-07 16:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:46] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:46] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:49] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:49] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:42:49] local.INFO: IMEI packet received {"connection_id":176330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":176330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:42:50] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:50] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:50] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:50] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:50] 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-07 16:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:50] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:50] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:42:55] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:55] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:42:55] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:55] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:42:55] 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-07 16:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:42:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:42:55] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:42:55] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:17] local.INFO: TCP Data received {"connection_id":174924,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:17] local.INFO: Processing buffer {"connection_id":174924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:17] local.INFO: Packet analysis {"connection_id":174924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:17] local.INFO: Extracted packet for processing {"connection_id":174924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:43:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":174924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:17] local.INFO: GPS data processed {"connection_id":174924,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:17] local.INFO: Acknowledgment sent {"connection_id":174924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:17] local.INFO: TCP Data received {"connection_id":173585,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b91aa38012d0bab8007071650001500f421..."} 
[2026-09-07 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b91aa38012d0bab8007071650001500f421..."} 
[2026-09-07 16:43:17] local.INFO: Processing buffer {"connection_id":173585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b91aa38012d0bab8007071650001500f421..."} 
[2026-09-07 16:43:17] local.INFO: Packet analysis {"connection_id":173585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b91"} 
[2026-09-07 16:43:17] local.INFO: Extracted packet for processing {"connection_id":173585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b91"} 
[2026-09-07 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":755739520,"raw_latitude":117904976,"longitude_deg":75.573952,"latitude_deg":11.7904976,"altitude":21,"angle":244,"satellites":33,"speed":23,"hex_longitude":"2d0bab80","hex_latitude":"07071650","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927561216001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30564825524338688,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842525004222978048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779539000,"timestamp_ms":1788779539000,"timestamp_seconds":1788779539,"priority":1,"record_length":96,"hex_timestamp":"000001a07b91aa38"} 
[2026-09-07 16: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-07 16:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927561216001,"66":14450,"163":206,"94":10240,"24":23,"16":30564825524338688,"45":842525004222978048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927561216001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30564825524338688,"km_value":30564825524338.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":842525004222978048,"description":"Unknown IO ID 45"} 
[2026-09-07 16:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927561216001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":842525004222978048}} 
[2026-09-07 16:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":173585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:17] local.INFO: GPS data processed {"connection_id":173585,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:17] local.INFO: Acknowledgment sent {"connection_id":173585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:26] local.INFO: TCP Data received {"connection_id":176330,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:26] local.INFO: Processing buffer {"connection_id":176330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:26] local.INFO: Packet analysis {"connection_id":176330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:26] local.INFO: Extracted packet for processing {"connection_id":176330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:43:26] 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-07 16:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":176330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:26] local.INFO: GPS data processed {"connection_id":176330,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:26] local.INFO: Acknowledgment sent {"connection_id":176330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:40] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:40] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:40] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:43:40] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:40] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:40] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:43:41] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:41] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:41] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:43:42] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:42] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:42] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:43:44] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:44] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:44] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:43:45] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:45] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:43:45] local.INFO: IMEI packet received {"connection_id":174926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":174926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:43:45] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:45] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:43:45] local.INFO: IMEI packet received {"connection_id":176331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:43:46] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b92d700012d0afb0007067d78000800d121..."} 
[2026-09-07 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b92d700012d0afb0007067d78000800d121..."} 
[2026-09-07 16:43:46] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b92d700012d0afb0007067d78000800d121..."} 
[2026-09-07 16:43:46] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:43:46] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755694336,"raw_latitude":117865848,"longitude_deg":75.5694336,"latitude_deg":11.7865848,"altitude":8,"angle":209,"satellites":33,"speed":25,"hex_longitude":"2d0afb00","hex_latitude":"07067d78","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927580416001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30567939375628288,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794111308219332608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779616000,"timestamp_ms":1788779616000,"timestamp_seconds":1788779616,"priority":1,"record_length":96,"hex_timestamp":"000001a07b92d700"} 
[2026-09-07 16: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-07 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927580416001,"66":14428,"163":206,"94":10240,"24":25,"16":30567939375628288,"45":794111308219332608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927580416001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30567939375628288,"km_value":30567939375628.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":794111308219332608,"description":"Unknown IO ID 45"} 
[2026-09-07 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927580416001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":794111308219332608}} 
[2026-09-07 16:43:46] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779772,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:46] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:46] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:46] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:43:46] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:46] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:43:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:43:46] 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-07 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:46] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:46] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:48] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b92e6a0012d0af74007067670000800e621..."} 
[2026-09-07 16:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b92e6a0012d0af74007067670000800e621..."} 
[2026-09-07 16:43:48] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b92e6a0012d0af74007067670000800e621..."} 
[2026-09-07 16:43:48] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:43:48] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":755693376,"raw_latitude":117864048,"longitude_deg":75.5693376,"latitude_deg":11.7864048,"altitude":8,"angle":230,"satellites":33,"speed":17,"hex_longitude":"2d0af740","hex_latitude":"07067670","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927581696001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30568038159876096,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791226189707311104,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788779620000,"timestamp_ms":1788779620000,"timestamp_seconds":1788779620,"priority":1,"record_length":96,"hex_timestamp":"000001a07b92e6a0"} 
[2026-09-07 16: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-07 16:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927581696001,"66":14407,"163":206,"94":10240,"24":17,"16":30568038159876096,"45":791226189707311104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927581696001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:43:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30568038159876096,"km_value":30568038159876.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":791226189707311104,"description":"Unknown IO ID 45"} 
[2026-09-07 16:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927581696001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":791226189707311104}} 
[2026-09-07 16:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:48] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:48] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:43:49] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:49] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:43:49] local.INFO: IMEI packet received {"connection_id":176332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":176332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:43:50] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:50] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:43:50] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:50] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:43:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:43:50] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:43:50] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:17] local.INFO: TCP Data received {"connection_id":174926,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:17] local.INFO: Processing buffer {"connection_id":174926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:17] local.INFO: Packet analysis {"connection_id":174926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:17] local.INFO: Extracted packet for processing {"connection_id":174926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:44:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:44:17] 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-07 16:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":174926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:18] local.INFO: GPS data processed {"connection_id":174926,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:18] local.INFO: Acknowledgment sent {"connection_id":174926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:20] local.INFO: TCP Data received {"connection_id":176331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b92ea88012d0af5c007067578000800f421..."} 
[2026-09-07 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b92ea88012d0af5c007067578000800f421..."} 
[2026-09-07 16:44:20] local.INFO: Processing buffer {"connection_id":176331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b92ea88012d0af5c007067578000800f421..."} 
[2026-09-07 16:44:20] local.INFO: Packet analysis {"connection_id":176331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:44:20] local.INFO: Extracted packet for processing {"connection_id":176331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755692992,"raw_latitude":117863800,"longitude_deg":75.5692992,"latitude_deg":11.78638,"altitude":8,"angle":244,"satellites":33,"speed":17,"hex_longitude":"2d0af5c0","hex_latitude":"07067578","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927582720001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30568059634712576,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790170658544185344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788779621000,"timestamp_ms":1788779621000,"timestamp_seconds":1788779621,"priority":1,"record_length":96,"hex_timestamp":"000001a07b92ea88"} 
[2026-09-07 16: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-07 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927582720001,"66":14537,"163":206,"94":10240,"24":17,"16":30568059634712576,"45":790170658544185344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927582720001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:44:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30568059634712576,"km_value":30568059634712.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":790170658544185344,"description":"Unknown IO ID 45"} 
[2026-09-07 16:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927582720001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":790170658544185344}} 
[2026-09-07 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":176331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779777,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:20] local.INFO: GPS data processed {"connection_id":176331,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:20] local.INFO: Acknowledgment sent {"connection_id":176331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:21] local.INFO: TCP Data received {"connection_id":176332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:21] local.INFO: Processing buffer {"connection_id":176332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:21] local.INFO: Packet analysis {"connection_id":176332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:21] local.INFO: Extracted packet for processing {"connection_id":176332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:44: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-07 16:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":176332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:21] local.INFO: GPS data processed {"connection_id":176332,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:21] local.INFO: Acknowledgment sent {"connection_id":176332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:40] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:40] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:40] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:44:40] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:40] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:40] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:44:43] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:44:43] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:43] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:44:44] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:44] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:44] local.INFO: IMEI packet received {"connection_id":176333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:44:45] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:45] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:44:45] local.INFO: IMEI packet received {"connection_id":173589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:44:46] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:46] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:44:46] local.INFO: IMEI packet received {"connection_id":173588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":173588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:44:46] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:46] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:44:46] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:46] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16: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-07 16:44:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:44:46] 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-07 16:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:46] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:46] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:47] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b92fe10012d0aee80070670e8000a00e421..."} 
[2026-09-07 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b92fe10012d0aee80070670e8000a00e421..."} 
[2026-09-07 16:44:47] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b92fe10012d0aee80070670e8000a00e421..."} 
[2026-09-07 16:44:47] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:44:47] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b92"} 
[2026-09-07 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117862632,"longitude_deg":75.5691136,"latitude_deg":11.7862632,"altitude":10,"angle":228,"satellites":33,"speed":10,"hex_longitude":"2d0aee80","hex_latitude":"070670e8","is_valid_coordinates":true} 
[2026-09-07 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927582976001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30568162713927680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789748446079055872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788779626000,"timestamp_ms":1788779626000,"timestamp_seconds":1788779626,"priority":1,"record_length":96,"hex_timestamp":"000001a07b92fe10"} 
[2026-09-07 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927582976001,"66":14363,"163":206,"94":10240,"24":10,"16":30568162713927680,"45":789748446079055872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927582976001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30568162713927680,"km_value":30568162713927.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":789748446079055872,"description":"Unknown IO ID 45"} 
[2026-09-07 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927582976001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":789748446079055872}} 
[2026-09-07 16:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:47] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:47] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:48] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9301f8012d0aee4007067058000a00d821..."} 
[2026-09-07 16:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9301f8012d0aee4007067058000a00d821..."} 
[2026-09-07 16:44:48] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9301f8012d0aee4007067058000a00d821..."} 
[2026-09-07 16:44:48] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b93"} 
[2026-09-07 16:44:48] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b93"} 
[2026-09-07 16:44:48] local.INFO: GPS Element Parsed {"raw_longitude":755691072,"raw_latitude":117862488,"longitude_deg":75.5691072,"latitude_deg":11.7862488,"altitude":10,"angle":216,"satellites":33,"speed":5,"hex_longitude":"2d0aee40","hex_latitude":"07067058","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927584256001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30568171303862272,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787707752497604608,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788779627000,"timestamp_ms":1788779627000,"timestamp_seconds":1788779627,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9301f8"} 
[2026-09-07 16: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-07 16:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:48] 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-07 16: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-07 16: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-07 16:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927584256001,"66":14374,"163":206,"94":10240,"24":5,"16":30568171303862272,"45":787707752497604608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927584256001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:48] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:44:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30568171303862272,"km_value":30568171303862.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":787707752497604608,"description":"Unknown IO ID 45"} 
[2026-09-07 16:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927584256001,"power":14374,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":787707752497604608}} 
[2026-09-07 16:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779781,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:48] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:48] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:44:49] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:49] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:44:49] local.INFO: IMEI packet received {"connection_id":176333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":176333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:44:50] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:50] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:44:50] local.INFO: Packet analysis {"connection_id":176333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:50] local.INFO: Extracted packet for processing {"connection_id":176333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:44:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":176333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:44:50] local.INFO: GPS data processed {"connection_id":176333,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:44:50] local.INFO: Acknowledgment sent {"connection_id":176333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:07] local.INFO: TCP Data received {"connection_id":176334,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:07] local.INFO: Processing buffer {"connection_id":176334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:07] local.INFO: IMEI packet received {"connection_id":176334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":176334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:45:17] local.INFO: TCP Data received {"connection_id":173589,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:17] local.INFO: Processing buffer {"connection_id":173589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:17] local.INFO: Packet analysis {"connection_id":173589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:17] local.INFO: Extracted packet for processing {"connection_id":173589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:45:17] 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-07 16:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:45:17] 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-07 16:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":173589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:17] local.INFO: GPS data processed {"connection_id":173589,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:17] local.INFO: Acknowledgment sent {"connection_id":173589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:18] local.INFO: TCP Data received {"connection_id":173588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b932908012d0aee4007066de0000c00a421..."} 
[2026-09-07 16:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b932908012d0aee4007066de0000c00a421..."} 
[2026-09-07 16:45:18] local.INFO: Processing buffer {"connection_id":173588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b932908012d0aee4007066de0000c00a421..."} 
[2026-09-07 16:45:18] local.INFO: Packet analysis {"connection_id":173588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b93"} 
[2026-09-07 16:45:18] local.INFO: Extracted packet for processing {"connection_id":173588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b93"} 
[2026-09-07 16:45:18] local.INFO: GPS Element Parsed {"raw_longitude":755691072,"raw_latitude":117861856,"longitude_deg":75.5691072,"latitude_deg":11.7861856,"altitude":12,"angle":164,"satellites":33,"speed":9,"hex_longitude":"2d0aee40","hex_latitude":"07066de0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927584512001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30568205663600640,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787637383753390080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788779637000,"timestamp_ms":1788779637000,"timestamp_seconds":1788779637,"priority":1,"record_length":96,"hex_timestamp":"000001a07b932908"} 
[2026-09-07 16: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-07 16:45:18] 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-07 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:18] 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-07 16: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-07 16: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-07 16:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927584512001,"66":14515,"163":206,"94":10240,"24":9,"16":30568205663600640,"45":787637383753390080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-09-07 16:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927584512001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:18] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 16:45:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30568205663600640,"km_value":30568205663600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":787637383753390080,"description":"Unknown IO ID 45"} 
[2026-09-07 16:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927584512001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":787637383753390080}} 
[2026-09-07 16:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":173588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779784,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:19] local.INFO: GPS data processed {"connection_id":173588,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:19] local.INFO: Acknowledgment sent {"connection_id":173588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:21] local.INFO: TCP Data received {"connection_id":176333,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:21] local.INFO: Processing buffer {"connection_id":176333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:21] local.INFO: Packet analysis {"connection_id":176333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:21] local.INFO: Extracted packet for processing {"connection_id":176333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:45: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-07 16:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":176333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:21] local.INFO: GPS data processed {"connection_id":176333,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:21] local.INFO: Acknowledgment sent {"connection_id":176333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:40] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:40] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:40] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:45:41] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:45:41] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:41] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:45:44] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:44] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:44] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:45:45] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:45] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:45:45] local.INFO: IMEI packet received {"connection_id":176335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:45:46] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:46] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:45:46] local.INFO: IMEI packet received {"connection_id":174928,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":174928,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:45:46] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:46] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:45:46] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:46] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:45:46] 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-07 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:45:46] 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-07 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:46] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:46] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:46] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9459b8012d0b4fc0070602a80010001521..."} 
[2026-09-07 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9459b8012d0b4fc0070602a80010001521..."} 
[2026-09-07 16:45:46] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9459b8012d0b4fc0070602a80010001521..."} 
[2026-09-07 16:45:46] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:45:46] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":755716032,"raw_latitude":117834408,"longitude_deg":75.5716032,"latitude_deg":11.7834408,"altitude":16,"angle":21,"satellites":33,"speed":9,"hex_longitude":"2d0b4fc0","hex_latitude":"070602a8","is_valid_coordinates":true} 
[2026-09-07 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927605760001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570129808949248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277668352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779715000,"timestamp_ms":1788779715000,"timestamp_seconds":1788779715,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9459b8"} 
[2026-09-07 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927605760001,"66":14407,"165":206,"94":10240,"24":9,"16":30570129808949248,"45":814447875277668352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927605760001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570129808949248,"km_value":30570129808949.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277668352,"description":"Unknown IO ID 45"} 
[2026-09-07 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927605760001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":814447875277668352}} 
[2026-09-07 16:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779787,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:46] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:46] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:45:46] local.INFO: TCP Data received {"connection_id":173837,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:46] local.INFO: Processing buffer {"connection_id":173837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:45:46] local.INFO: IMEI packet received {"connection_id":173837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":173837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:45:49] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:49] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:45:49] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:45:52] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:52] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:45:52] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:52] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:45:52] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:45:52] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:45:52] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:17] local.INFO: TCP Data received {"connection_id":176335,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:46:17] local.INFO: Processing buffer {"connection_id":176335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b903338012d196500071ff0200040011f23..."} 
[2026-09-07 16:46:17] local.INFO: Packet analysis {"connection_id":176335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:17] local.INFO: Extracted packet for processing {"connection_id":176335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927460352001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779443000,"timestamp_ms":1788779443000,"timestamp_seconds":1788779443,"priority":1,"record_length":96,"hex_timestamp":"000001a07b903338"} 
[2026-09-07 16:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:46:17] 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-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:46:17] 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-07 16:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927460352001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927460352001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927460352001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":176335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:17] local.INFO: GPS data processed {"connection_id":176335,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:17] local.INFO: Acknowledgment sent {"connection_id":176335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:17] local.INFO: TCP Data received {"connection_id":174928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b946570012d0b5180070605b00012002021..."} 
[2026-09-07 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b946570012d0b5180070605b00012002021..."} 
[2026-09-07 16:46:17] local.INFO: Processing buffer {"connection_id":174928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b946570012d0b5180070605b00012002021..."} 
[2026-09-07 16:46:17] local.INFO: Packet analysis {"connection_id":174928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:17] local.INFO: Extracted packet for processing {"connection_id":174928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:17] local.INFO: GPS Element Parsed {"raw_longitude":755716480,"raw_latitude":117835184,"longitude_deg":75.571648,"latitude_deg":11.7835184,"altitude":18,"angle":32,"satellites":33,"speed":11,"hex_longitude":"2d0b5180","hex_latitude":"070605b0","is_valid_coordinates":true} 
[2026-09-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927607040001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570172758622208,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815081193975490560,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779718000,"timestamp_ms":1788779718000,"timestamp_seconds":1788779718,"priority":1,"record_length":96,"hex_timestamp":"000001a07b946570"} 
[2026-09-07 16:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174928,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927607040001,"66":14396,"165":206,"94":10240,"24":11,"16":30570172758622208,"45":815081193975490560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927607040001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570172758622208,"km_value":30570172758622.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":815081193975490560,"description":"Unknown IO ID 45"} 
[2026-09-07 16:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927607040001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":815081193975490560}} 
[2026-09-07 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":174928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:18] local.INFO: GPS data processed {"connection_id":174928,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:18] local.INFO: Acknowledgment sent {"connection_id":174928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:23] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:23] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:23] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:23] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:46:23] local.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-07 16:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:23] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:23] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:23] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:40] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:40] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:40] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:46:44] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:44] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:44] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:46:45] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:45] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:45] local.INFO: IMEI packet received {"connection_id":176337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":176337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:46:46] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:46] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:46:46] local.INFO: IMEI packet received {"connection_id":174929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":174929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:46:46] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b946d40012d0b5280070607b00012001421..."} 
[2026-09-07 16:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b946d40012d0b5280070607b00012001421..."} 
[2026-09-07 16:46:46] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b946d40012d0b5280070607b00012001421..."} 
[2026-09-07 16:46:46] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:46] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":117835696,"longitude_deg":75.5716736,"latitude_deg":11.7835696,"altitude":18,"angle":20,"satellites":33,"speed":10,"hex_longitude":"2d0b5280","hex_latitude":"070607b0","is_valid_coordinates":true} 
[2026-09-07 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-07 16:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927607808001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570198528425984,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815573775184932864,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779720000,"timestamp_ms":1788779720000,"timestamp_seconds":1788779720,"priority":1,"record_length":96,"hex_timestamp":"000001a07b946d40"} 
[2026-09-07 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-07 16:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:46] 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-07 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-07 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-07 16:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927607808001,"66":14559,"165":206,"94":10240,"24":10,"16":30570198528425984,"45":815573775184932864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927607808001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:46:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570198528425984,"km_value":30570198528425.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":815573775184932864,"description":"Unknown IO ID 45"} 
[2026-09-07 16:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927607808001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":815573775184932864}} 
[2026-09-07 16:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:46] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:46] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:49] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:49] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:46:49] local.INFO: IMEI packet received {"connection_id":176338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":176338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:46:50] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:50] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:46:50] local.INFO: IMEI packet received {"connection_id":176337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":176337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:46:50] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:50] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b90e6e8012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:46:50] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:50] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b90"} 
[2026-09-07 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927472128001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779489000,"timestamp_ms":1788779489000,"timestamp_seconds":1788779489,"priority":1,"record_length":96,"hex_timestamp":"000001a07b90e6e8"} 
[2026-09-07 16: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-07 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:46: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-07 16:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927472128001,"66":26115,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927472128001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927472128001,"power":26115,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:50] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:50] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:46:51] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:46:51] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:46:51] local.INFO: Packet analysis {"connection_id":176337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:51] local.INFO: Extracted packet for processing {"connection_id":176337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:46: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-07 16:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 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-07 16:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:46:51] 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-07 16:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":176337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:46:51] local.INFO: GPS data processed {"connection_id":176337,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:46:51] local.INFO: Acknowledgment sent {"connection_id":176337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:18] local.INFO: TCP Data received {"connection_id":174929,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94bb60012d0b544007060b400014001821..."} 
[2026-09-07 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94bb60012d0b544007060b400014001821..."} 
[2026-09-07 16:47:18] local.INFO: Processing buffer {"connection_id":174929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94bb60012d0b544007060b400014001821..."} 
[2026-09-07 16:47:18] local.INFO: Packet analysis {"connection_id":174929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:18] local.INFO: Extracted packet for processing {"connection_id":174929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836608,"longitude_deg":75.5717184,"latitude_deg":11.7836608,"altitude":20,"angle":24,"satellites":33,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060b40","is_valid_coordinates":true} 
[2026-09-07 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927608320001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570250068033536,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250161774592,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788779740000,"timestamp_ms":1788779740000,"timestamp_seconds":1788779740,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94bb60"} 
[2026-09-07 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:47:18] 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-07 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927608320001,"66":14396,"165":206,"94":10240,"24":0,"16":30570250068033536,"45":815855250161774592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927608320001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:18] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:47:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570250068033536,"km_value":30570250068033.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250161774592,"description":"Unknown IO ID 45"} 
[2026-09-07 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927608320001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815855250161774592}} 
[2026-09-07 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":174929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:18] local.INFO: GPS data processed {"connection_id":174929,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:18] local.INFO: Acknowledgment sent {"connection_id":174929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:21] local.INFO: TCP Data received {"connection_id":176338,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:21] local.INFO: Processing buffer {"connection_id":176338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:21] local.INFO: Packet analysis {"connection_id":176338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:21] local.INFO: Extracted packet for processing {"connection_id":176338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16: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-07 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:47: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-07 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":176338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:21] local.INFO: GPS data processed {"connection_id":176338,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:21] local.INFO: Acknowledgment sent {"connection_id":176338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:22] local.INFO: TCP Data received {"connection_id":176337,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:22] local.INFO: Processing buffer {"connection_id":176337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:22] local.INFO: Packet analysis {"connection_id":176337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:22] local.INFO: Extracted packet for processing {"connection_id":176337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47: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-07 16:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 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-07 16:47:22] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":176337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:22] local.INFO: GPS data processed {"connection_id":176337,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:22] local.INFO: Acknowledgment sent {"connection_id":176337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:32] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:47:32] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:47:32] local.INFO: IMEI packet received {"connection_id":174930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":174930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:47:33] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b948c80012d7b258005e29328000800ab1f..."} 
[2026-09-07 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b948c80012d7b258005e29328000800ab1f..."} 
[2026-09-07 16:47:33] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b948c80012d7b258005e29328000800ab1f..."} 
[2026-09-07 16:47:33] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:33] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98734888,"longitude_deg":76.3045248,"latitude_deg":9.8734888,"altitude":8,"angle":171,"satellites":31,"speed":42,"hex_longitude":"2d7b2580","hex_latitude":"05e29328","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927608320001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129440242603130880,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872407508992,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788779728000,"timestamp_ms":1788779728000,"timestamp_seconds":1788779728,"priority":1,"record_length":96,"hex_timestamp":"000001a07b948c80"} 
[2026-09-07 16: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-07 16:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":1970324871345415168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2481227777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-07 16:47:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3685351424,"corrected_to":0} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810144256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.WARNING: Large IO value detected {"io_id":147,"raw_value":-6201455392039583739,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,220,160,78,45,128,216,9,28,10,66,38,64,251,8,33,236,1,240,18,227,219,123,4,113,205,2,15,35,239,51,203,5,3,147],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":203,"original":3685351424,"validated":0}]} 
[2026-09-07 16:47:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576648897643806720,"timestamp_seconds":576648897643806.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16: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-07 16:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927608320001,"66":13602,"207":206,"85":15104,"24":42,"16":129440242603130880,"45":8872583872407508992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927608320001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:34] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:47:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129440242603130880,"km_value":129440242603130.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872407508992,"description":"Unknown IO ID 45"} 
[2026-09-07 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927608320001,"power":13602,"unknown_207":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8872583872407508992}} 
[2026-09-07 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:34] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:34] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:40] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:40] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:40] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:47:40] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:40] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:40] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:47:44] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:44] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:44] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:47:45] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:45] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:47:45] local.INFO: IMEI packet received {"connection_id":173839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:47:45] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:45] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:47:45] local.INFO: IMEI packet received {"connection_id":173591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:47:46] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:46] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:47:46] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:46] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:47:46] 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-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:47:46] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b950d68012d0b544007060b400014001821..."} 
[2026-09-07 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b950d68012d0b544007060b400014001821..."} 
[2026-09-07 16:47:46] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b950d68012d0b544007060b400014001821..."} 
[2026-09-07 16:47:46] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:46] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836608,"longitude_deg":75.5717184,"latitude_deg":11.7836608,"altitude":20,"angle":24,"satellites":33,"speed":0,"hex_longitude":"2d0b5440","hex_latitude":"07060b40","is_valid_coordinates":true} 
[2026-09-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927613440001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570250068033536,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371251712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779761000,"timestamp_ms":1788779761000,"timestamp_seconds":1788779761,"priority":1,"record_length":96,"hex_timestamp":"000001a07b950d68"} 
[2026-09-07 16:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:46] 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-07 16:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927613440001,"66":14548,"165":206,"94":10240,"24":0,"16":30570250068033536,"45":816347831371251712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927613440001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570250068033536,"km_value":30570250068033.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371251712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927613440001,"power":14548,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816347831371251712}} 
[2026-09-07 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:46] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:46] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779800,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:46] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:46] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:47:49] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:49] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:49] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:47:54] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:54] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:47:54] local.INFO: IMEI packet received {"connection_id":173592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":173592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:47:55] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:55] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:47:55] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:55] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16: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-07 16:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:47:55] 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-07 16:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:47:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:47:55] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:47:55] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:00] local.INFO: TCP Data received {"connection_id":173592,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:00] local.INFO: Processing buffer {"connection_id":173592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:00] local.INFO: Packet analysis {"connection_id":173592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:00] local.INFO: Extracted packet for processing {"connection_id":173592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:48: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-07 16:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:48:00] 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-07 16:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":173592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:00] local.INFO: GPS data processed {"connection_id":173592,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:00] local.INFO: Acknowledgment sent {"connection_id":173592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:05] local.INFO: TCP Data received {"connection_id":174930,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94b390012d7b2a0005e26f28000700aa1f..."} 
[2026-09-07 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94b390012d7b2a0005e26f28000700aa1f..."} 
[2026-09-07 16:48:05] local.INFO: Processing buffer {"connection_id":174930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94b390012d7b2a0005e26f28000700aa1f..."} 
[2026-09-07 16:48:05] local.INFO: Packet analysis {"connection_id":174930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:05] local.INFO: Extracted packet for processing {"connection_id":174930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763046400,"raw_latitude":98725672,"longitude_deg":76.30464,"latitude_deg":9.8725672,"altitude":7,"angle":170,"satellites":31,"speed":26,"hex_longitude":"2d7b2a00","hex_latitude":"05e26f28","is_valid_coordinates":true} 
[2026-09-07 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927610368001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129440689279729664,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403567917056,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:05] 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-07 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788779738000,"timestamp_ms":1788779738000,"timestamp_seconds":1788779738,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94b390"} 
[2026-09-07 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:05] 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-07 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927610368001,"66":13830,"207":206,"85":15104,"24":26,"16":129440689279729664,"45":8873639403567917056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927610368001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129440689279729664,"km_value":129440689279729.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403567917056,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927610368001,"power":13830,"unknown_207":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8873639403567917056}} 
[2026-09-07 16:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":174930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:05] local.INFO: GPS data processed {"connection_id":174930,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:05] local.INFO: Acknowledgment sent {"connection_id":174930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:17] local.INFO: TCP Data received {"connection_id":173839,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:17] local.INFO: Processing buffer {"connection_id":173839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:17] local.INFO: Packet analysis {"connection_id":173839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:17] local.INFO: Extracted packet for processing {"connection_id":173839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16: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-07 16:48:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:48:17] 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-07 16:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":173839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:17] local.INFO: GPS data processed {"connection_id":173839,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:17] local.INFO: Acknowledgment sent {"connection_id":173839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:27] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:27] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:27] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:48:32] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:32] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:48:32] local.INFO: IMEI packet received {"connection_id":174931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":174931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:48:33] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94ee28012d7b304005e24a10000400ab23..."} 
[2026-09-07 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94ee28012d7b304005e24a10000400ab23..."} 
[2026-09-07 16:48:33] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94ee28012d7b304005e24a10000400ab23..."} 
[2026-09-07 16:48:33] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:33] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98716176,"longitude_deg":76.3048,"latitude_deg":9.8716176,"altitude":4,"angle":171,"satellites":35,"speed":35,"hex_longitude":"2d7b3040","hex_latitude":"05e24a10","is_valid_coordinates":true} 
[2026-09-07 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927612928001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129441157431164928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874906040960755712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788779753000,"timestamp_ms":1788779753000,"timestamp_seconds":1788779753,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94ee28"} 
[2026-09-07 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":562958559150080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627198727168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-5187815289198213661,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2485579777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":226,"raw_value":4224188424,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2147869464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3685613568,"corrected_to":0} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810074624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-6917520229029183482,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:33] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,207,85,24,241,157,16,221,160,140,45,128,147,8,31,10,66,109,192,181,30,208,220,78,1,240,148,227,123,226,4,113,205,236,15,168,35,239,52,2,203,5,25],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0},{"io_id":203,"original":3685613568,"validated":0}]} 
[2026-09-07 16:48:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504590208387907584,"timestamp_seconds":504590208387907.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927612928001,"66":13678,"207":206,"85":15104,"24":35,"16":129441157431164928,"45":8874906040960755712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-09-07 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927612928001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129441157431164928,"km_value":129441157431164.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874906040960755712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927612928001,"power":13678,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8874906040960755712}} 
[2026-09-07 16:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:33] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:33] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:40] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:40] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:40] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:48:41] local.INFO: TCP Data received {"connection_id":173591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b952ca8012d0b544007060b00001400c521..."} 
[2026-09-07 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b952ca8012d0b544007060b00001400c521..."} 
[2026-09-07 16:48:41] local.INFO: Processing buffer {"connection_id":173591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b952ca8012d0b544007060b00001400c521..."} 
[2026-09-07 16:48:41] local.INFO: Packet analysis {"connection_id":173591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:41] local.INFO: Extracted packet for processing {"connection_id":173591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755717184,"raw_latitude":117836544,"longitude_deg":75.5717184,"latitude_deg":11.7836544,"altitude":20,"angle":197,"satellites":33,"speed":2,"hex_longitude":"2d0b5440","hex_latitude":"07060b00","is_valid_coordinates":true} 
[2026-09-07 16:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927618816001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30570254363000832,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816347831371251712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788779769000,"timestamp_ms":1788779769000,"timestamp_seconds":1788779769,"priority":1,"record_length":96,"hex_timestamp":"000001a07b952ca8"} 
[2026-09-07 16:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927618816001,"66":14374,"165":206,"94":10240,"24":2,"16":30570254363000832,"45":816347831371251712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-09-07 16:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927618816001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 16:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30570254363000832,"km_value":30570254363000.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":816347831371251712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927618816001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816347831371251712}} 
[2026-09-07 16:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":173591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779806,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:41] local.INFO: GPS data processed {"connection_id":173591,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:41] local.INFO: Acknowledgment sent {"connection_id":173591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:43] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:43] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:43] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:48:44] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:44] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:44] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:48:45] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:45] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:48:45] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:48:46] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:46] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:46] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:48:46] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:46] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:48:46] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:46] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16: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-07 16:48:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:48:46] 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-07 16:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:46] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:46] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:48] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:48] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:48:48] local.INFO: IMEI packet received {"connection_id":174932,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":174932,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:48:48] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b973c00012d0b8cc00705d6e0000c007922..."} 
[2026-09-07 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b973c00012d0b8cc00705d6e0000c007922..."} 
[2026-09-07 16:48:48] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b973c00012d0b8cc00705d6e0000c007922..."} 
[2026-09-07 16:48:48] local.INFO: Packet analysis {"connection_id":174932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:48:48] local.INFO: Extracted packet for processing {"connection_id":174932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:48:48] local.INFO: GPS Element Parsed {"raw_longitude":755731648,"raw_latitude":117823200,"longitude_deg":75.5731648,"latitude_deg":11.78232,"altitude":12,"angle":121,"satellites":34,"speed":0,"hex_longitude":"2d0b8cc0","hex_latitude":"0705d6e0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927650048001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30571383939399680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832251167551971328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788779904000,"timestamp_ms":1788779904000,"timestamp_seconds":1788779904,"priority":1,"record_length":96,"hex_timestamp":"000001a07b973c00"} 
[2026-09-07 16: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-07 16:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927650048001,"66":14352,"164":206,"94":10240,"24":0,"16":30571383939399680,"45":832251167551971328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 16:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927650048001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:48] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 16:48:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30571383939399680,"km_value":30571383939399.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":832251167551971328,"description":"Unknown IO ID 45"} 
[2026-09-07 16:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927650048001,"power":14352,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":832251167551971328}} 
[2026-09-07 16:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":174932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:48] local.INFO: GPS data processed {"connection_id":174932,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:48] local.INFO: Acknowledgment sent {"connection_id":174932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:48:49] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:49] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:48:49] local.INFO: IMEI packet received {"connection_id":173594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":173594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:48:50] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:50] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:48:50] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:50] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 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-07 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 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-07 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:48:50] 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-07 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:48:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:48:50] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:48:50] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:05] local.INFO: TCP Data received {"connection_id":174931,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9766f8012d7b59c005e103a8000400aa21..."} 
[2026-09-07 16:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9766f8012d7b59c005e103a8000400aa21..."} 
[2026-09-07 16:49:05] local.INFO: Processing buffer {"connection_id":174931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9766f8012d7b59c005e103a8000400aa21..."} 
[2026-09-07 16:49:05] local.INFO: Packet analysis {"connection_id":174931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:49:05] local.INFO: Extracted packet for processing {"connection_id":174931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":98632616,"longitude_deg":76.3058624,"latitude_deg":9.8632616,"altitude":4,"angle":170,"satellites":33,"speed":38,"hex_longitude":"2d7b59c0","hex_latitude":"05e103a8","is_valid_coordinates":true} 
[2026-09-07 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927655424001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252472834048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129445267714867200,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:05] 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-07 16:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788779915000,"timestamp_ms":1788779915000,"timestamp_seconds":1788779915,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9766f8"} 
[2026-09-07 16:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:05] 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-07 16:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927655424001,"66":13678,"45":8886587252472834048,"85":15104,"24":38,"16":129445267714867200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 16:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927655424001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252472834048,"description":"Unknown IO ID 45"} 
[2026-09-07 16:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129445267714867200,"km_value":129445267714867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927655424001,"power":13678,"unknown_45":8886587252472834048,"unknown_85":15104,"ignition":38,"odometer":null}} 
[2026-09-07 16:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":174931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:05] local.INFO: GPS data processed {"connection_id":174931,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:05] local.INFO: Acknowledgment sent {"connection_id":174931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:17] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:17] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:17] local.INFO: Packet analysis {"connection_id":173840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:49:17] local.INFO: Extracted packet for processing {"connection_id":173840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16: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-07 16:49:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:49:17] 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-07 16:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":173840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:17] local.INFO: GPS data processed {"connection_id":173840,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:17] local.INFO: Acknowledgment sent {"connection_id":173840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:21] local.INFO: TCP Data received {"connection_id":173594,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:21] local.INFO: Processing buffer {"connection_id":173594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:21] local.INFO: Packet analysis {"connection_id":173594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:49:21] local.INFO: Extracted packet for processing {"connection_id":173594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":173594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:21] local.INFO: GPS data processed {"connection_id":173594,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:21] local.INFO: Acknowledgment sent {"connection_id":173594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:27] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:27] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:27] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:49:32] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:32] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:49:32] local.INFO: IMEI packet received {"connection_id":176340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":176340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:49:33] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b978e08012d7b5f8005e0ddc8000200a920..."} 
[2026-09-07 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b978e08012d7b5f8005e0ddc8000200a920..."} 
[2026-09-07 16:49:33] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b978e08012d7b5f8005e0ddc8000200a920..."} 
[2026-09-07 16:49:33] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:49:33] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763060096,"raw_latitude":98622920,"longitude_deg":76.3060096,"latitude_deg":9.862292,"altitude":2,"angle":169,"satellites":32,"speed":39,"hex_longitude":"2d7b5f80","hex_latitude":"05e0ddc8","is_valid_coordinates":true} 
[2026-09-07 16:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927658240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129445740161269760,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888346471074867200,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788779925000,"timestamp_ms":1788779925000,"timestamp_seconds":1788779925,"priority":1,"record_length":96,"hex_timestamp":"000001a07b978e08"} 
[2026-09-07 16:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927658240001,"66":13917,"217":206,"85":15104,"24":39,"16":129445740161269760,"45":8888346471074867200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-07 16:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927658240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 16:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129445740161269760,"km_value":129445740161269.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888346471074867200,"description":"Unknown IO ID 45"} 
[2026-09-07 16:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927658240001,"power":13917,"unknown_217":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8888346471074867200}} 
[2026-09-07 16:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:33] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:33] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:40] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:40] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:40] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:49:44] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:44] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:44] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:49:45] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:45] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:49:45] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:49:46] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:46] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:49:46] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:49:46] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:49:46] 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-07 16:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:49:46] 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-07 16:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:46] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:46] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:49:49] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:49] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:49:49] local.INFO: IMEI packet received {"connection_id":176341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":176341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:49:50] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:50] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:49:50] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:49:50] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:49:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16: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-07 16:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:49:50] 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-07 16:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:49:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:49:50] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:49:50] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:05] local.INFO: TCP Data received {"connection_id":176340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b97b900012d7b650005e0bb00000200a821..."} 
[2026-09-07 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b97b900012d7b650005e0bb00000200a821..."} 
[2026-09-07 16:50:05] local.INFO: Processing buffer {"connection_id":176340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b97b900012d7b650005e0bb00000200a821..."} 
[2026-09-07 16:50:05] local.INFO: Packet analysis {"connection_id":176340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:05] local.INFO: Extracted packet for processing {"connection_id":176340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763061504,"raw_latitude":98614016,"longitude_deg":76.3061504,"latitude_deg":9.8614016,"altitude":2,"angle":168,"satellites":33,"speed":19,"hex_longitude":"2d7b6500","hex_latitude":"05e0bb00","is_valid_coordinates":true} 
[2026-09-07 16:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927660800001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129446178247933952,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889964952188471296,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788779936000,"timestamp_ms":1788779936000,"timestamp_seconds":1788779936,"priority":1,"record_length":96,"hex_timestamp":"000001a07b97b900"} 
[2026-09-07 16:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:05] 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-07 16:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927660800001,"66":13787,"217":206,"85":15104,"24":19,"16":129446178247933952,"45":8889964952188471296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-07 16:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927660800001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 16:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129446178247933952,"km_value":129446178247933.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889964952188471296,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927660800001,"power":13787,"unknown_217":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8889964952188471296}} 
[2026-09-07 16:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":176340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:05] local.INFO: GPS data processed {"connection_id":176340,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:05] local.INFO: Acknowledgment sent {"connection_id":176340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:17] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:17] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:17] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:50:17] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16: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-07 16:50:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:50:17] 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-07 16:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:17] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:17] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:21] local.INFO: TCP Data received {"connection_id":176341,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:21] local.INFO: Processing buffer {"connection_id":176341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:21] local.INFO: Packet analysis {"connection_id":176341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:50:21] local.INFO: Extracted packet for processing {"connection_id":176341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16: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-07 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:50: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-07 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":176341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:21] local.INFO: GPS data processed {"connection_id":176341,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:21] local.INFO: Acknowledgment sent {"connection_id":176341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:28] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:28] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:28] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:50:33] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:33] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:33] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:50:34] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:34] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:50:34] local.INFO: IMEI packet received {"connection_id":173596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":173596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:50:38] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b97fb68012d7b6b4005e096c0000300a921..."} 
[2026-09-07 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b97fb68012d7b6b4005e096c0000300a921..."} 
[2026-09-07 16:50:38] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b97fb68012d7b6b4005e096c0000300a921..."} 
[2026-09-07 16:50:38] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:38] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":98604736,"longitude_deg":76.3063104,"latitude_deg":9.8604736,"altitude":3,"angle":169,"satellites":33,"speed":35,"hex_longitude":"2d7b6b40","hex_latitude":"05e096c0","is_valid_coordinates":true} 
[2026-09-07 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927663616001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129446637809434624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891513064558100480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788779953000,"timestamp_ms":1788779953000,"timestamp_seconds":1788779953,"priority":1,"record_length":96,"hex_timestamp":"000001a07b97fb68"} 
[2026-09-07 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:38] 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-07 16:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927663616001,"66":13319,"217":206,"85":15104,"24":35,"16":129446637809434624,"45":8891513064558100480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-07 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927663616001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 16:50:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129446637809434624,"km_value":129446637809434.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891513064558100480,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927663616001,"power":13319,"unknown_217":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8891513064558100480}} 
[2026-09-07 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:38] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:38] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:39] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b982a48012d7b708005e07408000400ac1d..."} 
[2026-09-07 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b982a48012d7b708005e07408000400ac1d..."} 
[2026-09-07 16:50:39] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b982a48012d7b708005e07408000400ac1d..."} 
[2026-09-07 16:50:39] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b98"} 
[2026-09-07 16:50:39] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b98"} 
[2026-09-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763064448,"raw_latitude":98595848,"longitude_deg":76.3064448,"latitude_deg":9.8595848,"altitude":4,"angle":172,"satellites":29,"speed":40,"hex_longitude":"2d7b7080","hex_latitude":"05e07408","is_valid_coordinates":true} 
[2026-09-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927667968001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129447071601131520,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893272283160166400,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788779965000,"timestamp_ms":1788779965000,"timestamp_seconds":1788779965,"priority":1,"record_length":96,"hex_timestamp":"000001a07b982a48"} 
[2026-09-07 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-8829307043679034880,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2537291777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3782146048,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3221610828,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812238,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3774087168,"corrected_to":0} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":121,"raw_value":57788325419701563,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":150,"raw_value":8414977198595014661,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,217,85,24,241,157,16,227,160,185,45,187,2,33,10,66,226,142,128,221,32,102,192,1,240,110,225,123,4,113,205,29,5,77,104,31,239,53,203,14,121,150],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0},{"io_id":203,"original":3774087168,"validated":0}]} 
[2026-09-07 16:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216358741315092480,"timestamp_seconds":216358741315092.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927667968001,"66":13493,"217":206,"85":15104,"24":40,"16":129447071601131520,"45":8893272283160166400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927667968001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129447071601131520,"km_value":129447071601131.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893272283160166400,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927667968001,"power":13493,"unknown_217":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8893272283160166400}} 
[2026-09-07 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:39] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:39] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:39] local.INFO: TCP Data received {"connection_id":174932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9747b8012d0b8f800705d570000c006e22..."} 
[2026-09-07 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9747b8012d0b8f800705d570000c006e22..."} 
[2026-09-07 16:50:39] local.INFO: Processing buffer {"connection_id":174932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9747b8012d0b8f800705d570000c006e22..."} 
[2026-09-07 16:50:39] local.INFO: Packet analysis {"connection_id":174932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:39] local.INFO: Extracted packet for processing {"connection_id":174932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b97"} 
[2026-09-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":755732352,"raw_latitude":117822832,"longitude_deg":75.5732352,"latitude_deg":11.7822832,"altitude":12,"angle":110,"satellites":34,"speed":12,"hex_longitude":"2d0b8f80","hex_latitude":"0705d570","is_valid_coordinates":true} 
[2026-09-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927655424001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30571422594105344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832251167551971328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788779907000,"timestamp_ms":1788779907000,"timestamp_seconds":1788779907,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9747b8"} 
[2026-09-07 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5630449258856704,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504066095316992,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2519883777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3868196884,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511397,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3372272999,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2611544064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84736394404496895,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.WARNING: Large IO value detected {"io_id":11,"raw_value":5584471260278554644,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:39] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,164,94,24,241,157,16,156,160,233,45,192,214,12,33,10,66,165,151,64,215,13,32,73,1,240,103,227,123,5,4,113,205,34,239,77,8,56,2,108,7,20,206,88,11],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-09-07 16:50:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864824315390984192,"timestamp_seconds":864824315390984.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":174932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":174932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":174932,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927655424001,"66":14461,"164":206,"94":10240,"24":12,"16":30571422594105344,"45":832251167551971328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927655424001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30571422594105344,"km_value":30571422594105.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":832251167551971328,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927655424001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":832251167551971328}} 
[2026-09-07 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":174932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:39] local.INFO: GPS data processed {"connection_id":174932,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:39] local.INFO: Acknowledgment sent {"connection_id":174932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:40] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:40] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:40] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:50:44] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:44] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:44] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:50:45] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:45] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:50:45] local.INFO: IMEI packet received {"connection_id":173842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:50:45] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:45] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:45] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:50:46] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:46] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:50:46] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:50:46] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:46] 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-07 16:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:50:46] 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-07 16:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:46] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:46] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:49] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:49] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:50:49] local.INFO: IMEI packet received {"connection_id":176343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":176343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:50:50] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:50] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:50:50] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:50:50] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:50: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-07 16:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:50: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:50: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-07 16:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:50] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:50] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:50:51] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:51] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:50:51] local.INFO: IMEI packet received {"connection_id":173597,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":173597,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:50:52] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b98ce58012d0c64c0070525f0001d00ac22..."} 
[2026-09-07 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b98ce58012d0c64c0070525f0001d00ac22..."} 
[2026-09-07 16:50:52] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b98ce58012d0c64c0070525f0001d00ac22..."} 
[2026-09-07 16:50:52] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b98"} 
[2026-09-07 16:50:52] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b98"} 
[2026-09-07 16:50:52] local.INFO: GPS Element Parsed {"raw_longitude":755786944,"raw_latitude":117777904,"longitude_deg":75.5786944,"latitude_deg":11.7777904,"altitude":29,"angle":172,"satellites":34,"speed":33,"hex_longitude":"2d0c64c0","hex_latitude":"070525f0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927680000001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30575034661601280,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891572018883661824,"note":"Value kept but may cause issues"} 
[2026-09-07 16:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788780007000,"timestamp_ms":1788780007000,"timestamp_seconds":1788780007,"priority":1,"record_length":96,"hex_timestamp":"000001a07b98ce58"} 
[2026-09-07 16: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-07 16:50: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-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:50: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-07 16: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-07 16: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-07 16:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927680000001,"66":14396,"164":206,"94":10240,"24":33,"16":30575034661601280,"45":891572018883661824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-09-07 16:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927680000001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:50:52] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-09-07 16:50:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30575034661601280,"km_value":30575034661601.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":891572018883661824,"description":"Unknown IO ID 45"} 
[2026-09-07 16:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927680000001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":891572018883661824}} 
[2026-09-07 16:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:50:52] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:50:52] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:01] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:51:02] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:51:02] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:51:10] local.INFO: TCP Data received {"connection_id":173596,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b996a98012d7b9fc005deba10000e00b021..."} 
[2026-09-07 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b996a98012d7b9fc005deba10000e00b021..."} 
[2026-09-07 16:51:10] local.INFO: Processing buffer {"connection_id":173596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b996a98012d7b9fc005deba10000e00b021..."} 
[2026-09-07 16:51:10] local.INFO: Packet analysis {"connection_id":173596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:10] local.INFO: Extracted packet for processing {"connection_id":173596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763076544,"raw_latitude":98482704,"longitude_deg":76.3076544,"latitude_deg":9.8482704,"altitude":14,"angle":176,"satellites":33,"speed":52,"hex_longitude":"2d7b9fc0","hex_latitude":"05deba10","is_valid_coordinates":true} 
[2026-09-07 16:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927690240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129452594929074176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907416400711088128,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788780047000,"timestamp_ms":1788780047000,"timestamp_seconds":1788780047,"priority":1,"record_length":96,"hex_timestamp":"000001a07b996a98"} 
[2026-09-07 16:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:51: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-07 16:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927690240001,"66":13993,"44":206,"85":15104,"24":52,"16":129452594929074176,"45":8907416400711088128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-07 16:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927690240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 16:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129452594929074176,"km_value":129452594929074.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907416400711088128,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927690240001,"power":13993,"unknown_44":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8907416400711088128}} 
[2026-09-07 16:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":173596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:10] local.INFO: GPS data processed {"connection_id":173596,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:10] local.INFO: Acknowledgment sent {"connection_id":173596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:17] local.INFO: TCP Data received {"connection_id":173842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:51:17] local.INFO: Processing buffer {"connection_id":173842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b94cb00012d196500071ff0200040011f22..."} 
[2026-09-07 16:51:17] local.INFO: Packet analysis {"connection_id":173842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:51:17] local.INFO: Extracted packet for processing {"connection_id":173842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b94"} 
[2026-09-07 16:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927537408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788779744000,"timestamp_ms":1788779744000,"timestamp_seconds":1788779744,"priority":1,"record_length":96,"hex_timestamp":"000001a07b94cb00"} 
[2026-09-07 16:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:51:17] 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-07 16:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:51:17] 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-07 16:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927537408001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927537408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927537408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":173842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:17] local.INFO: GPS data processed {"connection_id":173842,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:17] local.INFO: Acknowledgment sent {"connection_id":173842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:21] local.INFO: TCP Data received {"connection_id":176343,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:21] local.INFO: Processing buffer {"connection_id":176343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:21] local.INFO: Packet analysis {"connection_id":176343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:51:21] local.INFO: Extracted packet for processing {"connection_id":176343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":176343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:21] local.INFO: GPS data processed {"connection_id":176343,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:21] local.INFO: Acknowledgment sent {"connection_id":176343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:23] local.INFO: TCP Data received {"connection_id":173597,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99d7f8012d0cb7800704bda00024006522..."} 
[2026-09-07 16:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99d7f8012d0cb7800704bda00024006522..."} 
[2026-09-07 16:51:23] local.INFO: Processing buffer {"connection_id":173597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99d7f8012d0cb7800704bda00024006522..."} 
[2026-09-07 16:51:23] local.INFO: Packet analysis {"connection_id":173597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:23] local.INFO: Extracted packet for processing {"connection_id":173597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755808128,"raw_latitude":117751200,"longitude_deg":75.5808128,"latitude_deg":11.77512,"altitude":36,"angle":101,"satellites":34,"speed":23,"hex_longitude":"2d0cb780","hex_latitude":"0704bda0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927697920001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30576804188127232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912964117105563648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788780075000,"timestamp_ms":1788780075000,"timestamp_seconds":1788780075,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99d7f8"} 
[2026-09-07 16: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-07 16:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:23] 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-07 16: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-07 16: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-07 16:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173597,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927697920001,"66":14439,"95":206,"94":10240,"24":23,"16":30576804188127232,"45":912964117105563648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927697920001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:23] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30576804188127232,"km_value":30576804188127.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":912964117105563648,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927697920001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":912964117105563648}} 
[2026-09-07 16:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":173597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:23] local.INFO: GPS data processed {"connection_id":173597,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:23] local.INFO: Acknowledgment sent {"connection_id":173597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:33] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:51:33] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:51:33] local.INFO: IMEI packet received {"connection_id":173598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":173598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:34] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9985f0012d7ba2c005de9538000e00b020..."} 
[2026-09-07 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9985f0012d7ba2c005de9538000e00b020..."} 
[2026-09-07 16:51:34] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9985f0012d7ba2c005de9538000e00b020..."} 
[2026-09-07 16:51:34] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:34] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763077312,"raw_latitude":98473272,"longitude_deg":76.3077312,"latitude_deg":9.8473272,"altitude":14,"angle":176,"satellites":32,"speed":54,"hex_longitude":"2d7ba2c0","hex_latitude":"05de9538","is_valid_coordinates":true} 
[2026-09-07 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927692032001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129453050195607552,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908049719406235648,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788780054000,"timestamp_ms":1788780054000,"timestamp_seconds":1788780054,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9985f0"} 
[2026-09-07 16:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927692032001,"66":13559,"44":206,"85":15104,"24":54,"16":129453050195607552,"45":8908049719406235648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-07 16:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927692032001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 16:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129453050195607552,"km_value":129453050195607.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908049719406235648,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927692032001,"power":13559,"unknown_44":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8908049719406235648}} 
[2026-09-07 16:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:34] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:34] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:40] local.INFO: TCP Data received {"connection_id":174933,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:40] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:40] local.INFO: IMEI packet received {"connection_id":174933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":174933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:51:43] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:43] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:43] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:51:44] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:44] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:44] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:51:45] local.INFO: TCP Data received {"connection_id":174933,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:45] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:51:45] local.INFO: IMEI packet received {"connection_id":174933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":174933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:46] local.INFO: TCP Data received {"connection_id":174933,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:51:46] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:51:46] local.INFO: Packet analysis {"connection_id":174933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:46] local.INFO: Extracted packet for processing {"connection_id":174933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:51:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:51:46] 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-07 16:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":174933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:46] local.INFO: GPS data processed {"connection_id":174933,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:46] local.INFO: Acknowledgment sent {"connection_id":174933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:47] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:47] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:47] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:49] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:49] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:51:49] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:50] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:50] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b957eb0012cb2a640077516b0001e00252a..."} 
[2026-09-07 16:51:50] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:51:50] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b95"} 
[2026-09-07 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927549184001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788779790000,"timestamp_ms":1788779790000,"timestamp_seconds":1788779790,"priority":1,"record_length":96,"hex_timestamp":"000001a07b957eb0"} 
[2026-09-07 16: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-07 16:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:51:50] 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-07 16:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927549184001,"66":26006,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927549184001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927549184001,"power":26006,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:50] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:50] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:51:51] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:51] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:51:51] local.INFO: IMEI packet received {"connection_id":173599,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":173599,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:51:51] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99dfc8012d0cbc000704bd480025005a21..."} 
[2026-09-07 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99dfc8012d0cbc000704bd480025005a21..."} 
[2026-09-07 16:51:51] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99dfc8012d0cbc000704bd480025005a21..."} 
[2026-09-07 16:51:51] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:51] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":755809280,"raw_latitude":117751112,"longitude_deg":75.580928,"latitude_deg":11.7751112,"altitude":37,"angle":90,"satellites":33,"speed":20,"hex_longitude":"2d0cbc00","hex_latitude":"0704bd48","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927699200001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30576860022702080,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916341816825847808,"note":"Value kept but may cause issues"} 
[2026-09-07 16:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788780077000,"timestamp_ms":1788780077000,"timestamp_seconds":1788780077,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99dfc8"} 
[2026-09-07 16: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-07 16:51:51] 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-07 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16: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-07 16:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927699200001,"66":14461,"95":206,"94":10240,"24":20,"16":30576860022702080,"45":916341816825847808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927699200001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:51:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:51:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30576860022702080,"km_value":30576860022702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":916341816825847808,"description":"Unknown IO ID 45"} 
[2026-09-07 16:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927699200001,"power":14461,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":916341816825847808}} 
[2026-09-07 16:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779832,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:51:52] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:51:52] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:06] local.INFO: TCP Data received {"connection_id":173598,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99a530012d7ba6c005de7158001000ac20..."} 
[2026-09-07 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99a530012d7ba6c005de7158001000ac20..."} 
[2026-09-07 16:52:06] local.INFO: Processing buffer {"connection_id":173598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99a530012d7ba6c005de7158001000ac20..."} 
[2026-09-07 16:52:06] local.INFO: Packet analysis {"connection_id":173598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:06] local.INFO: Extracted packet for processing {"connection_id":173598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763078336,"raw_latitude":98464088,"longitude_deg":76.3078336,"latitude_deg":9.8464088,"altitude":16,"angle":172,"satellites":32,"speed":46,"hex_longitude":"2d7ba6c0","hex_latitude":"05de7158","is_valid_coordinates":true} 
[2026-09-07 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927693824001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129453501167173632,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908894144333953024,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788780062000,"timestamp_ms":1788780062000,"timestamp_seconds":1788780062,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99a530"} 
[2026-09-07 16:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927693824001,"66":13646,"44":206,"85":15104,"24":46,"16":129453501167173632,"45":8908894144333953024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-07 16:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927693824001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 16:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129453501167173632,"km_value":129453501167173.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908894144333953024,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927693824001,"power":13646,"unknown_44":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8908894144333953024}} 
[2026-09-07 16:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":173598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:06] local.INFO: GPS data processed {"connection_id":173598,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:06] local.INFO: Acknowledgment sent {"connection_id":173598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:17] local.INFO: TCP Data received {"connection_id":174933,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:17] local.INFO: Processing buffer {"connection_id":174933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:17] local.INFO: Packet analysis {"connection_id":174933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:17] local.INFO: Extracted packet for processing {"connection_id":174933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:52:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:52:17] 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-07 16:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":174933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:17] local.INFO: GPS data processed {"connection_id":174933,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:17] local.INFO: Acknowledgment sent {"connection_id":174933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:20] local.INFO: TCP Data received {"connection_id":173599,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99ef68012d0cc4000704be680027004b22..."} 
[2026-09-07 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99ef68012d0cc4000704be680027004b22..."} 
[2026-09-07 16:52:20] local.INFO: Processing buffer {"connection_id":173599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99ef68012d0cc4000704be680027004b22..."} 
[2026-09-07 16:52:20] local.INFO: Packet analysis {"connection_id":173599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:20] local.INFO: Extracted packet for processing {"connection_id":173599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:20] local.INFO: GPS Element Parsed {"raw_longitude":755811328,"raw_latitude":117751400,"longitude_deg":75.5811328,"latitude_deg":11.77514,"altitude":39,"angle":75,"satellites":34,"speed":20,"hex_longitude":"2d0cc400","hex_latitude":"0704be68","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927699712001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30576958806949888,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917608454221023232,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788780081000,"timestamp_ms":1788780081000,"timestamp_seconds":1788780081,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99ef68"} 
[2026-09-07 16: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-07 16:52:20] 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-07 16:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:20] 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-07 16: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-07 16: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-07 16:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173599,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927699712001,"66":14439,"95":206,"94":10240,"24":20,"16":30576958806949888,"45":917608454221023232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927699712001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:52:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30576958806949888,"km_value":30576958806949.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":917608454221023232,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927699712001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":917608454221023232}} 
[2026-09-07 16:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":173599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:20] local.INFO: GPS data processed {"connection_id":173599,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:20] local.INFO: Acknowledgment sent {"connection_id":173599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:24] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:24] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:24] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:24] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927626240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788780091000,"timestamp_ms":1788780091000,"timestamp_seconds":1788780091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1678"} 
[2026-09-07 16:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:24] 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-07 16:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927626240001,"66":25973,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927626240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927626240001,"power":25973,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:24] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:24] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:28] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:52:28] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:28] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:52:32] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:33] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:52:33] local.INFO: IMEI packet received {"connection_id":173601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":173601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:52:33] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99c470012d7bad4005de4c50001100a820..."} 
[2026-09-07 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99c470012d7bad4005de4c50001100a820..."} 
[2026-09-07 16:52:33] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99c470012d7bad4005de4c50001100a820..."} 
[2026-09-07 16:52:33] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:33] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763080000,"raw_latitude":98454608,"longitude_deg":76.308,"latitude_deg":9.8454608,"altitude":17,"angle":168,"satellites":32,"speed":50,"hex_longitude":"2d7bad40","hex_latitude":"05de4c50","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927695872001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129453965023641600,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910020044238444544,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780070000,"timestamp_ms":1788780070000,"timestamp_seconds":1788780070,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99c470"} 
[2026-09-07 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927695872001,"66":13059,"44":206,"85":15104,"24":50,"16":129453965023641600,"45":8910020044238444544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-07 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927695872001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129453965023641600,"km_value":129453965023641.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910020044238444544,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927695872001,"power":13059,"unknown_44":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8910020044238444544}} 
[2026-09-07 16:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:33] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:33] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:40] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:40] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:40] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:52:41] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:41] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:41] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:52:44] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:44] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:44] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:52:45] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:45] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:52:45] local.INFO: IMEI packet received {"connection_id":176344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":176344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:52:46] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:46] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:52:46] local.INFO: IMEI packet received {"connection_id":176345,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":176345,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:52:46] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:46] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:52:46] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:46] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 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-07 16:52:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:52:46] 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-07 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:46] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:46] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:46] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a02f0012d0cce400704c1080027005c22..."} 
[2026-09-07 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a02f0012d0cce400704c1080027005c22..."} 
[2026-09-07 16:52:46] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a02f0012d0cce400704c1080027005c22..."} 
[2026-09-07 16:52:46] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:46] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":755813952,"raw_latitude":117752072,"longitude_deg":75.5813952,"latitude_deg":11.7752072,"altitude":39,"angle":92,"satellites":34,"speed":22,"hex_longitude":"2d0cce40","hex_latitude":"0704c108","is_valid_coordinates":true} 
[2026-09-07 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-07 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927700736001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30577091950936064,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919860254034782208,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780086000,"timestamp_ms":1788780086000,"timestamp_seconds":1788780086,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a02f0"} 
[2026-09-07 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-07 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927700736001,"66":14309,"95":206,"94":10240,"24":22,"16":30577091950936064,"45":919860254034782208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927700736001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 16:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30577091950936064,"km_value":30577091950936.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":919860254034782208,"description":"Unknown IO ID 45"} 
[2026-09-07 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927700736001,"power":14309,"unknown_95":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":919860254034782208}} 
[2026-09-07 16:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779839,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:47] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:47] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:49] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:49] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:52:49] local.INFO: IMEI packet received {"connection_id":176346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:52:50] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:50] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:50] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:50] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927626240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780091000,"timestamp_ms":1788780091000,"timestamp_seconds":1788780091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1678"} 
[2026-09-07 16:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:50] 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-07 16:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927626240001,"66":25973,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927626240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927626240001,"power":25973,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:50] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:50] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:52:55] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:55] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:52:55] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:55] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:52:55] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927626240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780091000,"timestamp_ms":1788780091000,"timestamp_seconds":1788780091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1678"} 
[2026-09-07 16: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-07 16:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 16:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:52:55] 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-07 16:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927626240001,"66":25973,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927626240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:52:55] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927626240001,"power":25973,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:52:55] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:52:55] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:04] local.INFO: TCP Data received {"connection_id":173601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b99e3b0012d7bb44005de2930001300a71f..."} 
[2026-09-07 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b99e3b0012d7bb44005de2930001300a71f..."} 
[2026-09-07 16:53:04] local.INFO: Processing buffer {"connection_id":173601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b99e3b0012d7bb44005de2930001300a71f..."} 
[2026-09-07 16:53:04] local.INFO: Packet analysis {"connection_id":173601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:04] local.INFO: Extracted packet for processing {"connection_id":173601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763081792,"raw_latitude":98445616,"longitude_deg":76.3081792,"latitude_deg":9.8445616,"altitude":19,"angle":167,"satellites":31,"speed":33,"hex_longitude":"2d7bb440","hex_latitude":"05de2930","is_valid_coordinates":true} 
[2026-09-07 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927697920001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129454411700240384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911849631584636928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788780078000,"timestamp_ms":1788780078000,"timestamp_seconds":1788780078,"priority":1,"record_length":96,"hex_timestamp":"000001a07b99e3b0"} 
[2026-09-07 16:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303175411223947,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2572107777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3749183501,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338783438,"corrected_to":0} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040139,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3221610247,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":103,"raw_value":58077557095399491,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3885105152,"corrected_to":0} 
[2026-09-07 16:53:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3744305152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,44,85,24,241,157,16,233,160,165,45,192,113,32,10,66,133,149,14,232,106,1,240,169,227,123,222,4,205,56,51,154,128,33,239,103,2,203,5,12,67],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2338783438,"validated":0},{"io_id":203,"original":3885105152,"validated":0}]} 
[2026-09-07 16:53:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225163954040471552,"timestamp_seconds":1225163954040471.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927697920001,"66":13504,"44":206,"85":15104,"24":33,"16":129454411700240384,"45":8911849631584636928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-09-07 16:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927697920001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 16:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129454411700240384,"km_value":129454411700240.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911849631584636928,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927697920001,"power":13504,"unknown_44":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8911849631584636928}} 
[2026-09-07 16:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":173601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:04] local.INFO: GPS data processed {"connection_id":173601,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:04] local.INFO: Acknowledgment sent {"connection_id":173601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:17] local.INFO: TCP Data received {"connection_id":176344,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:17] local.INFO: Processing buffer {"connection_id":176344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:17] local.INFO: Packet analysis {"connection_id":176344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:17] local.INFO: Extracted packet for processing {"connection_id":176344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:53:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:53:17] 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-07 16:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":176344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:17] local.INFO: GPS data processed {"connection_id":176344,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:17] local.INFO: Acknowledgment sent {"connection_id":176344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:18] local.INFO: TCP Data received {"connection_id":176345,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9b33a0012d0d3a4007049f90001800be22..."} 
[2026-09-07 16:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9b33a0012d0d3a4007049f90001800be22..."} 
[2026-09-07 16:53:18] local.INFO: Processing buffer {"connection_id":176345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9b33a0012d0d3a4007049f90001800be22..."} 
[2026-09-07 16:53:18] local.INFO: Packet analysis {"connection_id":176345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:53:18] local.INFO: Extracted packet for processing {"connection_id":176345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:53:18] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117743504,"longitude_deg":75.58416,"latitude_deg":11.7743504,"altitude":24,"angle":190,"satellites":34,"speed":9,"hex_longitude":"2d0d3a40","hex_latitude":"07049f90","is_valid_coordinates":true} 
[2026-09-07 16:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927721984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30578792757985280,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670028795904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788780164000,"timestamp_ms":1788780164000,"timestamp_seconds":1788780164,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9b33a0"} 
[2026-09-07 16:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:53:18] 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-07 16:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176345,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927721984001,"66":14396,"17":206,"94":11008,"24":9,"16":30578792757985280,"45":953144670028795904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927721984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30578792757985280,"km_value":30578792757985.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670028795904,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927721984001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":953144670028795904}} 
[2026-09-07 16:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":176345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779844,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:18] local.INFO: GPS data processed {"connection_id":176345,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:18] local.INFO: Acknowledgment sent {"connection_id":176345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:26] local.INFO: TCP Data received {"connection_id":176346,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:26] local.INFO: Processing buffer {"connection_id":176346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:26] local.INFO: Packet analysis {"connection_id":176346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:26] local.INFO: Extracted packet for processing {"connection_id":176346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927626240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788780091000,"timestamp_ms":1788780091000,"timestamp_seconds":1788780091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1678"} 
[2026-09-07 16:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:53:26] 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-07 16:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927626240001,"66":25973,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927626240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927626240001,"power":25973,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":176346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:26] local.INFO: GPS data processed {"connection_id":176346,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:26] local.INFO: Acknowledgment sent {"connection_id":176346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:28] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:28] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:28] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:53:33] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:33] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:53:33] local.INFO: IMEI packet received {"connection_id":174934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":174934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:53:34] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1a60012d7bbb4005de0618001400ab20..."} 
[2026-09-07 16:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1a60012d7bbb4005de0618001400ab20..."} 
[2026-09-07 16:53:34] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1a60012d7bbb4005de0618001400ab20..."} 
[2026-09-07 16:53:34] local.INFO: Packet analysis {"connection_id":174934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:34] local.INFO: Extracted packet for processing {"connection_id":174934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":98436632,"longitude_deg":76.3083584,"latitude_deg":9.8436632,"altitude":20,"angle":171,"satellites":32,"speed":19,"hex_longitude":"2d7bbb40","hex_latitude":"05de0618","is_valid_coordinates":true} 
[2026-09-07 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927699968001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913819956419309568,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129454854081871872,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:34] 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-07 16:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788780092000,"timestamp_ms":1788780092000,"timestamp_seconds":1788780092,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1a60"} 
[2026-09-07 16:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:34] 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-07 16:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927699968001,"66":13972,"45":8913819956419309568,"85":15104,"24":19,"16":129454854081871872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-09-07 16:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927699968001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913819956419309568,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129454854081871872,"km_value":129454854081871.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927699968001,"power":13972,"unknown_45":8913819956419309568,"unknown_85":15104,"ignition":19,"odometer":null}} 
[2026-09-07 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":174934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:34] local.INFO: GPS data processed {"connection_id":174934,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:34] local.INFO: Acknowledgment sent {"connection_id":174934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:40] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:40] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:40] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:53:40] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:40] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:40] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:53:44] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:44] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:44] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:53:45] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:45] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:53:45] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:53:46] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:46] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:53:46] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:53:46] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:46] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:53:46] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:46] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:53:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:53:46] 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-07 16:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:46] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:46] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:46] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9b85a8012d0d39c007048f60001900b922..."} 
[2026-09-07 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9b85a8012d0d39c007048f60001900b922..."} 
[2026-09-07 16:53:46] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9b85a8012d0d39c007048f60001900b922..."} 
[2026-09-07 16:53:46] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:53:46] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":755841472,"raw_latitude":117739360,"longitude_deg":75.5841472,"latitude_deg":11.773936,"altitude":25,"angle":185,"satellites":34,"speed":17,"hex_longitude":"2d0d39c0","hex_latitude":"07048f60","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927721984001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30578994621448192,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670028795904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780185000,"timestamp_ms":1788780185000,"timestamp_seconds":1788780185,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9b85a8"} 
[2026-09-07 16: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-07 16:53:46] 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-07 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:46] 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-07 16: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-07 16: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-07 16:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927721984001,"66":14515,"17":206,"94":11008,"24":17,"16":30578994621448192,"45":953144670028795904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927721984001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30578994621448192,"km_value":30578994621448.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670028795904,"description":"Unknown IO ID 45"} 
[2026-09-07 16:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927721984001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":953144670028795904}} 
[2026-09-07 16:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779848,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:46] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:46] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:53:49] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:49] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:53:49] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:53:50] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:50] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9a1678012cb2a640077516b0001e002529..."} 
[2026-09-07 16:53:50] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:50] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9a"} 
[2026-09-07 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927626240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780091000,"timestamp_ms":1788780091000,"timestamp_seconds":1788780091,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9a1678"} 
[2026-09-07 16:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 16:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:53: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-07 16:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927626240001,"66":25973,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927626240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927626240001,"power":25973,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:53:50] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:53:50] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:05] local.INFO: TCP Data received {"connection_id":174934,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c21e8012d7bea4005dc36a8000a00b322..."} 
[2026-09-07 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c21e8012d7bea4005dc36a8000a00b322..."} 
[2026-09-07 16:54:05] local.INFO: Processing buffer {"connection_id":174934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c21e8012d7bea4005dc36a8000a00b322..."} 
[2026-09-07 16:54:05] local.INFO: Packet analysis {"connection_id":174934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:05] local.INFO: Extracted packet for processing {"connection_id":174934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763095616,"raw_latitude":98317992,"longitude_deg":76.3095616,"latitude_deg":9.8317992,"altitude":10,"angle":179,"satellites":34,"speed":46,"hex_longitude":"2d7bea40","hex_latitude":"05dc36a8","is_valid_coordinates":true} 
[2026-09-07 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927735040001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129460656582688768,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236387119104,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788780225000,"timestamp_ms":1788780225000,"timestamp_seconds":1788780225,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c21e8"} 
[2026-09-07 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:05] 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-07 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927735040001,"66":13787,"168":206,"85":15104,"24":46,"16":129460656582688768,"45":8928949236387119104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-07 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927735040001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 16:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129460656582688768,"km_value":129460656582688.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236387119104,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927735040001,"power":13787,"unknown_168":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8928949236387119104}} 
[2026-09-07 16:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":174934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:05] local.INFO: GPS data processed {"connection_id":174934,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:05] local.INFO: Acknowledgment sent {"connection_id":174934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:17] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:17] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:17] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:54:17] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:54:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:54:17] 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-07 16:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:17] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:17] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:18] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ba4e8012d0d3840070483b8001900c422..."} 
[2026-09-07 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ba4e8012d0d3840070483b8001900c422..."} 
[2026-09-07 16:54:18] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ba4e8012d0d3840070483b8001900c422..."} 
[2026-09-07 16:54:18] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:54:18] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":755841088,"raw_latitude":117736376,"longitude_deg":75.5841088,"latitude_deg":11.7736376,"altitude":25,"angle":196,"satellites":34,"speed":7,"hex_longitude":"2d0d3840","hex_latitude":"070483b8","is_valid_coordinates":true} 
[2026-09-07 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927727360001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30579140650336256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953003932539379712,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788780193000,"timestamp_ms":1788780193000,"timestamp_seconds":1788780193,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ba4e8"} 
[2026-09-07 16:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927727360001,"66":14157,"17":206,"94":11008,"24":7,"16":30579140650336256,"45":953003932539379712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927727360001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30579140650336256,"km_value":30579140650336.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":953003932539379712,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927727360001,"power":14157,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":953003932539379712}} 
[2026-09-07 16:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779852,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:18] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:18] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:21] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c0690012cb2a640077516b0001e002529..."} 
[2026-09-07 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c0690012cb2a640077516b0001e002529..."} 
[2026-09-07 16:54:21] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c0690012cb2a640077516b0001e002529..."} 
[2026-09-07 16:54:21] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:21] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114032,"longitude_deg":74.9905472,"latitude_deg":12.5114032,"altitude":30,"angle":37,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077516b0","is_valid_coordinates":true} 
[2026-09-07 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 16:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927703296001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788780218000,"timestamp_ms":1788780218000,"timestamp_seconds":1788780218,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c0690"} 
[2026-09-07 16: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-07 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 16: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:54: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-07 16:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927703296001,"66":25952,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927703296001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927703296001,"power":25952,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:21] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:21] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:26] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:26] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:26] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:54:27] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:27] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:27] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:32] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:32] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:54:32] local.INFO: IMEI packet received {"connection_id":176347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:33] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c4128012d7bec8005dc0f60000c00af23..."} 
[2026-09-07 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c4128012d7bec8005dc0f60000c00af23..."} 
[2026-09-07 16:54:33] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c4128012d7bec8005dc0f60000c00af23..."} 
[2026-09-07 16:54:33] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:33] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98307936,"longitude_deg":76.3096192,"latitude_deg":9.8307936,"altitude":12,"angle":175,"satellites":35,"speed":52,"hex_longitude":"2d7bec80","hex_latitude":"05dc0f60","is_valid_coordinates":true} 
[2026-09-07 16:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927737600001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129461146208960512,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929019605129013248,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780233000,"timestamp_ms":1788780233000,"timestamp_seconds":1788780233,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c4128"} 
[2026-09-07 16:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:33] 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-07 16:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927737600001,"66":13406,"168":206,"85":15104,"24":52,"16":129461146208960512,"45":8929019605129013248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-07 16:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927737600001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 16:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129461146208960512,"km_value":129461146208960.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929019605129013248,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927737600001,"power":13406,"unknown_168":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8929019605129013248}} 
[2026-09-07 16:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:33] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:33] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:39] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:39] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:39] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:54:40] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:40] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:40] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:54:40] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:40] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:40] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:44] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:44] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:44] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:54:45] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:45] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:54:45] local.INFO: IMEI packet received {"connection_id":173603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":173603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:46] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:46] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:54:46] local.INFO: IMEI packet received {"connection_id":173602,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173602,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:46] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:46] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:54:46] local.INFO: Packet analysis {"connection_id":173603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:54:46] local.INFO: Extracted packet for processing {"connection_id":173603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:54:46] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:54:46] 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-07 16:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:46] local.INFO: GPS data processed {"connection_id":173603,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:46] local.INFO: Acknowledgment sent {"connection_id":173603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:46] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9bb0a0012d0d37c0070480f8001800b722..."} 
[2026-09-07 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9bb0a0012d0d37c0070480f8001800b722..."} 
[2026-09-07 16:54:46] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9bb0a0012d0d37c0070480f8001800b722..."} 
[2026-09-07 16:54:46] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:54:46] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117735672,"longitude_deg":75.584096,"latitude_deg":11.7735672,"altitude":24,"angle":183,"satellites":34,"speed":9,"hex_longitude":"2d0d37c0","hex_latitude":"070480f8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927729408001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30579175010074624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952581720073549824,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780196000,"timestamp_ms":1788780196000,"timestamp_seconds":1788780196,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9bb0a0"} 
[2026-09-07 16: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-07 16:54:46] 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-07 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:46] 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-07 16: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-07 16: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-07 16:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927729408001,"66":14461,"17":206,"94":11008,"24":9,"16":30579175010074624,"45":952581720073549824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927729408001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30579175010074624,"km_value":30579175010074.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":952581720073549824,"description":"Unknown IO ID 45"} 
[2026-09-07 16:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927729408001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":952581720073549824}} 
[2026-09-07 16:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779856,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:46] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:46] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:54:49] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:49] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:54:49] local.INFO: IMEI packet received {"connection_id":174935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:54:50] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c6450012cb2a640077517a0001e00292a..."} 
[2026-09-07 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c6450012cb2a640077517a0001e00292a..."} 
[2026-09-07 16:54:50] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c6450012cb2a640077517a0001e00292a..."} 
[2026-09-07 16:54:50] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:50] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114272,"longitude_deg":74.9905472,"latitude_deg":12.5114272,"altitude":30,"angle":41,"satellites":42,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077517a0","is_valid_coordinates":true} 
[2026-09-07 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927735808001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088051040256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780242000,"timestamp_ms":1788780242000,"timestamp_seconds":1788780242,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c6450"} 
[2026-09-07 16:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:54: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-07 16:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927735808001,"66":27767,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088051040256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927735808001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:54:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088051040256,"description":"Unknown IO ID 44"} 
[2026-09-07 16:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927735808001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088051040256}} 
[2026-09-07 16:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:54:50] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:54:50] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:04] local.INFO: TCP Data received {"connection_id":176347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c6450012d7bf04005dbea98000e00aa1f..."} 
[2026-09-07 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c6450012d7bf04005dbea98000e00aa1f..."} 
[2026-09-07 16:55:04] local.INFO: Processing buffer {"connection_id":176347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c6450012d7bf04005dbea98000e00aa1f..."} 
[2026-09-07 16:55:04] local.INFO: Packet analysis {"connection_id":176347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:04] local.INFO: Extracted packet for processing {"connection_id":176347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763097152,"raw_latitude":98298520,"longitude_deg":76.3097152,"latitude_deg":9.829852,"altitude":14,"angle":170,"satellites":31,"speed":45,"hex_longitude":"2d7bf040","hex_latitude":"05dbea98","is_valid_coordinates":true} 
[2026-09-07 16:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927739648001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129461605770461184,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923824037888,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788780242000,"timestamp_ms":1788780242000,"timestamp_seconds":1788780242,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c6450"} 
[2026-09-07 16:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:04] 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-07 16:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927739648001,"66":13928,"168":206,"85":15104,"24":45,"16":129461605770461184,"45":8929652923824037888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-07 16:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927739648001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129461605770461184,"km_value":129461605770461.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923824037888,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927739648001,"power":13928,"unknown_168":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8929652923824037888}} 
[2026-09-07 16:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":176347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:04] local.INFO: GPS data processed {"connection_id":176347,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:04] local.INFO: Acknowledgment sent {"connection_id":176347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:17] local.INFO: TCP Data received {"connection_id":173603,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:17] local.INFO: Processing buffer {"connection_id":173603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:17] local.INFO: Packet analysis {"connection_id":173603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:55:17] local.INFO: Extracted packet for processing {"connection_id":173603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:55:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:55:17] 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-07 16:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":173603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:17] local.INFO: GPS data processed {"connection_id":173603,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:17] local.INFO: Acknowledgment sent {"connection_id":173603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:17] local.INFO: TCP Data received {"connection_id":173602,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9bd3c8012d0d364007047500001600c622..."} 
[2026-09-07 16:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9bd3c8012d0d364007047500001600c622..."} 
[2026-09-07 16:55:17] local.INFO: Processing buffer {"connection_id":173602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9bd3c8012d0d364007047500001600c622..."} 
[2026-09-07 16:55:17] local.INFO: Packet analysis {"connection_id":173602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:55:17] local.INFO: Extracted packet for processing {"connection_id":173602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9b"} 
[2026-09-07 16:55:17] local.INFO: GPS Element Parsed {"raw_longitude":755840576,"raw_latitude":117732608,"longitude_deg":75.5840576,"latitude_deg":11.7732608,"altitude":22,"angle":198,"satellites":34,"speed":15,"hex_longitude":"2d0d3640","hex_latitude":"07047500","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927730176001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30579325333929984,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982585014272,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780205000,"timestamp_ms":1788780205000,"timestamp_seconds":1788780205,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9bd3c8"} 
[2026-09-07 16: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-07 16:55:17] 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-07 16:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:17] 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-07 16: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-07 16: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-07 16:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173602,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927730176001,"66":14428,"17":206,"94":11008,"24":15,"16":30579325333929984,"45":952440982585014272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927730176001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30579325333929984,"km_value":30579325333929.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982585014272,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927730176001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":952440982585014272}} 
[2026-09-07 16:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":173602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:18] local.INFO: GPS data processed {"connection_id":173602,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:18] local.INFO: Acknowledgment sent {"connection_id":173602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:21] local.INFO: TCP Data received {"connection_id":174935,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9cb658012cb2a640077517a0001e002927..."} 
[2026-09-07 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9cb658012cb2a640077517a0001e002927..."} 
[2026-09-07 16:55:21] local.INFO: Processing buffer {"connection_id":174935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9cb658012cb2a640077517a0001e002927..."} 
[2026-09-07 16:55:21] local.INFO: Packet analysis {"connection_id":174935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:21] local.INFO: Extracted packet for processing {"connection_id":174935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114272,"longitude_deg":74.9905472,"latitude_deg":12.5114272,"altitude":30,"angle":41,"satellites":39,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077517a0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927741952001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088050978816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788780263000,"timestamp_ms":1788780263000,"timestamp_seconds":1788780263,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9cb658"} 
[2026-09-07 16: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-07 16:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:55:21] 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-07 16:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927741952001,"66":27767,"215":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088050978816},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-09-07 16:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927741952001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-09-07 16:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088050978816,"description":"Unknown IO ID 44"} 
[2026-09-07 16:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927741952001,"power":27767,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088050978816}} 
[2026-09-07 16:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":174935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:21] local.INFO: GPS data processed {"connection_id":174935,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:21] local.INFO: Acknowledgment sent {"connection_id":174935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:26] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:26] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:26] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:55:27] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:27] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:27] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:55:33] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:33] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:55:33] local.INFO: IMEI packet received {"connection_id":173850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":173850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:55:33] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c8778012d7bf60005dbc860000f00a820..."} 
[2026-09-07 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c8778012d7bf60005dbc860000f00a820..."} 
[2026-09-07 16:55:33] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c8778012d7bf60005dbc860000f00a820..."} 
[2026-09-07 16:55:33] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:33] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763098624,"raw_latitude":98289760,"longitude_deg":76.3098624,"latitude_deg":9.828976,"altitude":15,"angle":168,"satellites":32,"speed":23,"hex_longitude":"2d7bf600","hex_latitude":"05dbc860","is_valid_coordinates":true} 
[2026-09-07 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927741952001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129462035267190784,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930708454984292352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780251000,"timestamp_ms":1788780251000,"timestamp_seconds":1788780251,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c8778"} 
[2026-09-07 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:33] 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-07 16:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927741952001,"66":13254,"168":206,"85":15104,"24":23,"16":129462035267190784,"45":8930708454984292352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-09-07 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927741952001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-09-07 16:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129462035267190784,"km_value":129462035267190.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930708454984292352,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927741952001,"power":13254,"unknown_168":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8930708454984292352}} 
[2026-09-07 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:33] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:33] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:40] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:40] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:40] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:55:40] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:40] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:40] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:55:44] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:44] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:44] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:55:45] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:45] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:55:45] local.INFO: IMEI packet received {"connection_id":173605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":173605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:55:46] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:46] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:55:46] local.INFO: IMEI packet received {"connection_id":173606,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173606,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:55:46] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:46] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:55:46] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:55:46] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:55:46] 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-07 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:55:46] 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-07 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:46] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:46] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:46] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c21e8012d0d2e80070458c0001500bc22..."} 
[2026-09-07 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c21e8012d0d2e80070458c0001500bc22..."} 
[2026-09-07 16:55:46] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c21e8012d0d2e80070458c0001500bc22..."} 
[2026-09-07 16:55:46] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:46] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117725376,"longitude_deg":75.5838592,"latitude_deg":11.7725376,"altitude":21,"angle":188,"satellites":34,"speed":11,"hex_longitude":"2d0d2e80","hex_latitude":"070458c0","is_valid_coordinates":true} 
[2026-09-07 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927732480001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30579690406150144,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952018770119163904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780225000,"timestamp_ms":1788780225000,"timestamp_seconds":1788780225,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c21e8"} 
[2026-09-07 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:55:46] 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-07 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927732480001,"66":14450,"17":206,"94":11008,"24":11,"16":30579690406150144,"45":952018770119163904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927732480001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30579690406150144,"km_value":30579690406150.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":952018770119163904,"description":"Unknown IO ID 45"} 
[2026-09-07 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927732480001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":952018770119163904}} 
[2026-09-07 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779864,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:46] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:46] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:55:49] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:49] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:55:49] local.INFO: IMEI packet received {"connection_id":173851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:55:50] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9d0860012cb2a640077517a0001e002929..."} 
[2026-09-07 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9d0860012cb2a640077517a0001e002929..."} 
[2026-09-07 16:55:50] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9d0860012cb2a640077517a0001e002929..."} 
[2026-09-07 16:55:50] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:55:50] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:55:50] local.INFO: GPS Element Parsed {"raw_longitude":749905472,"raw_latitude":125114272,"longitude_deg":74.9905472,"latitude_deg":12.5114272,"altitude":30,"angle":41,"satellites":41,"speed":0,"hex_longitude":"2cb2a640","hex_latitude":"077517a0","is_valid_coordinates":true} 
[2026-09-07 16:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927747328001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703592500658176,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088050978816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780284000,"timestamp_ms":1788780284000,"timestamp_seconds":1788780284,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9d0860"} 
[2026-09-07 16:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:55: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-07 16:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927747328001,"66":27713,"214":206,"85":36608,"24":0,"16":401703592500658176,"44":-5573697088050978816},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927747328001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:55:50] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703592500658176,"km_value":401703592500658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088050978816,"description":"Unknown IO ID 44"} 
[2026-09-07 16:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927747328001,"power":27713,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573697088050978816}} 
[2026-09-07 16:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:55:50] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:55:50] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:04] local.INFO: TCP Data received {"connection_id":173850,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfe78012d7c650005da3c38001400a41b..."} 
[2026-09-07 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfe78012d7c650005da3c38001400a41b..."} 
[2026-09-07 16:56:04] local.INFO: Processing buffer {"connection_id":173850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfe78012d7c650005da3c38001400a41b..."} 
[2026-09-07 16:56:04] local.INFO: Packet analysis {"connection_id":173850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:04] local.INFO: Extracted packet for processing {"connection_id":173850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":98188344,"longitude_deg":76.312704,"latitude_deg":9.8188344,"altitude":20,"angle":164,"satellites":27,"speed":49,"hex_longitude":"2d7c6500","hex_latitude":"05da3c38","is_valid_coordinates":true} 
[2026-09-07 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927766784001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129467146278273024,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960122590024804352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:04] 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-07 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788780347000,"timestamp_ms":1788780347000,"timestamp_seconds":1788780347,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfe78"} 
[2026-09-07 16:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:04] 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-07 16:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927766784001,"66":13678,"187":206,"85":15104,"24":49,"16":129467146278273024,"45":8960122590024804352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-07 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927766784001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-07 16:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129467146278273024,"km_value":129467146278273.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960122590024804352,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927766784001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8960122590024804352}} 
[2026-09-07 16:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":173850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:05] local.INFO: GPS data processed {"connection_id":173850,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:05] local.INFO: Acknowledgment sent {"connection_id":173850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:17] local.INFO: TCP Data received {"connection_id":173605,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:56:17] local.INFO: Processing buffer {"connection_id":173605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9962c8012d196500071ff0200040011f23..."} 
[2026-09-07 16:56:17] local.INFO: Packet analysis {"connection_id":173605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:56:17] local.INFO: Extracted packet for processing {"connection_id":173605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b99"} 
[2026-09-07 16:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927614464001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780045000,"timestamp_ms":1788780045000,"timestamp_seconds":1788780045,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9962c8"} 
[2026-09-07 16: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-07 16:56:17] 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-07 16: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:56:17] 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-07 16:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927614464001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927614464001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927614464001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":173605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:17] local.INFO: GPS data processed {"connection_id":173605,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:17] local.INFO: Acknowledgment sent {"connection_id":173605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:18] local.INFO: TCP Data received {"connection_id":173606,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9c73f0012d0d2a8007044268001700c421..."} 
[2026-09-07 16:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9c73f0012d0d2a8007044268001700c421..."} 
[2026-09-07 16:56:18] local.INFO: Processing buffer {"connection_id":173606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9c73f0012d0d2a8007044268001700c421..."} 
[2026-09-07 16:56:18] local.INFO: Packet analysis {"connection_id":173606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:56:18] local.INFO: Extracted packet for processing {"connection_id":173606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9c"} 
[2026-09-07 16:56:18] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":117719656,"longitude_deg":75.5837568,"latitude_deg":11.7719656,"altitude":23,"angle":196,"satellites":33,"speed":11,"hex_longitude":"2d0d2a80","hex_latitude":"07044268","is_valid_coordinates":true} 
[2026-09-07 16:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927737600001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30579973873991680,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339047804928,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788780246000,"timestamp_ms":1788780246000,"timestamp_seconds":1788780246,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9c73f0"} 
[2026-09-07 16:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:18] 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-07 16:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173606,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927737600001,"66":14407,"17":206,"94":11008,"24":11,"16":30579973873991680,"45":949837339047804928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927737600001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30579973873991680,"km_value":30579973873991.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339047804928,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927737600001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":949837339047804928}} 
[2026-09-07 16:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":173606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:18] local.INFO: GPS data processed {"connection_id":173606,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:18] local.INFO: Acknowledgment sent {"connection_id":173606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:21] local.INFO: TCP Data received {"connection_id":173851,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9d2b88012cb2a800077516c0001e004b29..."} 
[2026-09-07 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9d2b88012cb2a800077516c0001e004b29..."} 
[2026-09-07 16:56:21] local.INFO: Processing buffer {"connection_id":173851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9d2b88012cb2a800077516c0001e004b29..."} 
[2026-09-07 16:56:21] local.INFO: Packet analysis {"connection_id":173851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:21] local.INFO: Extracted packet for processing {"connection_id":173851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749905920,"raw_latitude":125114048,"longitude_deg":74.990592,"latitude_deg":12.5114048,"altitude":30,"angle":75,"satellites":41,"speed":5,"hex_longitude":"2cb2a800","hex_latitude":"077516c0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927752704001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703618270461952,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573697088050978816,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788780293000,"timestamp_ms":1788780293000,"timestamp_seconds":1788780293,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9d2b88"} 
[2026-09-07 16: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-07 16:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:21] 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-07 16: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-07 16: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-07 16:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:56:21] 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-07 16:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927752704001,"66":27745,"214":206,"85":36608,"24":5,"16":401703618270461952,"44":-5573697088050978816},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927752704001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:21] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703618270461952,"km_value":401703618270461.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573697088050978816,"description":"Unknown IO ID 44"} 
[2026-09-07 16:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927752704001,"power":27745,"unknown_214":206,"unknown_85":36608,"ignition":5,"odometer":null,"unknown_44":-5573697088050978816}} 
[2026-09-07 16:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:21] local.INFO: GPS data processed {"connection_id":173851,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:21] local.INFO: Acknowledgment sent {"connection_id":173851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:27] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:27] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:27] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:56:33] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:33] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:56:33] local.INFO: IMEI packet received {"connection_id":176349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":176349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:56:33] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9e1db8012d7c6f0005da1740001000a81e..."} 
[2026-09-07 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9e1db8012d7c6f0005da1740001000a81e..."} 
[2026-09-07 16:56:33] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9e1db8012d7c6f0005da1740001000a81e..."} 
[2026-09-07 16:56:33] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:33] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763129600,"raw_latitude":98178880,"longitude_deg":76.31296,"latitude_deg":9.817888,"altitude":16,"angle":168,"satellites":30,"speed":50,"hex_longitude":"2d7c6f00","hex_latitude":"05da1740","is_valid_coordinates":true} 
[2026-09-07 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768832001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129467623019642880,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963570658487056384,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:33] 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-07 16:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780355000,"timestamp_ms":1788780355000,"timestamp_seconds":1788780355,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9e1db8"} 
[2026-09-07 16:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:56: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-07 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768832001,"66":13646,"187":206,"85":15104,"24":50,"16":129467623019642880,"45":8963570658487056384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-07 16:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768832001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-07 16:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129467623019642880,"km_value":129467623019642.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963570658487056384,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768832001,"power":13646,"unknown_187":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8963570658487056384}} 
[2026-09-07 16:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:33] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:33] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:40] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:40] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:40] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:56:41] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:41] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:41] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:56:44] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:44] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:44] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:56:45] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:45] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:56:45] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:56:46] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:56:46] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:56:46] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:56:46] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:46] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16: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-07 16:56:46] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:56:46] local.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-07 16:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:46] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:46] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:46] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:56:46] local.INFO: IMEI packet received {"connection_id":173853,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":173853,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:56:47] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:56:47] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 16:56:47] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 16:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:56:47] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9e2d58012d0d2a800703d850001200a922..."} 
[2026-09-07 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9e2d58012d0d2a800703d850001200a922..."} 
[2026-09-07 16:56:47] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9e2d58012d0d2a800703d850001200a922..."} 
[2026-09-07 16:56:47] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:47] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":117692496,"longitude_deg":75.5837568,"latitude_deg":11.7692496,"altitude":18,"angle":169,"satellites":34,"speed":13,"hex_longitude":"2d0d2a80","hex_latitude":"0703d850","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927769344001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581318198755328,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948500332900995072,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788780359000,"timestamp_ms":1788780359000,"timestamp_seconds":1788780359,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9e2d58"} 
[2026-09-07 16: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-07 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927769344001,"66":14548,"16":30581318198755328,"94":11008,"24":13,"45":948500332900995072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927769344001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581318198755328,"km_value":30581318198755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":948500332900995072,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927769344001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":948500332900995072}} 
[2026-09-07 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:47] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:47] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:49] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9e7b78012d0d2dc00703ca70001200b122..."} 
[2026-09-07 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9e7b78012d0d2dc00703ca70001200b122..."} 
[2026-09-07 16:56:49] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9e7b78012d0d2dc00703ca70001200b122..."} 
[2026-09-07 16:56:49] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:49] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":755838400,"raw_latitude":117688944,"longitude_deg":75.58384,"latitude_deg":11.7688944,"altitude":18,"angle":177,"satellites":34,"speed":0,"hex_longitude":"2d0d2dc0","hex_latitude":"0703ca70","is_valid_coordinates":true} 
[2026-09-07 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927771904001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581537242087424,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948711439132545024,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788780379000,"timestamp_ms":1788780379000,"timestamp_seconds":1788780379,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9e7b78"} 
[2026-09-07 16:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:56:49] 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-07 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927771904001,"66":14537,"16":30581537242087424,"94":11008,"24":0,"45":948711439132545024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927771904001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581537242087424,"km_value":30581537242087.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":948711439132545024,"description":"Unknown IO ID 45"} 
[2026-09-07 16:56:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927771904001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":948711439132545024}} 
[2026-09-07 16:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779873,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:49] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:49] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:56:49] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:49] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:56:49] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:56:50] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9d2f70012cb2a90007751720001e003329..."} 
[2026-09-07 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9d2f70012cb2a90007751720001e003329..."} 
[2026-09-07 16:56:50] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9d2f70012cb2a90007751720001e003329..."} 
[2026-09-07 16:56:50] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:50] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:56:50] local.INFO: GPS Element Parsed {"raw_longitude":749906176,"raw_latitude":125114144,"longitude_deg":74.9906176,"latitude_deg":12.5114144,"altitude":30,"angle":51,"satellites":41,"speed":9,"hex_longitude":"2cb2a900","hex_latitude":"07751720","is_valid_coordinates":true} 
[2026-09-07 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927755008001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703626860396544,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573204506841792512,"note":"Value kept but may cause issues"} 
[2026-09-07 16:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780294000,"timestamp_ms":1788780294000,"timestamp_seconds":1788780294,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9d2f70"} 
[2026-09-07 16:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 16:56:50] 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-07 16:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:56: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-07 16:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927755008001,"66":27745,"214":206,"85":36608,"24":9,"16":401703626860396544,"44":-5573204506841792512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927755008001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:56:50] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703626860396544,"km_value":401703626860396.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573204506841792512,"description":"Unknown IO ID 44"} 
[2026-09-07 16:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927755008001,"power":27745,"unknown_214":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5573204506841792512}} 
[2026-09-07 16:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:56:50] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:56:50] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:05] local.INFO: TCP Data received {"connection_id":176349,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9e3910012d7c76c005d9f378000e00a81c..."} 
[2026-09-07 16:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9e3910012d7c76c005d9f378000e00a81c..."} 
[2026-09-07 16:57:05] local.INFO: Processing buffer {"connection_id":176349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9e3910012d7c76c005d9f378000e00a81c..."} 
[2026-09-07 16:57:05] local.INFO: Packet analysis {"connection_id":176349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:05] local.INFO: Extracted packet for processing {"connection_id":176349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":763131584,"raw_latitude":98169720,"longitude_deg":76.3131584,"latitude_deg":9.816972,"altitude":14,"angle":168,"satellites":28,"speed":53,"hex_longitude":"2d7c76c0","hex_latitude":"05d9f378","is_valid_coordinates":true} 
[2026-09-07 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927770880001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129468078286176256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966385408251740160,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:05] 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-07 16:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788780362000,"timestamp_ms":1788780362000,"timestamp_seconds":1788780362,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9e3910"} 
[2026-09-07 16:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:05] 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-07 16:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927770880001,"66":13678,"187":206,"85":15104,"24":53,"16":129468078286176256,"45":8966385408251740160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-09-07 16:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927770880001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:05] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-09-07 16:57:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129468078286176256,"km_value":129468078286176.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966385408251740160,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927770880001,"power":13678,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8966385408251740160}} 
[2026-09-07 16:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":176349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:05] local.INFO: GPS data processed {"connection_id":176349,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:05] local.INFO: Acknowledgment sent {"connection_id":176349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:17] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:17] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:17] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:17] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16: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-07 16:57:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:57:17] local.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-07 16:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:17] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:17] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:20] local.INFO: TCP Data received {"connection_id":173853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ecd80012d0d2e800703cbb8001200b123..."} 
[2026-09-07 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ecd80012d0d2e800703cbb8001200b123..."} 
[2026-09-07 16:57:20] local.INFO: Processing buffer {"connection_id":173853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ecd80012d0d2e800703cbb8001200b123..."} 
[2026-09-07 16:57:20] local.INFO: Packet analysis {"connection_id":173853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:20] local.INFO: Extracted packet for processing {"connection_id":173853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":755838592,"raw_latitude":117689272,"longitude_deg":75.5838592,"latitude_deg":11.7689272,"altitude":18,"angle":177,"satellites":35,"speed":0,"hex_longitude":"2d0d2e80","hex_latitude":"0703cbb8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927777024001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581558716923904,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232805945344,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788780400000,"timestamp_ms":1788780400000,"timestamp_seconds":1788780400,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ecd80"} 
[2026-09-07 16: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-07 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173853,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927777024001,"66":14450,"16":30581558716923904,"94":11008,"24":0,"45":949626232805945344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927777024001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581558716923904,"km_value":30581558716923.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232805945344,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927777024001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":949626232805945344}} 
[2026-09-07 16:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":173853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779877,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:20] local.INFO: GPS data processed {"connection_id":173853,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:20] local.INFO: Acknowledgment sent {"connection_id":173853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:21] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9d3358012cb2a9c0077517d8001e002729..."} 
[2026-09-07 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9d3358012cb2a9c0077517d8001e002729..."} 
[2026-09-07 16:57:21] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9d3358012cb2a9c0077517d8001e002729..."} 
[2026-09-07 16:57:21] local.INFO: Packet analysis {"connection_id":173855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:21] local.INFO: Extracted packet for processing {"connection_id":173855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749906368,"raw_latitude":125114328,"longitude_deg":74.9906368,"latitude_deg":12.5114328,"altitude":30,"angle":39,"satellites":41,"speed":11,"hex_longitude":"2cb2a9c0","hex_latitude":"077517d8","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927755264001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401703644040265728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5572923031865057280,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788780295000,"timestamp_ms":1788780295000,"timestamp_seconds":1788780295,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9d3358"} 
[2026-09-07 16: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-07 16:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 16:57: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-07 16: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-07 16: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-07 16:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:21] 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-07 16:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927755264001,"66":27767,"214":206,"85":36608,"24":11,"16":401703644040265728,"44":-5572923031865057280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927755264001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:21] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401703644040265728,"km_value":401703644040265.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5572923031865057280,"description":"Unknown IO ID 44"} 
[2026-09-07 16:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927755264001,"power":27767,"unknown_214":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5572923031865057280}} 
[2026-09-07 16:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":173855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:21] local.INFO: GPS data processed {"connection_id":173855,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:21] local.INFO: Acknowledgment sent {"connection_id":173855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:38] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:38] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:38] local.INFO: IMEI packet received {"connection_id":173607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":173607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:57:39] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:39] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:39] local.INFO: IMEI packet received {"connection_id":173607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":173607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:57:40] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:40] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:40] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:57:41] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:57:41] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:57:41] local.INFO: IMEI packet received {"connection_id":174936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":174936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:57:42] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:42] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:57:42] local.INFO: IMEI packet received {"connection_id":173607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":173607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:57:43] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ee108012d0d2d800703cbf80012013623..."} 
[2026-09-07 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ee108012d0d2d800703cbf80012013623..."} 
[2026-09-07 16:57:43] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ee108012d0d2d800703cbf80012013623..."} 
[2026-09-07 16:57:43] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:43] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689336,"longitude_deg":75.5838336,"latitude_deg":11.7689336,"altitude":18,"angle":310,"satellites":35,"speed":5,"hex_longitude":"2d0d2d80","hex_latitude":"0703cbf8","is_valid_coordinates":true} 
[2026-09-07 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927782400001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581575896793088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949837339038562304,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788780405000,"timestamp_ms":1788780405000,"timestamp_seconds":1788780405,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ee108"} 
[2026-09-07 16:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927782400001,"66":14407,"16":30581575896793088,"94":11008,"24":5,"45":949837339038562304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927782400001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581575896793088,"km_value":30581575896793.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":949837339038562304,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927782400001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949837339038562304}} 
[2026-09-07 16:57:43] local.INFO: TCP Data received {"connection_id":173607,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9f7190012d7c9c0005d85e38000b00b21e..."} 
[2026-09-07 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9f7190012d7c9c0005d85e38000b00b21e..."} 
[2026-09-07 16:57:43] local.INFO: Processing buffer {"connection_id":173607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9f7190012d7c9c0005d85e38000b00b21e..."} 
[2026-09-07 16:57:43] local.INFO: Packet analysis {"connection_id":173607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:57:43] local.INFO: Extracted packet for processing {"connection_id":173607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763141120,"raw_latitude":98065976,"longitude_deg":76.314112,"latitude_deg":9.8065976,"altitude":11,"angle":178,"satellites":30,"speed":56,"hex_longitude":"2d7c9c00","hex_latitude":"05d85e38","is_valid_coordinates":true} 
[2026-09-07 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927791360001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129473129167716352,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978629569712177152,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] 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-07 16:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788780442000,"timestamp_ms":1788780442000,"timestamp_seconds":1788780442,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9f7190"} 
[2026-09-07 16:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631351,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3749196112251060224,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2665547777,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636610435131637,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3221608766,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4170448896,"corrected_to":0} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3647084544,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":124,"raw_value":-9097264815431745525,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271319437455787,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755622779486449,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:43] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,197,85,24,241,157,16,250,160,54,45,64,168,9,36,10,66,23,206,32,245,249,252,1,240,93,227,123,217,4,113,205,137,248,28,239,2,203,5,12,49,124,53,59],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0},{"io_id":203,"original":4170448896,"validated":0}]} 
[2026-09-07 16:57:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648713114521567232,"timestamp_seconds":648713114521567.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 16:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927791360001,"66":13928,"197":206,"85":15104,"24":56,"16":129473129167716352,"45":8978629569712177152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-07 16:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927791360001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129473129167716352,"km_value":129473129167716.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978629569712177152,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927791360001,"power":13928,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8978629569712177152}} 
[2026-09-07 16:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":173607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:43] local.INFO: GPS data processed {"connection_id":173607,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:43] local.INFO: Acknowledgment sent {"connection_id":173607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:43] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:43] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:45] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:45] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:57:45] local.INFO: IMEI packet received {"connection_id":173608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":173608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:57:46] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:46] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:57:46] local.INFO: Packet analysis {"connection_id":173608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:46] local.INFO: Extracted packet for processing {"connection_id":173608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:57:46] 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-07 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:57:46] local.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-07 16:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":173608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:46] local.INFO: GPS data processed {"connection_id":173608,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:46] local.INFO: Acknowledgment sent {"connection_id":173608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:46] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ee8d8012d0d2cc00703ccd00012015224..."} 
[2026-09-07 16:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ee8d8012d0d2cc00703ccd00012015224..."} 
[2026-09-07 16:57:46] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ee8d8012d0d2cc00703ccd00012015224..."} 
[2026-09-07 16:57:46] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:46] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:46] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689552,"longitude_deg":75.5838144,"latitude_deg":11.7689552,"altitude":18,"angle":338,"satellites":36,"speed":5,"hex_longitude":"2d0d2cc0","hex_latitude":"0703ccd0","is_valid_coordinates":true} 
[2026-09-07 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927783680001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581588781694976,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061868032,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780407000,"timestamp_ms":1788780407000,"timestamp_seconds":1788780407,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ee8d8"} 
[2026-09-07 16:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:57:46] 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-07 16:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927783680001,"66":13820,"16":30581588781694976,"94":11008,"24":5,"45":949555864061868032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927783680001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581588781694976,"km_value":30581588781694.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061868032,"description":"Unknown IO ID 45"} 
[2026-09-07 16:57:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927783680001,"power":13820,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949555864061868032}} 
[2026-09-07 16:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:47] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:47] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:49] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:49] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:49] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:57:53] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:53] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:57:53] local.INFO: IMEI packet received {"connection_id":176351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":176351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:57:54] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ed938012cb2fbc00775ea100015000e29..."} 
[2026-09-07 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ed938012cb2fbc00775ea100015000e29..."} 
[2026-09-07 16:57:54] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ed938012cb2fbc00775ea100015000e29..."} 
[2026-09-07 16:57:54] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:54] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:54] local.INFO: GPS Element Parsed {"raw_longitude":749927360,"raw_latitude":125168144,"longitude_deg":74.992736,"latitude_deg":12.5168144,"altitude":21,"angle":14,"satellites":41,"speed":17,"hex_longitude":"2cb2fbc0","hex_latitude":"0775ea10","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927780096001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401706556028092416,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549701346274027520,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788780403000,"timestamp_ms":1788780403000,"timestamp_seconds":1788780403,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ed938"} 
[2026-09-07 16: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-07 16:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:54] 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-07 16:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927780096001,"66":27800,"64":206,"85":36608,"24":17,"16":401706556028092416,"44":-5549701346274027520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-07 16:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927780096001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:54] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-07 16:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401706556028092416,"km_value":401706556028092.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549701346274027520,"description":"Unknown IO ID 44"} 
[2026-09-07 16:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927780096001,"power":27800,"unknown_64":206,"unknown_85":36608,"ignition":17,"odometer":null,"unknown_44":-5549701346274027520}} 
[2026-09-07 16:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:54] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:54] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:57:55] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ef490012cb2ffc00775f368001600192a..."} 
[2026-09-07 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ef490012cb2ffc00775f368001600192a..."} 
[2026-09-07 16:57:55] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ef490012cb2ffc00775f368001600192a..."} 
[2026-09-07 16:57:55] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:55] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:57:55] local.INFO: GPS Element Parsed {"raw_longitude":749928384,"raw_latitude":125170536,"longitude_deg":74.9928384,"latitude_deg":12.5170536,"altitude":22,"angle":25,"satellites":42,"speed":10,"hex_longitude":"2cb2ffc0","hex_latitude":"0775f368","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927783168001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401706680582144000,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549630977528426496,"note":"Value kept but may cause issues"} 
[2026-09-07 16:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780410000,"timestamp_ms":1788780410000,"timestamp_seconds":1788780410,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ef490"} 
[2026-09-07 16: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-07 16:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 16:57:55] 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-07 16: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-07 16: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-07 16:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:57:55] 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-07 16:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927783168001,"66":27865,"64":206,"85":36608,"24":10,"16":401706680582144000,"44":-5549630977528426496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-07 16:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927783168001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:57:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-07 16:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401706680582144000,"km_value":401706680582144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:57:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549630977528426496,"description":"Unknown IO ID 44"} 
[2026-09-07 16:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927783168001,"power":27865,"unknown_64":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5549630977528426496}} 
[2026-09-07 16:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:57:55] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:57:55] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:17] local.INFO: TCP Data received {"connection_id":173608,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:17] local.INFO: Processing buffer {"connection_id":173608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:17] local.INFO: Packet analysis {"connection_id":173608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:58:17] local.INFO: Extracted packet for processing {"connection_id":173608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16: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-07 16:58:17] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 16: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-07 16: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-07 16:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:58:17] local.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-07 16:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":173608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:17] local.INFO: GPS data processed {"connection_id":173608,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:17] local.INFO: Acknowledgment sent {"connection_id":173608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:17] local.INFO: TCP Data received {"connection_id":174936,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ef0a8012d0d2c400703ce380012015e24..."} 
[2026-09-07 16:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ef0a8012d0d2c400703ce380012015e24..."} 
[2026-09-07 16:58:17] local.INFO: Processing buffer {"connection_id":174936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ef0a8012d0d2c400703ce380012015e24..."} 
[2026-09-07 16:58:17] local.INFO: Packet analysis {"connection_id":174936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:17] local.INFO: Extracted packet for processing {"connection_id":174936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:17] local.INFO: GPS Element Parsed {"raw_longitude":755838016,"raw_latitude":117689912,"longitude_deg":75.5838016,"latitude_deg":11.7689912,"altitude":18,"angle":350,"satellites":36,"speed":10,"hex_longitude":"2d0d2c40","hex_latitude":"0703ce38","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927784192001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581605961564160,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829390336,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780409000,"timestamp_ms":1788780409000,"timestamp_seconds":1788780409,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ef0a8"} 
[2026-09-07 16: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-07 16:58:17] 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-07 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:17] 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-07 16: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-07 16: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-07 16:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927784192001,"66":14407,"16":30581605961564160,"94":11008,"24":10,"45":949344757829390336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927784192001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581605961564160,"km_value":30581605961564.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829390336,"description":"Unknown IO ID 45"} 
[2026-09-07 16:58:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927784192001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":949344757829390336}} 
[2026-09-07 16:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":174936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779886,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:18] local.INFO: GPS data processed {"connection_id":174936,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:18] local.INFO: Acknowledgment sent {"connection_id":174936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:26] local.INFO: TCP Data received {"connection_id":176351,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9ef878012cb300400775f4200015002e2a..."} 
[2026-09-07 16:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9ef878012cb300400775f4200015002e2a..."} 
[2026-09-07 16:58:26] local.INFO: Processing buffer {"connection_id":176351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9ef878012cb300400775f4200015002e2a..."} 
[2026-09-07 16:58:26] local.INFO: Packet analysis {"connection_id":176351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:26] local.INFO: Extracted packet for processing {"connection_id":176351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":749928512,"raw_latitude":125170720,"longitude_deg":74.9928512,"latitude_deg":12.517072,"altitude":21,"angle":46,"satellites":42,"speed":9,"hex_longitude":"2cb30040","hex_latitude":"0775f420","is_valid_coordinates":true} 
[2026-09-07 16:58: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-07 16:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927784960001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401706693467045888,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548505077620971520,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788780411000,"timestamp_ms":1788780411000,"timestamp_seconds":1788780411,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9ef878"} 
[2026-09-07 16:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:58: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-07 16:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58:26] 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-07 16:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927784960001,"66":27974,"64":206,"85":36608,"24":9,"16":401706693467045888,"44":-5548505077620971520},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-07 16:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927784960001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:26] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-07 16:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401706693467045888,"km_value":401706693467045.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548505077620971520,"description":"Unknown IO ID 44"} 
[2026-09-07 16:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927784960001,"power":27974,"unknown_64":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5548505077620971520}} 
[2026-09-07 16:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":176351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:26] local.INFO: GPS data processed {"connection_id":176351,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:26] local.INFO: Acknowledgment sent {"connection_id":176351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:27] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:27] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:27] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:58:28] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:28] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:28] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:32] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:32] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:58:32] local.INFO: IMEI packet received {"connection_id":173609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":173609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:33] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9f8ce8012d7c9d8005d83a80000c00b121..."} 
[2026-09-07 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9f8ce8012d7c9d8005d83a80000c00b121..."} 
[2026-09-07 16:58:33] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9f8ce8012d7c9d8005d83a80000c00b121..."} 
[2026-09-07 16:58:33] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:33] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763141504,"raw_latitude":98056832,"longitude_deg":76.3141504,"latitude_deg":9.8056832,"altitude":12,"angle":177,"satellites":33,"speed":48,"hex_longitude":"2d7c9d80","hex_latitude":"05d83a80","is_valid_coordinates":true} 
[2026-09-07 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927793152001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129473571549347840,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979051782174816256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:33] 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-07 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780449000,"timestamp_ms":1788780449000,"timestamp_seconds":1788780449,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9f8ce8"} 
[2026-09-07 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:33] 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-07 16:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927793152001,"66":13917,"197":206,"85":15104,"24":48,"16":129473571549347840,"45":8979051782174816256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-07 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927793152001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 16:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129473571549347840,"km_value":129473571549347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979051782174816256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927793152001,"power":13917,"unknown_197":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8979051782174816256}} 
[2026-09-07 16:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:33] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:33] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:40] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:58:40] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:40] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:41] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:41] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:41] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:58:44] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:44] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:58:44] local.INFO: IMEI packet received {"connection_id":176352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":176352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:44] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9f2758012d0d29800703e0c00013000324..."} 
[2026-09-07 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9f2758012d0d29800703e0c00013000324..."} 
[2026-09-07 16:58:44] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9f2758012d0d29800703e0c00013000324..."} 
[2026-09-07 16:58:44] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:44] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117694656,"longitude_deg":75.5837312,"latitude_deg":11.7694656,"altitude":19,"angle":3,"satellites":36,"speed":14,"hex_longitude":"2d0d2980","hex_latitude":"0703e0c0","is_valid_coordinates":true} 
[2026-09-07 16:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927784704001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30581842184765440,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949204020341127168,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 16:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788780423000,"timestamp_ms":1788780423000,"timestamp_seconds":1788780423,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9f2758"} 
[2026-09-07 16:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927784704001,"66":14450,"16":30581842184765440,"94":11008,"24":14,"45":949204020341127168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 16:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927784704001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30581842184765440,"km_value":30581842184765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":949204020341127168,"description":"Unknown IO ID 45"} 
[2026-09-07 16:58:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927784704001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949204020341127168}} 
[2026-09-07 16:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:45] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:45] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:45] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:45] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:58:45] local.INFO: IMEI packet received {"connection_id":173856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:46] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:46] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:58:46] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:58:46] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:58:46] 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-07 16:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:58:46] 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-07 16:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:46] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:46] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:46] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:46] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:46] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:58:49] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:49] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:58:49] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:58:50] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9efc60012cb300c00775f490001600442a..."} 
[2026-09-07 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9efc60012cb300c00775f490001600442a..."} 
[2026-09-07 16:58:50] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9efc60012cb300c00775f490001600442a..."} 
[2026-09-07 16:58:50] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:50] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9e"} 
[2026-09-07 16:58:50] local.INFO: GPS Element Parsed {"raw_longitude":749928640,"raw_latitude":125170832,"longitude_deg":74.992864,"latitude_deg":12.5170832,"altitude":22,"angle":68,"satellites":42,"speed":9,"hex_longitude":"2cb300c0","hex_latitude":"0775f490","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927785216001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401706702056980480,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548364340132569088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780412000,"timestamp_ms":1788780412000,"timestamp_seconds":1788780412,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9efc60"} 
[2026-09-07 16: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-07 16:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58: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-07 16:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927785216001,"66":27974,"64":206,"85":36608,"24":9,"16":401706702056980480,"44":-5548364340132569088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-07 16:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927785216001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:50] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-07 16:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401706702056980480,"km_value":401706702056980.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548364340132569088,"description":"Unknown IO ID 44"} 
[2026-09-07 16:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927785216001,"power":27974,"unknown_64":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5548364340132569088}} 
[2026-09-07 16:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:50] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:50] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:58:55] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9f0048012cb301c00775f4a00016005f2a..."} 
[2026-09-07 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9f0048012cb301c00775f4a00016005f2a..."} 
[2026-09-07 16:58:55] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9f0048012cb301c00775f4a00016005f2a..."} 
[2026-09-07 16:58:55] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:55] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:58:55] local.INFO: GPS Element Parsed {"raw_longitude":749928896,"raw_latitude":125170848,"longitude_deg":74.9928896,"latitude_deg":12.5170848,"altitude":22,"angle":95,"satellites":42,"speed":6,"hex_longitude":"2cb301c0","hex_latitude":"0775f4a0","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927785472001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401706714941882368,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5548223602644185088,"note":"Value kept but may cause issues"} 
[2026-09-07 16:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780413000,"timestamp_ms":1788780413000,"timestamp_seconds":1788780413,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9f0048"} 
[2026-09-07 16: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-07 16:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 16:58:55] 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-07 16: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-07 16: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-07 16:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:58:55] 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-07 16:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927785472001,"66":27865,"64":206,"85":36608,"24":6,"16":401706714941882368,"44":-5548223602644185088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,44]} 
[2026-09-07 16:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927785472001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:58:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-09-07 16:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401706714941882368,"km_value":401706714941882.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5548223602644185088,"description":"Unknown IO ID 44"} 
[2026-09-07 16:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927785472001,"power":27865,"unknown_64":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5548223602644185088}} 
[2026-09-07 16:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:58:55] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:58:55] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:05] local.INFO: TCP Data received {"connection_id":173609,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9fa840012d7c9f0005d816a8000d00b220..."} 
[2026-09-07 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9fa840012d7c9f0005d816a8000d00b220..."} 
[2026-09-07 16:59:05] local.INFO: Processing buffer {"connection_id":173609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9fa840012d7c9f0005d816a8000d00b220..."} 
[2026-09-07 16:59:05] local.INFO: Packet analysis {"connection_id":173609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:59:05] local.INFO: Extracted packet for processing {"connection_id":173609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9f"} 
[2026-09-07 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763141888,"raw_latitude":98047656,"longitude_deg":76.3141888,"latitude_deg":9.8047656,"altitude":13,"angle":178,"satellites":32,"speed":51,"hex_longitude":"2d7c9f00","hex_latitude":"05d816a8","is_valid_coordinates":true} 
[2026-09-07 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927794944001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129474018225946624,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979473994637541376,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788780456000,"timestamp_ms":1788780456000,"timestamp_seconds":1788780456,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9fa840"} 
[2026-09-07 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:05] 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-07 16:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927794944001,"66":13798,"197":206,"85":15104,"24":51,"16":129474018225946624,"45":8979473994637541376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-07 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927794944001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 16:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129474018225946624,"km_value":129474018225946.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979473994637541376,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927794944001,"power":13798,"unknown_197":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8979473994637541376}} 
[2026-09-07 16:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":173609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:05] local.INFO: GPS data processed {"connection_id":173609,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:05] local.INFO: Acknowledgment sent {"connection_id":173609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:15] local.INFO: TCP Data received {"connection_id":176352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba0f060012d0d3180070462400018000724..."} 
[2026-09-07 16:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba0f060012d0d3180070462400018000724..."} 
[2026-09-07 16:59:15] local.INFO: Processing buffer {"connection_id":176352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba0f060012d0d3180070462400018000724..."} 
[2026-09-07 16:59:15] local.INFO: Packet analysis {"connection_id":176352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:15] local.INFO: Extracted packet for processing {"connection_id":176352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117727808,"longitude_deg":75.583936,"latitude_deg":11.7727808,"altitude":24,"angle":7,"satellites":36,"speed":12,"hex_longitude":"2d0d3180","hex_latitude":"07046240","is_valid_coordinates":true} 
[2026-09-07 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-07 16:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927816192001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30583491452207104,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949766970303787008,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788780540000,"timestamp_ms":1788780540000,"timestamp_seconds":1788780540,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba0f060"} 
[2026-09-07 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-07 16:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 16:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927816192001,"66":14439,"17":206,"94":11008,"24":12,"16":30583491452207104,"45":949766970303787008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927816192001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30583491452207104,"km_value":30583491452207.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":949766970303787008,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927816192001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":949766970303787008}} 
[2026-09-07 16:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":176352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779894,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:16] local.INFO: GPS data processed {"connection_id":176352,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:16] local.INFO: Acknowledgment sent {"connection_id":176352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:18] local.INFO: TCP Data received {"connection_id":173856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:18] local.INFO: Processing buffer {"connection_id":173856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:18] local.INFO: Packet analysis {"connection_id":173856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:59:18] local.INFO: Extracted packet for processing {"connection_id":173856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59: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-07 16:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:18] 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-07 16:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:59:18] 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-07 16:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":173856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:18] local.INFO: GPS data processed {"connection_id":173856,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:18] local.INFO: Acknowledgment sent {"connection_id":173856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:26] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba05038012cb2ec8007756bc8001b00d629..."} 
[2026-09-07 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba05038012cb2ec8007756bc8001b00d629..."} 
[2026-09-07 16:59:26] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba05038012cb2ec8007756bc8001b00d629..."} 
[2026-09-07 16:59:26] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:26] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":749923456,"raw_latitude":125135816,"longitude_deg":74.9923456,"latitude_deg":12.5135816,"altitude":27,"angle":214,"satellites":41,"speed":21,"hex_longitude":"2cb2ec80","hex_latitude":"07756bc8","is_valid_coordinates":true} 
[2026-09-07 16:59: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-07 16:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927806976001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401708505943244800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553079046001037312,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788780499000,"timestamp_ms":1788780499000,"timestamp_seconds":1788780499,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba05038"} 
[2026-09-07 16:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:59: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-07 16:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:59:26] 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-07 16:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927806976001,"66":27767,"214":206,"85":36608,"24":21,"16":401708505943244800,"44":-5553079046001037312},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927806976001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401708505943244800,"km_value":401708505943244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553079046001037312,"description":"Unknown IO ID 44"} 
[2026-09-07 16:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927806976001,"power":27767,"unknown_214":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5553079046001037312}} 
[2026-09-07 16:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:26] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:26] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:27] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:27] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:27] local.INFO: IMEI packet received {"connection_id":173858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 16:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":173858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:59:32] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: IMEI packet received {"connection_id":173858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":173858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:59:32] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 16:59:32] local.INFO: IMEI packet received {"connection_id":173858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 16:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":173858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:59:33] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba0f830012d7cebc005d69de8000e00ac22..."} 
[2026-09-07 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba0f830012d7cebc005d69de8000e00ac22..."} 
[2026-09-07 16:59:33] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba0f830012d7cebc005d69de8000e00ac22..."} 
[2026-09-07 16:59:33] local.INFO: Packet analysis {"connection_id":173858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:33] local.INFO: Extracted packet for processing {"connection_id":173858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763161536,"raw_latitude":97951208,"longitude_deg":76.3161536,"latitude_deg":9.7951208,"altitude":14,"angle":172,"satellites":34,"speed":29,"hex_longitude":"2d7cebc0","hex_latitude":"05d69de8","is_valid_coordinates":true} 
[2026-09-07 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927816448001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129478811409448960,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999880930424270848,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780542000,"timestamp_ms":1788780542000,"timestamp_seconds":1788780542,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba0f830"} 
[2026-09-07 16:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:33] 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-07 16:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927816448001,"66":12939,"31":206,"85":15104,"24":29,"16":129478811409448960,"45":8999880930424270848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-09-07 16:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927816448001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 16:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129478811409448960,"km_value":129478811409448.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999880930424270848,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927816448001,"power":12939,"unknown_31":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8999880930424270848}} 
[2026-09-07 16:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":173858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:33] local.INFO: GPS data processed {"connection_id":173858,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:33] local.INFO: Acknowledgment sent {"connection_id":173858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:38] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba107d0012d7ced0005d69578000e00a123..."} 
[2026-09-07 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba107d0012d7ced0005d69578000e00a123..."} 
[2026-09-07 16:59:38] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba107d0012d7ced0005d69578000e00a123..."} 
[2026-09-07 16:59:38] local.INFO: Packet analysis {"connection_id":173858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 16:59:38] local.INFO: Extracted packet for processing {"connection_id":173858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763161856,"raw_latitude":97949048,"longitude_deg":76.3161856,"latitude_deg":9.7949048,"altitude":14,"angle":161,"satellites":35,"speed":16,"hex_longitude":"2d7ced00","hex_latitude":"05d69578","is_valid_coordinates":true} 
[2026-09-07 16:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927818752001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129478918783631360,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001499411538110464,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788780546000,"timestamp_ms":1788780546000,"timestamp_seconds":1788780546,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba107d0"} 
[2026-09-07 16:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 16:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 16:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 16:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927818752001,"66":13678,"31":206,"85":15104,"24":16,"16":129478918783631360,"45":9001499411538110464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-09-07 16:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 16:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 16:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927818752001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:38] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 16:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 16:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129478918783631360,"km_value":129478918783631.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001499411538110464,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927818752001,"power":13678,"unknown_31":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9001499411538110464}} 
[2026-09-07 16:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":173858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:38] local.INFO: GPS data processed {"connection_id":173858,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:38] local.INFO: Acknowledgment sent {"connection_id":173858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:40] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:40] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:40] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 16:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:59:40] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:40] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:40] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 16:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:59:43] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:43] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 16:59:43] local.INFO: IMEI packet received {"connection_id":176354,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 16:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":176354,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:59:44] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba107d0012d0d338007046b200018001524..."} 
[2026-09-07 16:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba107d0012d0d338007046b200018001524..."} 
[2026-09-07 16:59:44] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba107d0012d0d338007046b200018001524..."} 
[2026-09-07 16:59:44] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 16:59:44] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":755839872,"raw_latitude":117730080,"longitude_deg":75.5839872,"latitude_deg":11.773008,"altitude":24,"angle":21,"satellites":36,"speed":17,"hex_longitude":"2d0d3380","hex_latitude":"07046b20","is_valid_coordinates":true} 
[2026-09-07 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 16:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927818240001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30583603121356800,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978559488,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788780546000,"timestamp_ms":1788780546000,"timestamp_seconds":1788780546,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba107d0"} 
[2026-09-07 16:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 16:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 16:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 16:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 16:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 16:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 16:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 16:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927818240001,"66":14407,"17":206,"94":11008,"24":17,"16":30583603121356800,"45":950681763978559488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 16:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 16:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927818240001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 16:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30583603121356800,"km_value":30583603121356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978559488,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927818240001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":950681763978559488}} 
[2026-09-07 16:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779899,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:44] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:44] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:45] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:45] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 16:59:45] local.INFO: IMEI packet received {"connection_id":174937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":174937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:59:46] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:46] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 16:59:46] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:59:46] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 16: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-07 16:59:46] 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-07 16: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 16:59:46] 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-07 16:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 16:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 16:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 16:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 16:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 16:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 16:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 16:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 16:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 16:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:46] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:46] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 16:59:49] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:49] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:49] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 16:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 16:59:54] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:54] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 16:59:54] local.INFO: IMEI packet received {"connection_id":173611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 16:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 16:59:55] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba086e8012cb2d48007755018001f00da24..."} 
[2026-09-07 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba086e8012cb2d48007755018001f00da24..."} 
[2026-09-07 16:59:55] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba086e8012cb2d48007755018001f00da24..."} 
[2026-09-07 16:59:55] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:55] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":749917312,"raw_latitude":125128728,"longitude_deg":74.9917312,"latitude_deg":12.5128728,"altitude":31,"angle":218,"satellites":36,"speed":34,"hex_longitude":"2cb2d480","hex_latitude":"07755018","is_valid_coordinates":true} 
[2026-09-07 16: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-07 16:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927807744001,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401708956914810880,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553923470931539968,"note":"Value kept but may cause issues"} 
[2026-09-07 16:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 16:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780513000,"timestamp_ms":1788780513000,"timestamp_seconds":1788780513,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba086e8"} 
[2026-09-07 16: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-07 16:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 16:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 16: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-07 16: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-07 16:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 16:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 16:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 16:59:55] 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-07 16:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 16:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 16:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927807744001,"66":27930,"214":206,"85":36608,"24":34,"16":401708956914810880,"44":-5553923470931539968},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-09-07 16:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 16:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 16:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927807744001,"description":"Unknown IO ID 0"} 
[2026-09-07 16:59:55] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 16:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 16:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401708956914810880,"km_value":401708956914810.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 16:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553923470931539968,"description":"Unknown IO ID 44"} 
[2026-09-07 16:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927807744001,"power":27930,"unknown_214":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5553923470931539968}} 
[2026-09-07 16:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 16:59:55] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-07 16:59:55] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:09] local.INFO: TCP Data received {"connection_id":173858,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba132c8012d7cf24005d681e0000b00ac28..."} 
[2026-09-07 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba132c8012d7cf24005d681e0000b00ac28..."} 
[2026-09-07 17:00:09] local.INFO: Processing buffer {"connection_id":173858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba132c8012d7cf24005d681e0000b00ac28..."} 
[2026-09-07 17:00:09] local.INFO: Packet analysis {"connection_id":173858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:09] local.INFO: Extracted packet for processing {"connection_id":173858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":763163200,"raw_latitude":97944032,"longitude_deg":76.31632,"latitude_deg":9.7944032,"altitude":11,"angle":172,"satellites":40,"speed":25,"hex_longitude":"2d7cf240","hex_latitude":"05d681e0","is_valid_coordinates":true} 
[2026-09-07 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927819776001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129479172186701824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001851255258445824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:09] 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-07 17:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788780557000,"timestamp_ms":1788780557000,"timestamp_seconds":1788780557,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba132c8"} 
[2026-09-07 17:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927819776001,"66":13678,"30":206,"85":15104,"24":25,"16":129479172186701824,"45":9001851255258445824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-07 17:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927819776001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:09] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 17:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129479172186701824,"km_value":129479172186701.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001851255258445824,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927819776001,"power":13678,"unknown_30":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9001851255258445824}} 
[2026-09-07 17:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":173858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:09] local.INFO: GPS data processed {"connection_id":173858,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:09] local.INFO: Acknowledgment sent {"connection_id":173858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:15] local.INFO: TCP Data received {"connection_id":176354,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba12328012d0d3700070475e00019000624..."} 
[2026-09-07 17:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba12328012d0d3700070475e00019000624..."} 
[2026-09-07 17:00:15] local.INFO: Processing buffer {"connection_id":176354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba12328012d0d3700070475e00019000624..."} 
[2026-09-07 17:00:15] local.INFO: Packet analysis {"connection_id":176354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:15] local.INFO: Extracted packet for processing {"connection_id":176354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":755840768,"raw_latitude":117732832,"longitude_deg":75.5840768,"latitude_deg":11.7732832,"altitude":25,"angle":6,"satellites":36,"speed":14,"hex_longitude":"2d0d3700","hex_latitude":"070475e0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927819776001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30583744855277568,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951244713932562432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788780553000,"timestamp_ms":1788780553000,"timestamp_seconds":1788780553,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba12328"} 
[2026-09-07 17: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-07 17:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":176354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":176354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":176354,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927819776001,"66":14439,"17":206,"94":11008,"24":14,"16":30583744855277568,"45":951244713932562432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927819776001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30583744855277568,"km_value":30583744855277.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":951244713932562432,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927819776001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":951244713932562432}} 
[2026-09-07 17:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":176354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779903,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:15] local.INFO: GPS data processed {"connection_id":176354,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:15] local.INFO: Acknowledgment sent {"connection_id":176354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:17] local.INFO: TCP Data received {"connection_id":174937,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:17] local.INFO: Processing buffer {"connection_id":174937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:17] local.INFO: Packet analysis {"connection_id":174937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:17] local.INFO: Extracted packet for processing {"connection_id":174937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 17: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-07 17:00:17] 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-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00:17] 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-07 17:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":174937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:17] local.INFO: GPS data processed {"connection_id":174937,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:17] local.INFO: Acknowledgment sent {"connection_id":174937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:30] local.INFO: TCP Data received {"connection_id":173611,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba0b1e0012cb2be80077530f8002000d626..."} 
[2026-09-07 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba0b1e0012cb2be80077530f8002000d626..."} 
[2026-09-07 17:00:30] local.INFO: Processing buffer {"connection_id":173611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba0b1e0012cb2be80077530f8002000d626..."} 
[2026-09-07 17:00:30] local.INFO: Packet analysis {"connection_id":173611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 17:00:30] local.INFO: Extracted packet for processing {"connection_id":173611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba0"} 
[2026-09-07 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749911680,"raw_latitude":125120760,"longitude_deg":74.991168,"latitude_deg":12.512076,"altitude":32,"angle":214,"satellites":38,"speed":35,"hex_longitude":"2cb2be80","hex_latitude":"077530f8","is_valid_coordinates":true} 
[2026-09-07 17:00: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-07 17:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927811328001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401709425066246144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5560678870374410240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:30] 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-07 17:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788780524000,"timestamp_ms":1788780524000,"timestamp_seconds":1788780524,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba0b1e0"} 
[2026-09-07 17:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:00: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":26,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:30] 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-07 17:00: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-07 17:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:00:30] 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-07 17:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927811328001,"66":27908,"183":206,"85":36608,"24":35,"16":401709425066246144,"44":-5560678870374410240},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-07 17:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927811328001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 17:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401709425066246144,"km_value":401709425066246.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5560678870374410240,"description":"Unknown IO ID 44"} 
[2026-09-07 17:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927811328001,"power":27908,"unknown_183":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5560678870374410240}} 
[2026-09-07 17:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":173611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:30] local.INFO: GPS data processed {"connection_id":173611,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:30] local.INFO: Acknowledgment sent {"connection_id":173611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:32] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:32] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:32] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:00:37] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:37] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:00:37] local.INFO: IMEI packet received {"connection_id":173612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":173612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:38] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba16590012d7cf9c005d65e90000800a427..."} 
[2026-09-07 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba16590012d7cf9c005d65e90000800a427..."} 
[2026-09-07 17:00:38] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba16590012d7cf9c005d65e90000800a427..."} 
[2026-09-07 17:00:38] local.INFO: Packet analysis {"connection_id":173612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:38] local.INFO: Extracted packet for processing {"connection_id":173612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763165120,"raw_latitude":97934992,"longitude_deg":76.316512,"latitude_deg":9.7934992,"altitude":8,"angle":164,"satellites":39,"speed":28,"hex_longitude":"2d7cf9c0","hex_latitude":"05d65e90","is_valid_coordinates":true} 
[2026-09-07 17:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927822592001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129479623158267904,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003328998884892672,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:38] 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-07 17:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788780570000,"timestamp_ms":1788780570000,"timestamp_seconds":1788780570,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba16590"} 
[2026-09-07 17:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:00: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-07 17:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927822592001,"66":13493,"30":206,"85":15104,"24":28,"16":129479623158267904,"45":9003328998884892672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-09-07 17:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927822592001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:38] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 17:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129479623158267904,"km_value":129479623158267.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003328998884892672,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927822592001,"power":13493,"unknown_30":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9003328998884892672}} 
[2026-09-07 17:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":173612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:38] local.INFO: GPS data processed {"connection_id":173612,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:38] local.INFO: Acknowledgment sent {"connection_id":173612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:39] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba1abe0012d7d02c005d63be8000a00a127..."} 
[2026-09-07 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba1abe0012d7d02c005d63be8000a00a127..."} 
[2026-09-07 17:00:39] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba1abe0012d7d02c005d63be8000a00a127..."} 
[2026-09-07 17:00:39] local.INFO: Packet analysis {"connection_id":173612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:39] local.INFO: Extracted packet for processing {"connection_id":173612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763167424,"raw_latitude":97926120,"longitude_deg":76.3167424,"latitude_deg":9.792612,"altitude":10,"angle":161,"satellites":39,"speed":22,"hex_longitude":"2d7d02c0","hex_latitude":"05d63be8","is_valid_coordinates":true} 
[2026-09-07 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927825920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129480069834866688,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005440061207908352,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:39] 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-07 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788780588000,"timestamp_ms":1788780588000,"timestamp_seconds":1788780588,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba1abe0"} 
[2026-09-07 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927825920001,"66":13493,"29":206,"85":15104,"24":22,"16":129480069834866688,"45":9005440061207908352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927825920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129480069834866688,"km_value":129480069834866.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005440061207908352,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927825920001,"power":13493,"unknown_29":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9005440061207908352}} 
[2026-09-07 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":173612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:39] local.INFO: GPS data processed {"connection_id":173612,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:39] local.INFO: Acknowledgment sent {"connection_id":173612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:41] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:00:41] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:41] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:42] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:42] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:42] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:45] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:45] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:45] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:00:46] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:46] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:00:46] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:46] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba13e80012d0d37c007047f58001a016324..."} 
[2026-09-07 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba13e80012d0d37c007047f58001a016324..."} 
[2026-09-07 17:00:46] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba13e80012d0d37c007047f58001a016324..."} 
[2026-09-07 17:00:46] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:46] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117735256,"longitude_deg":75.584096,"latitude_deg":11.7735256,"altitude":26,"angle":355,"satellites":36,"speed":7,"hex_longitude":"2d0d37c0","hex_latitude":"07047f58","is_valid_coordinates":true} 
[2026-09-07 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927821568001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30583865114361856,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952229876351754240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780560000,"timestamp_ms":1788780560000,"timestamp_seconds":1788780560,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba13e80"} 
[2026-09-07 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927821568001,"66":14428,"17":206,"94":11008,"24":7,"16":30583865114361856,"45":952229876351754240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927821568001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30583865114361856,"km_value":30583865114361.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":952229876351754240,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927821568001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":952229876351754240}} 
[2026-09-07 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:46] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:46] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:47] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:47] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:47] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:00:48] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:48] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:48] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:49] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:49] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:49] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:50] local.INFO: TCP Data received {"connection_id":173860,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:50] local.INFO: Processing buffer {"connection_id":173860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:00:50] local.INFO: IMEI packet received {"connection_id":173860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":173860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:50] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:50] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:00:50] local.INFO: IMEI packet received {"connection_id":176355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":176355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:00:51] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:51] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:51] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:51] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00: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-07 17:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 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-07 17:00:51] 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-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00:51] 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-07 17:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:51] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:51] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:00:55] local.INFO: TCP Data received {"connection_id":176355,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:55] local.INFO: Processing buffer {"connection_id":176355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07b9dfa90012d196500071ff0200040011f20..."} 
[2026-09-07 17:00:55] local.INFO: Packet analysis {"connection_id":176355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:55] local.INFO: Extracted packet for processing {"connection_id":176355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07b9d"} 
[2026-09-07 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927691520001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780346000,"timestamp_ms":1788780346000,"timestamp_seconds":1788780346,"priority":1,"record_length":96,"hex_timestamp":"000001a07b9dfa90"} 
[2026-09-07 17: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-07 17:00:55] 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-07 17: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":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:00: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-07 17: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-07 17: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-07 17:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:00: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-07 17:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927691520001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927691520001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927691520001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":176355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:00:56] local.INFO: GPS data processed {"connection_id":176355,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:00:56] local.INFO: Acknowledgment sent {"connection_id":176355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:11] local.INFO: TCP Data received {"connection_id":173612,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba1e678012d7d0d4005d61908000900a029..."} 
[2026-09-07 17:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba1e678012d7d0d4005d61908000900a029..."} 
[2026-09-07 17:01:11] local.INFO: Processing buffer {"connection_id":173612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba1e678012d7d0d4005d61908000900a029..."} 
[2026-09-07 17:01:11] local.INFO: Packet analysis {"connection_id":173612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:01:11] local.INFO: Extracted packet for processing {"connection_id":173612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba1"} 
[2026-09-07 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":763170112,"raw_latitude":97917192,"longitude_deg":76.3170112,"latitude_deg":9.7917192,"altitude":9,"angle":160,"satellites":41,"speed":29,"hex_longitude":"2d7d0d40","hex_latitude":"05d61908","is_valid_coordinates":true} 
[2026-09-07 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927830528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129480520806432768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007973335996033024,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01: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-07 17:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788780603000,"timestamp_ms":1788780603000,"timestamp_seconds":1788780603,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba1e678"} 
[2026-09-07 17:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927830528001,"66":13852,"29":206,"85":15104,"24":29,"16":129480520806432768,"45":9007973335996033024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927830528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:11] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129480520806432768,"km_value":129480520806432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007973335996033024,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927830528001,"power":13852,"unknown_29":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9007973335996033024}} 
[2026-09-07 17:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":173612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:11] local.INFO: GPS data processed {"connection_id":173612,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:11] local.INFO: Acknowledgment sent {"connection_id":173612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:17] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba2adb0012d0d26400704b890001a011324..."} 
[2026-09-07 17:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba2adb0012d0d26400704b890001a011324..."} 
[2026-09-07 17:01:17] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba2adb0012d0d26400704b890001a011324..."} 
[2026-09-07 17:01:17] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:17] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:17] local.INFO: GPS Element Parsed {"raw_longitude":755836480,"raw_latitude":117749904,"longitude_deg":75.583648,"latitude_deg":11.7749904,"altitude":26,"angle":275,"satellites":36,"speed":22,"hex_longitude":"2d0d2640","hex_latitude":"0704b890","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927843840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30584857251807232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952581720077178880,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780654000,"timestamp_ms":1788780654000,"timestamp_seconds":1788780654,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba2adb0"} 
[2026-09-07 17: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-07 17:01:17] 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-07 17: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927843840001,"66":14494,"17":206,"94":11008,"24":22,"16":30584857251807232,"45":952581720077178880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927843840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30584857251807232,"km_value":30584857251807.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":952581720077178880,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927843840001,"power":14494,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":952581720077178880}} 
[2026-09-07 17:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779912,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:18] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:18] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:27] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:27] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:27] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:01:32] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:32] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:01:32] local.INFO: IMEI packet received {"connection_id":174939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":174939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:01:33] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba228e0012d7d150005d606280009009528..."} 
[2026-09-07 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba228e0012d7d150005d606280009009528..."} 
[2026-09-07 17:01:33] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba228e0012d7d150005d606280009009528..."} 
[2026-09-07 17:01:33] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:33] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":97912360,"longitude_deg":76.3172096,"latitude_deg":9.791236,"altitude":9,"angle":149,"satellites":40,"speed":6,"hex_longitude":"2d7d1500","hex_latitude":"05d60628","is_valid_coordinates":true} 
[2026-09-07 17:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927834368001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129480774209503232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010928823249209344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:33] 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-07 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780620000,"timestamp_ms":1788780620000,"timestamp_seconds":1788780620,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba228e0"} 
[2026-09-07 17:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:01: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-07 17:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:33] 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-07 17:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927834368001,"66":13689,"29":206,"85":15104,"24":6,"16":129480774209503232,"45":9010928823249209344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927834368001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129480774209503232,"km_value":129480774209503.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010928823249209344,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927834368001,"power":13689,"unknown_29":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9010928823249209344}} 
[2026-09-07 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:34] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:34] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:40] local.INFO: TCP Data received {"connection_id":174940,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:40] local.INFO: Processing buffer {"connection_id":174940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:40] local.INFO: IMEI packet received {"connection_id":174940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":174940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:01:42] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:42] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:42] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:01:44] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:44] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:01:44] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:01:45] local.INFO: TCP Data received {"connection_id":174940,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:45] local.INFO: Processing buffer {"connection_id":174940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:01:45] local.INFO: IMEI packet received {"connection_id":174940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":174940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:01:46] local.INFO: TCP Data received {"connection_id":174940,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:01:46] local.INFO: Processing buffer {"connection_id":174940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:01:46] local.INFO: Packet analysis {"connection_id":174940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:46] local.INFO: Extracted packet for processing {"connection_id":174940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:01:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:01:46] 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-07 17:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":174940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:46] local.INFO: GPS data processed {"connection_id":174940,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:46] local.INFO: Acknowledgment sent {"connection_id":174940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:52] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 17:01:52] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-09-07 17:01:52] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:01:53] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba2d0d8012d0d11000704ba580019010224..."} 
[2026-09-07 17:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba2d0d8012d0d11000704ba580019010224..."} 
[2026-09-07 17:01:53] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a07b..."} 
[2026-09-07 17:01:53] local.INFO: IMEI packet received {"connection_id":176356,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":176356,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:01:54] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba2dc90012d0d0a800704b998001a011324..."} 
[2026-09-07 17:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba2dc90012d0d0a800704b998001a011324..."} 
[2026-09-07 17:01:54] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07ba2d0d8012d0d11000704ba580019010224..."} 
[2026-09-07 17:01:54] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:54] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755831040,"raw_latitude":117750360,"longitude_deg":75.583104,"latitude_deg":11.775036,"altitude":25,"angle":258,"satellites":36,"speed":17,"hex_longitude":"2d0d1100","hex_latitude":"0704ba58","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927847424001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30585114949844992,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170496221184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788780663000,"timestamp_ms":1788780663000,"timestamp_seconds":1788780663,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba2d0d8"} 
[2026-09-07 17: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-07 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927847424001,"66":14515,"17":206,"94":11008,"24":17,"16":30585114949844992,"45":947515170496221184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927847424001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30585114949844992,"km_value":30585114949844.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170496221184,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927847424001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":947515170496221184}} 
[2026-09-07 17:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779915,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:54] local.INFO: GPS data processed {"connection_id":176356,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:54] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:54] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:54] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":755829376,"raw_latitude":117750168,"longitude_deg":75.5829376,"latitude_deg":11.7750168,"altitude":26,"angle":275,"satellites":36,"speed":23,"hex_longitude":"2d0d0a80","hex_latitude":"0704b998","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927849728001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30585196554223616,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":941533827241236480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788780666000,"timestamp_ms":1788780666000,"timestamp_seconds":1788780666,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba2dc90"} 
[2026-09-07 17: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-07 17:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:54] 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-07 17: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-07 17: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-07 17:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927849728001,"66":14396,"17":206,"94":11008,"24":23,"16":30585196554223616,"45":941533827241236480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927849728001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30585196554223616,"km_value":30585196554223.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":941533827241236480,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927849728001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":941533827241236480}} 
[2026-09-07 17:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779916,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:54] local.INFO: GPS data processed {"connection_id":176356,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:54] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:01:55] local.INFO: TCP Data received {"connection_id":176356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba31340012d0ce7000704be70001b010524..."} 
[2026-09-07 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba31340012d0ce7000704be70001b010524..."} 
[2026-09-07 17:01:55] local.INFO: Processing buffer {"connection_id":176356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba31340012d0ce7000704be70001b010524..."} 
[2026-09-07 17:01:55] local.INFO: Packet analysis {"connection_id":176356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:01:55] local.INFO: Extracted packet for processing {"connection_id":176356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755820288,"raw_latitude":117751408,"longitude_deg":75.5820288,"latitude_deg":11.7751408,"altitude":27,"angle":261,"satellites":36,"speed":16,"hex_longitude":"2d0ce700","hex_latitude":"0704be70","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927850496001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30585634640887808,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939704239892568064,"note":"Value kept but may cause issues"} 
[2026-09-07 17:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780680000,"timestamp_ms":1788780680000,"timestamp_seconds":1788780680,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba31340"} 
[2026-09-07 17: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-07 17:01: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-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:01:55] 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-07 17: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-07 17: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-07 17:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176356,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927850496001,"66":14461,"17":206,"94":11008,"24":16,"16":30585634640887808,"45":939704239892568064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927850496001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30585634640887808,"km_value":30585634640887.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":939704239892568064,"description":"Unknown IO ID 45"} 
[2026-09-07 17:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927850496001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":939704239892568064}} 
[2026-09-07 17:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":176356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:01:55] local.INFO: GPS data processed {"connection_id":176356,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:01:55] local.INFO: Acknowledgment sent {"connection_id":176356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:04] local.INFO: TCP Data received {"connection_id":174939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba35d78012d7d330005d575900006006228..."} 
[2026-09-07 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba35d78012d7d330005d575900006006228..."} 
[2026-09-07 17:02:04] local.INFO: Processing buffer {"connection_id":174939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba35d78012d7d330005d575900006006228..."} 
[2026-09-07 17:02:04] local.INFO: Packet analysis {"connection_id":174939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:04] local.INFO: Extracted packet for processing {"connection_id":174939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763179776,"raw_latitude":97875344,"longitude_deg":76.3179776,"latitude_deg":9.7875344,"altitude":6,"angle":98,"satellites":40,"speed":12,"hex_longitude":"2d7d3300","hex_latitude":"05d57590","is_valid_coordinates":true} 
[2026-09-07 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927858432001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129482668290080768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184911759360,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:04] 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-07 17:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788780699000,"timestamp_ms":1788780699000,"timestamp_seconds":1788780699,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba35d78"} 
[2026-09-07 17:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:02: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-07 17:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:02: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-07 17:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927858432001,"66":13678,"253":206,"85":15104,"24":12,"16":129482668290080768,"45":9020921184911759360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-07 17:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927858432001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129482668290080768,"km_value":129482668290080.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184911759360,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927858432001,"power":13678,"unknown_253":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9020921184911759360}} 
[2026-09-07 17:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":174939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:04] local.INFO: GPS data processed {"connection_id":174939,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:04] local.INFO: Acknowledgment sent {"connection_id":174939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:17] local.INFO: TCP Data received {"connection_id":174940,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:17] local.INFO: Processing buffer {"connection_id":174940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:17] local.INFO: Packet analysis {"connection_id":174940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:02:17] local.INFO: Extracted packet for processing {"connection_id":174940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:02:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:02:17] 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-07 17:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":174940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:17] local.INFO: GPS data processed {"connection_id":174940,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:17] local.INFO: Acknowledgment sent {"connection_id":174940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:22] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:22] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:22] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:02:27] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:27] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:27] local.INFO: IMEI packet received {"connection_id":174941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":174941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:02:30] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:30] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:02:30] local.INFO: IMEI packet received {"connection_id":174941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":174941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:02:35] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:02:35] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:02:35] local.INFO: IMEI packet received {"connection_id":174941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":174941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:02:36] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba39428012d7d588005d571300005005d28..."} 
[2026-09-07 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba39428012d7d588005d571300005005d28..."} 
[2026-09-07 17:02:36] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a07b..."} 
[2026-09-07 17:02:36] local.INFO: IMEI packet received {"connection_id":174941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":174941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:02:36] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba3b368012d7d774005d572680006004f27..."} 
[2026-09-07 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba3b368012d7d774005d572680006004f27..."} 
[2026-09-07 17:02:36] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07ba39428012d7d588005d571300005005d28..."} 
[2026-09-07 17:02:36] local.INFO: Packet analysis {"connection_id":174941,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:36] local.INFO: Extracted packet for processing {"connection_id":174941,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:36] local.INFO: GPS Element Parsed {"raw_longitude":763189376,"raw_latitude":97874224,"longitude_deg":76.3189376,"latitude_deg":9.7874224,"altitude":5,"angle":93,"satellites":40,"speed":38,"hex_longitude":"2d7d5880","hex_latitude":"05d57130","is_valid_coordinates":true} 
[2026-09-07 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927858944001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129483132146548736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021554503609323520,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788780713000,"timestamp_ms":1788780713000,"timestamp_seconds":1788780713,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba39428"} 
[2026-09-07 17:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:02: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-07 17:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:36] 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-07 17:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927858944001,"66":13559,"253":206,"85":15104,"24":38,"16":129483132146548736,"45":9021554503609323520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-07 17:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927858944001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:36] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-07 17:02:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129483132146548736,"km_value":129483132146548.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021554503609323520,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927858944001,"power":13559,"unknown_253":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9021554503609323520}} 
[2026-09-07 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:37] local.INFO: GPS data processed {"connection_id":174941,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:37] local.INFO: Acknowledgment sent {"connection_id":174941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:37] local.INFO: Packet analysis {"connection_id":174941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:37] local.INFO: Extracted packet for processing {"connection_id":174941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763197248,"raw_latitude":97874536,"longitude_deg":76.3197248,"latitude_deg":9.7874536,"altitude":6,"angle":79,"satellites":39,"speed":39,"hex_longitude":"2d7d7740","hex_latitude":"05d57268","is_valid_coordinates":true} 
[2026-09-07 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927862528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129483510103670784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032109815235686400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788780721000,"timestamp_ms":1788780721000,"timestamp_seconds":1788780721,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba3b368"} 
[2026-09-07 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:37] 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-07 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927862528001,"66":13689,"253":206,"85":15104,"24":39,"16":129483510103670784,"45":9032109815235686400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927862528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129483510103670784,"km_value":129483510103670.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032109815235686400,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927862528001,"power":13689,"unknown_253":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9032109815235686400}} 
[2026-09-07 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:37] local.INFO: GPS data processed {"connection_id":174941,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:37] local.INFO: Acknowledgment sent {"connection_id":174941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:37] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba3da78012d7d9b0005d579600005004527..."} 
[2026-09-07 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba3da78012d7d9b0005d579600005004527..."} 
[2026-09-07 17:02:37] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba3da78012d7d9b0005d579600005004527..."} 
[2026-09-07 17:02:37] local.INFO: Packet analysis {"connection_id":174941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:37] local.INFO: Extracted packet for processing {"connection_id":174941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763206400,"raw_latitude":97876320,"longitude_deg":76.32064,"latitude_deg":9.787632,"altitude":5,"angle":69,"satellites":39,"speed":23,"hex_longitude":"2d7d9b00","hex_latitude":"05d57960","is_valid_coordinates":true} 
[2026-09-07 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927864576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129483952485302272,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040765170769618944,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788780731000,"timestamp_ms":1788780731000,"timestamp_seconds":1788780731,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba3da78"} 
[2026-09-07 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:37] 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-07 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":174941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927864576001,"66":13602,"253":206,"85":15104,"24":23,"16":129483952485302272,"45":9040765170769618944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-09-07 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927864576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129483952485302272,"km_value":129483952485302.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040765170769618944,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927864576001,"power":13602,"unknown_253":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9040765170769618944}} 
[2026-09-07 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":174941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:37] local.INFO: GPS data processed {"connection_id":174941,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:37] local.INFO: Acknowledgment sent {"connection_id":174941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:40] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:40] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:40] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:02:41] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:41] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:41] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:02:45] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:45] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:02:45] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:02:46] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:46] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:02:46] local.INFO: IMEI packet received {"connection_id":173862,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":173862,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:02:46] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:46] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:02:46] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:02:46] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 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-07 17:02:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:02:46] 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-07 17:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:46] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:46] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:46] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba39bf8012d0c9ec00704cad80020012624..."} 
[2026-09-07 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba39bf8012d0c9ec00704cad80020012624..."} 
[2026-09-07 17:02:46] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba39bf8012d0c9ec00704cad80020012624..."} 
[2026-09-07 17:02:46] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:46] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":755801792,"raw_latitude":117754584,"longitude_deg":75.5801792,"latitude_deg":11.7754584,"altitude":32,"angle":294,"satellites":36,"speed":21,"hex_longitude":"2d0c9ec0","hex_latitude":"0704cad8","is_valid_coordinates":true} 
[2026-09-07 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-07 17:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927862528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30586583828660224,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842315663360,"note":"Value kept but may cause issues"} 
[2026-09-07 17:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780715000,"timestamp_ms":1788780715000,"timestamp_seconds":1788780715,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba39bf8"} 
[2026-09-07 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-07 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927862528001,"66":14439,"95":206,"94":10240,"24":21,"16":30586583828660224,"45":910430842315663360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 17:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927862528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30586583828660224,"km_value":30586583828660.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842315663360,"description":"Unknown IO ID 45"} 
[2026-09-07 17:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927862528001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":910430842315663360}} 
[2026-09-07 17:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:02:47] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:02:47] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:02:51] local.INFO: TCP Data received {"connection_id":176357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:51] local.INFO: Processing buffer {"connection_id":176357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:02:51] local.INFO: IMEI packet received {"connection_id":176357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":176357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:03:08] local.INFO: TCP Data received {"connection_id":174941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba47aa0012d7df44005d570500007007229..."} 
[2026-09-07 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba47aa0012d7df44005d570500007007229..."} 
[2026-09-07 17:03:08] local.INFO: Processing buffer {"connection_id":174941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba47aa0012d7df44005d570500007007229..."} 
[2026-09-07 17:03:08] local.INFO: Packet analysis {"connection_id":174941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:08] local.INFO: Extracted packet for processing {"connection_id":174941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763229248,"raw_latitude":97874000,"longitude_deg":76.3229248,"latitude_deg":9.7874,"altitude":7,"angle":114,"satellites":41,"speed":22,"hex_longitude":"2d7df440","hex_latitude":"05d57050","is_valid_coordinates":true} 
[2026-09-07 17:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927876864001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129485176550981632,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9074471799230683136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:08] 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-07 17:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788780772000,"timestamp_ms":1788780772000,"timestamp_seconds":1788780772,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba47aa0"} 
[2026-09-07 17:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:03: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-07 17:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:08] 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-07 17:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927876864001,"66":13602,"29":206,"85":15104,"24":22,"16":129485176550981632,"45":9074471799230683136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927876864001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129485176550981632,"km_value":129485176550981.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9074471799230683136,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927876864001,"power":13602,"unknown_29":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9074471799230683136}} 
[2026-09-07 17:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":174941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:08] local.INFO: GPS data processed {"connection_id":174941,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:08] local.INFO: Acknowledgment sent {"connection_id":174941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:17] local.INFO: TCP Data received {"connection_id":173862,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba3cec0012d0c93c00704ce98001d011024..."} 
[2026-09-07 17:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba3cec0012d0c93c00704ce98001d011024..."} 
[2026-09-07 17:03:17] local.INFO: Processing buffer {"connection_id":173862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba3cec0012d0c93c00704ce98001d011024..."} 
[2026-09-07 17:03:17] local.INFO: Packet analysis {"connection_id":173862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:03:17] local.INFO: Extracted packet for processing {"connection_id":173862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba3"} 
[2026-09-07 17:03:17] local.INFO: GPS Element Parsed {"raw_longitude":755798976,"raw_latitude":117755544,"longitude_deg":75.5798976,"latitude_deg":11.7755544,"altitude":29,"angle":272,"satellites":36,"speed":5,"hex_longitude":"2d0c93c0","hex_latitude":"0704ce98","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927863040001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30586729857548288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909375311153125376,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780728000,"timestamp_ms":1788780728000,"timestamp_seconds":1788780728,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba3cec0"} 
[2026-09-07 17: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-07 17:03:17] 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-07 17: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173862,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927863040001,"66":14559,"95":206,"94":10240,"24":5,"16":30586729857548288,"45":909375311153125376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 17:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927863040001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:17] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 17:03:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30586729857548288,"km_value":30586729857548.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":909375311153125376,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927863040001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":909375311153125376}} 
[2026-09-07 17:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":173862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779926,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:18] local.INFO: GPS data processed {"connection_id":173862,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:18] local.INFO: Acknowledgment sent {"connection_id":173862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:18] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:18] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:18] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:03:18] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03: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-07 17:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:03:18] 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-07 17:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:03:18] 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-07 17:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:18] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:18] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:35] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:35] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:35] local.INFO: IMEI packet received {"connection_id":173864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":173864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:03:40] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:40] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:03:40] local.INFO: IMEI packet received {"connection_id":173864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":173864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:03:40] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:40] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:40] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:03:41] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:03:41] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba4a598012d7e12c005d564500005005c28..."} 
[2026-09-07 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba4a598012d7e12c005d564500005005c28..."} 
[2026-09-07 17:03:41] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba4a598012d7e12c005d564500005005c28..."} 
[2026-09-07 17:03:41] local.INFO: Packet analysis {"connection_id":173864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:41] local.INFO: Extracted packet for processing {"connection_id":173864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":97870928,"longitude_deg":76.3237056,"latitude_deg":9.7870928,"altitude":5,"angle":92,"satellites":40,"speed":25,"hex_longitude":"2d7e12c0","hex_latitude":"05d56450","is_valid_coordinates":true} 
[2026-09-07 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927877632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129485580277907456,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9075949542858313728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:41] 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-07 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1788780783000,"timestamp_ms":1788780783000,"timestamp_seconds":1788780783,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba4a598"} 
[2026-09-07 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:41] 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-07 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":173864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":173864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":173864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927877632001,"66":13928,"29":206,"85":15104,"24":25,"16":129485580277907456,"45":9075949542858313728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927877632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:41] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129485580277907456,"km_value":129485580277907.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9075949542858313728,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927877632001,"power":13928,"unknown_29":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9075949542858313728}} 
[2026-09-07 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":173864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:41] local.INFO: GPS data processed {"connection_id":173864,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:41] local.INFO: Acknowledgment sent {"connection_id":173864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:41] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:41] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:03:43] local.INFO: TCP Data received {"connection_id":173864,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba4b150012d7e190005d563a00006006f27..."} 
[2026-09-07 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba4b150012d7e190005d563a00006006f27..."} 
[2026-09-07 17:03:43] local.INFO: Processing buffer {"connection_id":173864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba4b150012d7e190005d563a00006006f27..."} 
[2026-09-07 17:03:43] local.INFO: Packet analysis {"connection_id":173864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:43] local.INFO: Extracted packet for processing {"connection_id":173864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":97870752,"longitude_deg":76.3238656,"latitude_deg":9.7870752,"altitude":6,"angle":111,"satellites":39,"speed":19,"hex_longitude":"2d7e1900","hex_latitude":"05d563a0","is_valid_coordinates":true} 
[2026-09-07 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927880448001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129485657587318784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529647202304,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:43] 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-07 17:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788780786000,"timestamp_ms":1788780786000,"timestamp_seconds":1788780786,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba4b150"} 
[2026-09-07 17:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:43] 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-07 17:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927880448001,"66":13319,"29":206,"85":15104,"24":19,"16":129485657587318784,"45":9084534529647202304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927880448001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:43] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129485657587318784,"km_value":129485657587318.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529647202304,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927880448001,"power":13319,"unknown_29":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9084534529647202304}} 
[2026-09-07 17:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":173864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:43] local.INFO: GPS data processed {"connection_id":173864,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:43] local.INFO: Acknowledgment sent {"connection_id":173864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:45] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:45] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:03:45] local.INFO: IMEI packet received {"connection_id":173614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:03:46] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:46] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:03:46] local.INFO: IMEI packet received {"connection_id":173865,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":173865,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:03:46] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:46] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:03:46] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:03:46] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:03:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:03:46] 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-07 17:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:46] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:46] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:03:47] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba40188012d0c91c00704cc48001b00a524..."} 
[2026-09-07 17:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba40188012d0c91c00704cc48001b00a524..."} 
[2026-09-07 17:03:47] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba40188012d0c91c00704cc48001b00a524..."} 
[2026-09-07 17:03:47] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:47] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":117754952,"longitude_deg":75.5798464,"latitude_deg":11.7754952,"altitude":27,"angle":165,"satellites":36,"speed":8,"hex_longitude":"2d0c91c0","hex_latitude":"0704cc48","is_valid_coordinates":true} 
[2026-09-07 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-07 17:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927866368001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30586777102188544,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906279086409553920,"note":"Value kept but may cause issues"} 
[2026-09-07 17:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788780741000,"timestamp_ms":1788780741000,"timestamp_seconds":1788780741,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba40188"} 
[2026-09-07 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-07 17:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 17:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927866368001,"66":13830,"95":206,"94":10240,"24":8,"16":30586777102188544,"45":906279086409553920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-09-07 17:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927866368001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:03:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 17:03:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30586777102188544,"km_value":30586777102188.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":906279086409553920,"description":"Unknown IO ID 45"} 
[2026-09-07 17:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927866368001,"power":13830,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":906279086409553920}} 
[2026-09-07 17:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:03:47] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:03:47] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:04:17] local.INFO: TCP Data received {"connection_id":173614,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:17] local.INFO: Processing buffer {"connection_id":173614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:17] local.INFO: Packet analysis {"connection_id":173614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:04:17] local.INFO: Extracted packet for processing {"connection_id":173614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:04:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:04:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":173614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:04:17] local.INFO: GPS data processed {"connection_id":173614,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:04:17] local.INFO: Acknowledgment sent {"connection_id":173614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:04:23] local.INFO: TCP Data received {"connection_id":173865,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba58ff8012d0c48800703c198001400e723..."} 
[2026-09-07 17:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba58ff8012d0c48800703c198001400e723..."} 
[2026-09-07 17:04:23] local.INFO: Processing buffer {"connection_id":173865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba58ff8012d0c48800703c198001400e723..."} 
[2026-09-07 17:04:23] local.INFO: Packet analysis {"connection_id":173865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:04:23] local.INFO: Extracted packet for processing {"connection_id":173865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":117686680,"longitude_deg":75.5779712,"latitude_deg":11.768668,"altitude":20,"angle":231,"satellites":35,"speed":25,"hex_longitude":"2d0c4880","hex_latitude":"0703c198","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927895552001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30590762831839232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885731413092151296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 17:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788780843000,"timestamp_ms":1788780843000,"timestamp_seconds":1788780843,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba58ff8"} 
[2026-09-07 17: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-07 17:04: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-07 17: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":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 17:04:23] 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-07 17: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-07 17: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-07 17:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173865,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927895552001,"66":14330,"16":30590762831839232,"94":11008,"24":25,"45":885731413092151296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-09-07 17:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927895552001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30590762831839232,"km_value":30590762831839.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:04:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":885731413092151296,"description":"Unknown IO ID 45"} 
[2026-09-07 17:04:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457927895552001,"power":14330,"odometer":null,"unknown_94":11008,"ignition":25,"unknown_45":885731413092151296}} 
[2026-09-07 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":173865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779933,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:04:24] local.INFO: GPS data processed {"connection_id":173865,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:04:24] local.INFO: Acknowledgment sent {"connection_id":173865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:04:27] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:27] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:27] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:04:29] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:29] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:04:29] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:04:30] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba4b538012d7e1a8005d562b80006007e28..."} 
[2026-09-07 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba4b538012d7e1a8005d562b80006007e28..."} 
[2026-09-07 17:04:30] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba4b538012d7e1a8005d562b80006007e28..."} 
[2026-09-07 17:04:30] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:04:30] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba4"} 
[2026-09-07 17:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763239040,"raw_latitude":97870520,"longitude_deg":76.323904,"latitude_deg":9.787052,"altitude":6,"angle":126,"satellites":40,"speed":16,"hex_longitude":"2d7e1a80","hex_latitude":"05d562b8","is_valid_coordinates":true} 
[2026-09-07 17:04: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-07 17:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927881216001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129485679062155264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086293748251598848,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] 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-07 17:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788780787000,"timestamp_ms":1788780787000,"timestamp_seconds":1788780787,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba4b538"} 
[2026-09-07 17:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580850176,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2756683777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":213,"raw_value":8077205970352088832,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2147865967,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":95485952,"corrected_to":0} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.WARNING: Large IO value detected {"io_id":164,"raw_value":4613939113136865285,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,29,85,24,241,157,16,6,160,165,45,192,100,5,40,10,66,122,64,112,7,41,110,1,240,227,123,213,4,113,205,71,209,239,52,253,2,204,9,94,164],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0},{"io_id":204,"original":95485952,"validated":0}]} 
[2026-09-07 17:04:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432467777523220480,"timestamp_seconds":432467777523220.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927881216001,"66":13646,"29":206,"85":15104,"24":16,"16":129485679062155264,"45":9086293748251598848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-09-07 17:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927881216001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:04:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129485679062155264,"km_value":129485679062155.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086293748251598848,"description":"Unknown IO ID 45"} 
[2026-09-07 17:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927881216001,"power":13646,"unknown_29":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9086293748251598848}} 
[2026-09-07 17:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:04:31] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:04:31] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:04:40] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:40] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:40] local.INFO: IMEI packet received {"connection_id":174943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":174943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:04:45] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:45] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:04:45] local.INFO: IMEI packet received {"connection_id":174943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":174943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:04:46] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:46] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:04:46] local.INFO: Packet analysis {"connection_id":174943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:04:46] local.INFO: Extracted packet for processing {"connection_id":174943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:04:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:04:46] 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-07 17:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":174943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:04:46] local.INFO: GPS data processed {"connection_id":174943,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:04:46] local.INFO: Acknowledgment sent {"connection_id":174943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:02] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba63bd8012d7e2d0005d4d4b00007009029..."} 
[2026-09-07 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba63bd8012d7e2d0005d4d4b00007009029..."} 
[2026-09-07 17:05:02] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba63bd8012d7e2d0005d4d4b00007009029..."} 
[2026-09-07 17:05:02] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:02] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":97834160,"longitude_deg":76.3243776,"latitude_deg":9.783416,"altitude":7,"angle":144,"satellites":41,"speed":28,"hex_longitude":"2d7e2d00","hex_latitude":"05d4d4b0","is_valid_coordinates":true} 
[2026-09-07 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927906560001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129487478653452288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091149191590789120,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05: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-07 17:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788780887000,"timestamp_ms":1788780887000,"timestamp_seconds":1788780887,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba63bd8"} 
[2026-09-07 17:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:02] 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-07 17:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927906560001,"66":14004,"111":206,"85":15104,"24":28,"16":129487478653452288,"45":9091149191590789120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-07 17:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927906560001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 17:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129487478653452288,"km_value":129487478653452.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091149191590789120,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927906560001,"power":14004,"unknown_111":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9091149191590789120}} 
[2026-09-07 17:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:02] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:02] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:15] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:15] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:15] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:05:17] local.INFO: TCP Data received {"connection_id":174943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:17] local.INFO: Processing buffer {"connection_id":174943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:17] local.INFO: Packet analysis {"connection_id":174943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:05:17] local.INFO: Extracted packet for processing {"connection_id":174943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:05:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:05:17] 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-07 17:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":174943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:18] local.INFO: GPS data processed {"connection_id":174943,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:18] local.INFO: Acknowledgment sent {"connection_id":174943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:19] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:19] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:19] local.INFO: IMEI packet received {"connection_id":176360,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":176360,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:20] local.INFO: TCP Data received {"connection_id":176360,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba64790012d0be1c00703aed00010011c23..."} 
[2026-09-07 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba64790012d0be1c00703aed00010011c23..."} 
[2026-09-07 17:05:20] local.INFO: Processing buffer {"connection_id":176360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba64790012d0be1c00703aed00010011c23..."} 
[2026-09-07 17:05:20] local.INFO: Packet analysis {"connection_id":176360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:20] local.INFO: Extracted packet for processing {"connection_id":176360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":755753408,"raw_latitude":117681872,"longitude_deg":75.5753408,"latitude_deg":11.7681872,"altitude":16,"angle":284,"satellites":35,"speed":30,"hex_longitude":"2d0be1c0","hex_latitude":"0703aed0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927906816001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30592248890523648,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859272765279741952,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788780890000,"timestamp_ms":1788780890000,"timestamp_seconds":1788780890,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba64790"} 
[2026-09-07 17: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-07 17:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176360,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927906816001,"66":14439,"96":206,"94":10240,"24":30,"16":30592248890523648,"45":859272765279741952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 17:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927906816001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 17:05:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30592248890523648,"km_value":30592248890523.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":859272765279741952,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927906816001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":859272765279741952}} 
[2026-09-07 17:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":176360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779938,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:20] local.INFO: GPS data processed {"connection_id":176360,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:20] local.INFO: Acknowledgment sent {"connection_id":176360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:27] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:05:27] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:27] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:28] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:28] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:28] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:32] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:32] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:05:32] local.INFO: IMEI packet received {"connection_id":173617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":173617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:33] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba64790012d7e320005d4cda00008009d29..."} 
[2026-09-07 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba64790012d7e320005d4cda00008009d29..."} 
[2026-09-07 17:05:33] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba64790012d7e320005d4cda00008009d29..."} 
[2026-09-07 17:05:33] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:33] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763245056,"raw_latitude":97832352,"longitude_deg":76.3245056,"latitude_deg":9.7832352,"altitude":8,"angle":157,"satellites":41,"speed":29,"hex_longitude":"2d7e3200","hex_latitude":"05d4cda0","is_valid_coordinates":true} 
[2026-09-07 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927907072001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129487586027634688,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091923247776444416,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05: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-07 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780890000,"timestamp_ms":1788780890000,"timestamp_seconds":1788780890,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba64790"} 
[2026-09-07 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:05: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-07 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927907072001,"66":13341,"111":206,"85":15104,"24":29,"16":129487586027634688,"45":9091923247776444416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-07 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927907072001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 17:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129487586027634688,"km_value":129487586027634.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091923247776444416,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927907072001,"power":13341,"unknown_111":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9091923247776444416}} 
[2026-09-07 17:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:33] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:33] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:40] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:40] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:40] local.INFO: IMEI packet received {"connection_id":173618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":173618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:05:45] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:45] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:05:45] local.INFO: IMEI packet received {"connection_id":173618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":173618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:45] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:45] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:45] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:05:46] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:46] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:05:46] local.INFO: Packet analysis {"connection_id":173618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:05:46] local.INFO: Extracted packet for processing {"connection_id":173618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:05:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:05:46] 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-07 17:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":173618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:46] local.INFO: GPS data processed {"connection_id":173618,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:46] local.INFO: Acknowledgment sent {"connection_id":173618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:49] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:49] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:49] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:50] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:50] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:50] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:51] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:51] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:05:51] local.INFO: IMEI packet received {"connection_id":176362,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":176362,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:05:52] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba65730012d0bd5800703b0880010010d24..."} 
[2026-09-07 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba65730012d0bd5800703b0880010010d24..."} 
[2026-09-07 17:05:52] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba65730012d0bd5800703b0880010010d24..."} 
[2026-09-07 17:05:52] local.INFO: Packet analysis {"connection_id":176362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:52] local.INFO: Extracted packet for processing {"connection_id":176362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755750272,"raw_latitude":117682312,"longitude_deg":75.5750272,"latitude_deg":11.7682312,"altitude":16,"angle":269,"satellites":36,"speed":28,"hex_longitude":"2d0bd580","hex_latitude":"0703b088","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927907840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30592399214379008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856176540536197120,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788780894000,"timestamp_ms":1788780894000,"timestamp_seconds":1788780894,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba65730"} 
[2026-09-07 17: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-07 17:05: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-07 17: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":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927907840001,"66":14428,"96":206,"94":10240,"24":28,"16":30592399214379008,"45":856176540536197120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 17:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927907840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 17:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30592399214379008,"km_value":30592399214379.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":856176540536197120,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927907840001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":856176540536197120}} 
[2026-09-07 17:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":176362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779941,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:53] local.INFO: GPS data processed {"connection_id":176362,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:53] local.INFO: Acknowledgment sent {"connection_id":176362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:54] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba662e8012d0bccc00703af60000f00ff24..."} 
[2026-09-07 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba662e8012d0bccc00703af60000f00ff24..."} 
[2026-09-07 17:05:54] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba662e8012d0bccc00703af60000f00ff24..."} 
[2026-09-07 17:05:54] local.INFO: Packet analysis {"connection_id":176362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:54] local.INFO: Extracted packet for processing {"connection_id":176362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755748032,"raw_latitude":117682016,"longitude_deg":75.5748032,"latitude_deg":11.7682016,"altitude":15,"angle":255,"satellites":36,"speed":26,"hex_longitude":"2d0bccc0","hex_latitude":"0703af60","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927908864001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30592506588561408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852728472071604224,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788780897000,"timestamp_ms":1788780897000,"timestamp_seconds":1788780897,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba662e8"} 
[2026-09-07 17: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-07 17:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927908864001,"66":14515,"96":206,"94":10240,"24":26,"16":30592506588561408,"45":852728472071604224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-09-07 17:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927908864001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-09-07 17:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30592506588561408,"km_value":30592506588561.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":852728472071604224,"description":"Unknown IO ID 45"} 
[2026-09-07 17:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927908864001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":852728472071604224}} 
[2026-09-07 17:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":176362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779942,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:54] local.INFO: GPS data processed {"connection_id":176362,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:54] local.INFO: Acknowledgment sent {"connection_id":176362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:05:54] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:05:54] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:05:54] local.INFO: IMEI packet received {"connection_id":176361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":176361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:05:55] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba56118012cb3f28007755ca8002400302a..."} 
[2026-09-07 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba56118012cb3f28007755ca8002400302a..."} 
[2026-09-07 17:05:55] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba56118012cb3f28007755ca8002400302a..."} 
[2026-09-07 17:05:55] local.INFO: Packet analysis {"connection_id":176361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:05:55] local.INFO: Extracted packet for processing {"connection_id":176361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:05:55] local.INFO: GPS Element Parsed {"raw_longitude":749990528,"raw_latitude":125131944,"longitude_deg":74.9990528,"latitude_deg":12.5131944,"altitude":36,"angle":48,"satellites":42,"speed":29,"hex_longitude":"2cb3f280","hex_latitude":"07755ca8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927889920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401718745145278464,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486228739035287552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780831000,"timestamp_ms":1788780831000,"timestamp_seconds":1788780831,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba56118"} 
[2026-09-07 17: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-07 17:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:05:55] 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-07 17:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927889920001,"66":27767,"223":206,"85":36608,"24":29,"16":401718745145278464,"44":-5486228739035287552},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-09-07 17:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927889920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:05:55] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-09-07 17:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401718745145278464,"km_value":401718745145278.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486228739035287552,"description":"Unknown IO ID 44"} 
[2026-09-07 17:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927889920001,"power":27767,"unknown_223":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5486228739035287552}} 
[2026-09-07 17:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":176361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:05:55] local.INFO: GPS data processed {"connection_id":176361,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:05:55] local.INFO: Acknowledgment sent {"connection_id":176361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:04] local.INFO: TCP Data received {"connection_id":173617,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba65348012d7e348005d4c588000800aa29..."} 
[2026-09-07 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba65348012d7e348005d4c588000800aa29..."} 
[2026-09-07 17:06:04] local.INFO: Processing buffer {"connection_id":173617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba65348012d7e348005d4c588000800aa29..."} 
[2026-09-07 17:06:04] local.INFO: Packet analysis {"connection_id":173617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:06:04] local.INFO: Extracted packet for processing {"connection_id":173617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97830280,"longitude_deg":76.3245696,"latitude_deg":9.783028,"altitude":8,"angle":170,"satellites":41,"speed":25,"hex_longitude":"2d7e3480","hex_latitude":"05d4c588","is_valid_coordinates":true} 
[2026-09-07 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927907840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129487693401817088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093330622659534848,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06: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-07 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788780893000,"timestamp_ms":1788780893000,"timestamp_seconds":1788780893,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba65348"} 
[2026-09-07 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:06: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-07 17:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927907840001,"66":13798,"111":206,"85":15104,"24":25,"16":129487693401817088,"45":9093330622659534848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-07 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927907840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129487693401817088,"km_value":129487693401817.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093330622659534848,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927907840001,"power":13798,"unknown_111":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9093330622659534848}} 
[2026-09-07 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":173617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:04] local.INFO: GPS data processed {"connection_id":173617,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:04] local.INFO: Acknowledgment sent {"connection_id":173617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:17] local.INFO: TCP Data received {"connection_id":173618,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:06:17] local.INFO: Processing buffer {"connection_id":173618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba29258012d196500071ff0200040011f23..."} 
[2026-09-07 17:06:17] local.INFO: Packet analysis {"connection_id":173618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:06:17] local.INFO: Extracted packet for processing {"connection_id":173618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba2"} 
[2026-09-07 17:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927768576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780647000,"timestamp_ms":1788780647000,"timestamp_seconds":1788780647,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba29258"} 
[2026-09-07 17: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-07 17:06:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06:17] 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-07 17:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927768576001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927768576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927768576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":173618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:17] local.INFO: GPS data processed {"connection_id":173618,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:17] local.INFO: Acknowledgment sent {"connection_id":173618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:26] local.INFO: TCP Data received {"connection_id":176361,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba58828012cb409c007756dc00026003c29..."} 
[2026-09-07 17:06:26] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba58828012cb409c007756dc00026003c29..."} 
[2026-09-07 17:06:26] local.INFO: Processing buffer {"connection_id":176361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba58828012cb409c007756dc00026003c29..."} 
[2026-09-07 17:06:26] local.INFO: Packet analysis {"connection_id":176361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:06:26] local.INFO: Extracted packet for processing {"connection_id":176361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":749996480,"raw_latitude":125136320,"longitude_deg":74.999648,"latitude_deg":12.513632,"altitude":38,"angle":60,"satellites":41,"speed":32,"hex_longitude":"2cb409c0","hex_latitude":"07756dc0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927892736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401719097332596736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5480177027034339328,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788780841000,"timestamp_ms":1788780841000,"timestamp_seconds":1788780841,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba58828"} 
[2026-09-07 17: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-07 17:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:06:26] 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-07 17:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:26] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:26] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927892736001,"66":27843,"145":206,"85":36608,"24":32,"16":401719097332596736,"44":-5480177027034339328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 17:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927892736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 17:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401719097332596736,"km_value":401719097332596.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5480177027034339328,"description":"Unknown IO ID 44"} 
[2026-09-07 17:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927892736001,"power":27843,"unknown_145":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5480177027034339328}} 
[2026-09-07 17:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":176361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:26] local.INFO: GPS data processed {"connection_id":176361,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:26] local.INFO: Acknowledgment sent {"connection_id":176361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:27] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:27] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:27] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:06:32] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:32] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:06:32] local.INFO: IMEI packet received {"connection_id":173619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":173619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:06:33] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba67a58012d7e37c005d4a240000800b326..."} 
[2026-09-07 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba67a58012d7e37c005d4a240000800b326..."} 
[2026-09-07 17:06:33] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba67a58012d7e37c005d4a240000800b326..."} 
[2026-09-07 17:06:33] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:06:33] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba6"} 
[2026-09-07 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97821248,"longitude_deg":76.3246528,"latitude_deg":9.7821248,"altitude":8,"angle":179,"satellites":38,"speed":44,"hex_longitude":"2d7e37c0","hex_latitude":"05d4a240","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927908608001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129488131488481280,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310100781056,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06: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-07 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788780903000,"timestamp_ms":1788780903000,"timestamp_seconds":1788780903,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba67a58"} 
[2026-09-07 17: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-07 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:33] 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-07 17: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-07 17: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-07 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927908608001,"66":13820,"111":206,"85":15104,"24":44,"16":129488131488481280,"45":9094034310100781056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-07 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927908608001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 17:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129488131488481280,"km_value":129488131488481.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310100781056,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927908608001,"power":13820,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9094034310100781056}} 
[2026-09-07 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:33] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:33] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:41] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:41] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:41] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:06:44] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:44] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:44] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:06:45] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:45] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:45] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:06:46] local.INFO: TCP Data received {"connection_id":176362,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba79780012d0b46c00703abb0001500cd24..."} 
[2026-09-07 17:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba79780012d0b46c00703abb0001500cd24..."} 
[2026-09-07 17:06:46] local.INFO: Processing buffer {"connection_id":176362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba79780012d0b46c00703abb0001500cd24..."} 
[2026-09-07 17:06:46] local.INFO: Packet analysis {"connection_id":176362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:46] local.INFO: Extracted packet for processing {"connection_id":176362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":755713728,"raw_latitude":117681072,"longitude_deg":75.5713728,"latitude_deg":11.7681072,"altitude":21,"angle":205,"satellites":36,"speed":7,"hex_longitude":"2d0b46c0","hex_latitude":"0703abb0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927929600001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30594263230185472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812688656634241024,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780976000,"timestamp_ms":1788780976000,"timestamp_seconds":1788780976,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba79780"} 
[2026-09-07 17: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-07 17:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176362,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927929600001,"66":14537,"37":206,"94":11008,"24":7,"16":30594263230185472,"45":812688656634241024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-09-07 17:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927929600001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-09-07 17:06:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30594263230185472,"km_value":30594263230185.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":812688656634241024,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927929600001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":812688656634241024}} 
[2026-09-07 17:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":176362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779948,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:46] local.INFO: GPS data processed {"connection_id":176362,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:46] local.INFO: Acknowledgment sent {"connection_id":176362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:49] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:49] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:06:49] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:06:50] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba5a380012cb41f0007757710002800482a..."} 
[2026-09-07 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba5a380012cb41f0007757710002800482a..."} 
[2026-09-07 17:06:50] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba5a380012cb41f0007757710002800482a..."} 
[2026-09-07 17:06:50] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:06:50] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":750001920,"raw_latitude":125138704,"longitude_deg":75.000192,"latitude_deg":12.5138704,"altitude":40,"angle":72,"satellites":42,"speed":35,"hex_longitude":"2cb41f00","hex_latitude":"07757710","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927895296001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401719380800438272,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5473632733824696320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780848000,"timestamp_ms":1788780848000,"timestamp_seconds":1788780848,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba5a380"} 
[2026-09-07 17: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-07 17:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:50] 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-07 17: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-07 17: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-07 17:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:06: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-07 17:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927895296001,"66":27865,"145":206,"85":36608,"24":35,"16":401719380800438272,"44":-5473632733824696320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 17:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927895296001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:50] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 17:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401719380800438272,"km_value":401719380800438.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5473632733824696320,"description":"Unknown IO ID 44"} 
[2026-09-07 17:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927895296001,"power":27865,"unknown_145":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5473632733824696320}} 
[2026-09-07 17:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:50] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:50] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:50] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:50] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:06:50] local.INFO: IMEI packet received {"connection_id":173620,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":173620,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:06:51] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:51] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:51] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:51] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:06:51] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06:51] 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-07 17:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:51] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:51] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:06:55] local.INFO: TCP Data received {"connection_id":173620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:55] local.INFO: Processing buffer {"connection_id":173620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:06:55] local.INFO: Packet analysis {"connection_id":173620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:55] local.INFO: Extracted packet for processing {"connection_id":173620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:06:55] 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-07 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:06: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-07 17: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-07 17: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-07 17:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173620,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:06: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-07 17:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":173620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:06:55] local.INFO: GPS data processed {"connection_id":173620,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:06:55] local.INFO: Acknowledgment sent {"connection_id":173620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:04] local.INFO: TCP Data received {"connection_id":173619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba81098012d7e528005d38e58000800af26..."} 
[2026-09-07 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba81098012d7e528005d38e58000800af26..."} 
[2026-09-07 17:07:04] local.INFO: Processing buffer {"connection_id":173619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba81098012d7e528005d38e58000800af26..."} 
[2026-09-07 17:07:04] local.INFO: Packet analysis {"connection_id":173619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:04] local.INFO: Extracted packet for processing {"connection_id":173619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97750616,"longitude_deg":76.3253376,"latitude_deg":9.7750616,"altitude":8,"angle":175,"satellites":38,"speed":24,"hex_longitude":"2d7e5280","hex_latitude":"05d38e58","is_valid_coordinates":true} 
[2026-09-07 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927933952001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129491597527089152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100719340778534912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781007000,"timestamp_ms":1788781007000,"timestamp_seconds":1788781007,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba81098"} 
[2026-09-07 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:07: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-07 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":6,"raw_value":57787509375915323,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2801795072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2804555777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":212,"raw_value":5980780326634006528,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299054798,"corrected_to":0} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221607455,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743821,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":171966464,"corrected_to":0} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3561158656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-2875547067173306363,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,11,160,186,45,183,6,39,10,66,120,128,218,7,38,110,89,1,240,28,227,123,212,4,113,205,32,42,60,41,239,53,2,204,5,19,166],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1299054798,"validated":0},{"io_id":204,"original":171966464,"validated":0}]} 
[2026-09-07 17:07:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432522761694543872,"timestamp_seconds":432522761694543.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927933952001,"66":13993,"109":206,"85":15104,"24":24,"16":129491597527089152,"45":9100719340778534912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927933952001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129491597527089152,"km_value":129491597527089.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100719340778534912,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927933952001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9100719340778534912}} 
[2026-09-07 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":173619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:04] local.INFO: GPS data processed {"connection_id":173619,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:04] local.INFO: Acknowledgment sent {"connection_id":173619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:16] local.INFO: TCP Data received {"connection_id":176363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:07:16] local.INFO: TCP Data received {"connection_id":176363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:16] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:20] local.INFO: TCP Data received {"connection_id":176363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:20] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:20] local.INFO: IMEI packet received {"connection_id":176363,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":176363,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:21] local.INFO: TCP Data received {"connection_id":176363,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba83b90012d0b3a0007037bf8001300e824..."} 
[2026-09-07 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba83b90012d0b3a0007037bf8001300e824..."} 
[2026-09-07 17:07:21] local.INFO: Processing buffer {"connection_id":176363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba83b90012d0b3a0007037bf8001300e824..."} 
[2026-09-07 17:07:21] local.INFO: Packet analysis {"connection_id":176363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:21] local.INFO: Extracted packet for processing {"connection_id":176363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755710464,"raw_latitude":117668856,"longitude_deg":75.5710464,"latitude_deg":11.7668856,"altitude":19,"angle":232,"satellites":36,"speed":14,"hex_longitude":"2d0b3a00","hex_latitude":"07037bf8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927940352001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30594950424952832,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809310956910587904,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781018000,"timestamp_ms":1788781018000,"timestamp_seconds":1788781018,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba83b90"} 
[2026-09-07 17: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-07 17:07: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-07 17:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176363,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927940352001,"66":14461,"17":206,"94":11008,"24":14,"16":30594950424952832,"45":809310956910587904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927940352001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30594950424952832,"km_value":30594950424952.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":809310956910587904,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927940352001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":809310956910587904}} 
[2026-09-07 17:07:21] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba5c2c0012cb4378007757bb80029005429..."} 
[2026-09-07 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba5c2c0012cb4378007757bb80029005429..."} 
[2026-09-07 17:07:21] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba5c2c0012cb4378007757bb80029005429..."} 
[2026-09-07 17:07:21] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:07:21] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba5"} 
[2026-09-07 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":750008192,"raw_latitude":125139896,"longitude_deg":75.0008192,"latitude_deg":12.5139896,"altitude":41,"angle":84,"satellites":41,"speed":29,"hex_longitude":"2cb43780","hex_latitude":"07757bb8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927897088001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401719681448148992,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5467651390568984576,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788780856000,"timestamp_ms":1788780856000,"timestamp_seconds":1788780856,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba5c2c0"} 
[2026-09-07 17: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-07 17:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:07: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-07 17: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-07 17: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-07 17:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:07:21] 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-07 17:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927897088001,"66":27713,"145":206,"85":36608,"24":29,"16":401719681448148992,"44":-5467651390568984576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 17:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927897088001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401719681448148992,"km_value":401719681448149.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5467651390568984576,"description":"Unknown IO ID 44"} 
[2026-09-07 17:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927897088001,"power":27713,"unknown_145":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5467651390568984576}} 
[2026-09-07 17:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:21] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:21] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":176363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779954,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:21] local.INFO: GPS data processed {"connection_id":176363,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:21] local.INFO: Acknowledgment sent {"connection_id":176363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:27] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:27] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:27] local.INFO: IMEI packet received {"connection_id":174945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":174945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:07:31] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:31] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:31] local.INFO: IMEI packet received {"connection_id":174945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":174945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:32] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:32] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:07:32] local.INFO: IMEI packet received {"connection_id":174945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":174945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:33] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba81c50012d7e524005d385f8000800bb29..."} 
[2026-09-07 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba81c50012d7e524005d385f8000800bb29..."} 
[2026-09-07 17:07:33] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba81c50012d7e524005d385f8000800bb29..."} 
[2026-09-07 17:07:33] local.INFO: Packet analysis {"connection_id":174945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:33] local.INFO: Extracted packet for processing {"connection_id":174945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763253312,"raw_latitude":97748472,"longitude_deg":76.3253312,"latitude_deg":9.7748472,"altitude":8,"angle":187,"satellites":41,"speed":31,"hex_longitude":"2d7e5240","hex_latitude":"05d385f8","is_valid_coordinates":true} 
[2026-09-07 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927937792001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129491704901271552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102478559381706752,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:33] 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-07 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781010000,"timestamp_ms":1788781010000,"timestamp_seconds":1788781010,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba81c50"} 
[2026-09-07 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927937792001,"66":13493,"109":206,"85":15104,"24":31,"16":129491704901271552,"45":9102478559381706752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927937792001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129491704901271552,"km_value":129491704901271.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102478559381706752,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927937792001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9102478559381706752}} 
[2026-09-07 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":174945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:33] local.INFO: GPS data processed {"connection_id":174945,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:33] local.INFO: Acknowledgment sent {"connection_id":174945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:38] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba82fd8012d7e520005d37628000800ae28..."} 
[2026-09-07 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba82fd8012d7e520005d37628000800ae28..."} 
[2026-09-07 17:07:38] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba82fd8012d7e520005d37628000800ae28..."} 
[2026-09-07 17:07:38] local.INFO: Packet analysis {"connection_id":174945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:38] local.INFO: Extracted packet for processing {"connection_id":174945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":97744424,"longitude_deg":76.3253248,"latitude_deg":9.7744424,"altitude":8,"angle":174,"satellites":40,"speed":34,"hex_longitude":"2d7e5200","hex_latitude":"05d37628","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927938560001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129491898174799872,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102408190636980224,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788781015000,"timestamp_ms":1788781015000,"timestamp_seconds":1788781015,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba82fd8"} 
[2026-09-07 17: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-07 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:07: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-07 17: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-07 17: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-07 17:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927938560001,"66":13961,"109":206,"85":15104,"24":34,"16":129491898174799872,"45":9102408190636980224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927938560001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:07:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129491898174799872,"km_value":129491898174799.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102408190636980224,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927938560001,"power":13961,"unknown_109":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9102408190636980224}} 
[2026-09-07 17:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":174945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:38] local.INFO: GPS data processed {"connection_id":174945,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:38] local.INFO: Acknowledgment sent {"connection_id":174945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:40] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:40] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:40] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:07:44] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:44] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:44] local.INFO: IMEI packet received {"connection_id":173621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:07:45] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:45] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:07:45] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:45] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:45] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:45] local.INFO: IMEI packet received {"connection_id":174946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":174946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:07:46] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:07:46] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:07:46] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:07:46] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:07:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:07:46] 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-07 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:07:46] 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-07 17:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:46] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:46] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:49] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:49] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:07:49] local.INFO: IMEI packet received {"connection_id":173621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:50] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba7b6c0012cb4d74007755300003100492a..."} 
[2026-09-07 17:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba7b6c0012cb4d74007755300003100492a..."} 
[2026-09-07 17:07:50] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba7b6c0012cb4d74007755300003100492a..."} 
[2026-09-07 17:07:50] local.INFO: Packet analysis {"connection_id":173621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:07:50] local.INFO: Extracted packet for processing {"connection_id":173621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750049088,"raw_latitude":125129472,"longitude_deg":75.0049088,"latitude_deg":12.5129472,"altitude":49,"angle":73,"satellites":42,"speed":9,"hex_longitude":"2cb4d740","hex_latitude":"07755300","is_valid_coordinates":true} 
[2026-09-07 17:07: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-07 17:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927926528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401721777392189440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5418604375879735296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788780984000,"timestamp_ms":1788780984000,"timestamp_seconds":1788780984,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba7b6c0"} 
[2026-09-07 17:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:07: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-07 17:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:07: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-07 17:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927926528001,"66":27865,"145":206,"85":36608,"24":9,"16":401721777392189440,"44":-5418604375879735296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-09-07 17:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927926528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:50] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 17:07:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401721777392189440,"km_value":401721777392189.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5418604375879735296,"description":"Unknown IO ID 44"} 
[2026-09-07 17:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927926528001,"power":27865,"unknown_145":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5418604375879735296}} 
[2026-09-07 17:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":173621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:50] local.INFO: GPS data processed {"connection_id":173621,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:50] local.INFO: Acknowledgment sent {"connection_id":173621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:07:52] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:52] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:07:52] local.INFO: IMEI packet received {"connection_id":174946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":174946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:07:54] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba84360012d0b378007037930001300d624..."} 
[2026-09-07 17:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba84360012d0b378007037930001300d624..."} 
[2026-09-07 17:07:54] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba84360012d0b378007037930001300d624..."} 
[2026-09-07 17:07:54] local.INFO: Packet analysis {"connection_id":174946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:54] local.INFO: Extracted packet for processing {"connection_id":174946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":755709824,"raw_latitude":117668144,"longitude_deg":75.5709824,"latitude_deg":11.7668144,"altitude":19,"angle":214,"satellites":36,"speed":21,"hex_longitude":"2d0b3780","hex_latitude":"07037930","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927940608001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30594997669593088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808959113189652480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788781020000,"timestamp_ms":1788781020000,"timestamp_seconds":1788781020,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba84360"} 
[2026-09-07 17: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-07 17:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:07:54] 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-07 17: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-07 17: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-07 17:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927940608001,"66":14374,"17":206,"94":11008,"24":21,"16":30594997669593088,"45":808959113189652480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927940608001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:07:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30594997669593088,"km_value":30594997669593.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":808959113189652480,"description":"Unknown IO ID 45"} 
[2026-09-07 17:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927940608001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":808959113189652480}} 
[2026-09-07 17:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":174946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779959,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:07:54] local.INFO: GPS data processed {"connection_id":174946,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:07:54] local.INFO: Acknowledgment sent {"connection_id":174946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:09] local.INFO: TCP Data received {"connection_id":174945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba93590012d7e5c4005d2fed8000700df29..."} 
[2026-09-07 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba93590012d7e5c4005d2fed8000700df29..."} 
[2026-09-07 17:08:09] local.INFO: Processing buffer {"connection_id":174945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba93590012d7e5c4005d2fed8000700df29..."} 
[2026-09-07 17:08:09] local.INFO: Packet analysis {"connection_id":174945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:09] local.INFO: Extracted packet for processing {"connection_id":174945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":763255872,"raw_latitude":97713880,"longitude_deg":76.3255872,"latitude_deg":9.771388,"altitude":7,"angle":223,"satellites":41,"speed":5,"hex_longitude":"2d7e5c40","hex_latitude":"05d2fed8","is_valid_coordinates":true} 
[2026-09-07 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927956736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129493521672437760,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105293309139433472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08: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-07 17:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788781082000,"timestamp_ms":1788781082000,"timestamp_seconds":1788781082,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba93590"} 
[2026-09-07 17:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":4097,"corrected_to":0} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2833483777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3715469722657040384,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3087084926,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227910989,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":227016704,"corrected_to":0} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3541020672,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.WARNING: Large IO value detected {"io_id":168,"raw_value":-8525312799706808315,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,13,160,247,45,64,8,40,10,66,239,1,7,231,192,240,82,227,123,211,4,113,205,219,102,53,2,204,5,28,182,168],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":247,"original":4097,"validated":0},{"io_id":205,"original":1298989262,"validated":0},{"io_id":204,"original":227016704,"validated":0}]} 
[2026-09-07 17:08:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504661719591944192,"timestamp_seconds":504661719591944.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927956736001,"66":13820,"109":206,"85":15104,"24":5,"16":129493521672437760,"45":9105293309139433472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927956736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129493521672437760,"km_value":129493521672437.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105293309139433472,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927956736001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9105293309139433472}} 
[2026-09-07 17:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":174945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:09] local.INFO: GPS data processed {"connection_id":174945,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:09] local.INFO: Acknowledgment sent {"connection_id":174945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:17] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:17] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:17] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:08:17] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:08:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:08:17] 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-07 17:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:17] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:17] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:22] local.INFO: TCP Data received {"connection_id":176364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:22] local.INFO: Processing buffer {"connection_id":176364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:22] local.INFO: IMEI packet received {"connection_id":176364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":176364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:27] local.INFO: TCP Data received {"connection_id":174946,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba87a10012d0b25c007035b20000f00d424..."} 
[2026-09-07 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba87a10012d0b25c007035b20000f00d424..."} 
[2026-09-07 17:08:27] local.INFO: Processing buffer {"connection_id":174946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba87a10012d0b25c007035b20000f00d424..."} 
[2026-09-07 17:08:27] local.INFO: Packet analysis {"connection_id":174946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:27] local.INFO: Extracted packet for processing {"connection_id":174946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":755705280,"raw_latitude":117660448,"longitude_deg":75.570528,"latitude_deg":11.7660448,"altitude":15,"angle":212,"satellites":36,"speed":28,"hex_longitude":"2d0b25c0","hex_latitude":"07035b20","is_valid_coordinates":true} 
[2026-09-07 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927941120001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30595427166322688,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808255425747693568,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788781034000,"timestamp_ms":1788781034000,"timestamp_seconds":1788781034,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba87a10"} 
[2026-09-07 17:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:08: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-07 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:08: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-07 17:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927941120001,"66":14439,"17":206,"94":11008,"24":28,"16":30595427166322688,"45":808255425747693568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927941120001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30595427166322688,"km_value":30595427166322.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":808255425747693568,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927941120001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":808255425747693568}} 
[2026-09-07 17:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":174946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779962,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:27] local.INFO: GPS data processed {"connection_id":174946,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:27] local.INFO: Acknowledgment sent {"connection_id":174946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:27] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:27] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:27] local.INFO: IMEI packet received {"connection_id":173870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":173870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:32] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:32] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:08:32] local.INFO: IMEI packet received {"connection_id":173870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":173870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:33] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba93978012d7e5b8005d2fe10000700cd29..."} 
[2026-09-07 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba93978012d7e5b8005d2fe10000700cd29..."} 
[2026-09-07 17:08:33] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba93978012d7e5b8005d2fe10000700cd29..."} 
[2026-09-07 17:08:33] local.INFO: Packet analysis {"connection_id":173870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:33] local.INFO: Extracted packet for processing {"connection_id":173870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763255680,"raw_latitude":97713680,"longitude_deg":76.325568,"latitude_deg":9.771368,"altitude":7,"angle":205,"satellites":41,"speed":10,"hex_longitude":"2d7e5b80","hex_latitude":"05d2fe10","is_valid_coordinates":true} 
[2026-09-07 17:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927956992001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129493534557339648,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105222940395231232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:33] 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-07 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781083000,"timestamp_ms":1788781083000,"timestamp_seconds":1788781083,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba93978"} 
[2026-09-07 17:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 17:08: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-07 17:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927956992001,"66":13820,"109":206,"85":15104,"24":10,"16":129493534557339648,"45":9105222940395231232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927956992001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129493534557339648,"km_value":129493534557339.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105222940395231232,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927956992001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9105222940395231232}} 
[2026-09-07 17:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":173870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:33] local.INFO: GPS data processed {"connection_id":173870,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:33] local.INFO: Acknowledgment sent {"connection_id":173870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:35] local.INFO: TCP Data received {"connection_id":173621,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba808c8012cb4df80077556400032004c2a..."} 
[2026-09-07 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba808c8012cb4df80077556400032004c2a..."} 
[2026-09-07 17:08:35] local.INFO: Processing buffer {"connection_id":173621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba808c8012cb4df80077556400032004c2a..."} 
[2026-09-07 17:08:35] local.INFO: Packet analysis {"connection_id":173621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:35] local.INFO: Extracted packet for processing {"connection_id":173621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":750051200,"raw_latitude":125130304,"longitude_deg":75.00512,"latitude_deg":12.5130304,"altitude":50,"angle":76,"satellites":42,"speed":6,"hex_longitude":"2cb4df80","hex_latitude":"07755640","is_valid_coordinates":true} 
[2026-09-07 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927931904001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401721889061339136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5415789626112409600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788781005000,"timestamp_ms":1788781005000,"timestamp_seconds":1788781005,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba808c8"} 
[2026-09-07 17:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927931904001,"66":27919,"156":206,"85":36608,"24":6,"16":401721889061339136,"44":-5415789626112409600},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,44]} 
[2026-09-07 17:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927931904001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401721889061339136,"km_value":401721889061339.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5415789626112409600,"description":"Unknown IO ID 44"} 
[2026-09-07 17:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927931904001,"power":27919,"unknown_156":206,"unknown_85":36608,"ignition":6,"odometer":null,"unknown_44":-5415789626112409600}} 
[2026-09-07 17:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":173621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:35] local.INFO: GPS data processed {"connection_id":173621,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:35] local.INFO: Acknowledgment sent {"connection_id":173621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:40] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:40] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:40] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:42] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:42] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:42] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:44] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:44] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:44] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:44] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:44] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:44] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:45] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:45] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:08:45] local.INFO: IMEI packet received {"connection_id":174947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":174947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:45] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:45] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:45] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:46] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:46] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:08:46] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:08:46] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:08:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:08:46] 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-07 17:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:46] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:46] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:46] local.INFO: TCP Data received {"connection_id":176366,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:46] local.INFO: Processing buffer {"connection_id":176366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:08:46] local.INFO: IMEI packet received {"connection_id":176366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":176366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:08:47] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:47] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:47] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:49] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:49] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:08:49] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:50] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba80cb0012cb4e000077556800032003d2a..."} 
[2026-09-07 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba80cb0012cb4e000077556800032003d2a..."} 
[2026-09-07 17:08:50] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba80cb0012cb4e000077556800032003d2a..."} 
[2026-09-07 17:08:50] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:50] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba8"} 
[2026-09-07 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":750051328,"raw_latitude":125130368,"longitude_deg":75.0051328,"latitude_deg":12.5130368,"altitude":50,"angle":61,"satellites":42,"speed":9,"hex_longitude":"2cb4e000","hex_latitude":"07755680","is_valid_coordinates":true} 
[2026-09-07 17:08: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-07 17:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927937280001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401721897651273728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5413467457554333696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781006000,"timestamp_ms":1788781006000,"timestamp_seconds":1788781006,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba80cb0"} 
[2026-09-07 17:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:08: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-07 17:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927937280001,"66":27919,"156":206,"85":36608,"24":9,"16":401721897651273728,"44":-5413467457554333696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,44]} 
[2026-09-07 17:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927937280001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401721897651273728,"km_value":401721897651273.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5413467457554333696,"description":"Unknown IO ID 44"} 
[2026-09-07 17:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927937280001,"power":27919,"unknown_156":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5413467457554333696}} 
[2026-09-07 17:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:50] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:50] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:08:50] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:50] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:08:50] local.INFO: IMEI packet received {"connection_id":176365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":176365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:08:51] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba9b290012d0aea400702d3b8000f009724..."} 
[2026-09-07 17:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba9b290012d0aea400702d3b8000f009724..."} 
[2026-09-07 17:08:51] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba9b290012d0aea400702d3b8000f009724..."} 
[2026-09-07 17:08:51] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:51] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:08:51] local.INFO: GPS Element Parsed {"raw_longitude":755690048,"raw_latitude":117625784,"longitude_deg":75.5690048,"latitude_deg":11.7625784,"altitude":15,"angle":151,"satellites":36,"speed":10,"hex_longitude":"2d0aea40","hex_latitude":"0702d3b8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927964928001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30597282592194560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786370746297665536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781114000,"timestamp_ms":1788781114000,"timestamp_seconds":1788781114,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba9b290"} 
[2026-09-07 17: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-07 17:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:08: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-07 17: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-07 17: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-07 17:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927964928001,"66":14396,"17":206,"94":11008,"24":10,"16":30597282592194560,"45":786370746297665536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927964928001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:08:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30597282592194560,"km_value":30597282592194.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":786370746297665536,"description":"Unknown IO ID 45"} 
[2026-09-07 17:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927964928001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":786370746297665536}} 
[2026-09-07 17:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:08:51] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:08:51] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:04] local.INFO: TCP Data received {"connection_id":173870,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba94918012d7e594005d2f818000700be28..."} 
[2026-09-07 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba94918012d7e594005d2f818000700be28..."} 
[2026-09-07 17:09:04] local.INFO: Processing buffer {"connection_id":173870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba94918012d7e594005d2f818000700be28..."} 
[2026-09-07 17:09:04] local.INFO: Packet analysis {"connection_id":173870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:04] local.INFO: Extracted packet for processing {"connection_id":173870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763255104,"raw_latitude":97712152,"longitude_deg":76.3255104,"latitude_deg":9.7712152,"altitude":7,"angle":190,"satellites":40,"speed":22,"hex_longitude":"2d7e5940","hex_latitude":"05d2f818","is_valid_coordinates":true} 
[2026-09-07 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927957248001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129493616161718272,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105011834162647040,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781087000,"timestamp_ms":1788781087000,"timestamp_seconds":1788781087,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba94918"} 
[2026-09-07 17:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 17:09: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-07 17:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927957248001,"66":13820,"109":206,"85":15104,"24":22,"16":129493616161718272,"45":9105011834162647040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 17:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927957248001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 17:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129493616161718272,"km_value":129493616161718.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105011834162647040,"description":"Unknown IO ID 45"} 
[2026-09-07 17:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927957248001,"power":13820,"unknown_109":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9105011834162647040}} 
[2026-09-07 17:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":173870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:04] local.INFO: GPS data processed {"connection_id":173870,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:04] local.INFO: Acknowledgment sent {"connection_id":173870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:17] local.INFO: TCP Data received {"connection_id":174947,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:17] local.INFO: Processing buffer {"connection_id":174947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:17] local.INFO: Packet analysis {"connection_id":174947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:09:17] local.INFO: Extracted packet for processing {"connection_id":174947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:09:17] 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-07 17:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:09:17] 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-07 17:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":174947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:17] local.INFO: GPS data processed {"connection_id":174947,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:17] local.INFO: Acknowledgment sent {"connection_id":174947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:22] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba98b80012cb611c007760850004200542a..."} 
[2026-09-07 17:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba98b80012cb611c007760850004200542a..."} 
[2026-09-07 17:09:22] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba98b80012cb611c007760850004200542a..."} 
[2026-09-07 17:09:22] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:22] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":750129600,"raw_latitude":125175888,"longitude_deg":75.01296,"latitude_deg":12.5175888,"altitude":66,"angle":84,"satellites":42,"speed":58,"hex_longitude":"2cb611c0","hex_latitude":"07760850","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927960832001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401726287107850240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5338172901272838144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788781104000,"timestamp_ms":1788781104000,"timestamp_seconds":1788781104,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba98b80"} 
[2026-09-07 17: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-07 17:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 17:09:22] 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-07 17: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-07 17: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-07 17:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:09:22] 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-07 17:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927960832001,"66":27908,"225":206,"85":36608,"24":58,"16":401726287107850240,"44":-5338172901272838144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-07 17:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927960832001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:22] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 17:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401726287107850240,"km_value":401726287107850.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5338172901272838144,"description":"Unknown IO ID 44"} 
[2026-09-07 17:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927960832001,"power":27908,"unknown_225":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5338172901272838144}} 
[2026-09-07 17:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:22] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:22] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:23] local.INFO: TCP Data received {"connection_id":176365,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba9d5b8012d0af1800702c6f80010007923..."} 
[2026-09-07 17:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba9d5b8012d0af1800702c6f80010007923..."} 
[2026-09-07 17:09:23] local.INFO: Processing buffer {"connection_id":176365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba9d5b8012d0af1800702c6f80010007923..."} 
[2026-09-07 17:09:23] local.INFO: Packet analysis {"connection_id":176365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:23] local.INFO: Extracted packet for processing {"connection_id":176365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:23] local.INFO: GPS Element Parsed {"raw_longitude":755691904,"raw_latitude":117622520,"longitude_deg":75.5691904,"latitude_deg":11.762252,"altitude":16,"angle":121,"satellites":35,"speed":9,"hex_longitude":"2d0af180","hex_latitude":"0702c6f8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927965184001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30597462980820992,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":786511483785951232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788781123000,"timestamp_ms":1788781123000,"timestamp_seconds":1788781123,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba9d5b8"} 
[2026-09-07 17: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-07 17:09: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-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:09:23] 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-07 17: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-07 17: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-07 17:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927965184001,"66":14374,"17":206,"94":11008,"24":9,"16":30597462980820992,"45":786511483785951232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 17:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927965184001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30597462980820992,"km_value":30597462980820.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":786511483785951232,"description":"Unknown IO ID 45"} 
[2026-09-07 17:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927965184001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":786511483785951232}} 
[2026-09-07 17:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":176365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779971,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:23] local.INFO: GPS data processed {"connection_id":176365,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:23] local.INFO: Acknowledgment sent {"connection_id":176365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:32] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:32] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:32] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:09:35] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:35] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:09:35] local.INFO: IMEI packet received {"connection_id":174948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":174948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:09:36] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e01000001a07baa6a28012d7e750005d23a880003009b28..."} 
[2026-09-07 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":93,"packet_hex":"00000000000000518e01000001a07baa6a28012d7e750005d23a880003009b28..."} 
[2026-09-07 17:09:36] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07baa6a28012d7e750005d23a880003009b28..."} 
[2026-09-07 17:09:36] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07baa"} 
[2026-09-07 17:09:36] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07baa"} 
[2026-09-07 17:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":97663624,"longitude_deg":76.3262208,"latitude_deg":9.7663624,"altitude":3,"angle":155,"satellites":40,"speed":25,"hex_longitude":"2d7e7500","hex_latitude":"05d23a88","is_valid_coordinates":true} 
[2026-09-07 17:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-07 17:09:36] 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-07 17:09:36] 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-07 17:09:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:09:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 17:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 17:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 17:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 17:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 17:09:36] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 17:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 17:09:36] local.ERROR: GPS data processing failed {"connection_id":174948,"error":"No valid data to process"} 
[2026-09-07 17:09:36] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 17:09:38] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baa6e10012d7e754005d237d0000300a828..."} 
[2026-09-07 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baa6e10012d7e754005d237d0000300a828..."} 
[2026-09-07 17:09:38] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baa6e10012d7e754005d237d0000300a828..."} 
[2026-09-07 17:09:38] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:09:38] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":763262272,"raw_latitude":97662928,"longitude_deg":76.3262272,"latitude_deg":9.7662928,"altitude":3,"angle":168,"satellites":40,"speed":27,"hex_longitude":"2d7e7540","hex_latitude":"05d237d0","is_valid_coordinates":true} 
[2026-09-07 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927977216001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129496141602488320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446055954432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:38] 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-07 17:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788781162000,"timestamp_ms":1788781162000,"timestamp_seconds":1788781162,"priority":1,"record_length":96,"hex_timestamp":"000001a07baa6e10"} 
[2026-09-07 17:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 17:09: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-07 17:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927977216001,"66":13624,"116":206,"85":15104,"24":27,"16":129496141602488320,"45":9112189446055954432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927977216001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:38] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129496141602488320,"km_value":129496141602488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446055954432,"description":"Unknown IO ID 45"} 
[2026-09-07 17:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927977216001,"power":13624,"unknown_116":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9112189446055954432}} 
[2026-09-07 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:38] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:38] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:40] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:40] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:40] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:09:40] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:09:40] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:09:40] local.INFO: IMEI packet received {"connection_id":174950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":174950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:09:44] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:44] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:44] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:09:45] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:45] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:45] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:09:45] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:45] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:09:45] local.INFO: IMEI packet received {"connection_id":174949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":174949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:09:46] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:46] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:09:46] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:09:46] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 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-07 17:09:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:09:46] 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-07 17:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:46] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:46] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:09:49] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:49] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:09:49] local.INFO: IMEI packet received {"connection_id":176368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":176368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:09:50] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba9a6d8012cb63ac007760c18004100542a..."} 
[2026-09-07 17:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba9a6d8012cb63ac007760c18004100542a..."} 
[2026-09-07 17:09:50] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba9a6d8012cb63ac007760c18004100542a..."} 
[2026-09-07 17:09:50] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:50] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:09:50] local.INFO: GPS Element Parsed {"raw_longitude":750140096,"raw_latitude":125176856,"longitude_deg":75.0140096,"latitude_deg":12.5176856,"altitude":65,"angle":84,"satellites":42,"speed":58,"hex_longitude":"2cb63ac0","hex_latitude":"07760c18","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927962624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401726785324056576,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5327265745925025792,"note":"Value kept but may cause issues"} 
[2026-09-07 17:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781111000,"timestamp_ms":1788781111000,"timestamp_seconds":1788781111,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba9a6d8"} 
[2026-09-07 17: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-07 17:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:09: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-07 17:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927962624001,"66":27865,"225":206,"85":36608,"24":58,"16":401726785324056576,"44":-5327265745925025792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-07 17:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927962624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:09:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 17:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401726785324056576,"km_value":401726785324056.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5327265745925025792,"description":"Unknown IO ID 44"} 
[2026-09-07 17:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927962624001,"power":27865,"unknown_225":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5327265745925025792}} 
[2026-09-07 17:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:09:50] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:09:50] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:09] local.INFO: TCP Data received {"connection_id":174948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baa9908012d7e778005d21378000700ac27..."} 
[2026-09-07 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baa9908012d7e778005d21378000700ac27..."} 
[2026-09-07 17:10:09] local.INFO: Processing buffer {"connection_id":174948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baa9908012d7e778005d21378000700ac27..."} 
[2026-09-07 17:10:09] local.INFO: Packet analysis {"connection_id":174948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:09] local.INFO: Extracted packet for processing {"connection_id":174948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763262848,"raw_latitude":97653624,"longitude_deg":76.3262848,"latitude_deg":9.7653624,"altitude":7,"angle":172,"satellites":39,"speed":32,"hex_longitude":"2d7e7780","hex_latitude":"05d21378","is_valid_coordinates":true} 
[2026-09-07 17:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927977472001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129496592574054400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112259814799953920,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:09] 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-07 17:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788781173000,"timestamp_ms":1788781173000,"timestamp_seconds":1788781173,"priority":1,"record_length":96,"hex_timestamp":"000001a07baa9908"} 
[2026-09-07 17:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 17:10: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-07 17:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927977472001,"66":13646,"116":206,"85":15104,"24":32,"16":129496592574054400,"45":9112259814799953920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927977472001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129496592574054400,"km_value":129496592574054.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112259814799953920,"description":"Unknown IO ID 45"} 
[2026-09-07 17:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927977472001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9112259814799953920}} 
[2026-09-07 17:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":174948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:09] local.INFO: GPS data processed {"connection_id":174948,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:09] local.INFO: Acknowledgment sent {"connection_id":174948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:17] local.INFO: TCP Data received {"connection_id":174949,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:17] local.INFO: Processing buffer {"connection_id":174949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:17] local.INFO: Packet analysis {"connection_id":174949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:10:17] local.INFO: Extracted packet for processing {"connection_id":174949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 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-07 17:10:17] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:10:17] 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-07 17:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":174949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:17] local.INFO: GPS data processed {"connection_id":174949,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:17] local.INFO: Acknowledgment sent {"connection_id":174949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:21] local.INFO: TCP Data received {"connection_id":176368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba9c230012cb661c007760f78004100552b..."} 
[2026-09-07 17:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba9c230012cb661c007760f78004100552b..."} 
[2026-09-07 17:10:21] local.INFO: Processing buffer {"connection_id":176368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba9c230012cb661c007760f78004100552b..."} 
[2026-09-07 17:10:21] local.INFO: Packet analysis {"connection_id":176368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:10:21] local.INFO: Extracted packet for processing {"connection_id":176368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba9"} 
[2026-09-07 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":750150080,"raw_latitude":125177720,"longitude_deg":75.015008,"latitude_deg":12.517772,"altitude":65,"angle":85,"satellites":43,"speed":53,"hex_longitude":"2cb661c0","hex_latitude":"07760f78","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927964416001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401727257770459136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5315725271879641088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781118000,"timestamp_ms":1788781118000,"timestamp_seconds":1788781118,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba9c230"} 
[2026-09-07 17: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-07 17:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:10: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-07 17: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-07 17: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-07 17:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:10:21] 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-07 17:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927964416001,"66":27876,"225":206,"85":36608,"24":53,"16":401727257770459136,"44":-5315725271879641088},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-07 17:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927964416001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 17:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401727257770459136,"km_value":401727257770459.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5315725271879641088,"description":"Unknown IO ID 44"} 
[2026-09-07 17:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927964416001,"power":27876,"unknown_225":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5315725271879641088}} 
[2026-09-07 17:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":176368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:21] local.INFO: GPS data processed {"connection_id":176368,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:21] local.INFO: Acknowledgment sent {"connection_id":176368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:27] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:27] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:27] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:10:32] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:32] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:10:32] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:32] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baae728012d7e78c005d20708000400b026..."} 
[2026-09-07 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baae728012d7e78c005d20708000400b026..."} 
[2026-09-07 17:10:32] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baae728012d7e78c005d20708000400b026..."} 
[2026-09-07 17:10:32] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:32] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763263168,"raw_latitude":97650440,"longitude_deg":76.3263168,"latitude_deg":9.765044,"altitude":4,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d7e78c0","hex_latitude":"05d20708","is_valid_coordinates":true} 
[2026-09-07 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927980288001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129496751487844352,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112893133495171072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:32] 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-07 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788781193000,"timestamp_ms":1788781193000,"timestamp_seconds":1788781193,"priority":1,"record_length":96,"hex_timestamp":"000001a07baae728"} 
[2026-09-07 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 17:10:32] 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-07 17:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927980288001,"66":13798,"116":206,"85":15104,"24":0,"16":129496751487844352,"45":9112893133495171072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927980288001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:32] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129496751487844352,"km_value":129496751487844.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112893133495171072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927980288001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112893133495171072}} 
[2026-09-07 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:32] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:32] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:36] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:36] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:36] local.INFO: IMEI packet received {"connection_id":174950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":174950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:37] local.INFO: TCP Data received {"connection_id":174950,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174950,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:37] local.INFO: Processing buffer {"connection_id":174950,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:37] local.INFO: IMEI packet received {"connection_id":174950,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":174950,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:40] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:40] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:40] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:10:40] local.INFO: TCP Data received {"connection_id":176370,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176370,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:40] local.INFO: Processing buffer {"connection_id":176370,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:10:40] local.INFO: IMEI packet received {"connection_id":176370,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":176370,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:10:44] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:10:44] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:44] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:45] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:45] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:10:45] local.INFO: IMEI packet received {"connection_id":173622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:46] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:46] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:10:46] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:10:46] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 17: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-07 17:10:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:10:46] 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-07 17:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:46] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:46] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:10:49] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:49] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:10:49] local.INFO: IMEI packet received {"connection_id":174951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":174951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:10:50] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07baad788012cb7bbc00775a2b80040006f2b..."} 
[2026-09-07 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baad788012cb7bbc00775a2b80040006f2b..."} 
[2026-09-07 17:10:50] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baad788012cb7bbc00775a2b80040006f2b..."} 
[2026-09-07 17:10:50] local.INFO: Packet analysis {"connection_id":174951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:50] local.INFO: Extracted packet for processing {"connection_id":174951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":750238656,"raw_latitude":125149880,"longitude_deg":75.0238656,"latitude_deg":12.514988,"altitude":64,"angle":111,"satellites":43,"speed":40,"hex_longitude":"2cb7bbc0","hex_latitude":"0775a2b8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927982080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401731771781087232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5217420136269410304,"note":"Value kept but may cause issues"} 
[2026-09-07 17:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781189000,"timestamp_ms":1788781189000,"timestamp_seconds":1788781189,"priority":1,"record_length":96,"hex_timestamp":"000001a07baad788"} 
[2026-09-07 17: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-07 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:10:50] 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-07 17: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-07 17: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-07 17:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:10: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-07 17:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927982080001,"66":27974,"159":206,"85":36608,"24":40,"16":401731771781087232,"44":-5217420136269410304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927982080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:10:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401731771781087232,"km_value":401731771781087.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5217420136269410304,"description":"Unknown IO ID 44"} 
[2026-09-07 17:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927982080001,"power":27974,"unknown_159":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-5217420136269410304}} 
[2026-09-07 17:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":174951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:10:50] local.INFO: GPS data processed {"connection_id":174951,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:10:50] local.INFO: Acknowledgment sent {"connection_id":174951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:04] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bab2990012d7e788005d205c8000700bb27..."} 
[2026-09-07 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bab2990012d7e788005d205c8000700bb27..."} 
[2026-09-07 17:11:04] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bab2990012d7e788005d205c8000700bb27..."} 
[2026-09-07 17:11:04] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:04] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763263104,"raw_latitude":97650120,"longitude_deg":76.3263104,"latitude_deg":9.765012,"altitude":7,"angle":187,"satellites":39,"speed":7,"hex_longitude":"2d7e7880","hex_latitude":"05d205c8","is_valid_coordinates":true} 
[2026-09-07 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927985408001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129496768667713536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113244977215244288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:04] 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-07 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781210000,"timestamp_ms":1788781210000,"timestamp_seconds":1788781210,"priority":1,"record_length":96,"hex_timestamp":"000001a07bab2990"} 
[2026-09-07 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:04] 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-07 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927985408001,"66":13559,"116":206,"85":15104,"24":7,"16":129496768667713536,"45":9113244977215244288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927985408001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129496768667713536,"km_value":129496768667713.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113244977215244288,"description":"Unknown IO ID 45"} 
[2026-09-07 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927985408001,"power":13559,"unknown_116":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9113244977215244288}} 
[2026-09-07 17:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:04] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:04] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:17] local.INFO: TCP Data received {"connection_id":173622,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:11:17] local.INFO: Processing buffer {"connection_id":173622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ba72a20012d196500071ff0200040011f20..."} 
[2026-09-07 17:11:17] local.INFO: Packet analysis {"connection_id":173622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:11:17] local.INFO: Extracted packet for processing {"connection_id":173622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ba7"} 
[2026-09-07 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927845632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788780948000,"timestamp_ms":1788780948000,"timestamp_seconds":1788780948,"priority":1,"record_length":96,"hex_timestamp":"000001a07ba72a20"} 
[2026-09-07 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-07 17:11:17] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11:17] 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-07 17:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927845632001,"66":2177,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927845632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927845632001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":173622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:17] local.INFO: GPS data processed {"connection_id":173622,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:17] local.INFO: Acknowledgment sent {"connection_id":173622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:22] local.INFO: TCP Data received {"connection_id":174951,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07baafab0012cb7df4007759230003f00762c..."} 
[2026-09-07 17:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baafab0012cb7df4007759230003f00762c..."} 
[2026-09-07 17:11:22] local.INFO: Processing buffer {"connection_id":174951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baafab0012cb7df4007759230003f00762c..."} 
[2026-09-07 17:11:22] local.INFO: Packet analysis {"connection_id":174951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:11:22] local.INFO: Extracted packet for processing {"connection_id":174951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baa"} 
[2026-09-07 17:11:22] local.INFO: GPS Element Parsed {"raw_longitude":750247744,"raw_latitude":125145648,"longitude_deg":75.0247744,"latitude_deg":12.5145648,"altitude":63,"angle":118,"satellites":44,"speed":46,"hex_longitude":"2cb7df40","hex_latitude":"07759230","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927984384001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401732248522457088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5207357405852944384,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788781198000,"timestamp_ms":1788781198000,"timestamp_seconds":1788781198,"priority":1,"record_length":96,"hex_timestamp":"000001a07baafab0"} 
[2026-09-07 17: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-07 17:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:11:22] 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-07 17:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927984384001,"66":27865,"159":206,"85":36608,"24":46,"16":401732248522457088,"44":-5207357405852944384},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927984384001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:22] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401732248522457088,"km_value":401732248522457.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5207357405852944384,"description":"Unknown IO ID 44"} 
[2026-09-07 17:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927984384001,"power":27865,"unknown_159":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-5207357405852944384}} 
[2026-09-07 17:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":174951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:22] local.INFO: GPS data processed {"connection_id":174951,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:22] local.INFO: Acknowledgment sent {"connection_id":174951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:24] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:24] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:24] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:11:27] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:27] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:27] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:11:31] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:31] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:11:31] local.INFO: IMEI packet received {"connection_id":173623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":173623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:11:31] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bab77b0012d7e78c005d1ff08000900ba27..."} 
[2026-09-07 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bab77b0012d7e78c005d1ff08000900ba27..."} 
[2026-09-07 17:11:31] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bab77b0012d7e78c005d1ff08000900ba27..."} 
[2026-09-07 17:11:31] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:31] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763263168,"raw_latitude":97648392,"longitude_deg":76.3263168,"latitude_deg":9.7648392,"altitude":9,"angle":186,"satellites":39,"speed":8,"hex_longitude":"2d7e78c0","hex_latitude":"05d1ff08","is_valid_coordinates":true} 
[2026-09-07 17:11: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-07 17:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927989760001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129496858862026752,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113174608470984704,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:31] 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-07 17:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788781230000,"timestamp_ms":1788781230000,"timestamp_seconds":1788781230,"priority":1,"record_length":96,"hex_timestamp":"000001a07bab77b0"} 
[2026-09-07 17:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:31] 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-07 17:11: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-07 17:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927989760001,"66":13961,"116":206,"85":15104,"24":8,"16":129496858862026752,"45":9113174608470984704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927989760001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:31] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129496858862026752,"km_value":129496858862026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113174608470984704,"description":"Unknown IO ID 45"} 
[2026-09-07 17:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927989760001,"power":13961,"unknown_116":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9113174608470984704}} 
[2026-09-07 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:32] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:32] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:45] local.INFO: TCP Data received {"connection_id":174952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:45] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:45] local.INFO: IMEI packet received {"connection_id":174952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":174952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:11:49] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:49] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:49] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:11:50] local.INFO: TCP Data received {"connection_id":174952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:50] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:11:50] local.INFO: IMEI packet received {"connection_id":174952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":174952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:11:51] local.INFO: TCP Data received {"connection_id":174952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:51] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:51] local.INFO: Packet analysis {"connection_id":174952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:51] local.INFO: Extracted packet for processing {"connection_id":174952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11: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-07 17:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 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-07 17:11:51] 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-07 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11:51] 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-07 17:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":174952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:51] local.INFO: GPS data processed {"connection_id":174952,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:51] local.INFO: Acknowledgment sent {"connection_id":174952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:55] local.INFO: TCP Data received {"connection_id":174952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:55] local.INFO: Processing buffer {"connection_id":174952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:11:55] local.INFO: Packet analysis {"connection_id":174952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:55] local.INFO: Extracted packet for processing {"connection_id":174952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:11:55] 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-07 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:55] 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-07 17: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-07 17: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-07 17:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:11: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-07 17:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":174952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:55] local.INFO: GPS data processed {"connection_id":174952,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:55] local.INFO: Acknowledgment sent {"connection_id":174952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:11:58] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:58] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:11:58] local.INFO: IMEI packet received {"connection_id":176373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":176373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:11:59] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bab19f0012cb7ff4007757f20003c007b2b..."} 
[2026-09-07 17:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bab19f0012cb7ff4007757f20003c007b2b..."} 
[2026-09-07 17:11:59] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bab19f0012cb7ff4007757f20003c007b2b..."} 
[2026-09-07 17:11:59] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:59] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:11:59] local.INFO: GPS Element Parsed {"raw_longitude":750255936,"raw_latitude":125140768,"longitude_deg":75.0255936,"latitude_deg":12.5140768,"altitude":60,"angle":123,"satellites":43,"speed":47,"hex_longitude":"2cb7ff40","hex_latitude":"07757f20","is_valid_coordinates":true} 
[2026-09-07 17:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927986688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401732703788990464,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5197365044180799488,"note":"Value kept but may cause issues"} 
[2026-09-07 17:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788781206000,"timestamp_ms":1788781206000,"timestamp_seconds":1788781206,"priority":1,"record_length":96,"hex_timestamp":"000001a07bab19f0"} 
[2026-09-07 17:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:11:59] 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-07 17:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927986688001,"66":27865,"159":206,"85":36608,"24":47,"16":401732703788990464,"44":-5197365044180799488},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927986688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:11:59] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401732703788990464,"km_value":401732703788990.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5197365044180799488,"description":"Unknown IO ID 44"} 
[2026-09-07 17:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927986688001,"power":27865,"unknown_159":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5197365044180799488}} 
[2026-09-07 17:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:11:59] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:11:59] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:00] local.INFO: TCP Data received {"connection_id":176373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bab3930012cb81f8007756a18003b007c2b..."} 
[2026-09-07 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bab3930012cb81f8007756a18003b007c2b..."} 
[2026-09-07 17:12:00] local.INFO: Processing buffer {"connection_id":176373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bab3930012cb81f8007756a18003b007c2b..."} 
[2026-09-07 17:12:00] local.INFO: Packet analysis {"connection_id":176373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:00] local.INFO: Extracted packet for processing {"connection_id":176373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":750264192,"raw_latitude":125135384,"longitude_deg":75.0264192,"latitude_deg":12.5135384,"altitude":59,"angle":124,"satellites":43,"speed":47,"hex_longitude":"2cb81f80","hex_latitude":"07756a18","is_valid_coordinates":true} 
[2026-09-07 17:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927988736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401733171940425728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5188357844927307776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788781214000,"timestamp_ms":1788781214000,"timestamp_seconds":1788781214,"priority":1,"record_length":96,"hex_timestamp":"000001a07bab3930"} 
[2026-09-07 17:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12:00] 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-07 17:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927988736001,"66":27800,"159":206,"85":36608,"24":47,"16":401733171940425728,"44":-5188357844927307776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927988736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401733171940425728,"km_value":401733171940425.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5188357844927307776,"description":"Unknown IO ID 44"} 
[2026-09-07 17:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927988736001,"power":27800,"unknown_159":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5188357844927307776}} 
[2026-09-07 17:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":176373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:00] local.INFO: GPS data processed {"connection_id":176373,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:00] local.INFO: Acknowledgment sent {"connection_id":176373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:03] local.INFO: TCP Data received {"connection_id":173623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bab9ad8012d7e78c005d1f0a0000a00af28..."} 
[2026-09-07 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bab9ad8012d7e78c005d1f0a0000a00af28..."} 
[2026-09-07 17:12:03] local.INFO: Processing buffer {"connection_id":173623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bab9ad8012d7e78c005d1f0a0000a00af28..."} 
[2026-09-07 17:12:03] local.INFO: Packet analysis {"connection_id":173623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:03] local.INFO: Extracted packet for processing {"connection_id":173623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763263168,"raw_latitude":97644704,"longitude_deg":76.3263168,"latitude_deg":9.7644704,"altitude":10,"angle":175,"satellites":40,"speed":23,"hex_longitude":"2d7e78c0","hex_latitude":"05d1f0a0","is_valid_coordinates":true} 
[2026-09-07 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927994880001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129497039250653184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113244977214720000,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:03] 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-07 17:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788781239000,"timestamp_ms":1788781239000,"timestamp_seconds":1788781239,"priority":1,"record_length":96,"hex_timestamp":"000001a07bab9ad8"} 
[2026-09-07 17:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:03] 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-07 17:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927994880001,"66":13254,"116":206,"85":15104,"24":23,"16":129497039250653184,"45":9113244977214720000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927994880001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129497039250653184,"km_value":129497039250653.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113244977214720000,"description":"Unknown IO ID 45"} 
[2026-09-07 17:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927994880001,"power":13254,"unknown_116":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9113244977214720000}} 
[2026-09-07 17:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":173623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:03] local.INFO: GPS data processed {"connection_id":173623,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:03] local.INFO: Acknowledgment sent {"connection_id":173623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:28] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:28] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:28] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:12:32] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:32] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:12:32] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:12:33] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07babd188012d7e7dc005d1cb78000700a829..."} 
[2026-09-07 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babd188012d7e7dc005d1cb78000700a829..."} 
[2026-09-07 17:12:33] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babd188012d7e7dc005d1cb78000700a829..."} 
[2026-09-07 17:12:33] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:33] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763264448,"raw_latitude":97635192,"longitude_deg":76.3264448,"latitude_deg":9.7635192,"altitude":7,"angle":168,"satellites":41,"speed":37,"hex_longitude":"2d7e7dc0","hex_latitude":"05d1cb78","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927997184001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129497503107121152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113244977213775872,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:33] 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-07 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781253000,"timestamp_ms":1788781253000,"timestamp_seconds":1788781253,"priority":1,"record_length":96,"hex_timestamp":"000001a07babd188"} 
[2026-09-07 17:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927997184001,"66":13798,"116":206,"85":15104,"24":37,"16":129497503107121152,"45":9113244977213775872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927997184001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129497503107121152,"km_value":129497503107121.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113244977213775872,"description":"Unknown IO ID 45"} 
[2026-09-07 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927997184001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9113244977213775872}} 
[2026-09-07 17:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:33] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:33] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:40] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:40] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:40] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:12:44] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:44] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:44] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:12:45] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:45] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:12:45] local.INFO: IMEI packet received {"connection_id":176375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":176375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:12:45] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:45] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:45] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:12:46] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:12:46] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:12:46] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:46] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17:12:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:12:46] 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-07 17:12:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:46] 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-07 17:12:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:12:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:12:46] 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-07 17:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:46] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:46] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:49] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:49] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:12:49] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:12:50] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:50] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:50] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:12:50] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:12:50] local.INFO: GPS Element Parsed {"raw_longitude":750354176,"raw_latitude":125105816,"longitude_deg":75.0354176,"latitude_deg":12.5105816,"altitude":79,"angle":97,"satellites":44,"speed":43,"hex_longitude":"2cb97f00","hex_latitude":"0774f698","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928011264001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401737694540988416,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5090545290528774144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781303000,"timestamp_ms":1788781303000,"timestamp_seconds":1788781303,"priority":1,"record_length":96,"hex_timestamp":"000001a07bac94d8"} 
[2026-09-07 17: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-07 17:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12: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-07 17:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928011264001,"66":27908,"19":206,"85":36608,"24":43,"16":401737694540988416,"44":-5090545290528774144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-07 17:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928011264001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401737694540988416,"km_value":401737694540988.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5090545290528774144,"description":"Unknown IO ID 44"} 
[2026-09-07 17:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928011264001,"power":27908,"unknown_19":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-5090545290528774144}} 
[2026-09-07 17:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:50] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:50] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:12:54] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:54] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bac94d8012cb97f000774f698004f00612c..."} 
[2026-09-07 17:12:54] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:12:54] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:12:54] local.INFO: GPS Element Parsed {"raw_longitude":750354176,"raw_latitude":125105816,"longitude_deg":75.0354176,"latitude_deg":12.5105816,"altitude":79,"angle":97,"satellites":44,"speed":43,"hex_longitude":"2cb97f00","hex_latitude":"0774f698","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928013568001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401737694540988416,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5080341822623541248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788781303000,"timestamp_ms":1788781303000,"timestamp_seconds":1788781303,"priority":1,"record_length":96,"hex_timestamp":"000001a07bac94d8"} 
[2026-09-07 17: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-07 17:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:12:54] 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-07 17:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928013568001,"66":27908,"19":206,"85":36608,"24":43,"16":401737694540988416,"44":-5080341822623541248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-07 17:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928013568001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:12:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401737694540988416,"km_value":401737694540988.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:12:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5080341822623541248,"description":"Unknown IO ID 44"} 
[2026-09-07 17:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928013568001,"power":27908,"unknown_19":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-5080341822623541248}} 
[2026-09-07 17:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:12:54] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:12:54] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:13:04] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bad7380012d7e86c005d08048000400c528..."} 
[2026-09-07 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bad7380012d7e86c005d08048000400c528..."} 
[2026-09-07 17:13:04] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bad7380012d7e86c005d08048000400c528..."} 
[2026-09-07 17:13:04] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:13:04] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763266752,"raw_latitude":97550408,"longitude_deg":76.3266752,"latitude_deg":9.7550408,"altitude":4,"angle":197,"satellites":40,"speed":25,"hex_longitude":"2d7e86c0","hex_latitude":"05d08048","is_valid_coordinates":true} 
[2026-09-07 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928027648001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129501656340496384,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117748576817303552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781360000,"timestamp_ms":1788781360000,"timestamp_seconds":1788781360,"priority":1,"record_length":96,"hex_timestamp":"000001a07bad7380"} 
[2026-09-07 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 17:13:04] 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-07 17:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928027648001,"66":13493,"214":206,"85":15104,"24":25,"16":129501656340496384,"45":9117748576817303552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928027648001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129501656340496384,"km_value":129501656340496.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117748576817303552,"description":"Unknown IO ID 45"} 
[2026-09-07 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928027648001,"power":13493,"unknown_214":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9117748576817303552}} 
[2026-09-07 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:13:04] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:13:04] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:13:17] local.INFO: TCP Data received {"connection_id":176375,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:17] local.INFO: Processing buffer {"connection_id":176375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:17] local.INFO: Packet analysis {"connection_id":176375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:13:17] local.INFO: Extracted packet for processing {"connection_id":176375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:13:17] 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-07 17:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:13:17] 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-07 17:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:13:17] 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-07 17:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":176375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:13:17] local.INFO: GPS data processed {"connection_id":176375,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:13:17] local.INFO: Acknowledgment sent {"connection_id":176375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:13:26] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:26] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:26] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:13:27] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:27] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:27] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:13:32] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:32] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:13:32] local.INFO: IMEI packet received {"connection_id":176377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":176377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:13:33] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bad7b50012d7e85c005d07ba0000400b927..."} 
[2026-09-07 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bad7b50012d7e85c005d07ba0000400b927..."} 
[2026-09-07 17:13:33] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bad7b50012d7e85c005d07ba0000400b927..."} 
[2026-09-07 17:13:33] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:13:33] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763266496,"raw_latitude":97549216,"longitude_deg":76.3266496,"latitude_deg":9.7549216,"altitude":4,"angle":185,"satellites":39,"speed":23,"hex_longitude":"2d7e85c0","hex_latitude":"05d07ba0","is_valid_coordinates":true} 
[2026-09-07 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928028160001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129501716470038528,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117185626863585280,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781362000,"timestamp_ms":1788781362000,"timestamp_seconds":1788781362,"priority":1,"record_length":96,"hex_timestamp":"000001a07bad7b50"} 
[2026-09-07 17:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:13:33] 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-07 17:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928028160001,"66":13993,"214":206,"85":15104,"24":23,"16":129501716470038528,"45":9117185626863585280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928028160001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:13:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129501716470038528,"km_value":129501716470038.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117185626863585280,"description":"Unknown IO ID 45"} 
[2026-09-07 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928028160001,"power":13993,"unknown_214":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9117185626863585280}} 
[2026-09-07 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:13:33] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:13:33] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:13:40] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:40] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:40] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:13:44] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:44] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:44] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:13:45] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:45] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:13:45] local.INFO: IMEI packet received {"connection_id":176378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":176378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:13:46] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:46] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:13:46] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:13:46] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:13:46] 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-07 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:13:46] 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-07 17: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-07 17: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-07 17:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:13:46] 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-07 17:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:13:46] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:13:46] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:13:49] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:49] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:13:49] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:13:50] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bacb418012cb9a3000774f340004f005e2d..."} 
[2026-09-07 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bacb418012cb9a3000774f340004f005e2d..."} 
[2026-09-07 17:13:50] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bacb418012cb9a3000774f340004f005e2d..."} 
[2026-09-07 17:13:50] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:13:50] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bac"} 
[2026-09-07 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":750363392,"raw_latitude":125104960,"longitude_deg":75.0363392,"latitude_deg":12.510496,"altitude":79,"angle":94,"satellites":45,"speed":46,"hex_longitude":"2cb9a300","hex_latitude":"0774f340","is_valid_coordinates":true} 
[2026-09-07 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928013568001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401738132627652608,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5080341822623541248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781311000,"timestamp_ms":1788781311000,"timestamp_seconds":1788781311,"priority":1,"record_length":96,"hex_timestamp":"000001a07bacb418"} 
[2026-09-07 17:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:13: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-07 17:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928013568001,"66":27865,"19":206,"85":36608,"24":46,"16":401738132627652608,"44":-5080341822623541248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-09-07 17:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928013568001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:13:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401738132627652608,"km_value":401738132627652.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5080341822623541248,"description":"Unknown IO ID 44"} 
[2026-09-07 17:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928013568001,"power":27865,"unknown_19":206,"unknown_85":36608,"ignition":46,"odometer":null,"unknown_44":-5080341822623541248}} 
[2026-09-07 17:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:13:50] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:13:50] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:02] local.INFO: TCP Data received {"connection_id":174953,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:14:02] local.INFO: Processing buffer {"connection_id":174953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:14:02] local.INFO: IMEI packet received {"connection_id":174953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":174953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:14:04] local.INFO: TCP Data received {"connection_id":176377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07badb5e8012d7e844005d05728000300b627..."} 
[2026-09-07 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07badb5e8012d7e844005d05728000300b627..."} 
[2026-09-07 17:14:04] local.INFO: Processing buffer {"connection_id":176377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07badb5e8012d7e844005d05728000300b627..."} 
[2026-09-07 17:14:04] local.INFO: Packet analysis {"connection_id":176377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:14:04] local.INFO: Extracted packet for processing {"connection_id":176377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bad"} 
[2026-09-07 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763266112,"raw_latitude":97539880,"longitude_deg":76.3266112,"latitude_deg":9.753988,"altitude":3,"angle":182,"satellites":39,"speed":20,"hex_longitude":"2d7e8440","hex_latitude":"05d05728","is_valid_coordinates":true} 
[2026-09-07 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928028672001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129502167441604608,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116904151886569472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781377000,"timestamp_ms":1788781377000,"timestamp_seconds":1788781377,"priority":1,"record_length":96,"hex_timestamp":"000001a07badb5e8"} 
[2026-09-07 17:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176377,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928028672001,"66":13526,"214":206,"85":15104,"24":20,"16":129502167441604608,"45":9116904151886569472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928028672001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129502167441604608,"km_value":129502167441604.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116904151886569472,"description":"Unknown IO ID 45"} 
[2026-09-07 17:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928028672001,"power":13526,"unknown_214":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9116904151886569472}} 
[2026-09-07 17:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":176377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":779999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:04] local.INFO: GPS data processed {"connection_id":176377,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:04] local.INFO: Acknowledgment sent {"connection_id":176377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:17] local.INFO: TCP Data received {"connection_id":176378,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:17] local.INFO: Processing buffer {"connection_id":176378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:17] local.INFO: Packet analysis {"connection_id":176378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:14:17] local.INFO: Extracted packet for processing {"connection_id":176378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:14:17] 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-07 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:17] 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-07 17: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-07 17: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-07 17:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:14:17] 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-07 17:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":176378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:17] local.INFO: GPS data processed {"connection_id":176378,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:17] local.INFO: Acknowledgment sent {"connection_id":176378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:21] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bae2730012cbb67c00774e188004e00562d..."} 
[2026-09-07 17:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bae2730012cbb67c00774e188004e00562d..."} 
[2026-09-07 17:14:21] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bae2730012cbb67c00774e188004e00562d..."} 
[2026-09-07 17:14:21] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:21] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:21] local.INFO: GPS Element Parsed {"raw_longitude":750479296,"raw_latitude":125100424,"longitude_deg":75.0479296,"latitude_deg":12.5100424,"altitude":78,"angle":86,"satellites":45,"speed":49,"hex_longitude":"2cbb67c0","hex_latitude":"0774e188","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928038144001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401743630185791488,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4952763289430956032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781406000,"timestamp_ms":1788781406000,"timestamp_seconds":1788781406,"priority":1,"record_length":96,"hex_timestamp":"000001a07bae2730"} 
[2026-09-07 17: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-07 17:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:14:21] 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-07 17:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928038144001,"66":27865,"93":206,"85":36608,"24":49,"16":401743630185791488,"44":-4952763289430956032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-07 17:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928038144001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:21] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 17:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401743630185791488,"km_value":401743630185791.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4952763289430956032,"description":"Unknown IO ID 44"} 
[2026-09-07 17:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928038144001,"power":27865,"unknown_93":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-4952763289430956032}} 
[2026-09-07 17:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:21] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:21] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:27] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:27] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:27] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:14:29] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:29] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:29] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:14:37] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:37] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:14:37] local.INFO: IMEI packet received {"connection_id":174954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":174954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:14:38] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baec370012d7e4d0005cff4f0000600d629..."} 
[2026-09-07 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baec370012d7e4d0005cff4f0000600d629..."} 
[2026-09-07 17:14:38] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baec370012d7e4d0005cff4f0000600d629..."} 
[2026-09-07 17:14:38] local.INFO: Packet analysis {"connection_id":174954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:38] local.INFO: Extracted packet for processing {"connection_id":174954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763251968,"raw_latitude":97514736,"longitude_deg":76.3251968,"latitude_deg":9.7514736,"altitude":6,"angle":214,"satellites":41,"speed":16,"hex_longitude":"2d7e4d00","hex_latitude":"05cff4f0","is_valid_coordinates":true} 
[2026-09-07 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928049920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129504125946691584,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101282290670379008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788781446000,"timestamp_ms":1788781446000,"timestamp_seconds":1788781446,"priority":1,"record_length":96,"hex_timestamp":"000001a07baec370"} 
[2026-09-07 17:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:38] 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-07 17:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928049920001,"66":14004,"214":206,"85":15104,"24":16,"16":129504125946691584,"45":9101282290670379008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928049920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:38] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129504125946691584,"km_value":129504125946691.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101282290670379008,"description":"Unknown IO ID 45"} 
[2026-09-07 17:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928049920001,"power":14004,"unknown_214":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9101282290670379008}} 
[2026-09-07 17:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":174954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:38] local.INFO: GPS data processed {"connection_id":174954,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:38] local.INFO: Acknowledgment sent {"connection_id":174954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:40] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:40] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:40] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:14:44] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:44] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:44] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:14:45] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:45] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:14:45] local.INFO: IMEI packet received {"connection_id":176379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":176379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:14:45] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:45] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:45] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:14:46] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:46] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:14:46] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:14:46] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 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-07 17:14:46] 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-07 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:46] 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-07 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-07 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-07 17:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:14:46] 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-07 17:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:46] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:46] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:14:49] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:49] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:14:49] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:14:50] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bae4670012cbb8ec00774e420004e00562d..."} 
[2026-09-07 17:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bae4670012cbb8ec00774e420004e00562d..."} 
[2026-09-07 17:14:50] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bae4670012cbb8ec00774e420004e00562d..."} 
[2026-09-07 17:14:50] local.INFO: Packet analysis {"connection_id":173878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:50] local.INFO: Extracted packet for processing {"connection_id":173878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:14:50] local.INFO: GPS Element Parsed {"raw_longitude":750489280,"raw_latitude":125101088,"longitude_deg":75.048928,"latitude_deg":12.5101088,"altitude":78,"angle":86,"satellites":45,"speed":49,"hex_longitude":"2cbb8ec0","hex_latitude":"0774e420","is_valid_coordinates":true} 
[2026-09-07 17:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928039936001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401744102632194048,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4942770927757588480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781414000,"timestamp_ms":1788781414000,"timestamp_seconds":1788781414,"priority":1,"record_length":96,"hex_timestamp":"000001a07bae4670"} 
[2026-09-07 17:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:14: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-07 17:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928039936001,"66":27930,"93":206,"85":36608,"24":49,"16":401744102632194048,"44":-4942770927757588480},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-09-07 17:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928039936001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:14:50] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-09-07 17:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401744102632194048,"km_value":401744102632194.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4942770927757588480,"description":"Unknown IO ID 44"} 
[2026-09-07 17:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928039936001,"power":27930,"unknown_93":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-4942770927757588480}} 
[2026-09-07 17:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":173878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:14:50] local.INFO: GPS data processed {"connection_id":173878,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:14:50] local.INFO: Acknowledgment sent {"connection_id":173878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:12] local.INFO: TCP Data received {"connection_id":174954,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baec758012d7e4c4005cff358000600c229..."} 
[2026-09-07 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baec758012d7e4c4005cff358000600c229..."} 
[2026-09-07 17:15:12] local.INFO: Processing buffer {"connection_id":174954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baec758012d7e4c4005cff358000600c229..."} 
[2026-09-07 17:15:12] local.INFO: Packet analysis {"connection_id":174954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:12] local.INFO: Extracted packet for processing {"connection_id":174954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763251776,"raw_latitude":97514328,"longitude_deg":76.3251776,"latitude_deg":9.7514328,"altitude":6,"angle":194,"satellites":41,"speed":17,"hex_longitude":"2d7e4c40","hex_latitude":"05cff358","is_valid_coordinates":true} 
[2026-09-07 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928050176001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129504147421528064,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100930446949412864,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1788781447000,"timestamp_ms":1788781447000,"timestamp_seconds":1788781447,"priority":1,"record_length":96,"hex_timestamp":"000001a07baec758"} 
[2026-09-07 17:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":174954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":174954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":174954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928050176001,"66":13559,"214":206,"85":15104,"24":17,"16":129504147421528064,"45":9100930446949412864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928050176001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:12] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129504147421528064,"km_value":129504147421528.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100930446949412864,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928050176001,"power":13559,"unknown_214":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9100930446949412864}} 
[2026-09-07 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":174954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:12] local.INFO: GPS data processed {"connection_id":174954,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:12] local.INFO: Acknowledgment sent {"connection_id":174954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:17] local.INFO: TCP Data received {"connection_id":176379,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:17] local.INFO: Processing buffer {"connection_id":176379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:17] local.INFO: Packet analysis {"connection_id":176379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:15:17] local.INFO: Extracted packet for processing {"connection_id":176379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:15:17] 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-07 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:17] 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-07 17: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-07 17: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-07 17:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:15:17] 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-07 17:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":176379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:17] local.INFO: GPS data processed {"connection_id":176379,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:17] local.INFO: Acknowledgment sent {"connection_id":176379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:21] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bae65b0012cbbb5c00774e3480050005f2c..."} 
[2026-09-07 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bae65b0012cbbb5c00774e3480050005f2c..."} 
[2026-09-07 17:15:21] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bae65b0012cbbb5c00774e3480050005f2c..."} 
[2026-09-07 17:15:21] local.INFO: Packet analysis {"connection_id":173878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:21] local.INFO: Extracted packet for processing {"connection_id":173878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":750499264,"raw_latitude":125100872,"longitude_deg":75.0499264,"latitude_deg":12.5100872,"altitude":80,"angle":95,"satellites":44,"speed":49,"hex_longitude":"2cbbb5c0","hex_latitude":"0774e348","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928041984001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401744579373563904,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4931793403665702912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781422000,"timestamp_ms":1788781422000,"timestamp_seconds":1788781422,"priority":1,"record_length":96,"hex_timestamp":"000001a07bae65b0"} 
[2026-09-07 17: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-07 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:15:21] 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-07 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928041984001,"66":27876,"92":206,"85":36608,"24":49,"16":401744579373563904,"44":-4931793403665702912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-09-07 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928041984001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:21] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-07 17:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401744579373563904,"km_value":401744579373563.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4931793403665702912,"description":"Unknown IO ID 44"} 
[2026-09-07 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928041984001,"power":27876,"unknown_92":206,"unknown_85":36608,"ignition":49,"odometer":null,"unknown_44":-4931793403665702912}} 
[2026-09-07 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":173878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:21] local.INFO: GPS data processed {"connection_id":173878,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:21] local.INFO: Acknowledgment sent {"connection_id":173878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:40] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:40] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:40] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:15:42] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:42] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:42] local.INFO: IMEI packet received {"connection_id":173627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":173627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:15:43] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:43] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:43] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:15:44] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:44] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:44] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:15:45] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:45] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:15:45] local.INFO: IMEI packet received {"connection_id":173626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:15:45] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:45] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:15:45] local.INFO: IMEI packet received {"connection_id":174955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":174955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:15:46] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:46] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:15:46] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:15:46] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:15:46] 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-07 17:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:46] 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-07 17: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-07 17: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-07 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:15:46] 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-07 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:46] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:46] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:46] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:46] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:46] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:15:46] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bafd0f8012d096ac0070251580016010d24..."} 
[2026-09-07 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bafd0f8012d096ac0070251580016010d24..."} 
[2026-09-07 17:15:46] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bafd0f8012d096ac0070251580016010d24..."} 
[2026-09-07 17:15:46] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:46] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":755591872,"raw_latitude":117592408,"longitude_deg":75.5591872,"latitude_deg":11.7592408,"altitude":22,"angle":269,"satellites":36,"speed":26,"hex_longitude":"2d096ac0","hex_latitude":"07025158","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928065280001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30605601943846912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688628560625993728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781515000,"timestamp_ms":1788781515000,"timestamp_seconds":1788781515,"priority":1,"record_length":96,"hex_timestamp":"000001a07bafd0f8"} 
[2026-09-07 17: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-07 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928065280001,"66":14515,"19":206,"94":11008,"24":26,"16":30605601943846912,"45":688628560625993728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928065280001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30605601943846912,"km_value":30605601943846.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":688628560625993728,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928065280001,"power":14515,"unknown_19":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":688628560625993728}} 
[2026-09-07 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780009,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:46] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:46] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:47] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:47] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:15:47] local.INFO: IMEI packet received {"connection_id":173627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":173627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:15:49] local.INFO: TCP Data received {"connection_id":173627,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07baecb40012d7e4c0005cff170000600b329..."} 
[2026-09-07 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baecb40012d7e4c0005cff170000600b329..."} 
[2026-09-07 17:15:49] local.INFO: Processing buffer {"connection_id":173627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baecb40012d7e4c0005cff170000600b329..."} 
[2026-09-07 17:15:49] local.INFO: Packet analysis {"connection_id":173627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:49] local.INFO: Extracted packet for processing {"connection_id":173627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bae"} 
[2026-09-07 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":763251712,"raw_latitude":97513840,"longitude_deg":76.3251712,"latitude_deg":9.751384,"altitude":6,"angle":179,"satellites":41,"speed":20,"hex_longitude":"2d7e4c00","hex_latitude":"05cff170","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928050432001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129504168896364544,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100719340716775424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781448000,"timestamp_ms":1788781448000,"timestamp_seconds":1788781448,"priority":1,"record_length":96,"hex_timestamp":"000001a07baecb40"} 
[2026-09-07 17: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-07 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:49] 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-07 17: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-07 17: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-07 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928050432001,"66":13559,"214":206,"85":15104,"24":20,"16":129504168896364544,"45":9100719340716775424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,45]} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928050432001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129504168896364544,"km_value":129504168896364.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100719340716775424,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928050432001,"power":13559,"unknown_214":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9100719340716775424}} 
[2026-09-07 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":173627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:49] local.INFO: GPS data processed {"connection_id":173627,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:49] local.INFO: Acknowledgment sent {"connection_id":173627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:49] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07baffbf0012d094640070253680012011423..."} 
[2026-09-07 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baffbf0012d094640070253680012011423..."} 
[2026-09-07 17:15:49] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baffbf0012d094640070253680012011423..."} 
[2026-09-07 17:15:49] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:49] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":755582528,"raw_latitude":117592936,"longitude_deg":75.5582528,"latitude_deg":11.7592936,"altitude":18,"angle":276,"satellites":35,"speed":29,"hex_longitude":"2d094640","hex_latitude":"07025368","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928067840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30606048620445696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678565830208870400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781526000,"timestamp_ms":1788781526000,"timestamp_seconds":1788781526,"priority":1,"record_length":96,"hex_timestamp":"000001a07baffbf0"} 
[2026-09-07 17: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-07 17:15: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-07 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:49] 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-07 17: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-07 17: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-07 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928067840001,"66":14407,"19":206,"94":11008,"24":29,"16":30606048620445696,"45":678565830208870400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928067840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30606048620445696,"km_value":30606048620445.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":678565830208870400,"description":"Unknown IO ID 45"} 
[2026-09-07 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928067840001,"power":14407,"unknown_19":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":678565830208870400}} 
[2026-09-07 17:15:49] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:49] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:15:49] local.INFO: IMEI packet received {"connection_id":173629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":173629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:49] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:49] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:15:49] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07baf57e0012cbc6ac007749ab8005300b52b..."} 
[2026-09-07 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baf57e0012cbc6ac007749ab8005300b52b..."} 
[2026-09-07 17:15:49] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baf57e0012cbc6ac007749ab8005300b52b..."} 
[2026-09-07 17:15:49] local.INFO: Packet analysis {"connection_id":173629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:49] local.INFO: Extracted packet for processing {"connection_id":173629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750545600,"raw_latitude":125082296,"longitude_deg":75.05456,"latitude_deg":12.5082296,"altitude":83,"angle":181,"satellites":43,"speed":36,"hex_longitude":"2cbc6ac0","hex_latitude":"07749ab8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928059136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401747121994203136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4870080015026010112,"note":"Value kept but may cause issues"} 
[2026-09-07 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781484000,"timestamp_ms":1788781484000,"timestamp_seconds":1788781484,"priority":1,"record_length":96,"hex_timestamp":"000001a07baf57e0"} 
[2026-09-07 17: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-07 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 17:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:15:49] 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-07 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928059136001,"66":27865,"71":206,"85":36608,"24":36,"16":401747121994203136,"44":-4870080015026010112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,44]} 
[2026-09-07 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928059136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401747121994203136,"km_value":401747121994203.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4870080015026010112,"description":"Unknown IO ID 44"} 
[2026-09-07 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928059136001,"power":27865,"unknown_71":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-4870080015026010112}} 
[2026-09-07 17:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":173629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:15:50] local.INFO: GPS data processed {"connection_id":173629,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:15:50] local.INFO: Acknowledgment sent {"connection_id":173629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:17] local.INFO: TCP Data received {"connection_id":173626,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:16:17] local.INFO: Processing buffer {"connection_id":173626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07babc1e8012d196500071ff0200040011f24..."} 
[2026-09-07 17:16:17] local.INFO: Packet analysis {"connection_id":173626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:16:17] local.INFO: Extracted packet for processing {"connection_id":173626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bab"} 
[2026-09-07 17:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927922688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781249000,"timestamp_ms":1788781249000,"timestamp_seconds":1788781249,"priority":1,"record_length":96,"hex_timestamp":"000001a07babc1e8"} 
[2026-09-07 17: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-07 17:16:17] 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-07 17: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:17] 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-07 17: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-07 17: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-07 17:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16:17] 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-07 17:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927922688001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927922688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927922688001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":173626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:17] local.INFO: GPS data processed {"connection_id":173626,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:17] local.INFO: Acknowledgment sent {"connection_id":173626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:20] local.INFO: TCP Data received {"connection_id":174955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb0bb58012d091d4007029740000c014124..."} 
[2026-09-07 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb0bb58012d091d4007029740000c014124..."} 
[2026-09-07 17:16:20] local.INFO: Processing buffer {"connection_id":174955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb0bb58012d091d4007029740000c014124..."} 
[2026-09-07 17:16:20] local.INFO: Packet analysis {"connection_id":174955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:20] local.INFO: Extracted packet for processing {"connection_id":174955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:20] local.INFO: GPS Element Parsed {"raw_longitude":755572032,"raw_latitude":117610304,"longitude_deg":75.5572032,"latitude_deg":11.7610304,"altitude":12,"angle":321,"satellites":36,"speed":15,"hex_longitude":"2d091d40","hex_latitude":"07029740","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928082944001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30607461664686080,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657032994495004672,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788781575000,"timestamp_ms":1788781575000,"timestamp_seconds":1788781575,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb0bb58"} 
[2026-09-07 17: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-07 17: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-07 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:20] 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-07 17: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-07 17: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-07 17:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928082944001,"66":14461,"230":206,"94":11008,"24":15,"16":30607461664686080,"45":657032994495004672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928082944001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:20] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:16:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30607461664686080,"km_value":30607461664686.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":657032994495004672,"description":"Unknown IO ID 45"} 
[2026-09-07 17:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928082944001,"power":14461,"unknown_230":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":657032994495004672}} 
[2026-09-07 17:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780014,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:20] local.INFO: GPS data processed {"connection_id":174955,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:20] local.INFO: Acknowledgment sent {"connection_id":174955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:27] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:27] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:27] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:16:28] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:28] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:28] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:29] local.INFO: TCP Data received {"connection_id":174956,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:29] local.INFO: Processing buffer {"connection_id":174956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:16:29] local.INFO: IMEI packet received {"connection_id":174956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":174956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:34] local.INFO: TCP Data received {"connection_id":173629,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07baf7ef0012cbc6780077474e8005100c02b..."} 
[2026-09-07 17:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07baf7ef0012cbc6780077474e8005100c02b..."} 
[2026-09-07 17:16:34] local.INFO: Processing buffer {"connection_id":173629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07baf7ef0012cbc6780077474e8005100c02b..."} 
[2026-09-07 17:16:34] local.INFO: Packet analysis {"connection_id":173629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:16:34] local.INFO: Extracted packet for processing {"connection_id":173629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07baf"} 
[2026-09-07 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":750544768,"raw_latitude":125072616,"longitude_deg":75.0544768,"latitude_deg":12.5072616,"altitude":81,"angle":192,"satellites":43,"speed":41,"hex_longitude":"2cbc6780","hex_latitude":"077474e8","is_valid_coordinates":true} 
[2026-09-07 17:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928059904001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401747594440605696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4869868908794169344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788781494000,"timestamp_ms":1788781494000,"timestamp_seconds":1788781494,"priority":1,"record_length":96,"hex_timestamp":"000001a07baf7ef0"} 
[2026-09-07 17:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928059904001,"66":27865,"72":206,"85":36608,"24":41,"16":401747594440605696,"44":-4869868908794169344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-07 17:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928059904001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:34] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-07 17:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401747594440605696,"km_value":401747594440605.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4869868908794169344,"description":"Unknown IO ID 44"} 
[2026-09-07 17:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928059904001,"power":27865,"unknown_72":206,"unknown_85":36608,"ignition":41,"odometer":null,"unknown_44":-4869868908794169344}} 
[2026-09-07 17:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":173629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:34] local.INFO: GPS data processed {"connection_id":173629,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:34] local.INFO: Acknowledgment sent {"connection_id":173629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:41] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:41] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:41] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:16:44] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:44] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:44] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:16:45] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:45] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:45] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:16:46] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:46] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:16:46] local.INFO: IMEI packet received {"connection_id":174957,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":174957,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:46] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:46] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:46] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:46] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb0bf40012d091b80070297e8000c012423..."} 
[2026-09-07 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb0bf40012d091b80070297e8000c012423..."} 
[2026-09-07 17:16:46] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb0bf40012d091b80070297e8000c012423..."} 
[2026-09-07 17:16:46] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:46] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":755571584,"raw_latitude":117610472,"longitude_deg":75.5571584,"latitude_deg":11.7610472,"altitude":12,"angle":292,"satellites":35,"speed":17,"hex_longitude":"2d091b80","hex_latitude":"070297e8","is_valid_coordinates":true} 
[2026-09-07 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928083200001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30607483139522560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656751519518375936,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781576000,"timestamp_ms":1788781576000,"timestamp_seconds":1788781576,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb0bf40"} 
[2026-09-07 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928083200001,"66":14461,"230":206,"94":11008,"24":17,"16":30607483139522560,"45":656751519518375936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928083200001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:46] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:16:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30607483139522560,"km_value":30607483139522.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":656751519518375936,"description":"Unknown IO ID 45"} 
[2026-09-07 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928083200001,"power":14461,"unknown_230":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":656751519518375936}} 
[2026-09-07 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:46] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:46] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:49] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:49] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:16:49] local.INFO: IMEI packet received {"connection_id":173630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":173630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:49] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb04240012cbc41c00773f3900049007529..."} 
[2026-09-07 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb04240012cbc41c00773f3900049007529..."} 
[2026-09-07 17:16:49] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb04240012cbc41c00773f3900049007529..."} 
[2026-09-07 17:16:49] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:49] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":750535104,"raw_latitude":125039504,"longitude_deg":75.0535104,"latitude_deg":12.5039504,"altitude":73,"angle":117,"satellites":41,"speed":40,"hex_longitude":"2cbc41c0","hex_latitude":"0773f390","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928072704001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401749814938697728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4890416582103914496,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781544000,"timestamp_ms":1788781544000,"timestamp_seconds":1788781544,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb04240"} 
[2026-09-07 17: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-07 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:49] 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-07 17: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-07 17: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-07 17:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:16:49] 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-07 17:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928072704001,"66":27832,"72":206,"85":36608,"24":40,"16":401749814938697728,"44":-4890416582103914496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-09-07 17:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928072704001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:49] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-07 17:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401749814938697728,"km_value":401749814938697.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4890416582103914496,"description":"Unknown IO ID 44"} 
[2026-09-07 17:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928072704001,"power":27832,"unknown_72":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-4890416582103914496}} 
[2026-09-07 17:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:49] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:49] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:50] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:50] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:16:50] local.INFO: IMEI packet received {"connection_id":176380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":176380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:16:51] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:51] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:51] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:51] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16: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-07 17:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:16:51] 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-07 17:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16:51] 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-07 17:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:16:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:51] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:51] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:16:55] local.INFO: TCP Data received {"connection_id":176380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:55] local.INFO: Processing buffer {"connection_id":176380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:16:55] local.INFO: Packet analysis {"connection_id":176380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:55] local.INFO: Extracted packet for processing {"connection_id":176380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17: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-07 17:16:55] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:16: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-07 17: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-07 17: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-07 17:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:16: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-07 17:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:16:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":176380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:16:55] local.INFO: GPS data processed {"connection_id":176380,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:16:55] local.INFO: Acknowledgment sent {"connection_id":176380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:17:17] local.INFO: TCP Data received {"connection_id":174957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb0c328012d09194007029838000c011723..."} 
[2026-09-07 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb0c328012d09194007029838000c011723..."} 
[2026-09-07 17:17:17] local.INFO: Processing buffer {"connection_id":174957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb0c328012d09194007029838000c011723..."} 
[2026-09-07 17:17:17] local.INFO: Packet analysis {"connection_id":174957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:17:17] local.INFO: Extracted packet for processing {"connection_id":174957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:17:17] local.INFO: GPS Element Parsed {"raw_longitude":755571008,"raw_latitude":117610552,"longitude_deg":75.5571008,"latitude_deg":11.7610552,"altitude":12,"angle":279,"satellites":35,"speed":22,"hex_longitude":"2d091940","hex_latitude":"07029838","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928083456001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30607513204293632,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656258938309175296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781577000,"timestamp_ms":1788781577000,"timestamp_seconds":1788781577,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb0c328"} 
[2026-09-07 17: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-07 17: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-07 17:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:17:17] 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-07 17: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-07 17: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-07 17:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174957,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928083456001,"66":14428,"230":206,"94":11008,"24":22,"16":30607513204293632,"45":656258938309175296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928083456001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:17:17] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:17:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30607513204293632,"km_value":30607513204293.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":656258938309175296,"description":"Unknown IO ID 45"} 
[2026-09-07 17:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928083456001,"power":14428,"unknown_230":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":656258938309175296}} 
[2026-09-07 17:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":174957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780020,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:17:17] local.INFO: GPS data processed {"connection_id":174957,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:17:17] local.INFO: Acknowledgment sent {"connection_id":174957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:17:21] local.INFO: TCP Data received {"connection_id":173630,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb101a8012cbc448007735f20003800fc2b..."} 
[2026-09-07 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb101a8012cbc448007735f20003800fc2b..."} 
[2026-09-07 17:17:21] local.INFO: Processing buffer {"connection_id":173630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb101a8012cbc448007735f20003800fc2b..."} 
[2026-09-07 17:17:21] local.INFO: Packet analysis {"connection_id":173630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:17:21] local.INFO: Extracted packet for processing {"connection_id":173630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":750535808,"raw_latitude":125001504,"longitude_deg":75.0535808,"latitude_deg":12.5001504,"altitude":56,"angle":252,"satellites":43,"speed":44,"hex_longitude":"2cbc4480","hex_latitude":"07735f20","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928087040001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401752211530448896,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4877257626953201664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781593000,"timestamp_ms":1788781593000,"timestamp_seconds":1788781593,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb101a8"} 
[2026-09-07 17: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-07 17:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:17:21] 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-07 17:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928087040001,"66":27767,"225":206,"85":37888,"24":44,"16":401752211530448896,"44":-4877257626953201664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-09-07 17:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928087040001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:17:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 17:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401752211530448896,"km_value":401752211530448.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4877257626953201664,"description":"Unknown IO ID 44"} 
[2026-09-07 17:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928087040001,"power":27767,"unknown_225":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-4877257626953201664}} 
[2026-09-07 17:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":173630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:17:21] local.INFO: GPS data processed {"connection_id":173630,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:17:21] local.INFO: Acknowledgment sent {"connection_id":173630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:17:39] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:39] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:39] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:17:40] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:40] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:40] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:17:40] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:40] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:40] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:17:45] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:45] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:17:45] local.INFO: IMEI packet received {"connection_id":173632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":173632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:17:46] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:17:46] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:17:46] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:17:46] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17: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-07 17:17:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:17:46] 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-07 17:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:17:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:17:46] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:46] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:17:46] local.INFO: IMEI packet received {"connection_id":176381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:17:46] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:17:46] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:17:47] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb1ec08012d0837000702b2a0000c012d22..."} 
[2026-09-07 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb1ec08012d0837000702b2a0000c012d22..."} 
[2026-09-07 17:17:47] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb1ec08012d0837000702b2a0000c012d22..."} 
[2026-09-07 17:17:47] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:17:47] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":755513088,"raw_latitude":117617312,"longitude_deg":75.5513088,"latitude_deg":11.7617312,"altitude":12,"angle":301,"satellites":34,"speed":31,"hex_longitude":"2d083700","hex_latitude":"0702b2a0","is_valid_coordinates":true} 
[2026-09-07 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-07 17:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928102400001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30610322112905216,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":594545549666824192,"note":"Value kept but may cause issues"} 
[2026-09-07 17:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788781653000,"timestamp_ms":1788781653000,"timestamp_seconds":1788781653,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb1ec08"} 
[2026-09-07 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-07 17:17: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-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928102400001,"66":14396,"13":206,"94":11008,"24":31,"16":30610322112905216,"45":594545549666824192},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-07 17:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928102400001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:17:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 17:17:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30610322112905216,"km_value":30610322112905.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":594545549666824192,"description":"Unknown IO ID 45"} 
[2026-09-07 17:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928102400001,"power":14396,"unknown_13":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":594545549666824192}} 
[2026-09-07 17:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780023,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:17:47] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:17:47] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:17:58] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:58] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:58] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:17:59] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:59] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:17:59] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:02] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:02] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:02] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:04] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:04] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:04] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:04] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb15798012cbc128007732e60002d010b2b..."} 
[2026-09-07 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb15798012cbc128007732e60002d010b2b..."} 
[2026-09-07 17:18:04] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb15798012cbc128007732e60002d010b2b..."} 
[2026-09-07 17:18:04] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:04] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:04] local.INFO: GPS Element Parsed {"raw_longitude":750523008,"raw_latitude":124989024,"longitude_deg":75.0523008,"latitude_deg":12.4989024,"altitude":45,"angle":267,"satellites":43,"speed":26,"hex_longitude":"2cbc1280","hex_latitude":"07732e60","is_valid_coordinates":true} 
[2026-09-07 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928093184001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401753216552796160,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4893864650582644736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788781615000,"timestamp_ms":1788781615000,"timestamp_seconds":1788781615,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb15798"} 
[2026-09-07 17:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928093184001,"66":27767,"185":206,"85":37888,"24":26,"16":401753216552796160,"44":-4893864650582644736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-07 17:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928093184001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:04] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 17:18:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401753216552796160,"km_value":401753216552796.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4893864650582644736,"description":"Unknown IO ID 44"} 
[2026-09-07 17:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928093184001,"power":27767,"unknown_185":206,"unknown_85":37888,"ignition":26,"odometer":null,"unknown_44":-4893864650582644736}} 
[2026-09-07 17:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:04] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:04] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:09] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb15b80012cbc0f8007732ff0002d01232b..."} 
[2026-09-07 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb15b80012cbc0f8007732ff0002d01232b..."} 
[2026-09-07 17:18:09] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb15b80012cbc0f8007732ff0002d01232b..."} 
[2026-09-07 17:18:09] local.INFO: Packet analysis {"connection_id":173879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:09] local.INFO: Extracted packet for processing {"connection_id":173879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":750522240,"raw_latitude":124989424,"longitude_deg":75.052224,"latitude_deg":12.4989424,"altitude":45,"angle":291,"satellites":43,"speed":27,"hex_longitude":"2cbc0f80","hex_latitude":"07732ff0","is_valid_coordinates":true} 
[2026-09-07 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928093440001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401753255207501824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4894709075512762368,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788781616000,"timestamp_ms":1788781616000,"timestamp_seconds":1788781616,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb15b80"} 
[2026-09-07 17:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:09] 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-07 17:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928093440001,"66":27767,"185":206,"85":37888,"24":27,"16":401753255207501824,"44":-4894709075512762368},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-09-07 17:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928093440001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 17:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401753255207501824,"km_value":401753255207501.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4894709075512762368,"description":"Unknown IO ID 44"} 
[2026-09-07 17:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928093440001,"power":27767,"unknown_185":206,"unknown_85":37888,"ignition":27,"odometer":null,"unknown_44":-4894709075512762368}} 
[2026-09-07 17:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":173879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:09] local.INFO: GPS data processed {"connection_id":173879,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:09] local.INFO: Acknowledgment sent {"connection_id":173879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:17] local.INFO: TCP Data received {"connection_id":173632,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:17] local.INFO: Processing buffer {"connection_id":173632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:17] local.INFO: Packet analysis {"connection_id":173632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:18:17] local.INFO: Extracted packet for processing {"connection_id":173632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:18:17] 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-07 17:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:18:17] 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-07 17:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":173632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:17] local.INFO: GPS data processed {"connection_id":173632,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:17] local.INFO: Acknowledgment sent {"connection_id":173632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:19] local.INFO: TCP Data received {"connection_id":176381,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb1f3d8012d0831000702b520000c012222..."} 
[2026-09-07 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb1f3d8012d0831000702b520000c012222..."} 
[2026-09-07 17:18:19] local.INFO: Processing buffer {"connection_id":176381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb1f3d8012d0831000702b520000c012222..."} 
[2026-09-07 17:18:19] local.INFO: Packet analysis {"connection_id":176381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:19] local.INFO: Extracted packet for processing {"connection_id":176381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:19] local.INFO: GPS Element Parsed {"raw_longitude":755511552,"raw_latitude":117617952,"longitude_deg":75.5511552,"latitude_deg":11.7617952,"altitude":12,"angle":290,"satellites":34,"speed":32,"hex_longitude":"2d083100","hex_latitude":"0702b520","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928103168001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30610403717283840,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":591941906132541440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788781655000,"timestamp_ms":1788781655000,"timestamp_seconds":1788781655,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb1f3d8"} 
[2026-09-07 17: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-07 17:18: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-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928103168001,"66":14439,"13":206,"94":11008,"24":32,"16":30610403717283840,"45":591941906132541440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-07 17:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928103168001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 17:18:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30610403717283840,"km_value":30610403717283.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":591941906132541440,"description":"Unknown IO ID 45"} 
[2026-09-07 17:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928103168001,"power":14439,"unknown_13":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":591941906132541440}} 
[2026-09-07 17:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":176381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:19] local.INFO: GPS data processed {"connection_id":176381,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:19] local.INFO: Acknowledgment sent {"connection_id":176381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:40] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:40] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:40] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:18:40] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:40] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:40] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:18:45] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:45] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:18:45] local.INFO: IMEI packet received {"connection_id":174959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":174959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:46] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:46] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:18:46] local.INFO: IMEI packet received {"connection_id":173633,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":173633,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:46] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:46] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:18:46] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:18:46] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17: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-07 17:18:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:18:46] 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-07 17:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:46] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:46] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:46] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb1ff90012d0826800702b728000c011722..."} 
[2026-09-07 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb1ff90012d0826800702b728000c011722..."} 
[2026-09-07 17:18:46] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb1ff90012d0826800702b728000c011722..."} 
[2026-09-07 17:18:46] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:46] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb1"} 
[2026-09-07 17:18:46] local.INFO: GPS Element Parsed {"raw_longitude":755508864,"raw_latitude":117618472,"longitude_deg":75.5508864,"latitude_deg":11.7618472,"altitude":12,"angle":279,"satellites":34,"speed":37,"hex_longitude":"2d082680","hex_latitude":"0702b728","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928103680001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30610532566302720,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590253056272441344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781658000,"timestamp_ms":1788781658000,"timestamp_seconds":1788781658,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb1ff90"} 
[2026-09-07 17: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-07 17:18: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-07 17: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928103680001,"66":14439,"13":206,"94":11008,"24":37,"16":30610532566302720,"45":590253056272441344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,94,24,16,45]} 
[2026-09-07 17:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928103680001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30610532566302720,"km_value":30610532566302.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":590253056272441344,"description":"Unknown IO ID 45"} 
[2026-09-07 17:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928103680001,"power":14439,"unknown_13":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":590253056272441344}} 
[2026-09-07 17:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:46] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:46] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:18:49] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:49] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:49] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:18:50] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:50] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:50] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:54] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:54] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:18:54] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:18:55] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb21318012cbbd78007730f70001d00a62b..."} 
[2026-09-07 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb21318012cbbd78007730f70001d00a62b..."} 
[2026-09-07 17:18:55] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb21318012cbbd78007730f70001d00a62b..."} 
[2026-09-07 17:18:55] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:18:55] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":750507904,"raw_latitude":124981104,"longitude_deg":75.0507904,"latitude_deg":12.4981104,"altitude":29,"angle":166,"satellites":43,"speed":27,"hex_longitude":"2cbbd780","hex_latitude":"07730f70","is_valid_coordinates":true} 
[2026-09-07 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-07 17:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928105472001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401754569467494400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4911386467884720128,"note":"Value kept but may cause issues"} 
[2026-09-07 17:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788781663000,"timestamp_ms":1788781663000,"timestamp_seconds":1788781663,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb21318"} 
[2026-09-07 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-07 17:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 17:18:55] 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-07 17: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-07 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-07 17:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:18:55] 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-07 17:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928105472001,"66":27865,"251":206,"85":36608,"24":27,"16":401754569467494400,"44":-4911386467884720128},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-09-07 17:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928105472001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:18:55] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-09-07 17:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-09-07 17:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401754569467494400,"km_value":401754569467494.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4911386467884720128,"description":"Unknown IO ID 44"} 
[2026-09-07 17:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928105472001,"power":27865,"unknown_251":206,"unknown_85":36608,"ignition":27,"odometer":null,"unknown_44":-4911386467884720128}} 
[2026-09-07 17:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:18:55] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:18:55] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:17] local.INFO: TCP Data received {"connection_id":174959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:17] local.INFO: Processing buffer {"connection_id":174959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:17] local.INFO: Packet analysis {"connection_id":174959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:19:17] local.INFO: Extracted packet for processing {"connection_id":174959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 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-07 17:19:17] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:19:17] 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-07 17:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":174959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:17] local.INFO: GPS data processed {"connection_id":174959,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:17] local.INFO: Acknowledgment sent {"connection_id":174959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:18] local.INFO: TCP Data received {"connection_id":173633,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb314e8012d0781c00702d9d8000d011f23..."} 
[2026-09-07 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb314e8012d0781c00702d9d8000d011f23..."} 
[2026-09-07 17:19:18] local.INFO: Processing buffer {"connection_id":173633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb314e8012d0781c00702d9d8000d011f23..."} 
[2026-09-07 17:19:18] local.INFO: Packet analysis {"connection_id":173633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:19:18] local.INFO: Extracted packet for processing {"connection_id":173633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":755466688,"raw_latitude":117627352,"longitude_deg":75.5466688,"latitude_deg":11.7627352,"altitude":13,"angle":287,"satellites":35,"speed":12,"hex_longitude":"2d0781c0","hex_latitude":"0702d9d8","is_valid_coordinates":true} 
[2026-09-07 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928122368001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30612654280146944,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":541206041582987264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788781729000,"timestamp_ms":1788781729000,"timestamp_seconds":1788781729,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb314e8"} 
[2026-09-07 17:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:19: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-07 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173633,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928122368001,"66":14407,"15":206,"94":11008,"24":12,"16":30612654280146944,"45":541206041582987264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,94,24,16,45]} 
[2026-09-07 17:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928122368001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:18] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 17:19:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30612654280146944,"km_value":30612654280146.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":541206041582987264,"description":"Unknown IO ID 45"} 
[2026-09-07 17:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928122368001,"power":14407,"unknown_15":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":541206041582987264}} 
[2026-09-07 17:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":173633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780032,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:18] local.INFO: GPS data processed {"connection_id":173633,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:18] local.INFO: Acknowledgment sent {"connection_id":173633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:26] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb2edd8012cbc90800772f378000b00712c..."} 
[2026-09-07 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb2edd8012cbc90800772f378000b00712c..."} 
[2026-09-07 17:19:26] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb2edd8012cbc90800772f378000b00712c..."} 
[2026-09-07 17:19:26] local.INFO: Packet analysis {"connection_id":173881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:19:26] local.INFO: Extracted packet for processing {"connection_id":173881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:19:26] local.INFO: GPS Element Parsed {"raw_longitude":750555264,"raw_latitude":124973944,"longitude_deg":75.0555264,"latitude_deg":12.4973944,"altitude":11,"angle":113,"satellites":44,"speed":39,"hex_longitude":"2cbc9080","hex_latitude":"0772f378","is_valid_coordinates":true} 
[2026-09-07 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-07 17:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928120064001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401756944584409088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4859243228451080192,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788781719000,"timestamp_ms":1788781719000,"timestamp_seconds":1788781719,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb2edd8"} 
[2026-09-07 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-07 17:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:19:26] 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-07 17:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928120064001,"66":27919,"159":206,"85":37888,"24":39,"16":401756944584409088,"44":-4859243228451080192},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928120064001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401756944584409088,"km_value":401756944584409.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4859243228451080192,"description":"Unknown IO ID 44"} 
[2026-09-07 17:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928120064001,"power":27919,"unknown_159":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-4859243228451080192}} 
[2026-09-07 17:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":173881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:26] local.INFO: GPS data processed {"connection_id":173881,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:26] local.INFO: Acknowledgment sent {"connection_id":173881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:40] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:40] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:40] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:19:40] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:40] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:40] local.INFO: IMEI packet received {"connection_id":174960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":174960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:19:41] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:41] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:41] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:42] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:42] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:42] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:44] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:44] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:44] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:19:45] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:45] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:19:45] local.INFO: IMEI packet received {"connection_id":174960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:45] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:45] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:45] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:45] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:45] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:19:45] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:46] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:46] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:19:46] local.INFO: Packet analysis {"connection_id":174960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:19:46] local.INFO: Extracted packet for processing {"connection_id":174960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:19:46] 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-07 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:19:46] 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-07 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":174960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:46] local.INFO: GPS data processed {"connection_id":174960,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:46] local.INFO: Acknowledgment sent {"connection_id":174960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:46] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb3b128012d0721800702bd28001000ff23..."} 
[2026-09-07 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb3b128012d0721800702bd28001000ff23..."} 
[2026-09-07 17:19:46] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb3b128012d0721800702bd28001000ff23..."} 
[2026-09-07 17:19:46] local.INFO: Packet analysis {"connection_id":173882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:19:46] local.INFO: Extracted packet for processing {"connection_id":173882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":755442048,"raw_latitude":117620008,"longitude_deg":75.5442048,"latitude_deg":11.7620008,"altitude":16,"angle":255,"satellites":35,"speed":34,"hex_longitude":"2d072180","hex_latitude":"0702bd28","is_valid_coordinates":true} 
[2026-09-07 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928132352001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30613998604910592,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":515662187444801536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781769000,"timestamp_ms":1788781769000,"timestamp_seconds":1788781769,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb3b128"} 
[2026-09-07 17:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928132352001,"66":14396,"59":206,"94":11008,"24":34,"16":30613998604910592,"45":515662187444801536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928132352001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30613998604910592,"km_value":30613998604910.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":515662187444801536,"description":"Unknown IO ID 45"} 
[2026-09-07 17:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928132352001,"power":14396,"unknown_59":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":515662187444801536}} 
[2026-09-07 17:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":173882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780035,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:47] local.INFO: GPS data processed {"connection_id":173882,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:47] local.INFO: Acknowledgment sent {"connection_id":173882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:49] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:49] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:19:49] local.INFO: IMEI packet received {"connection_id":174961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":174961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:19:50] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb2f5a8012cbc97000772ef50000a00832c..."} 
[2026-09-07 17:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb2f5a8012cbc97000772ef50000a00832c..."} 
[2026-09-07 17:19:50] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb2f5a8012cbc97000772ef50000a00832c..."} 
[2026-09-07 17:19:50] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:19:50] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":750556928,"raw_latitude":124972880,"longitude_deg":75.0556928,"latitude_deg":12.497288,"altitude":10,"angle":131,"satellites":44,"speed":39,"hex_longitude":"2cbc9700","hex_latitude":"0772ef50","is_valid_coordinates":true} 
[2026-09-07 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928120064001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401757039073689600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4859243228451080192,"note":"Value kept but may cause issues"} 
[2026-09-07 17:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781721000,"timestamp_ms":1788781721000,"timestamp_seconds":1788781721,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb2f5a8"} 
[2026-09-07 17:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:19: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-07 17:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928120064001,"66":27930,"159":206,"85":37888,"24":39,"16":401757039073689600,"44":-4859243228451080192},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928120064001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:19:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401757039073689600,"km_value":401757039073689.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4859243228451080192,"description":"Unknown IO ID 44"} 
[2026-09-07 17:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928120064001,"power":27930,"unknown_159":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-4859243228451080192}} 
[2026-09-07 17:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:19:50] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:19:50] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:19:52] local.INFO: TCP Data received {"connection_id":174962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:19:52] local.INFO: Processing buffer {"connection_id":174962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:19:52] local.INFO: IMEI packet received {"connection_id":174962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":174962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:20:17] local.INFO: TCP Data received {"connection_id":174960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:17] local.INFO: Processing buffer {"connection_id":174960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:17] local.INFO: Packet analysis {"connection_id":174960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:20:17] local.INFO: Extracted packet for processing {"connection_id":174960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 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-07 17:20:17] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:20:17] 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-07 17:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":174960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:17] local.INFO: GPS data processed {"connection_id":174960,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:17] local.INFO: Acknowledgment sent {"connection_id":174960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:18] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:18] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:18] local.INFO: Packet analysis {"connection_id":173882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:18] local.INFO: Extracted packet for processing {"connection_id":173882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:18] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117618272,"longitude_deg":75.543264,"latitude_deg":11.7618272,"altitude":13,"angle":270,"satellites":35,"speed":30,"hex_longitude":"2d06fcc0","hex_latitude":"0702b660","is_valid_coordinates":true} 
[2026-09-07 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928132864001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30614453871443968,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":513832600096024576,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788781780000,"timestamp_ms":1788781780000,"timestamp_seconds":1788781780,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb3dc20"} 
[2026-09-07 17:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:20: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-07 17:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173882,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928132864001,"66":14374,"59":206,"94":11008,"24":30,"16":30614453871443968,"45":513832600096024576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928132864001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:18] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:20:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30614453871443968,"km_value":30614453871443.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":513832600096024576,"description":"Unknown IO ID 45"} 
[2026-09-07 17:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928132864001,"power":14374,"unknown_59":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":513832600096024576}} 
[2026-09-07 17:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":173882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780038,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:18] local.INFO: GPS data processed {"connection_id":173882,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:18] local.INFO: Acknowledgment sent {"connection_id":173882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:21] local.INFO: TCP Data received {"connection_id":174961,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb2fd78012cbc9c800772e960000a00902c..."} 
[2026-09-07 17:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb2fd78012cbc9c800772e960000a00902c..."} 
[2026-09-07 17:20:21] local.INFO: Processing buffer {"connection_id":174961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb2fd78012cbc9c800772e960000a00902c..."} 
[2026-09-07 17:20:21] local.INFO: Packet analysis {"connection_id":174961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:20:21] local.INFO: Extracted packet for processing {"connection_id":174961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb2"} 
[2026-09-07 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":750558336,"raw_latitude":124971360,"longitude_deg":75.0558336,"latitude_deg":12.497136,"altitude":10,"angle":144,"satellites":44,"speed":40,"hex_longitude":"2cbc9c80","hex_latitude":"0772e960","is_valid_coordinates":true} 
[2026-09-07 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-07 17:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928120576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401757137857937408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4857413641102733312,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781723000,"timestamp_ms":1788781723000,"timestamp_seconds":1788781723,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb2fd78"} 
[2026-09-07 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-07 17:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:21] 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-07 17:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928120576001,"66":27800,"159":206,"85":37888,"24":40,"16":401757137857937408,"44":-4857413641102733312},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928120576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:21] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401757137857937408,"km_value":401757137857937.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4857413641102733312,"description":"Unknown IO ID 44"} 
[2026-09-07 17:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928120576001,"power":27800,"unknown_159":206,"unknown_85":37888,"ignition":40,"odometer":null,"unknown_44":-4857413641102733312}} 
[2026-09-07 17:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:21] local.INFO: GPS data processed {"connection_id":174961,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:21] local.INFO: Acknowledgment sent {"connection_id":174961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:40] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:40] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:40] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:20:45] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:45] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:20:45] local.INFO: IMEI packet received {"connection_id":173883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":173883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:20:46] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:20:46] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:46] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:20:46] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:20:46] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17: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-07 17:20:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:20:46] 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-07 17:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:46] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:46] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:46] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:46] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:20:47] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:47] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:47] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:20:49] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:49] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:49] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:20:51] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:51] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:20:51] local.INFO: IMEI packet received {"connection_id":176384,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":176384,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:20:51] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:51] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:20:51] local.INFO: IMEI packet received {"connection_id":173636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":173636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:20:52] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:52] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb3dc20012d06fcc00702b660000d010e23..."} 
[2026-09-07 17:20:52] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:52] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117618272,"longitude_deg":75.543264,"latitude_deg":11.7618272,"altitude":13,"angle":270,"satellites":35,"speed":30,"hex_longitude":"2d06fcc0","hex_latitude":"0702b660","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928135680001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30614453871443968,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394701463552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788781780000,"timestamp_ms":1788781780000,"timestamp_seconds":1788781780,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb3dc20"} 
[2026-09-07 17: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-07 17:20: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-07 17:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 17:20: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-07 17: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-07 17: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-07 17:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928135680001,"66":14374,"59":206,"94":11008,"24":30,"16":30614453871443968,"45":503488394701463552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928135680001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30614453871443968,"km_value":30614453871443.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394701463552,"description":"Unknown IO ID 45"} 
[2026-09-07 17:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928135680001,"power":14374,"unknown_59":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":503488394701463552}} 
[2026-09-07 17:20:52] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb320a0012cbcad800772ca10000d009a2b..."} 
[2026-09-07 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb320a0012cbcad800772ca10000d009a2b..."} 
[2026-09-07 17:20:52] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb320a0012cbcad800772ca10000d009a2b..."} 
[2026-09-07 17:20:52] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:52] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":750562688,"raw_latitude":124963344,"longitude_deg":75.0562688,"latitude_deg":12.4963344,"altitude":13,"angle":154,"satellites":43,"speed":35,"hex_longitude":"2cbcad80","hex_latitude":"0772ca10","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928121088001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401757575944601600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4855865528731213824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788781732000,"timestamp_ms":1788781732000,"timestamp_seconds":1788781732,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb320a0"} 
[2026-09-07 17: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-07 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:52] 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-07 17:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928121088001,"66":27865,"159":206,"85":37888,"24":35,"16":401757575944601600,"44":-4855865528731213824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928121088001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401757575944601600,"km_value":401757575944601.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4855865528731213824,"description":"Unknown IO ID 44"} 
[2026-09-07 17:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928121088001,"power":27865,"unknown_159":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-4855865528731213824}} 
[2026-09-07 17:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:52] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:52] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:52] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:52] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:54] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb3ebc0012d06f1400702b770000d011922..."} 
[2026-09-07 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb3ebc0012d06f1400702b770000d011922..."} 
[2026-09-07 17:20:54] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb3ebc0012d06f1400702b770000d011922..."} 
[2026-09-07 17:20:54] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:54] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":755429696,"raw_latitude":117618544,"longitude_deg":75.5429696,"latitude_deg":11.7618544,"altitude":13,"angle":281,"satellites":34,"speed":26,"hex_longitude":"2d06f140","hex_latitude":"0702b770","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928135680001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30614595605364736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394701463552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788781784000,"timestamp_ms":1788781784000,"timestamp_seconds":1788781784,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb3ebc0"} 
[2026-09-07 17: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-07 17:20: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-07 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:54] 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-07 17: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-07 17: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-07 17:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928135680001,"66":14428,"59":206,"94":11008,"24":26,"16":30614595605364736,"45":503488394701463552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928135680001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:54] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:20:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30614595605364736,"km_value":30614595605364.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394701463552,"description":"Unknown IO ID 45"} 
[2026-09-07 17:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928135680001,"power":14428,"unknown_59":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":503488394701463552}} 
[2026-09-07 17:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780043,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:54] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:54] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:20:55] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb34f80012cbcba400772acd8000e00a52e..."} 
[2026-09-07 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb34f80012cbcba400772acd8000e00a52e..."} 
[2026-09-07 17:20:55] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb34f80012cbcba400772acd8000e00a52e..."} 
[2026-09-07 17:20:55] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:55] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb3"} 
[2026-09-07 17:20:55] local.INFO: GPS Element Parsed {"raw_longitude":750565952,"raw_latitude":124955864,"longitude_deg":75.0565952,"latitude_deg":12.4955864,"altitude":14,"angle":165,"satellites":46,"speed":27,"hex_longitude":"2cbcba40","hex_latitude":"0772acd8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928123392001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401757971081592832,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4851080454129184768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788781744000,"timestamp_ms":1788781744000,"timestamp_seconds":1788781744,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb34f80"} 
[2026-09-07 17: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-07 17:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:20:55] 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-07 17:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928123392001,"66":27908,"159":206,"85":37888,"24":27,"16":401757971081592832,"44":-4851080454129184768},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928123392001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:20:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401757971081592832,"km_value":401757971081592.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4851080454129184768,"description":"Unknown IO ID 44"} 
[2026-09-07 17:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928123392001,"power":27908,"unknown_159":206,"unknown_85":37888,"ignition":27,"odometer":null,"unknown_44":-4851080454129184768}} 
[2026-09-07 17:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:20:55] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:20:55] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:17] local.INFO: TCP Data received {"connection_id":173883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:21:17] local.INFO: Processing buffer {"connection_id":173883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb059b0012d196500071ff0200040011f21..."} 
[2026-09-07 17:21:17] local.INFO: Packet analysis {"connection_id":173883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:21:17] local.INFO: Extracted packet for processing {"connection_id":173883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb0"} 
[2026-09-07 17:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457927999744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781550000,"timestamp_ms":1788781550000,"timestamp_seconds":1788781550,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb059b0"} 
[2026-09-07 17: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-07 17:21:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:17] 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-07 17:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457927999744001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457927999744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457927999744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":173883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:17] local.INFO: GPS data processed {"connection_id":173883,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:17] local.INFO: Acknowledgment sent {"connection_id":173883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:25] local.INFO: TCP Data received {"connection_id":176384,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb533e0012d064c800702b538000600cf23..."} 
[2026-09-07 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb533e0012d064c800702b538000600cf23..."} 
[2026-09-07 17:21:25] local.INFO: Processing buffer {"connection_id":176384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb533e0012d064c800702b538000600cf23..."} 
[2026-09-07 17:21:25] local.INFO: Packet analysis {"connection_id":176384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:25] local.INFO: Extracted packet for processing {"connection_id":176384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:25] local.INFO: GPS Element Parsed {"raw_longitude":755387520,"raw_latitude":117617976,"longitude_deg":75.538752,"latitude_deg":11.7617976,"altitude":6,"angle":207,"satellites":35,"speed":2,"hex_longitude":"2d064c80","hex_latitude":"0702b538","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928157696001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30616661484634112,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453948798800347136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788781868000,"timestamp_ms":1788781868000,"timestamp_seconds":1788781868,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb533e0"} 
[2026-09-07 17: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-07 17:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176384,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928157696001,"66":14450,"60":206,"94":11008,"24":2,"16":30616661484634112,"45":453948798800347136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928157696001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:25] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:21:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30616661484634112,"km_value":30616661484634.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":453948798800347136,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928157696001,"power":14450,"unknown_60":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":453948798800347136}} 
[2026-09-07 17:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":176384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:25] local.INFO: GPS data processed {"connection_id":176384,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:25] local.INFO: Acknowledgment sent {"connection_id":176384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:26] local.INFO: TCP Data received {"connection_id":173636,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4ca68012cbc7f800771b4380016007c2c..."} 
[2026-09-07 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4ca68012cbc7f800771b4380016007c2c..."} 
[2026-09-07 17:21:26] local.INFO: Processing buffer {"connection_id":173636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4ca68012cbc7f800771b4380016007c2c..."} 
[2026-09-07 17:21:26] local.INFO: Packet analysis {"connection_id":173636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:26] local.INFO: Extracted packet for processing {"connection_id":173636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":750550912,"raw_latitude":124892216,"longitude_deg":75.0550912,"latitude_deg":12.4892216,"altitude":22,"angle":124,"satellites":44,"speed":23,"hex_longitude":"2cbc7f80","hex_latitude":"0771b438","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928150784001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401761415645364224,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4865013465494384640,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788781841000,"timestamp_ms":1788781841000,"timestamp_seconds":1788781841,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4ca68"} 
[2026-09-07 17: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-07 17:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:26] 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-07 17: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-07 17: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-07 17:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:26] 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-07 17:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928150784001,"66":27843,"158":206,"85":37888,"24":23,"16":401761415645364224,"44":-4865013465494384640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928150784001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401761415645364224,"km_value":401761415645364.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4865013465494384640,"description":"Unknown IO ID 44"} 
[2026-09-07 17:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928150784001,"power":27843,"unknown_158":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-4865013465494384640}} 
[2026-09-07 17:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":173636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:26] local.INFO: GPS data processed {"connection_id":173636,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:26] local.INFO: Acknowledgment sent {"connection_id":173636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:33] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:21:33] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:21:33] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:21:34] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d7d500005cd5c18000d00b728..."} 
[2026-09-07 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d7d500005cd5c18000d00b728..."} 
[2026-09-07 17:21:34] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d7d500005cd5c18000d00b728..."} 
[2026-09-07 17:21:34] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:34] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":97344536,"longitude_deg":76.31872,"latitude_deg":9.7344536,"altitude":13,"angle":183,"satellites":40,"speed":6,"hex_longitude":"2d7d5000","hex_latitude":"05cd5c18","is_valid_coordinates":true} 
[2026-09-07 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928151296001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129515838322507776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029506171565559808,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928151296001,"66":13678,"236":206,"85":15104,"24":6,"16":129515838322507776,"45":9029506171565559808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-07 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928151296001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129515838322507776,"km_value":129515838322507.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029506171565559808,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928151296001,"power":13678,"unknown_236":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9029506171565559808}} 
[2026-09-07 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:34] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:34] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:41] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:41] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:41] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:21:44] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb52828012d7d518005cd3878000d00ad28..."} 
[2026-09-07 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb52828012d7d518005cd3878000d00ad28..."} 
[2026-09-07 17:21:44] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb52828012d7d518005cd3878000d00ad28..."} 
[2026-09-07 17:21:44] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:44] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":97335416,"longitude_deg":76.3187584,"latitude_deg":9.7335416,"altitude":13,"angle":173,"satellites":40,"speed":42,"hex_longitude":"2d7d5180","hex_latitude":"05cd3878","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129516280704139264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277798045696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788781865000,"timestamp_ms":1788781865000,"timestamp_seconds":1788781865,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb52828"} 
[2026-09-07 17: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-07 17:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:44] 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-07 17: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-07 17: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-07 17:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":13015,"236":206,"85":15104,"24":42,"16":129516280704139264,"45":9029717277798045696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-09-07 17:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:44] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-09-07 17:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129516280704139264,"km_value":129516280704139.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277798045696,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":13015,"unknown_236":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9029717277798045696}} 
[2026-09-07 17:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:44] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:44] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:44] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:44] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:44] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:21:45] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:45] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:45] local.INFO: IMEI packet received {"connection_id":176385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":176385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:21:46] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:46] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:21:46] local.INFO: IMEI packet received {"connection_id":173637,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":173637,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:21:46] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:46] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:46] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:21:46] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb53f98012d064c000702b4d0000600e123..."} 
[2026-09-07 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb53f98012d064c000702b4d0000600e123..."} 
[2026-09-07 17:21:46] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb53f98012d064c000702b4d0000600e123..."} 
[2026-09-07 17:21:46] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:46] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":755387392,"raw_latitude":117617872,"longitude_deg":75.5387392,"latitude_deg":11.7617872,"altitude":6,"angle":225,"satellites":35,"speed":1,"hex_longitude":"2d064c00","hex_latitude":"0702b4d0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928158208001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30616665779601408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453878430056134656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781871000,"timestamp_ms":1788781871000,"timestamp_seconds":1788781871,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb53f98"} 
[2026-09-07 17: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-07 17:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928158208001,"66":14396,"60":206,"94":11008,"24":1,"16":30616665779601408,"45":453878430056134656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928158208001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:21:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30616665779601408,"km_value":30616665779601.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":453878430056134656,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928158208001,"power":14396,"unknown_60":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":453878430056134656}} 
[2026-09-07 17:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:46] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:46] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:49] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:49] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:21:49] local.INFO: IMEI packet received {"connection_id":174964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:21:49] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4d620012cbc85c00771b1180017006c2b..."} 
[2026-09-07 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4d620012cbc85c00771b1180017006c2b..."} 
[2026-09-07 17:21:49] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4d620012cbc85c00771b1180017006c2b..."} 
[2026-09-07 17:21:49] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:49] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:49] local.INFO: GPS Element Parsed {"raw_longitude":750552512,"raw_latitude":124891416,"longitude_deg":75.0552512,"latitude_deg":12.4891416,"altitude":23,"angle":108,"satellites":43,"speed":23,"hex_longitude":"2cbc85c0","hex_latitude":"0771b118","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928151296001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401761501544710144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4864028303076083712,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781844000,"timestamp_ms":1788781844000,"timestamp_seconds":1788781844,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4d620"} 
[2026-09-07 17: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-07 17:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:21: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-07 17: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-07 17: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-07 17:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:49] 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-07 17:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928151296001,"66":27876,"158":206,"85":37888,"24":23,"16":401761501544710144,"44":-4864028303076083712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928151296001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401761501544710144,"km_value":401761501544710.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4864028303076083712,"description":"Unknown IO ID 44"} 
[2026-09-07 17:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928151296001,"power":27876,"unknown_158":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-4864028303076083712}} 
[2026-09-07 17:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:49] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:49] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:50] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:50] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:21:50] local.INFO: IMEI packet received {"connection_id":176385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":176385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:21:51] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:51] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:51] local.INFO: Packet analysis {"connection_id":176385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:51] local.INFO: Extracted packet for processing {"connection_id":176385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21: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-07 17:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 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-07 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:51] 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-07 17:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":176385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:51] local.INFO: GPS data processed {"connection_id":176385,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:51] local.INFO: Acknowledgment sent {"connection_id":176385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:51] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4e1d8012cbc8c400771af98001900602a..."} 
[2026-09-07 17:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4e1d8012cbc8c400771af98001900602a..."} 
[2026-09-07 17:21:51] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4e1d8012cbc8c400771af98001900602a..."} 
[2026-09-07 17:21:51] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:51] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:51] local.INFO: GPS Element Parsed {"raw_longitude":750554176,"raw_latitude":124891032,"longitude_deg":75.0554176,"latitude_deg":12.4891032,"altitude":25,"angle":96,"satellites":42,"speed":23,"hex_longitude":"2cbc8c40","hex_latitude":"0771af98","is_valid_coordinates":true} 
[2026-09-07 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-07 17:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928152064001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401761583149088768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4862269084471846912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781847000,"timestamp_ms":1788781847000,"timestamp_seconds":1788781847,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4e1d8"} 
[2026-09-07 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-07 17:21: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-07 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:21:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:21:51] 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-07 17:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928152064001,"66":27865,"158":206,"85":37888,"24":23,"16":401761583149088768,"44":-4862269084471846912},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928152064001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401761583149088768,"km_value":401761583149088.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4862269084471846912,"description":"Unknown IO ID 44"} 
[2026-09-07 17:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928152064001,"power":27865,"unknown_158":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-4862269084471846912}} 
[2026-09-07 17:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:51] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:51] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:21:55] local.INFO: TCP Data received {"connection_id":176385,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:55] local.INFO: Processing buffer {"connection_id":176385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:21:55] local.INFO: Packet analysis {"connection_id":176385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:55] local.INFO: Extracted packet for processing {"connection_id":176385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17: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-07 17:21: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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:21: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-07 17: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-07 17: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-07 17:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:21:55] 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-07 17:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:21:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":176385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:21:55] local.INFO: GPS data processed {"connection_id":176385,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:21:55] local.INFO: Acknowledgment sent {"connection_id":176385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:17] local.INFO: TCP Data received {"connection_id":173637,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb55ed8012d064bc00702b4b8000600cf23..."} 
[2026-09-07 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb55ed8012d064bc00702b4b8000600cf23..."} 
[2026-09-07 17:22:17] local.INFO: Processing buffer {"connection_id":173637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb55ed8012d064bc00702b4b8000600cf23..."} 
[2026-09-07 17:22:17] local.INFO: Packet analysis {"connection_id":173637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:22:17] local.INFO: Extracted packet for processing {"connection_id":173637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:22:17] local.INFO: GPS Element Parsed {"raw_longitude":755387328,"raw_latitude":117617848,"longitude_deg":75.5387328,"latitude_deg":11.7617848,"altitude":6,"angle":207,"satellites":35,"speed":4,"hex_longitude":"2d064bc0","hex_latitude":"0702b4b8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928158976001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30616670074568704,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":453737692567752704,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781879000,"timestamp_ms":1788781879000,"timestamp_seconds":1788781879,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb55ed8"} 
[2026-09-07 17: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-07 17:22: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-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173637,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928158976001,"66":14439,"60":206,"94":11008,"24":4,"16":30616670074568704,"45":453737692567752704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928158976001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:17] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:22:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30616670074568704,"km_value":30616670074568.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":453737692567752704,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928158976001,"power":14439,"unknown_60":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":453737692567752704}} 
[2026-09-07 17:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":173637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:17] local.INFO: GPS data processed {"connection_id":173637,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:17] local.INFO: Acknowledgment sent {"connection_id":173637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:22] local.INFO: TCP Data received {"connection_id":174964,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4ed90012cbc93400771afa0001b00532e..."} 
[2026-09-07 17:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4ed90012cbc93400771afa0001b00532e..."} 
[2026-09-07 17:22:22] local.INFO: Processing buffer {"connection_id":174964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4ed90012cbc93400771afa0001b00532e..."} 
[2026-09-07 17:22:22] local.INFO: Packet analysis {"connection_id":174964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:22:22] local.INFO: Extracted packet for processing {"connection_id":174964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:22:22] local.INFO: GPS Element Parsed {"raw_longitude":750555968,"raw_latitude":124891040,"longitude_deg":75.0555968,"latitude_deg":12.489104,"altitude":27,"angle":83,"satellites":46,"speed":22,"hex_longitude":"2cbc9340","hex_latitude":"0771afa0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928152832001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401761664753467392,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4860439497123325952,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788781850000,"timestamp_ms":1788781850000,"timestamp_seconds":1788781850,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4ed90"} 
[2026-09-07 17: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-07 17:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:22] 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-07 17:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928152832001,"66":27865,"158":206,"85":37888,"24":22,"16":401761664753467392,"44":-4860439497123325952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928152832001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:22:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401761664753467392,"km_value":401761664753467.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4860439497123325952,"description":"Unknown IO ID 44"} 
[2026-09-07 17:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928152832001,"power":27865,"unknown_158":206,"unknown_85":37888,"ignition":22,"odometer":null,"unknown_44":-4860439497123325952}} 
[2026-09-07 17:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":174964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:22] local.INFO: GPS data processed {"connection_id":174964,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:22] local.INFO: Acknowledgment sent {"connection_id":174964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:32] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:32] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:32] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:22:37] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:37] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:22:37] local.INFO: IMEI packet received {"connection_id":173638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":173638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:37] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb62228012d7d4a8005cc34180008013c28..."} 
[2026-09-07 17:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb62228012d7d4a8005cc34180008013c28..."} 
[2026-09-07 17:22:37] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb62228012d7d4a8005cc34180008013c28..."} 
[2026-09-07 17:22:37] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:37] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97268760,"longitude_deg":76.3185792,"latitude_deg":9.726876,"altitude":8,"angle":316,"satellites":40,"speed":10,"hex_longitude":"2d7d4a80","hex_latitude":"05cc3418","is_valid_coordinates":true} 
[2026-09-07 17:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928173568001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129519574944055296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271639234560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788781929000,"timestamp_ms":1788781929000,"timestamp_seconds":1788781929,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb62228"} 
[2026-09-07 17:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:37] 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-07 17: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-07 17:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928173568001,"66":13559,"129":206,"85":15104,"24":10,"16":129519574944055296,"45":9028380271639234560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928173568001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:37] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:22:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129519574944055296,"km_value":129519574944055.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271639234560,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928173568001,"power":13559,"unknown_129":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9028380271639234560}} 
[2026-09-07 17:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:37] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:37] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:38] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb62610012d7d4a0005cc35300008015328..."} 
[2026-09-07 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb62610012d7d4a0005cc35300008015328..."} 
[2026-09-07 17:22:38] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb62610012d7d4a0005cc35300008015328..."} 
[2026-09-07 17:22:38] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:38] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97269040,"longitude_deg":76.3185664,"latitude_deg":9.726904,"altitude":8,"angle":339,"satellites":40,"speed":14,"hex_longitude":"2d7d4a00","hex_latitude":"05cc3530","is_valid_coordinates":true} 
[2026-09-07 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928173824001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129519592123924480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165406738432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788781930000,"timestamp_ms":1788781930000,"timestamp_seconds":1788781930,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb62610"} 
[2026-09-07 17:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:22: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-07 17:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928173824001,"66":13493,"129":206,"85":15104,"24":14,"16":129519592123924480,"45":9028169165406738432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928173824001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:38] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:22:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129519592123924480,"km_value":129519592123924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165406738432,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928173824001,"power":13493,"unknown_129":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9028169165406738432}} 
[2026-09-07 17:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:38] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:38] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:39] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:39] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:39] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:22:40] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:40] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:40] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:22:40] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:40] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:40] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:44] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:22:44] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:44] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:45] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:45] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:22:45] local.INFO: IMEI packet received {"connection_id":173639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":173639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:46] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:22:46] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:22:46] local.INFO: Packet analysis {"connection_id":173639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:22:46] local.INFO: Extracted packet for processing {"connection_id":173639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17: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-07 17:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:22:46] 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-07 17:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":173639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:46] local.INFO: GPS data processed {"connection_id":173639,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:46] local.INFO: Acknowledgment sent {"connection_id":173639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:46] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:46] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:22:46] local.INFO: IMEI packet received {"connection_id":176387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":176387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:47] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb66878012d05ca8007026358000e00ef21..."} 
[2026-09-07 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb66878012d05ca8007026358000e00ef21..."} 
[2026-09-07 17:22:47] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb66878012d05ca8007026358000e00ef21..."} 
[2026-09-07 17:22:47] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:47] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:47] local.INFO: GPS Element Parsed {"raw_longitude":755354240,"raw_latitude":117597016,"longitude_deg":75.535424,"latitude_deg":11.7597016,"altitude":14,"angle":239,"satellites":33,"speed":24,"hex_longitude":"2d05ca80","hex_latitude":"07026358","is_valid_coordinates":true} 
[2026-09-07 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-07 17:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928175360001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618589924950016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":426082776101687296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788781947000,"timestamp_ms":1788781947000,"timestamp_seconds":1788781947,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb66878"} 
[2026-09-07 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-07 17:22: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-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928175360001,"66":14407,"60":206,"94":11008,"24":24,"16":30618589924950016,"45":426082776101687296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928175360001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:47] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:22:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618589924950016,"km_value":30618589924950.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":426082776101687296,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928175360001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":426082776101687296}} 
[2026-09-07 17:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:47] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:47] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:47] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:47] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:47] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:48] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb68ba0012d05bc8007025a70001200e223..."} 
[2026-09-07 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb68ba0012d05bc8007025a70001200e223..."} 
[2026-09-07 17:22:48] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb68ba0012d05bc8007025a70001200e223..."} 
[2026-09-07 17:22:48] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:48] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":755350656,"raw_latitude":117594736,"longitude_deg":75.5350656,"latitude_deg":11.7594736,"altitude":18,"angle":226,"satellites":35,"speed":11,"hex_longitude":"2d05bc80","hex_latitude":"07025a70","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928178432001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618791788412928,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":417286683078383616,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788781956000,"timestamp_ms":1788781956000,"timestamp_seconds":1788781956,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb68ba0"} 
[2026-09-07 17: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-07 17:22: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-07 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928178432001,"66":14515,"60":206,"94":11008,"24":11,"16":30618791788412928,"45":417286683078383616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928178432001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:48] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:22:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618791788412928,"km_value":30618791788412.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":417286683078383616,"description":"Unknown IO ID 45"} 
[2026-09-07 17:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928178432001,"power":14515,"unknown_60":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":417286683078383616}} 
[2026-09-07 17:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780061,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:48] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:48] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:49] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:49] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:22:49] local.INFO: IMEI packet received {"connection_id":176388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":176388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:22:49] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb5ef60012cbd17c0077165a8003700b429..."} 
[2026-09-07 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb5ef60012cbd17c0077165a8003700b429..."} 
[2026-09-07 17:22:49] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb5ef60012cbd17c0077165a8003700b429..."} 
[2026-09-07 17:22:49] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:22:49] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb5"} 
[2026-09-07 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":750589888,"raw_latitude":124872104,"longitude_deg":75.0589888,"latitude_deg":12.4872104,"altitude":55,"angle":180,"satellites":41,"speed":30,"hex_longitude":"2cbd17c0","hex_latitude":"077165a8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928169472001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401763747812605952,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821525581597159424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781916000,"timestamp_ms":1788781916000,"timestamp_seconds":1788781916,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb5ef60"} 
[2026-09-07 17: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-07 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:49] 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-07 17:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928169472001,"66":27876,"158":206,"85":37888,"24":30,"16":401763747812605952,"44":-4821525581597159424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928169472001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:49] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401763747812605952,"km_value":401763747812605.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821525581597159424,"description":"Unknown IO ID 44"} 
[2026-09-07 17:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928169472001,"power":27876,"unknown_158":206,"unknown_85":37888,"ignition":30,"odometer":null,"unknown_44":-4821525581597159424}} 
[2026-09-07 17:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:49] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:49] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:22:51] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb60ab8012cbd160007715370003900c523..."} 
[2026-09-07 17:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb60ab8012cbd160007715370003900c523..."} 
[2026-09-07 17:22:51] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb60ab8012cbd160007715370003900c523..."} 
[2026-09-07 17:22:51] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:51] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:22:51] local.INFO: GPS Element Parsed {"raw_longitude":750589440,"raw_latitude":124867440,"longitude_deg":75.058944,"latitude_deg":12.486744,"altitude":57,"angle":197,"satellites":35,"speed":21,"hex_longitude":"2cbd1600","hex_latitude":"07715370","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928170496001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401763975445872640,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821173737877035008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788781923000,"timestamp_ms":1788781923000,"timestamp_seconds":1788781923,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb60ab8"} 
[2026-09-07 17: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-07 17:22: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-07 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:22:51] 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-07 17:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928170496001,"66":27821,"158":206,"85":37888,"24":21,"16":401763975445872640,"44":-4821173737877035008},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928170496001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:22:51] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401763975445872640,"km_value":401763975445872.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821173737877035008,"description":"Unknown IO ID 44"} 
[2026-09-07 17:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928170496001,"power":27821,"unknown_158":206,"unknown_85":37888,"ignition":21,"odometer":null,"unknown_44":-4821173737877035008}} 
[2026-09-07 17:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:22:51] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:22:51] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:09] local.INFO: TCP Data received {"connection_id":173638,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb629f8012d7d4a0005cc36c80008000328..."} 
[2026-09-07 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb629f8012d7d4a0005cc36c80008000328..."} 
[2026-09-07 17:23:09] local.INFO: Processing buffer {"connection_id":173638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb629f8012d7d4a0005cc36c80008000328..."} 
[2026-09-07 17:23:09] local.INFO: Packet analysis {"connection_id":173638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:09] local.INFO: Extracted packet for processing {"connection_id":173638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97269448,"longitude_deg":76.3185664,"latitude_deg":9.7269448,"altitude":8,"angle":3,"satellites":40,"speed":17,"hex_longitude":"2d7d4a00","hex_latitude":"05cc36c8","is_valid_coordinates":true} 
[2026-09-07 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928174080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129519609303793664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427918454784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788781931000,"timestamp_ms":1788781931000,"timestamp_seconds":1788781931,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb629f8"} 
[2026-09-07 17:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:09] 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-07 17:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928174080001,"66":13493,"129":206,"85":15104,"24":17,"16":129519609303793664,"45":9028028427918454784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928174080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:09] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129519609303793664,"km_value":129519609303793.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427918454784,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928174080001,"power":13493,"unknown_129":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9028028427918454784}} 
[2026-09-07 17:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":173638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:09] local.INFO: GPS data processed {"connection_id":173638,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:09] local.INFO: Acknowledgment sent {"connection_id":173638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:17] local.INFO: TCP Data received {"connection_id":173639,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:17] local.INFO: Processing buffer {"connection_id":173639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:17] local.INFO: Packet analysis {"connection_id":173639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:23:17] local.INFO: Extracted packet for processing {"connection_id":173639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17: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-07 17:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:23:17] 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-07 17:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":173639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:17] local.INFO: GPS data processed {"connection_id":173639,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:17] local.INFO: Acknowledgment sent {"connection_id":173639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:22] local.INFO: TCP Data received {"connection_id":176388,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb68ba0012cbce98007714bb00040011d2b..."} 
[2026-09-07 17:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb68ba0012cbce98007714bb00040011d2b..."} 
[2026-09-07 17:23:22] local.INFO: Processing buffer {"connection_id":176388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb68ba0012cbce98007714bb00040011d2b..."} 
[2026-09-07 17:23:22] local.INFO: Packet analysis {"connection_id":176388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:22] local.INFO: Extracted packet for processing {"connection_id":176388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:22] local.INFO: GPS Element Parsed {"raw_longitude":750578048,"raw_latitude":124865456,"longitude_deg":75.0578048,"latitude_deg":12.4865456,"altitude":64,"angle":285,"satellites":43,"speed":15,"hex_longitude":"2cbce980","hex_latitude":"07714bb0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928178944001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401764619690967040,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831025362063978496,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788781956000,"timestamp_ms":1788781956000,"timestamp_seconds":1788781956,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb68ba0"} 
[2026-09-07 17: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-07 17:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":141,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:22] 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-07 17: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-07 17: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-07 17:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:23:22] 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-07 17:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928178944001,"66":27908,"158":206,"85":37888,"24":15,"16":401764619690967040,"44":-4831025362063978496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928178944001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:22] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401764619690967040,"km_value":401764619690967.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831025362063978496,"description":"Unknown IO ID 44"} 
[2026-09-07 17:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928178944001,"power":27908,"unknown_158":206,"unknown_85":37888,"ignition":15,"odometer":null,"unknown_44":-4831025362063978496}} 
[2026-09-07 17:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":176388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:22] local.INFO: GPS data processed {"connection_id":176388,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:22] local.INFO: Acknowledgment sent {"connection_id":176388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:27] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:23:27] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:27] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:23:27] local.INFO: TCP Data received {"connection_id":176387,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb69370012d05bb4007025928001300cc23..."} 
[2026-09-07 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb69370012d05bb4007025928001300cc23..."} 
[2026-09-07 17:23:27] local.INFO: Processing buffer {"connection_id":176387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb69370012d05bb4007025928001300cc23..."} 
[2026-09-07 17:23:27] local.INFO: Packet analysis {"connection_id":176387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:27] local.INFO: Extracted packet for processing {"connection_id":176387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":755350336,"raw_latitude":117594408,"longitude_deg":75.5350336,"latitude_deg":11.7594408,"altitude":19,"angle":204,"satellites":35,"speed":6,"hex_longitude":"2d05bb40","hex_latitude":"07025928","is_valid_coordinates":true} 
[2026-09-07 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-07 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928180736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618813263249408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413346033403850752,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788781958000,"timestamp_ms":1788781958000,"timestamp_seconds":1788781958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb69370"} 
[2026-09-07 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-07 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-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928180736001,"66":14352,"60":206,"94":11008,"24":6,"16":30618813263249408,"45":413346033403850752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928180736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:27] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:23:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618813263249408,"km_value":30618813263249.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":413346033403850752,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928180736001,"power":14352,"unknown_60":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":413346033403850752}} 
[2026-09-07 17:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":176387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:28] local.INFO: GPS data processed {"connection_id":176387,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:28] local.INFO: Acknowledgment sent {"connection_id":176387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:32] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:32] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:23:32] local.INFO: IMEI packet received {"connection_id":174965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":174965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:23:33] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb658d8012d7d4d8005cc5cf0000a000328..."} 
[2026-09-07 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb658d8012d7d4d8005cc5cf0000a000328..."} 
[2026-09-07 17:23:33] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb658d8012d7d4d8005cc5cf0000a000328..."} 
[2026-09-07 17:23:33] local.INFO: Packet analysis {"connection_id":174965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:33] local.INFO: Extracted packet for processing {"connection_id":174965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763186560,"raw_latitude":97279216,"longitude_deg":76.318656,"latitude_deg":9.7279216,"altitude":10,"angle":3,"satellites":40,"speed":38,"hex_longitude":"2d7d4d80","hex_latitude":"05cc5cf0","is_valid_coordinates":true} 
[2026-09-07 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928174336001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520086045163520,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427918559232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781943000,"timestamp_ms":1788781943000,"timestamp_seconds":1788781943,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb658d8"} 
[2026-09-07 17:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:33] 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-07 17:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928174336001,"66":13798,"129":206,"85":15104,"24":38,"16":129520086045163520,"45":9028028427918559232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928174336001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520086045163520,"km_value":129520086045163.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427918559232,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928174336001,"power":13798,"unknown_129":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9028028427918559232}} 
[2026-09-07 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":174965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:33] local.INFO: GPS data processed {"connection_id":174965,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:33] local.INFO: Acknowledgment sent {"connection_id":174965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:40] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:40] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:40] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:23:42] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:42] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:42] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:23:44] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:44] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:44] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:23:45] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:45] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:23:45] local.INFO: IMEI packet received {"connection_id":173641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:23:46] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:46] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:23:46] local.INFO: IMEI packet received {"connection_id":176389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":176389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:23:46] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:46] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:23:46] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:23:46] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 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-07 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:23:46] 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-07 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:46] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:46] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:46] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6a310012d05bb40070257100015009823..."} 
[2026-09-07 17:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6a310012d05bb40070257100015009823..."} 
[2026-09-07 17:23:46] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6a310012d05bb40070257100015009823..."} 
[2026-09-07 17:23:46] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:46] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":755350336,"raw_latitude":117593872,"longitude_deg":75.5350336,"latitude_deg":11.7593872,"altitude":21,"angle":152,"satellites":35,"speed":6,"hex_longitude":"2d05bb40","hex_latitude":"07025710","is_valid_coordinates":true} 
[2026-09-07 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-07 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928181248001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618839033053184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412994189682878464,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781962000,"timestamp_ms":1788781962000,"timestamp_seconds":1788781962,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6a310"} 
[2026-09-07 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-07 17:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146880,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2281778437,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":192,"raw_value":5630419227645440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504066817916928,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3055947777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639784415946300,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1715208398,"corrected_to":0} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3334930432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.WARNING: Large IO value detected {"io_id":6,"raw_value":1369101994398056466,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:46] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,60,94,24,241,157,16,199,160,139,45,128,90,18,35,10,66,104,99,14,33,57,192,1,240,103,227,123,2,4,113,205,20,254,120,34,239,56,108,7,23,206,6],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1715208398,"validated":0}]} 
[2026-09-07 17:23:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369318737416945664,"timestamp_seconds":1369318737416945.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 17:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928181248001,"66":14450,"60":206,"94":11008,"24":6,"16":30618839033053184,"45":412994189682878464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928181248001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618839033053184,"km_value":30618839033053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":412994189682878464,"description":"Unknown IO ID 45"} 
[2026-09-07 17:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928181248001,"power":14450,"unknown_60":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":412994189682878464}} 
[2026-09-07 17:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:47] local.INFO: GPS data processed {"connection_id":176389,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:47] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:23:49] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:49] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:23:49] local.INFO: IMEI packet received {"connection_id":173642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:23:50] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb69758012cbce48007714c70004001112a..."} 
[2026-09-07 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb69758012cbce48007714c70004001112a..."} 
[2026-09-07 17:23:50] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb69758012cbce48007714c70004001112a..."} 
[2026-09-07 17:23:50] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:50] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":750576768,"raw_latitude":124865648,"longitude_deg":75.0576768,"latitude_deg":12.4865648,"altitude":64,"angle":273,"satellites":42,"speed":19,"hex_longitude":"2cbce480","hex_latitude":"07714c70","is_valid_coordinates":true} 
[2026-09-07 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928180736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401764684115476480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4834191955551604736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788781959000,"timestamp_ms":1788781959000,"timestamp_seconds":1788781959,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb69758"} 
[2026-09-07 17:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:23: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-07 17:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928180736001,"66":27876,"158":206,"85":37888,"24":19,"16":401764684115476480,"44":-4834191955551604736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-09-07 17:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928180736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:23:50] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-09-07 17:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401764684115476480,"km_value":401764684115476.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4834191955551604736,"description":"Unknown IO ID 44"} 
[2026-09-07 17:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928180736001,"power":27876,"unknown_158":206,"unknown_85":37888,"ignition":19,"odometer":null,"unknown_44":-4834191955551604736}} 
[2026-09-07 17:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:23:50] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:23:50] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:05] local.INFO: TCP Data received {"connection_id":174965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb687b8012d7d504005cc7fc0000b000428..."} 
[2026-09-07 17:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb687b8012d7d504005cc7fc0000b000428..."} 
[2026-09-07 17:24:05] local.INFO: Processing buffer {"connection_id":174965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb687b8012d7d504005cc7fc0000b000428..."} 
[2026-09-07 17:24:05] local.INFO: Packet analysis {"connection_id":174965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:05] local.INFO: Extracted packet for processing {"connection_id":174965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97288128,"longitude_deg":76.3187264,"latitude_deg":9.7288128,"altitude":11,"angle":4,"satellites":40,"speed":23,"hex_longitude":"2d7d5040","hex_latitude":"05cc7fc0","is_valid_coordinates":true} 
[2026-09-07 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928177408001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520519836860416,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590339547136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788781955000,"timestamp_ms":1788781955000,"timestamp_seconds":1788781955,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb687b8"} 
[2026-09-07 17:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:05] 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-07 17:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928177408001,"66":13015,"129":206,"85":15104,"24":23,"16":129520519836860416,"45":9029013590339547136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928177408001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520519836860416,"km_value":129520519836860.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590339547136,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928177408001,"power":13015,"unknown_129":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9029013590339547136}} 
[2026-09-07 17:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":174965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:05] local.INFO: GPS data processed {"connection_id":174965,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:05] local.INFO: Acknowledgment sent {"connection_id":174965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:17] local.INFO: TCP Data received {"connection_id":173641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:17] local.INFO: Processing buffer {"connection_id":173641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:17] local.INFO: Packet analysis {"connection_id":173641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:24:17] local.INFO: Extracted packet for processing {"connection_id":173641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17: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-07 17:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:24:17] 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-07 17:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":173641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:17] local.INFO: GPS data processed {"connection_id":173641,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:17] local.INFO: Acknowledgment sent {"connection_id":173641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:18] local.INFO: TCP Data received {"connection_id":176389,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6ba80012d05be00070252a80016007f23..."} 
[2026-09-07 17:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6ba80012d05be00070252a80016007f23..."} 
[2026-09-07 17:24:18] local.INFO: Processing buffer {"connection_id":176389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6ba80012d05be00070252a80016007f23..."} 
[2026-09-07 17:24:18] local.INFO: Packet analysis {"connection_id":176389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:18] local.INFO: Extracted packet for processing {"connection_id":176389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":755351040,"raw_latitude":117592744,"longitude_deg":75.535104,"latitude_deg":11.7592744,"altitude":22,"angle":127,"satellites":35,"speed":9,"hex_longitude":"2d05be00","hex_latitude":"070252a8","is_valid_coordinates":true} 
[2026-09-07 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928182272001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618903457562624,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":412994189682741248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788781968000,"timestamp_ms":1788781968000,"timestamp_seconds":1788781968,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6ba80"} 
[2026-09-07 17:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:18] 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-07 17:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928182272001,"66":14396,"60":206,"94":11008,"24":9,"16":30618903457562624,"45":412994189682741248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928182272001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:24:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618903457562624,"km_value":30618903457562.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":412994189682741248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928182272001,"power":14396,"unknown_60":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":412994189682741248}} 
[2026-09-07 17:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":176389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:18] local.INFO: GPS data processed {"connection_id":176389,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:18] local.INFO: Acknowledgment sent {"connection_id":176389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:21] local.INFO: TCP Data received {"connection_id":173642,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb69f28012cbce08007714c38004101032a..."} 
[2026-09-07 17:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb69f28012cbce08007714c38004101032a..."} 
[2026-09-07 17:24:21] local.INFO: Processing buffer {"connection_id":173642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb69f28012cbce08007714c38004101032a..."} 
[2026-09-07 17:24:21] local.INFO: Packet analysis {"connection_id":173642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:21] local.INFO: Extracted packet for processing {"connection_id":173642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:21] local.INFO: GPS Element Parsed {"raw_longitude":750575744,"raw_latitude":124865592,"longitude_deg":75.0575744,"latitude_deg":12.4865592,"altitude":65,"angle":259,"satellites":42,"speed":22,"hex_longitude":"2cbce080","hex_latitude":"07714c38","is_valid_coordinates":true} 
[2026-09-07 17:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928181504001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401764731360116736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4835599330435108864,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788781961000,"timestamp_ms":1788781961000,"timestamp_seconds":1788781961,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb69f28"} 
[2026-09-07 17:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:21] local.INFO: IO Element 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-07 17:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:21] 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-07 17:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928181504001,"66":27767,"61":206,"85":37888,"24":22,"16":401764731360116736,"44":-4835599330435108864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-07 17:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928181504001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:21] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 17:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401764731360116736,"km_value":401764731360116.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4835599330435108864,"description":"Unknown IO ID 44"} 
[2026-09-07 17:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928181504001,"power":27767,"unknown_61":206,"unknown_85":37888,"ignition":22,"odometer":null,"unknown_44":-4835599330435108864}} 
[2026-09-07 17:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":173642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:21] local.INFO: GPS data processed {"connection_id":173642,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:21] local.INFO: Acknowledgment sent {"connection_id":173642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:27] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:27] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:27] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:24:30] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:30] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:24:30] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:24:31] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb69758012d7d504005cc8560000c015a28..."} 
[2026-09-07 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb69758012d7d504005cc8560000c015a28..."} 
[2026-09-07 17:24:31] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb69758012d7d504005cc8560000c015a28..."} 
[2026-09-07 17:24:31] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:31] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97289568,"longitude_deg":76.3187264,"latitude_deg":9.7289568,"altitude":12,"angle":346,"satellites":40,"speed":8,"hex_longitude":"2d7d5040","hex_latitude":"05cc8560","is_valid_coordinates":true} 
[2026-09-07 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928180480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520592851304448,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646527782912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788781959000,"timestamp_ms":1788781959000,"timestamp_seconds":1788781959,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb69758"} 
[2026-09-07 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:31] 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-07 17:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928180480001,"66":13015,"129":206,"85":15104,"24":8,"16":129520592851304448,"45":9029787646527782912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928180480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520592851304448,"km_value":129520592851304.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646527782912,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928180480001,"power":13015,"unknown_129":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9029787646527782912}} 
[2026-09-07 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:31] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:31] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:40] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:40] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:40] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:24:40] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:40] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:40] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:24:44] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:44] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:44] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:24:45] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:45] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:24:45] local.INFO: IMEI packet received {"connection_id":176390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":176390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:24:46] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:46] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:24:46] local.INFO: IMEI packet received {"connection_id":173643,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173643,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:24:46] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:46] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:24:46] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:24:46] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:24:46] 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-07 17:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:46] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:46] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:46] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6be68012d05be80070252480017006d23..."} 
[2026-09-07 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6be68012d05be80070252480017006d23..."} 
[2026-09-07 17:24:46] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6be68012d05be80070252480017006d23..."} 
[2026-09-07 17:24:46] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:46] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":755351168,"raw_latitude":117592648,"longitude_deg":75.5351168,"latitude_deg":11.7592648,"altitude":23,"angle":109,"satellites":35,"speed":7,"hex_longitude":"2d05be80","hex_latitude":"07025248","is_valid_coordinates":true} 
[2026-09-07 17:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928183808001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618912047497216,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413768245868406784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781969000,"timestamp_ms":1788781969000,"timestamp_seconds":1788781969,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6be68"} 
[2026-09-07 17:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:46] 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-07 17:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928183808001,"66":14428,"60":206,"94":11008,"24":7,"16":30618912047497216,"45":413768245868406784},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928183808001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618912047497216,"km_value":30618912047497.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":413768245868406784,"description":"Unknown IO ID 45"} 
[2026-09-07 17:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928183808001,"power":14428,"unknown_60":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":413768245868406784}} 
[2026-09-07 17:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:47] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:47] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:48] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:48] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:48] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:24:49] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:49] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:24:49] local.INFO: IMEI packet received {"connection_id":173644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":173644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:24:49] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6aae0012cbcd980077149e0004100f22c..."} 
[2026-09-07 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6aae0012cbcd980077149e0004100f22c..."} 
[2026-09-07 17:24:49] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6aae0012cbcd980077149e0004100f22c..."} 
[2026-09-07 17:24:49] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:49] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":750573952,"raw_latitude":124864992,"longitude_deg":75.0573952,"latitude_deg":12.4864992,"altitude":65,"angle":242,"satellites":44,"speed":25,"hex_longitude":"2cbcd980","hex_latitude":"077149e0","is_valid_coordinates":true} 
[2026-09-07 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928182016001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401764821554429952,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836725230341965824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788781964000,"timestamp_ms":1788781964000,"timestamp_seconds":1788781964,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6aae0"} 
[2026-09-07 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:49] 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-07 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928182016001,"66":27832,"61":206,"85":37888,"24":25,"16":401764821554429952,"44":-4836725230341965824},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-07 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928182016001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 17:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401764821554429952,"km_value":401764821554429.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4836725230341965824,"description":"Unknown IO ID 44"} 
[2026-09-07 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928182016001,"power":27832,"unknown_61":206,"unknown_85":37888,"ignition":25,"odometer":null,"unknown_44":-4836725230341965824}} 
[2026-09-07 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:49] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:49] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:24:54] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6b2b0012cbcd54007714728004100e72b..."} 
[2026-09-07 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6b2b0012cbcd54007714728004100e72b..."} 
[2026-09-07 17:24:54] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6b2b0012cbcd54007714728004100e72b..."} 
[2026-09-07 17:24:54] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:54] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":750572864,"raw_latitude":124864296,"longitude_deg":75.0572864,"latitude_deg":12.4864296,"altitude":65,"angle":231,"satellites":43,"speed":25,"hex_longitude":"2cbcd540","hex_latitude":"07714728","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928182784001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401764881683972096,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4838695555179094016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788781966000,"timestamp_ms":1788781966000,"timestamp_seconds":1788781966,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6b2b0"} 
[2026-09-07 17: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-07 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 17:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:24:54] 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-07 17:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928182784001,"66":27843,"61":206,"85":37888,"24":25,"16":401764881683972096,"44":-4838695555179094016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-09-07 17:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928182784001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:24:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 17:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401764881683972096,"km_value":401764881683972.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4838695555179094016,"description":"Unknown IO ID 44"} 
[2026-09-07 17:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928182784001,"power":27843,"unknown_61":206,"unknown_85":37888,"ignition":25,"odometer":null,"unknown_44":-4838695555179094016}} 
[2026-09-07 17:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:24:54] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:24:54] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:02] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb69f28012d7d4f8005cc8680000b013528..."} 
[2026-09-07 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb69f28012d7d4f8005cc8680000b013528..."} 
[2026-09-07 17:25:02] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb69f28012d7d4f8005cc8680000b013528..."} 
[2026-09-07 17:25:02] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:02] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97289856,"longitude_deg":76.3187072,"latitude_deg":9.7289856,"altitude":11,"angle":309,"satellites":40,"speed":7,"hex_longitude":"2d7d4f80","hex_latitude":"05cc8680","is_valid_coordinates":true} 
[2026-09-07 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928181504001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520605736206336,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646528151552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788781961000,"timestamp_ms":1788781961000,"timestamp_seconds":1788781961,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb69f28"} 
[2026-09-07 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928181504001,"66":13602,"129":206,"85":15104,"24":7,"16":129520605736206336,"45":9029787646528151552},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928181504001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520605736206336,"km_value":129520605736206.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646528151552,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928181504001,"power":13602,"unknown_129":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9029787646528151552}} 
[2026-09-07 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:02] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:02] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:12] local.INFO: TCP Data received {"connection_id":174967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:12] local.INFO: Processing buffer {"connection_id":174967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:12] local.INFO: IMEI packet received {"connection_id":174967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":174967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:17] local.INFO: TCP Data received {"connection_id":176390,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:17] local.INFO: Processing buffer {"connection_id":176390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:17] local.INFO: Packet analysis {"connection_id":176390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:25:17] local.INFO: Extracted packet for processing {"connection_id":176390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17: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-07 17:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:25:17] 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-07 17:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":176390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:17] local.INFO: GPS data processed {"connection_id":176390,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:17] local.INFO: Acknowledgment sent {"connection_id":176390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:19] local.INFO: TCP Data received {"connection_id":173643,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6c250012d05bec0070252200017006223..."} 
[2026-09-07 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6c250012d05bec0070252200017006223..."} 
[2026-09-07 17:25:19] local.INFO: Processing buffer {"connection_id":173643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6c250012d05bec0070252200017006223..."} 
[2026-09-07 17:25:19] local.INFO: Packet analysis {"connection_id":173643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:19] local.INFO: Extracted packet for processing {"connection_id":173643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:19] local.INFO: GPS Element Parsed {"raw_longitude":755351232,"raw_latitude":117592608,"longitude_deg":75.5351232,"latitude_deg":11.7592608,"altitude":23,"angle":98,"satellites":35,"speed":6,"hex_longitude":"2d05bec0","hex_latitude":"07025220","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928184064001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618916342464512,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413908983356737536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788781970000,"timestamp_ms":1788781970000,"timestamp_seconds":1788781970,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6c250"} 
[2026-09-07 17: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-07 17:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:19] 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-07 17: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-07 17: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-07 17:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173643,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928184064001,"66":14428,"60":206,"94":11008,"24":6,"16":30618916342464512,"45":413908983356737536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928184064001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:19] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:25:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618916342464512,"km_value":30618916342464.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":413908983356737536,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928184064001,"power":14428,"unknown_60":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":413908983356737536}} 
[2026-09-07 17:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":173643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780083,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:19] local.INFO: GPS data processed {"connection_id":173643,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:19] local.INFO: Acknowledgment sent {"connection_id":173643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:25] local.INFO: TCP Data received {"connection_id":173644,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb848f0012cbcf54007701e68006200ad2f..."} 
[2026-09-07 17:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb848f0012cbcf54007701e68006200ad2f..."} 
[2026-09-07 17:25:25] local.INFO: Processing buffer {"connection_id":173644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb848f0012cbcf54007701e68006200ad2f..."} 
[2026-09-07 17:25:25] local.INFO: Packet analysis {"connection_id":173644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:25:25] local.INFO: Extracted packet for processing {"connection_id":173644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:25:25] local.INFO: GPS Element Parsed {"raw_longitude":750581056,"raw_latitude":124788328,"longitude_deg":75.0581056,"latitude_deg":12.4788328,"altitude":98,"angle":173,"satellites":47,"speed":43,"hex_longitude":"2cbcf540","hex_latitude":"07701e68","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928207360001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401768691319963648,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831869787010961408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788782070000,"timestamp_ms":1788782070000,"timestamp_seconds":1788782070,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb848f0"} 
[2026-09-07 17: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-07 17:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:25:25] 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-07 17:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928207360001,"66":27865,"63":206,"85":37888,"24":43,"16":401768691319963648,"44":-4831869787010961408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-07 17:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928207360001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 17:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401768691319963648,"km_value":401768691319963.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831869787010961408,"description":"Unknown IO ID 44"} 
[2026-09-07 17:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928207360001,"power":27865,"unknown_63":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4831869787010961408}} 
[2026-09-07 17:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":173644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:25] local.INFO: GPS data processed {"connection_id":173644,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:25] local.INFO: Acknowledgment sent {"connection_id":173644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:27] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: IMEI packet received {"connection_id":176391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":176391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:27] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:27] local.INFO: IMEI packet received {"connection_id":176391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":176391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:32] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:32] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:25:32] local.INFO: IMEI packet received {"connection_id":176391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":176391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:33] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6aae0012d7d4dc005cc8798000b012528..."} 
[2026-09-07 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6aae0012d7d4dc005cc8798000b012528..."} 
[2026-09-07 17:25:33] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6aae0012d7d4dc005cc8798000b012528..."} 
[2026-09-07 17:25:33] local.INFO: Packet analysis {"connection_id":176391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:33] local.INFO: Extracted packet for processing {"connection_id":176391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763186624,"raw_latitude":97290136,"longitude_deg":76.3186624,"latitude_deg":9.7290136,"altitude":11,"angle":293,"satellites":40,"speed":7,"hex_longitude":"2d7d4dc0","hex_latitude":"05cc8798","is_valid_coordinates":true} 
[2026-09-07 17:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928182016001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520631506010112,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540295692288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788781964000,"timestamp_ms":1788781964000,"timestamp_seconds":1788781964,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6aae0"} 
[2026-09-07 17:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:33] 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-07 17:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928182016001,"66":13624,"129":206,"85":15104,"24":7,"16":129520631506010112,"45":9029576540295692288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928182016001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520631506010112,"km_value":129520631506010.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540295692288,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928182016001,"power":13624,"unknown_129":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9029576540295692288}} 
[2026-09-07 17:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":176391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:33] local.INFO: GPS data processed {"connection_id":176391,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:33] local.INFO: Acknowledgment sent {"connection_id":176391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:40] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:40] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:40] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:44] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:44] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:44] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:45] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:45] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:25:45] local.INFO: IMEI packet received {"connection_id":174968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":174968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:45] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:45] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:45] local.INFO: IMEI packet received {"connection_id":174969,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":174969,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:46] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:46] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:25:46] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:25:46] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 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-07 17:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 17:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:46] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:46] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:46] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:46] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:46] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:50] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:50] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:25:50] local.INFO: IMEI packet received {"connection_id":173645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:51] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb86830012cbcfa80076ffaa0006000ab2f..."} 
[2026-09-07 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb86830012cbcfa80076ffaa0006000ab2f..."} 
[2026-09-07 17:25:51] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb86830012cbcfa80076ffaa0006000ab2f..."} 
[2026-09-07 17:25:51] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:25:51] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:25:51] local.INFO: GPS Element Parsed {"raw_longitude":750582400,"raw_latitude":124779168,"longitude_deg":75.05824,"latitude_deg":12.4779168,"altitude":96,"angle":171,"satellites":47,"speed":48,"hex_longitude":"2cbcfa80","hex_latitude":"076ffaa0","is_valid_coordinates":true} 
[2026-09-07 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928209920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401769137996562432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830884624594999296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788782078000,"timestamp_ms":1788782078000,"timestamp_seconds":1788782078,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb86830"} 
[2026-09-07 17:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:25: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-07 17:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:25:51] 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-07 17:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928209920001,"66":27843,"63":206,"85":37888,"24":48,"16":401769137996562432,"44":-4830884624594999296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-07 17:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928209920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:51] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 17:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401769137996562432,"km_value":401769137996562.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830884624594999296,"description":"Unknown IO ID 44"} 
[2026-09-07 17:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928209920001,"power":27843,"unknown_63":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4830884624594999296}} 
[2026-09-07 17:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:51] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:51] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:25:51] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:51] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:25:51] local.INFO: IMEI packet received {"connection_id":174969,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":174969,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:25:52] local.INFO: TCP Data received {"connection_id":174970,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:52] local.INFO: Processing buffer {"connection_id":174970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:25:52] local.INFO: IMEI packet received {"connection_id":174970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":174970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:25:52] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6ce08012d05c0c0070252600018004522..."} 
[2026-09-07 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6ce08012d05c0c0070252600018004522..."} 
[2026-09-07 17:25:52] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6ce08012d05c0c0070252600018004522..."} 
[2026-09-07 17:25:52] local.INFO: Packet analysis {"connection_id":174969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:52] local.INFO: Extracted packet for processing {"connection_id":174969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:25:52] local.INFO: GPS Element Parsed {"raw_longitude":755351744,"raw_latitude":117592672,"longitude_deg":75.5351744,"latitude_deg":11.7592672,"altitude":24,"angle":69,"satellites":34,"speed":7,"hex_longitude":"2d05c0c0","hex_latitude":"07025260","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928184320001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618937817300992,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":413979352100904960,"note":"Value kept but may cause issues"} 
[2026-09-07 17:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788781973000,"timestamp_ms":1788781973000,"timestamp_seconds":1788781973,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6ce08"} 
[2026-09-07 17: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-07 17:25: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-07 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928184320001,"66":14407,"60":206,"94":11008,"24":7,"16":30618937817300992,"45":413979352100904960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928184320001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:25:52] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:25:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618937817300992,"km_value":30618937817300.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":413979352100904960,"description":"Unknown IO ID 45"} 
[2026-09-07 17:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928184320001,"power":14407,"unknown_60":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":413979352100904960}} 
[2026-09-07 17:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":174969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:25:52] local.INFO: GPS data processed {"connection_id":174969,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:25:52] local.INFO: Acknowledgment sent {"connection_id":174969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:05] local.INFO: TCP Data received {"connection_id":176391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98d28012d7d500005cc8680000d004428..."} 
[2026-09-07 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98d28012d7d500005cc8680000d004428..."} 
[2026-09-07 17:26:05] local.INFO: Processing buffer {"connection_id":176391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98d28012d7d500005cc8680000d004428..."} 
[2026-09-07 17:26:05] local.INFO: Packet analysis {"connection_id":176391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:05] local.INFO: Extracted packet for processing {"connection_id":176391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763187200,"raw_latitude":97289856,"longitude_deg":76.31872,"latitude_deg":9.7289856,"altitude":13,"angle":68,"satellites":40,"speed":1,"hex_longitude":"2d7d5000","hex_latitude":"05cc8680","is_valid_coordinates":true} 
[2026-09-07 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928229632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520820484571136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029435802807320576,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788782153000,"timestamp_ms":1788782153000,"timestamp_seconds":1788782153,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98d28"} 
[2026-09-07 17:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3096651777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-8617637831120378112,"corrected_to":0} 
[2026-09-07 17:26:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2894135502,"corrected_to":0} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911084,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3431491584,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57892040289965371,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-7129196915240452091,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:05] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,129,85,24,241,157,16,38,160,78,45,192,134,41,10,66,31,128,135,17,40,229,64,1,240,82,227,123,204,4,113,205,65,72,104,36,239,53,2,5,13,12,183],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":204,"original":-8617637831120378112,"validated":0},{"io_id":205,"original":2894135502,"validated":0}]} 
[2026-09-07 17:26:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008898851601514496,"timestamp_seconds":1008898851601514.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928229632001,"66":13656,"129":206,"85":15104,"24":1,"16":129520820484571136,"45":9029435802807320576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928229632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:05] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520820484571136,"km_value":129520820484571.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029435802807320576,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928229632001,"power":13656,"unknown_129":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9029435802807320576}} 
[2026-09-07 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":176391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:05] local.INFO: GPS data processed {"connection_id":176391,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:05] local.INFO: Acknowledgment sent {"connection_id":176391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:17] local.INFO: TCP Data received {"connection_id":174968,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:26:17] local.INFO: Processing buffer {"connection_id":174968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb4f178012d196500071ff0200040011f20..."} 
[2026-09-07 17:26:17] local.INFO: Packet analysis {"connection_id":174968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:26:17] local.INFO: Extracted packet for processing {"connection_id":174968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb4"} 
[2026-09-07 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928076800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788781851000,"timestamp_ms":1788781851000,"timestamp_seconds":1788781851,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb4f178"} 
[2026-09-07 17:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928076800001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 17:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928076800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928076800001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":174968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:17] local.INFO: GPS data processed {"connection_id":174968,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:17] local.INFO: Acknowledgment sent {"connection_id":174968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:22] local.INFO: TCP Data received {"connection_id":173645,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb88770012cbd0040076fd420005e00ac2f..."} 
[2026-09-07 17:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb88770012cbd0040076fd420005e00ac2f..."} 
[2026-09-07 17:26:22] local.INFO: Processing buffer {"connection_id":173645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb88770012cbd0040076fd420005e00ac2f..."} 
[2026-09-07 17:26:22] local.INFO: Packet analysis {"connection_id":173645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:26:22] local.INFO: Extracted packet for processing {"connection_id":173645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb8"} 
[2026-09-07 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":750583872,"raw_latitude":124769312,"longitude_deg":75.0583872,"latitude_deg":12.4769312,"altitude":94,"angle":172,"satellites":47,"speed":50,"hex_longitude":"2cbd0040","hex_latitude":"076fd420","is_valid_coordinates":true} 
[2026-09-07 17:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928211968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401769623327866880,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829406880969613312,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788782086000,"timestamp_ms":1788782086000,"timestamp_seconds":1788782086,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb88770"} 
[2026-09-07 17:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:22] 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-07 17:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:26:22] 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-07 17:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928211968001,"66":27767,"63":206,"85":37888,"24":50,"16":401769623327866880,"44":-4829406880969613312},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-09-07 17:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928211968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-09-07 17:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401769623327866880,"km_value":401769623327866.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829406880969613312,"description":"Unknown IO ID 44"} 
[2026-09-07 17:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928211968001,"power":27767,"unknown_63":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4829406880969613312}} 
[2026-09-07 17:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":173645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:22] local.INFO: GPS data processed {"connection_id":173645,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:22] local.INFO: Acknowledgment sent {"connection_id":173645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:24] local.INFO: TCP Data received {"connection_id":174969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:24] local.INFO: Processing buffer {"connection_id":174969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:24] local.INFO: Packet analysis {"connection_id":174969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:26:24] local.INFO: Extracted packet for processing {"connection_id":174969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:26:24] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592968,"longitude_deg":75.5352384,"latitude_deg":11.7592968,"altitude":24,"angle":61,"satellites":35,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025388","is_valid_coordinates":true} 
[2026-09-07 17:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928185088001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414542302054342656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788781979000,"timestamp_ms":1788781979000,"timestamp_seconds":1788781979,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6e578"} 
[2026-09-07 17: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-07 17:26: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-07 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174969,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928185088001,"66":14537,"60":206,"94":11008,"24":0,"16":30618976472006656,"45":414542302054342656},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928185088001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:24] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:26:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":414542302054342656,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928185088001,"power":14537,"unknown_60":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":414542302054342656}} 
[2026-09-07 17:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":174969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:24] local.INFO: GPS data processed {"connection_id":174969,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:24] local.INFO: Acknowledgment sent {"connection_id":174969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:27] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:27] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:27] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:26:31] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:31] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:26:31] local.INFO: IMEI packet received {"connection_id":176392,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":176392,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:26:31] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb9a0b0012d7d504005cc8608000c00bd29..."} 
[2026-09-07 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb9a0b0012d7d504005cc8608000c00bd29..."} 
[2026-09-07 17:26:31] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb9a0b0012d7d504005cc8608000c00bd29..."} 
[2026-09-07 17:26:31] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:31] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97289736,"longitude_deg":76.3187264,"latitude_deg":9.7289736,"altitude":12,"angle":189,"satellites":41,"speed":4,"hex_longitude":"2d7d5040","hex_latitude":"05cc8608","is_valid_coordinates":true} 
[2026-09-07 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928231168001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520829074505728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029717277784047616,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788782158000,"timestamp_ms":1788782158000,"timestamp_seconds":1788782158,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb9a0b0"} 
[2026-09-07 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928231168001,"66":13678,"129":206,"85":15104,"24":4,"16":129520829074505728,"45":9029717277784047616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928231168001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520829074505728,"km_value":129520829074505.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029717277784047616,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928231168001,"power":13678,"unknown_129":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9029717277784047616}} 
[2026-09-07 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:31] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:31] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:40] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:40] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:40] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:26:45] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:45] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:45] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:26:46] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:46] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:26:46] local.INFO: IMEI packet received {"connection_id":176393,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":176393,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:26:46] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:46] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:26:46] local.INFO: Packet analysis {"connection_id":176393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:26:46] local.INFO: Extracted packet for processing {"connection_id":176393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:26:46] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592968,"longitude_deg":75.5352384,"latitude_deg":11.7592968,"altitude":24,"angle":61,"satellites":35,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025388","is_valid_coordinates":true} 
[2026-09-07 17:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788781979000,"timestamp_ms":1788781979000,"timestamp_seconds":1788781979,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6e578"} 
[2026-09-07 17: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-07 17:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":14537,"60":206,"94":11008,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:26:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":14537,"unknown_60":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":176393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:46] local.INFO: GPS data processed {"connection_id":176393,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:46] local.INFO: Acknowledgment sent {"connection_id":176393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:47] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:47] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:47] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:26:49] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:49] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:49] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:26:50] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:50] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:26:50] local.INFO: IMEI packet received {"connection_id":174971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":174971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:26:51] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:51] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:51] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:51] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26: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-07 17:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 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-07 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:51] 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-07 17:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:26:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:51] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:51] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:53] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:53] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:26:53] local.INFO: IMEI packet received {"connection_id":174973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":174973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:26:54] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb975b8012cbcec00076ebe00005000b42e..."} 
[2026-09-07 17:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb975b8012cbcec00076ebe00005000b42e..."} 
[2026-09-07 17:26:54] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb975b8012cbcec00076ebe00005000b42e..."} 
[2026-09-07 17:26:54] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:54] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:54] local.INFO: GPS Element Parsed {"raw_longitude":750578688,"raw_latitude":124698112,"longitude_deg":75.0578688,"latitude_deg":12.4698112,"altitude":80,"angle":180,"satellites":46,"speed":54,"hex_longitude":"2cbcec00","hex_latitude":"076ebe00","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928227840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401773355654447104,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4832503105731815424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788782147000,"timestamp_ms":1788782147000,"timestamp_seconds":1788782147,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb975b8"} 
[2026-09-07 17: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-07 17:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:26:54] 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-07 17:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928227840001,"66":27767,"105":206,"85":37888,"24":54,"16":401773355654447104,"44":-4832503105731815424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 17:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928227840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 17:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401773355654447104,"km_value":401773355654447.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4832503105731815424,"description":"Unknown IO ID 44"} 
[2026-09-07 17:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928227840001,"power":27767,"unknown_105":206,"unknown_85":37888,"ignition":54,"odometer":null,"unknown_44":-4832503105731815424}} 
[2026-09-07 17:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:54] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:54] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:26:55] local.INFO: TCP Data received {"connection_id":174971,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:55] local.INFO: Processing buffer {"connection_id":174971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:26:55] local.INFO: Packet analysis {"connection_id":174971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:55] local.INFO: Extracted packet for processing {"connection_id":174971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17: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-07 17: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-07 17: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-07 17:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:26:55] 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-07 17:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":174971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:26:55] local.INFO: GPS data processed {"connection_id":174971,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:26:55] local.INFO: Acknowledgment sent {"connection_id":174971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:02] local.INFO: TCP Data received {"connection_id":176392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb9ac68012d7d504005cc8400000c00b028..."} 
[2026-09-07 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb9ac68012d7d504005cc8400000c00b028..."} 
[2026-09-07 17:27:02] local.INFO: Processing buffer {"connection_id":176392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb9ac68012d7d504005cc8400000c00b028..."} 
[2026-09-07 17:27:02] local.INFO: Packet analysis {"connection_id":176392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:02] local.INFO: Extracted packet for processing {"connection_id":176392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97289216,"longitude_deg":76.3187264,"latitude_deg":9.7289216,"altitude":12,"angle":176,"satellites":40,"speed":13,"hex_longitude":"2d7d5040","hex_latitude":"05cc8400","is_valid_coordinates":true} 
[2026-09-07 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928232448001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129520854844309504,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646528194560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788782161000,"timestamp_ms":1788782161000,"timestamp_seconds":1788782161,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb9ac68"} 
[2026-09-07 17:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176392,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928232448001,"66":13820,"129":206,"85":15104,"24":13,"16":129520854844309504,"45":9029787646528194560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928232448001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129520854844309504,"km_value":129520854844309.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646528194560,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928232448001,"power":13820,"unknown_129":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9029787646528194560}} 
[2026-09-07 17:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":176392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:02] local.INFO: GPS data processed {"connection_id":176392,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:02] local.INFO: Acknowledgment sent {"connection_id":176392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:18] local.INFO: TCP Data received {"connection_id":176393,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:18] local.INFO: Processing buffer {"connection_id":176393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:18] local.INFO: Packet analysis {"connection_id":176393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:18] local.INFO: Extracted packet for processing {"connection_id":176393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:18] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592968,"longitude_deg":75.5352384,"latitude_deg":11.7592968,"altitude":24,"angle":61,"satellites":35,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025388","is_valid_coordinates":true} 
[2026-09-07 17:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788781979000,"timestamp_ms":1788781979000,"timestamp_seconds":1788781979,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6e578"} 
[2026-09-07 17:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176393,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":14537,"60":206,"94":11008,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:18] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:27:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":14537,"unknown_60":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":176393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780099,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:18] local.INFO: GPS data processed {"connection_id":176393,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:18] local.INFO: Acknowledgment sent {"connection_id":176393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:25] local.INFO: TCP Data received {"connection_id":174973,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:25] local.INFO: Processing buffer {"connection_id":174973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:25] local.INFO: Packet analysis {"connection_id":174973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:25] local.INFO: Extracted packet for processing {"connection_id":174973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":750579456,"raw_latitude":124688776,"longitude_deg":75.0579456,"latitude_deg":12.4688776,"altitude":78,"angle":169,"satellites":47,"speed":52,"hex_longitude":"2cbcef00","hex_latitude":"076e9988","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928229632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401773810920980480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268152668160,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788782154000,"timestamp_ms":1788782154000,"timestamp_seconds":1788782154,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb99110"} 
[2026-09-07 17: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-07 17:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:27:25] 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-07 17:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928229632001,"66":27919,"105":206,"85":37888,"24":52,"16":401773810920980480,"44":-4833488268152668160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 17:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928229632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 17:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401773810920980480,"km_value":401773810920980.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268152668160,"description":"Unknown IO ID 44"} 
[2026-09-07 17:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928229632001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-4833488268152668160}} 
[2026-09-07 17:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":174973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:25] local.INFO: GPS data processed {"connection_id":174973,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:25] local.INFO: Acknowledgment sent {"connection_id":174973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:29] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:27:29] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:29] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:34] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:34] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:27:34] local.INFO: IMEI packet received {"connection_id":173886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":173886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:35] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb9df30012d7d4ec005cc6140000c00bb29..."} 
[2026-09-07 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb9df30012d7d4ec005cc6140000c00bb29..."} 
[2026-09-07 17:27:35] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb9df30012d7d4ec005cc6140000c00bb29..."} 
[2026-09-07 17:27:35] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:35] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763186880,"raw_latitude":97280320,"longitude_deg":76.318688,"latitude_deg":9.728032,"altitude":12,"angle":187,"satellites":41,"speed":27,"hex_longitude":"2d7d4ec0","hex_latitude":"05cc6140","is_valid_coordinates":true} 
[2026-09-07 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928233216001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129521288636006400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646528061440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788782174000,"timestamp_ms":1788782174000,"timestamp_seconds":1788782174,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb9df30"} 
[2026-09-07 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928233216001,"66":13580,"129":206,"85":15104,"24":27,"16":129521288636006400,"45":9029787646528061440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-09-07 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928233216001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-09-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129521288636006400,"km_value":129521288636006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646528061440,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928233216001,"power":13580,"unknown_129":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9029787646528061440}} 
[2026-09-07 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:35] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:35] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:40] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:40] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:40] local.INFO: IMEI packet received {"connection_id":174974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":174974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:27:41] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:41] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:41] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:27:44] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:44] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:44] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:45] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:45] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:27:45] local.INFO: IMEI packet received {"connection_id":174974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":174974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:46] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:46] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:46] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:27:46] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:27:46] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:27:46] local.INFO: Packet analysis {"connection_id":174974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:46] local.INFO: Extracted packet for processing {"connection_id":174974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:27:46] 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-07 17:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":174974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:46] local.INFO: GPS data processed {"connection_id":174974,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:46] local.INFO: Acknowledgment sent {"connection_id":174974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:49] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:49] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:27:49] local.INFO: IMEI packet received {"connection_id":173647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:50] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:50] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb99110012cbcef00076e9988004e00a92f..."} 
[2026-09-07 17:27:50] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:50] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:27:50] local.INFO: GPS Element Parsed {"raw_longitude":750579456,"raw_latitude":124688776,"longitude_deg":75.0579456,"latitude_deg":12.4688776,"altitude":78,"angle":169,"satellites":47,"speed":52,"hex_longitude":"2cbcef00","hex_latitude":"076e9988","is_valid_coordinates":true} 
[2026-09-07 17:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928231424001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401773810920980480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4832643843224926208,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788782154000,"timestamp_ms":1788782154000,"timestamp_seconds":1788782154,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb99110"} 
[2026-09-07 17:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:27: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-07 17:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928231424001,"66":27919,"105":206,"85":37888,"24":52,"16":401773810920980480,"44":-4832643843224926208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-09-07 17:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928231424001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 17:27:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401773810920980480,"km_value":401773810920980.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4832643843224926208,"description":"Unknown IO ID 44"} 
[2026-09-07 17:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928231424001,"power":27919,"unknown_105":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-4832643843224926208}} 
[2026-09-07 17:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:50] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:50] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:51] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:51] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:27:51] local.INFO: IMEI packet received {"connection_id":173648,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":173648,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:27:52] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:52] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:52] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:52] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592968,"longitude_deg":75.5352384,"latitude_deg":11.7592968,"altitude":24,"angle":61,"satellites":35,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025388","is_valid_coordinates":true} 
[2026-09-07 17:27:52] 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-07 17:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788781979000,"timestamp_ms":1788781979000,"timestamp_seconds":1788781979,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6e578"} 
[2026-09-07 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-07 17:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":14537,"60":206,"94":11008,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:52] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:27:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":14537,"unknown_60":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:52] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:52] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:27:56] local.INFO: TCP Data received {"connection_id":173648,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:56] local.INFO: Processing buffer {"connection_id":173648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb6e578012d05c340070253880018003d23..."} 
[2026-09-07 17:27:56] local.INFO: Packet analysis {"connection_id":173648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:56] local.INFO: Extracted packet for processing {"connection_id":173648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb6"} 
[2026-09-07 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592968,"longitude_deg":75.5352384,"latitude_deg":11.7592968,"altitude":24,"angle":61,"satellites":35,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025388","is_valid_coordinates":true} 
[2026-09-07 17:27:56] 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-07 17:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788781979000,"timestamp_ms":1788781979000,"timestamp_seconds":1788781979,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb6e578"} 
[2026-09-07 17:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:27: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":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:27: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-07 17:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173648,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":14537,"60":206,"94":11008,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:27:56] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:27:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":14537,"unknown_60":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":173648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780105,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:27:56] local.INFO: GPS data processed {"connection_id":173648,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:27:56] local.INFO: Acknowledgment sent {"connection_id":173648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:06] local.INFO: TCP Data received {"connection_id":173886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb3ec0012d7d2fc005cb5658000a00b729..."} 
[2026-09-07 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb3ec0012d7d2fc005cb5658000a00b729..."} 
[2026-09-07 17:28:06] local.INFO: Processing buffer {"connection_id":173886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb3ec0012d7d2fc005cb5658000a00b729..."} 
[2026-09-07 17:28:06] local.INFO: Packet analysis {"connection_id":173886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:06] local.INFO: Extracted packet for processing {"connection_id":173886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:06] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97211992,"longitude_deg":76.3178944,"latitude_deg":9.7211992,"altitude":10,"angle":183,"satellites":41,"speed":33,"hex_longitude":"2d7d2fc0","hex_latitude":"05cb5658","is_valid_coordinates":true} 
[2026-09-07 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928257280001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129524634415529984,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028465086464,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788782264000,"timestamp_ms":1788782264000,"timestamp_seconds":1788782264,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb3ec0"} 
[2026-09-07 17:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:28:06] 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-07 17:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928257280001,"66":12993,"130":206,"85":15104,"24":33,"16":129524634415529984,"45":9021273028465086464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 17:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928257280001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:06] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 17:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129524634415529984,"km_value":129524634415529.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028465086464,"description":"Unknown IO ID 45"} 
[2026-09-07 17:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928257280001,"power":12993,"unknown_130":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9021273028465086464}} 
[2026-09-07 17:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":173886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:06] local.INFO: GPS data processed {"connection_id":173886,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:06] local.INFO: Acknowledgment sent {"connection_id":173886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:17] local.INFO: TCP Data received {"connection_id":174974,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:17] local.INFO: Processing buffer {"connection_id":174974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:17] local.INFO: Packet analysis {"connection_id":174974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:28:17] local.INFO: Extracted packet for processing {"connection_id":174974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:28:17] 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-07 17:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":174974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:17] local.INFO: GPS data processed {"connection_id":174974,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:17] local.INFO: Acknowledgment sent {"connection_id":174974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:21] local.INFO: TCP Data received {"connection_id":173647,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbaf870012cbd1700076ce3b8003f00a72f..."} 
[2026-09-07 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbaf870012cbd1700076ce3b8003f00a72f..."} 
[2026-09-07 17:28:21] local.INFO: Processing buffer {"connection_id":173647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbaf870012cbd1700076ce3b8003f00a72f..."} 
[2026-09-07 17:28:21] local.INFO: Packet analysis {"connection_id":173647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bba"} 
[2026-09-07 17:28:21] local.INFO: Extracted packet for processing {"connection_id":173647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bba"} 
[2026-09-07 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":750589696,"raw_latitude":124576696,"longitude_deg":75.0589696,"latitude_deg":12.4576696,"altitude":63,"angle":167,"satellites":47,"speed":49,"hex_longitude":"2cbd1700","hex_latitude":"076ce3b8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928253184001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401779325658988544,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823566275252482048,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788782246000,"timestamp_ms":1788782246000,"timestamp_seconds":1788782246,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbaf870"} 
[2026-09-07 17: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-07 17:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:28:21] 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-07 17:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928253184001,"66":27821,"3":206,"85":37888,"24":49,"16":401779325658988544,"44":-4823566275252482048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 17:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928253184001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:21] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 17:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401779325658988544,"km_value":401779325658988.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823566275252482048,"description":"Unknown IO ID 44"} 
[2026-09-07 17:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928253184001,"power":27821,"unknown_3":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4823566275252482048}} 
[2026-09-07 17:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":173647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:21] local.INFO: GPS data processed {"connection_id":173647,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:21] local.INFO: Acknowledgment sent {"connection_id":173647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:27] local.INFO: TCP Data received {"connection_id":173887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:27] local.INFO: Processing buffer {"connection_id":173887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:27] local.INFO: IMEI packet received {"connection_id":173887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":173887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:28:32] local.INFO: TCP Data received {"connection_id":173887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:32] local.INFO: Processing buffer {"connection_id":173887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:28:32] local.INFO: IMEI packet received {"connection_id":173887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":173887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:28:33] local.INFO: TCP Data received {"connection_id":173887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb5e00012d7d2dc005cb4208000a00c429..."} 
[2026-09-07 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb5e00012d7d2dc005cb4208000a00c429..."} 
[2026-09-07 17:28:33] local.INFO: Processing buffer {"connection_id":173887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb5e00012d7d2dc005cb4208000a00c429..."} 
[2026-09-07 17:28:33] local.INFO: Packet analysis {"connection_id":173887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:33] local.INFO: Extracted packet for processing {"connection_id":173887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97206792,"longitude_deg":76.3178432,"latitude_deg":9.7206792,"altitude":10,"angle":196,"satellites":41,"speed":25,"hex_longitude":"2d7d2dc0","hex_latitude":"05cb4208","is_valid_coordinates":true} 
[2026-09-07 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928259584001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129524887818600448,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709765195776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788782272000,"timestamp_ms":1788782272000,"timestamp_seconds":1788782272,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb5e00"} 
[2026-09-07 17:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928259584001,"66":13559,"130":206,"85":15104,"24":25,"16":129524887818600448,"45":9020639709765195776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 17:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928259584001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:33] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 17:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129524887818600448,"km_value":129524887818600.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709765195776,"description":"Unknown IO ID 45"} 
[2026-09-07 17:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928259584001,"power":13559,"unknown_130":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9020639709765195776}} 
[2026-09-07 17:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":173887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:33] local.INFO: GPS data processed {"connection_id":173887,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:33] local.INFO: Acknowledgment sent {"connection_id":173887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:40] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:40] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:40] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:28:41] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:41] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:41] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:28:42] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:42] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:42] local.INFO: IMEI packet received {"connection_id":173650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":173650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:28:44] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:44] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:44] local.INFO: IMEI packet received {"connection_id":173650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:28:45] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:45] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:28:45] local.INFO: IMEI packet received {"connection_id":173649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":173649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:28:46] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:46] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:28:46] local.INFO: IMEI packet received {"connection_id":174976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":174976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:28:46] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:46] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:28:46] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:28:46] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:46] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:46] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:46] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:28:46] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:28:46] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:46] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17: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-07 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780111,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:47] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:47] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:28:49] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:49] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:28:49] local.INFO: IMEI packet received {"connection_id":173650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:28:50] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb17b0012cbd1e40076cbdf8003e00aa2f..."} 
[2026-09-07 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb17b0012cbd1e40076cbdf8003e00aa2f..."} 
[2026-09-07 17:28:50] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb17b0012cbd1e40076cbdf8003e00aa2f..."} 
[2026-09-07 17:28:50] local.INFO: Packet analysis {"connection_id":173650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:50] local.INFO: Extracted packet for processing {"connection_id":173650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:28:50] local.INFO: GPS Element Parsed {"raw_longitude":750591552,"raw_latitude":124567032,"longitude_deg":75.0591552,"latitude_deg":12.4567032,"altitude":62,"angle":170,"satellites":47,"speed":49,"hex_longitude":"2cbd1e40","hex_latitude":"076cbdf8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928254976001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401779802400358400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821384844185192448,"note":"Value kept but may cause issues"} 
[2026-09-07 17:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788782254000,"timestamp_ms":1788782254000,"timestamp_seconds":1788782254,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb17b0"} 
[2026-09-07 17: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-07 17:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 17:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:28: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-07 17:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928254976001,"66":27745,"3":206,"85":37888,"24":49,"16":401779802400358400,"44":-4821384844185192448},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 17:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928254976001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:28:50] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 17:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401779802400358400,"km_value":401779802400358.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821384844185192448,"description":"Unknown IO ID 44"} 
[2026-09-07 17:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928254976001,"power":27745,"unknown_3":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4821384844185192448}} 
[2026-09-07 17:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:28:50] local.INFO: GPS data processed {"connection_id":173650,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:28:50] local.INFO: Acknowledgment sent {"connection_id":173650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:04] local.INFO: TCP Data received {"connection_id":173887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb7958012d7d290005cb30c0000b00b929..."} 
[2026-09-07 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb7958012d7d290005cb30c0000b00b929..."} 
[2026-09-07 17:29:04] local.INFO: Processing buffer {"connection_id":173887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb7958012d7d290005cb30c0000b00b929..."} 
[2026-09-07 17:29:04] local.INFO: Packet analysis {"connection_id":173887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:04] local.INFO: Extracted packet for processing {"connection_id":173887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97202368,"longitude_deg":76.3177216,"latitude_deg":9.7202368,"altitude":11,"angle":185,"satellites":41,"speed":25,"hex_longitude":"2d7d2900","hex_latitude":"05cb30c0","is_valid_coordinates":true} 
[2026-09-07 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928261632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129525111156899840,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759810443264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788782279000,"timestamp_ms":1788782279000,"timestamp_seconds":1788782279,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb7958"} 
[2026-09-07 17:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:04] 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-07 17:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928261632001,"66":13559,"131":206,"85":15104,"24":25,"16":129525111156899840,"45":9020076759810443264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 17:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928261632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 17:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129525111156899840,"km_value":129525111156899.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759810443264,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928261632001,"power":13559,"unknown_131":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9020076759810443264}} 
[2026-09-07 17:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":173887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:04] local.INFO: GPS data processed {"connection_id":173887,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:04] local.INFO: Acknowledgment sent {"connection_id":173887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:17] local.INFO: TCP Data received {"connection_id":173649,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:17] local.INFO: Processing buffer {"connection_id":173649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:17] local.INFO: Packet analysis {"connection_id":173649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:29:17] local.INFO: Extracted packet for processing {"connection_id":173649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 17:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":173649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:17] local.INFO: GPS data processed {"connection_id":173649,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:17] local.INFO: Acknowledgment sent {"connection_id":173649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:18] local.INFO: TCP Data received {"connection_id":174976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:18] local.INFO: Processing buffer {"connection_id":174976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:18] local.INFO: Packet analysis {"connection_id":174976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:18] local.INFO: Extracted packet for processing {"connection_id":174976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:18] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174976,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:29:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":174976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780115,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:18] local.INFO: GPS data processed {"connection_id":174976,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:18] local.INFO: Acknowledgment sent {"connection_id":174976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:22] local.INFO: TCP Data received {"connection_id":173650,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb36f0012cbd2500076c97b8003c00aa2e..."} 
[2026-09-07 17:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb36f0012cbd2500076c97b8003c00aa2e..."} 
[2026-09-07 17:29:22] local.INFO: Processing buffer {"connection_id":173650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb36f0012cbd2500076c97b8003c00aa2e..."} 
[2026-09-07 17:29:22] local.INFO: Packet analysis {"connection_id":173650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:22] local.INFO: Extracted packet for processing {"connection_id":173650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:22] local.INFO: GPS Element Parsed {"raw_longitude":750593280,"raw_latitude":124557240,"longitude_deg":75.059328,"latitude_deg":12.455724,"altitude":60,"angle":170,"satellites":46,"speed":49,"hex_longitude":"2cbd2500","hex_latitude":"076c97b8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928257024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401780287731662848,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819344150606514176,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788782262000,"timestamp_ms":1788782262000,"timestamp_seconds":1788782262,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb36f0"} 
[2026-09-07 17: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-07 17:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:22] 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-07 17: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-07 17: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-07 17:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:29:22] 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-07 17:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928257024001,"66":27919,"3":206,"85":37888,"24":49,"16":401780287731662848,"44":-4819344150606514176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-09-07 17:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928257024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:22] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-09-07 17:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401780287731662848,"km_value":401780287731662.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819344150606514176,"description":"Unknown IO ID 44"} 
[2026-09-07 17:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928257024001,"power":27919,"unknown_3":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4819344150606514176}} 
[2026-09-07 17:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":173650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:22] local.INFO: GPS data processed {"connection_id":173650,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:22] local.INFO: Acknowledgment sent {"connection_id":173650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:27] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:27] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:27] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:29:34] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:34] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:34] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:29:37] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:37] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:29:37] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:29:39] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbbc778012d7d270005cb11c0000c00ba29..."} 
[2026-09-07 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbbc778012d7d270005cb11c0000c00ba29..."} 
[2026-09-07 17:29:39] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbbc778012d7d270005cb11c0000c00ba29..."} 
[2026-09-07 17:29:39] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:39] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97194432,"longitude_deg":76.3176704,"latitude_deg":9.7194432,"altitude":12,"angle":186,"satellites":41,"speed":3,"hex_longitude":"2d7d2700","hex_latitude":"05cb11c0","is_valid_coordinates":true} 
[2026-09-07 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928263424001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129525497703956480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753669935104,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788782299000,"timestamp_ms":1788782299000,"timestamp_seconds":1788782299,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbbc778"} 
[2026-09-07 17:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:39] 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-07 17:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928263424001,"66":13559,"131":206,"85":15104,"24":3,"16":129525497703956480,"45":9018739753669935104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928263424001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129525497703956480,"km_value":129525497703956.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753669935104,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928263424001,"power":13559,"unknown_131":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9018739753669935104}} 
[2026-09-07 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:39] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:39] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:39] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbc0210012d7d250005caef20000c00b529..."} 
[2026-09-07 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbc0210012d7d250005caef20000c00b529..."} 
[2026-09-07 17:29:39] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbc0210012d7d250005caef20000c00b529..."} 
[2026-09-07 17:29:39] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:29:39] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97185568,"longitude_deg":76.3176192,"latitude_deg":9.7185568,"altitude":12,"angle":181,"satellites":41,"speed":20,"hex_longitude":"2d7d2500","hex_latitude":"05caef20","is_valid_coordinates":true} 
[2026-09-07 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928268544001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129525931495653376,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803714482176,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788782314000,"timestamp_ms":1788782314000,"timestamp_seconds":1788782314,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbc0210"} 
[2026-09-07 17:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:39] 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-07 17:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928268544001,"66":13406,"131":206,"85":15104,"24":20,"16":129525931495653376,"45":9018176803714482176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 17:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928268544001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129525931495653376,"km_value":129525931495653.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803714482176,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928268544001,"power":13406,"unknown_131":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9018176803714482176}} 
[2026-09-07 17:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:39] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:39] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:40] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:40] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:40] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:29:41] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:41] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:41] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:29:44] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:44] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:44] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:29:45] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:45] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:29:45] local.INFO: IMEI packet received {"connection_id":173652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":173652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:29:46] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:46] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:29:46] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:29:46] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:46] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:29:46] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:29:46] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 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-07 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:29:46] 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-07 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:46] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:46] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:47] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:47] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:29:47] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:47] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17: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-07 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:29:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:29:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:29:47] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:29:47] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:29:49] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:49] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:29:49] local.INFO: IMEI packet received {"connection_id":176394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:29:50] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.46","data_length":93,"data_hex":"00000000000000518e01000001a07bbb5248012cbd2b00076c7530003a00a92e..."} 
[2026-09-07 17:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":93,"packet_hex":"00000000000000518e01000001a07bbb5248012cbd2b00076c7530003a00a92e..."} 
[2026-09-07 17:29:50] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a07bbb5248012cbd2b00076c7530003a00a92e..."} 
[2026-09-07 17:29:50] local.INFO: Packet analysis {"connection_id":176394,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a07bbb"} 
[2026-09-07 17:29:50] local.INFO: Extracted packet for processing {"connection_id":176394,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a07bbb"} 
[2026-09-07 17:29:50] local.INFO: GPS Element Parsed {"raw_longitude":750594816,"raw_latitude":124548400,"longitude_deg":75.0594816,"latitude_deg":12.45484,"altitude":58,"angle":169,"satellites":46,"speed":51,"hex_longitude":"2cbd2b00","hex_latitude":"076c7530","is_valid_coordinates":true} 
[2026-09-07 17: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":93,"current_offset":40} 
[2026-09-07 17:29:50] 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-07 17:29:50] 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-07 17:29:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:29:50] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 17:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176394,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-07 17:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-07 17:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-09-07 17:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 17:29:50] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 17:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":176394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 17:29:50] local.ERROR: GPS data processing failed {"connection_id":176394,"error":"No valid data to process"} 
[2026-09-07 17:29:50] local.INFO: Acknowledgment sent {"connection_id":176394,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 17:30:11] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbc4090012d7d224005caca68000c00b629..."} 
[2026-09-07 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbc4090012d7d224005caca68000c00b629..."} 
[2026-09-07 17:30:11] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbc4090012d7d224005caca68000c00b629..."} 
[2026-09-07 17:30:11] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:11] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763175488,"raw_latitude":97176168,"longitude_deg":76.3175488,"latitude_deg":9.7176168,"altitude":12,"angle":182,"satellites":41,"speed":28,"hex_longitude":"2d7d2240","hex_latitude":"05caca68","is_valid_coordinates":true} 
[2026-09-07 17:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928272384001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129526391057154048,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853758791680,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788782330000,"timestamp_ms":1788782330000,"timestamp_seconds":1788782330,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbc4090"} 
[2026-09-07 17:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 17:30: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-07 17:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928272384001,"66":13048,"131":206,"85":15104,"24":28,"16":129526391057154048,"45":9017613853758791680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 17:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928272384001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:11] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 17:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129526391057154048,"km_value":129526391057154.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853758791680,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928272384001,"power":13048,"unknown_131":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9017613853758791680}} 
[2026-09-07 17:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:11] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:11] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:17] local.INFO: TCP Data received {"connection_id":173652,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:17] local.INFO: Processing buffer {"connection_id":173652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:17] local.INFO: Packet analysis {"connection_id":173652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:30:17] local.INFO: Extracted packet for processing {"connection_id":173652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:30:17] 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-07 17:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":173652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:17] local.INFO: GPS data processed {"connection_id":173652,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:17] local.INFO: Acknowledgment sent {"connection_id":173652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:18] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:18] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:18] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:30:18] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:30:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780123,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:18] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:18] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:21] local.INFO: TCP Data received {"connection_id":176394,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbca620012cbdbbc0076b4a780043009e2f..."} 
[2026-09-07 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbca620012cbdbbc0076b4a780043009e2f..."} 
[2026-09-07 17:30:21] local.INFO: Processing buffer {"connection_id":176394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbca620012cbdbbc0076b4a780043009e2f..."} 
[2026-09-07 17:30:21] local.INFO: Packet analysis {"connection_id":176394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:21] local.INFO: Extracted packet for processing {"connection_id":176394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:21] local.INFO: GPS Element Parsed {"raw_longitude":750631872,"raw_latitude":124471928,"longitude_deg":75.0631872,"latitude_deg":12.4471928,"altitude":67,"angle":158,"satellites":47,"speed":31,"hex_longitude":"2cbdbbc0","hex_latitude":"076b4a78","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928279552001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401784943476211712,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4779022860215345152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788782356000,"timestamp_ms":1788782356000,"timestamp_seconds":1788782356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbca620"} 
[2026-09-07 17: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-07 17:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:30:21] 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-07 17:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928279552001,"66":27876,"2":206,"85":37888,"24":31,"16":401784943476211712,"44":-4779022860215345152},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 17:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928279552001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401784943476211712,"km_value":401784943476211.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4779022860215345152,"description":"Unknown IO ID 44"} 
[2026-09-07 17:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928279552001,"power":27876,"power_alt":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-4779022860215345152}} 
[2026-09-07 17:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":176394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:21] local.INFO: GPS data processed {"connection_id":176394,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:21] local.INFO: Acknowledgment sent {"connection_id":176394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:32] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:32] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:32] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:30:36] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:36] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:36] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:37] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:37] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:30:37] local.INFO: IMEI packet received {"connection_id":174978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":174978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:38] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbc82f8012d7d1f0005cab910000900f829..."} 
[2026-09-07 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbc82f8012d7d1f0005cab910000900f829..."} 
[2026-09-07 17:30:38] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbc82f8012d7d1f0005cab910000900f829..."} 
[2026-09-07 17:30:38] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:38] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":97171728,"longitude_deg":76.3174656,"latitude_deg":9.7171728,"altitude":9,"angle":248,"satellites":41,"speed":6,"hex_longitude":"2d7d1f00","hex_latitude":"05cab910","is_valid_coordinates":true} 
[2026-09-07 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928276480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129526618690420736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839797570430976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788782347000,"timestamp_ms":1788782347000,"timestamp_seconds":1788782347,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbc82f8"} 
[2026-09-07 17:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:38] 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-07 17:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928276480001,"66":13678,"131":206,"85":15104,"24":6,"16":129526618690420736,"45":9016839797570430976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 17:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928276480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:38] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 17:30:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129526618690420736,"km_value":129526618690420.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839797570430976,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928276480001,"power":13678,"unknown_131":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9016839797570430976}} 
[2026-09-07 17:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:38] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:38] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:40] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:40] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:40] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:30:41] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:41] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:41] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:30:44] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:44] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:44] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:30:45] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:45] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:30:45] local.INFO: IMEI packet received {"connection_id":174979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:45] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:45] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:45] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:46] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:46] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:30:46] local.INFO: IMEI packet received {"connection_id":176395,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":176395,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:46] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:46] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:30:46] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:30:46] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17: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-07 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:30:46] 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-07 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:46] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:46] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:46] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:46] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:30:46] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:30:46] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17: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-07 17:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17: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-07 17:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:46] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:46] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:30:49] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:49] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:30:49] local.INFO: IMEI packet received {"connection_id":174980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":174980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:30:50] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbccd30012cbdc680076b2858004300a72f..."} 
[2026-09-07 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbccd30012cbdc680076b2858004300a72f..."} 
[2026-09-07 17:30:50] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbccd30012cbdc680076b2858004300a72f..."} 
[2026-09-07 17:30:50] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:50] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":750634624,"raw_latitude":124463192,"longitude_deg":75.0634624,"latitude_deg":12.4463192,"altitude":67,"angle":167,"satellites":47,"speed":38,"hex_longitude":"2cbdc680","hex_latitude":"076b2858","is_valid_coordinates":true} 
[2026-09-07 17:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928283136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401785385857843200,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4775011841798932480,"note":"Value kept but may cause issues"} 
[2026-09-07 17:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788782366000,"timestamp_ms":1788782366000,"timestamp_seconds":1788782366,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbccd30"} 
[2026-09-07 17:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:30: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-07 17:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928283136001,"66":27876,"2":206,"85":37888,"24":38,"16":401785385857843200,"44":-4775011841798932480},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 17:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928283136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401785385857843200,"km_value":401785385857843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4775011841798932480,"description":"Unknown IO ID 44"} 
[2026-09-07 17:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928283136001,"power":27876,"power_alt":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-4775011841798932480}} 
[2026-09-07 17:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:30:50] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:30:50] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:09] local.INFO: TCP Data received {"connection_id":174978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe24f0012d7c4dc005cab6c00005013327..."} 
[2026-09-07 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe24f0012d7c4dc005cab6c00005013327..."} 
[2026-09-07 17:31:09] local.INFO: Processing buffer {"connection_id":174978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe24f0012d7c4dc005cab6c00005013327..."} 
[2026-09-07 17:31:09] local.INFO: Packet analysis {"connection_id":174978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:09] local.INFO: Extracted packet for processing {"connection_id":174978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":763121088,"raw_latitude":97171136,"longitude_deg":76.3121088,"latitude_deg":9.7171136,"altitude":5,"angle":307,"satellites":39,"speed":21,"hex_longitude":"2d7c4dc0","hex_latitude":"05cab6c0","is_valid_coordinates":true} 
[2026-09-07 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129529311634915328,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957518946227300352,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788782454000,"timestamp_ms":1788782454000,"timestamp_seconds":1788782454,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe24f0"} 
[2026-09-07 17:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 17:31: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-07 17:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":174978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":174978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":174978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":13917,"159":206,"85":15104,"24":21,"16":129529311634915328,"45":8957518946227300352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 17:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:09] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129529311634915328,"km_value":129529311634915.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957518946227300352,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":13917,"unknown_159":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8957518946227300352}} 
[2026-09-07 17:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":174978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:09] local.INFO: GPS data processed {"connection_id":174978,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:09] local.INFO: Acknowledgment sent {"connection_id":174978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:12] local.INFO: TCP Data received {"connection_id":173653,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:31:12] local.INFO: Processing buffer {"connection_id":173653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:31:12] local.INFO: IMEI packet received {"connection_id":173653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":173653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:31:17] local.INFO: TCP Data received {"connection_id":174979,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:31:17] local.INFO: Processing buffer {"connection_id":174979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bb98940012d196500071ff0200040011f22..."} 
[2026-09-07 17:31:17] local.INFO: Packet analysis {"connection_id":174979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:31:17] local.INFO: Extracted packet for processing {"connection_id":174979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bb9"} 
[2026-09-07 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":34,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928153856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782152000,"timestamp_ms":1788782152000,"timestamp_seconds":1788782152,"priority":1,"record_length":96,"hex_timestamp":"000001a07bb98940"} 
[2026-09-07 17: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-07 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:17] 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-07 17:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928153856001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928153856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928153856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":174979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:17] local.INFO: GPS data processed {"connection_id":174979,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:17] local.INFO: Acknowledgment sent {"connection_id":174979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:17] local.INFO: TCP Data received {"connection_id":176395,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:17] local.INFO: Processing buffer {"connection_id":176395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:17] local.INFO: Packet analysis {"connection_id":176395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:31:17] local.INFO: Extracted packet for processing {"connection_id":176395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17: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-07 17:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176395,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":176395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:18] local.INFO: GPS data processed {"connection_id":176395,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:18] local.INFO: Acknowledgment sent {"connection_id":176395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:20] local.INFO: TCP Data received {"connection_id":174980,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbcf058012cbdcb80076b0498004400b12f..."} 
[2026-09-07 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbcf058012cbdcb80076b0498004400b12f..."} 
[2026-09-07 17:31:20] local.INFO: Processing buffer {"connection_id":174980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbcf058012cbdcb80076b0498004400b12f..."} 
[2026-09-07 17:31:20] local.INFO: Packet analysis {"connection_id":174980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:31:20] local.INFO: Extracted packet for processing {"connection_id":174980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbc"} 
[2026-09-07 17:31:20] local.INFO: GPS Element Parsed {"raw_longitude":750635904,"raw_latitude":124454040,"longitude_deg":75.0635904,"latitude_deg":12.445404,"altitude":68,"angle":177,"satellites":47,"speed":43,"hex_longitude":"2cbdcb80","hex_latitude":"076b0498","is_valid_coordinates":true} 
[2026-09-07 17:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928285696001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401785836829409280,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771985985801529344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788782375000,"timestamp_ms":1788782375000,"timestamp_seconds":1788782375,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbcf058"} 
[2026-09-07 17:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:31: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-07 17:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:31:20] 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-07 17:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928285696001,"66":27876,"2":206,"85":37888,"24":43,"16":401785836829409280,"44":-4771985985801529344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 17:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928285696001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401785836829409280,"km_value":401785836829409.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771985985801529344,"description":"Unknown IO ID 44"} 
[2026-09-07 17:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928285696001,"power":27876,"power_alt":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4771985985801529344}} 
[2026-09-07 17:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:20] local.INFO: GPS data processed {"connection_id":174980,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:20] local.INFO: Acknowledgment sent {"connection_id":174980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:32] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:32] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:32] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:31:37] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:37] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:31:37] local.INFO: IMEI packet received {"connection_id":174981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":174981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:31:38] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe3490012d7c47c005cabbe00006012526..."} 
[2026-09-07 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe3490012d7c47c005cabbe00006012526..."} 
[2026-09-07 17:31:38] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe3490012d7c47c005cabbe00006012526..."} 
[2026-09-07 17:31:38] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:38] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":763119552,"raw_latitude":97172448,"longitude_deg":76.3119552,"latitude_deg":9.7172448,"altitude":6,"angle":293,"satellites":38,"speed":17,"hex_longitude":"2d7c47c0","hex_latitude":"05cabbe0","is_valid_coordinates":true} 
[2026-09-07 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928308224001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129529406124195840,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957026365018128384,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788782458000,"timestamp_ms":1788782458000,"timestamp_seconds":1788782458,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe3490"} 
[2026-09-07 17:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928308224001,"66":13656,"159":206,"85":15104,"24":17,"16":129529406124195840,"45":8957026365018128384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 17:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928308224001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:38] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:31:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129529406124195840,"km_value":129529406124195.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957026365018128384,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928308224001,"power":13656,"unknown_159":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8957026365018128384}} 
[2026-09-07 17:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:38] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:39] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:42] local.INFO: TCP Data received {"connection_id":174981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe3878012d7c460005cabc400005011526..."} 
[2026-09-07 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe3878012d7c460005cabc400005011526..."} 
[2026-09-07 17:31:42] local.INFO: Processing buffer {"connection_id":174981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe3878012d7c460005cabc400005011526..."} 
[2026-09-07 17:31:42] local.INFO: Packet analysis {"connection_id":174981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:42] local.INFO: Extracted packet for processing {"connection_id":174981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":763119104,"raw_latitude":97172544,"longitude_deg":76.3119104,"latitude_deg":9.7172544,"altitude":5,"angle":277,"satellites":38,"speed":20,"hex_longitude":"2d7c4600","hex_latitude":"05cabc40","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928309248001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129529431893999616,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955337515158200320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788782459000,"timestamp_ms":1788782459000,"timestamp_seconds":1788782459,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe3878"} 
[2026-09-07 17: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-07 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":174981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":174981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928309248001,"66":13656,"159":206,"85":15104,"24":20,"16":129529431893999616,"45":8955337515158200320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 17:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928309248001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:42] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129529431893999616,"km_value":129529431893999.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955337515158200320,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928309248001,"power":13656,"unknown_159":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8955337515158200320}} 
[2026-09-07 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":174981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:42] local.INFO: GPS data processed {"connection_id":174981,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:42] local.INFO: Acknowledgment sent {"connection_id":174981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:44] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:44] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:44] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:31:45] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:45] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:45] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:31:46] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:46] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:46] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:31:47] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:47] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:47] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:31:49] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:49] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:31:49] local.INFO: IMEI packet received {"connection_id":173891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":173891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:31:50] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:31:50] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:31:50] local.INFO: Packet analysis {"connection_id":173891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:50] local.INFO: Extracted packet for processing {"connection_id":173891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:50] local.INFO: GPS Element Parsed {"raw_longitude":750648832,"raw_latitude":124352976,"longitude_deg":75.0648832,"latitude_deg":12.4352976,"altitude":66,"angle":154,"satellites":47,"speed":49,"hex_longitude":"2cbdfe00","hex_latitude":"076979d0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928308736001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401790814696505344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4759601086852306944,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788782463000,"timestamp_ms":1788782463000,"timestamp_seconds":1788782463,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe4818"} 
[2026-09-07 17: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-07 17:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":26,"data_length":795,"current_offset":136} 
[2026-09-07 17:31: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-07 17: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-07 17: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-07 17:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:31: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-07 17:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928308736001,"66":27843,"229":206,"85":37888,"24":49,"16":401790814696505344,"44":-4759601086852306944},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 17:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928308736001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 17:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401790814696505344,"km_value":401790814696505.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4759601086852306944,"description":"Unknown IO ID 44"} 
[2026-09-07 17:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928308736001,"power":27843,"unknown_229":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4759601086852306944}} 
[2026-09-07 17:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":173891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:50] local.INFO: GPS data processed {"connection_id":173891,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:50] local.INFO: Acknowledgment sent {"connection_id":173891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:50] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:50] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:31:50] local.INFO: IMEI packet received {"connection_id":173890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":173890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:31:51] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:51] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:31:51] local.INFO: IMEI packet received {"connection_id":176396,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":176396,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:31:51] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:51] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:51] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:51] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31: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-07 17:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 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-07 17:31:51] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:51] 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-07 17:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:51] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:51] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:51] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:51] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:31:51] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:31:51] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:31:51] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 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-07 17:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 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-07 17:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780137,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:51] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:51] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:31:55] local.INFO: TCP Data received {"connection_id":173890,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:55] local.INFO: Processing buffer {"connection_id":173890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:31:55] local.INFO: Packet analysis {"connection_id":173890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:55] local.INFO: Extracted packet for processing {"connection_id":173890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:31:55] 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-07 17: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-07 17: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-07 17: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-07 17: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-07 17:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:31:55] 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-07 17:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":173890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:31:55] local.INFO: GPS data processed {"connection_id":173890,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:31:55] local.INFO: Acknowledgment sent {"connection_id":173890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:21] local.INFO: TCP Data received {"connection_id":173891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:32:21] local.INFO: Processing buffer {"connection_id":173891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe4818012cbdfe00076979d00042009a2f..."} 
[2026-09-07 17:32:21] local.INFO: Packet analysis {"connection_id":173891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:21] local.INFO: Extracted packet for processing {"connection_id":173891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":750648832,"raw_latitude":124352976,"longitude_deg":75.0648832,"latitude_deg":12.4352976,"altitude":66,"angle":154,"satellites":47,"speed":49,"hex_longitude":"2cbdfe00","hex_latitude":"076979d0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928310528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401790814696505344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4756364124622303232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788782463000,"timestamp_ms":1788782463000,"timestamp_seconds":1788782463,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe4818"} 
[2026-09-07 17: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-07 17:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:21] 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-07 17:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928310528001,"66":27843,"229":206,"85":37888,"24":49,"16":401790814696505344,"44":-4756364124622303232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 17:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928310528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 17:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401790814696505344,"km_value":401790814696505.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4756364124622303232,"description":"Unknown IO ID 44"} 
[2026-09-07 17:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928310528001,"power":27843,"unknown_229":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4756364124622303232}} 
[2026-09-07 17:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":173891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:21] local.INFO: GPS data processed {"connection_id":173891,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:21] local.INFO: Acknowledgment sent {"connection_id":173891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:23] local.INFO: TCP Data received {"connection_id":176396,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:23] local.INFO: Processing buffer {"connection_id":176396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbb8ce0012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:23] local.INFO: Packet analysis {"connection_id":176396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:32:23] local.INFO: Extracted packet for processing {"connection_id":176396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbb"} 
[2026-09-07 17:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928186624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496195072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788782284000,"timestamp_ms":1788782284000,"timestamp_seconds":1788782284,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbb8ce0"} 
[2026-09-07 17: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-07 17:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176396,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928186624001,"66":12841,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":415245989496195072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928186624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:23] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:32:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496195072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928186624001,"power":12841,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":415245989496195072}} 
[2026-09-07 17:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":176396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:23] local.INFO: GPS data processed {"connection_id":176396,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:23] local.INFO: Acknowledgment sent {"connection_id":176396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:27] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:27] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:27] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:32:32] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:32] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:32:32] local.INFO: IMEI packet received {"connection_id":173893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":173893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:32:33] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe6f28012d7c20c005cabe880006011228..."} 
[2026-09-07 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe6f28012d7c20c005cabe880006011228..."} 
[2026-09-07 17:32:33] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe6f28012d7c20c005cabe880006011228..."} 
[2026-09-07 17:32:33] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:33] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763109568,"raw_latitude":97173128,"longitude_deg":76.3109568,"latitude_deg":9.7173128,"altitude":6,"angle":274,"satellites":40,"speed":21,"hex_longitude":"2d7c20c0","hex_latitude":"05cabe88","is_valid_coordinates":true} 
[2026-09-07 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928309504001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129529887160532992,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954844933948981248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788782473000,"timestamp_ms":1788782473000,"timestamp_seconds":1788782473,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe6f28"} 
[2026-09-07 17:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928309504001,"66":13472,"159":206,"85":15104,"24":21,"16":129529887160532992,"45":8954844933948981248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 17:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928309504001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:33] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129529887160532992,"km_value":129529887160532.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954844933948981248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928309504001,"power":13472,"unknown_159":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8954844933948981248}} 
[2026-09-07 17:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:33] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:33] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:40] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:40] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:40] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:32:43] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:43] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:43] local.INFO: IMEI packet received {"connection_id":174982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":174982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:32:45] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:45] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:32:45] local.INFO: IMEI packet received {"connection_id":174983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":174983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:32:45] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:45] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:45] local.INFO: IMEI packet received {"connection_id":173654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":173654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:32:46] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:46] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:32:46] local.INFO: IMEI packet received {"connection_id":174982,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":174982,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:32:46] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:32:46] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:32:46] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:46] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:32:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:32:46] 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-07 17:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:46] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:46] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:47] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Packet analysis {"connection_id":174982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:32:47] local.INFO: Extracted packet for processing {"connection_id":174982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17:32: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-07 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928264704001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777031084032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788782563000,"timestamp_ms":1788782563000,"timestamp_seconds":1788782563,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbfceb8"} 
[2026-09-07 17: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-07 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928264704001,"66":12722,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":414823777031084032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928264704001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777031084032,"description":"Unknown IO ID 45"} 
[2026-09-07 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928264704001,"power":12722,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":414823777031084032}} 
[2026-09-07 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":174982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780143,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:47] local.INFO: GPS data processed {"connection_id":174982,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:47] local.INFO: Acknowledgment sent {"connection_id":174982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:47] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbfceb8012d05c1c0070252d80017003d26..."} 
[2026-09-07 17:32:47] local.INFO: Packet analysis {"connection_id":174982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:32:47] local.INFO: Extracted packet for processing {"connection_id":174982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":755352000,"raw_latitude":117592792,"longitude_deg":75.5352,"latitude_deg":11.7592792,"altitude":23,"angle":61,"satellites":38,"speed":0,"hex_longitude":"2d05c1c0","hex_latitude":"070252d8","is_valid_coordinates":true} 
[2026-09-07 17:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928336128001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777031084032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788782563000,"timestamp_ms":1788782563000,"timestamp_seconds":1788782563,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbfceb8"} 
[2026-09-07 17: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-07 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":174982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928336128001,"66":12722,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":414823777031084032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928336128001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777031084032,"description":"Unknown IO ID 45"} 
[2026-09-07 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928336128001,"power":12722,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":414823777031084032}} 
[2026-09-07 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":174982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:47] local.INFO: GPS data processed {"connection_id":174982,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:47] local.INFO: Acknowledgment sent {"connection_id":174982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:49] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:49] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:49] local.INFO: IMEI packet received {"connection_id":173654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":173654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:32:54] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:54] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:32:54] local.INFO: IMEI packet received {"connection_id":173654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":173654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:32:55] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe5f88012cbe0d00076961180043008f30..."} 
[2026-09-07 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe5f88012cbe0d00076961180043008f30..."} 
[2026-09-07 17:32:55] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe5f88012cbe0d00076961180043008f30..."} 
[2026-09-07 17:32:55] local.INFO: Packet analysis {"connection_id":173654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:55] local.INFO: Extracted packet for processing {"connection_id":173654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":750652672,"raw_latitude":124346648,"longitude_deg":75.0652672,"latitude_deg":12.4346648,"altitude":67,"angle":143,"satellites":48,"speed":48,"hex_longitude":"2cbe0d00","hex_latitude":"07696118","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928310528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401791171178790912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4756364124622303232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788782469000,"timestamp_ms":1788782469000,"timestamp_seconds":1788782469,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe5f88"} 
[2026-09-07 17: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-07 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:55] 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-07 17: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-07 17: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-07 17:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:55] 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-07 17:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928310528001,"66":27908,"229":206,"85":37888,"24":48,"16":401791171178790912,"44":-4756364124622303232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 17:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928310528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 17:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401791171178790912,"km_value":401791171178790.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4756364124622303232,"description":"Unknown IO ID 44"} 
[2026-09-07 17:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928310528001,"power":27908,"unknown_229":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4756364124622303232}} 
[2026-09-07 17:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":173654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:55] local.INFO: GPS data processed {"connection_id":173654,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:55] local.INFO: Acknowledgment sent {"connection_id":173654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:32:56] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe7ec8012cbe270007694430004300862e..."} 
[2026-09-07 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe7ec8012cbe270007694430004300862e..."} 
[2026-09-07 17:32:56] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe7ec8012cbe270007694430004300862e..."} 
[2026-09-07 17:32:56] local.INFO: Packet analysis {"connection_id":173654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:56] local.INFO: Extracted packet for processing {"connection_id":173654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":750659328,"raw_latitude":124339248,"longitude_deg":75.0659328,"latitude_deg":12.4339248,"altitude":67,"angle":134,"satellites":46,"speed":50,"hex_longitude":"2cbe2700","hex_latitude":"07694430","is_valid_coordinates":true} 
[2026-09-07 17:32: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-07 17:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928312064001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401791652215128064,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4752141999973263360,"note":"Value kept but may cause issues"} 
[2026-09-07 17:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788782477000,"timestamp_ms":1788782477000,"timestamp_seconds":1788782477,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe7ec8"} 
[2026-09-07 17:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17:32: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-07 17:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:32:56] 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-07 17:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928312064001,"66":27832,"229":206,"85":37888,"24":50,"16":401791652215128064,"44":-4752141999973263360},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 17:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928312064001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:32:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 17:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401791652215128064,"km_value":401791652215128.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4752141999973263360,"description":"Unknown IO ID 44"} 
[2026-09-07 17:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928312064001,"power":27832,"unknown_229":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4752141999973263360}} 
[2026-09-07 17:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":173654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:32:56] local.INFO: GPS data processed {"connection_id":173654,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:32:56] local.INFO: Acknowledgment sent {"connection_id":173654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:04] local.INFO: TCP Data received {"connection_id":173893,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbfbf18012d7ba1c005cadfa00005011527..."} 
[2026-09-07 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbfbf18012d7ba1c005cadfa00005011527..."} 
[2026-09-07 17:33:04] local.INFO: Processing buffer {"connection_id":173893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbfbf18012d7ba1c005cadfa00005011527..."} 
[2026-09-07 17:33:04] local.INFO: Packet analysis {"connection_id":173893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:33:04] local.INFO: Extracted packet for processing {"connection_id":173893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763077056,"raw_latitude":97181600,"longitude_deg":76.3077056,"latitude_deg":9.71816,"altitude":5,"angle":277,"satellites":39,"speed":5,"hex_longitude":"2d7ba1c0","hex_latitude":"05cadfa0","is_valid_coordinates":true} 
[2026-09-07 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928334080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129531583672614912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909034881491634176,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788782559000,"timestamp_ms":1788782559000,"timestamp_seconds":1788782559,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbfbf18"} 
[2026-09-07 17:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:33:04] 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-07 17:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:04] 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-07 17:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928334080001,"66":13656,"161":206,"85":15104,"24":5,"16":129531583672614912,"45":8909034881491634176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928334080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129531583672614912,"km_value":129531583672614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909034881491634176,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928334080001,"power":13656,"unknown_161":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8909034881491634176}} 
[2026-09-07 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":173893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:04] local.INFO: GPS data processed {"connection_id":173893,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:04] local.INFO: Acknowledgment sent {"connection_id":173893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:17] local.INFO: TCP Data received {"connection_id":174983,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:17] local.INFO: Processing buffer {"connection_id":174983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:17] local.INFO: Packet analysis {"connection_id":174983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:17] local.INFO: Extracted packet for processing {"connection_id":174983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:33:17] 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-07 17:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:33:17] 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-07 17:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":174983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:17] local.INFO: GPS data processed {"connection_id":174983,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:17] local.INFO: Acknowledgment sent {"connection_id":174983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:19] local.INFO: TCP Data received {"connection_id":174982,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc020c0012d05c340070253080017003d28..."} 
[2026-09-07 17:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc020c0012d05c340070253080017003d28..."} 
[2026-09-07 17:33:19] local.INFO: Processing buffer {"connection_id":174982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc020c0012d05c340070253080017003d28..."} 
[2026-09-07 17:33:19] local.INFO: Packet analysis {"connection_id":174982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc0"} 
[2026-09-07 17:33:19] local.INFO: Extracted packet for processing {"connection_id":174982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc0"} 
[2026-09-07 17:33:19] local.INFO: GPS Element Parsed {"raw_longitude":755352384,"raw_latitude":117592840,"longitude_deg":75.5352384,"latitude_deg":11.759284,"altitude":23,"angle":61,"satellites":40,"speed":0,"hex_longitude":"2d05c340","hex_latitude":"07025308","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928336128001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30618976472006656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414823777031084032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788782584000,"timestamp_ms":1788782584000,"timestamp_seconds":1788782584,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc020c0"} 
[2026-09-07 17: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-07 17:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:19] 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-07 17: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-07 17: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-07 17:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174982,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928336128001,"66":14309,"206":206,"94":10240,"24":0,"16":30618976472006656,"45":414823777031084032},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928336128001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:33:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30618976472006656,"km_value":30618976472006.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":414823777031084032,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928336128001,"power":14309,"unknown_206":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":414823777031084032}} 
[2026-09-07 17:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":174982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:19] local.INFO: GPS data processed {"connection_id":174982,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:19] local.INFO: Acknowledgment sent {"connection_id":174982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:27] local.INFO: TCP Data received {"connection_id":173655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:27] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:27] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:33:31] local.INFO: TCP Data received {"connection_id":173654,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe9a20012cbe40c007692bd80043008430..."} 
[2026-09-07 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe9a20012cbe40c007692bd80043008430..."} 
[2026-09-07 17:33:31] local.INFO: Processing buffer {"connection_id":173654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe9a20012cbe40c007692bd80043008430..."} 
[2026-09-07 17:33:31] local.INFO: Packet analysis {"connection_id":173654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:31] local.INFO: Extracted packet for processing {"connection_id":173654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":750665920,"raw_latitude":124333016,"longitude_deg":75.066592,"latitude_deg":12.4333016,"altitude":67,"angle":132,"satellites":48,"speed":51,"hex_longitude":"2cbe40c0","hex_latitude":"07692bd8","is_valid_coordinates":true} 
[2026-09-07 17:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928314112001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401792081711857664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4744823650580680704,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788782484000,"timestamp_ms":1788782484000,"timestamp_seconds":1788782484,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe9a20"} 
[2026-09-07 17:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:31] 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-07 17:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:33:31] 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-07 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928314112001,"66":27908,"229":206,"85":37888,"24":51,"16":401792081711857664,"44":-4744823650580680704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-09-07 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928314112001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-09-07 17:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-09-07 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401792081711857664,"km_value":401792081711857.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4744823650580680704,"description":"Unknown IO ID 44"} 
[2026-09-07 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928314112001,"power":27908,"unknown_229":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4744823650580680704}} 
[2026-09-07 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":173654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:31] local.INFO: GPS data processed {"connection_id":173654,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:31] local.INFO: Acknowledgment sent {"connection_id":173654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:31] local.INFO: TCP Data received {"connection_id":173655,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:31] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:33:31] local.INFO: IMEI packet received {"connection_id":173655,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":173655,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:33:32] local.INFO: TCP Data received {"connection_id":173655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbfda70012d7b9a8005cadf580006010829..."} 
[2026-09-07 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbfda70012d7b9a8005cadf580006010829..."} 
[2026-09-07 17:33:32] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbfda70012d7b9a8005cadf580006010829..."} 
[2026-09-07 17:33:32] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:33:32] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763075200,"raw_latitude":97181528,"longitude_deg":76.30752,"latitude_deg":9.7181528,"altitude":6,"angle":264,"satellites":41,"speed":7,"hex_longitude":"2d7b9a80","hex_latitude":"05cadf58","is_valid_coordinates":true} 
[2026-09-07 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928335104001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129531678161895424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908612669026574336,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788782566000,"timestamp_ms":1788782566000,"timestamp_seconds":1788782566,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbfda70"} 
[2026-09-07 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:32] 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-07 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928335104001,"66":13559,"161":206,"85":15104,"24":7,"16":129531678161895424,"45":8908612669026574336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928335104001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129531678161895424,"km_value":129531678161895.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908612669026574336,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928335104001,"power":13559,"unknown_161":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8908612669026574336}} 
[2026-09-07 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:32] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:32] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:40] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:40] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:40] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:33:41] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:41] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:41] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:33:45] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:45] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:33:45] local.INFO: IMEI packet received {"connection_id":176399,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":176399,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:33:45] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:45] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:33:45] local.INFO: IMEI packet received {"connection_id":176398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":176398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:33:46] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:46] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:33:46] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:46] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:33:46] 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-07 17:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:33:46] 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-07 17:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:46] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:46] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:33:46] local.INFO: TCP Data received {"connection_id":176399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc03060012d05c640070254700000015b28..."} 
[2026-09-07 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc03060012d05c640070254700000015b28..."} 
[2026-09-07 17:33:46] local.INFO: Processing buffer {"connection_id":176399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc03060012d05c640070254700000015b28..."} 
[2026-09-07 17:33:46] local.INFO: Packet analysis {"connection_id":176399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc0"} 
[2026-09-07 17:33:46] local.INFO: Extracted packet for processing {"connection_id":176399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc0"} 
[2026-09-07 17:33:46] local.INFO: GPS Element Parsed {"raw_longitude":755353152,"raw_latitude":117593200,"longitude_deg":75.5353152,"latitude_deg":11.75932,"altitude":0,"angle":347,"satellites":40,"speed":2,"hex_longitude":"2d05c640","hex_latitude":"07025470","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928341504001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30619015126712320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":415245989496162304,"note":"Value kept but may cause issues"} 
[2026-09-07 17:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782588000,"timestamp_ms":1788782588000,"timestamp_seconds":1788782588,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc03060"} 
[2026-09-07 17: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-07 17:33: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-07 17: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 17:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176399,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928341504001,"66":14548,"206":206,"94":10240,"24":2,"16":30619015126712320,"45":415245989496162304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,45]} 
[2026-09-07 17:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928341504001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 17:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30619015126712320,"km_value":30619015126712.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":415245989496162304,"description":"Unknown IO ID 45"} 
[2026-09-07 17:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928341504001,"power":14548,"unknown_206":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":415245989496162304}} 
[2026-09-07 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":176399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:33:47] local.INFO: GPS data processed {"connection_id":176399,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:33:47] local.INFO: Acknowledgment sent {"connection_id":176399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:34:03] local.INFO: TCP Data received {"connection_id":173655,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbfea10012d7b974005cadf780006011329..."} 
[2026-09-07 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbfea10012d7b974005cadf780006011329..."} 
[2026-09-07 17:34:03] local.INFO: Processing buffer {"connection_id":173655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbfea10012d7b974005cadf780006011329..."} 
[2026-09-07 17:34:03] local.INFO: Packet analysis {"connection_id":173655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:34:03] local.INFO: Extracted packet for processing {"connection_id":173655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbf"} 
[2026-09-07 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763074368,"raw_latitude":97181560,"longitude_deg":76.3074368,"latitude_deg":9.718156,"altitude":6,"angle":275,"satellites":41,"speed":8,"hex_longitude":"2d7b9740","hex_latitude":"05cadf78","is_valid_coordinates":true} 
[2026-09-07 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-07 17:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928336896001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129531716816601088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906571975445403648,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788782570000,"timestamp_ms":1788782570000,"timestamp_seconds":1788782570,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbfea10"} 
[2026-09-07 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-07 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-07 17:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173655,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928336896001,"66":13406,"161":206,"85":15104,"24":8,"16":129531716816601088,"45":8906571975445403648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928336896001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:34:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129531716816601088,"km_value":129531716816601.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906571975445403648,"description":"Unknown IO ID 45"} 
[2026-09-07 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928336896001,"power":13406,"unknown_161":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8906571975445403648}} 
[2026-09-07 17:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":173655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:34:03] local.INFO: GPS data processed {"connection_id":173655,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:34:03] local.INFO: Acknowledgment sent {"connection_id":173655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:34:14] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:14] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:14] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:34:15] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:15] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:34:15] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:34:15] local.INFO: TCP Data received {"connection_id":173656,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173656,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:34:15] local.INFO: Processing buffer {"connection_id":173656,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:34:15] local.INFO: IMEI packet received {"connection_id":173656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":173656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:34:17] local.INFO: TCP Data received {"connection_id":176398,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:17] local.INFO: Processing buffer {"connection_id":176398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:17] local.INFO: Packet analysis {"connection_id":176398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:34:17] local.INFO: Extracted packet for processing {"connection_id":176398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:34:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:34:17] 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-07 17:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":176398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:34:17] local.INFO: GPS data processed {"connection_id":176398,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:34:17] local.INFO: Acknowledgment sent {"connection_id":176398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:34:27] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:27] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:27] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:34:40] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:40] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:40] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:34:45] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:45] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:34:45] local.INFO: IMEI packet received {"connection_id":173894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":173894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:34:46] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:46] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:34:46] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:34:46] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 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-07 17:34:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:34:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:34:46] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:34:46] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:34:55] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:55] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:34:55] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:34:55] local.INFO: TCP Data received {"connection_id":174985,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174985,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:34:55] local.INFO: Processing buffer {"connection_id":174985,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 17:34:55] local.INFO: IMEI packet received {"connection_id":174985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":174985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:35:17] local.INFO: TCP Data received {"connection_id":173894,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:17] local.INFO: Processing buffer {"connection_id":173894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:17] local.INFO: Packet analysis {"connection_id":173894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:35:17] local.INFO: Extracted packet for processing {"connection_id":173894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17: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-07 17:35:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:35:17] 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-07 17:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:35:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":173894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:35:17] local.INFO: GPS data processed {"connection_id":173894,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:35:17] local.INFO: Acknowledgment sent {"connection_id":173894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:35:40] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:40] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:40] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:35:45] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:45] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:35:45] local.INFO: IMEI packet received {"connection_id":176401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:35:46] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:46] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:35:46] local.INFO: Packet analysis {"connection_id":176401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:35:46] local.INFO: Extracted packet for processing {"connection_id":176401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 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-07 17:35:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:35:46] 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-07 17:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:35:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":176401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:35:46] local.INFO: GPS data processed {"connection_id":176401,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:35:46] local.INFO: Acknowledgment sent {"connection_id":176401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:36:17] local.INFO: TCP Data received {"connection_id":176401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:17] local.INFO: Processing buffer {"connection_id":176401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bbe2108012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:17] local.INFO: Packet analysis {"connection_id":176401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:36:17] local.INFO: Extracted packet for processing {"connection_id":176401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bbe"} 
[2026-09-07 17:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928230912001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782453000,"timestamp_ms":1788782453000,"timestamp_seconds":1788782453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bbe2108"} 
[2026-09-07 17:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:36:17] 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-07 17:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:17] 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-07 17:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928230912001,"66":2144,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928230912001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:36:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928230912001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":176401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:36:17] local.INFO: GPS data processed {"connection_id":176401,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:36:17] local.INFO: Acknowledgment sent {"connection_id":176401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:36:45] local.INFO: TCP Data received {"connection_id":174988,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:45] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:45] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:36:46] local.INFO: TCP Data received {"connection_id":174990,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:36:46] local.INFO: Processing buffer {"connection_id":174990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:36:46] local.INFO: IMEI packet received {"connection_id":174990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":174990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:36:50] local.INFO: TCP Data received {"connection_id":174988,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:50] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:36:50] local.INFO: IMEI packet received {"connection_id":174988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":174988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:36:51] local.INFO: TCP Data received {"connection_id":174988,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:51] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:51] local.INFO: Packet analysis {"connection_id":174988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:36:51] local.INFO: Extracted packet for processing {"connection_id":174988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36: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-07 17:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:51] 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-07 17:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:36:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":174988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:36:51] local.INFO: GPS data processed {"connection_id":174988,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:36:51] local.INFO: Acknowledgment sent {"connection_id":174988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:36:55] local.INFO: TCP Data received {"connection_id":174988,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:55] local.INFO: Processing buffer {"connection_id":174988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:36:55] local.INFO: Packet analysis {"connection_id":174988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:36:55] local.INFO: Extracted packet for processing {"connection_id":174988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:36: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-07 17: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-07 17: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-07 17:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:36:55] 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-07 17:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":174988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:36:55] local.INFO: GPS data processed {"connection_id":174988,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:36:55] local.INFO: Acknowledgment sent {"connection_id":174988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:37:40] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:40] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:40] local.INFO: IMEI packet received {"connection_id":173896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":173896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:37:45] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:45] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:37:45] local.INFO: IMEI packet received {"connection_id":173896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":173896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:37:46] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:37:46] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:37:46] local.INFO: Packet analysis {"connection_id":173896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:37:46] local.INFO: Extracted packet for processing {"connection_id":173896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:37:46] 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-07 17:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:37:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":173896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:37:46] local.INFO: GPS data processed {"connection_id":173896,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:37:46] local.INFO: Acknowledgment sent {"connection_id":173896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:38:17] local.INFO: TCP Data received {"connection_id":173896,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:17] local.INFO: Processing buffer {"connection_id":173896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:17] local.INFO: Packet analysis {"connection_id":173896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:38:17] local.INFO: Extracted packet for processing {"connection_id":173896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:38:17] 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-07 17:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":173896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:38:17] local.INFO: GPS data processed {"connection_id":173896,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:38:17] local.INFO: Acknowledgment sent {"connection_id":173896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:38:40] local.INFO: TCP Data received {"connection_id":174991,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:40] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:40] local.INFO: IMEI packet received {"connection_id":174991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":174991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:38:45] local.INFO: TCP Data received {"connection_id":174991,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:45] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:38:45] local.INFO: IMEI packet received {"connection_id":174991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:38:46] local.INFO: TCP Data received {"connection_id":174991,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:46] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:38:46] local.INFO: Packet analysis {"connection_id":174991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:38:46] local.INFO: Extracted packet for processing {"connection_id":174991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:38:46] 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-07 17:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:38:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":174991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:38:46] local.INFO: GPS data processed {"connection_id":174991,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:38:46] local.INFO: Acknowledgment sent {"connection_id":174991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:38:56] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:38:56] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:38:56] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:01] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:01] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:01] local.INFO: IMEI packet received {"connection_id":173897,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":173897,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:39:02] local.INFO: TCP Data received {"connection_id":173897,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc4c058012d0639000702a4b00011004a29..."} 
[2026-09-07 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc4c058012d0639000702a4b00011004a29..."} 
[2026-09-07 17:39:02] local.INFO: Processing buffer {"connection_id":173897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc4c058012d0639000702a4b00011004a29..."} 
[2026-09-07 17:39:02] local.INFO: Packet analysis {"connection_id":173897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc4"} 
[2026-09-07 17:39:02] local.INFO: Extracted packet for processing {"connection_id":173897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc4"} 
[2026-09-07 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":755382528,"raw_latitude":117613744,"longitude_deg":75.5382528,"latitude_deg":11.7613744,"altitude":17,"angle":74,"satellites":41,"speed":10,"hex_longitude":"2d063900","hex_latitude":"0702a4b0","is_valid_coordinates":true} 
[2026-09-07 17:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928413952001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30620780358270976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":440015787451402240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:02] 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-07 17:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788782887000,"timestamp_ms":1788782887000,"timestamp_seconds":1788782887,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc4c058"} 
[2026-09-07 17:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:02] 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-07 17:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":173897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":173897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":173897,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928413952001,"66":14559,"24":10,"16":30620780358270976,"45":440015787451402240},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-07 17:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928413952001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30620780358270976,"km_value":30620780358270.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":440015787451402240,"description":"Unknown IO ID 45"} 
[2026-09-07 17:39:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457928413952001,"power":14559,"ignition":10,"odometer":null,"unknown_45":440015787451402240}} 
[2026-09-07 17:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":173897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:02] local.INFO: GPS data processed {"connection_id":173897,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:02] local.INFO: Acknowledgment sent {"connection_id":173897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:15] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:15] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:15] local.INFO: IMEI packet received {"connection_id":174992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":174992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:16] local.INFO: TCP Data received {"connection_id":174992,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc502c0012cc2e180076333c8005700a332..."} 
[2026-09-07 17:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc502c0012cc2e180076333c8005700a332..."} 
[2026-09-07 17:39:16] local.INFO: Processing buffer {"connection_id":174992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc502c0012cc2e180076333c8005700a332..."} 
[2026-09-07 17:39:16] local.INFO: Packet analysis {"connection_id":174992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:16] local.INFO: Extracted packet for processing {"connection_id":174992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:16] local.INFO: GPS Element Parsed {"raw_longitude":750969216,"raw_latitude":123941832,"longitude_deg":75.0969216,"latitude_deg":12.3941832,"altitude":87,"angle":163,"satellites":50,"speed":59,"hex_longitude":"2cc2e180","hex_latitude":"076333c8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928421888001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401817963184783360,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405927778720526336,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788782904000,"timestamp_ms":1788782904000,"timestamp_seconds":1788782904,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc502c0"} 
[2026-09-07 17: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-07 17: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-07 17:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:39:16] 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-07 17:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928421888001,"66":27800,"2":206,"85":37120,"24":59,"16":401817963184783360,"44":-4405927778720526336},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 17:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928421888001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401817963184783360,"km_value":401817963184783.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405927778720526336,"description":"Unknown IO ID 44"} 
[2026-09-07 17:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928421888001,"power":27800,"power_alt":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4405927778720526336}} 
[2026-09-07 17:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":174992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:16] local.INFO: GPS data processed {"connection_id":174992,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:16] local.INFO: Acknowledgment sent {"connection_id":174992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:17] local.INFO: TCP Data received {"connection_id":174991,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:17] local.INFO: Processing buffer {"connection_id":174991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:17] local.INFO: Packet analysis {"connection_id":174991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:39:17] local.INFO: Extracted packet for processing {"connection_id":174991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:39:17] 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-07 17:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":174991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:17] local.INFO: GPS data processed {"connection_id":174991,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:17] local.INFO: Acknowledgment sent {"connection_id":174991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:40] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:40] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:40] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:40] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:40] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:40] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:44] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:44] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:44] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:39:45] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:45] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:39:45] local.INFO: IMEI packet received {"connection_id":173660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:39:45] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:45] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:39:45] local.INFO: IMEI packet received {"connection_id":173661,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":173661,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:39:46] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:46] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:39:46] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:39:46] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 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-07 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:39:46] 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-07 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:46] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:46] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:46] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc4dbb0012d063dc00702a6c00010003c29..."} 
[2026-09-07 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc4dbb0012d063dc00702a6c00010003c29..."} 
[2026-09-07 17:39:46] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc4dbb0012d063dc00702a6c00010003c29..."} 
[2026-09-07 17:39:46] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc4"} 
[2026-09-07 17:39:46] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc4"} 
[2026-09-07 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":755383744,"raw_latitude":117614272,"longitude_deg":75.5383744,"latitude_deg":11.7614272,"altitude":16,"angle":60,"satellites":41,"speed":6,"hex_longitude":"2d063dc0","hex_latitude":"0702a6c0","is_valid_coordinates":true} 
[2026-09-07 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-07 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928419072001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30620840487813120,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":448389668009193472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:46] 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-07 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782894000,"timestamp_ms":1788782894000,"timestamp_seconds":1788782894,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc4dbb0"} 
[2026-09-07 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-07 17:39: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-07 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928419072001,"66":14559,"24":6,"16":30620840487813120,"45":448389668009193472},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-07 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928419072001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30620840487813120,"km_value":30620840487813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":448389668009193472,"description":"Unknown IO ID 45"} 
[2026-09-07 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457928419072001,"power":14559,"ignition":6,"odometer":null,"unknown_45":448389668009193472}} 
[2026-09-07 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780169,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:46] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:46] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:49] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:49] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:39:49] local.INFO: IMEI packet received {"connection_id":173662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:39:50] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc50e78012cc2e8c0076323800056009532..."} 
[2026-09-07 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc50e78012cc2e8c0076323800056009532..."} 
[2026-09-07 17:39:50] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc50e78012cc2e8c0076323800056009532..."} 
[2026-09-07 17:39:50] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:50] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:50] local.INFO: GPS Element Parsed {"raw_longitude":750971072,"raw_latitude":123937664,"longitude_deg":75.0971072,"latitude_deg":12.3937664,"altitude":86,"angle":149,"satellites":50,"speed":60,"hex_longitude":"2cc2e8c0","hex_latitude":"07632380","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928423424001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401818186523082752,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404098191374170112,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788782907000,"timestamp_ms":1788782907000,"timestamp_seconds":1788782907,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc50e78"} 
[2026-09-07 17: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-07 17:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:39:50] 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-07 17: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-07 17: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-07 17:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:39: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-07 17:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928423424001,"66":27767,"2":206,"85":37120,"24":60,"16":401818186523082752,"44":-4404098191374170112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 17:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928423424001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401818186523082752,"km_value":401818186523082.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404098191374170112,"description":"Unknown IO ID 44"} 
[2026-09-07 17:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928423424001,"power":27767,"power_alt":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4404098191374170112}} 
[2026-09-07 17:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:50] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:50] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:39:57] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:39:57] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:39:57] local.INFO: IMEI packet received {"connection_id":176406,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":176406,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:39:58] local.INFO: TCP Data received {"connection_id":176406,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc5a2e8012d7a954005cc63c8000a005e27..."} 
[2026-09-07 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc5a2e8012d7a954005cc63c8000a005e27..."} 
[2026-09-07 17:39:58] local.INFO: Processing buffer {"connection_id":176406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc5a2e8012d7a954005cc63c8000a005e27..."} 
[2026-09-07 17:39:58] local.INFO: Packet analysis {"connection_id":176406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:58] local.INFO: Extracted packet for processing {"connection_id":176406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763008320,"raw_latitude":97280968,"longitude_deg":76.300832,"latitude_deg":9.7280968,"altitude":10,"angle":94,"satellites":39,"speed":4,"hex_longitude":"2d7a9540","hex_latitude":"05cc63c8","is_valid_coordinates":true} 
[2026-09-07 17:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928432384001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129539714045706240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832544056595947520,"note":"Value kept but may cause issues"} 
[2026-09-07 17:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788782945000,"timestamp_ms":1788782945000,"timestamp_seconds":1788782945,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc5a2e8"} 
[2026-09-07 17:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:39: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-07 17:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176406,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928432384001,"66":13624,"91":206,"85":15104,"24":4,"16":129539714045706240,"45":8832544056595947520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928432384001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:39:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129539714045706240,"km_value":129539714045706.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832544056595947520,"description":"Unknown IO ID 45"} 
[2026-09-07 17:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928432384001,"power":13624,"unknown_91":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8832544056595947520}} 
[2026-09-07 17:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":176406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:39:58] local.INFO: GPS data processed {"connection_id":176406,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:39:58] local.INFO: Acknowledgment sent {"connection_id":176406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:17] local.INFO: TCP Data received {"connection_id":173660,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:17] local.INFO: Processing buffer {"connection_id":173660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:17] local.INFO: Packet analysis {"connection_id":173660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:40:17] local.INFO: Extracted packet for processing {"connection_id":173660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17: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-07 17:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:40:17] 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-07 17:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":173660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:17] local.INFO: GPS data processed {"connection_id":173660,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:17] local.INFO: Acknowledgment sent {"connection_id":173660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:19] local.INFO: TCP Data received {"connection_id":173661,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc652b0012d06e5800702bbe0000d005a27..."} 
[2026-09-07 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc652b0012d06e5800702bbe0000d005a27..."} 
[2026-09-07 17:40:19] local.INFO: Processing buffer {"connection_id":173661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc652b0012d06e5800702bbe0000d005a27..."} 
[2026-09-07 17:40:19] local.INFO: Packet analysis {"connection_id":173661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:19] local.INFO: Extracted packet for processing {"connection_id":173661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":755426688,"raw_latitude":117619680,"longitude_deg":75.5426688,"latitude_deg":11.761968,"altitude":13,"angle":90,"satellites":39,"speed":30,"hex_longitude":"2d06e580","hex_latitude":"0702bbe0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928442112001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30623009446297600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":486318421122430976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788782990000,"timestamp_ms":1788782990000,"timestamp_seconds":1788782990,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc652b0"} 
[2026-09-07 17: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-07 17:40: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-07 17: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173661,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928442112001,"66":14428,"60":206,"94":11008,"24":30,"16":30623009446297600,"45":486318421122430976},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928442112001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:19] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:40:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30623009446297600,"km_value":30623009446297.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":486318421122430976,"description":"Unknown IO ID 45"} 
[2026-09-07 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928442112001,"power":14428,"unknown_60":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":486318421122430976}} 
[2026-09-07 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":173661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:19] local.INFO: GPS data processed {"connection_id":173661,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:19] local.INFO: Acknowledgment sent {"connection_id":173661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:21] local.INFO: TCP Data received {"connection_id":173662,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc60c60012cc39d40076243f0004900c92f..."} 
[2026-09-07 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc60c60012cc39d40076243f0004900c92f..."} 
[2026-09-07 17:40:21] local.INFO: Processing buffer {"connection_id":173662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc60c60012cc39d40076243f0004900c92f..."} 
[2026-09-07 17:40:21] local.INFO: Packet analysis {"connection_id":173662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:21] local.INFO: Extracted packet for processing {"connection_id":173662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":751017280,"raw_latitude":123880432,"longitude_deg":75.101728,"latitude_deg":12.3880432,"altitude":73,"angle":201,"satellites":47,"speed":24,"hex_longitude":"2cc39d40","hex_latitude":"076243f0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928439040001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401822326871556096,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349703152139083776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788782972000,"timestamp_ms":1788782972000,"timestamp_seconds":1788782972,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc60c60"} 
[2026-09-07 17: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-07 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:40: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-07 17: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-07 17: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-07 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:40:21] 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-07 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928439040001,"66":27876,"178":206,"85":37120,"24":24,"16":401822326871556096,"44":-4349703152139083776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-09-07 17:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928439040001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:21] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 17:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401822326871556096,"km_value":401822326871556.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349703152139083776,"description":"Unknown IO ID 44"} 
[2026-09-07 17:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928439040001,"power":27876,"unknown_178":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4349703152139083776}} 
[2026-09-07 17:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":173662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:21] local.INFO: GPS data processed {"connection_id":173662,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:21] local.INFO: Acknowledgment sent {"connection_id":173662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:27] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:27] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:27] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:40:32] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:32] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:40:32] local.INFO: IMEI packet received {"connection_id":174993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":174993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:40:33] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc5c228012d7a9dc005cc63a0000b005127..."} 
[2026-09-07 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc5c228012d7a9dc005cc63a0000b005127..."} 
[2026-09-07 17:40:33] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc5c228012d7a9dc005cc63a0000b005127..."} 
[2026-09-07 17:40:33] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:40:33] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc5"} 
[2026-09-07 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763010496,"raw_latitude":97280928,"longitude_deg":76.3010496,"latitude_deg":9.7280928,"altitude":11,"angle":81,"satellites":39,"speed":11,"hex_longitude":"2d7a9dc0","hex_latitude":"05cc63a0","is_valid_coordinates":true} 
[2026-09-07 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928433920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129539817124921344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833036637805201408,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788782953000,"timestamp_ms":1788782953000,"timestamp_seconds":1788782953,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc5c228"} 
[2026-09-07 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:33] 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-07 17:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928433920001,"66":13602,"91":206,"85":15104,"24":11,"16":129539817124921344,"45":8833036637805201408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928433920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129539817124921344,"km_value":129539817124921.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833036637805201408,"description":"Unknown IO ID 45"} 
[2026-09-07 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928433920001,"power":13602,"unknown_91":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8833036637805201408}} 
[2026-09-07 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:33] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:33] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:40] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:40] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:40] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:40:40] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:40] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:40] local.INFO: IMEI packet received {"connection_id":173664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":173664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:40:41] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:41] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:41] local.INFO: IMEI packet received {"connection_id":173664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":173664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:40:45] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:45] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:40:45] local.INFO: IMEI packet received {"connection_id":173663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:40:45] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:45] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:40:45] local.INFO: IMEI packet received {"connection_id":173664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:40:46] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:46] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:40:46] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:40:46] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:40:46] 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-07 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:46] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:46] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:46] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc68578012d0707400702ba100011004f27..."} 
[2026-09-07 17:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc68578012d0707400702ba100011004f27..."} 
[2026-09-07 17:40:46] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc68578012d0707400702ba100011004f27..."} 
[2026-09-07 17:40:46] local.INFO: Packet analysis {"connection_id":173664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:46] local.INFO: Extracted packet for processing {"connection_id":173664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":755435328,"raw_latitude":117619216,"longitude_deg":75.5435328,"latitude_deg":11.7619216,"altitude":17,"angle":79,"satellites":39,"speed":26,"hex_longitude":"2d070740","hex_latitude":"0702ba10","is_valid_coordinates":true} 
[2026-09-07 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928445440001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30623421763158016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":496944101493301248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783003000,"timestamp_ms":1788783003000,"timestamp_seconds":1788783003,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc68578"} 
[2026-09-07 17:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928445440001,"66":14428,"60":206,"94":11008,"24":26,"16":30623421763158016,"45":496944101493301248},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,94,24,16,45]} 
[2026-09-07 17:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928445440001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30623421763158016,"km_value":30623421763158.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":496944101493301248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928445440001,"power":14428,"unknown_60":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":496944101493301248}} 
[2026-09-07 17:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":173664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:46] local.INFO: GPS data processed {"connection_id":173664,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:46] local.INFO: Acknowledgment sent {"connection_id":173664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:40:54] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:54] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:54] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:40:58] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:58] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:40:58] local.INFO: IMEI packet received {"connection_id":173665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":173665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:40:58] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc61430012cc39b4007623fd8004900d52f..."} 
[2026-09-07 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc61430012cc39b4007623fd8004900d52f..."} 
[2026-09-07 17:40:58] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc61430012cc39b4007623fd8004900d52f..."} 
[2026-09-07 17:40:58] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:58] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:40:58] local.INFO: GPS Element Parsed {"raw_longitude":751016768,"raw_latitude":123879384,"longitude_deg":75.1016768,"latitude_deg":12.3879384,"altitude":73,"angle":213,"satellites":47,"speed":23,"hex_longitude":"2cc39b40","hex_latitude":"07623fd8","is_valid_coordinates":true} 
[2026-09-07 17:40: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-07 17:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928440832001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401822382706130944,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4351251264512462848,"note":"Value kept but may cause issues"} 
[2026-09-07 17:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788782974000,"timestamp_ms":1788782974000,"timestamp_seconds":1788782974,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc61430"} 
[2026-09-07 17:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:40: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-07 17:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:40:58] 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-07 17:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928440832001,"66":27745,"178":206,"85":37120,"24":23,"16":401822382706130944,"44":-4351251264512462848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-09-07 17:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928440832001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:40:58] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 17:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401822382706130944,"km_value":401822382706130.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4351251264512462848,"description":"Unknown IO ID 44"} 
[2026-09-07 17:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928440832001,"power":27745,"unknown_178":206,"unknown_85":37120,"ignition":23,"odometer":null,"unknown_44":-4351251264512462848}} 
[2026-09-07 17:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:40:58] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:40:58] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:04] local.INFO: TCP Data received {"connection_id":174993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc60878012d7aa74005cc65b0000c007527..."} 
[2026-09-07 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc60878012d7aa74005cc65b0000c007527..."} 
[2026-09-07 17:41:04] local.INFO: Processing buffer {"connection_id":174993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc60878012d7aa74005cc65b0000c007527..."} 
[2026-09-07 17:41:04] local.INFO: Packet analysis {"connection_id":174993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:04] local.INFO: Extracted packet for processing {"connection_id":174993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763012928,"raw_latitude":97281456,"longitude_deg":76.3012928,"latitude_deg":9.7281456,"altitude":12,"angle":117,"satellites":39,"speed":4,"hex_longitude":"2d7aa740","hex_latitude":"05cc65b0","is_valid_coordinates":true} 
[2026-09-07 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928435968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129539937384005632,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835429175107231744,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788782971000,"timestamp_ms":1788782971000,"timestamp_seconds":1788782971,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc60878"} 
[2026-09-07 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:04] 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-07 17:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928435968001,"66":13830,"91":206,"85":15104,"24":4,"16":129539937384005632,"45":8835429175107231744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928435968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129539937384005632,"km_value":129539937384005.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835429175107231744,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928435968001,"power":13830,"unknown_91":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8835429175107231744}} 
[2026-09-07 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":174993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:04] local.INFO: GPS data processed {"connection_id":174993,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:04] local.INFO: Acknowledgment sent {"connection_id":174993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:17] local.INFO: TCP Data received {"connection_id":173663,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:17] local.INFO: Processing buffer {"connection_id":173663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc2b8d0012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:17] local.INFO: Packet analysis {"connection_id":173663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:41:17] local.INFO: Extracted packet for processing {"connection_id":173663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc2"} 
[2026-09-07 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928307968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788782754000,"timestamp_ms":1788782754000,"timestamp_seconds":1788782754,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc2b8d0"} 
[2026-09-07 17:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 17:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:17] 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-07 17:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928307968001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928307968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928307968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":173663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:17] local.INFO: GPS data processed {"connection_id":173663,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:17] local.INFO: Acknowledgment sent {"connection_id":173663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:17] local.INFO: TCP Data received {"connection_id":173664,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc76038012d078d000702d1f00015008427..."} 
[2026-09-07 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc76038012d078d000702d1f00015008427..."} 
[2026-09-07 17:41:17] local.INFO: Processing buffer {"connection_id":173664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc76038012d078d000702d1f00015008427..."} 
[2026-09-07 17:41:17] local.INFO: Packet analysis {"connection_id":173664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:17] local.INFO: Extracted packet for processing {"connection_id":173664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":755469568,"raw_latitude":117625328,"longitude_deg":75.5469568,"latitude_deg":11.7625328,"altitude":21,"angle":132,"satellites":39,"speed":31,"hex_longitude":"2d078d00","hex_latitude":"0702d1f0","is_valid_coordinates":true} 
[2026-09-07 17:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30625298663866368,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":542191204001501184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783059000,"timestamp_ms":1788783059000,"timestamp_seconds":1788783059,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc76038"} 
[2026-09-07 17:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:41:17] local.INFO: IO Element 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-07 17:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173664,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":14428,"59":206,"94":11008,"24":31,"16":30625298663866368,"45":542191204001501184},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30625298663866368,"km_value":30625298663866.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":542191204001501184,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":14428,"unknown_59":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":542191204001501184}} 
[2026-09-07 17:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":173664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780181,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:17] local.INFO: GPS data processed {"connection_id":173664,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:17] local.INFO: Acknowledgment sent {"connection_id":173664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:27] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:27] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:27] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:41:29] local.INFO: TCP Data received {"connection_id":173665,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc61c00012cc398c007623b90004900c82f..."} 
[2026-09-07 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc61c00012cc398c007623b90004900c82f..."} 
[2026-09-07 17:41:29] local.INFO: Processing buffer {"connection_id":173665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc61c00012cc398c007623b90004900c82f..."} 
[2026-09-07 17:41:29] local.INFO: Packet analysis {"connection_id":173665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:29] local.INFO: Extracted packet for processing {"connection_id":173665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":751016128,"raw_latitude":123878288,"longitude_deg":75.1016128,"latitude_deg":12.3878288,"altitude":73,"angle":200,"satellites":47,"speed":26,"hex_longitude":"2cc398c0","hex_latitude":"07623b90","is_valid_coordinates":true} 
[2026-09-07 17:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928441344001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401822442835673088,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4351814214466152448,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788782976000,"timestamp_ms":1788782976000,"timestamp_seconds":1788782976,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc61c00"} 
[2026-09-07 17:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:29] 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-07 17:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:41:29] 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-07 17:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928441344001,"66":27767,"178":206,"85":37120,"24":26,"16":401822442835673088,"44":-4351814214466152448},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-09-07 17:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928441344001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:29] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 17:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401822442835673088,"km_value":401822442835673.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4351814214466152448,"description":"Unknown IO ID 44"} 
[2026-09-07 17:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928441344001,"power":27767,"unknown_178":206,"unknown_85":37120,"ignition":26,"odometer":null,"unknown_44":-4351814214466152448}} 
[2026-09-07 17:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":173665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:29] local.INFO: GPS data processed {"connection_id":173665,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:29] local.INFO: Acknowledgment sent {"connection_id":173665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:32] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:32] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:41:32] local.INFO: IMEI packet received {"connection_id":174994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":174994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:33] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc60c60012d7aa84005cc6590000c006028..."} 
[2026-09-07 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc60c60012d7aa84005cc6590000c006028..."} 
[2026-09-07 17:41:33] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc60c60012d7aa84005cc6590000c006028..."} 
[2026-09-07 17:41:33] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:33] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763013184,"raw_latitude":97281424,"longitude_deg":76.3013184,"latitude_deg":9.7281424,"altitude":12,"angle":96,"satellites":40,"speed":9,"hex_longitude":"2d7aa840","hex_latitude":"05cc6590","is_valid_coordinates":true} 
[2026-09-07 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928440576001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129539950268907520,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838103187386118144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788782972000,"timestamp_ms":1788782972000,"timestamp_seconds":1788782972,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc60c60"} 
[2026-09-07 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:33] 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-07 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627192701184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3309131777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":933494784,"corrected_to":0} 
[2026-09-07 17:41:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2147863651,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3429001216,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":14,"raw_value":8647242763953243596,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.WARNING: Large IO value detected {"io_id":97,"raw_value":-7493978784087474170,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:33] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,91,85,24,241,157,16,55,160,194,45,192,99,11,39,10,66,162,64,139,128,1,240,110,227,123,204,4,113,205,6,53,145,104,36,239,2,5,14,97],"length":528,"final_offset":658,"validated_count":40,"validation_warnings":[{"io_id":204,"original":933494784,"validated":0},{"io_id":205,"original":1683685582,"validated":0}]} 
[2026-09-07 17:41:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864819938819571712,"timestamp_seconds":864819938819571.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928440576001,"66":13624,"91":206,"85":15104,"24":9,"16":129539950268907520,"45":8838103187386118144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928440576001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129539950268907520,"km_value":129539950268907.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838103187386118144,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928440576001,"power":13624,"unknown_91":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8838103187386118144}} 
[2026-09-07 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:33] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:33] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:44] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:44] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:44] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:41:45] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:45] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:45] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:45] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:41:45] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:45] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:45] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:41:45] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:45] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:48] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:48] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:41:48] local.INFO: IMEI packet received {"connection_id":176409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":176409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:49] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc646f8012cc3908007621780004700be2e..."} 
[2026-09-07 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc646f8012cc3908007621780004700be2e..."} 
[2026-09-07 17:41:49] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc646f8012cc3908007621780004700be2e..."} 
[2026-09-07 17:41:49] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:49] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":751014016,"raw_latitude":123869056,"longitude_deg":75.1014016,"latitude_deg":12.3869056,"altitude":71,"angle":190,"satellites":46,"speed":37,"hex_longitude":"2cc39080","hex_latitude":"07621780","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928441856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401822902397173760,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352517901908209664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788782987000,"timestamp_ms":1788782987000,"timestamp_seconds":1788782987,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc646f8"} 
[2026-09-07 17: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-07 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:41:49] 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-07 17:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928441856001,"66":27865,"178":206,"85":37120,"24":37,"16":401822902397173760,"44":-4352517901908209664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-09-07 17:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928441856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:49] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 17:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401822902397173760,"km_value":401822902397173.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352517901908209664,"description":"Unknown IO ID 44"} 
[2026-09-07 17:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928441856001,"power":27865,"unknown_178":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4352517901908209664}} 
[2026-09-07 17:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:49] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:49] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:49] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:49] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:41:49] local.INFO: IMEI packet received {"connection_id":176408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":176408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:50] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc76fd8012d0798c00702ca780014007727..."} 
[2026-09-07 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc76fd8012d0798c00702ca780014007727..."} 
[2026-09-07 17:41:50] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc76fd8012d0798c00702ca780014007727..."} 
[2026-09-07 17:41:50] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:50] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":755472576,"raw_latitude":117623416,"longitude_deg":75.5472576,"latitude_deg":11.7623416,"altitude":20,"angle":119,"satellites":39,"speed":37,"hex_longitude":"2d0798c0","hex_latitude":"0702ca78","is_valid_coordinates":true} 
[2026-09-07 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928463104001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30625466167590912,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":544091160093782016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783063000,"timestamp_ms":1788783063000,"timestamp_seconds":1788783063,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc76fd8"} 
[2026-09-07 17:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:50] 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-07 17:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928463104001,"66":14428,"59":206,"94":11008,"24":37,"16":30625466167590912,"45":544091160093782016},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928463104001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:50] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:41:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30625466167590912,"km_value":30625466167590.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":544091160093782016,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928463104001,"power":14428,"unknown_59":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":544091160093782016}} 
[2026-09-07 17:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780185,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:50] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:50] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:50] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:50] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:41:50] local.INFO: IMEI packet received {"connection_id":173899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":173899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:41:51] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:51] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:51] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:51] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41: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-07 17:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 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-07 17:41:51] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:51] 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-07 17:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:51] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:51] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:51] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc78b30012d07b0800702bfb00014006724..."} 
[2026-09-07 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc78b30012d07b0800702bfb00014006724..."} 
[2026-09-07 17:41:51] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc78b30012d07b0800702bfb00014006724..."} 
[2026-09-07 17:41:51] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:51] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":755478656,"raw_latitude":117620656,"longitude_deg":75.5478656,"latitude_deg":11.7620656,"altitude":20,"angle":103,"satellites":36,"speed":33,"hex_longitude":"2d07b080","hex_latitude":"0702bfb0","is_valid_coordinates":true} 
[2026-09-07 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-07 17:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928464128001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30625788290138112,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":547398491069642752,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783070000,"timestamp_ms":1788783070000,"timestamp_seconds":1788783070,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc78b30"} 
[2026-09-07 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-07 17:41: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-07 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":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:41: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-07 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-07 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-07 17:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928464128001,"66":14428,"59":206,"94":11008,"24":33,"16":30625788290138112,"45":547398491069642752},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928464128001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30625788290138112,"km_value":30625788290138.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":547398491069642752,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928464128001,"power":14428,"unknown_59":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":547398491069642752}} 
[2026-09-07 17:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:51] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:51] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:41:55] local.INFO: TCP Data received {"connection_id":173899,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:55] local.INFO: Processing buffer {"connection_id":173899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:41:55] local.INFO: Packet analysis {"connection_id":173899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:55] local.INFO: Extracted packet for processing {"connection_id":173899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:41:55] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:41: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-07 17: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-07 17: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-07 17:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:41:55] 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-07 17:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":173899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:41:55] local.INFO: GPS data processed {"connection_id":173899,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:41:55] local.INFO: Acknowledgment sent {"connection_id":173899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:04] local.INFO: TCP Data received {"connection_id":174994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc61430012d7aaa8005cc65b0000c005328..."} 
[2026-09-07 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc61430012d7aaa8005cc65b0000c005328..."} 
[2026-09-07 17:42:04] local.INFO: Processing buffer {"connection_id":174994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc61430012d7aaa8005cc65b0000c005328..."} 
[2026-09-07 17:42:04] local.INFO: Packet analysis {"connection_id":174994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:04] local.INFO: Extracted packet for processing {"connection_id":174994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763013760,"raw_latitude":97281456,"longitude_deg":76.301376,"latitude_deg":9.7281456,"altitude":12,"angle":83,"satellites":40,"speed":12,"hex_longitude":"2d7aaa80","hex_latitude":"05cc65b0","is_valid_coordinates":true} 
[2026-09-07 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928440832001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129539980333678592,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838384662362820608,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788782974000,"timestamp_ms":1788782974000,"timestamp_seconds":1788782974,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc61430"} 
[2026-09-07 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:04] 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-07 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":174994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":174994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":174994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928440832001,"66":13363,"91":206,"85":15104,"24":12,"16":129539980333678592,"45":8838384662362820608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928440832001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129539980333678592,"km_value":129539980333678.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838384662362820608,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928440832001,"power":13363,"unknown_91":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8838384662362820608}} 
[2026-09-07 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":174994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:04] local.INFO: GPS data processed {"connection_id":174994,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:04] local.INFO: Acknowledgment sent {"connection_id":174994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:07] local.INFO: TCP Data received {"connection_id":173666,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:42:07] local.INFO: Processing buffer {"connection_id":173666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:42:07] local.INFO: IMEI packet received {"connection_id":173666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":173666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:42:19] local.INFO: TCP Data received {"connection_id":176409,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc7ecd8012cc33340076065f8003500b431..."} 
[2026-09-07 17:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc7ecd8012cc33340076065f8003500b431..."} 
[2026-09-07 17:42:19] local.INFO: Processing buffer {"connection_id":176409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc7ecd8012cc33340076065f8003500b431..."} 
[2026-09-07 17:42:19] local.INFO: Packet analysis {"connection_id":176409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:19] local.INFO: Extracted packet for processing {"connection_id":176409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:19] local.INFO: GPS Element Parsed {"raw_longitude":750990144,"raw_latitude":123758072,"longitude_deg":75.0990144,"latitude_deg":12.3758072,"altitude":53,"angle":180,"satellites":49,"speed":57,"hex_longitude":"2cc33340","hex_latitude":"076065f8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928471040001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401828481559691264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380032080910721024,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788783095000,"timestamp_ms":1788783095000,"timestamp_seconds":1788783095,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc7ecd8"} 
[2026-09-07 17: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-07 17:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928471040001,"66":27908,"207":206,"85":37120,"24":57,"16":401828481559691264,"44":-4380032080910721024},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-09-07 17:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928471040001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:19] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 17:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401828481559691264,"km_value":401828481559691.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380032080910721024,"description":"Unknown IO ID 44"} 
[2026-09-07 17:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928471040001,"power":27908,"unknown_207":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4380032080910721024}} 
[2026-09-07 17:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":176409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:19] local.INFO: GPS data processed {"connection_id":176409,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:19] local.INFO: Acknowledgment sent {"connection_id":176409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:29] local.INFO: TCP Data received {"connection_id":176408,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc7b240012d07d4800702bad00015006125..."} 
[2026-09-07 17:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc7b240012d07d4800702bad00015006125..."} 
[2026-09-07 17:42:29] local.INFO: Processing buffer {"connection_id":176408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc7b240012d07d4800702bad00015006125..."} 
[2026-09-07 17:42:29] local.INFO: Packet analysis {"connection_id":176408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:29] local.INFO: Extracted packet for processing {"connection_id":176408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:29] local.INFO: GPS Element Parsed {"raw_longitude":755487872,"raw_latitude":117619408,"longitude_deg":75.5487872,"latitude_deg":11.7619408,"altitude":21,"angle":97,"satellites":37,"speed":37,"hex_longitude":"2d07d480","hex_latitude":"0702bad0","is_valid_coordinates":true} 
[2026-09-07 17:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928465920001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30626230671769600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554083521765814272,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788783080000,"timestamp_ms":1788783080000,"timestamp_seconds":1788783080,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc7b240"} 
[2026-09-07 17:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:42: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-07 17:42: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":92,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:29] 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-07 17:42: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-07 17:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928465920001,"66":14515,"59":206,"94":11008,"24":37,"16":30626230671769600,"45":554083521765814272},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928465920001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:29] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:42:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30626230671769600,"km_value":30626230671769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":554083521765814272,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928465920001,"power":14515,"unknown_59":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":554083521765814272}} 
[2026-09-07 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":176408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780191,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:30] local.INFO: GPS data processed {"connection_id":176408,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:30] local.INFO: Acknowledgment sent {"connection_id":176408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:32] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:32] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:32] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:42:36] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:36] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:36] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:42:37] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:37] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:42:37] local.INFO: IMEI packet received {"connection_id":173667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":173667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:38] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc63758012d7ab64005cc6838000c004829..."} 
[2026-09-07 17:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc63758012d7ab64005cc6838000c004829..."} 
[2026-09-07 17:42:38] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc63758012d7ab64005cc6838000c004829..."} 
[2026-09-07 17:42:38] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:38] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:38] local.INFO: GPS Element Parsed {"raw_longitude":763016768,"raw_latitude":97282104,"longitude_deg":76.3016768,"latitude_deg":9.7282104,"altitude":12,"angle":72,"satellites":41,"speed":15,"hex_longitude":"2d7ab640","hex_latitude":"05cc6838","is_valid_coordinates":true} 
[2026-09-07 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928441344001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129540126362566656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839017981060427776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788782983000,"timestamp_ms":1788782983000,"timestamp_seconds":1788782983,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc63758"} 
[2026-09-07 17:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:38] 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-07 17:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928441344001,"66":13798,"91":206,"85":15104,"24":15,"16":129540126362566656,"45":8839017981060427776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928441344001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:42:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129540126362566656,"km_value":129540126362566.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839017981060427776,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928441344001,"power":13798,"unknown_91":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8839017981060427776}} 
[2026-09-07 17:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:38] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:38] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:40] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:40] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:40] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:42:41] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:41] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:41] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:43] local.INFO: TCP Data received {"connection_id":173667,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc66a20012d7ac4c005cc6bd0000c00572a..."} 
[2026-09-07 17:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc66a20012d7ac4c005cc6bd0000c00572a..."} 
[2026-09-07 17:42:43] local.INFO: Processing buffer {"connection_id":173667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc66a20012d7ac4c005cc6bd0000c00572a..."} 
[2026-09-07 17:42:43] local.INFO: Packet analysis {"connection_id":173667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:43] local.INFO: Extracted packet for processing {"connection_id":173667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc6"} 
[2026-09-07 17:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763020480,"raw_latitude":97283024,"longitude_deg":76.302048,"latitude_deg":9.7283024,"altitude":12,"angle":87,"satellites":42,"speed":6,"hex_longitude":"2d7ac4c0","hex_latitude":"05cc6bd0","is_valid_coordinates":true} 
[2026-09-07 17:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928443648001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129540311046160384,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842325312036943872,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788782996000,"timestamp_ms":1788782996000,"timestamp_seconds":1788782996,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc66a20"} 
[2026-09-07 17:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:43] 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-07 17:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928443648001,"66":13656,"91":206,"85":15104,"24":6,"16":129540311046160384,"45":8842325312036943872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928443648001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129540311046160384,"km_value":129540311046160.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842325312036943872,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928443648001,"power":13656,"unknown_91":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8842325312036943872}} 
[2026-09-07 17:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":173667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:43] local.INFO: GPS data processed {"connection_id":173667,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:43] local.INFO: Acknowledgment sent {"connection_id":173667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:43] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:43] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:43] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:42:44] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:44] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:44] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:45] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:45] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:45] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:45] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:45] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:42:45] local.INFO: IMEI packet received {"connection_id":173900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":173900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:46] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:46] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:42:46] local.INFO: IMEI packet received {"connection_id":173668,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173668,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:46] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:42:46] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:42:46] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:46] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:42:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:42:46] 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-07 17:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:46] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:46] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:46] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc7d568012d07ed400702ba200013005126..."} 
[2026-09-07 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc7d568012d07ed400702ba200013005126..."} 
[2026-09-07 17:42:46] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc7d568012d07ed400702ba200013005126..."} 
[2026-09-07 17:42:46] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:46] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755494208,"raw_latitude":117619232,"longitude_deg":75.5494208,"latitude_deg":11.7619232,"altitude":19,"angle":81,"satellites":38,"speed":20,"hex_longitude":"2d07ed40","hex_latitude":"0702ba20","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928468480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30626531319480320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564216620927078400,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783089000,"timestamp_ms":1788783089000,"timestamp_seconds":1788783089,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc7d568"} 
[2026-09-07 17: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-07 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928468480001,"66":14428,"59":206,"94":11008,"24":20,"16":30626531319480320,"45":564216620927078400},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,94,24,16,45]} 
[2026-09-07 17:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928468480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30626531319480320,"km_value":30626531319480.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":564216620927078400,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928468480001,"power":14428,"unknown_59":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":564216620927078400}} 
[2026-09-07 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:46] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:46] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:49] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:49] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:42:49] local.INFO: IMEI packet received {"connection_id":176410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":176410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:42:50] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc7f890012cc334c0076054a0003300a82f..."} 
[2026-09-07 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc7f890012cc334c0076054a0003300a82f..."} 
[2026-09-07 17:42:50] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc7f890012cc334c0076054a0003300a82f..."} 
[2026-09-07 17:42:50] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:50] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":123753632,"longitude_deg":75.0990528,"latitude_deg":12.3753632,"altitude":51,"angle":168,"satellites":47,"speed":60,"hex_longitude":"2cc334c0","hex_latitude":"076054a0","is_valid_coordinates":true} 
[2026-09-07 17:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928472320001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401828696308056064,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381087612075116544,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783098000,"timestamp_ms":1788783098000,"timestamp_seconds":1788783098,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc7f890"} 
[2026-09-07 17:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:42: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-07 17:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928472320001,"66":27843,"207":206,"85":37120,"24":60,"16":401828696308056064,"44":-4381087612075116544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-09-07 17:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928472320001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:50] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-09-07 17:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401828696308056064,"km_value":401828696308056.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381087612075116544,"description":"Unknown IO ID 44"} 
[2026-09-07 17:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928472320001,"power":27843,"unknown_207":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4381087612075116544}} 
[2026-09-07 17:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:50] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:50] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:42:51] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc7ecd8012d0800000702bb900012005d26..."} 
[2026-09-07 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc7ecd8012d0800000702bb900012005d26..."} 
[2026-09-07 17:42:51] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc7ecd8012d0800000702bb900012005d26..."} 
[2026-09-07 17:42:51] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:51] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:42:51] local.INFO: GPS Element Parsed {"raw_longitude":755499008,"raw_latitude":117619600,"longitude_deg":75.5499008,"latitude_deg":11.76196,"altitude":18,"angle":93,"satellites":38,"speed":38,"hex_longitude":"2d080000","hex_latitude":"0702bb90","is_valid_coordinates":true} 
[2026-09-07 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-07 17:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928470784001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30626758952747008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":571183126600622080,"note":"Value kept but may cause issues"} 
[2026-09-07 17:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783095000,"timestamp_ms":1788783095000,"timestamp_seconds":1788783095,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc7ecd8"} 
[2026-09-07 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-07 17:42: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-07 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-07 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-07 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-07 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-07 17:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928470784001,"66":14428,"15":206,"94":11008,"24":38,"16":30626758952747008,"45":571183126600622080},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,94,24,16,45]} 
[2026-09-07 17:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928470784001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:42:51] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 17:42:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30626758952747008,"km_value":30626758952747.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":571183126600622080,"description":"Unknown IO ID 45"} 
[2026-09-07 17:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928470784001,"power":14428,"unknown_15":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":571183126600622080}} 
[2026-09-07 17:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780197,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:42:51] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:42:51] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:17] local.INFO: TCP Data received {"connection_id":173900,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:17] local.INFO: Processing buffer {"connection_id":173900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:17] local.INFO: Packet analysis {"connection_id":173900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:43:17] local.INFO: Extracted packet for processing {"connection_id":173900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:43:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:43:17] 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-07 17:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":173900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:17] local.INFO: GPS data processed {"connection_id":173900,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:17] local.INFO: Acknowledgment sent {"connection_id":173900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:21] local.INFO: TCP Data received {"connection_id":176410,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc8bbe0012cc32e80075f6c68001700ac32..."} 
[2026-09-07 17:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc8bbe0012cc32e80075f6c68001700ac32..."} 
[2026-09-07 17:43:21] local.INFO: Processing buffer {"connection_id":176410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc8bbe0012cc32e80075f6c68001700ac32..."} 
[2026-09-07 17:43:21] local.INFO: Packet analysis {"connection_id":176410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:43:21] local.INFO: Extracted packet for processing {"connection_id":176410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:43:21] local.INFO: GPS Element Parsed {"raw_longitude":750988928,"raw_latitude":123694184,"longitude_deg":75.0988928,"latitude_deg":12.3694184,"altitude":23,"angle":172,"satellites":50,"speed":59,"hex_longitude":"2cc32e80","hex_latitude":"075f6c68","is_valid_coordinates":true} 
[2026-09-07 17:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928484096001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401832063562416128,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4383831993111775232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783148000,"timestamp_ms":1788783148000,"timestamp_seconds":1788783148,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc8bbe0"} 
[2026-09-07 17:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 17:43: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-07 17:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:43:21] 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-07 17:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928484096001,"66":27713,"233":206,"85":37120,"24":59,"16":401832063562416128,"44":-4383831993111775232},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-07 17:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928484096001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:21] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-07 17:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401832063562416128,"km_value":401832063562416.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4383831993111775232,"description":"Unknown IO ID 44"} 
[2026-09-07 17:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928484096001,"power":27713,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4383831993111775232}} 
[2026-09-07 17:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":176410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:21] local.INFO: GPS data processed {"connection_id":176410,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:21] local.INFO: Acknowledgment sent {"connection_id":176410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:22] local.INFO: TCP Data received {"connection_id":173668,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc95ff0012d0921c0070296b80013009527..."} 
[2026-09-07 17:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc95ff0012d0921c0070296b80013009527..."} 
[2026-09-07 17:43:22] local.INFO: Processing buffer {"connection_id":173668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc95ff0012d0921c0070296b80013009527..."} 
[2026-09-07 17:43:22] local.INFO: Packet analysis {"connection_id":173668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:22] local.INFO: Extracted packet for processing {"connection_id":173668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755573184,"raw_latitude":117610168,"longitude_deg":75.5573184,"latitude_deg":11.7610168,"altitude":19,"angle":149,"satellites":39,"speed":18,"hex_longitude":"2d0921c0","hex_latitude":"070296b8","is_valid_coordinates":true} 
[2026-09-07 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928496384001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30630375315210240,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657807050681106432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788783190000,"timestamp_ms":1788783190000,"timestamp_seconds":1788783190,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc95ff0"} 
[2026-09-07 17:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:43: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-07 17:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:22] 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-07 17:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173668,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928496384001,"66":14265,"230":206,"94":11008,"24":18,"16":30630375315210240,"45":657807050681106432},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928496384001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:22] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30630375315210240,"km_value":30630375315210.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":657807050681106432,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928496384001,"power":14265,"unknown_230":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":657807050681106432}} 
[2026-09-07 17:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":173668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780200,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:22] local.INFO: GPS data processed {"connection_id":173668,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:22] local.INFO: Acknowledgment sent {"connection_id":173668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:27] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:27] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:27] local.INFO: IMEI packet received {"connection_id":174995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":174995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:43:28] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:28] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:28] local.INFO: IMEI packet received {"connection_id":174995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":174995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:30] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:30] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:43:30] local.INFO: IMEI packet received {"connection_id":174995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":174995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:31] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc95c08012d7acd8005cc7530000d00042b..."} 
[2026-09-07 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc95c08012d7acd8005cc7530000d00042b..."} 
[2026-09-07 17:43:31] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc95c08012d7acd8005cc7530000d00042b..."} 
[2026-09-07 17:43:31] local.INFO: Packet analysis {"connection_id":174995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:31] local.INFO: Extracted packet for processing {"connection_id":174995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":97285424,"longitude_deg":76.302272,"latitude_deg":9.7285424,"altitude":13,"angle":4,"satellites":43,"speed":9,"hex_longitude":"2d7acd80","hex_latitude":"05cc7530","is_valid_coordinates":true} 
[2026-09-07 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928493824001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129540577334132736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605245935616,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788783189000,"timestamp_ms":1788783189000,"timestamp_seconds":1788783189,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc95c08"} 
[2026-09-07 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:31] 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-07 17:43: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-07 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928493824001,"66":13852,"75":206,"85":15104,"24":9,"16":129540577334132736,"45":8848869605245935616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928493824001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129540577334132736,"km_value":129540577334132.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605245935616,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928493824001,"power":13852,"unknown_75":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848869605245935616}} 
[2026-09-07 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":174995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:31] local.INFO: GPS data processed {"connection_id":174995,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:31] local.INFO: Acknowledgment sent {"connection_id":174995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:31] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc9a258012d7acdc005cc89b0000c015a2c..."} 
[2026-09-07 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc9a258012d7acdc005cc89b0000c015a2c..."} 
[2026-09-07 17:43:31] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc9a258012d7acdc005cc89b0000c015a2c..."} 
[2026-09-07 17:43:31] local.INFO: Packet analysis {"connection_id":174995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:31] local.INFO: Extracted packet for processing {"connection_id":174995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":97290672,"longitude_deg":76.3022784,"latitude_deg":9.7290672,"altitude":12,"angle":346,"satellites":44,"speed":10,"hex_longitude":"2d7acdc0","hex_latitude":"05cc89b0","is_valid_coordinates":true} 
[2026-09-07 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928496384001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129540830737203200,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605246316544,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788783207000,"timestamp_ms":1788783207000,"timestamp_seconds":1788783207,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc9a258"} 
[2026-09-07 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:43: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":28,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:31] 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-07 17:43: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-07 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":174995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928496384001,"66":13820,"75":206,"85":15104,"24":10,"16":129540830737203200,"45":8848869605246316544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928496384001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129540830737203200,"km_value":129540830737203.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605246316544,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928496384001,"power":13820,"unknown_75":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848869605246316544}} 
[2026-09-07 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":174995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:31] local.INFO: GPS data processed {"connection_id":174995,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:31] local.INFO: Acknowledgment sent {"connection_id":174995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:37] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:37] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:37] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:43:40] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:40] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:40] local.INFO: IMEI packet received {"connection_id":176411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":176411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:43:40] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:40] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:40] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:43] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:43] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:43:43] local.INFO: IMEI packet received {"connection_id":174996,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":174996,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:44] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:44] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:44] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:43:44] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc963d8012d092200070294d0001200aa25..."} 
[2026-09-07 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc963d8012d092200070294d0001200aa25..."} 
[2026-09-07 17:43:44] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc963d8012d092200070294d0001200aa25..."} 
[2026-09-07 17:43:44] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:44] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755573248,"raw_latitude":117609680,"longitude_deg":75.5573248,"latitude_deg":11.760968,"altitude":18,"angle":170,"satellites":37,"speed":19,"hex_longitude":"2d092200","hex_latitude":"070294d0","is_valid_coordinates":true} 
[2026-09-07 17:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928496640001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30630401085014016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":658018156913539072,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788783191000,"timestamp_ms":1788783191000,"timestamp_seconds":1788783191,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc963d8"} 
[2026-09-07 17:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928496640001,"66":14396,"230":206,"94":11008,"24":19,"16":30630401085014016,"45":658018156913539072},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928496640001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:44] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:43:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30630401085014016,"km_value":30630401085014.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":658018156913539072,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928496640001,"power":14396,"unknown_230":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":658018156913539072}} 
[2026-09-07 17:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780203,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:44] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:44] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:45] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:45] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:45] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:45] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:45] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:43:45] local.INFO: IMEI packet received {"connection_id":176411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":176411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:46] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:46] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:43:46] local.INFO: Packet analysis {"connection_id":176411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:43:46] local.INFO: Extracted packet for processing {"connection_id":176411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 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-07 17:43:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:43:46] 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-07 17:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":176411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:46] local.INFO: GPS data processed {"connection_id":176411,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:46] local.INFO: Acknowledgment sent {"connection_id":176411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:43:49] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:49] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:43:49] local.INFO: IMEI packet received {"connection_id":176412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":176412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:43:50] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc8d350012cc33380075f49c8001700ab31..."} 
[2026-09-07 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc8d350012cc33380075f49c8001700ab31..."} 
[2026-09-07 17:43:50] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc8d350012cc33380075f49c8001700ab31..."} 
[2026-09-07 17:43:50] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:43:50] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":750990208,"raw_latitude":123685320,"longitude_deg":75.0990208,"latitude_deg":12.368532,"altitude":23,"angle":171,"satellites":49,"speed":59,"hex_longitude":"2cc33380","hex_latitude":"075f49c8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928485888001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401832497354113024,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382424618230847488,"note":"Value kept but may cause issues"} 
[2026-09-07 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783154000,"timestamp_ms":1788783154000,"timestamp_seconds":1788783154,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc8d350"} 
[2026-09-07 17: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-07 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 17:43: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-07 17: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-07 17: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-07 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:43: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-07 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928485888001,"66":27919,"233":206,"85":37120,"24":59,"16":401832497354113024,"44":-4382424618230847488},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-07 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928485888001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:43:50] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-07 17:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401832497354113024,"km_value":401832497354113.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382424618230847488,"description":"Unknown IO ID 44"} 
[2026-09-07 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928485888001,"power":27919,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4382424618230847488}} 
[2026-09-07 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:43:50] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:43:50] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:02] local.INFO: TCP Data received {"connection_id":174995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc9aa28012d7accc005cc8b58000c013e2c..."} 
[2026-09-07 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc9aa28012d7accc005cc8b58000c013e2c..."} 
[2026-09-07 17:44:02] local.INFO: Processing buffer {"connection_id":174995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc9aa28012d7accc005cc8b58000c013e2c..."} 
[2026-09-07 17:44:02] local.INFO: Packet analysis {"connection_id":174995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:44:02] local.INFO: Extracted packet for processing {"connection_id":174995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":97291096,"longitude_deg":76.3022528,"latitude_deg":9.7291096,"altitude":12,"angle":318,"satellites":44,"speed":10,"hex_longitude":"2d7accc0","hex_latitude":"05cc8b58","is_valid_coordinates":true} 
[2026-09-07 17:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928500992001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129540856507006976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939973991837696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788783209000,"timestamp_ms":1788783209000,"timestamp_seconds":1788783209,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc9aa28"} 
[2026-09-07 17:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 17:44: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-07 17:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":174995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":174995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928500992001,"66":13580,"75":206,"85":15104,"24":10,"16":129540856507006976,"45":8848939973991837696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928500992001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129540856507006976,"km_value":129540856507006.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939973991837696,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928500992001,"power":13580,"unknown_75":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848939973991837696}} 
[2026-09-07 17:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":174995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:03] local.INFO: GPS data processed {"connection_id":174995,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:03] local.INFO: Acknowledgment sent {"connection_id":174995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:16] local.INFO: TCP Data received {"connection_id":174996,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc96ba8012d09218007028fe8001200b626..."} 
[2026-09-07 17:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc96ba8012d09218007028fe8001200b626..."} 
[2026-09-07 17:44:16] local.INFO: Processing buffer {"connection_id":174996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc96ba8012d09218007028fe8001200b626..."} 
[2026-09-07 17:44:16] local.INFO: Packet analysis {"connection_id":174996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:44:16] local.INFO: Extracted packet for processing {"connection_id":174996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc9"} 
[2026-09-07 17:44:16] local.INFO: GPS Element Parsed {"raw_longitude":755573120,"raw_latitude":117608424,"longitude_deg":75.557312,"latitude_deg":11.7608424,"altitude":18,"angle":182,"satellites":38,"speed":25,"hex_longitude":"2d092180","hex_latitude":"07028fe8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928496896001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30630461214556160,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":658088525657591808,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788783193000,"timestamp_ms":1788783193000,"timestamp_seconds":1788783193,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc96ba8"} 
[2026-09-07 17: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-07 17:44: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-07 17:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":174996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":174996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":174996,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928496896001,"66":14559,"230":206,"94":11008,"24":25,"16":30630461214556160,"45":658088525657591808},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928496896001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:16] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:44:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30630461214556160,"km_value":30630461214556.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":658088525657591808,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928496896001,"power":14559,"unknown_230":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":658088525657591808}} 
[2026-09-07 17:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":174996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:16] local.INFO: GPS data processed {"connection_id":174996,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:16] local.INFO: Acknowledgment sent {"connection_id":174996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:17] local.INFO: TCP Data received {"connection_id":176411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:17] local.INFO: Processing buffer {"connection_id":176411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:17] local.INFO: Packet analysis {"connection_id":176411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:44:17] local.INFO: Extracted packet for processing {"connection_id":176411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:44:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:44:17] 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-07 17:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":176411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:17] local.INFO: GPS data processed {"connection_id":176411,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:17] local.INFO: Acknowledgment sent {"connection_id":176411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:21] local.INFO: TCP Data received {"connection_id":176412,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc8eac0012cc33840075f2730001600ae2c..."} 
[2026-09-07 17:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc8eac0012cc33840075f2730001600ae2c..."} 
[2026-09-07 17:44:21] local.INFO: Processing buffer {"connection_id":176412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc8eac0012cc33840075f2730001600ae2c..."} 
[2026-09-07 17:44:21] local.INFO: Packet analysis {"connection_id":176412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:44:21] local.INFO: Extracted packet for processing {"connection_id":176412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc8"} 
[2026-09-07 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":750991424,"raw_latitude":123676464,"longitude_deg":75.0991424,"latitude_deg":12.3676464,"altitude":22,"angle":174,"satellites":44,"speed":59,"hex_longitude":"2cc33840","hex_latitude":"075f2730","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928487424001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401832931145809920,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381017243349563392,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783160000,"timestamp_ms":1788783160000,"timestamp_seconds":1788783160,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc8eac0"} 
[2026-09-07 17: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-07 17:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:44:21] 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-07 17:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928487424001,"66":27919,"233":206,"85":37120,"24":59,"16":401832931145809920,"44":-4381017243349563392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,85,24,16,44]} 
[2026-09-07 17:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928487424001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:21] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-09-07 17:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401832931145809920,"km_value":401832931145809.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381017243349563392,"description":"Unknown IO ID 44"} 
[2026-09-07 17:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928487424001,"power":27919,"unknown_233":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4381017243349563392}} 
[2026-09-07 17:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":176412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:21] local.INFO: GPS data processed {"connection_id":176412,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:21] local.INFO: Acknowledgment sent {"connection_id":176412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:24] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:24] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:24] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:44:25] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:25] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:25] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:27] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:27] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:27] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:32] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:32] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:44:32] local.INFO: IMEI packet received {"connection_id":176413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":176413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:33] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca5220012d7ab0c005ccb910000c014328..."} 
[2026-09-07 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca5220012d7ab0c005ccb910000c014328..."} 
[2026-09-07 17:44:33] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca5220012d7ab0c005ccb910000c014328..."} 
[2026-09-07 17:44:33] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:33] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763015360,"raw_latitude":97302800,"longitude_deg":76.301536,"latitude_deg":9.73028,"altitude":12,"angle":323,"satellites":40,"speed":11,"hex_longitude":"2d7ab0c0","hex_latitude":"05ccb910","is_valid_coordinates":true} 
[2026-09-07 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928512256001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129541616716218368,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840917937158623232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783252000,"timestamp_ms":1788783252000,"timestamp_seconds":1788783252,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca5220"} 
[2026-09-07 17:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:33] 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-07 17:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928512256001,"66":13678,"75":206,"85":15104,"24":11,"16":129541616716218368,"45":8840917937158623232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928512256001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129541616716218368,"km_value":129541616716218.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840917937158623232,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928512256001,"power":13678,"unknown_75":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8840917937158623232}} 
[2026-09-07 17:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:33] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:33] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:40] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:40] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:40] local.INFO: IMEI packet received {"connection_id":174998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":174998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:44:41] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:44:41] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:41] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:43] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:43] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:43] local.INFO: IMEI packet received {"connection_id":176414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":176414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:44:43] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:43] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:43] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:44] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:44] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:44] local.INFO: IMEI packet received {"connection_id":176414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:45] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:45] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:44:45] local.INFO: IMEI packet received {"connection_id":174998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":174998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:45] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:45] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:44:45] local.INFO: IMEI packet received {"connection_id":174999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":174999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:46] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:46] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:44:46] local.INFO: Packet analysis {"connection_id":174998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:44:46] local.INFO: Extracted packet for processing {"connection_id":174998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 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-07 17:44:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:44:46] 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-07 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":174998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:46] local.INFO: GPS data processed {"connection_id":174998,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:46] local.INFO: Acknowledgment sent {"connection_id":174998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:46] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca7930012d09978007024e40001a005128..."} 
[2026-09-07 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca7930012d09978007024e40001a005128..."} 
[2026-09-07 17:44:46] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca7930012d09978007024e40001a005128..."} 
[2026-09-07 17:44:46] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:46] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":755603328,"raw_latitude":117591616,"longitude_deg":75.5603328,"latitude_deg":11.7591616,"altitude":26,"angle":81,"satellites":40,"speed":20,"hex_longitude":"2d099780","hex_latitude":"07024e40","is_valid_coordinates":true} 
[2026-09-07 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-07 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928512768001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30632733252255744,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684687910952366080,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783262000,"timestamp_ms":1788783262000,"timestamp_seconds":1788783262,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca7930"} 
[2026-09-07 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-07 17:44: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-07 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928512768001,"66":14461,"230":206,"94":11008,"24":20,"16":30632733252255744,"45":684687910952366080},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,94,24,16,45]} 
[2026-09-07 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928512768001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30632733252255744,"km_value":30632733252255.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":684687910952366080,"description":"Unknown IO ID 45"} 
[2026-09-07 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928512768001,"power":14461,"unknown_230":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":684687910952366080}} 
[2026-09-07 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780212,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:46] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:46] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:44:48] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:48] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:44:48] local.INFO: IMEI packet received {"connection_id":176414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":176414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:44:49] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca1788012cc2cb80075e0e18001300ef29..."} 
[2026-09-07 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca1788012cc2cb80075e0e18001300ef29..."} 
[2026-09-07 17:44:49] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca1788012cc2cb80075e0e18001300ef29..."} 
[2026-09-07 17:44:49] local.INFO: Packet analysis {"connection_id":176414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:49] local.INFO: Extracted packet for processing {"connection_id":176414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:44:49] local.INFO: GPS Element Parsed {"raw_longitude":750963584,"raw_latitude":123604504,"longitude_deg":75.0963584,"latitude_deg":12.3604504,"altitude":19,"angle":239,"satellites":41,"speed":40,"hex_longitude":"2cc2cb80","hex_latitude":"075e0e18","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928505856001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401837024249643008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4401213072947980288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788783237000,"timestamp_ms":1788783237000,"timestamp_seconds":1788783237,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca1788"} 
[2026-09-07 17: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-07 17:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:44:49] 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-07 17:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928505856001,"66":27789,"208":206,"85":37120,"24":40,"16":401837024249643008,"44":-4401213072947980288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-07 17:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928505856001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:44:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 17:44:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401837024249643008,"km_value":401837024249643.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:44:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4401213072947980288,"description":"Unknown IO ID 44"} 
[2026-09-07 17:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928505856001,"power":27789,"unknown_208":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4401213072947980288}} 
[2026-09-07 17:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":176414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:44:49] local.INFO: GPS data processed {"connection_id":176414,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:44:49] local.INFO: Acknowledgment sent {"connection_id":176414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:04] local.INFO: TCP Data received {"connection_id":176413,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca5608012d7ab00005ccb9f8000c013328..."} 
[2026-09-07 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca5608012d7ab00005ccb9f8000c013328..."} 
[2026-09-07 17:45:04] local.INFO: Processing buffer {"connection_id":176413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca5608012d7ab00005ccb9f8000c013328..."} 
[2026-09-07 17:45:04] local.INFO: Packet analysis {"connection_id":176413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:04] local.INFO: Extracted packet for processing {"connection_id":176413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763015168,"raw_latitude":97303032,"longitude_deg":76.3015168,"latitude_deg":9.7303032,"altitude":12,"angle":307,"satellites":40,"speed":11,"hex_longitude":"2d7ab000","hex_latitude":"05ccb9f8","is_valid_coordinates":true} 
[2026-09-07 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928512512001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129541633896087552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840777199670333440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783253000,"timestamp_ms":1788783253000,"timestamp_seconds":1788783253,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca5608"} 
[2026-09-07 17:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:45: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-07 17:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928512512001,"66":13678,"75":206,"85":15104,"24":11,"16":129541633896087552,"45":8840777199670333440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928512512001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129541633896087552,"km_value":129541633896087.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840777199670333440,"description":"Unknown IO ID 45"} 
[2026-09-07 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928512512001,"power":13678,"unknown_75":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8840777199670333440}} 
[2026-09-07 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":176413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:04] local.INFO: GPS data processed {"connection_id":176413,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:04] local.INFO: Acknowledgment sent {"connection_id":176413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:17] local.INFO: TCP Data received {"connection_id":174998,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:17] local.INFO: Processing buffer {"connection_id":174998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:17] local.INFO: Packet analysis {"connection_id":174998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:45:17] local.INFO: Extracted packet for processing {"connection_id":174998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:45:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:45:17] 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-07 17:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":174998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:17] local.INFO: GPS data processed {"connection_id":174998,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:17] local.INFO: Acknowledgment sent {"connection_id":174998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:18] local.INFO: TCP Data received {"connection_id":174999,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb0da0012d09e18007023fd8000f007627..."} 
[2026-09-07 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb0da0012d09e18007023fd8000f007627..."} 
[2026-09-07 17:45:18] local.INFO: Processing buffer {"connection_id":174999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb0da0012d09e18007023fd8000f007627..."} 
[2026-09-07 17:45:18] local.INFO: Packet analysis {"connection_id":174999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:45:18] local.INFO: Extracted packet for processing {"connection_id":174999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":755622272,"raw_latitude":117587928,"longitude_deg":75.5622272,"latitude_deg":11.7587928,"altitude":15,"angle":118,"satellites":39,"speed":18,"hex_longitude":"2d09e180","hex_latitude":"07023fd8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928524288001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30633944433033216,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711146558762123264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783300000,"timestamp_ms":1788783300000,"timestamp_seconds":1788783300,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb0da0"} 
[2026-09-07 17: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-07 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928524288001,"66":13646,"19":206,"94":11008,"24":18,"16":30633944433033216,"45":711146558762123264},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928524288001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:45:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30633944433033216,"km_value":30633944433033.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":711146558762123264,"description":"Unknown IO ID 45"} 
[2026-09-07 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928524288001,"power":13646,"unknown_19":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":711146558762123264}} 
[2026-09-07 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":174999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780216,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:18] local.INFO: GPS data processed {"connection_id":174999,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:18] local.INFO: Acknowledgment sent {"connection_id":174999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:20] local.INFO: TCP Data received {"connection_id":176414,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca36c8012cc2acc0075dfc00001300ec22..."} 
[2026-09-07 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca36c8012cc2acc0075dfc00001300ec22..."} 
[2026-09-07 17:45:20] local.INFO: Processing buffer {"connection_id":176414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca36c8012cc2acc0075dfc00001300ec22..."} 
[2026-09-07 17:45:20] local.INFO: Packet analysis {"connection_id":176414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:20] local.INFO: Extracted packet for processing {"connection_id":176414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:20] local.INFO: GPS Element Parsed {"raw_longitude":750955712,"raw_latitude":123599872,"longitude_deg":75.0955712,"latitude_deg":12.3599872,"altitude":19,"angle":236,"satellites":34,"speed":49,"hex_longitude":"2cc2acc0","hex_latitude":"075dfc00","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928508672001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401837462336307200,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410290640948160512,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788783245000,"timestamp_ms":1788783245000,"timestamp_seconds":1788783245,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca36c8"} 
[2026-09-07 17: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-07 17:45: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-07 17: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:20] 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-07 17: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-07 17: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-07 17:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:45:20] 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-07 17:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928508672001,"66":27745,"208":206,"85":37120,"24":49,"16":401837462336307200,"44":-4410290640948160512},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-09-07 17:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928508672001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:20] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 17:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401837462336307200,"km_value":401837462336307.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410290640948160512,"description":"Unknown IO ID 44"} 
[2026-09-07 17:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928508672001,"power":27745,"unknown_208":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4410290640948160512}} 
[2026-09-07 17:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":176414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:20] local.INFO: GPS data processed {"connection_id":176414,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:20] local.INFO: Acknowledgment sent {"connection_id":176414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:27] local.INFO: TCP Data received {"connection_id":173901,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:27] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:27] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:45:32] local.INFO: TCP Data received {"connection_id":173901,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:32] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:45:32] local.INFO: IMEI packet received {"connection_id":173901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":173901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:45:33] local.INFO: TCP Data received {"connection_id":173901,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca59f0012d7aaec005ccba90000c012429..."} 
[2026-09-07 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca59f0012d7aaec005ccba90000c012429..."} 
[2026-09-07 17:45:33] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca59f0012d7aaec005ccba90000c012429..."} 
[2026-09-07 17:45:33] local.INFO: Packet analysis {"connection_id":173901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:33] local.INFO: Extracted packet for processing {"connection_id":173901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763014848,"raw_latitude":97303184,"longitude_deg":76.3014848,"latitude_deg":9.7303184,"altitude":12,"angle":292,"satellites":41,"speed":13,"hex_longitude":"2d7aaec0","hex_latitude":"05ccba90","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928512768001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129541651075956736,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840566093437859840,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783254000,"timestamp_ms":1788783254000,"timestamp_seconds":1788783254,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca59f0"} 
[2026-09-07 17: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-07 17:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928512768001,"66":13765,"75":206,"85":15104,"24":13,"16":129541651075956736,"45":8840566093437859840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928512768001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129541651075956736,"km_value":129541651075956.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840566093437859840,"description":"Unknown IO ID 45"} 
[2026-09-07 17:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928512768001,"power":13765,"unknown_75":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8840566093437859840}} 
[2026-09-07 17:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":173901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:33] local.INFO: GPS data processed {"connection_id":173901,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:33] local.INFO: Acknowledgment sent {"connection_id":173901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:40] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:40] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:40] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:45:44] local.INFO: TCP Data received {"connection_id":173670,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: Processing buffer {"connection_id":173670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: IMEI packet received {"connection_id":173670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:45:44] local.INFO: TCP Data received {"connection_id":173670,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: Processing buffer {"connection_id":173670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:44] local.INFO: IMEI packet received {"connection_id":173670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:45:45] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:45] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:45:45] local.INFO: IMEI packet received {"connection_id":176415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:45:46] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:46] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:45:46] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:45:46] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 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-07 17:45:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:45:46] 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-07 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:46] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:46] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:45:49] local.INFO: TCP Data received {"connection_id":173670,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:49] local.INFO: Processing buffer {"connection_id":173670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:45:49] local.INFO: IMEI packet received {"connection_id":173670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:45:50] local.INFO: TCP Data received {"connection_id":173670,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bca4a50012cc29880075dec10001300e026..."} 
[2026-09-07 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bca4a50012cc29880075dec10001300e026..."} 
[2026-09-07 17:45:50] local.INFO: Processing buffer {"connection_id":173670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bca4a50012cc29880075dec10001300e026..."} 
[2026-09-07 17:45:50] local.INFO: Packet analysis {"connection_id":173670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:50] local.INFO: Extracted packet for processing {"connection_id":173670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bca"} 
[2026-09-07 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":750950528,"raw_latitude":123595792,"longitude_deg":75.0950528,"latitude_deg":12.3595792,"altitude":19,"angle":224,"satellites":38,"speed":53,"hex_longitude":"2cc29880","hex_latitude":"075dec10","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928510720001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401837775868919808,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4418945996483198976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783250000,"timestamp_ms":1788783250000,"timestamp_seconds":1788783250,"priority":1,"record_length":96,"hex_timestamp":"000001a07bca4a50"} 
[2026-09-07 17: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-07 17:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 17:45:50] 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-07 17: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-07 17: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-07 17:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:45: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-07 17:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928510720001,"66":27821,"255":206,"85":37120,"24":53,"16":401837775868919808,"44":-4418945996483198976},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928510720001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:45:50] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401837775868919808,"km_value":401837775868919.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4418945996483198976,"description":"Unknown IO ID 44"} 
[2026-09-07 17:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928510720001,"power":27821,"unknown_255":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4418945996483198976}} 
[2026-09-07 17:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":173670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:45:50] local.INFO: GPS data processed {"connection_id":173670,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:45:50] local.INFO: Acknowledgment sent {"connection_id":173670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:04] local.INFO: TCP Data received {"connection_id":173901,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbd8c0012d7aa34005ccf428000c000d28..."} 
[2026-09-07 17:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbd8c0012d7aa34005ccf428000c000d28..."} 
[2026-09-07 17:46:04] local.INFO: Processing buffer {"connection_id":173901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbd8c0012d7aa34005ccf428000c000d28..."} 
[2026-09-07 17:46:04] local.INFO: Packet analysis {"connection_id":173901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:04] local.INFO: Extracted packet for processing {"connection_id":173901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97317928,"longitude_deg":76.3011904,"latitude_deg":9.7317928,"altitude":12,"angle":13,"satellites":40,"speed":1,"hex_longitude":"2d7aa340","hex_latitude":"05ccf428","is_valid_coordinates":true} 
[2026-09-07 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928533504001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542501479481344,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836484706279174144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783352000,"timestamp_ms":1788783352000,"timestamp_seconds":1788783352,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbd8c0"} 
[2026-09-07 17:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 17:46: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-07 17:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928533504001,"66":13722,"75":206,"85":15104,"24":1,"16":129542501479481344,"45":8836484706279174144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928533504001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542501479481344,"km_value":129542501479481.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836484706279174144,"description":"Unknown IO ID 45"} 
[2026-09-07 17:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928533504001,"power":13722,"unknown_75":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8836484706279174144}} 
[2026-09-07 17:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":173901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:04] local.INFO: GPS data processed {"connection_id":173901,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:04] local.INFO: Acknowledgment sent {"connection_id":173901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:19] local.INFO: TCP Data received {"connection_id":176415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:46:19] local.INFO: Processing buffer {"connection_id":176415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bc75098012d196500071ff0200040011f1f..."} 
[2026-09-07 17:46:19] local.INFO: Packet analysis {"connection_id":176415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:46:19] local.INFO: Extracted packet for processing {"connection_id":176415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bc7"} 
[2026-09-07 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928385024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46: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-07 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788783055000,"timestamp_ms":1788783055000,"timestamp_seconds":1788783055,"priority":1,"record_length":96,"hex_timestamp":"000001a07bc75098"} 
[2026-09-07 17: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-07 17:46:19] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46:19] 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-07 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928385024001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928385024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928385024001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":176415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:19] local.INFO: GPS data processed {"connection_id":176415,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:19] local.INFO: Acknowledgment sent {"connection_id":176415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:21] local.INFO: TCP Data received {"connection_id":173670,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb4838012cc30940075cdf80000f008f2d..."} 
[2026-09-07 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb4838012cc30940075cdf80000f008f2d..."} 
[2026-09-07 17:46:21] local.INFO: Processing buffer {"connection_id":173670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb4838012cc30940075cdf80000f008f2d..."} 
[2026-09-07 17:46:21] local.INFO: Packet analysis {"connection_id":173670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:21] local.INFO: Extracted packet for processing {"connection_id":173670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":750979392,"raw_latitude":123527040,"longitude_deg":75.0979392,"latitude_deg":12.352704,"altitude":15,"angle":143,"satellites":45,"speed":46,"hex_longitude":"2cc30940","hex_latitude":"075cdf80","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928527616001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401842023591575552,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4396427998364137472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783315000,"timestamp_ms":1788783315000,"timestamp_seconds":1788783315,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb4838"} 
[2026-09-07 17: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-07 17:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17: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-07 17: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-07 17: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-07 17:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:21] 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-07 17:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928527616001,"66":27876,"255":206,"85":37120,"24":46,"16":401842023591575552,"44":-4396427998364137472},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928527616001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:21] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401842023591575552,"km_value":401842023591575.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4396427998364137472,"description":"Unknown IO ID 44"} 
[2026-09-07 17:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928527616001,"power":27876,"unknown_255":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4396427998364137472}} 
[2026-09-07 17:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":173670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:21] local.INFO: GPS data processed {"connection_id":173670,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:21] local.INFO: Acknowledgment sent {"connection_id":173670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:27] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:27] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:27] local.INFO: IMEI packet received {"connection_id":173902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":173902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:46:32] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:32] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:46:32] local.INFO: IMEI packet received {"connection_id":173902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":173902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:46:33] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe090012d7aa34005ccf4a8000c01642a..."} 
[2026-09-07 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe090012d7aa34005ccf4a8000c01642a..."} 
[2026-09-07 17:46:33] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe090012d7aa34005ccf4a8000c01642a..."} 
[2026-09-07 17:46:33] local.INFO: Packet analysis {"connection_id":173902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:33] local.INFO: Extracted packet for processing {"connection_id":173902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97318056,"longitude_deg":76.3011904,"latitude_deg":9.7318056,"altitude":12,"angle":356,"satellites":42,"speed":2,"hex_longitude":"2d7aa340","hex_latitude":"05ccf4a8","is_valid_coordinates":true} 
[2026-09-07 17:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928538112001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542510069415936,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488612352,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783354000,"timestamp_ms":1788783354000,"timestamp_seconds":1788783354,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe090"} 
[2026-09-07 17:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-07 17:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928538112001,"66":13319,"75":206,"85":15104,"24":2,"16":129542510069415936,"45":8836977287488612352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928538112001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542510069415936,"km_value":129542510069415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488612352,"description":"Unknown IO ID 45"} 
[2026-09-07 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928538112001,"power":13319,"unknown_75":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836977287488612352}} 
[2026-09-07 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":173902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:33] local.INFO: GPS data processed {"connection_id":173902,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:33] local.INFO: Acknowledgment sent {"connection_id":173902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:45] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:45] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:45] local.INFO: IMEI packet received {"connection_id":175001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":175001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:46:50] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:50] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:46:50] local.INFO: IMEI packet received {"connection_id":175001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":175001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:46:51] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:51] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:51] local.INFO: Packet analysis {"connection_id":175001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:51] local.INFO: Extracted packet for processing {"connection_id":175001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46: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-07 17:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46:51] 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-07 17:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":175001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:51] local.INFO: GPS data processed {"connection_id":175001,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:51] local.INFO: Acknowledgment sent {"connection_id":175001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:51] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:51] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:51] local.INFO: IMEI packet received {"connection_id":173672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":173672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:46:54] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:54] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:46:54] local.INFO: IMEI packet received {"connection_id":173672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":173672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:46:55] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb57d8012cc31240075cd068000e009b31..."} 
[2026-09-07 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb57d8012cc31240075cd068000e009b31..."} 
[2026-09-07 17:46:55] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb57d8012cc31240075cd068000e009b31..."} 
[2026-09-07 17:46:55] local.INFO: Packet analysis {"connection_id":173672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:55] local.INFO: Extracted packet for processing {"connection_id":173672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:55] local.INFO: GPS Element Parsed {"raw_longitude":750981696,"raw_latitude":123523176,"longitude_deg":75.0981696,"latitude_deg":12.3523176,"altitude":14,"angle":155,"satellites":49,"speed":41,"hex_longitude":"2cc31240","hex_latitude":"075cd068","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928528640001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401842238339940352,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4392909561156108288,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788783319000,"timestamp_ms":1788783319000,"timestamp_seconds":1788783319,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb57d8"} 
[2026-09-07 17: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-07 17:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:55] 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-07 17:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928528640001,"66":27908,"255":206,"85":37120,"24":41,"16":401842238339940352,"44":-4392909561156108288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928528640001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401842238339940352,"km_value":401842238339940.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4392909561156108288,"description":"Unknown IO ID 44"} 
[2026-09-07 17:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928528640001,"power":27908,"unknown_255":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4392909561156108288}} 
[2026-09-07 17:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":173672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:55] local.INFO: GPS data processed {"connection_id":173672,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:55] local.INFO: Acknowledgment sent {"connection_id":173672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:55] local.INFO: TCP Data received {"connection_id":175001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:55] local.INFO: Processing buffer {"connection_id":175001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:46:55] local.INFO: Packet analysis {"connection_id":175001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:55] local.INFO: Extracted packet for processing {"connection_id":175001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:46:55] 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-07 17: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-07 17: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-07 17: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-07 17: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-07 17:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:46: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-07 17:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":175001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:55] local.INFO: GPS data processed {"connection_id":175001,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:55] local.INFO: Acknowledgment sent {"connection_id":175001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:46:56] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb7ee8012cc32040075caec8000d009e2e..."} 
[2026-09-07 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb7ee8012cc32040075caec8000d009e2e..."} 
[2026-09-07 17:46:56] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb7ee8012cc32040075caec8000d009e2e..."} 
[2026-09-07 17:46:56] local.INFO: Packet analysis {"connection_id":173672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:56] local.INFO: Extracted packet for processing {"connection_id":173672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":750985280,"raw_latitude":123514568,"longitude_deg":75.098528,"latitude_deg":12.3514568,"altitude":13,"angle":158,"satellites":46,"speed":32,"hex_longitude":"2cc32040","hex_latitude":"075caec8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928529664001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401842689311506432,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4390376286366701568,"note":"Value kept but may cause issues"} 
[2026-09-07 17:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788783329000,"timestamp_ms":1788783329000,"timestamp_seconds":1788783329,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb7ee8"} 
[2026-09-07 17: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-07 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 17: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-07 17: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-07 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:46:56] 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-07 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928529664001,"66":27767,"255":206,"85":37120,"24":32,"16":401842689311506432,"44":-4390376286366701568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928529664001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:46:56] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401842689311506432,"km_value":401842689311506.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4390376286366701568,"description":"Unknown IO ID 44"} 
[2026-09-07 17:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928529664001,"power":27767,"unknown_255":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4390376286366701568}} 
[2026-09-07 17:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":173672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:46:56] local.INFO: GPS data processed {"connection_id":173672,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:46:56] local.INFO: Acknowledgment sent {"connection_id":173672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:47:04] local.INFO: TCP Data received {"connection_id":173902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbec48012d7aa34005ccf5f8000c000d2a..."} 
[2026-09-07 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbec48012d7aa34005ccf5f8000c000d2a..."} 
[2026-09-07 17:47:04] local.INFO: Processing buffer {"connection_id":173902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbec48012d7aa34005ccf5f8000c000d2a..."} 
[2026-09-07 17:47:04] local.INFO: Packet analysis {"connection_id":173902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:04] local.INFO: Extracted packet for processing {"connection_id":173902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97318392,"longitude_deg":76.3011904,"latitude_deg":9.7318392,"altitude":12,"angle":13,"satellites":42,"speed":4,"hex_longitude":"2d7aa340","hex_latitude":"05ccf5f8","is_valid_coordinates":true} 
[2026-09-07 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928538624001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542522954317824,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488645120,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783357000,"timestamp_ms":1788783357000,"timestamp_seconds":1788783357,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbec48"} 
[2026-09-07 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3408971777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-3744743042891109632,"corrected_to":0} 
[2026-09-07 17:47:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2818649466,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3436185600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Large IO value detected {"io_id":104,"raw_value":57887410315220283,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-5492138450735972347,"corrected_to":0} 
[2026-09-07 17:47:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,75,85,24,241,157,16,58,160,216,45,64,244,12,40,10,66,146,128,42,76,1,240,227,123,204,4,113,205,226,159,72,239,53,2,5,14,104,202],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":204,"original":-3744743042891109632,"validated":0},{"io_id":205,"original":2823487694,"validated":0},{"io_id":202,"original":-5492138450735972347,"validated":0}]} 
[2026-09-07 17:47:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865082734983380992,"timestamp_seconds":865082734983381.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928538624001,"66":12917,"75":206,"85":15104,"24":4,"16":129542522954317824,"45":8836977287488645120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928538624001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542522954317824,"km_value":129542522954317.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488645120,"description":"Unknown IO ID 45"} 
[2026-09-07 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928538624001,"power":12917,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8836977287488645120}} 
[2026-09-07 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":173902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780229,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:47:04] local.INFO: GPS data processed {"connection_id":173902,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:47:04] local.INFO: Acknowledgment sent {"connection_id":173902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:47:27] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:27] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:27] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:47:27] local.INFO: TCP Data received {"connection_id":173672,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbbd68012cc32d40075c8e50000f009d32..."} 
[2026-09-07 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbbd68012cc32d40075c8e50000f009d32..."} 
[2026-09-07 17:47:27] local.INFO: Processing buffer {"connection_id":173672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbbd68012cc32d40075c8e50000f009d32..."} 
[2026-09-07 17:47:27] local.INFO: Packet analysis {"connection_id":173672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:27] local.INFO: Extracted packet for processing {"connection_id":173672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":750988608,"raw_latitude":123506256,"longitude_deg":75.0988608,"latitude_deg":12.3506256,"altitude":15,"angle":157,"satellites":50,"speed":16,"hex_longitude":"2cc32d40","hex_latitude":"075c8e50","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532224001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401843123103203328,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4386435636694956032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788783345000,"timestamp_ms":1788783345000,"timestamp_seconds":1788783345,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbbd68"} 
[2026-09-07 17: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-07 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:47:27] 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-07 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532224001,"66":27050,"255":206,"85":37120,"24":16,"16":401843123103203328,"44":-4386435636694956032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532224001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:47:27] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401843123103203328,"km_value":401843123103203.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:47:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4386435636694956032,"description":"Unknown IO ID 44"} 
[2026-09-07 17:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532224001,"power":27050,"unknown_255":206,"unknown_85":37120,"ignition":16,"odometer":null,"unknown_44":-4386435636694956032}} 
[2026-09-07 17:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":173672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:47:27] local.INFO: GPS data processed {"connection_id":173672,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:47:27] local.INFO: Acknowledgment sent {"connection_id":173672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:47:32] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:32] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:47:32] local.INFO: IMEI packet received {"connection_id":175002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":175002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:47:33] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcc3a68012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcc3a68012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:47:33] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcc3a68012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:47:33] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:47:33] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539392001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488731136,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783377000,"timestamp_ms":1788783377000,"timestamp_seconds":1788783377,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcc3a68"} 
[2026-09-07 17:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 17:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539392001,"66":13515,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8836977287488731136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539392001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488731136,"description":"Unknown IO ID 45"} 
[2026-09-07 17:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539392001,"power":13515,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8836977287488731136}} 
[2026-09-07 17:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:47:33] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:47:33] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:47:40] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:40] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:40] local.INFO: IMEI packet received {"connection_id":173903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":173903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:47:42] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:42] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:42] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:47:44] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:44] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:44] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:47:45] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:45] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:47:45] local.INFO: IMEI packet received {"connection_id":173903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":173903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:47:46] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:47:46] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:47:46] local.INFO: Packet analysis {"connection_id":173903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:46] local.INFO: Extracted packet for processing {"connection_id":173903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:47:46] 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-07 17:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:47:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":173903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:47:46] local.INFO: GPS data processed {"connection_id":173903,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:47:46] local.INFO: Acknowledgment sent {"connection_id":173903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:47:46] local.INFO: TCP Data received {"connection_id":176416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:47:46] local.INFO: Processing buffer {"connection_id":176416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:47:46] local.INFO: IMEI packet received {"connection_id":176416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":176416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:47:48] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:48] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:47:48] local.INFO: IMEI packet received {"connection_id":175003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":175003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:47:49] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcc0b88012cc33a80075c6d500012009b32..."} 
[2026-09-07 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcc0b88012cc33a80075c6d500012009b32..."} 
[2026-09-07 17:47:49] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcc0b88012cc33a80075c6d500012009b32..."} 
[2026-09-07 17:47:49] local.INFO: Packet analysis {"connection_id":175003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:47:49] local.INFO: Extracted packet for processing {"connection_id":175003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":750992000,"raw_latitude":123497808,"longitude_deg":75.0992,"latitude_deg":12.3497808,"altitude":18,"angle":155,"satellites":50,"speed":24,"hex_longitude":"2cc33a80","hex_latitude":"075c6d50","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928536320001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401843565484834816,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4382776461999845376,"note":"Value kept but may cause issues"} 
[2026-09-07 17:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788783365000,"timestamp_ms":1788783365000,"timestamp_seconds":1788783365,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcc0b88"} 
[2026-09-07 17: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-07 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-07 17:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:47:49] 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-07 17:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928536320001,"66":27865,"255":206,"85":37120,"24":24,"16":401843565484834816,"44":-4382776461999845376},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928536320001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:47:49] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:47:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401843565484834816,"km_value":401843565484834.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4382776461999845376,"description":"Unknown IO ID 44"} 
[2026-09-07 17:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928536320001,"power":27865,"unknown_255":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4382776461999845376}} 
[2026-09-07 17:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":175003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:47:49] local.INFO: GPS data processed {"connection_id":175003,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:47:49] local.INFO: Acknowledgment sent {"connection_id":175003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:04] local.INFO: TCP Data received {"connection_id":175002,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcc8c70012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcc8c70012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:48:04] local.INFO: Processing buffer {"connection_id":175002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcc8c70012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:48:04] local.INFO: Packet analysis {"connection_id":175002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:04] local.INFO: Extracted packet for processing {"connection_id":175002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":43,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928544512001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783398000,"timestamp_ms":1788783398000,"timestamp_seconds":1788783398,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcc8c70"} 
[2026-09-07 17:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:04] 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-07 17:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928544512001,"66":13504,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928544512001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928544512001,"power":13504,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":175002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:04] local.INFO: GPS data processed {"connection_id":175002,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:04] local.INFO: Acknowledgment sent {"connection_id":175002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:17] local.INFO: TCP Data received {"connection_id":173903,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:17] local.INFO: Processing buffer {"connection_id":173903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:17] local.INFO: Packet analysis {"connection_id":173903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:48:17] local.INFO: Extracted packet for processing {"connection_id":173903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:48:17] 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-07 17:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:48:17] 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-07 17:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":173903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:17] local.INFO: GPS data processed {"connection_id":173903,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:17] local.INFO: Acknowledgment sent {"connection_id":173903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:20] local.INFO: TCP Data received {"connection_id":175003,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcc3a68012cc34ac0075c50f00014008f33..."} 
[2026-09-07 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcc3a68012cc34ac0075c50f00014008f33..."} 
[2026-09-07 17:48:20] local.INFO: Processing buffer {"connection_id":175003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcc3a68012cc34ac0075c50f00014008f33..."} 
[2026-09-07 17:48:20] local.INFO: Packet analysis {"connection_id":175003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:20] local.INFO: Extracted packet for processing {"connection_id":175003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750996160,"raw_latitude":123490544,"longitude_deg":75.099616,"latitude_deg":12.3490544,"altitude":20,"angle":143,"satellites":51,"speed":32,"hex_longitude":"2cc34ac0","hex_latitude":"075c50f0","is_valid_coordinates":true} 
[2026-09-07 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-07 17:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928541440001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401843969211760640,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379046918560591872,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788783377000,"timestamp_ms":1788783377000,"timestamp_seconds":1788783377,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcc3a68"} 
[2026-09-07 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-07 17:48: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-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:48:20] 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-07 17:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928541440001,"66":27104,"255":206,"85":37120,"24":32,"16":401843969211760640,"44":-4379046918560591872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-09-07 17:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928541440001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:20] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 17:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401843969211760640,"km_value":401843969211760.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379046918560591872,"description":"Unknown IO ID 44"} 
[2026-09-07 17:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928541440001,"power":27104,"unknown_255":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4379046918560591872}} 
[2026-09-07 17:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":175003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:20] local.INFO: GPS data processed {"connection_id":175003,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:20] local.INFO: Acknowledgment sent {"connection_id":175003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:27] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:27] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:27] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:48:32] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:32] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:48:32] local.INFO: IMEI packet received {"connection_id":173904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":173904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:48:33] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bccde78012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bccde78012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:48:33] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bccde78012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:48:33] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:33] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcc"} 
[2026-09-07 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928549888001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783419000,"timestamp_ms":1788783419000,"timestamp_seconds":1788783419,"priority":1,"record_length":96,"hex_timestamp":"000001a07bccde78"} 
[2026-09-07 17: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-07 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:33] 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-07 17: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-07 17: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-07 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928549888001,"66":13917,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928549888001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928549888001,"power":13917,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:33] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:33] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:40] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:40] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:40] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:48:44] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:44] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:44] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:48:45] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:45] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:48:45] local.INFO: IMEI packet received {"connection_id":173674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":173674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:48:46] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:46] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:48:46] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:48:46] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:48:46] 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-07 17:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:46] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:46] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:48:47] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:47] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:48:47] local.INFO: IMEI packet received {"connection_id":173675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":173675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:48:48] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcd76d0012cc3c5c0075b46500023008c33..."} 
[2026-09-07 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcd76d0012cc3c5c0075b46500023008c33..."} 
[2026-09-07 17:48:48] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcd76d0012cc3c5c0075b46500023008c33..."} 
[2026-09-07 17:48:48] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:48:48] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":751027648,"raw_latitude":123422288,"longitude_deg":75.1027648,"latitude_deg":12.3422288,"altitude":35,"angle":140,"satellites":51,"speed":46,"hex_longitude":"2cc3c5c0","hex_latitude":"075b4650","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928563968001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401847787437686784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4343581071513147392,"note":"Value kept but may cause issues"} 
[2026-09-07 17:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788783458000,"timestamp_ms":1788783458000,"timestamp_seconds":1788783458,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcd76d0"} 
[2026-09-07 17: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-07 17:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:48: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-07 17:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928563968001,"66":27800,"35":206,"85":37120,"24":46,"16":401847787437686784,"44":-4343581071513147392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-07 17:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928563968001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:48:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-07 17:48:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401847787437686784,"km_value":401847787437686.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4343581071513147392,"description":"Unknown IO ID 44"} 
[2026-09-07 17:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928563968001,"power":27800,"unknown_35":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4343581071513147392}} 
[2026-09-07 17:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:48:48] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:48:48] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:04] local.INFO: TCP Data received {"connection_id":173904,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcd3080012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcd3080012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:49:04] local.INFO: Processing buffer {"connection_id":173904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcd3080012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:49:04] local.INFO: Packet analysis {"connection_id":173904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:04] local.INFO: Extracted packet for processing {"connection_id":173904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928555264001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783440000,"timestamp_ms":1788783440000,"timestamp_seconds":1788783440,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcd3080"} 
[2026-09-07 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:49: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-07 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:04] 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-07 17:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928555264001,"66":13798,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928555264001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928555264001,"power":13798,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":173904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:04] local.INFO: GPS data processed {"connection_id":173904,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:04] local.INFO: Acknowledgment sent {"connection_id":173904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:17] local.INFO: TCP Data received {"connection_id":173674,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:17] local.INFO: Processing buffer {"connection_id":173674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:17] local.INFO: Packet analysis {"connection_id":173674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:49:17] local.INFO: Extracted packet for processing {"connection_id":173674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:49:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:49:17] 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-07 17:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":173674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:17] local.INFO: GPS data processed {"connection_id":173674,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:17] local.INFO: Acknowledgment sent {"connection_id":173674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:19] local.INFO: TCP Data received {"connection_id":173675,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcd9610012cc3dfc0075b2bd80026008733..."} 
[2026-09-07 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcd9610012cc3dfc0075b2bd80026008733..."} 
[2026-09-07 17:49:19] local.INFO: Processing buffer {"connection_id":173675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcd9610012cc3dfc0075b2bd80026008733..."} 
[2026-09-07 17:49:19] local.INFO: Packet analysis {"connection_id":173675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:19] local.INFO: Extracted packet for processing {"connection_id":173675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":751034304,"raw_latitude":123415512,"longitude_deg":75.1034304,"latitude_deg":12.3415512,"altitude":38,"angle":135,"satellites":51,"speed":47,"hex_longitude":"2cc3dfc0","hex_latitude":"075b2bd8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928565248001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401848242704220160,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4339851528072966144,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788783466000,"timestamp_ms":1788783466000,"timestamp_seconds":1788783466,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcd9610"} 
[2026-09-07 17: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-07 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928565248001,"66":27865,"35":206,"85":37120,"24":47,"16":401848242704220160,"44":-4339851528072966144},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-09-07 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928565248001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:19] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-09-07 17:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401848242704220160,"km_value":401848242704220.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4339851528072966144,"description":"Unknown IO ID 44"} 
[2026-09-07 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928565248001,"power":27865,"unknown_35":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4339851528072966144}} 
[2026-09-07 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":173675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:19] local.INFO: GPS data processed {"connection_id":173675,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:19] local.INFO: Acknowledgment sent {"connection_id":173675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:32] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:32] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:32] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:49:37] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:37] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:49:37] local.INFO: IMEI packet received {"connection_id":175005,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":175005,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:49:38] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcd8288012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcd8288012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:38] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcd8288012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:38] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:38] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928560640001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788783461000,"timestamp_ms":1788783461000,"timestamp_seconds":1788783461,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcd8288"} 
[2026-09-07 17: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-07 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:49: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-07 17: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-07 17: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-07 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928560640001,"66":13765,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928560640001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:38] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928560640001,"power":13765,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:38] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:38] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:40] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:40] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:40] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:49:43] local.INFO: TCP Data received {"connection_id":175005,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcdd490012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcdd490012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:43] local.INFO: Processing buffer {"connection_id":175005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcdd490012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:49:43] local.INFO: Packet analysis {"connection_id":175005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:43] local.INFO: Extracted packet for processing {"connection_id":175005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928566016001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788783482000,"timestamp_ms":1788783482000,"timestamp_seconds":1788783482,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcdd490"} 
[2026-09-07 17:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:43] 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-07 17:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175005,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928566016001,"66":13765,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928566016001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928566016001,"power":13765,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":175005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:43] local.INFO: GPS data processed {"connection_id":175005,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:43] local.INFO: Acknowledgment sent {"connection_id":175005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:44] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:44] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:44] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:49:45] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:45] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:45] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:49:45] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:45] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:49:45] local.INFO: IMEI packet received {"connection_id":175006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":175006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:49:46] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:46] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:49:46] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:49:46] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:49:46] 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-07 17:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:46] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:46] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:49:49] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:49] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:49:49] local.INFO: IMEI packet received {"connection_id":173905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:49:50] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcdb550012cc3fa40075b1058002a008831..."} 
[2026-09-07 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcdb550012cc3fa40075b1058002a008831..."} 
[2026-09-07 17:49:50] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcdb550012cc3fa40075b1058002a008831..."} 
[2026-09-07 17:49:50] local.INFO: Packet analysis {"connection_id":173905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:50] local.INFO: Extracted packet for processing {"connection_id":173905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcd"} 
[2026-09-07 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":751041088,"raw_latitude":123408472,"longitude_deg":75.1041088,"latitude_deg":12.3408472,"altitude":42,"angle":136,"satellites":49,"speed":49,"hex_longitude":"2cc3fa40","hex_latitude":"075b1058","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928567296001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401848710855655424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4332533178680223744,"note":"Value kept but may cause issues"} 
[2026-09-07 17:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783474000,"timestamp_ms":1788783474000,"timestamp_seconds":1788783474,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcdb550"} 
[2026-09-07 17: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-07 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:49: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-07 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928567296001,"66":27767,"34":206,"85":37120,"24":49,"16":401848710855655424,"44":-4332533178680223744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-09-07 17:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928567296001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:49:50] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 17:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401848710855655424,"km_value":401848710855655.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4332533178680223744,"description":"Unknown IO ID 44"} 
[2026-09-07 17:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928567296001,"power":27767,"unknown_34":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4332533178680223744}} 
[2026-09-07 17:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":173905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:49:50] local.INFO: GPS data processed {"connection_id":173905,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:49:50] local.INFO: Acknowledgment sent {"connection_id":173905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:17] local.INFO: TCP Data received {"connection_id":175006,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:17] local.INFO: Processing buffer {"connection_id":175006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:17] local.INFO: Packet analysis {"connection_id":175006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:17] local.INFO: Extracted packet for processing {"connection_id":175006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:50:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:50:17] 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-07 17:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":175006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:17] local.INFO: GPS data processed {"connection_id":175006,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:17] local.INFO: Acknowledgment sent {"connection_id":175006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:20] local.INFO: TCP Data received {"connection_id":173676,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173676,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:20] local.INFO: Processing buffer {"connection_id":173676,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:20] local.INFO: IMEI packet received {"connection_id":173676,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":173676,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:50:21] local.INFO: TCP Data received {"connection_id":173905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcf3808012cc4e64007593b88002a00b731..."} 
[2026-09-07 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcf3808012cc4e64007593b88002a00b731..."} 
[2026-09-07 17:50:21] local.INFO: Processing buffer {"connection_id":173905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcf3808012cc4e64007593b88002a00b731..."} 
[2026-09-07 17:50:21] local.INFO: Packet analysis {"connection_id":173905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:50:21] local.INFO: Extracted packet for processing {"connection_id":173905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":751101504,"raw_latitude":123288456,"longitude_deg":75.1101504,"latitude_deg":12.3288456,"altitude":42,"angle":183,"satellites":49,"speed":56,"hex_longitude":"2cc4e640","hex_latitude":"07593b88","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928593664001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401855411004637184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258927472301557760,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783573000,"timestamp_ms":1788783573000,"timestamp_seconds":1788783573,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcf3808"} 
[2026-09-07 17: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-07 17:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:50:21] 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-07 17:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928593664001,"66":27843,"29":206,"85":37120,"24":56,"16":401855411004637184,"44":-4258927472301557760},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-07 17:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928593664001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:21] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401855411004637184,"km_value":401855411004637.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258927472301557760,"description":"Unknown IO ID 44"} 
[2026-09-07 17:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928593664001,"power":27843,"unknown_29":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4258927472301557760}} 
[2026-09-07 17:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":173905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:21] local.INFO: GPS data processed {"connection_id":173905,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:21] local.INFO: Acknowledgment sent {"connection_id":173905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:27] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:27] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:27] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:50:35] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:35] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:50:35] local.INFO: IMEI packet received {"connection_id":176418,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":176418,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:50:36] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bce2698012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bce2698012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bce2698012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:50:36] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928571392001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788783503000,"timestamp_ms":1788783503000,"timestamp_seconds":1788783503,"priority":1,"record_length":96,"hex_timestamp":"000001a07bce2698"} 
[2026-09-07 17:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:50: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-07 17:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:36] 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-07 17:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928571392001,"66":13961,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928571392001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928571392001,"power":13961,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:36] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:36] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:36] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bce78a0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bce78a0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bce78a0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:50:36] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:50:36] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928576768001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788783524000,"timestamp_ms":1788783524000,"timestamp_seconds":1788783524,"priority":1,"record_length":96,"hex_timestamp":"000001a07bce78a0"} 
[2026-09-07 17:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:50: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-07 17:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:36] 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-07 17:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928576768001,"66":13972,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928576768001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928576768001,"power":13972,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:36] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:36] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:40] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:40] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:40] local.INFO: IMEI packet received {"connection_id":175007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":175007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:50:44] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:44] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:44] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:50:45] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:45] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:50:45] local.INFO: IMEI packet received {"connection_id":175007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":175007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:50:46] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:46] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:50:46] local.INFO: Packet analysis {"connection_id":175007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:46] local.INFO: Extracted packet for processing {"connection_id":175007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17: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-07 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:50:46] 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-07 17:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":175007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:46] local.INFO: GPS data processed {"connection_id":175007,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:46] local.INFO: Acknowledgment sent {"connection_id":175007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:47] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:47] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:50:47] local.INFO: IMEI packet received {"connection_id":176419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":176419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:50:48] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:50:48] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:50:48] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:50:48] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:50:48] local.INFO: GPS Element Parsed {"raw_longitude":751099712,"raw_latitude":123279736,"longitude_deg":75.1099712,"latitude_deg":12.3279736,"altitude":38,"angle":195,"satellites":50,"speed":61,"hex_longitude":"2cc4df40","hex_latitude":"07591978","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928594688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401855840501366784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258645997326202880,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788783579000,"timestamp_ms":1788783579000,"timestamp_seconds":1788783579,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcf4f78"} 
[2026-09-07 17: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-07 17:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:50: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-07 17:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928594688001,"66":27821,"29":206,"85":37120,"24":61,"16":401855840501366784,"44":-4258645997326202880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-07 17:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928594688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:48] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401855840501366784,"km_value":401855840501366.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258645997326202880,"description":"Unknown IO ID 44"} 
[2026-09-07 17:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928594688001,"power":27821,"unknown_29":206,"unknown_85":37120,"ignition":61,"odometer":null,"unknown_44":-4258645997326202880}} 
[2026-09-07 17:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:48] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:48] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:50:51] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:51] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:51] local.INFO: IMEI packet received {"connection_id":176420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":176420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:50:55] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:55] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:50:55] local.INFO: IMEI packet received {"connection_id":176420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":176420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:50:56] local.INFO: TCP Data received {"connection_id":176420,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb1570012d09e50007023e98000f006929..."} 
[2026-09-07 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb1570012d09e50007023e98000f006929..."} 
[2026-09-07 17:50:56] local.INFO: Processing buffer {"connection_id":176420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb1570012d09e50007023e98000f006929..."} 
[2026-09-07 17:50:56] local.INFO: Packet analysis {"connection_id":176420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:56] local.INFO: Extracted packet for processing {"connection_id":176420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":755623168,"raw_latitude":117587608,"longitude_deg":75.5623168,"latitude_deg":11.7587608,"altitude":15,"angle":105,"satellites":41,"speed":21,"hex_longitude":"2d09e500","hex_latitude":"07023e98","is_valid_coordinates":true} 
[2026-09-07 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-07 17:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928524800001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30633991677673472,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711990983692113920,"note":"Value kept but may cause issues"} 
[2026-09-07 17:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788783302000,"timestamp_ms":1788783302000,"timestamp_seconds":1788783302,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb1570"} 
[2026-09-07 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-07 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-07 17:50:56] 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-07 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-07 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-07 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928524800001,"66":14537,"19":206,"94":11008,"24":21,"16":30633991677673472,"45":711990983692113920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928524800001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:50:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:50:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30633991677673472,"km_value":30633991677673.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":711990983692113920,"description":"Unknown IO ID 45"} 
[2026-09-07 17:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928524800001,"power":14537,"unknown_19":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":711990983692113920}} 
[2026-09-07 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":176420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:50:56] local.INFO: GPS data processed {"connection_id":176420,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:50:56] local.INFO: Acknowledgment sent {"connection_id":176420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:14] local.INFO: TCP Data received {"connection_id":176418,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcecaa8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcecaa8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:51:14] local.INFO: Processing buffer {"connection_id":176418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcecaa8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:51:14] local.INFO: Packet analysis {"connection_id":176418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:51:14] local.INFO: Extracted packet for processing {"connection_id":176418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bce"} 
[2026-09-07 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928582144001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1788783545000,"timestamp_ms":1788783545000,"timestamp_seconds":1788783545,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcecaa8"} 
[2026-09-07 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51: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-07 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":176418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":176418,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928582144001,"66":13852,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928582144001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928582144001,"power":13852,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":176418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:15] local.INFO: GPS data processed {"connection_id":176418,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:15] local.INFO: Acknowledgment sent {"connection_id":176418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:17] local.INFO: TCP Data received {"connection_id":175007,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:51:17] local.INFO: Processing buffer {"connection_id":175007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcbe860012d196500071ff0200040011f21..."} 
[2026-09-07 17:51:17] local.INFO: Packet analysis {"connection_id":175007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:51:17] local.INFO: Extracted packet for processing {"connection_id":175007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928462080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783356000,"timestamp_ms":1788783356000,"timestamp_seconds":1788783356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcbe860"} 
[2026-09-07 17:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:17] 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-07 17:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51:17] 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-07 17:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928462080001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928462080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928462080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":175007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:17] local.INFO: GPS data processed {"connection_id":175007,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:17] local.INFO: Acknowledgment sent {"connection_id":175007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:18] local.INFO: TCP Data received {"connection_id":176419,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:51:18] local.INFO: Processing buffer {"connection_id":176419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcf4f78012cc4df4007591978002600c332..."} 
[2026-09-07 17:51:18] local.INFO: Packet analysis {"connection_id":176419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:51:18] local.INFO: Extracted packet for processing {"connection_id":176419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":751099712,"raw_latitude":123279736,"longitude_deg":75.1099712,"latitude_deg":12.3279736,"altitude":38,"angle":195,"satellites":50,"speed":61,"hex_longitude":"2cc4df40","hex_latitude":"07591978","is_valid_coordinates":true} 
[2026-09-07 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928596224001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401855840501366784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260616322165409792,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783579000,"timestamp_ms":1788783579000,"timestamp_seconds":1788783579,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcf4f78"} 
[2026-09-07 17:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:18] 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-07 17:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928596224001,"66":27821,"29":206,"85":37120,"24":61,"16":401855840501366784,"44":-4260616322165409792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-09-07 17:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928596224001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:18] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-09-07 17:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401855840501366784,"km_value":401855840501366.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260616322165409792,"description":"Unknown IO ID 44"} 
[2026-09-07 17:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928596224001,"power":27821,"unknown_29":206,"unknown_85":37120,"ignition":61,"odometer":null,"unknown_44":-4260616322165409792}} 
[2026-09-07 17:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":176419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:19] local.INFO: GPS data processed {"connection_id":176419,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:19] local.INFO: Acknowledgment sent {"connection_id":176419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:34] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:34] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:34] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:51:35] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:35] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:35] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:39] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:39] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:39] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:40] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:40] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:40] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:51:43] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:43] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:51:43] local.INFO: IMEI packet received {"connection_id":173677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":173677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:43] local.INFO: TCP Data received {"connection_id":173677,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcf1cb0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcf1cb0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:51:43] local.INFO: Processing buffer {"connection_id":173677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcf1cb0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:51:43] local.INFO: Packet analysis {"connection_id":173677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:51:43] local.INFO: Extracted packet for processing {"connection_id":173677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928587520001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788783566000,"timestamp_ms":1788783566000,"timestamp_seconds":1788783566,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcf1cb0"} 
[2026-09-07 17:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928587520001,"66":14080,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928587520001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:43] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928587520001,"power":14080,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":173677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:43] local.INFO: GPS data processed {"connection_id":173677,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:43] local.INFO: Acknowledgment sent {"connection_id":173677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:44] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:51:44] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:51:44] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:51:45] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:45] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:45] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:51:46] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:46] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:51:46] local.INFO: IMEI packet received {"connection_id":173678,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":173678,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:46] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb2ce0012d09f34007023c680010005e27..."} 
[2026-09-07 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb2ce0012d09f34007023c680010005e27..."} 
[2026-09-07 17:51:46] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb2ce0012d09f34007023c680010005e27..."} 
[2026-09-07 17:51:46] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:51:46] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":755626816,"raw_latitude":117587048,"longitude_deg":75.5626816,"latitude_deg":11.7587048,"altitude":16,"angle":94,"satellites":39,"speed":23,"hex_longitude":"2d09f340","hex_latitude":"07023c68","is_valid_coordinates":true} 
[2026-09-07 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-07 17:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928525312001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634167771332608,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":712976146110519296,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783308000,"timestamp_ms":1788783308000,"timestamp_seconds":1788783308,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb2ce0"} 
[2026-09-07 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-07 17:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928525312001,"66":14461,"19":206,"94":11008,"24":23,"16":30634167771332608,"45":712976146110519296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928525312001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:51:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634167771332608,"km_value":30634167771332.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":712976146110519296,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928525312001,"power":14461,"unknown_19":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":712976146110519296}} 
[2026-09-07 17:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:46] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:46] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:50] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:50] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:51:50] local.INFO: IMEI packet received {"connection_id":173679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":173679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:51] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:51] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:51] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:51] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51: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-07 17:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17: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-07 17:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51:51] 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-07 17:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:51:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:51] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:51] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:52] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.46","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:51:52] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:51:52] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:53] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd04d60012cc46cc00757fd88002200d233..."} 
[2026-09-07 17:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd04d60012cc46cc00757fd88002200d233..."} 
[2026-09-07 17:51:53] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:51:53] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:54] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd05918012cc46ac00757f858002200c630..."} 
[2026-09-07 17:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd05918012cc46ac00757f858002200c630..."} 
[2026-09-07 17:51:54] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 17:51:54] local.INFO: IMEI packet received {"connection_id":175008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":175008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:51:55] local.INFO: TCP Data received {"connection_id":173679,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:55] local.INFO: Processing buffer {"connection_id":173679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:51:55] local.INFO: Packet analysis {"connection_id":173679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:55] local.INFO: Extracted packet for processing {"connection_id":173679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17: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-07 17:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17: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-07 17: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-07 17: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-07 17:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:51: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-07 17:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":173679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:55] local.INFO: GPS data processed {"connection_id":173679,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:55] local.INFO: Acknowledgment sent {"connection_id":173679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:59] local.INFO: TCP Data received {"connection_id":175008,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08410012cc45f400757d578002100c531..."} 
[2026-09-07 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08410012cc45f400757d578002100c531..."} 
[2026-09-07 17:51:59] local.INFO: Processing buffer {"connection_id":175008,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a07bd04d60012cc46cc00757fd88002200d233..."} 
[2026-09-07 17:51:59] local.INFO: Packet analysis {"connection_id":175008,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: Extracted packet for processing {"connection_id":175008,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":751070400,"raw_latitude":123207048,"longitude_deg":75.10704,"latitude_deg":12.3207048,"altitude":34,"angle":210,"satellites":51,"speed":13,"hex_longitude":"2cc46cc0","hex_latitude":"0757fd88","is_valid_coordinates":true} 
[2026-09-07 17:51: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-07 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928611840001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401859645842391040,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4292000782087106560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788783644000,"timestamp_ms":1788783644000,"timestamp_seconds":1788783644,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd04d60"} 
[2026-09-07 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:51: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":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:51: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-07 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] 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-07 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928611840001,"66":27821,"30":206,"85":37120,"24":13,"16":401859645842391040,"44":-4292000782087106560},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928611840001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401859645842391040,"km_value":401859645842391.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4292000782087106560,"description":"Unknown IO ID 44"} 
[2026-09-07 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928611840001,"power":27821,"unknown_30":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4292000782087106560}} 
[2026-09-07 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":175008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:59] local.INFO: GPS data processed {"connection_id":175008,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:59] local.INFO: Acknowledgment sent {"connection_id":175008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:59] local.INFO: Packet analysis {"connection_id":175008,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: Extracted packet for processing {"connection_id":175008,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":751069888,"raw_latitude":123205720,"longitude_deg":75.1069888,"latitude_deg":12.320572,"altitude":34,"angle":198,"satellites":48,"speed":23,"hex_longitude":"2cc46ac0","hex_latitude":"0757f858","is_valid_coordinates":true} 
[2026-09-07 17:51: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-07 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928612864001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401859714561867776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4292845207017388032,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788783647000,"timestamp_ms":1788783647000,"timestamp_seconds":1788783647,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd05918"} 
[2026-09-07 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:59] 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-07 17:51: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-07 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] 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-07 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928612864001,"66":27800,"30":206,"85":37120,"24":23,"16":401859714561867776,"44":-4292845207017388032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,44]} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928612864001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401859714561867776,"km_value":401859714561867.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4292845207017388032,"description":"Unknown IO ID 44"} 
[2026-09-07 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928612864001,"power":27800,"unknown_30":206,"unknown_85":37120,"ignition":23,"odometer":null,"unknown_44":-4292845207017388032}} 
[2026-09-07 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":175008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:59] local.INFO: GPS data processed {"connection_id":175008,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:59] local.INFO: Acknowledgment sent {"connection_id":175008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:51:59] local.INFO: Packet analysis {"connection_id":175008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: Extracted packet for processing {"connection_id":175008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":751066944,"raw_latitude":123196792,"longitude_deg":75.1066944,"latitude_deg":12.3196792,"altitude":33,"angle":197,"satellites":49,"speed":41,"hex_longitude":"2cc45f40","hex_latitude":"0757d578","is_valid_coordinates":true} 
[2026-09-07 17:51: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-07 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928613632001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401860169828401152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4293408156971149312,"note":"Value kept but may cause issues"} 
[2026-09-07 17:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788783658000,"timestamp_ms":1788783658000,"timestamp_seconds":1788783658,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08410"} 
[2026-09-07 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:51:59] 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-07 17:51: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-07 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:51:59] 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-07 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928613632001,"66":27843,"161":206,"85":37120,"24":41,"16":401860169828401152,"44":-4293408156971149312},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928613632001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401860169828401152,"km_value":401860169828401.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4293408156971149312,"description":"Unknown IO ID 44"} 
[2026-09-07 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928613632001,"power":27843,"unknown_161":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4293408156971149312}} 
[2026-09-07 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":175008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:51:59] local.INFO: GPS data processed {"connection_id":175008,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:51:59] local.INFO: Acknowledgment sent {"connection_id":175008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:18] local.INFO: TCP Data received {"connection_id":173678,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:18] local.INFO: Processing buffer {"connection_id":173678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:18] local.INFO: Packet analysis {"connection_id":173678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:52:18] local.INFO: Extracted packet for processing {"connection_id":173678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586824,"longitude_deg":75.5630336,"latitude_deg":11.7586824,"altitude":16,"angle":86,"satellites":41,"speed":2,"hex_longitude":"2d0a0100","hex_latitude":"07023b88","is_valid_coordinates":true} 
[2026-09-07 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928526848001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716987164528502784,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783323000,"timestamp_ms":1788783323000,"timestamp_seconds":1788783323,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb6778"} 
[2026-09-07 17:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:52: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-07 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:18] 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-07 17:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173678,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928526848001,"66":14439,"19":206,"94":11008,"24":2,"16":30634335275057152,"45":716987164528502784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928526848001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:52:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":716987164528502784,"description":"Unknown IO ID 45"} 
[2026-09-07 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928526848001,"power":14439,"unknown_19":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":716987164528502784}} 
[2026-09-07 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":173678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:18] local.INFO: GPS data processed {"connection_id":173678,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:18] local.INFO: Acknowledgment sent {"connection_id":173678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:28] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:28] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:28] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:52:32] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:32] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:52:32] local.INFO: IMEI packet received {"connection_id":173906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":173906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:52:33] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcf6eb8012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcf6eb8012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:52:33] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcf6eb8012d7aa3c005ccf7c8000c000528..."} 
[2026-09-07 17:52:33] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:52:33] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928592896001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783587000,"timestamp_ms":1788783587000,"timestamp_seconds":1788783587,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcf6eb8"} 
[2026-09-07 17:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:52: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-07 17:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3450358528,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43009,"corrected_to":0} 
[2026-09-07 17:52:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3453259777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 17:52:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3305164200,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,75,85,24,241,157,16,58,160,202,45,192,247,12,38,10,66,120,42,1,240,137,227,123,204,4,113,205,130,163,200,39,239,53,2,5],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":202,"original":43009,"validated":0},{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":2823487694,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 17:52:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696806401900544,"timestamp_seconds":864696806401900.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928592896001,"66":13613,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928592896001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928592896001,"power":13613,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:33] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:33] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:40] local.INFO: TCP Data received {"connection_id":175010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:40] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:40] local.INFO: IMEI packet received {"connection_id":175010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":175010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:52:40] local.INFO: TCP Data received {"connection_id":173680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:40] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:40] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:52:45] local.INFO: TCP Data received {"connection_id":175010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:45] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:52:45] local.INFO: IMEI packet received {"connection_id":175010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":175010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:52:46] local.INFO: TCP Data received {"connection_id":173680,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:46] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:52:46] local.INFO: IMEI packet received {"connection_id":173680,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":173680,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:52:46] local.INFO: TCP Data received {"connection_id":175010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:52:46] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:52:46] local.INFO: Packet analysis {"connection_id":175010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:46] local.INFO: Extracted packet for processing {"connection_id":175010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:52:46] 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-07 17:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":175010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:46] local.INFO: GPS data processed {"connection_id":175010,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:46] local.INFO: Acknowledgment sent {"connection_id":175010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:46] local.INFO: TCP Data received {"connection_id":173680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:46] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb6778012d0a010007023b880010005629..."} 
[2026-09-07 17:52:46] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:52:46] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":755630336,"raw_latitude":117586824,"longitude_deg":75.5630336,"latitude_deg":11.7586824,"altitude":16,"angle":86,"satellites":41,"speed":2,"hex_longitude":"2d0a0100","hex_latitude":"07023b88","is_valid_coordinates":true} 
[2026-09-07 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928530688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458216960,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783323000,"timestamp_ms":1788783323000,"timestamp_seconds":1788783323,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb6778"} 
[2026-09-07 17: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-07 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928530688001,"66":14439,"19":206,"94":11008,"24":2,"16":30634335275057152,"45":720857445458216960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928530688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458216960,"description":"Unknown IO ID 45"} 
[2026-09-07 17:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928530688001,"power":14439,"unknown_19":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":720857445458216960}} 
[2026-09-07 17:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:46] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:46] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:49] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:52:49] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:52:49] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:52:50] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:52:50] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 17:52:50] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:52:51] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd0a350012cc455000757b3e0001f00c333..."} 
[2026-09-07 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd0a350012cc455000757b3e0001f00c333..."} 
[2026-09-07 17:52:51] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 17:52:51] local.INFO: IMEI packet received {"connection_id":176422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":176422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:52:51] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd0bea8012cc44c8007579090001c00be33..."} 
[2026-09-07 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd0bea8012cc44c8007579090001c00be33..."} 
[2026-09-07 17:52:51] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07bd0a350012cc455000757b3e0001f00c333..."} 
[2026-09-07 17:52:51] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:51] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":751064320,"raw_latitude":123188192,"longitude_deg":75.106432,"latitude_deg":12.3188192,"altitude":31,"angle":195,"satellites":51,"speed":50,"hex_longitude":"2cc45500","hex_latitude":"0757b3e0","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616448001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401860603620098048,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4296645119205607424,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783666000,"timestamp_ms":1788783666000,"timestamp_seconds":1788783666,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd0a350"} 
[2026-09-07 17: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-07 17:52: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-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:51] 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-07 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616448001,"66":27876,"161":206,"85":37120,"24":50,"16":401860603620098048,"44":-4296645119205607424},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616448001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401860603620098048,"km_value":401860603620098.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4296645119205607424,"description":"Unknown IO ID 44"} 
[2026-09-07 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616448001,"power":27876,"unknown_161":206,"unknown_85":37120,"ignition":50,"odometer":null,"unknown_44":-4296645119205607424}} 
[2026-09-07 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:51] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:51] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:51] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:51] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":751062144,"raw_latitude":123179152,"longitude_deg":75.1062144,"latitude_deg":12.3179152,"altitude":28,"angle":190,"satellites":51,"speed":53,"hex_longitude":"2cc44c80","hex_latitude":"07579090","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928618496001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401861054591664128,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4299530237719093248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783673000,"timestamp_ms":1788783673000,"timestamp_seconds":1788783673,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd0bea8"} 
[2026-09-07 17: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-07 17:52: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-07 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:51] 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-07 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928618496001,"66":27843,"161":206,"85":37120,"24":53,"16":401861054591664128,"44":-4299530237719093248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928618496001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401861054591664128,"km_value":401861054591664.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4299530237719093248,"description":"Unknown IO ID 44"} 
[2026-09-07 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928618496001,"power":27843,"unknown_161":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4299530237719093248}} 
[2026-09-07 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:51] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:51] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:52:54] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd0da00012cc444c007576a90001900be32..."} 
[2026-09-07 17:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd0da00012cc444c007576a90001900be32..."} 
[2026-09-07 17:52:54] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd0da00012cc444c007576a90001900be32..."} 
[2026-09-07 17:52:54] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:54] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":751060160,"raw_latitude":123169424,"longitude_deg":75.106016,"latitude_deg":12.3169424,"altitude":25,"angle":190,"satellites":50,"speed":55,"hex_longitude":"2cc444c0","hex_latitude":"07576a90","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928620288001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401861535628001280,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4301922775023448064,"note":"Value kept but may cause issues"} 
[2026-09-07 17:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788783680000,"timestamp_ms":1788783680000,"timestamp_seconds":1788783680,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd0da00"} 
[2026-09-07 17: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-07 17:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:52:54] 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-07 17:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928620288001,"66":27767,"159":206,"85":37120,"24":55,"16":401861535628001280,"44":-4301922775023448064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-09-07 17:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928620288001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:52:54] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 17:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401861535628001280,"km_value":401861535628001.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:52:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4301922775023448064,"description":"Unknown IO ID 44"} 
[2026-09-07 17:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928620288001,"power":27767,"unknown_159":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4301922775023448064}} 
[2026-09-07 17:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:52:54] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:52:54] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:04] local.INFO: TCP Data received {"connection_id":173906,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcfc0c0012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcfc0c0012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:53:04] local.INFO: Processing buffer {"connection_id":173906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcfc0c0012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:53:04] local.INFO: Packet analysis {"connection_id":173906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:53:04] local.INFO: Extracted packet for processing {"connection_id":173906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcf"} 
[2026-09-07 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928598272001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783608000,"timestamp_ms":1788783608000,"timestamp_seconds":1788783608,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcfc0c0"} 
[2026-09-07 17:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:53: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-07 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:04] 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-07 17:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928598272001,"66":13656,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928598272001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928598272001,"power":13656,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":173906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:04] local.INFO: GPS data processed {"connection_id":173906,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:04] local.INFO: Acknowledgment sent {"connection_id":173906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:16] local.INFO: TCP Data received {"connection_id":175011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:16] local.INFO: Processing buffer {"connection_id":175011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:16] local.INFO: IMEI packet received {"connection_id":175011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":175011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:17] local.INFO: TCP Data received {"connection_id":175010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:17] local.INFO: Processing buffer {"connection_id":175010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:17] local.INFO: Packet analysis {"connection_id":175010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:17] local.INFO: Extracted packet for processing {"connection_id":175010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:53:17] 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-07 17:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":175010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:17] local.INFO: GPS data processed {"connection_id":175010,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:17] local.INFO: Acknowledgment sent {"connection_id":175010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:18] local.INFO: TCP Data received {"connection_id":173680,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:18] local.INFO: Processing buffer {"connection_id":173680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:18] local.INFO: Packet analysis {"connection_id":173680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:18] local.INFO: Extracted packet for processing {"connection_id":173680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":755630464,"raw_latitude":117586728,"longitude_deg":75.5630464,"latitude_deg":11.7586728,"altitude":17,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d0a0180","hex_latitude":"07023b28","is_valid_coordinates":true} 
[2026-09-07 17:53:18] 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-07 17:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928530688001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720857445458216960,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783326000,"timestamp_ms":1788783326000,"timestamp_seconds":1788783326,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb7330"} 
[2026-09-07 17: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-07 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173680,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928530688001,"66":12722,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720857445458216960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928530688001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:53:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720857445458216960,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928530688001,"power":12722,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720857445458216960}} 
[2026-09-07 17:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":173680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:18] local.INFO: GPS data processed {"connection_id":173680,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:18] local.INFO: Acknowledgment sent {"connection_id":173680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:25] local.INFO: TCP Data received {"connection_id":176422,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd0f558012cc43ec007574618001900bc32..."} 
[2026-09-07 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd0f558012cc43ec007574618001900bc32..."} 
[2026-09-07 17:53:25] local.INFO: Processing buffer {"connection_id":176422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd0f558012cc43ec007574618001900bc32..."} 
[2026-09-07 17:53:25] local.INFO: Packet analysis {"connection_id":176422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:25] local.INFO: Extracted packet for processing {"connection_id":176422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":751058624,"raw_latitude":123160088,"longitude_deg":75.1058624,"latitude_deg":12.3160088,"altitude":25,"angle":188,"satellites":50,"speed":52,"hex_longitude":"2cc43ec0","hex_latitude":"07574618","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928622080001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401861995189501952,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304104206095446016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788783687000,"timestamp_ms":1788783687000,"timestamp_seconds":1788783687,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd0f558"} 
[2026-09-07 17: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-07 17:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:53:25] 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-07 17:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928622080001,"66":27767,"160":206,"85":37120,"24":52,"16":401861995189501952,"44":-4304104206095446016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-09-07 17:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928622080001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:25] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 17:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-09-07 17:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401861995189501952,"km_value":401861995189501.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304104206095446016,"description":"Unknown IO ID 44"} 
[2026-09-07 17:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928622080001,"power":27767,"unknown_160":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4304104206095446016}} 
[2026-09-07 17:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":176422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:25] local.INFO: GPS data processed {"connection_id":176422,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:25] local.INFO: Acknowledgment sent {"connection_id":176422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:27] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:27] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:27] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:32] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:32] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:53:32] local.INFO: IMEI packet received {"connection_id":173907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":173907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:53:33] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd012c8012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd012c8012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:53:33] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd012c8012d7aa3c005ccf7c8000c000527..."} 
[2026-09-07 17:53:33] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:33] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928603648001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783629000,"timestamp_ms":1788783629000,"timestamp_seconds":1788783629,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd012c8"} 
[2026-09-07 17:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:53: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-07 17:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928603648001,"66":13678,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928603648001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928603648001,"power":13678,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780275,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:33] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:33] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:40] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:40] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:40] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:43] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:43] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:43] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:44] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:44] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:44] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:53:45] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:45] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:53:45] local.INFO: IMEI packet received {"connection_id":176423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":176423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:53:46] local.INFO: TCP Data received {"connection_id":175012,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:46] local.INFO: Processing buffer {"connection_id":175012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:46] local.INFO: IMEI packet received {"connection_id":175012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":175012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:46] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:46] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:53:46] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:46] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:53:46] 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-07 17:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:46] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:46] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:46] local.INFO: TCP Data received {"connection_id":173908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:46] local.INFO: Processing buffer {"connection_id":173908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:53:46] local.INFO: IMEI packet received {"connection_id":173908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:53:49] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:49] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:53:49] local.INFO: IMEI packet received {"connection_id":176424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":176424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:53:50] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd21a50012cc42c000755d320001700a833..."} 
[2026-09-07 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd21a50012cc42c000755d320001700a833..."} 
[2026-09-07 17:53:50] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd21a50012cc42c000755d320001700a833..."} 
[2026-09-07 17:53:50] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:53:50] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":751053824,"raw_latitude":123065120,"longitude_deg":75.1053824,"latitude_deg":12.306512,"altitude":23,"angle":168,"satellites":51,"speed":49,"hex_longitude":"2cc42c00","hex_latitude":"0755d320","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928641024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401866758308233216,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4313674355327819776,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783762000,"timestamp_ms":1788783762000,"timestamp_seconds":1788783762,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd21a50"} 
[2026-09-07 17: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-07 17:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 17:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:53: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-07 17:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928641024001,"66":27865,"33":206,"85":37632,"24":49,"16":401866758308233216,"44":-4313674355327819776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-07 17:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928641024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 17:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401866758308233216,"km_value":401866758308233.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4313674355327819776,"description":"Unknown IO ID 44"} 
[2026-09-07 17:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928641024001,"power":27865,"unknown_33":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-4313674355327819776}} 
[2026-09-07 17:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:50] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:50] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:51] local.INFO: TCP Data received {"connection_id":175012,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:51] local.INFO: Processing buffer {"connection_id":175012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:53:51] local.INFO: IMEI packet received {"connection_id":175012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":175012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:53:52] local.INFO: TCP Data received {"connection_id":175012,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:52] local.INFO: Processing buffer {"connection_id":175012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb7330012d0a018007023b280011005629..."} 
[2026-09-07 17:53:52] local.INFO: Packet analysis {"connection_id":175012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:52] local.INFO: Extracted packet for processing {"connection_id":175012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":755630464,"raw_latitude":117586728,"longitude_deg":75.5630464,"latitude_deg":11.7586728,"altitude":17,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d0a0180","hex_latitude":"07023b28","is_valid_coordinates":true} 
[2026-09-07 17:53: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-07 17:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928531456001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946547712,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788783326000,"timestamp_ms":1788783326000,"timestamp_seconds":1788783326,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb7330"} 
[2026-09-07 17: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-07 17:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":178,"data_length":795,"current_offset":136} 
[2026-09-07 17:53: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-07 17: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-07 17: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-07 17:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928531456001,"66":12722,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946547712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928531456001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:53:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946547712,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928531456001,"power":12722,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946547712}} 
[2026-09-07 17:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":175012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780278,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:52] local.INFO: GPS data processed {"connection_id":175012,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:52] local.INFO: Acknowledgment sent {"connection_id":175012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:53:56] local.INFO: TCP Data received {"connection_id":175012,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb7ee8012d0a018007023b200010005628..."} 
[2026-09-07 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb7ee8012d0a018007023b200010005628..."} 
[2026-09-07 17:53:56] local.INFO: Processing buffer {"connection_id":175012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb7ee8012d0a018007023b200010005628..."} 
[2026-09-07 17:53:56] local.INFO: Packet analysis {"connection_id":175012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:56] local.INFO: Extracted packet for processing {"connection_id":175012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755630464,"raw_latitude":117586720,"longitude_deg":75.5630464,"latitude_deg":11.758672,"altitude":16,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d0a0180","hex_latitude":"07023b20","is_valid_coordinates":true} 
[2026-09-07 17:53:56] 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-07 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928531456001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946547712,"note":"Value kept but may cause issues"} 
[2026-09-07 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788783329000,"timestamp_ms":1788783329000,"timestamp_seconds":1788783329,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb7ee8"} 
[2026-09-07 17: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-07 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-07 17:53: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-07 17: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-07 17: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-07 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928531456001,"66":2851,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946547712},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928531456001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:53:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:53:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946547712,"description":"Unknown IO ID 45"} 
[2026-09-07 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928531456001,"power":2851,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946547712}} 
[2026-09-07 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":175012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780279,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:53:56] local.INFO: GPS data processed {"connection_id":175012,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:53:56] local.INFO: Acknowledgment sent {"connection_id":175012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:04] local.INFO: TCP Data received {"connection_id":173907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd064d0012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd064d0012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:54:04] local.INFO: Processing buffer {"connection_id":173907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd064d0012d7aa3c005ccf7c8000c00052b..."} 
[2026-09-07 17:54:04] local.INFO: Packet analysis {"connection_id":173907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:04] local.INFO: Extracted packet for processing {"connection_id":173907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:04] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":43,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928609024001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788783650000,"timestamp_ms":1788783650000,"timestamp_seconds":1788783650,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd064d0"} 
[2026-09-07 17:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:54: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-07 17:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 17:54: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-07 17:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928609024001,"66":13798,"75":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 17:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928609024001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928609024001,"power":13798,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":173907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:04] local.INFO: GPS data processed {"connection_id":173907,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:04] local.INFO: Acknowledgment sent {"connection_id":173907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:17] local.INFO: TCP Data received {"connection_id":176423,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:17] local.INFO: Processing buffer {"connection_id":176423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:17] local.INFO: Packet analysis {"connection_id":176423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:17] local.INFO: Extracted packet for processing {"connection_id":176423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:54:17] 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-07 17:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":176423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:17] local.INFO: GPS data processed {"connection_id":176423,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:17] local.INFO: Acknowledgment sent {"connection_id":176423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:21] local.INFO: TCP Data received {"connection_id":176424,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:54:21] local.INFO: Processing buffer {"connection_id":176424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:54:21] local.INFO: Packet analysis {"connection_id":176424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:54:21] local.INFO: Extracted packet for processing {"connection_id":176424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":751054912,"raw_latitude":123055624,"longitude_deg":75.1054912,"latitude_deg":12.3055624,"altitude":23,"angle":179,"satellites":51,"speed":46,"hex_longitude":"2cc43040","hex_latitude":"0755ae08","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643072001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401867222164701184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311070711795736576,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783770000,"timestamp_ms":1788783770000,"timestamp_seconds":1788783770,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd23990"} 
[2026-09-07 17: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-07 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:54: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-07 17: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-07 17: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-07 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:54:21] 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-07 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643072001,"66":27800,"33":206,"85":37632,"24":46,"16":401867222164701184,"44":-4311070711795736576},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-07 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643072001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 17:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401867222164701184,"km_value":401867222164701.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311070711795736576,"description":"Unknown IO ID 44"} 
[2026-09-07 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643072001,"power":27800,"unknown_33":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4311070711795736576}} 
[2026-09-07 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":176424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:21] local.INFO: GPS data processed {"connection_id":176424,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:21] local.INFO: Acknowledgment sent {"connection_id":176424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:32] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:32] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:32] local.INFO: IMEI packet received {"connection_id":173909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":173909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:54:37] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:37] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:54:37] local.INFO: IMEI packet received {"connection_id":173909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":173909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:54:38] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd0b6d8012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd0b6d8012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:54:38] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd0b6d8012d7aa3c005ccf7c8000c000529..."} 
[2026-09-07 17:54:38] local.INFO: Packet analysis {"connection_id":173909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:38] local.INFO: Extracted packet for processing {"connection_id":173909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928614400001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788783671000,"timestamp_ms":1788783671000,"timestamp_seconds":1788783671,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd0b6d8"} 
[2026-09-07 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 17:54: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-07 17:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:54:38] 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-07 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928614400001,"66":13493,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928614400001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:54:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928614400001,"power":13493,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":173909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:38] local.INFO: GPS data processed {"connection_id":173909,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:38] local.INFO: Acknowledgment sent {"connection_id":173909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:40] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:40] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:40] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:54:41] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:41] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:41] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:54:44] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:44] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:44] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:54:45] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:45] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:54:45] local.INFO: IMEI packet received {"connection_id":175013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":175013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:54:46] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:46] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:54:46] local.INFO: IMEI packet received {"connection_id":173910,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173910,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:54:46] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:46] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:54:46] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:46] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:54:46] 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-07 17:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:46] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:46] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:46] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:46] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:46] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:54:46] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bcb82d0012d0a018007023b200010005629..."} 
[2026-09-07 17:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bcb82d0012d0a018007023b200010005629..."} 
[2026-09-07 17:54:46] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bcb82d0012d0a018007023b200010005629..."} 
[2026-09-07 17:54:46] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:54:46] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bcb"} 
[2026-09-07 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":755630464,"raw_latitude":117586720,"longitude_deg":75.5630464,"latitude_deg":11.758672,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d0a0180","hex_latitude":"07023b20","is_valid_coordinates":true} 
[2026-09-07 17:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532224001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783330000,"timestamp_ms":1788783330000,"timestamp_seconds":1788783330,"priority":1,"record_length":96,"hex_timestamp":"000001a07bcb82d0"} 
[2026-09-07 17: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-07 17:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":11,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3576373774682942976,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84734832110142015,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504067064987648,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84734967401611835,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4503969682424320,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635957600083475,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":9,"raw_value":-918726617798803440,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":9007425058670431838,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3813018359146355456,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161733762651023657,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195456768,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778762750465867800,"corrected_to":0} 
[2026-09-07 17:54:46] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4222632111116800,"note":"Value kept but may cause issues"} 
[2026-09-07 17:54:46] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,19,94,24,241,157,16,213,160,115,45,128,59,17,41,10,66,103,240,227,120,136,239,113,4,2,9,56,43,123,7,69,205,216],"length":574,"final_offset":704,"validated_count":34,"validation_warnings":[{"io_id":205,"original":6778762750465867800,"validated":0}]} 
[2026-09-07 17:54:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016234405527583,"timestamp_seconds":1153016234405527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17: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-07 17:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532224001,"66":13015,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532224001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532224001,"power":13015,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780285,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:54:46] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:54:46] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:54:58] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:58] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:54:58] local.INFO: IMEI packet received {"connection_id":173911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":173911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:55:00] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:55:00] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd23990012cc430400755ae08001700b333..."} 
[2026-09-07 17:55:00] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:55:00] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":751054912,"raw_latitude":123055624,"longitude_deg":75.1054912,"latitude_deg":12.3055624,"altitude":23,"angle":179,"satellites":51,"speed":46,"hex_longitude":"2cc43040","hex_latitude":"0755ae08","is_valid_coordinates":true} 
[2026-09-07 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928645120001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401867222164701184,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309874443147147264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788783770000,"timestamp_ms":1788783770000,"timestamp_seconds":1788783770,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd23990"} 
[2026-09-07 17:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:00] 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-07 17:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:55:00] 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-07 17:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928645120001,"66":27800,"33":206,"85":37632,"24":46,"16":401867222164701184,"44":-4309874443147147264},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-07 17:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928645120001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:00] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 17:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401867222164701184,"km_value":401867222164701.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309874443147147264,"description":"Unknown IO ID 44"} 
[2026-09-07 17:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928645120001,"power":27800,"unknown_33":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4309874443147147264}} 
[2026-09-07 17:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:00] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:00] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:06] local.INFO: TCP Data received {"connection_id":173911,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd25cb8012cc42d4007558880001500bb31..."} 
[2026-09-07 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd25cb8012cc42d4007558880001500bb31..."} 
[2026-09-07 17:55:06] local.INFO: Processing buffer {"connection_id":173911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd25cb8012cc42d4007558880001500bb31..."} 
[2026-09-07 17:55:06] local.INFO: Packet analysis {"connection_id":173911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:55:06] local.INFO: Extracted packet for processing {"connection_id":173911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":751054144,"raw_latitude":123046016,"longitude_deg":75.1054144,"latitude_deg":12.3046016,"altitude":21,"angle":187,"satellites":49,"speed":34,"hex_longitude":"2cc42d40","hex_latitude":"07558880","is_valid_coordinates":true} 
[2026-09-07 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928645120001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401867690316136448,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309874443147147264,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788783779000,"timestamp_ms":1788783779000,"timestamp_seconds":1788783779,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd25cb8"} 
[2026-09-07 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928645120001,"66":27865,"33":206,"85":37632,"24":34,"16":401867690316136448,"44":-4309874443147147264},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-09-07 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928645120001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 17:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401867690316136448,"km_value":401867690316136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309874443147147264,"description":"Unknown IO ID 44"} 
[2026-09-07 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928645120001,"power":27865,"unknown_33":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4309874443147147264}} 
[2026-09-07 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":173911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:06] local.INFO: GPS data processed {"connection_id":173911,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:06] local.INFO: Acknowledgment sent {"connection_id":173911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:11] local.INFO: TCP Data received {"connection_id":173909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd108e0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd108e0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:55:11] local.INFO: Processing buffer {"connection_id":173909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd108e0012d7aa3c005ccf7c8000c00052a..."} 
[2026-09-07 17:55:11] local.INFO: Packet analysis {"connection_id":173909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:55:11] local.INFO: Extracted packet for processing {"connection_id":173909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928619776001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788783692000,"timestamp_ms":1788783692000,"timestamp_seconds":1788783692,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd108e0"} 
[2026-09-07 17:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:55:11] 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-07 17:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928619776001,"66":13917,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928619776001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928619776001,"power":13917,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":173909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:11] local.INFO: GPS data processed {"connection_id":173909,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:11] local.INFO: Acknowledgment sent {"connection_id":173909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:17] local.INFO: TCP Data received {"connection_id":175013,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:17] local.INFO: Processing buffer {"connection_id":175013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:17] local.INFO: Packet analysis {"connection_id":175013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:55:17] local.INFO: Extracted packet for processing {"connection_id":175013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:55:17] 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-07 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":175013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:17] local.INFO: GPS data processed {"connection_id":175013,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:17] local.INFO: Acknowledgment sent {"connection_id":175013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:17] local.INFO: TCP Data received {"connection_id":173910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:17] local.INFO: Processing buffer {"connection_id":173910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:17] local.INFO: Packet analysis {"connection_id":173910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:55:17] local.INFO: Extracted packet for processing {"connection_id":173910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:17] 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-07 17: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-07 17: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-07 17:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173910,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":173910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780290,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:17] local.INFO: GPS data processed {"connection_id":173910,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:17] local.INFO: Acknowledgment sent {"connection_id":173910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:32] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:32] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:32] local.INFO: IMEI packet received {"connection_id":175014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":175014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:55:37] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:37] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:55:37] local.INFO: IMEI packet received {"connection_id":175014,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":175014,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:55:40] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:40] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:40] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:55:41] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:41] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:41] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:55:45] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:45] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:55:45] local.INFO: IMEI packet received {"connection_id":176425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":176425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:55:46] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:46] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:55:46] local.INFO: IMEI packet received {"connection_id":173912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":173912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:55:46] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:46] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:55:46] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:55:46] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:55:46] 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-07 17:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:46] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:46] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:46] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:46] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:55:46] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:55:46] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:46] 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-07 17: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-07 17: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-07 17:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780292,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:47] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:47] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:50] local.INFO: TCP Data received {"connection_id":175014,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd15ae8012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd15ae8012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:55:50] local.INFO: Processing buffer {"connection_id":175014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd15ae8012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:55:50] local.INFO: Packet analysis {"connection_id":175014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:55:50] local.INFO: Extracted packet for processing {"connection_id":175014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:55:50] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":36,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928625152001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783713000,"timestamp_ms":1788783713000,"timestamp_seconds":1788783713,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd15ae8"} 
[2026-09-07 17:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:55: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-07 17:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-07 17:55:50] 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-07 17:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175014,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:55:50] 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-07 17:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928625152001,"66":13602,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928625152001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:55:50] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928625152001,"power":13602,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":175014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:55:50] local.INFO: GPS data processed {"connection_id":175014,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:55:50] local.INFO: Acknowledgment sent {"connection_id":175014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:55:59] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:55:59] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:55:59] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:56:00] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:00] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:00] local.INFO: IMEI packet received {"connection_id":176427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":176427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:01] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd3cfd0012cc3c080075414e0001200aa32..."} 
[2026-09-07 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd3cfd0012cc3c080075414e0001200aa32..."} 
[2026-09-07 17:56:01] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd3cfd0012cc3c080075414e0001200aa32..."} 
[2026-09-07 17:56:01] local.INFO: Packet analysis {"connection_id":176427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd3"} 
[2026-09-07 17:56:01] local.INFO: Extracted packet for processing {"connection_id":176427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd3"} 
[2026-09-07 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":751026304,"raw_latitude":122950880,"longitude_deg":75.1026304,"latitude_deg":12.295088,"altitude":18,"angle":170,"satellites":50,"speed":47,"hex_longitude":"2cc3c080","hex_latitude":"075414e0","is_valid_coordinates":true} 
[2026-09-07 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928670720001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401872668183232512,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4341610746796886016,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788783874000,"timestamp_ms":1788783874000,"timestamp_seconds":1788783874,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd3cfd0"} 
[2026-09-07 17:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56:01] 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-07 17:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928670720001,"66":27821,"4":206,"85":37632,"24":47,"16":401872668183232512,"44":-4341610746796886016},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-07 17:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928670720001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:01] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-07 17:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401872668183232512,"km_value":401872668183232.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4341610746796886016,"description":"Unknown IO ID 44"} 
[2026-09-07 17:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928670720001,"power":27821,"unknown_4":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-4341610746796886016}} 
[2026-09-07 17:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":176427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:01] local.INFO: GPS data processed {"connection_id":176427,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:01] local.INFO: Acknowledgment sent {"connection_id":176427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:05] local.INFO: TCP Data received {"connection_id":176427,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd3e740012cc3c9400753f9600011009e31..."} 
[2026-09-07 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd3e740012cc3c9400753f9600011009e31..."} 
[2026-09-07 17:56:05] local.INFO: Processing buffer {"connection_id":176427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd3e740012cc3c9400753f9600011009e31..."} 
[2026-09-07 17:56:05] local.INFO: Packet analysis {"connection_id":176427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd3"} 
[2026-09-07 17:56:05] local.INFO: Extracted packet for processing {"connection_id":176427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd3"} 
[2026-09-07 17:56:05] local.INFO: GPS Element Parsed {"raw_longitude":751028544,"raw_latitude":122943840,"longitude_deg":75.1028544,"latitude_deg":12.294384,"altitude":17,"angle":158,"satellites":49,"speed":50,"hex_longitude":"2cc3c940","hex_latitude":"0753f960","is_valid_coordinates":true} 
[2026-09-07 17:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928671744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401873024665518080,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4341329271821377536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788783880000,"timestamp_ms":1788783880000,"timestamp_seconds":1788783880,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd3e740"} 
[2026-09-07 17:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56:05] 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-07 17:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928671744001,"66":27843,"4":206,"85":37632,"24":50,"16":401873024665518080,"44":-4341329271821377536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-07 17:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928671744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-07 17:56:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401873024665518080,"km_value":401873024665518.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4341329271821377536,"description":"Unknown IO ID 44"} 
[2026-09-07 17:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928671744001,"power":27843,"unknown_4":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-4341329271821377536}} 
[2026-09-07 17:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":176427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:05] local.INFO: GPS data processed {"connection_id":176427,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:05] local.INFO: Acknowledgment sent {"connection_id":176427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:17] local.INFO: TCP Data received {"connection_id":176425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:17] local.INFO: Processing buffer {"connection_id":176425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd08028012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:17] local.INFO: Packet analysis {"connection_id":176425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:56:17] local.INFO: Extracted packet for processing {"connection_id":176425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd0"} 
[2026-09-07 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928539136001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783657000,"timestamp_ms":1788783657000,"timestamp_seconds":1788783657,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd08028"} 
[2026-09-07 17: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-07 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:56:17] 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-07 17:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928539136001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928539136001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928539136001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":176425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:17] local.INFO: GPS data processed {"connection_id":176425,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:17] local.INFO: Acknowledgment sent {"connection_id":176425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:18] local.INFO: TCP Data received {"connection_id":173912,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:18] local.INFO: Processing buffer {"connection_id":173912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:18] local.INFO: Packet analysis {"connection_id":173912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:18] local.INFO: Extracted packet for processing {"connection_id":173912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:56:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":173912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:18] local.INFO: GPS data processed {"connection_id":173912,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:18] local.INFO: Acknowledgment sent {"connection_id":173912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:32] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:32] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:32] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:56:37] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:37] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:56:37] local.INFO: IMEI packet received {"connection_id":173682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":173682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:38] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd1acf0012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd1acf0012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:56:38] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd1acf0012d7aa3c005ccf7c8000c000524..."} 
[2026-09-07 17:56:38] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:56:38] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":36,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928630528001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788783734000,"timestamp_ms":1788783734000,"timestamp_seconds":1788783734,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd1acf0"} 
[2026-09-07 17:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:38] 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-07 17:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:56:38] 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-07 17:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928630528001,"66":13928,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 17:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928630528001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 17:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928630528001,"power":13928,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:38] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:38] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:40] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:40] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:40] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:56:41] local.INFO: TCP Data received {"connection_id":173683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:41] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:41] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:56:42] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:42] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:42] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:56:43] local.INFO: TCP Data received {"connection_id":173682,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd1fef8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd1fef8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:56:43] local.INFO: Processing buffer {"connection_id":173682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd1fef8012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:56:43] local.INFO: Packet analysis {"connection_id":173682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:56:43] local.INFO: Extracted packet for processing {"connection_id":173682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd1"} 
[2026-09-07 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928635904001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788783755000,"timestamp_ms":1788783755000,"timestamp_seconds":1788783755,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd1fef8"} 
[2026-09-07 17:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:43] 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-07 17:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:56:43] 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-07 17:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928635904001,"66":14102,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928635904001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928635904001,"power":14102,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":173682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:43] local.INFO: GPS data processed {"connection_id":173682,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:43] local.INFO: Acknowledgment sent {"connection_id":173682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:44] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:44] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:44] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:45] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:45] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:56:45] local.INFO: IMEI packet received {"connection_id":173913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":173913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:46] local.INFO: TCP Data received {"connection_id":173683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:46] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:56:46] local.INFO: IMEI packet received {"connection_id":173683,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":173683,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:46] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:46] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:56:46] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:56:46] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 17: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-07 17:56:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:56:46] 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-07 17:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:46] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:46] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:46] local.INFO: TCP Data received {"connection_id":173683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:46] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:56:46] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:46] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:46] 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-07 17: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-07 17: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-07 17:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780301,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:47] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:47] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:56:49] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:49] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:56:49] local.INFO: IMEI packet received {"connection_id":176428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":176428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:56:50] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd40298012cc3d7400753d858000f009e31..."} 
[2026-09-07 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd40298012cc3d7400753d858000f009e31..."} 
[2026-09-07 17:56:50] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd40298012cc3d7400753d858000f009e31..."} 
[2026-09-07 17:56:50] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:50] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":751032128,"raw_latitude":122935384,"longitude_deg":75.1032128,"latitude_deg":12.2935384,"altitude":15,"angle":158,"satellites":49,"speed":54,"hex_longitude":"2cc3d740","hex_latitude":"0753d858","is_valid_coordinates":true} 
[2026-09-07 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928673280001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401873471342116864,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4338866365776961536,"note":"Value kept but may cause issues"} 
[2026-09-07 17:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783887000,"timestamp_ms":1788783887000,"timestamp_seconds":1788783887,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd40298"} 
[2026-09-07 17:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:56:50] 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-07 17:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:56: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-07 17:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928673280001,"66":27832,"4":206,"85":37632,"24":54,"16":401873471342116864,"44":-4338866365776961536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-09-07 17:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928673280001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:56:50] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-09-07 17:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401873471342116864,"km_value":401873471342116.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4338866365776961536,"description":"Unknown IO ID 44"} 
[2026-09-07 17:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928673280001,"power":27832,"unknown_4":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-4338866365776961536}} 
[2026-09-07 17:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:56:50] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:56:50] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:17] local.INFO: TCP Data received {"connection_id":173913,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:17] local.INFO: Processing buffer {"connection_id":173913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:17] local.INFO: Packet analysis {"connection_id":173913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:17] local.INFO: Extracted packet for processing {"connection_id":173913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 17: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-07 17:57:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:57:17] 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-07 17:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":173913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:17] local.INFO: GPS data processed {"connection_id":173913,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:17] local.INFO: Acknowledgment sent {"connection_id":173913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:18] local.INFO: TCP Data received {"connection_id":173683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:18] local.INFO: Processing buffer {"connection_id":173683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:18] local.INFO: Packet analysis {"connection_id":173683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:57:18] local.INFO: Extracted packet for processing {"connection_id":173683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173683,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:57:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":173683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:18] local.INFO: GPS data processed {"connection_id":173683,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:18] local.INFO: Acknowledgment sent {"connection_id":173683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:22] local.INFO: TCP Data received {"connection_id":176428,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd58168012cc4a2800751f580000b009d30..."} 
[2026-09-07 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd58168012cc4a2800751f580000b009d30..."} 
[2026-09-07 17:57:22] local.INFO: Processing buffer {"connection_id":176428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd58168012cc4a2800751f580000b009d30..."} 
[2026-09-07 17:57:22] local.INFO: Packet analysis {"connection_id":176428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:22] local.INFO: Extracted packet for processing {"connection_id":176428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":751084160,"raw_latitude":122811776,"longitude_deg":75.108416,"latitude_deg":12.2811776,"altitude":11,"angle":157,"satellites":48,"speed":53,"hex_longitude":"2cc4a280","hex_latitude":"0751f580","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928698368001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401879948152799232,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4281938051768801280,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:22] 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-07 17:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788783985000,"timestamp_ms":1788783985000,"timestamp_seconds":1788783985,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd58168"} 
[2026-09-07 17: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-07 17:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:57: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-07 17: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-07 17: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-07 17:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:57:22] 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-07 17:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928698368001,"66":27908,"183":206,"85":37632,"24":53,"16":401879948152799232,"44":-4281938051768801280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-07 17:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928698368001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:22] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 17:57:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401879948152799232,"km_value":401879948152799.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4281938051768801280,"description":"Unknown IO ID 44"} 
[2026-09-07 17:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928698368001,"power":27908,"unknown_183":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4281938051768801280}} 
[2026-09-07 17:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":176428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:22] local.INFO: GPS data processed {"connection_id":176428,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:22] local.INFO: Acknowledgment sent {"connection_id":176428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:27] local.INFO: TCP Data received {"connection_id":175016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:27] local.INFO: Processing buffer {"connection_id":175016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:27] local.INFO: IMEI packet received {"connection_id":175016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":175016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:57:32] local.INFO: TCP Data received {"connection_id":175016,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:32] local.INFO: Processing buffer {"connection_id":175016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:57:32] local.INFO: IMEI packet received {"connection_id":175016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":175016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:57:37] local.INFO: TCP Data received {"connection_id":175016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:57:37] local.INFO: Processing buffer {"connection_id":175016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:57:37] local.INFO: Packet analysis {"connection_id":175016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:57:37] local.INFO: Extracted packet for processing {"connection_id":175016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928641280001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788783761000,"timestamp_ms":1788783761000,"timestamp_seconds":1788783761,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd21668"} 
[2026-09-07 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:57: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-07 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928641280001,"66":14102,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928641280001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:57:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928641280001,"power":14102,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":175016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:37] local.INFO: GPS data processed {"connection_id":175016,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:37] local.INFO: Acknowledgment sent {"connection_id":175016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:40] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:40] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:40] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:57:40] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:40] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:40] local.INFO: IMEI packet received {"connection_id":173684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":173684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:57:43] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:43] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:43] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:57:44] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:44] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:44] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:57:45] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:45] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:57:45] local.INFO: IMEI packet received {"connection_id":175017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":175017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:57:46] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:46] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:57:46] local.INFO: IMEI packet received {"connection_id":173684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":173684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:57:46] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:46] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:57:46] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:46] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 17: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-07 17:57:46] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:57:46] 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-07 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:46] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:46] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:46] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:46] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:57:46] local.INFO: Packet analysis {"connection_id":173684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:57:46] local.INFO: Extracted packet for processing {"connection_id":173684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:46] 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-07 17: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-07 17: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-07 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":173684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780308,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:46] local.INFO: GPS data processed {"connection_id":173684,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:46] local.INFO: Acknowledgment sent {"connection_id":173684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:57:49] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:49] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:57:49] local.INFO: IMEI packet received {"connection_id":176429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:57:50] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd59cc0012cc4b0800751d3a8000b009e30..."} 
[2026-09-07 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd59cc0012cc4b0800751d3a8000b009e30..."} 
[2026-09-07 17:57:50] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd59cc0012cc4b0800751d3a8000b009e30..."} 
[2026-09-07 17:57:50] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:50] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":751087744,"raw_latitude":122803112,"longitude_deg":75.1087744,"latitude_deg":12.2803112,"altitude":11,"angle":158,"satellites":48,"speed":51,"hex_longitude":"2cc4b080","hex_latitude":"0751d3a8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928700160001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401880403419332608,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4277715927120379904,"note":"Value kept but may cause issues"} 
[2026-09-07 17:57:50] 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-07 17:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788783992000,"timestamp_ms":1788783992000,"timestamp_seconds":1788783992,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd59cc0"} 
[2026-09-07 17: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-07 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 17:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:57: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-07 17:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928700160001,"66":27865,"183":206,"85":37632,"24":51,"16":401880403419332608,"44":-4277715927120379904},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-07 17:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928700160001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:57:50] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 17:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401880403419332608,"km_value":401880403419332.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4277715927120379904,"description":"Unknown IO ID 44"} 
[2026-09-07 17:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928700160001,"power":27865,"unknown_183":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-4277715927120379904}} 
[2026-09-07 17:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:57:50] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:57:50] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:08] local.INFO: TCP Data received {"connection_id":175016,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:58:08] local.INFO: Processing buffer {"connection_id":175016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd21668012d7aa3c005ccf7c8000c000526..."} 
[2026-09-07 17:58:08] local.INFO: Packet analysis {"connection_id":175016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:58:08] local.INFO: Extracted packet for processing {"connection_id":175016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928642816001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788783761000,"timestamp_ms":1788783761000,"timestamp_seconds":1788783761,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd21668"} 
[2026-09-07 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":175016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":175016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":175016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:58: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-07 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928642816001,"66":14102,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928642816001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:08] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928642816001,"power":14102,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":175016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:08] local.INFO: GPS data processed {"connection_id":175016,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:08] local.INFO: Acknowledgment sent {"connection_id":175016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:17] local.INFO: TCP Data received {"connection_id":175017,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:17] local.INFO: Processing buffer {"connection_id":175017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:17] local.INFO: Packet analysis {"connection_id":175017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:17] local.INFO: Extracted packet for processing {"connection_id":175017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 17: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-07 17:58:17] 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-07 17: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:58:17] 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-07 17:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":175017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:17] local.INFO: GPS data processed {"connection_id":175017,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:17] local.INFO: Acknowledgment sent {"connection_id":175017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:18] local.INFO: TCP Data received {"connection_id":173684,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:18] local.INFO: Processing buffer {"connection_id":173684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:18] local.INFO: Packet analysis {"connection_id":173684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:18] local.INFO: Extracted packet for processing {"connection_id":173684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:58:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":173684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780312,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:18] local.INFO: GPS data processed {"connection_id":173684,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:18] local.INFO: Acknowledgment sent {"connection_id":173684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:21] local.INFO: TCP Data received {"connection_id":176429,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd5b818012cc4bdc00751b2c8000b009e2f..."} 
[2026-09-07 17:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd5b818012cc4bdc00751b2c8000b009e2f..."} 
[2026-09-07 17:58:21] local.INFO: Processing buffer {"connection_id":176429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd5b818012cc4bdc00751b2c8000b009e2f..."} 
[2026-09-07 17:58:21] local.INFO: Packet analysis {"connection_id":176429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:21] local.INFO: Extracted packet for processing {"connection_id":176429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":751091136,"raw_latitude":122794696,"longitude_deg":75.1091136,"latitude_deg":12.2794696,"altitude":11,"angle":158,"satellites":47,"speed":51,"hex_longitude":"2cc4bdc0","hex_latitude":"0751b2c8","is_valid_coordinates":true} 
[2026-09-07 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928701952001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401880841505996800,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4273775277448648704,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:21] 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-07 17:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788783999000,"timestamp_ms":1788783999000,"timestamp_seconds":1788783999,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd5b818"} 
[2026-09-07 17:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 17:58: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-07 17:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:58:21] 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-07 17:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928701952001,"66":27658,"183":206,"85":37632,"24":51,"16":401880841505996800,"44":-4273775277448648704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-09-07 17:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928701952001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:21] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-09-07 17:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401880841505996800,"km_value":401880841505996.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4273775277448648704,"description":"Unknown IO ID 44"} 
[2026-09-07 17:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928701952001,"power":27658,"unknown_183":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-4273775277448648704}} 
[2026-09-07 17:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":176429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:21] local.INFO: GPS data processed {"connection_id":176429,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:21] local.INFO: Acknowledgment sent {"connection_id":176429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:27] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:27] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:27] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:58:32] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:32] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:58:32] local.INFO: IMEI packet received {"connection_id":176430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":176430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:58:33] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:58:33] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:58:33] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:58:33] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":34,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928642816001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788783764000,"timestamp_ms":1788783764000,"timestamp_seconds":1788783764,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd22220"} 
[2026-09-07 17:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:58: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-07 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:33] 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-07 17:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928642816001,"66":13580,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928642816001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928642816001,"power":13580,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:33] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:33] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:40] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:40] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:40] local.INFO: IMEI packet received {"connection_id":173685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":173685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:58:42] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:42] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:42] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:58:44] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:44] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:44] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:58:45] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:45] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:58:45] local.INFO: IMEI packet received {"connection_id":173685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:58:45] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:45] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:45] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:58:46] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:46] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:58:46] local.INFO: Packet analysis {"connection_id":173685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:46] local.INFO: Extracted packet for processing {"connection_id":173685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 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-07 17:58:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:58:46] 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-07 17:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:58:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":173685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:46] local.INFO: GPS data processed {"connection_id":173685,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:46] local.INFO: Acknowledgment sent {"connection_id":173685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:49] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:49] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:58:49] local.INFO: IMEI packet received {"connection_id":173915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":173915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:58:50] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd5d370012cc4cb4007519288000b009e30..."} 
[2026-09-07 17:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd5d370012cc4cb4007519288000b009e30..."} 
[2026-09-07 17:58:50] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd5d370012cc4cb4007519288000b009e30..."} 
[2026-09-07 17:58:50] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:50] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":751094592,"raw_latitude":122786440,"longitude_deg":75.1094592,"latitude_deg":12.278644,"altitude":11,"angle":158,"satellites":48,"speed":48,"hex_longitude":"2cc4cb40","hex_latitude":"07519288","is_valid_coordinates":true} 
[2026-09-07 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-07 17:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928703744001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401881275297693696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4270045734009387008,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784006000,"timestamp_ms":1788784006000,"timestamp_seconds":1788784006,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd5d370"} 
[2026-09-07 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-07 17:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 17:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:58: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-07 17:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928703744001,"66":27974,"171":206,"85":37632,"24":48,"16":401881275297693696,"44":-4270045734009387008},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 17:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928703744001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 17:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401881275297693696,"km_value":401881275297693.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4270045734009387008,"description":"Unknown IO ID 44"} 
[2026-09-07 17:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928703744001,"power":27974,"unknown_171":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4270045734009387008}} 
[2026-09-07 17:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:50] local.INFO: GPS data processed {"connection_id":173915,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:50] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:51] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:51] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:58:51] local.INFO: IMEI packet received {"connection_id":173914,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":173914,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:58:51] local.INFO: TCP Data received {"connection_id":176431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:58:51] local.INFO: Processing buffer {"connection_id":176431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 17:58:51] local.INFO: IMEI packet received {"connection_id":176431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 17:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":176431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:58:51] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:51] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:51] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:51] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:58: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-07 17: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-07 17: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-07 17:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:58:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:51] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:51] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:58:56] local.INFO: TCP Data received {"connection_id":173914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:56] local.INFO: Processing buffer {"connection_id":173914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:58:56] local.INFO: Packet analysis {"connection_id":173914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:56] local.INFO: Extracted packet for processing {"connection_id":173914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:58:56] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:58: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-07 17:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173914,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:58:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:58:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":173914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:58:56] local.INFO: GPS data processed {"connection_id":173914,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:58:56] local.INFO: Acknowledgment sent {"connection_id":173914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:04] local.INFO: TCP Data received {"connection_id":176430,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:59:05] local.INFO: Processing buffer {"connection_id":176430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd22220012d7aa3c005ccf7c8000c000522..."} 
[2026-09-07 17:59:05] local.INFO: Packet analysis {"connection_id":176430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:59:05] local.INFO: Extracted packet for processing {"connection_id":176430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd2"} 
[2026-09-07 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":12,"angle":5,"satellites":34,"speed":0,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788783764000,"timestamp_ms":1788783764000,"timestamp_seconds":1788783764,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd22220"} 
[2026-09-07 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-07 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3517771777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637121536239521,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812346574,"corrected_to":0} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-5404093433000178091,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,91,85,24,241,157,16,58,160,22,45,192,247,12,38,10,66,254,1,240,227,123,204,4,113,205,90,163,200,36,239,53,161,2,5,122,52,59],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":2812346574,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 17:59:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162207,"timestamp_seconds":864696772042162.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":13580,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:05] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":13580,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":176430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:05] local.INFO: GPS data processed {"connection_id":176430,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:05] local.INFO: Acknowledgment sent {"connection_id":176430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:16] local.INFO: TCP Data received {"connection_id":173685,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:16] local.INFO: Processing buffer {"connection_id":173685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:16] local.INFO: Packet analysis {"connection_id":173685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:16] local.INFO: Extracted packet for processing {"connection_id":173685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59: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-07 17:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 17: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-07 17:59:16] 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-07 17:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17: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-07 17: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-07 17:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:59:16] 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-07 17:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":173685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:16] local.INFO: GPS data processed {"connection_id":173685,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:16] local.INFO: Acknowledgment sent {"connection_id":173685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:21] local.INFO: TCP Data received {"connection_id":173915,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd5f2b0012cc4d840075171b8000b009e31..."} 
[2026-09-07 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd5f2b0012cc4d840075171b8000b009e31..."} 
[2026-09-07 17:59:21] local.INFO: Processing buffer {"connection_id":173915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd5f2b0012cc4d840075171b8000b009e31..."} 
[2026-09-07 17:59:21] local.INFO: Packet analysis {"connection_id":173915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:21] local.INFO: Extracted packet for processing {"connection_id":173915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":751097920,"raw_latitude":122778040,"longitude_deg":75.109792,"latitude_deg":12.277804,"altitude":11,"angle":158,"satellites":49,"speed":31,"hex_longitude":"2cc4d840","hex_latitude":"075171b8","is_valid_coordinates":true} 
[2026-09-07 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928705536001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401881713384357888,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4266245821825906688,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784014000,"timestamp_ms":1788784014000,"timestamp_seconds":1788784014,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd5f2b0"} 
[2026-09-07 17:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 17:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:59:21] 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-07 17:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928705536001,"66":27843,"171":206,"85":37632,"24":31,"16":401881713384357888,"44":-4266245821825906688},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 17:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928705536001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:21] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 17:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401881713384357888,"km_value":401881713384357.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4266245821825906688,"description":"Unknown IO ID 44"} 
[2026-09-07 17:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928705536001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4266245821825906688}} 
[2026-09-07 17:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":173915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:21] local.INFO: GPS data processed {"connection_id":173915,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:21] local.INFO: Acknowledgment sent {"connection_id":173915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:27] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:27] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:27] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:59:32] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:32] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 17:59:32] local.INFO: IMEI packet received {"connection_id":175019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 17:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":175019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:59:33] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 17:59:33] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 17:59:33] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 17:59:33] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 17:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:59: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-07 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 17:59:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 17:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 17:59:33] 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-07 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 17:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:33] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:33] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:40] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:40] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:40] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 17:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:59:44] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:44] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:44] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 17:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:59:45] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:45] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 17:59:45] local.INFO: IMEI packet received {"connection_id":173916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 17:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":173916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:59:46] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:46] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:46] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 17:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 17:59:46] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:46] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 17:59:46] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:46] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 17:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 17:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 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-07 17:59:46] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 17:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 17:59:46] 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-07 17:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 17:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 17:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 17:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 17:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 17:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 17:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 17:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 17:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 17:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:46] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:46] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:49] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:49] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 17:59:49] local.INFO: IMEI packet received {"connection_id":175021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 17:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":175021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:59:50] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd61da8012cc4e54007514fe0000b009e32..."} 
[2026-09-07 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd61da8012cc4e54007514fe0000b009e32..."} 
[2026-09-07 17:59:50] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd61da8012cc4e54007514fe0000b009e32..."} 
[2026-09-07 17:59:50] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 17:59:50] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":751101248,"raw_latitude":122769376,"longitude_deg":75.1101248,"latitude_deg":12.2769376,"altitude":11,"angle":158,"satellites":50,"speed":39,"hex_longitude":"2cc4e540","hex_latitude":"07514fe0","is_valid_coordinates":true} 
[2026-09-07 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 17:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928707584001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401882160060956672,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4262586647130818560,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784025000,"timestamp_ms":1788784025000,"timestamp_seconds":1788784025,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd61da8"} 
[2026-09-07 17:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 17:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 17:59:50] 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-07 17:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 17:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 17:59: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-07 17:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 17:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 17:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928707584001,"66":27876,"171":206,"85":37632,"24":39,"16":401882160060956672,"44":-4262586647130818560},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-09-07 17:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 17:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 17:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928707584001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:50] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 17:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 17:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401882160060956672,"km_value":401882160060956.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4262586647130818560,"description":"Unknown IO ID 44"} 
[2026-09-07 17:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928707584001,"power":27876,"unknown_171":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-4262586647130818560}} 
[2026-09-07 17:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:50] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:50] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 17:59:51] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:51] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 17:59:51] local.INFO: IMEI packet received {"connection_id":175020,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":175020,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 17:59:51] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:59:51] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd43178012d09ffc007023af8001000562c..."} 
[2026-09-07 17:59:51] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:59:51] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd4"} 
[2026-09-07 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":44,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 17: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-07 17:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928532480001,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720998182946545664,"note":"Value kept but may cause issues"} 
[2026-09-07 17:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 17:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788783899000,"timestamp_ms":1788783899000,"timestamp_seconds":1788783899,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd43178"} 
[2026-09-07 17: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-07 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-07 17:59: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-07 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 17: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-07 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928532480001,"66":12809,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720998182946545664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928532480001,"description":"Unknown IO ID 0"} 
[2026-09-07 17:59:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 17:59:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 17:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":720998182946545664,"description":"Unknown IO ID 45"} 
[2026-09-07 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928532480001,"power":12809,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720998182946545664}} 
[2026-09-07 17:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 17:59:52] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-07 17:59:52] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:04] local.INFO: TCP Data received {"connection_id":175019,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:05] local.INFO: Processing buffer {"connection_id":175019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:05] local.INFO: Packet analysis {"connection_id":175019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:00:05] local.INFO: Extracted packet for processing {"connection_id":175019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-07 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:00:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:00:05] 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-07 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:05] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":175019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:05] local.INFO: GPS data processed {"connection_id":175019,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:05] local.INFO: Acknowledgment sent {"connection_id":175019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:17] local.INFO: TCP Data received {"connection_id":173916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:17] local.INFO: Processing buffer {"connection_id":173916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:17] local.INFO: Packet analysis {"connection_id":173916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:00:17] local.INFO: Extracted packet for processing {"connection_id":173916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 18: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-07 18:00:17] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:00:17] 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-07 18:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":173916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:17] local.INFO: GPS data processed {"connection_id":173916,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:17] local.INFO: Acknowledgment sent {"connection_id":173916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:21] local.INFO: TCP Data received {"connection_id":175021,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd81978012cc56e80074fdec8000f009830..."} 
[2026-09-07 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd81978012cc56e80074fdec8000f009830..."} 
[2026-09-07 18:00:21] local.INFO: Processing buffer {"connection_id":175021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd81978012cc56e80074fdec8000f009830..."} 
[2026-09-07 18:00:21] local.INFO: Packet analysis {"connection_id":175021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:21] local.INFO: Extracted packet for processing {"connection_id":175021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":751136384,"raw_latitude":122674888,"longitude_deg":75.1136384,"latitude_deg":12.2674888,"altitude":15,"angle":152,"satellites":48,"speed":41,"hex_longitude":"2cc56e80","hex_latitude":"074fdec8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928741120001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401887047733739520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4225080106508259328,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784155000,"timestamp_ms":1788784155000,"timestamp_seconds":1788784155,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd81978"} 
[2026-09-07 18: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-07 18:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:21] 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-07 18:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928741120001,"66":27876,"121":206,"85":37632,"24":41,"16":401887047733739520,"44":-4225080106508259328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 18:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928741120001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 18:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401887047733739520,"km_value":401887047733739.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4225080106508259328,"description":"Unknown IO ID 44"} 
[2026-09-07 18:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928741120001,"power":27876,"unknown_121":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-4225080106508259328}} 
[2026-09-07 18:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":175021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:21] local.INFO: GPS data processed {"connection_id":175021,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:21] local.INFO: Acknowledgment sent {"connection_id":175021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:23] local.INFO: TCP Data received {"connection_id":175020,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:23] local.INFO: Processing buffer {"connection_id":175020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:23] local.INFO: Packet analysis {"connection_id":175020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:23] local.INFO: Extracted packet for processing {"connection_id":175020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928678144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788784200000,"timestamp_ms":1788784200000,"timestamp_seconds":1788784200,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd8c940"} 
[2026-09-07 18: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-07 18:00: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-07 18: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":9,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3806421289379695808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578303694,"corrected_to":0} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157989836017246,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161118036156243495,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,19,94,24,241,157,16,213,160,130,45,128,59,41,10,66,126,40,115,240,178,227,123,2,4,113,205,103,1,136,239,56,108,7,43,196],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1578303694,"validated":0}]} 
[2026-09-07 18:00:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016251585396736,"timestamp_seconds":1153016251585396.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175020,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928678144001,"66":12765,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928678144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:00:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928678144001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":175020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780329,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:23] local.INFO: GPS data processed {"connection_id":175020,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:23] local.INFO: Acknowledgment sent {"connection_id":175020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:27] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:27] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:27] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:00:32] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:32] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:00:32] local.INFO: IMEI packet received {"connection_id":176432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":176432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:00:38] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:38] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:00:38] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:00:38] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:00:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:39] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:39] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:40] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:40] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:40] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:00:40] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:40] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:40] local.INFO: IMEI packet received {"connection_id":175022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":175022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:00:45] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:45] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:00:45] local.INFO: IMEI packet received {"connection_id":175023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":175023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:00:46] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:46] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:00:46] local.INFO: IMEI packet received {"connection_id":175022,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":175022,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:00:46] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:46] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:00:46] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:00:46] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:00:46] 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-07 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:00:46] 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-07 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:46] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:46] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:46] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:46] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:00:46] local.INFO: Packet analysis {"connection_id":175022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:46] local.INFO: Extracted packet for processing {"connection_id":175022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928678144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784200000,"timestamp_ms":1788784200000,"timestamp_seconds":1788784200,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd8c940"} 
[2026-09-07 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:00: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-07 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3806421289379695808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578303694,"corrected_to":0} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157989836017246,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161118036156243495,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,19,94,24,241,157,16,213,160,130,45,128,59,41,10,66,126,40,115,240,178,227,123,2,4,113,205,103,1,136,239,56,108,7,43,196],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1578303694,"validated":0}]} 
[2026-09-07 18:00:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016251585396736,"timestamp_seconds":1153016251585396.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928678144001,"66":12765,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928678144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928678144001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":175022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780332,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:47] local.INFO: GPS data processed {"connection_id":175022,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:47] local.INFO: Acknowledgment sent {"connection_id":175022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:49] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:49] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:49] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:00:54] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:54] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:00:54] local.INFO: IMEI packet received {"connection_id":176433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":176433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:00:57] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd838b8012cc57ec0074fbf48000d009830..."} 
[2026-09-07 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd838b8012cc57ec0074fbf48000d009830..."} 
[2026-09-07 18:00:57] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd838b8012cc57ec0074fbf48000d009830..."} 
[2026-09-07 18:00:57] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:57] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:57] local.INFO: GPS Element Parsed {"raw_longitude":751140544,"raw_latitude":122666824,"longitude_deg":75.1140544,"latitude_deg":12.2666824,"altitude":13,"angle":152,"satellites":48,"speed":47,"hex_longitude":"2cc57ec0","hex_latitude":"074fbf48","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928743680001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401887485820403712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4220295031906449408,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788784163000,"timestamp_ms":1788784163000,"timestamp_seconds":1788784163,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd838b8"} 
[2026-09-07 18: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-07 18:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:57] 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-07 18: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-07 18: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-07 18:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:57] 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-07 18:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928743680001,"66":27876,"121":206,"85":37632,"24":47,"16":401887485820403712,"44":-4220295031906449408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 18:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928743680001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 18:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401887485820403712,"km_value":401887485820403.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4220295031906449408,"description":"Unknown IO ID 44"} 
[2026-09-07 18:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928743680001,"power":27876,"unknown_121":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-4220295031906449408}} 
[2026-09-07 18:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:57] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:57] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:00:58] local.INFO: TCP Data received {"connection_id":176433,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd85be0012cc59040074f9dc0000b009932..."} 
[2026-09-07 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd85be0012cc59040074f9dc0000b009932..."} 
[2026-09-07 18:00:58] local.INFO: Processing buffer {"connection_id":176433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd85be0012cc59040074f9dc0000b009932..."} 
[2026-09-07 18:00:58] local.INFO: Packet analysis {"connection_id":176433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:58] local.INFO: Extracted packet for processing {"connection_id":176433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":751145024,"raw_latitude":122658240,"longitude_deg":75.1145024,"latitude_deg":12.265824,"altitude":11,"angle":153,"satellites":50,"speed":36,"hex_longitude":"2cc59040","hex_latitude":"074f9dc0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928745728001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401887953971838976,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4215721063536965632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788784172000,"timestamp_ms":1788784172000,"timestamp_seconds":1788784172,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd85be0"} 
[2026-09-07 18: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-07 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:00:58] 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-07 18:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928745728001,"66":27865,"121":206,"85":37632,"24":36,"16":401887953971838976,"44":-4215721063536965632},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 18:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928745728001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:00:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 18:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401887953971838976,"km_value":401887953971839.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:00:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4215721063536965632,"description":"Unknown IO ID 44"} 
[2026-09-07 18:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928745728001,"power":27865,"unknown_121":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-4215721063536965632}} 
[2026-09-07 18:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":176433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:00:58] local.INFO: GPS data processed {"connection_id":176433,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:00:58] local.INFO: Acknowledgment sent {"connection_id":176433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:10] local.INFO: TCP Data received {"connection_id":176432,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:10] local.INFO: Processing buffer {"connection_id":176432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:10] local.INFO: Packet analysis {"connection_id":176432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:10] local.INFO: Extracted packet for processing {"connection_id":176432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:10] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:01:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":176432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:10] local.INFO: GPS data processed {"connection_id":176432,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:10] local.INFO: Acknowledgment sent {"connection_id":176432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:17] local.INFO: TCP Data received {"connection_id":175023,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:17] local.INFO: Processing buffer {"connection_id":175023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd517f0012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:17] local.INFO: Packet analysis {"connection_id":175023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:01:17] local.INFO: Extracted packet for processing {"connection_id":175023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd5"} 
[2026-09-07 18:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928616192001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788783958000,"timestamp_ms":1788783958000,"timestamp_seconds":1788783958,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd517f0"} 
[2026-09-07 18:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01:17] 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-07 18:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01:17] 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-07 18:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928616192001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928616192001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928616192001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":175023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:17] local.INFO: GPS data processed {"connection_id":175023,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:17] local.INFO: Acknowledgment sent {"connection_id":175023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:18] local.INFO: TCP Data received {"connection_id":175022,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:18] local.INFO: Processing buffer {"connection_id":175022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:18] local.INFO: Packet analysis {"connection_id":175022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:18] local.INFO: Extracted packet for processing {"connection_id":175022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928678144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788784200000,"timestamp_ms":1788784200000,"timestamp_seconds":1788784200,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd8c940"} 
[2026-09-07 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01: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-07 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3806421289379695808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578303694,"corrected_to":0} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157989836017246,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161118036156243495,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,19,94,24,241,157,16,213,160,130,45,128,59,41,10,66,126,40,115,240,178,227,123,2,4,113,205,103,1,136,239,56,108,7,43,196],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1578303694,"validated":0}]} 
[2026-09-07 18:01:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016251585396736,"timestamp_seconds":1153016251585396.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175022,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928678144001,"66":12765,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928678144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:01:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928678144001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":175022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:18] local.INFO: GPS data processed {"connection_id":175022,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:18] local.INFO: Acknowledgment sent {"connection_id":175022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:32] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:32] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:32] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:01:37] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:37] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:01:37] local.INFO: IMEI packet received {"connection_id":175025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":175025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:01:38] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:38] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:38] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:38] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:01:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:38] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:38] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:41] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:41] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:41] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:01:43] local.INFO: TCP Data received {"connection_id":175025,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:43] local.INFO: Processing buffer {"connection_id":175025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:01:43] local.INFO: Packet analysis {"connection_id":175025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:43] local.INFO: Extracted packet for processing {"connection_id":175025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:01:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":175025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":175025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":175025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":175025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:43] local.INFO: GPS data processed {"connection_id":175025,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:43] local.INFO: Acknowledgment sent {"connection_id":175025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:43] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:43] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:43] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:01:44] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:44] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:44] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:01:45] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:45] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:45] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:01:46] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:46] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:01:46] local.INFO: IMEI packet received {"connection_id":175026,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":175026,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:01:46] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:46] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:01:46] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:46] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928678144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784200000,"timestamp_ms":1788784200000,"timestamp_seconds":1788784200,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd8c940"} 
[2026-09-07 18: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-07 18: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-07 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3806421289379695808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578303694,"corrected_to":0} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157989836017246,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161118036156243495,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:46] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,19,94,24,241,157,16,213,160,130,45,128,59,41,10,66,126,40,115,240,178,227,123,2,4,113,205,103,1,136,239,56,108,7,43,196],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1578303694,"validated":0}]} 
[2026-09-07 18:01:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016251585396736,"timestamp_seconds":1153016251585396.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928678144001,"66":12765,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928678144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:01:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928678144001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780340,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:47] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:47] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:49] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:49] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:01:49] local.INFO: IMEI packet received {"connection_id":173686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:01:50] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:50] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:01:50] local.INFO: IMEI packet received {"connection_id":173918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":173918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:01:50] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd89290012cc59f40074f7e48000a009d32..."} 
[2026-09-07 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd89290012cc59f40074f7e48000a009d32..."} 
[2026-09-07 18:01:50] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd89290012cc59f40074f7e48000a009d32..."} 
[2026-09-07 18:01:50] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:50] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":751148864,"raw_latitude":122650184,"longitude_deg":75.1148864,"latitude_deg":12.2650184,"altitude":10,"angle":157,"satellites":50,"speed":19,"hex_longitude":"2cc59f40","hex_latitude":"074f7e48","is_valid_coordinates":true} 
[2026-09-07 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928748032001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401888383468568576,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4210795251446726656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784186000,"timestamp_ms":1788784186000,"timestamp_seconds":1788784186,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd89290"} 
[2026-09-07 18:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:01: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-07 18:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928748032001,"66":27843,"121":206,"85":37632,"24":19,"16":401888383468568576,"44":-4210795251446726656},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-09-07 18:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928748032001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-07 18:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401888383468568576,"km_value":401888383468568.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4210795251446726656,"description":"Unknown IO ID 44"} 
[2026-09-07 18:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928748032001,"power":27843,"unknown_121":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4210795251446726656}} 
[2026-09-07 18:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:50] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:50] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:51] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:51] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:51] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:01:51] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 18:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01: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-07 18:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 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-07 18:01:51] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01:51] 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-07 18:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:01:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:51] local.INFO: GPS data processed {"connection_id":173918,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:51] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:01:55] local.INFO: TCP Data received {"connection_id":173918,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:55] local.INFO: Processing buffer {"connection_id":173918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:01:55] local.INFO: Packet analysis {"connection_id":173918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:01:55] local.INFO: Extracted packet for processing {"connection_id":173918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18: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-07 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18: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-07 18:01:55] 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-07 18: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-07 18: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-07 18: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-07 18: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-07 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:01: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-07 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":173918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:01:55] local.INFO: GPS data processed {"connection_id":173918,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:01:55] local.INFO: Acknowledgment sent {"connection_id":173918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:18] local.INFO: TCP Data received {"connection_id":175026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:02:18] local.INFO: Processing buffer {"connection_id":175026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd8c940012d09ffc007023af80010005629..."} 
[2026-09-07 18:02:18] local.INFO: Packet analysis {"connection_id":175026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:02:18] local.INFO: Extracted packet for processing {"connection_id":175026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd8"} 
[2026-09-07 18:02:18] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928678144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788784200000,"timestamp_ms":1788784200000,"timestamp_seconds":1788784200,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd8c940"} 
[2026-09-07 18: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-07 18:02: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-07 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3806421289379695808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578303694,"corrected_to":0} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422157989836017246,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":161118036156243495,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,19,94,24,241,157,16,213,160,130,45,128,59,41,10,66,126,40,115,240,178,227,123,2,4,113,205,103,1,136,239,56,108,7,43,196],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1578303694,"validated":0}]} 
[2026-09-07 18:02:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016251585396736,"timestamp_seconds":1153016251585396.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175026,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928678144001,"66":12765,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928678144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:02:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928678144001,"power":12765,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":175026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780344,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:18] local.INFO: GPS data processed {"connection_id":175026,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:18] local.INFO: Acknowledgment sent {"connection_id":175026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:21] local.INFO: TCP Data received {"connection_id":173686,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bda2cb8012cc65700074dbb10000d008232..."} 
[2026-09-07 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bda2cb8012cc65700074dbb10000d008232..."} 
[2026-09-07 18:02:21] local.INFO: Processing buffer {"connection_id":173686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bda2cb8012cc65700074dbb10000d008232..."} 
[2026-09-07 18:02:21] local.INFO: Packet analysis {"connection_id":173686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:02:21] local.INFO: Extracted packet for processing {"connection_id":173686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":751195904,"raw_latitude":122534672,"longitude_deg":75.1195904,"latitude_deg":12.2534672,"altitude":13,"angle":130,"satellites":50,"speed":60,"hex_longitude":"2cc65700","hex_latitude":"074dbb10","is_valid_coordinates":true} 
[2026-09-07 18:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928777728001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401894456552325120,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4158300168320976896,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784291000,"timestamp_ms":1788784291000,"timestamp_seconds":1788784291,"priority":1,"record_length":96,"hex_timestamp":"000001a07bda2cb8"} 
[2026-09-07 18:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:02:21] 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-07 18:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928777728001,"66":27821,"89":206,"85":37632,"24":60,"16":401894456552325120,"44":-4158300168320976896},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928777728001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401894456552325120,"km_value":401894456552325.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4158300168320976896,"description":"Unknown IO ID 44"} 
[2026-09-07 18:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928777728001,"power":27821,"unknown_89":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-4158300168320976896}} 
[2026-09-07 18:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":173686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:21] local.INFO: GPS data processed {"connection_id":173686,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:21] local.INFO: Acknowledgment sent {"connection_id":173686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:39] local.INFO: TCP Data received {"connection_id":176435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: IMEI packet received {"connection_id":176435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:02:39] local.INFO: TCP Data received {"connection_id":176435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:02:39] local.INFO: IMEI packet received {"connection_id":176435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":176435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:02:40] local.INFO: TCP Data received {"connection_id":176435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:40] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:40] local.INFO: Packet analysis {"connection_id":176435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:02:40] local.INFO: Extracted packet for processing {"connection_id":176435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:40] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:02:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":176435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":176435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":176435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:40] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":176435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:40] local.INFO: GPS data processed {"connection_id":176435,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:40] local.INFO: Acknowledgment sent {"connection_id":176435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:40] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:40] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:40] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:02:40] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:40] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:40] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:02:41] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:41] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:41] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:02:45] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:45] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:45] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:02:45] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:45] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:02:45] local.INFO: IMEI packet received {"connection_id":176436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":176436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:02:45] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:45] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:02:45] local.INFO: IMEI packet received {"connection_id":173919,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":173919,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:02:46] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:02:46] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:02:46] local.INFO: Packet analysis {"connection_id":176436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:02:46] local.INFO: Extracted packet for processing {"connection_id":176436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:02:46] 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-07 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:02:46] 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-07 18:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:02:46] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb2aa0012d09ffc007023af8001000562a..."} 
[2026-09-07 18:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb2aa0012d09ffc007023af8001000562a..."} 
[2026-09-07 18:02:46] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb2aa0012d09ffc007023af8001000562a..."} 
[2026-09-07 18:02:46] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:02:46] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":42,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928755200001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784356000,"timestamp_ms":1788784356000,"timestamp_seconds":1788784356,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb2aa0"} 
[2026-09-07 18:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:46] 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-07 18:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928755200001,"66":12819,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928755200001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928755200001,"power":12819,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":176436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:46] local.INFO: GPS data processed {"connection_id":176436,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:46] local.INFO: Acknowledgment sent {"connection_id":176436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780348,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:46] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:46] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:49] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:49] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:02:49] local.INFO: IMEI packet received {"connection_id":173920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":173920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:02:50] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bda3870012cc66580074db0f0000c007732..."} 
[2026-09-07 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bda3870012cc66580074db0f0000c007732..."} 
[2026-09-07 18:02:50] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bda3870012cc66580074db0f0000c007732..."} 
[2026-09-07 18:02:50] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:02:50] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":751199616,"raw_latitude":122532080,"longitude_deg":75.1199616,"latitude_deg":12.253208,"altitude":12,"angle":119,"satellites":50,"speed":59,"hex_longitude":"2cc66580","hex_latitude":"074db0f0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928778496001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401894675595657216,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4154852099857117184,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784294000,"timestamp_ms":1788784294000,"timestamp_seconds":1788784294,"priority":1,"record_length":96,"hex_timestamp":"000001a07bda3870"} 
[2026-09-07 18: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-07 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:02: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-07 18: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-07 18: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-07 18:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18: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-07 18:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928778496001,"66":27821,"89":206,"85":37632,"24":59,"16":401894675595657216,"44":-4154852099857117184},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928778496001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401894675595657216,"km_value":401894675595657.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4154852099857117184,"description":"Unknown IO ID 44"} 
[2026-09-07 18:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928778496001,"power":27821,"unknown_89":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4154852099857117184}} 
[2026-09-07 18:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:50] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:50] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:02:52] local.INFO: TCP Data received {"connection_id":176435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:52] local.INFO: Processing buffer {"connection_id":176435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd6bdd0012d7aa4c005ccf788000c000528..."} 
[2026-09-07 18:02:52] local.INFO: Packet analysis {"connection_id":176435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:02:52] local.INFO: Extracted packet for processing {"connection_id":176435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd6"} 
[2026-09-07 18:02:52] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928643584001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024977205248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788784066000,"timestamp_ms":1788784066000,"timestamp_seconds":1788784066,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd6bdd0"} 
[2026-09-07 18: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-07 18:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631418,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3523147777,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":977469440,"corrected_to":0} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635768621541281,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1683685582,"corrected_to":0} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221605623,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":786437,"corrected_to":0} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3730595674043973632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6701582365371715157,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438790656,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-6647306672110305268,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:02:52] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,38,240,227,123,204,4,113,205,172,163,200,36,239,1,54,161,2,5,122,59],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":977469440,"validated":0},{"io_id":205,"original":1683685582,"validated":0},{"io_id":200,"original":786437,"validated":0}]} 
[2026-09-07 18:02:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696772042162242,"timestamp_seconds":864696772042162.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928643584001,"66":2568,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837118024977205248},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928643584001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:02:52] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024977205248,"description":"Unknown IO ID 45"} 
[2026-09-07 18:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928643584001,"power":2568,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837118024977205248}} 
[2026-09-07 18:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":176435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:02:52] local.INFO: GPS data processed {"connection_id":176435,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:02:52] local.INFO: Acknowledgment sent {"connection_id":176435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:16] local.INFO: TCP Data received {"connection_id":176436,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:16] local.INFO: Processing buffer {"connection_id":176436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:16] local.INFO: Packet analysis {"connection_id":176436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:03:16] local.INFO: Extracted packet for processing {"connection_id":176436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03: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-07 18:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18: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-07 18:03:16] 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-07 18:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:03:16] 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-07 18:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":176436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:17] local.INFO: GPS data processed {"connection_id":176436,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:17] local.INFO: Acknowledgment sent {"connection_id":176436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:17] local.INFO: TCP Data received {"connection_id":173919,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb2e88012d09ffc007023af80010005629..."} 
[2026-09-07 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb2e88012d09ffc007023af80010005629..."} 
[2026-09-07 18:03:17] local.INFO: Processing buffer {"connection_id":173919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb2e88012d09ffc007023af80010005629..."} 
[2026-09-07 18:03:17] local.INFO: Packet analysis {"connection_id":173919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:03:17] local.INFO: Extracted packet for processing {"connection_id":173919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":755630016,"raw_latitude":117586680,"longitude_deg":75.5630016,"latitude_deg":11.758668,"altitude":16,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d09ffc0","hex_latitude":"07023af8","is_valid_coordinates":true} 
[2026-09-07 18:03:17] 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-07 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928795136001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634335275057152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784357000,"timestamp_ms":1788784357000,"timestamp_seconds":1788784357,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb2e88"} 
[2026-09-07 18: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-07 18:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987434855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266531028939170,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504067070230528,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3789928614963052288,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792910436270336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778762750465867800,"corrected_to":0} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":160871745551619625,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195431680,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84734967401611835,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4503969682424320,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,19,94,24,241,157,16,213,160,201,45,192,58,41,10,66,49,44,130,128,240,215,227,123,2,4,113,205,115,1,40,239,108,7,17,43,196,69,120,136],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778762750465867800,"validated":0}]} 
[2026-09-07 18:03:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016242995462383,"timestamp_seconds":1153016242995462.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173919,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928795136001,"66":12819,"19":206,"94":11008,"24":0,"16":30634335275057152,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928795136001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:03:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634335275057152,"km_value":30634335275057.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928795136001,"power":12819,"unknown_19":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":173919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780352,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:17] local.INFO: GPS data processed {"connection_id":173919,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:17] local.INFO: Acknowledgment sent {"connection_id":173919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:21] local.INFO: TCP Data received {"connection_id":173920,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bda4428012cc67600074daa20000b006a32..."} 
[2026-09-07 18:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bda4428012cc67600074daa20000b006a32..."} 
[2026-09-07 18:03:21] local.INFO: Processing buffer {"connection_id":173920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bda4428012cc67600074daa20000b006a32..."} 
[2026-09-07 18:03:21] local.INFO: Packet analysis {"connection_id":173920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:03:21] local.INFO: Extracted packet for processing {"connection_id":173920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":751203840,"raw_latitude":122530336,"longitude_deg":75.120384,"latitude_deg":12.2530336,"altitude":11,"angle":106,"satellites":50,"speed":57,"hex_longitude":"2cc67600","hex_latitude":"074daa20","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928779264001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401894890344022016,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4150770712695476224,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784297000,"timestamp_ms":1788784297000,"timestamp_seconds":1788784297,"priority":1,"record_length":96,"hex_timestamp":"000001a07bda4428"} 
[2026-09-07 18: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-07 18:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:21] 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-07 18: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-07 18: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-07 18:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:03:21] 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-07 18:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928779264001,"66":27832,"89":206,"85":37632,"24":57,"16":401894890344022016,"44":-4150770712695476224},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928779264001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:21] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401894890344022016,"km_value":401894890344022.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4150770712695476224,"description":"Unknown IO ID 44"} 
[2026-09-07 18:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928779264001,"power":27832,"unknown_89":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4150770712695476224}} 
[2026-09-07 18:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":173920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:21] local.INFO: GPS data processed {"connection_id":173920,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:21] local.INFO: Acknowledgment sent {"connection_id":173920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:36] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:36] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:36] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:03:40] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:40] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:40] local.INFO: IMEI packet received {"connection_id":173688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":173688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:03:40] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:40] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:40] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:03:45] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:45] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:45] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:03:45] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:45] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:03:45] local.INFO: IMEI packet received {"connection_id":173688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":173688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:03:45] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:45] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:03:45] local.INFO: IMEI packet received {"connection_id":173687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":173687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:03:46] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:46] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:03:46] local.INFO: Packet analysis {"connection_id":173688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:03:46] local.INFO: Extracted packet for processing {"connection_id":173688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18: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-07 18:03:46] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:03:46] 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-07 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":173688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:46] local.INFO: GPS data processed {"connection_id":173688,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:46] local.INFO: Acknowledgment sent {"connection_id":173688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:46] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb8090012d0a030007023930000e00632a..."} 
[2026-09-07 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb8090012d0a030007023930000e00632a..."} 
[2026-09-07 18:03:46] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb8090012d0a030007023930000e00632a..."} 
[2026-09-07 18:03:46] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:03:46] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":755630848,"raw_latitude":117586224,"longitude_deg":75.5630848,"latitude_deg":11.7586224,"altitude":14,"angle":99,"satellites":42,"speed":8,"hex_longitude":"2d0a0300","hex_latitude":"07023930","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928795392001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634369634795520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720505601737291776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784378000,"timestamp_ms":1788784378000,"timestamp_seconds":1788784378,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb8090"} 
[2026-09-07 18: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-07 18:03: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-07 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6987434855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-5620266531028939170,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504067070230528,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-3786630080079724160,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792910436270336,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6778762750465867800,"corrected_to":0} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3892391178,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124657146527744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3586392064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":7,"raw_value":160766192452130345,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194992128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84734967401611835,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4503969682424320,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,19,94,24,241,157,16,213,160,42,45,192,58,10,66,201,41,49,240,9,227,123,2,4,113,205,126,1,32,40,239,11,108,7,17,43,196,69,120,136],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":6778762750465867800,"validated":0}]} 
[2026-09-07 18:03:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153016238700495088,"timestamp_seconds":1153016238700495.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928795392001,"66":14309,"19":206,"94":11008,"24":8,"16":30634369634795520,"45":720505601737291776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928795392001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634369634795520,"km_value":30634369634795.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":720505601737291776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928795392001,"power":14309,"unknown_19":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":720505601737291776}} 
[2026-09-07 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780355,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:46] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:46] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:03:49] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:49] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:03:49] local.INFO: IMEI packet received {"connection_id":175028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":175028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:03:50] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bda5f80012cc69b00074da288000a006631..."} 
[2026-09-07 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bda5f80012cc69b00074da288000a006631..."} 
[2026-09-07 18:03:50] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bda5f80012cc69b00074da288000a006631..."} 
[2026-09-07 18:03:50] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:03:50] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":751213312,"raw_latitude":122528392,"longitude_deg":75.1213312,"latitude_deg":12.2528392,"altitude":10,"angle":102,"satellites":49,"speed":45,"hex_longitude":"2cc69b00","hex_latitude":"074da288","is_valid_coordinates":true} 
[2026-09-07 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928780032001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401895349905522688,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4146126375580196864,"note":"Value kept but may cause issues"} 
[2026-09-07 18:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784304000,"timestamp_ms":1788784304000,"timestamp_seconds":1788784304,"priority":1,"record_length":96,"hex_timestamp":"000001a07bda5f80"} 
[2026-09-07 18:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 18:03:50] 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-07 18:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:03: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-07 18:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928780032001,"66":27865,"89":206,"85":37632,"24":45,"16":401895349905522688,"44":-4146126375580196864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928780032001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401895349905522688,"km_value":401895349905522.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4146126375580196864,"description":"Unknown IO ID 44"} 
[2026-09-07 18:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928780032001,"power":27865,"unknown_89":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-4146126375580196864}} 
[2026-09-07 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:03:50] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:03:50] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:16] local.INFO: TCP Data received {"connection_id":173921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:16] local.INFO: Processing buffer {"connection_id":173921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:16] local.INFO: IMEI packet received {"connection_id":173921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":173921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:04:16] local.INFO: TCP Data received {"connection_id":173688,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:16] local.INFO: Processing buffer {"connection_id":173688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:16] local.INFO: Packet analysis {"connection_id":173688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:04:16] local.INFO: Extracted packet for processing {"connection_id":173688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:04:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04: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-07 18:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:04:16] 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-07 18:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:04:16] 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-07 18:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:04:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":173688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:16] local.INFO: GPS data processed {"connection_id":173688,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:16] local.INFO: Acknowledgment sent {"connection_id":173688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:17] local.INFO: TCP Data received {"connection_id":173687,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdbbf10012d0a274007023290000f006a29..."} 
[2026-09-07 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdbbf10012d0a274007023290000f006a29..."} 
[2026-09-07 18:04:17] local.INFO: Processing buffer {"connection_id":173687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdbbf10012d0a274007023290000f006a29..."} 
[2026-09-07 18:04:17] local.INFO: Packet analysis {"connection_id":173687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:04:17] local.INFO: Extracted packet for processing {"connection_id":173687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":755640128,"raw_latitude":117584528,"longitude_deg":75.5640128,"latitude_deg":11.7584528,"altitude":15,"angle":106,"satellites":41,"speed":33,"hex_longitude":"2d0a2740","hex_latitude":"07023290","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928800768001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30634816311394304,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":721420395411484672,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784394000,"timestamp_ms":1788784394000,"timestamp_seconds":1788784394,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdbbf10"} 
[2026-09-07 18: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-07 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928800768001,"66":14439,"19":206,"94":11008,"24":33,"16":30634816311394304,"45":721420395411484672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928800768001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:04:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30634816311394304,"km_value":30634816311394.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":721420395411484672,"description":"Unknown IO ID 45"} 
[2026-09-07 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928800768001,"power":14439,"unknown_19":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":721420395411484672}} 
[2026-09-07 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":173687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:17] local.INFO: GPS data processed {"connection_id":173687,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:17] local.INFO: Acknowledgment sent {"connection_id":173687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:22] local.INFO: TCP Data received {"connection_id":175028,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bda82a8012cc6b9c0074d98880009007232..."} 
[2026-09-07 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bda82a8012cc6b9c0074d98880009007232..."} 
[2026-09-07 18:04:22] local.INFO: Processing buffer {"connection_id":175028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bda82a8012cc6b9c0074d98880009007232..."} 
[2026-09-07 18:04:22] local.INFO: Packet analysis {"connection_id":175028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:04:22] local.INFO: Extracted packet for processing {"connection_id":175028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":751221184,"raw_latitude":122525832,"longitude_deg":75.1221184,"latitude_deg":12.2525832,"altitude":9,"angle":114,"satellites":50,"speed":26,"hex_longitude":"2cc6b9c0","hex_latitude":"074d9888","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928781824001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401895740747546624,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4135711801442400256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788784313000,"timestamp_ms":1788784313000,"timestamp_seconds":1788784313,"priority":1,"record_length":96,"hex_timestamp":"000001a07bda82a8"} 
[2026-09-07 18: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-07 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:04:22] 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-07 18:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928781824001,"66":27767,"89":206,"85":37632,"24":26,"16":401895740747546624,"44":-4135711801442400256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928781824001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:04:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401895740747546624,"km_value":401895740747546.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4135711801442400256,"description":"Unknown IO ID 44"} 
[2026-09-07 18:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928781824001,"power":27767,"unknown_89":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-4135711801442400256}} 
[2026-09-07 18:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":175028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:22] local.INFO: GPS data processed {"connection_id":175028,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:22] local.INFO: Acknowledgment sent {"connection_id":175028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:40] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:04:40] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:40] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:40] local.INFO: IMEI packet received {"connection_id":173690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":173690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:04:40] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:40] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:04:45] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:45] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:45] local.INFO: IMEI packet received {"connection_id":173691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:04:45] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:45] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:04:45] local.INFO: IMEI packet received {"connection_id":173689,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173689,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:04:45] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:45] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:04:45] local.INFO: IMEI packet received {"connection_id":173690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":173690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:04:46] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:46] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:04:46] local.INFO: Packet analysis {"connection_id":173690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:04:46] local.INFO: Extracted packet for processing {"connection_id":173690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18: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-07 18:04:46] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:04:46] 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-07 18:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:46] local.INFO: GPS data processed {"connection_id":173690,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:46] local.INFO: Acknowledgment sent {"connection_id":173690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:46] local.INFO: TCP Data received {"connection_id":173922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:46] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdbd680012d0a39c007022be8000f007528..."} 
[2026-09-07 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:46] local.INFO: Processing buffer {"connection_id":173922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:04:46] local.INFO: IMEI packet received {"connection_id":173922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdbd680012d0a39c007022be8000f007528..."} 
[2026-09-07 18:04:46] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdbd680012d0a39c007022be8000f007528..."} 
[2026-09-07 18:04:46] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:04:46] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":755644864,"raw_latitude":117582824,"longitude_deg":75.5644864,"latitude_deg":11.7582824,"altitude":15,"angle":117,"satellites":40,"speed":29,"hex_longitude":"2d0a39c0","hex_latitude":"07022be8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928804864001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30635052534595584,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":731623863316811776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784400000,"timestamp_ms":1788784400000,"timestamp_seconds":1788784400,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdbd680"} 
[2026-09-07 18: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-07 18:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928804864001,"66":14407,"19":206,"94":11008,"24":29,"16":30635052534595584,"45":731623863316811776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,94,24,16,45]} 
[2026-09-07 18:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928804864001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30635052534595584,"km_value":30635052534595.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":731623863316811776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928804864001,"power":14407,"unknown_19":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":731623863316811776}} 
[2026-09-07 18:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780361,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:46] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:46] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:04:48] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:48] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:04:48] local.INFO: IMEI packet received {"connection_id":173691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":173691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:04:49] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdaa9b8012cc6cbc0074d8e700009007d32..."} 
[2026-09-07 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdaa9b8012cc6cbc0074d8e700009007d32..."} 
[2026-09-07 18:04:49] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdaa9b8012cc6cbc0074d8e700009007d32..."} 
[2026-09-07 18:04:49] local.INFO: Packet analysis {"connection_id":173691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:04:49] local.INFO: Extracted packet for processing {"connection_id":173691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":751225792,"raw_latitude":122523248,"longitude_deg":75.1225792,"latitude_deg":12.2523248,"altitude":9,"angle":125,"satellites":50,"speed":21,"hex_longitude":"2cc6cbc0","hex_latitude":"074d8e70","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928784128001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401895994150617088,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4127056445909202944,"note":"Value kept but may cause issues"} 
[2026-09-07 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788784323000,"timestamp_ms":1788784323000,"timestamp_seconds":1788784323,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdaa9b8"} 
[2026-09-07 18: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-07 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:04:49] 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-07 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928784128001,"66":27843,"89":206,"85":37632,"24":21,"16":401895994150617088,"44":-4127056445909202944},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928784128001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:04:49] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401895994150617088,"km_value":401895994150617.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4127056445909202944,"description":"Unknown IO ID 44"} 
[2026-09-07 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928784128001,"power":27843,"unknown_89":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4127056445909202944}} 
[2026-09-07 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":173691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:04:49] local.INFO: GPS data processed {"connection_id":173691,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:04:49] local.INFO: Acknowledgment sent {"connection_id":173691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:16] local.INFO: TCP Data received {"connection_id":173690,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:16] local.INFO: Processing buffer {"connection_id":173690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:16] local.INFO: Packet analysis {"connection_id":173690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:05:16] local.INFO: Extracted packet for processing {"connection_id":173690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 18:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05: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-07 18:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 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-07 18:05:16] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:05:16] 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-07 18:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":173690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:16] local.INFO: GPS data processed {"connection_id":173690,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:16] local.INFO: Acknowledgment sent {"connection_id":173690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:17] local.INFO: TCP Data received {"connection_id":173689,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdd70a8012d0b2380070232000014016127..."} 
[2026-09-07 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdd70a8012d0b2380070232000014016127..."} 
[2026-09-07 18:05:17] local.INFO: Processing buffer {"connection_id":173689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdd70a8012d0b2380070232000014016127..."} 
[2026-09-07 18:05:17] local.INFO: Packet analysis {"connection_id":173689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:17] local.INFO: Extracted packet for processing {"connection_id":173689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:17] local.INFO: GPS Element Parsed {"raw_longitude":755704704,"raw_latitude":117584384,"longitude_deg":75.5704704,"latitude_deg":11.7584384,"altitude":20,"angle":353,"satellites":39,"speed":4,"hex_longitude":"2d0b2380","hex_latitude":"07023200","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928832512001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30637998882160640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802625926191955968,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784505000,"timestamp_ms":1788784505000,"timestamp_seconds":1788784505,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdd70a8"} 
[2026-09-07 18: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-07 18:05: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-07 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173689,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928832512001,"66":14461,"17":206,"94":11008,"24":4,"16":30637998882160640,"45":802625926191955968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 18:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928832512001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30637998882160640,"km_value":30637998882160.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":802625926191955968,"description":"Unknown IO ID 45"} 
[2026-09-07 18:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928832512001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":802625926191955968}} 
[2026-09-07 18:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":173689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:17] local.INFO: GPS data processed {"connection_id":173689,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:17] local.INFO: Acknowledgment sent {"connection_id":173689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:26] local.INFO: TCP Data received {"connection_id":173691,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdae068012cc6eb40074d7b38000b007832..."} 
[2026-09-07 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdae068012cc6eb40074d7b38000b007832..."} 
[2026-09-07 18:05:26] local.INFO: Processing buffer {"connection_id":173691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdae068012cc6eb40074d7b38000b007832..."} 
[2026-09-07 18:05:26] local.INFO: Packet analysis {"connection_id":173691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:05:26] local.INFO: Extracted packet for processing {"connection_id":173691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bda"} 
[2026-09-07 18:05:26] local.INFO: GPS Element Parsed {"raw_longitude":751233856,"raw_latitude":122518328,"longitude_deg":75.1233856,"latitude_deg":12.2518328,"altitude":11,"angle":120,"satellites":50,"speed":24,"hex_longitude":"2cc6eb40","hex_latitude":"074d7b38","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928786688001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401896445122183168,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4121989896329072640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788784337000,"timestamp_ms":1788784337000,"timestamp_seconds":1788784337,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdae068"} 
[2026-09-07 18: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-07 18:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:05:26] 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-07 18:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928786688001,"66":27908,"89":206,"85":37632,"24":24,"16":401896445122183168,"44":-4121989896329072640},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-09-07 18:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928786688001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 18:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401896445122183168,"km_value":401896445122183.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4121989896329072640,"description":"Unknown IO ID 44"} 
[2026-09-07 18:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928786688001,"power":27908,"unknown_89":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4121989896329072640}} 
[2026-09-07 18:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:26] local.INFO: GPS data processed {"connection_id":173691,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:26] local.INFO: Acknowledgment sent {"connection_id":173691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:40] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:40] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:40] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:05:42] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:05:42] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:05:42] local.INFO: IMEI packet received {"connection_id":173923,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":173923,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:05:43] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdd8fe8012d0b2280070239d80014000a28..."} 
[2026-09-07 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdd8fe8012d0b2280070239d80014000a28..."} 
[2026-09-07 18:05:43] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdd8fe8012d0b2280070239d80014000a28..."} 
[2026-09-07 18:05:43] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:43] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:43] local.INFO: GPS Element Parsed {"raw_longitude":755704448,"raw_latitude":117586392,"longitude_deg":75.5704448,"latitude_deg":11.7586392,"altitude":20,"angle":10,"satellites":40,"speed":10,"hex_longitude":"2d0b2280","hex_latitude":"070239d8","is_valid_coordinates":true} 
[2026-09-07 18:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928833280001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30638097666408448,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802625926192037888,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788784513000,"timestamp_ms":1788784513000,"timestamp_seconds":1788784513,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdd8fe8"} 
[2026-09-07 18:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928833280001,"66":14515,"17":206,"94":11008,"24":10,"16":30638097666408448,"45":802625926192037888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 18:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928833280001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30638097666408448,"km_value":30638097666408.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":802625926192037888,"description":"Unknown IO ID 45"} 
[2026-09-07 18:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928833280001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":802625926192037888}} 
[2026-09-07 18:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780366,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:44] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:44] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:44] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:44] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:44] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:05:45] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdd97b8012d0b22c007023c300015016427..."} 
[2026-09-07 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdd97b8012d0b22c007023c300015016427..."} 
[2026-09-07 18:05:45] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdd97b8012d0b22c007023c300015016427..."} 
[2026-09-07 18:05:45] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:45] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":755704512,"raw_latitude":117586992,"longitude_deg":75.5704512,"latitude_deg":11.7586992,"altitude":21,"angle":356,"satellites":39,"speed":12,"hex_longitude":"2d0b22c0","hex_latitude":"07023c30","is_valid_coordinates":true} 
[2026-09-07 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-07 18:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928835328001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30638127731179520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802344451215841280,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788784515000,"timestamp_ms":1788784515000,"timestamp_seconds":1788784515,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdd97b8"} 
[2026-09-07 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-07 18:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:45] 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-07 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-07 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-07 18:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928835328001,"66":14559,"17":206,"94":11008,"24":12,"16":30638127731179520,"45":802344451215841280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 18:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928835328001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30638127731179520,"km_value":30638127731179.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":802344451215841280,"description":"Unknown IO ID 45"} 
[2026-09-07 18:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928835328001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":802344451215841280}} 
[2026-09-07 18:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780367,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:45] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:45] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:45] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:45] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:05:45] local.INFO: IMEI packet received {"connection_id":175029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":175029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:05:46] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:46] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:05:46] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:05:46] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 18: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-07 18:05:46] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:46] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:46] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:05:48] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:48] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:05:48] local.INFO: IMEI packet received {"connection_id":176437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":176437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:05:49] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdd4998012cc7f800074d36680017005d32..."} 
[2026-09-07 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdd4998012cc7f800074d36680017005d32..."} 
[2026-09-07 18:05:49] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdd4998012cc7f800074d36680017005d32..."} 
[2026-09-07 18:05:49] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:49] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":751302656,"raw_latitude":122500712,"longitude_deg":75.1302656,"latitude_deg":12.2500712,"altitude":23,"angle":93,"satellites":50,"speed":35,"hex_longitude":"2cc7f800","hex_latitude":"074d3668","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928827648001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401899954110464000,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4048173083692525568,"note":"Value kept but may cause issues"} 
[2026-09-07 18:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788784495000,"timestamp_ms":1788784495000,"timestamp_seconds":1788784495,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdd4998"} 
[2026-09-07 18: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-07 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 18:05:49] 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-07 18: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-07 18: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-07 18:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:05:49] 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-07 18:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928827648001,"66":27800,"161":206,"85":37632,"24":35,"16":401899954110464000,"44":-4048173083692525568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928827648001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:05:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401899954110464000,"km_value":401899954110464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4048173083692525568,"description":"Unknown IO ID 44"} 
[2026-09-07 18:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928827648001,"power":27800,"unknown_161":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-4048173083692525568}} 
[2026-09-07 18:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:05:49] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:05:49] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:16] local.INFO: TCP Data received {"connection_id":173923,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d0b14c007027ba00019016421..."} 
[2026-09-07 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d0b14c007027ba00019016421..."} 
[2026-09-07 18:06:16] local.INFO: Processing buffer {"connection_id":173923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d0b14c007027ba00019016421..."} 
[2026-09-07 18:06:16] local.INFO: Packet analysis {"connection_id":173923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:16] local.INFO: Extracted packet for processing {"connection_id":173923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117603232,"longitude_deg":75.5700928,"latitude_deg":11.7603232,"altitude":25,"angle":356,"satellites":33,"speed":13,"hex_longitude":"2d0b14c0","hex_latitude":"07027ba0","is_valid_coordinates":true} 
[2026-09-07 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-07 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928846848001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639137048494080,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798614907778592768,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 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-07 18:06: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-07 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173923,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928846848001,"66":14407,"17":206,"94":11008,"24":13,"16":30639137048494080,"45":798614907778592768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928846848001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639137048494080,"km_value":30639137048494.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":798614907778592768,"description":"Unknown IO ID 45"} 
[2026-09-07 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928846848001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":798614907778592768}} 
[2026-09-07 18:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":173923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780370,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:16] local.INFO: GPS data processed {"connection_id":173923,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:16] local.INFO: Acknowledgment sent {"connection_id":173923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:16] local.INFO: TCP Data received {"connection_id":175029,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:06:16] local.INFO: Processing buffer {"connection_id":175029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bd9afb8012d196500071ff0200040011f20..."} 
[2026-09-07 18:06:16] local.INFO: Packet analysis {"connection_id":175029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:06:16] local.INFO: Extracted packet for processing {"connection_id":175029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bd9"} 
[2026-09-07 18:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":32,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 18:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06: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-07 18:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784259000,"timestamp_ms":1788784259000,"timestamp_seconds":1788784259,"priority":1,"record_length":96,"hex_timestamp":"000001a07bd9afb8"} 
[2026-09-07 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-07 18:06:16] 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-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928693248001,"66":2155,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928693248001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":175029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:17] local.INFO: GPS data processed {"connection_id":175029,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:17] local.INFO: Acknowledgment sent {"connection_id":175029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:20] local.INFO: TCP Data received {"connection_id":176437,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdd68d8012cc81740074d31280015006932..."} 
[2026-09-07 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdd68d8012cc81740074d31280015006932..."} 
[2026-09-07 18:06:20] local.INFO: Processing buffer {"connection_id":176437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdd68d8012cc81740074d31280015006932..."} 
[2026-09-07 18:06:20] local.INFO: Packet analysis {"connection_id":176437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:06:20] local.INFO: Extracted packet for processing {"connection_id":176437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdd"} 
[2026-09-07 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":751310656,"raw_latitude":122499368,"longitude_deg":75.1310656,"latitude_deg":12.2499368,"altitude":21,"angle":105,"satellites":50,"speed":43,"hex_longitude":"2cc81740","hex_latitude":"074d3128","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928830720001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401900340657520640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037477034577467392,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788784503000,"timestamp_ms":1788784503000,"timestamp_seconds":1788784503,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdd68d8"} 
[2026-09-07 18: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-07 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:20] 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-07 18: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-07 18: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-07 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:20] 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-07 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928830720001,"66":27865,"161":206,"85":37632,"24":43,"16":401900340657520640,"44":-4037477034577467392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928830720001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401900340657520640,"km_value":401900340657520.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037477034577467392,"description":"Unknown IO ID 44"} 
[2026-09-07 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928830720001,"power":27865,"unknown_161":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4037477034577467392}} 
[2026-09-07 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":176437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:20] local.INFO: GPS data processed {"connection_id":176437,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:20] local.INFO: Acknowledgment sent {"connection_id":176437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:40] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:40] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:40] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:06:44] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:06:44] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:06:44] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:06:45] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:45] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:06:45] local.INFO: IMEI packet received {"connection_id":176438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":176438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:06:45] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:45] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:45] local.INFO: IMEI packet received {"connection_id":175031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-07 18:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":175031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:06:46] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:06:46] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:06:46] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:46] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:06:46] local.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-07 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:46] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:46] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:50] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:50] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-07 18:06:50] local.INFO: IMEI packet received {"connection_id":175031,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-07 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":175031,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:06:50] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 18:06:50] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 18:06:50] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:06:51] local.INFO: TCP Data received {"connection_id":175031,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde5720012d0b14c0070280300019000625..."} 
[2026-09-07 18:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde5720012d0b14c0070280300019000625..."} 
[2026-09-07 18:06:51] local.INFO: Processing buffer {"connection_id":175031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde5720012d0b14c0070280300019000625..."} 
[2026-09-07 18:06:51] local.INFO: Packet analysis {"connection_id":175031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:51] local.INFO: Extracted packet for processing {"connection_id":175031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755700928,"raw_latitude":117604400,"longitude_deg":75.5700928,"latitude_deg":11.76044,"altitude":25,"angle":6,"satellites":37,"speed":10,"hex_longitude":"2d0b14c0","hex_latitude":"07028030","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":30639192883068928,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170290380800,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788784564000,"timestamp_ms":1788784564000,"timestamp_seconds":1788784564,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde5720"} 
[2026-09-07 18: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-07 18:06: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-07 18: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:51] 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-07 18: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-07 18: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-07 18:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175031,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-07 18:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-07 18:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-07 18:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":14678,"17":206,"94":11008,"24":10,"16":30639192883068928,"45":798474170290380800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-07 18:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-07 18:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-07 18:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 18:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":30639192883068928,"km_value":30639192883068.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":798474170290380800,"description":"Unknown IO ID 45"} 
[2026-09-07 18:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":14678,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":798474170290380800}} 
[2026-09-07 18:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":175031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780374,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:51] local.INFO: GPS data processed {"connection_id":175031,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:51] local.INFO: Acknowledgment sent {"connection_id":175031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:52] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4398012cc8c940074c48b8000d008332..."} 
[2026-09-07 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4398012cc8c940074c48b8000d008332..."} 
[2026-09-07 18:06:52] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a07b..."} 
[2026-09-07 18:06:52] local.INFO: IMEI packet received {"connection_id":175030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":175030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:06:52] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde5338012cc8db00074c3bf8000d007832..."} 
[2026-09-07 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde5338012cc8db00074c3bf8000d007832..."} 
[2026-09-07 18:06:52] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07bde4398012cc8c940074c48b8000d008332..."} 
[2026-09-07 18:06:52] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:52] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":751356224,"raw_latitude":122439864,"longitude_deg":75.1356224,"latitude_deg":12.2439864,"altitude":13,"angle":131,"satellites":50,"speed":58,"hex_longitude":"2cc8c940","hex_latitude":"074c48b8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928846080001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401904081574035456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3983152364086755328,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788784559000,"timestamp_ms":1788784559000,"timestamp_seconds":1788784559,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4398"} 
[2026-09-07 18: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-07 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:52] 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-07 18:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928846080001,"66":27658,"161":206,"85":37632,"24":58,"16":401904081574035456,"44":-3983152364086755328},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928846080001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401904081574035456,"km_value":401904081574035.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3983152364086755328,"description":"Unknown IO ID 44"} 
[2026-09-07 18:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928846080001,"power":27658,"unknown_161":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3983152364086755328}} 
[2026-09-07 18:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:52] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:52] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:52] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:52] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":751360768,"raw_latitude":122436600,"longitude_deg":75.1360768,"latitude_deg":12.24366,"altitude":13,"angle":120,"satellites":50,"speed":51,"hex_longitude":"2cc8db00","hex_latitude":"074c3bf8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847104001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401904352156975104,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3978578395716339712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788784563000,"timestamp_ms":1788784563000,"timestamp_seconds":1788784563,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde5338"} 
[2026-09-07 18: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-07 18:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:52] 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-07 18:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847104001,"66":27876,"161":206,"85":37632,"24":51,"16":401904352156975104,"44":-3978578395716339712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847104001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401904352156975104,"km_value":401904352156975.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3978578395716339712,"description":"Unknown IO ID 44"} 
[2026-09-07 18:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847104001,"power":27876,"unknown_161":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3978578395716339712}} 
[2026-09-07 18:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:52] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:52] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:06:54] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde66c0012cc8f200074c3210000d006c32..."} 
[2026-09-07 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde66c0012cc8f200074c3210000d006c32..."} 
[2026-09-07 18:06:54] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde66c0012cc8f200074c3210000d006c32..."} 
[2026-09-07 18:06:54] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:54] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":751366656,"raw_latitude":122434064,"longitude_deg":75.1366656,"latitude_deg":12.2434064,"altitude":13,"angle":108,"satellites":50,"speed":51,"hex_longitude":"2cc8f200","hex_latitude":"074c3210","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928848128001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401904657099653120,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3973582214880561152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788784568000,"timestamp_ms":1788784568000,"timestamp_seconds":1788784568,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde66c0"} 
[2026-09-07 18: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-07 18:06: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-07 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:06:54] 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-07 18:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928848128001,"66":27832,"161":206,"85":37632,"24":51,"16":401904657099653120,"44":-3973582214880561152},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928848128001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:06:54] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:06:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401904657099653120,"km_value":401904657099653.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3973582214880561152,"description":"Unknown IO ID 44"} 
[2026-09-07 18:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928848128001,"power":27832,"unknown_161":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3973582214880561152}} 
[2026-09-07 18:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:06:54] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:06:54] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:07:16] local.INFO: TCP Data received {"connection_id":176438,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:16] local.INFO: Processing buffer {"connection_id":176438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:16] local.INFO: Packet analysis {"connection_id":176438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:16] local.INFO: Extracted packet for processing {"connection_id":176438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07: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-07 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:07:16] local.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-07 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:07:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:07:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":176438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:07:17] local.INFO: GPS data processed {"connection_id":176438,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:07:17] local.INFO: Acknowledgment sent {"connection_id":176438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:07:25] local.INFO: TCP Data received {"connection_id":175030,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde7a48012cc90b00074c2c40000c006131..."} 
[2026-09-07 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde7a48012cc90b00074c2c40000c006131..."} 
[2026-09-07 18:07:25] local.INFO: Processing buffer {"connection_id":175030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde7a48012cc90b00074c2c40000c006131..."} 
[2026-09-07 18:07:25] local.INFO: Packet analysis {"connection_id":175030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:25] local.INFO: Extracted packet for processing {"connection_id":175030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:25] local.INFO: GPS Element Parsed {"raw_longitude":751373056,"raw_latitude":122432576,"longitude_deg":75.1373056,"latitude_deg":12.2432576,"altitude":12,"angle":97,"satellites":49,"speed":52,"hex_longitude":"2cc90b00","hex_latitude":"074c2c40","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928849408001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401904966337298432,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3967108290416865280,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788784573000,"timestamp_ms":1788784573000,"timestamp_seconds":1788784573,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde7a48"} 
[2026-09-07 18: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-07 18:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 18:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:07:25] 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-07 18:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928849408001,"66":27647,"161":206,"85":37632,"24":52,"16":401904966337298432,"44":-3967108290416865280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928849408001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:07:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401904966337298432,"km_value":401904966337298.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3967108290416865280,"description":"Unknown IO ID 44"} 
[2026-09-07 18:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928849408001,"power":27647,"unknown_161":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3967108290416865280}} 
[2026-09-07 18:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":175030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:07:25] local.INFO: GPS data processed {"connection_id":175030,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:07:25] local.INFO: Acknowledgment sent {"connection_id":175030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:07:40] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:40] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:40] local.INFO: IMEI packet received {"connection_id":173925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":173925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:07:45] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:45] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:07:45] local.INFO: IMEI packet received {"connection_id":173925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":173925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:07:50] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:50] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:07:50] local.INFO: Packet analysis {"connection_id":173925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:50] local.INFO: Extracted packet for processing {"connection_id":173925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:07: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-07 18:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07: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-07 18:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18:07: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-07 18:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:07:50] 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-07 18:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:07:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":173925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:07:50] local.INFO: GPS data processed {"connection_id":173925,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:07:50] local.INFO: Acknowledgment sent {"connection_id":173925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:07:52] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:52] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:52] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:07:54] local.INFO: TCP Data received {"connection_id":173693,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:54] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:54] local.INFO: IMEI packet received {"connection_id":173693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":173693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:07:57] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:57] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:07:57] local.INFO: IMEI packet received {"connection_id":173692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":173692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:07:58] local.INFO: TCP Data received {"connection_id":173693,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:58] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:07:58] local.INFO: IMEI packet received {"connection_id":173693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":173693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:07:58] local.INFO: TCP Data received {"connection_id":173692,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:07:58] local.INFO: Processing buffer {"connection_id":173692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:07:58] local.INFO: Packet analysis {"connection_id":173692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:07:58] local.INFO: Extracted packet for processing {"connection_id":173692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:07: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-07 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:07:58] 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-07 18:07: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:58] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:07:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:07:58] 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-07 18:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:07:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":173692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:07:58] local.INFO: GPS data processed {"connection_id":173692,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:07:58] local.INFO: Acknowledgment sent {"connection_id":173692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:07:59] local.INFO: TCP Data received {"connection_id":173693,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde89e8012cc920c0074c2c40000c005332..."} 
[2026-09-07 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde89e8012cc920c0074c2c40000c005332..."} 
[2026-09-07 18:07:59] local.INFO: Processing buffer {"connection_id":173693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde89e8012cc920c0074c2c40000c005332..."} 
[2026-09-07 18:07:59] local.INFO: Packet analysis {"connection_id":173693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:59] local.INFO: Extracted packet for processing {"connection_id":173693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":751378624,"raw_latitude":122432576,"longitude_deg":75.1378624,"latitude_deg":12.2432576,"altitude":12,"angle":83,"satellites":50,"speed":56,"hex_longitude":"2cc920c0","hex_latitude":"074c2c40","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928850688001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401905232625270784,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3960071415999479808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788784577000,"timestamp_ms":1788784577000,"timestamp_seconds":1788784577,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde89e8"} 
[2026-09-07 18: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-07 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 18:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:07:59] 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-07 18:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928850688001,"66":27767,"161":206,"85":37632,"24":56,"16":401905232625270784,"44":-3960071415999479808},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-09-07 18:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928850688001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:07:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401905232625270784,"km_value":401905232625270.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3960071415999479808,"description":"Unknown IO ID 44"} 
[2026-09-07 18:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928850688001,"power":27767,"unknown_161":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3960071415999479808}} 
[2026-09-07 18:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":173693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:07:59] local.INFO: GPS data processed {"connection_id":173693,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:07:59] local.INFO: Acknowledgment sent {"connection_id":173693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:08:21] local.INFO: TCP Data received {"connection_id":173925,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:21] local.INFO: Processing buffer {"connection_id":173925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:21] local.INFO: Packet analysis {"connection_id":173925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:08:21] local.INFO: Extracted packet for processing {"connection_id":173925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08: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-07 18:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:08:21] 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-07 18:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:08:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":173925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:08:21] local.INFO: GPS data processed {"connection_id":173925,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:08:21] local.INFO: Acknowledgment sent {"connection_id":173925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:08:27] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:27] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:27] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:08:32] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:32] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:08:32] local.INFO: IMEI packet received {"connection_id":176439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":176439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:08:33] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:08:33] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:08:33] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:08:33] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:08: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-07 18:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:33] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:08:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:08:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:08:33] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:08:33] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:08:40] local.INFO: TCP Data received {"connection_id":175033,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:40] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:40] local.INFO: IMEI packet received {"connection_id":175033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":175033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:08:44] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:44] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:44] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:08:45] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:45] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:45] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:08:45] local.INFO: TCP Data received {"connection_id":175033,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:45] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:08:45] local.INFO: IMEI packet received {"connection_id":175033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":175033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:08:46] local.INFO: TCP Data received {"connection_id":175033,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:46] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:08:46] local.INFO: Packet analysis {"connection_id":175033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:08:46] local.INFO: Extracted packet for processing {"connection_id":175033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 18:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 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-07 18:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:08:46] 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-07 18:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:08:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":175033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:08:46] local.INFO: GPS data processed {"connection_id":175033,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:08:46] local.INFO: Acknowledgment sent {"connection_id":175033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:08:49] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:49] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:08:49] local.INFO: IMEI packet received {"connection_id":173694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:08:50] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdfbe80012cca9ec0074c18280011007231..."} 
[2026-09-07 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdfbe80012cca9ec0074c18280011007231..."} 
[2026-09-07 18:08:50] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdfbe80012cca9ec0074c18280011007231..."} 
[2026-09-07 18:08:50] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:08:50] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":751476416,"raw_latitude":122427432,"longitude_deg":75.1476416,"latitude_deg":12.2427432,"altitude":17,"angle":114,"satellites":49,"speed":55,"hex_longitude":"2cca9ec0","hex_latitude":"074c1828","is_valid_coordinates":true} 
[2026-09-07 18:08: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-07 18:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928871168001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401910047283609600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3850859125036711936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784656000,"timestamp_ms":1788784656000,"timestamp_seconds":1788784656,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdfbe80"} 
[2026-09-07 18:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 18:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:08: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-07 18:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928871168001,"66":27745,"103":206,"85":37632,"24":55,"16":401910047283609600,"44":-3850859125036711936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 18:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928871168001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:08:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 18:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401910047283609600,"km_value":401910047283609.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3850859125036711936,"description":"Unknown IO ID 44"} 
[2026-09-07 18:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928871168001,"power":27745,"unknown_103":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3850859125036711936}} 
[2026-09-07 18:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:08:50] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:08:50] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:04] local.INFO: TCP Data received {"connection_id":176439,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:04] local.INFO: Processing buffer {"connection_id":176439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:04] local.INFO: Packet analysis {"connection_id":176439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:09:04] local.INFO: Extracted packet for processing {"connection_id":176439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:09:04] 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-07 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:04] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:09:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":176439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:04] local.INFO: GPS data processed {"connection_id":176439,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:04] local.INFO: Acknowledgment sent {"connection_id":176439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:17] local.INFO: TCP Data received {"connection_id":175033,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:17] local.INFO: Processing buffer {"connection_id":175033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:17] local.INFO: Packet analysis {"connection_id":175033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:09:17] local.INFO: Extracted packet for processing {"connection_id":175033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":175033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:17] local.INFO: GPS data processed {"connection_id":175033,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:17] local.INFO: Acknowledgment sent {"connection_id":175033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:21] local.INFO: TCP Data received {"connection_id":173694,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdfce20012ccab200074c0cb00010008131..."} 
[2026-09-07 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdfce20012ccab200074c0cb00010008131..."} 
[2026-09-07 18:09:21] local.INFO: Processing buffer {"connection_id":173694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdfce20012ccab200074c0cb00010008131..."} 
[2026-09-07 18:09:21] local.INFO: Packet analysis {"connection_id":173694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:09:21] local.INFO: Extracted packet for processing {"connection_id":173694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":751481344,"raw_latitude":122424496,"longitude_deg":75.1481344,"latitude_deg":12.2424496,"altitude":16,"angle":129,"satellites":49,"speed":56,"hex_longitude":"2ccab200","hex_latitude":"074c0cb0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928871936001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401910322161516544,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3846425894153869312,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784660000,"timestamp_ms":1788784660000,"timestamp_seconds":1788784660,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdfce20"} 
[2026-09-07 18: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-07 18:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:09: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-07 18: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-07 18: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-07 18:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:09:21] 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-07 18:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928871936001,"66":27821,"103":206,"85":37632,"24":56,"16":401910322161516544,"44":-3846425894153869312},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 18:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928871936001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 18:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401910322161516544,"km_value":401910322161516.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3846425894153869312,"description":"Unknown IO ID 44"} 
[2026-09-07 18:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928871936001,"power":27821,"unknown_103":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3846425894153869312}} 
[2026-09-07 18:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":173694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:21] local.INFO: GPS data processed {"connection_id":173694,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:21] local.INFO: Acknowledgment sent {"connection_id":173694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:27] local.INFO: TCP Data received {"connection_id":175035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:27] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:27] local.INFO: IMEI packet received {"connection_id":175035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":175035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:09:32] local.INFO: TCP Data received {"connection_id":175035,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:32] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:09:32] local.INFO: IMEI packet received {"connection_id":175035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":175035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:09:33] local.INFO: TCP Data received {"connection_id":175035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:33] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:09:33] local.INFO: Packet analysis {"connection_id":175035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:09:33] local.INFO: Extracted packet for processing {"connection_id":175035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:09: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-07 18:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:33] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:09:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":175035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:33] local.INFO: GPS data processed {"connection_id":175035,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:33] local.INFO: Acknowledgment sent {"connection_id":175035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:40] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:40] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:40] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:09:44] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:44] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:44] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:09:45] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:45] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:45] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:09:45] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:45] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:09:45] local.INFO: IMEI packet received {"connection_id":173927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":173927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:09:46] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:46] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:09:46] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:09:46] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:09:46] 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-07 18:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:46] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:46] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:49] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:49] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:09:49] local.INFO: IMEI packet received {"connection_id":173928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:09:49] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdfe1a8012ccac4c0074bf8e8000d008f31..."} 
[2026-09-07 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdfe1a8012ccac4c0074bf8e8000d008f31..."} 
[2026-09-07 18:09:49] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdfe1a8012ccac4c0074bf8e8000d008f31..."} 
[2026-09-07 18:09:49] local.INFO: Packet analysis {"connection_id":173928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:09:49] local.INFO: Extracted packet for processing {"connection_id":173928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdf"} 
[2026-09-07 18:09:49] local.INFO: GPS Element Parsed {"raw_longitude":751486144,"raw_latitude":122419432,"longitude_deg":75.1486144,"latitude_deg":12.2419432,"altitude":13,"angle":143,"satellites":49,"speed":51,"hex_longitude":"2ccac4c0","hex_latitude":"074bf8e8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928872960001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401910657168965632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3841007500852940800,"note":"Value kept but may cause issues"} 
[2026-09-07 18:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788784665000,"timestamp_ms":1788784665000,"timestamp_seconds":1788784665,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdfe1a8"} 
[2026-09-07 18: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-07 18:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:09:49] 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-07 18: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-07 18: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-07 18:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:09:49] 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-07 18:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928872960001,"66":27691,"103":206,"85":37632,"24":51,"16":401910657168965632,"44":-3841007500852940800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 18:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928872960001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:09:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 18:09:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401910657168965632,"km_value":401910657168965.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3841007500852940800,"description":"Unknown IO ID 44"} 
[2026-09-07 18:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928872960001,"power":27691,"unknown_103":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3841007500852940800}} 
[2026-09-07 18:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":173928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:09:49] local.INFO: GPS data processed {"connection_id":173928,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:09:49] local.INFO: Acknowledgment sent {"connection_id":173928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:09:51] local.INFO: TCP Data received {"connection_id":176440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:09:51] local.INFO: Processing buffer {"connection_id":176440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:09:51] local.INFO: IMEI packet received {"connection_id":176440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":176440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:10:04] local.INFO: TCP Data received {"connection_id":175035,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:04] local.INFO: Processing buffer {"connection_id":175035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:04] local.INFO: Packet analysis {"connection_id":175035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:10:04] local.INFO: Extracted packet for processing {"connection_id":175035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:10:04] 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-07 18:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:04] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:10:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":175035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:04] local.INFO: GPS data processed {"connection_id":175035,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:04] local.INFO: Acknowledgment sent {"connection_id":175035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:10:17] local.INFO: TCP Data received {"connection_id":173927,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:17] local.INFO: Processing buffer {"connection_id":173927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:17] local.INFO: Packet analysis {"connection_id":173927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:10:17] local.INFO: Extracted packet for processing {"connection_id":173927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:10:17] 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-07 18:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":173927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:17] local.INFO: GPS data processed {"connection_id":173927,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:17] local.INFO: Acknowledgment sent {"connection_id":173927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:10:20] local.INFO: TCP Data received {"connection_id":173928,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be150d8012ccb5e80074adbf0000b007a31..."} 
[2026-09-07 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be150d8012ccb5e80074adbf0000b007a31..."} 
[2026-09-07 18:10:20] local.INFO: Processing buffer {"connection_id":173928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be150d8012ccb5e80074adbf0000b007a31..."} 
[2026-09-07 18:10:20] local.INFO: Packet analysis {"connection_id":173928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be1"} 
[2026-09-07 18:10:20] local.INFO: Extracted packet for processing {"connection_id":173928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be1"} 
[2026-09-07 18:10:20] local.INFO: GPS Element Parsed {"raw_longitude":751525504,"raw_latitude":122346480,"longitude_deg":75.1525504,"latitude_deg":12.234648,"altitude":11,"angle":122,"satellites":49,"speed":34,"hex_longitude":"2ccb5e80","hex_latitude":"074adbf0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928894976001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401914814697308160,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3801671372876531712,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788784759000,"timestamp_ms":1788784759000,"timestamp_seconds":1788784759,"priority":1,"record_length":96,"hex_timestamp":"000001a07be150d8"} 
[2026-09-07 18: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-07 18:10: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-07 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:10:20] 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-07 18:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928894976001,"66":27767,"103":206,"85":37632,"24":34,"16":401914814697308160,"44":-3801671372876531712},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 18:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928894976001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 18:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401914814697308160,"km_value":401914814697308.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3801671372876531712,"description":"Unknown IO ID 44"} 
[2026-09-07 18:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928894976001,"power":27767,"unknown_103":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3801671372876531712}} 
[2026-09-07 18:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":173928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:20] local.INFO: GPS data processed {"connection_id":173928,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:20] local.INFO: Acknowledgment sent {"connection_id":173928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:10:27] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:27] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:27] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:10:33] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:33] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:10:33] local.INFO: IMEI packet received {"connection_id":173695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":173695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:10:39] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:39] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:10:39] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:10:39] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:10:39] 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-07 18:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:39] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:10:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:39] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:39] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:39] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:10:40] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:40] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:40] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:10:44] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:44] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:44] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:10:45] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:45] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:10:45] local.INFO: IMEI packet received {"connection_id":173696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":173696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:10:46] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:46] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:10:46] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:10:46] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:46] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:46] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:10:49] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:49] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:10:49] local.INFO: IMEI packet received {"connection_id":175036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":175036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:10:50] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be183a0012ccb7d40074ac7d0000d007331..."} 
[2026-09-07 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be183a0012ccb7d40074ac7d0000d007331..."} 
[2026-09-07 18:10:50] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be183a0012ccb7d40074ac7d0000d007331..."} 
[2026-09-07 18:10:50] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be1"} 
[2026-09-07 18:10:50] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be1"} 
[2026-09-07 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":751533376,"raw_latitude":122341328,"longitude_deg":75.1533376,"latitude_deg":12.2341328,"altitude":13,"angle":115,"satellites":49,"speed":25,"hex_longitude":"2ccb7d40","hex_latitude":"074ac7d0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928898304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401915265668874240,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3792453067390324736,"note":"Value kept but may cause issues"} 
[2026-09-07 18:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784772000,"timestamp_ms":1788784772000,"timestamp_seconds":1788784772,"priority":1,"record_length":96,"hex_timestamp":"000001a07be183a0"} 
[2026-09-07 18: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-07 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:10: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-07 18:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928898304001,"66":27180,"103":206,"85":37632,"24":25,"16":401915265668874240,"44":-3792453067390324736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-09-07 18:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928898304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:10:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-07 18:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401915265668874240,"km_value":401915265668874.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3792453067390324736,"description":"Unknown IO ID 44"} 
[2026-09-07 18:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928898304001,"power":27180,"unknown_103":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-3792453067390324736}} 
[2026-09-07 18:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:10:50] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:10:50] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:11:11] local.INFO: TCP Data received {"connection_id":173695,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:11] local.INFO: Processing buffer {"connection_id":173695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:11] local.INFO: Packet analysis {"connection_id":173695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:11:11] local.INFO: Extracted packet for processing {"connection_id":173695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18: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-07 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:11] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:11:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18: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-07 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:11:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":173695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:11:11] local.INFO: GPS data processed {"connection_id":173695,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:11:11] local.INFO: Acknowledgment sent {"connection_id":173695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:11:17] local.INFO: TCP Data received {"connection_id":173696,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:11:17] local.INFO: Processing buffer {"connection_id":173696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bde4780012d196500071ff0200040011f21..."} 
[2026-09-07 18:11:17] local.INFO: Packet analysis {"connection_id":173696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:11:17] local.INFO: Extracted packet for processing {"connection_id":173696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bde"} 
[2026-09-07 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928770304001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784560000,"timestamp_ms":1788784560000,"timestamp_seconds":1788784560,"priority":1,"record_length":96,"hex_timestamp":"000001a07bde4780"} 
[2026-09-07 18: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-07 18:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-07 18:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928770304001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928770304001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928770304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":173696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:11:17] local.INFO: GPS data processed {"connection_id":173696,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:11:17] local.INFO: Acknowledgment sent {"connection_id":173696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:11:21] local.INFO: TCP Data received {"connection_id":175036,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be25e60012ccb9b00074a09f0000c009b2f..."} 
[2026-09-07 18:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be25e60012ccb9b00074a09f0000c009b2f..."} 
[2026-09-07 18:11:21] local.INFO: Processing buffer {"connection_id":175036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be25e60012ccb9b00074a09f0000c009b2f..."} 
[2026-09-07 18:11:21] local.INFO: Packet analysis {"connection_id":175036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:11:21] local.INFO: Extracted packet for processing {"connection_id":175036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":751540992,"raw_latitude":122292720,"longitude_deg":75.1540992,"latitude_deg":12.229272,"altitude":12,"angle":155,"satellites":47,"speed":36,"hex_longitude":"2ccb9b00","hex_latitude":"074a09f0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928914944001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401917954318401536,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776620099963148288,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784828000,"timestamp_ms":1788784828000,"timestamp_seconds":1788784828,"priority":1,"record_length":96,"hex_timestamp":"000001a07be25e60"} 
[2026-09-07 18: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-07 18:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:11:21] 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-07 18:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928914944001,"66":27800,"101":206,"85":37632,"24":36,"16":401917954318401536,"44":-3776620099963148288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-09-07 18:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928914944001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:11:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-07 18:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401917954318401536,"km_value":401917954318401.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776620099963148288,"description":"Unknown IO ID 44"} 
[2026-09-07 18:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928914944001,"power":27800,"unknown_101":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3776620099963148288}} 
[2026-09-07 18:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":175036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:11:21] local.INFO: GPS data processed {"connection_id":175036,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:11:21] local.INFO: Acknowledgment sent {"connection_id":175036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:11:27] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:27] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:27] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:11:33] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:33] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:11:33] local.INFO: IMEI packet received {"connection_id":175037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":175037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:11:34] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:34] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:11:34] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:11:34] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:11:34] 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-07 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:34] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:11:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:11:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:11:34] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:11:34] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:11:40] local.INFO: TCP Data received {"connection_id":175038,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:40] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:40] local.INFO: IMEI packet received {"connection_id":175038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":175038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:11:45] local.INFO: TCP Data received {"connection_id":175038,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:45] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:11:45] local.INFO: IMEI packet received {"connection_id":175038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":175038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:11:46] local.INFO: TCP Data received {"connection_id":175038,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:11:46] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:11:46] local.INFO: Packet analysis {"connection_id":175038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:11:46] local.INFO: Extracted packet for processing {"connection_id":175038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:11:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":175038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:11:46] local.INFO: GPS data processed {"connection_id":175038,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:11:46] local.INFO: Acknowledgment sent {"connection_id":175038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:05] local.INFO: TCP Data received {"connection_id":175037,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:12:05] local.INFO: Processing buffer {"connection_id":175037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bdb5598012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:12:05] local.INFO: Packet analysis {"connection_id":175037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:12:05] local.INFO: Extracted packet for processing {"connection_id":175037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bdb"} 
[2026-09-07 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928720896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788784367000,"timestamp_ms":1788784367000,"timestamp_seconds":1788784367,"priority":1,"record_length":96,"hex_timestamp":"000001a07bdb5598"} 
[2026-09-07 18:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:12:05] 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-07 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57812712244008251,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4198199277639434240,"corrected_to":0} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6882676611829650054,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-4610053278959399936,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":2738188577451018752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521335701744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:05] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,91,85,24,241,157,16,58,160,34,45,192,247,12,10,66,22,240,204,1,163,5,4],"length":326,"final_offset":456,"validated_count":23,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":204,"original":4198199277639434240,"validated":0}]} 
[2026-09-07 18:12:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864696797811965952,"timestamp_seconds":864696797811966.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 18:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928720896001,"66":2275,"161":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928720896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928720896001,"power":2275,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":175037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:05] local.INFO: GPS data processed {"connection_id":175037,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:05] local.INFO: Acknowledgment sent {"connection_id":175037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:17] local.INFO: TCP Data received {"connection_id":175038,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:17] local.INFO: Processing buffer {"connection_id":175038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:17] local.INFO: Packet analysis {"connection_id":175038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:12:17] local.INFO: Extracted packet for processing {"connection_id":175038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-07 18:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":175038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:17] local.INFO: GPS data processed {"connection_id":175038,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:17] local.INFO: Acknowledgment sent {"connection_id":175038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:27] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:27] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:27] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:12:32] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:32] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:12:32] local.INFO: IMEI packet received {"connection_id":176441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":176441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:12:35] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:12:35] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:12:35] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:12:35] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:12:35] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:12:35] 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-07 18:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:35] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:35] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:40] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:40] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:40] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:12:45] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:45] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:12:45] local.INFO: IMEI packet received {"connection_id":173698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":173698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:12:46] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:46] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:12:46] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:12:46] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:12:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:12:46] 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-07 18:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:12:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:46] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:46] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:54] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:54] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:54] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:12:56] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:56] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:12:56] local.INFO: IMEI packet received {"connection_id":173700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":173700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:12:56] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be32980012ccc41c007494888000c00b22f..."} 
[2026-09-07 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be32980012ccc41c007494888000c00b22f..."} 
[2026-09-07 18:12:56] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be32980012ccc41c007494888000c00b22f..."} 
[2026-09-07 18:12:56] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:12:56] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":751583680,"raw_latitude":122243208,"longitude_deg":75.158368,"latitude_deg":12.2243208,"altitude":12,"angle":178,"satellites":47,"speed":59,"hex_longitude":"2ccc41c0","hex_latitude":"07494888","is_valid_coordinates":true} 
[2026-09-07 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928928512001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401921201313677312,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729121197655742464,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788784880000,"timestamp_ms":1788784880000,"timestamp_seconds":1788784880,"priority":1,"record_length":96,"hex_timestamp":"000001a07be32980"} 
[2026-09-07 18:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:12:56] 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-07 18:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928928512001,"66":27767,"167":206,"85":37632,"24":59,"16":401921201313677312,"44":-3729121197655742464},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 18:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928928512001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 18:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401921201313677312,"km_value":401921201313677.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729121197655742464,"description":"Unknown IO ID 44"} 
[2026-09-07 18:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928928512001,"power":27767,"unknown_167":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3729121197655742464}} 
[2026-09-07 18:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:56] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:56] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:12:59] local.INFO: TCP Data received {"connection_id":173700,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be340f0012ccc4000074925c0000c00b72f..."} 
[2026-09-07 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be340f0012ccc4000074925c0000c00b72f..."} 
[2026-09-07 18:12:59] local.INFO: Processing buffer {"connection_id":173700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be340f0012ccc4000074925c0000c00b72f..."} 
[2026-09-07 18:12:59] local.INFO: Packet analysis {"connection_id":173700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:12:59] local.INFO: Extracted packet for processing {"connection_id":173700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":751583232,"raw_latitude":122234304,"longitude_deg":75.1583232,"latitude_deg":12.2234304,"altitude":12,"angle":183,"satellites":47,"speed":59,"hex_longitude":"2ccc4000","hex_latitude":"074925c0","is_valid_coordinates":true} 
[2026-09-07 18:12: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-07 18:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928929280001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401921635105374208,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728487878959265792,"note":"Value kept but may cause issues"} 
[2026-09-07 18:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788784886000,"timestamp_ms":1788784886000,"timestamp_seconds":1788784886,"priority":1,"record_length":96,"hex_timestamp":"000001a07be340f0"} 
[2026-09-07 18:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:12: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-07 18:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:12:59] 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-07 18:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928929280001,"66":27876,"167":206,"85":37632,"24":59,"16":401921635105374208,"44":-3728487878959265792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 18:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928929280001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:12:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 18:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401921635105374208,"km_value":401921635105374.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:12:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728487878959265792,"description":"Unknown IO ID 44"} 
[2026-09-07 18:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928929280001,"power":27876,"unknown_167":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3728487878959265792}} 
[2026-09-07 18:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:12:59] local.INFO: GPS data processed {"connection_id":173700,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:12:59] local.INFO: Acknowledgment sent {"connection_id":173700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:13:06] local.INFO: TCP Data received {"connection_id":176441,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:06] local.INFO: Processing buffer {"connection_id":176441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:06] local.INFO: Packet analysis {"connection_id":176441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:13:06] local.INFO: Extracted packet for processing {"connection_id":176441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:13:06] 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-07 18:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:13:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":176441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:13:06] local.INFO: GPS data processed {"connection_id":176441,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:13:06] local.INFO: Acknowledgment sent {"connection_id":176441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:13:17] local.INFO: TCP Data received {"connection_id":173698,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:17] local.INFO: Processing buffer {"connection_id":173698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:17] local.INFO: Packet analysis {"connection_id":173698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:13:17] local.INFO: Extracted packet for processing {"connection_id":173698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:13:17] 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-07 18:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":173698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:13:17] local.INFO: GPS data processed {"connection_id":173698,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:13:17] local.INFO: Acknowledgment sent {"connection_id":173698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:13:27] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:27] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:27] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:13:32] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:32] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:13:32] local.INFO: IMEI packet received {"connection_id":175039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":175039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:13:34] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:34] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:13:34] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:13:34] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:13:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:13:34] 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-07 18:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:13:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:13:34] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:13:34] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:13:40] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:40] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:40] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:13:44] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:44] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:44] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:13:45] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:45] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:13:45] local.INFO: IMEI packet received {"connection_id":173930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":173930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:13:46] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:46] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:13:46] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:13:46] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 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-07 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 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-07 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:13:46] 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-07 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:13:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:13:46] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:13:46] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:13:49] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:49] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:13:49] local.INFO: IMEI packet received {"connection_id":173701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:13:50] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be35860012ccc3d80074902f0000c00b82e..."} 
[2026-09-07 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be35860012ccc3d80074902f0000c00b82e..."} 
[2026-09-07 18:13:50] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be35860012ccc3d80074902f0000c00b82e..."} 
[2026-09-07 18:13:50] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:13:50] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be3"} 
[2026-09-07 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":751582592,"raw_latitude":122225392,"longitude_deg":75.1582592,"latitude_deg":12.2225392,"altitude":12,"angle":184,"satellites":46,"speed":59,"hex_longitude":"2ccc3d80","hex_latitude":"074902f0","is_valid_coordinates":true} 
[2026-09-07 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928930816001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401922068897071104,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728980460170788864,"note":"Value kept but may cause issues"} 
[2026-09-07 18:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788784892000,"timestamp_ms":1788784892000,"timestamp_seconds":1788784892,"priority":1,"record_length":96,"hex_timestamp":"000001a07be35860"} 
[2026-09-07 18:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:13: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-07 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928930816001,"66":27865,"167":206,"85":37632,"24":59,"16":401922068897071104,"44":-3728980460170788864},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-09-07 18:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928930816001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:13:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 18:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401922068897071104,"km_value":401922068897071.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728980460170788864,"description":"Unknown IO ID 44"} 
[2026-09-07 18:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928930816001,"power":27865,"unknown_167":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3728980460170788864}} 
[2026-09-07 18:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:13:50] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:13:50] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:14:05] local.INFO: TCP Data received {"connection_id":175039,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:05] local.INFO: Processing buffer {"connection_id":175039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:05] local.INFO: Packet analysis {"connection_id":175039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:05] local.INFO: Extracted packet for processing {"connection_id":175039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:14:05] 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-07 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":175039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:14:05] local.INFO: GPS data processed {"connection_id":175039,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:14:05] local.INFO: Acknowledgment sent {"connection_id":175039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:14:17] local.INFO: TCP Data received {"connection_id":173930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:17] local.INFO: Processing buffer {"connection_id":173930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:17] local.INFO: Packet analysis {"connection_id":173930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:14:17] local.INFO: Extracted packet for processing {"connection_id":173930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:14:17] 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-07 18:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":173930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:14:17] local.INFO: GPS data processed {"connection_id":173930,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:14:17] local.INFO: Acknowledgment sent {"connection_id":173930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:14:21] local.INFO: TCP Data received {"connection_id":173701,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07be4a468012ccc4a000747eb58000700a230..."} 
[2026-09-07 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be4a468012ccc4a000747eb58000700a230..."} 
[2026-09-07 18:14:21] local.INFO: Processing buffer {"connection_id":173701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be4a468012ccc4a000747eb58000700a230..."} 
[2026-09-07 18:14:21] local.INFO: Packet analysis {"connection_id":173701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:21] local.INFO: Extracted packet for processing {"connection_id":173701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":751585792,"raw_latitude":122153816,"longitude_deg":75.1585792,"latitude_deg":12.2153816,"altitude":7,"angle":162,"satellites":48,"speed":8,"hex_longitude":"2ccc4a00","hex_latitude":"0747eb58","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928948736001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401925659489730560,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728136035260104704,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788784977000,"timestamp_ms":1788784977000,"timestamp_seconds":1788784977,"priority":1,"record_length":96,"hex_timestamp":"000001a07be4a468"} 
[2026-09-07 18: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-07 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:14:21] 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-07 18:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928948736001,"66":27995,"2":206,"85":37632,"24":8,"16":401925659489730560,"44":-3728136035260104704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-09-07 18:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928948736001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-09-07 18:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401925659489730560,"km_value":401925659489730.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728136035260104704,"description":"Unknown IO ID 44"} 
[2026-09-07 18:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928948736001,"power":27995,"power_alt":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-3728136035260104704}} 
[2026-09-07 18:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":173701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:14:21] local.INFO: GPS data processed {"connection_id":173701,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:14:21] local.INFO: Acknowledgment sent {"connection_id":173701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:14:27] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:27] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:27] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:14:32] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:32] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:14:32] local.INFO: IMEI packet received {"connection_id":173702,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":173702,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:14:34] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:34] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:14:34] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:34] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:14:34] 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-07 18:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:14:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:14:34] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:14:34] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:14:40] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:40] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:40] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:14:45] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:45] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:14:45] local.INFO: IMEI packet received {"connection_id":173703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":173703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:14:46] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:46] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:14:46] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:14:46] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:14:46] 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-07 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:14:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:14:46] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:14:46] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:15:06] local.INFO: TCP Data received {"connection_id":173702,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:06] local.INFO: Processing buffer {"connection_id":173702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:06] local.INFO: Packet analysis {"connection_id":173702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:15:06] local.INFO: Extracted packet for processing {"connection_id":173702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:15:06] 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-07 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173702,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:15:06] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":173702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:15:06] local.INFO: GPS data processed {"connection_id":173702,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:15:06] local.INFO: Acknowledgment sent {"connection_id":173702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:15:17] local.INFO: TCP Data received {"connection_id":173703,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:17] local.INFO: Processing buffer {"connection_id":173703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:17] local.INFO: Packet analysis {"connection_id":173703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:15:17] local.INFO: Extracted packet for processing {"connection_id":173703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:15:17] 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-07 18:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:15:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":173703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:15:17] local.INFO: GPS data processed {"connection_id":173703,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:15:17] local.INFO: Acknowledgment sent {"connection_id":173703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:15:26] local.INFO: TCP Data received {"connection_id":175041,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:26] local.INFO: Processing buffer {"connection_id":175041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:26] local.INFO: IMEI packet received {"connection_id":175041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":175041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:15:27] local.INFO: TCP Data received {"connection_id":175042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:27] local.INFO: Processing buffer {"connection_id":175042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:27] local.INFO: IMEI packet received {"connection_id":175042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":175042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:15:32] local.INFO: TCP Data received {"connection_id":175042,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:32] local.INFO: Processing buffer {"connection_id":175042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:15:32] local.INFO: IMEI packet received {"connection_id":175042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":175042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:15:33] local.INFO: TCP Data received {"connection_id":175042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:34] local.INFO: Processing buffer {"connection_id":175042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:15:34] local.INFO: Packet analysis {"connection_id":175042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:15:34] local.INFO: Extracted packet for processing {"connection_id":175042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:15:34] 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-07 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:15:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":175042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:15:34] local.INFO: GPS data processed {"connection_id":175042,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:15:34] local.INFO: Acknowledgment sent {"connection_id":175042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:15:40] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:40] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:40] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:15:45] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:45] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:15:45] local.INFO: IMEI packet received {"connection_id":173705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":173705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:15:45] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:45] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:15:45] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:15:45] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:15: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-07 18:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:15:45] 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-07 18:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:15:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:15:45] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:15:45] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:15:52] local.INFO: TCP Data received {"connection_id":175043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:52] local.INFO: Processing buffer {"connection_id":175043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:15:52] local.INFO: IMEI packet received {"connection_id":175043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":175043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:16:05] local.INFO: TCP Data received {"connection_id":175042,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:05] local.INFO: Processing buffer {"connection_id":175042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:05] local.INFO: Packet analysis {"connection_id":175042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:16:05] local.INFO: Extracted packet for processing {"connection_id":175042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:16:05] 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-07 18:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:16:05] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":175042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:16:05] local.INFO: GPS data processed {"connection_id":175042,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:16:05] local.INFO: Acknowledgment sent {"connection_id":175042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:16:16] local.INFO: TCP Data received {"connection_id":173705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:16:16] local.INFO: Processing buffer {"connection_id":173705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be2df48012d196500071ff0200040011f1f..."} 
[2026-09-07 18:16:16] local.INFO: Packet analysis {"connection_id":173705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:16:16] local.INFO: Extracted packet for processing {"connection_id":173705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be2"} 
[2026-09-07 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":31,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928847360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16: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-07 18:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788784861000,"timestamp_ms":1788784861000,"timestamp_seconds":1788784861,"priority":1,"record_length":96,"hex_timestamp":"000001a07be2df48"} 
[2026-09-07 18: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-07 18:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:16:16] 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-07 18:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928847360001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928847360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:16:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928847360001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":173705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:16:16] local.INFO: GPS data processed {"connection_id":173705,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:16:16] local.INFO: Acknowledgment sent {"connection_id":173705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:16:27] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:27] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:27] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:16:32] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:32] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:16:32] local.INFO: IMEI packet received {"connection_id":176443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":176443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:16:33] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:33] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:16:33] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:16:33] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:16:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:16:33] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:16:33] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:16:40] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:16:40] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:40] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:16:45] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:45] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:16:45] local.INFO: IMEI packet received {"connection_id":176444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":176444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:16:46] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:16:46] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:16:46] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:16:46] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:16:46] 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-07 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:16:46] 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-07 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:16:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:16:46] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:16:46] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:17:04] local.INFO: TCP Data received {"connection_id":176443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:17:04] local.INFO: Processing buffer {"connection_id":176443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be43ed8012d7aa4c005ccf788000c000526..."} 
[2026-09-07 18:17:04] local.INFO: Packet analysis {"connection_id":176443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:17:04] local.INFO: Extracted packet for processing {"connection_id":176443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be4"} 
[2026-09-07 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928797952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788784951000,"timestamp_ms":1788784951000,"timestamp_seconds":1788784951,"priority":1,"record_length":96,"hex_timestamp":"000001a07be43ed8"} 
[2026-09-07 18:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:17:04] 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-07 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 18:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928797952001,"66":2253,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928797952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:17:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928797952001,"power":2253,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":176443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:17:04] local.INFO: GPS data processed {"connection_id":176443,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:17:04] local.INFO: Acknowledgment sent {"connection_id":176443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:17:16] local.INFO: TCP Data received {"connection_id":176444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:16] local.INFO: Processing buffer {"connection_id":176444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:16] local.INFO: Packet analysis {"connection_id":176444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:17:16] local.INFO: Extracted packet for processing {"connection_id":176444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17: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-07 18:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:17:16] 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-07 18:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:17:16] 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-07 18:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":176444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:17:17] local.INFO: GPS data processed {"connection_id":176444,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:17:17] local.INFO: Acknowledgment sent {"connection_id":176444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:17:32] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:32] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:32] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:17:33] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:33] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:17:33] local.INFO: IMEI packet received {"connection_id":173931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":173931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:17:34] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:34] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:34] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:17:34] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:17:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:17:34] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:17:34] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:17:37] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:37] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:17:37] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:17:37] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:17:37] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:17:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:17:38] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:17:38] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:17:40] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:40] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:40] local.INFO: IMEI packet received {"connection_id":176447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":176447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:17:45] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:45] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:17:45] local.INFO: IMEI packet received {"connection_id":176447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":176447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:17:45] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:45] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:17:45] local.INFO: Packet analysis {"connection_id":176447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:17:45] local.INFO: Extracted packet for processing {"connection_id":176447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:17: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-07 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":176447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":176447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":176447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:17:45] 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-07 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":176447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:17:45] local.INFO: GPS data processed {"connection_id":176447,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:17:45] local.INFO: Acknowledgment sent {"connection_id":176447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:18:09] local.INFO: TCP Data received {"connection_id":173931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:09] local.INFO: Processing buffer {"connection_id":173931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:09] local.INFO: Packet analysis {"connection_id":173931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:09] local.INFO: Extracted packet for processing {"connection_id":173931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:18:09] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":173931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:18:09] local.INFO: GPS data processed {"connection_id":173931,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:18:09] local.INFO: Acknowledgment sent {"connection_id":173931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:18:16] local.INFO: TCP Data received {"connection_id":176447,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:16] local.INFO: Processing buffer {"connection_id":176447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:16] local.INFO: Packet analysis {"connection_id":176447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:18:16] local.INFO: Extracted packet for processing {"connection_id":176447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18: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-07 18:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18: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-07 18:18:16] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:18:16] 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-07 18:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:18:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":176447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:18:16] local.INFO: GPS data processed {"connection_id":176447,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:18:16] local.INFO: Acknowledgment sent {"connection_id":176447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:18:29] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:29] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:29] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:18:33] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:33] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:18:33] local.INFO: IMEI packet received {"connection_id":175044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":175044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:18:34] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:34] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:34] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:34] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18: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-07 18:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:18:34] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:18:34] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:18:34] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:18:38] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:38] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:18:38] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:38] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:18:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:18:38] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:18:38] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:18:40] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:40] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:40] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-07 18:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:18:45] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:45] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-07 18:18:45] local.INFO: IMEI packet received {"connection_id":175045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-07 18:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":175045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:18:46] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:46] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:18:46] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:18:46] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:18:46] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18: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-07 18:18:46] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:18:46] 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-07 18:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:18:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:18:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:18:46] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:18:46] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:19:09] local.INFO: TCP Data received {"connection_id":175044,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:19:09] local.INFO: Processing buffer {"connection_id":175044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be8d6a0012d7aa4c005ccf788000c000527..."} 
[2026-09-07 18:19:09] local.INFO: Packet analysis {"connection_id":175044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:19:09] local.INFO: Extracted packet for processing {"connection_id":175044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be8"} 
[2026-09-07 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763012288,"raw_latitude":97318792,"longitude_deg":76.3012288,"latitude_deg":9.7318792,"altitude":12,"angle":5,"satellites":39,"speed":0,"hex_longitude":"2d7aa4c0","hex_latitude":"05ccf788","is_valid_coordinates":true} 
[2026-09-07 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928947456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129542548724121600,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837399499953899520,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788785252000,"timestamp_ms":1788785252000,"timestamp_seconds":1788785252,"priority":1,"record_length":96,"hex_timestamp":"000001a07be8d6a0"} 
[2026-09-07 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 18:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":175044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":175044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928947456001,"66":2242,"91":206,"85":15104,"24":0,"16":129542548724121600,"45":8837399499953899520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928947456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129542548724121600,"km_value":129542548724121.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837399499953899520,"description":"Unknown IO ID 45"} 
[2026-09-07 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928947456001,"power":2242,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8837399499953899520}} 
[2026-09-07 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":175044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:19:09] local.INFO: GPS data processed {"connection_id":175044,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:19:09] local.INFO: Acknowledgment sent {"connection_id":175044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:19:16] local.INFO: TCP Data received {"connection_id":175045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:19:16] local.INFO: Processing buffer {"connection_id":175045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07be77710012d196500071ff0200040011f21..."} 
[2026-09-07 18:19:16] local.INFO: Packet analysis {"connection_id":175045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:19:16] local.INFO: Extracted packet for processing {"connection_id":175045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07be7"} 
[2026-09-07 18:19:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533600,"longitude_deg":75.6638976,"latitude_deg":11.95336,"altitude":64,"angle":287,"satellites":33,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457928924416001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":18426131254345728,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196576256,"note":"Value kept but may cause issues"} 
[2026-09-07 18:19: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-07 18:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788785162000,"timestamp_ms":1788785162000,"timestamp_seconds":1788785162,"priority":1,"record_length":96,"hex_timestamp":"000001a07be77710"} 
[2026-09-07 18: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-07 18:19:16] 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-07 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-07 18:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":175045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":175045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-07 18:19:16] 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-07 18:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-07 18:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-07 18:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457928924416001,"66":2166,"102":206,"83":41984,"24":0,"16":18426131254345728,"45":1829868854196576256},"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-07 18:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-07 18:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-07 18:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457928924416001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:19:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-07 18:19:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-07 18:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":18426131254345728,"km_value":18426131254345.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196576256,"description":"Unknown IO ID 45"} 
[2026-09-07 18:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457928924416001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196576256}} 
[2026-09-07 18:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":175045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:19:16] local.INFO: GPS data processed {"connection_id":175045,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:19:16] local.INFO: Acknowledgment sent {"connection_id":175045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:20:19] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:19] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:19] local.INFO: IMEI packet received {"connection_id":173708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":173708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:20:20] local.INFO: TCP Data received {"connection_id":173708,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bea70c8012ccf52000743b698000b00922f..."} 
[2026-09-07 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bea70c8012ccf52000743b698000b00922f..."} 
[2026-09-07 18:20:20] local.INFO: Processing buffer {"connection_id":173708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bea70c8012ccf52000743b698000b00922f..."} 
[2026-09-07 18:20:20] local.INFO: Packet analysis {"connection_id":173708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:20:20] local.INFO: Extracted packet for processing {"connection_id":173708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":751784448,"raw_latitude":121878168,"longitude_deg":75.1784448,"latitude_deg":12.1878168,"altitude":11,"angle":146,"satellites":47,"speed":60,"hex_longitude":"2ccf5200","hex_latitude":"0743b698","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929049856001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401944269583024128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3513370628099676160,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788785357000,"timestamp_ms":1788785357000,"timestamp_seconds":1788785357,"priority":1,"record_length":96,"hex_timestamp":"000001a07bea70c8"} 
[2026-09-07 18: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-07 18:20: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-07 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:20:20] 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-07 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929049856001,"66":27843,"79":206,"83":43264,"24":60,"16":401944269583024128,"44":-3513370628099676160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-07 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929049856001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:20:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 18:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401944269583024128,"km_value":401944269583024.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3513370628099676160,"description":"Unknown IO ID 44"} 
[2026-09-07 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929049856001,"power":27843,"unknown_79":206,"unknown_83":43264,"ignition":60,"odometer":null,"unknown_44":-3513370628099676160}} 
[2026-09-07 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":173708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:20:20] local.INFO: GPS data processed {"connection_id":173708,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:20:20] local.INFO: Acknowledgment sent {"connection_id":173708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:20:44] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:44] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:44] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:20:54] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:54] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:20:54] local.INFO: IMEI packet received {"connection_id":176451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":176451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:20:55] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bea8838012ccf664007439960000b008f2f..."} 
[2026-09-07 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bea8838012ccf664007439960000b008f2f..."} 
[2026-09-07 18:20:55] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bea8838012ccf664007439960000b008f2f..."} 
[2026-09-07 18:20:55] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:20:55] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":751789632,"raw_latitude":121870688,"longitude_deg":75.1789632,"latitude_deg":12.1870688,"altitude":11,"angle":143,"satellites":47,"speed":59,"hex_longitude":"2ccf6640","hex_latitude":"07439960","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929051392001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401944707669688320,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3507741128567384064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788785363000,"timestamp_ms":1788785363000,"timestamp_seconds":1788785363,"priority":1,"record_length":96,"hex_timestamp":"000001a07bea8838"} 
[2026-09-07 18: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-07 18:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:20:55] 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-07 18: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-07 18: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-07 18:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:20:55] 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-07 18:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929051392001,"66":27865,"79":206,"83":43264,"24":59,"16":401944707669688320,"44":-3507741128567384064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-07 18:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929051392001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:20:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 18:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401944707669688320,"km_value":401944707669688.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3507741128567384064,"description":"Unknown IO ID 44"} 
[2026-09-07 18:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929051392001,"power":27865,"unknown_79":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3507741128567384064}} 
[2026-09-07 18:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:20:55] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:20:55] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:21:26] local.INFO: TCP Data received {"connection_id":176451,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bea9fa8012ccf7d8007437f00000c00852f..."} 
[2026-09-07 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bea9fa8012ccf7d8007437f00000c00852f..."} 
[2026-09-07 18:21:26] local.INFO: Processing buffer {"connection_id":176451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bea9fa8012ccf7d8007437f00000c00852f..."} 
[2026-09-07 18:21:26] local.INFO: Packet analysis {"connection_id":176451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:21:26] local.INFO: Extracted packet for processing {"connection_id":176451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bea"} 
[2026-09-07 18:21:26] local.INFO: GPS Element Parsed {"raw_longitude":751795584,"raw_latitude":121863936,"longitude_deg":75.1795584,"latitude_deg":12.1863936,"altitude":12,"angle":133,"satellites":47,"speed":59,"hex_longitude":"2ccf7d80","hex_latitude":"07437f00","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929052928001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401945137166417920,"note":"Value kept but may cause issues"} 
[2026-09-07 18:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3502041260290908160,"note":"Value kept but may cause issues"} 
[2026-09-07 18:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788785369000,"timestamp_ms":1788785369000,"timestamp_seconds":1788785369,"priority":1,"record_length":96,"hex_timestamp":"000001a07bea9fa8"} 
[2026-09-07 18: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-07 18:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:21:26] 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-07 18:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929052928001,"66":27767,"79":206,"83":43264,"24":59,"16":401945137166417920,"44":-3502041260290908160},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-09-07 18:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929052928001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:21:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 18:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401945137166417920,"km_value":401945137166417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3502041260290908160,"description":"Unknown IO ID 44"} 
[2026-09-07 18:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929052928001,"power":27767,"unknown_79":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3502041260290908160}} 
[2026-09-07 18:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":176451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:21:26] local.INFO: GPS data processed {"connection_id":176451,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:21:26] local.INFO: Acknowledgment sent {"connection_id":176451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:21:44] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:44] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:44] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:21:46] local.INFO: TCP Data received {"connection_id":175046,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:21:46] local.INFO: Processing buffer {"connection_id":175046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:21:46] local.INFO: IMEI packet received {"connection_id":175046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":175046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:21:48] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:48] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:48] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:21:58] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:58] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:21:58] local.INFO: IMEI packet received {"connection_id":176452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":176452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:22:03] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bebc4a0012cd0d880074287980013007e30..."} 
[2026-09-07 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bebc4a0012cd0d880074287980013007e30..."} 
[2026-09-07 18:22:03] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bebc4a0012cd0d880074287980013007e30..."} 
[2026-09-07 18:22:03] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:03] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":751884416,"raw_latitude":121800600,"longitude_deg":75.1884416,"latitude_deg":12.18006,"altitude":19,"angle":126,"satellites":48,"speed":58,"hex_longitude":"2cd0d880","hex_latitude":"07428798","is_valid_coordinates":true} 
[2026-09-07 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929071872001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401950346961747968,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3406973086923276288,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788785444000,"timestamp_ms":1788785444000,"timestamp_seconds":1788785444,"priority":1,"record_length":96,"hex_timestamp":"000001a07bebc4a0"} 
[2026-09-07 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 18:22:03] 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-07 18:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929071872001,"66":27745,"78":206,"83":43264,"24":58,"16":401950346961747968,"44":-3406973086923276288},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-09-07 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929071872001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401950346961747968,"km_value":401950346961747.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3406973086923276288,"description":"Unknown IO ID 44"} 
[2026-09-07 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929071872001,"power":27745,"unknown_78":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3406973086923276288}} 
[2026-09-07 18:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:22:03] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:22:03] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:22:06] local.INFO: TCP Data received {"connection_id":176452,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bebdc10012cd0f4c007427220001500802f..."} 
[2026-09-07 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bebdc10012cd0f4c007427220001500802f..."} 
[2026-09-07 18:22:06] local.INFO: Processing buffer {"connection_id":176452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bebdc10012cd0f4c007427220001500802f..."} 
[2026-09-07 18:22:06] local.INFO: Packet analysis {"connection_id":176452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:06] local.INFO: Extracted packet for processing {"connection_id":176452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":751891648,"raw_latitude":121795104,"longitude_deg":75.1891648,"latitude_deg":12.1795104,"altitude":21,"angle":128,"satellites":47,"speed":59,"hex_longitude":"2cd0f4c0","hex_latitude":"07427220","is_valid_coordinates":true} 
[2026-09-07 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929073664001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401950785048412160,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3397825150181730304,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788785450000,"timestamp_ms":1788785450000,"timestamp_seconds":1788785450,"priority":1,"record_length":96,"hex_timestamp":"000001a07bebdc10"} 
[2026-09-07 18:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":176452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":176452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":176452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929073664001,"66":27800,"78":206,"83":43264,"24":59,"16":401950785048412160,"44":-3397825150181730304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-09-07 18:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929073664001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:22:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 18:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401950785048412160,"km_value":401950785048412.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:22:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3397825150181730304,"description":"Unknown IO ID 44"} 
[2026-09-07 18:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929073664001,"power":27800,"unknown_78":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3397825150181730304}} 
[2026-09-07 18:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":176452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:22:06] local.INFO: GPS data processed {"connection_id":176452,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:22:06] local.INFO: Acknowledgment sent {"connection_id":176452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:22:48] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:48] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:48] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:22:51] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:51] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:51] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:22:55] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:55] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:22:55] local.INFO: IMEI packet received {"connection_id":173710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":173710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:22:56] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":1348,"data_hex":"000000000000030f8e0a000001a07bebf380012cd110c007425c980015008230..."} 
[2026-09-07 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a07bebf380012cd110c007425c980015008230..."} 
[2026-09-07 18:22:56] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a07bebf380012cd110c007425c980015008230..."} 
[2026-09-07 18:22:56] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:56] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07beb"} 
[2026-09-07 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":751898816,"raw_latitude":121789592,"longitude_deg":75.1898816,"latitude_deg":12.1789592,"altitude":21,"angle":130,"satellites":48,"speed":58,"hex_longitude":"2cd110c0","hex_latitude":"07425c98","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929075200001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401951214545141760,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3389873482091061248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788785456000,"timestamp_ms":1788785456000,"timestamp_seconds":1788785456,"priority":1,"record_length":96,"hex_timestamp":"000001a07bebf380"} 
[2026-09-07 18: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-07 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:22:56] 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-07 18: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-07 18: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-07 18:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:56] 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-07 18:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929075200001,"66":27876,"78":206,"83":43264,"24":58,"16":401951214545141760,"44":-3389873482091061248},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,83,24,16,44]} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929075200001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401951214545141760,"km_value":401951214545141.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3389873482091061248,"description":"Unknown IO ID 44"} 
[2026-09-07 18:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929075200001,"power":27876,"unknown_78":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3389873482091061248}} 
[2026-09-07 18:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:22:56] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:22:56] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:22:56] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07bec"} 
[2026-09-07 18:22:56] local.INFO: Incomplete packet, waiting for more data {"connection_id":173710,"needed":795,"available":553} 
[2026-09-07 18:22:56] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":242,"data_hex":"000000000001a07beb5f10012cd05e000742e1900012007c2f003b0000000a00..."} 
[2026-09-07 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":242,"packet_hex":"000000000001a07beb5f10012cd05e000742e1900012007c2f003b0000000a00..."} 
[2026-09-07 18:22:56] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bec0ed8012cd12c00074242280015008a2f..."} 
[2026-09-07 18:22:56] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bec"} 
[2026-09-07 18:22:56] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bec"} 
[2026-09-07 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":751905792,"raw_latitude":121782824,"longitude_deg":75.1905792,"latitude_deg":12.1782824,"altitude":21,"angle":138,"satellites":47,"speed":51,"hex_longitude":"2cd12c00","hex_latitude":"07424228","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929076736001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401951682696577024,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3381992182744573952,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788785463000,"timestamp_ms":1788785463000,"timestamp_seconds":1788785463,"priority":1,"record_length":96,"hex_timestamp":"000001a07bec0ed8"} 
[2026-09-07 18: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-07 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:22:56] 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-07 18: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-07 18: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-07 18:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:56] 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-07 18:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929076736001,"66":27463,"109":206,"83":43264,"24":51,"16":401951682696577024,"44":-3381992182744573952},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 18:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929076736001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401951682696577024,"km_value":401951682696577.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:22:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3381992182744573952,"description":"Unknown IO ID 44"} 
[2026-09-07 18:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929076736001,"power":27463,"unknown_109":206,"unknown_83":43264,"ignition":51,"odometer":null,"unknown_44":-3381992182744573952}} 
[2026-09-07 18:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:22:56] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:22:56] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:22:59] local.INFO: TCP Data received {"connection_id":173710,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bec2a30012cd14440074226500013008c2f..."} 
[2026-09-07 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bec2a30012cd14440074226500013008c2f..."} 
[2026-09-07 18:22:59] local.INFO: Processing buffer {"connection_id":173710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bec2a30012cd14440074226500013008c2f..."} 
[2026-09-07 18:22:59] local.INFO: Packet analysis {"connection_id":173710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bec"} 
[2026-09-07 18:22:59] local.INFO: Extracted packet for processing {"connection_id":173710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bec"} 
[2026-09-07 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":751912000,"raw_latitude":121775696,"longitude_deg":75.1912,"latitude_deg":12.1775696,"altitude":19,"angle":140,"satellites":47,"speed":54,"hex_longitude":"2cd14440","hex_latitude":"07422650","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929078528001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401952137963110400,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3374321989630941184,"note":"Value kept but may cause issues"} 
[2026-09-07 18:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788785470000,"timestamp_ms":1788785470000,"timestamp_seconds":1788785470,"priority":1,"record_length":96,"hex_timestamp":"000001a07bec2a30"} 
[2026-09-07 18: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-07 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 18:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:22:59] 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-07 18:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929078528001,"66":27745,"109":206,"83":43264,"24":54,"16":401952137963110400,"44":-3374321989630941184},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 18:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929078528001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:22:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 18:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401952137963110400,"km_value":401952137963110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:22:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3374321989630941184,"description":"Unknown IO ID 44"} 
[2026-09-07 18:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929078528001,"power":27745,"unknown_109":206,"unknown_83":43264,"ignition":54,"odometer":null,"unknown_44":-3374321989630941184}} 
[2026-09-07 18:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":173710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:22:59] local.INFO: GPS data processed {"connection_id":173710,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:22:59] local.INFO: Acknowledgment sent {"connection_id":173710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:23:44] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:44] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:44] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:23:45] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:45] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:45] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:23:48] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:48] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:23:48] local.INFO: IMEI packet received {"connection_id":175047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":175047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:23:49] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bed6698012cd2878007410f78000f008d2d..."} 
[2026-09-07 18:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bed6698012cd2878007410f78000f008d2d..."} 
[2026-09-07 18:23:49] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bed6698012cd2878007410f78000f008d2d..."} 
[2026-09-07 18:23:49] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:23:49] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:23:49] local.INFO: GPS Element Parsed {"raw_longitude":751994752,"raw_latitude":121704312,"longitude_deg":75.1994752,"latitude_deg":12.1704312,"altitude":15,"angle":141,"satellites":45,"speed":47,"hex_longitude":"2cd28780","hex_latitude":"07410f78","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929099008001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401957468017524736,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3283546309659983872,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788785551000,"timestamp_ms":1788785551000,"timestamp_seconds":1788785551,"priority":1,"record_length":96,"hex_timestamp":"000001a07bed6698"} 
[2026-09-07 18: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-07 18:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:23:49] 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-07 18:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929099008001,"66":27876,"245":206,"83":43264,"24":47,"16":401957468017524736,"44":-3283546309659983872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 18:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929099008001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401957468017524736,"km_value":401957468017524.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3283546309659983872,"description":"Unknown IO ID 44"} 
[2026-09-07 18:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929099008001,"power":27876,"geofence_id":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3283546309659983872}} 
[2026-09-07 18:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:23:49] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:23:49] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:23:50] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bed85d8012cd29f800740f0e0000e008f2d..."} 
[2026-09-07 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bed85d8012cd29f800740f0e0000e008f2d..."} 
[2026-09-07 18:23:50] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bed85d8012cd29f800740f0e0000e008f2d..."} 
[2026-09-07 18:23:50] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:23:50] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":752000896,"raw_latitude":121696480,"longitude_deg":75.2000896,"latitude_deg":12.169648,"altitude":14,"angle":143,"satellites":45,"speed":49,"hex_longitude":"2cd29f80","hex_latitude":"0740f0e0","is_valid_coordinates":true} 
[2026-09-07 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929101056001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401957944758894592,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3276509435244087296,"note":"Value kept but may cause issues"} 
[2026-09-07 18:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785559000,"timestamp_ms":1788785559000,"timestamp_seconds":1788785559,"priority":1,"record_length":96,"hex_timestamp":"000001a07bed85d8"} 
[2026-09-07 18:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:23: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-07 18:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929101056001,"66":27180,"245":206,"83":43264,"24":49,"16":401957944758894592,"44":-3276509435244087296},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 18:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929101056001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401957944758894592,"km_value":401957944758894.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3276509435244087296,"description":"Unknown IO ID 44"} 
[2026-09-07 18:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929101056001,"power":27180,"geofence_id":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3276509435244087296}} 
[2026-09-07 18:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:23:50] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:23:50] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:24:21] local.INFO: TCP Data received {"connection_id":175047,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07beda518012cd2b6000740d0f8000d00912f..."} 
[2026-09-07 18:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07beda518012cd2b6000740d0f8000d00912f..."} 
[2026-09-07 18:24:21] local.INFO: Processing buffer {"connection_id":175047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07beda518012cd2b6000740d0f8000d00912f..."} 
[2026-09-07 18:24:21] local.INFO: Packet analysis {"connection_id":175047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:24:21] local.INFO: Extracted packet for processing {"connection_id":175047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:24:21] local.INFO: GPS Element Parsed {"raw_longitude":752006656,"raw_latitude":121688312,"longitude_deg":75.2006656,"latitude_deg":12.1688312,"altitude":13,"angle":145,"satellites":47,"speed":49,"hex_longitude":"2cd2b600","hex_latitude":"0740d0f8","is_valid_coordinates":true} 
[2026-09-07 18:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929103104001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401958430090199040,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3269754035805036544,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788785567000,"timestamp_ms":1788785567000,"timestamp_seconds":1788785567,"priority":1,"record_length":96,"hex_timestamp":"000001a07beda518"} 
[2026-09-07 18:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 18:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:24:21] 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-07 18:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929103104001,"66":27930,"245":206,"83":43264,"24":49,"16":401958430090199040,"44":-3269754035805036544},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 18:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929103104001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401958430090199040,"km_value":401958430090199.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3269754035805036544,"description":"Unknown IO ID 44"} 
[2026-09-07 18:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929103104001,"power":27930,"geofence_id":206,"unknown_83":43264,"ignition":49,"odometer":null,"unknown_44":-3269754035805036544}} 
[2026-09-07 18:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":175047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:24:21] local.INFO: GPS data processed {"connection_id":175047,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:24:21] local.INFO: Acknowledgment sent {"connection_id":175047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:24:42] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:42] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:42] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:24:44] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:44] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:44] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:24:46] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:46] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:24:46] local.INFO: IMEI packet received {"connection_id":173934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:24:47] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bedc458012cd2cf400740b450000b008730..."} 
[2026-09-07 18:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bedc458012cd2cf400740b450000b008730..."} 
[2026-09-07 18:24:47] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bedc458012cd2cf400740b450000b008730..."} 
[2026-09-07 18:24:47] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:24:47] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:24:47] local.INFO: GPS Element Parsed {"raw_longitude":752013120,"raw_latitude":121680976,"longitude_deg":75.201312,"latitude_deg":12.1680976,"altitude":11,"angle":135,"satellites":48,"speed":44,"hex_longitude":"2cd2cf40","hex_latitude":"0740b450","is_valid_coordinates":true} 
[2026-09-07 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929105152001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401958898241634304,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3263420848831137792,"note":"Value kept but may cause issues"} 
[2026-09-07 18:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788785575000,"timestamp_ms":1788785575000,"timestamp_seconds":1788785575,"priority":1,"record_length":96,"hex_timestamp":"000001a07bedc458"} 
[2026-09-07 18:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:24: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-07 18:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 18:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:24:47] 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-07 18:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929105152001,"66":27691,"245":206,"83":43264,"24":44,"16":401958898241634304,"44":-3263420848831137792},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 18:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929105152001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:24:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401958898241634304,"km_value":401958898241634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3263420848831137792,"description":"Unknown IO ID 44"} 
[2026-09-07 18:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929105152001,"power":27691,"geofence_id":206,"unknown_83":43264,"ignition":44,"odometer":null,"unknown_44":-3263420848831137792}} 
[2026-09-07 18:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:24:47] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:24:47] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:25:18] local.INFO: TCP Data received {"connection_id":173934,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bedef50012cd2e78007409bf0000b007c30..."} 
[2026-09-07 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bedef50012cd2e78007409bf0000b007c30..."} 
[2026-09-07 18:25:18] local.INFO: Processing buffer {"connection_id":173934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bedef50012cd2e78007409bf0000b007c30..."} 
[2026-09-07 18:25:18] local.INFO: Packet analysis {"connection_id":173934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:25:18] local.INFO: Extracted packet for processing {"connection_id":173934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bed"} 
[2026-09-07 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":752019328,"raw_latitude":121674736,"longitude_deg":75.2019328,"latitude_deg":12.1674736,"altitude":11,"angle":124,"satellites":48,"speed":17,"hex_longitude":"2cd2e780","hex_latitude":"07409bf0","is_valid_coordinates":true} 
[2026-09-07 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929107200001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401959319148429312,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3256313605671071744,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788785586000,"timestamp_ms":1788785586000,"timestamp_seconds":1788785586,"priority":1,"record_length":96,"hex_timestamp":"000001a07bedef50"} 
[2026-09-07 18:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-09-07 18:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929107200001,"66":27876,"245":206,"83":43264,"24":17,"16":401959319148429312,"44":-3256313605671071744},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-09-07 18:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929107200001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401959319148429312,"km_value":401959319148429.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:25:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3256313605671071744,"description":"Unknown IO ID 44"} 
[2026-09-07 18:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929107200001,"power":27876,"geofence_id":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3256313605671071744}} 
[2026-09-07 18:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":173934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:25:18] local.INFO: GPS data processed {"connection_id":173934,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:25:18] local.INFO: Acknowledgment sent {"connection_id":173934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:25:44] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:44] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:44] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:25:45] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:45] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:45] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:25:49] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:49] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:25:49] local.INFO: IMEI packet received {"connection_id":176454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":176454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:25:50] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bef79d8012cd3b040073f95e8000b008d30..."} 
[2026-09-07 18:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bef79d8012cd3b040073f95e8000b008d30..."} 
[2026-09-07 18:25:50] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bef79d8012cd3b040073f95e8000b008d30..."} 
[2026-09-07 18:25:50] local.INFO: Packet analysis {"connection_id":176454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bef"} 
[2026-09-07 18:25:50] local.INFO: Extracted packet for processing {"connection_id":176454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bef"} 
[2026-09-07 18:25:50] local.INFO: GPS Element Parsed {"raw_longitude":752070720,"raw_latitude":121607656,"longitude_deg":75.207072,"latitude_deg":12.1607656,"altitude":11,"angle":141,"satellites":48,"speed":59,"hex_longitude":"2cd3b040","hex_latitude":"073f95e8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929134080001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401963399367360512,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3199103816671176704,"note":"Value kept but may cause issues"} 
[2026-09-07 18:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785687000,"timestamp_ms":1788785687000,"timestamp_seconds":1788785687,"priority":1,"record_length":96,"hex_timestamp":"000001a07bef79d8"} 
[2026-09-07 18: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-07 18:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:25:50] 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-07 18: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-07 18: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-07 18:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:25: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-07 18:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929134080001,"66":27843,"119":206,"83":43264,"24":59,"16":401963399367360512,"44":-3199103816671176704},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-09-07 18:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929134080001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:25:50] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-07 18:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401963399367360512,"km_value":401963399367360.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3199103816671176704,"description":"Unknown IO ID 44"} 
[2026-09-07 18:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929134080001,"power":27843,"unknown_119":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3199103816671176704}} 
[2026-09-07 18:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:25:50] local.INFO: GPS data processed {"connection_id":176454,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:25:50] local.INFO: Acknowledgment sent {"connection_id":176454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:26:30] local.INFO: TCP Data received {"connection_id":176454,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bef9148012cd3c9c0073f7cf0000c00812f..."} 
[2026-09-07 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bef9148012cd3c9c0073f7cf0000c00812f..."} 
[2026-09-07 18:26:30] local.INFO: Processing buffer {"connection_id":176454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bef9148012cd3c9c0073f7cf0000c00812f..."} 
[2026-09-07 18:26:30] local.INFO: Packet analysis {"connection_id":176454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bef"} 
[2026-09-07 18:26:30] local.INFO: Extracted packet for processing {"connection_id":176454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bef"} 
[2026-09-07 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":752077248,"raw_latitude":121601264,"longitude_deg":75.2077248,"latitude_deg":12.1601264,"altitude":12,"angle":129,"satellites":47,"speed":60,"hex_longitude":"2cd3c9c0","hex_latitude":"073f7cf0","is_valid_coordinates":true} 
[2026-09-07 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929135872001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401963837454024704,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3192981735929944064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788785693000,"timestamp_ms":1788785693000,"timestamp_seconds":1788785693,"priority":1,"record_length":96,"hex_timestamp":"000001a07bef9148"} 
[2026-09-07 18:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:26:30] 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-07 18:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:26:30] 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-07 18:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929135872001,"66":27865,"119":206,"83":43264,"24":60,"16":401963837454024704,"44":-3192981735929944064},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-09-07 18:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929135872001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:26:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-09-07 18:26:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401963837454024704,"km_value":401963837454024.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3192981735929944064,"description":"Unknown IO ID 44"} 
[2026-09-07 18:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929135872001,"power":27865,"unknown_119":206,"unknown_83":43264,"ignition":60,"odometer":null,"unknown_44":-3192981735929944064}} 
[2026-09-07 18:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":176454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:26:30] local.INFO: GPS data processed {"connection_id":176454,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:26:30] local.INFO: Acknowledgment sent {"connection_id":176454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:26:49] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:49] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:49] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:26:51] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:51] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:51] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:26:54] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:54] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:26:54] local.INFO: IMEI packet received {"connection_id":173937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":173937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:26:55] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf05498012cd44a40073e7e50000b00a130..."} 
[2026-09-07 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf05498012cd44a40073e7e50000b00a130..."} 
[2026-09-07 18:26:55] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf05498012cd44a40073e7e50000b00a130..."} 
[2026-09-07 18:26:55] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf0"} 
[2026-09-07 18:26:55] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf0"} 
[2026-09-07 18:26:55] local.INFO: GPS Element Parsed {"raw_longitude":752110144,"raw_latitude":121536080,"longitude_deg":75.2110144,"latitude_deg":12.153608,"altitude":11,"angle":161,"satellites":48,"speed":59,"hex_longitude":"2cd44a40","hex_latitude":"073e7e50","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929148672001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401967445226553344,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3151956758090465280,"note":"Value kept but may cause issues"} 
[2026-09-07 18:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788785743000,"timestamp_ms":1788785743000,"timestamp_seconds":1788785743,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf05498"} 
[2026-09-07 18: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-07 18:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 18:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:26:55] 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-07 18:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929148672001,"66":27843,"118":206,"83":43264,"24":59,"16":401967445226553344,"44":-3151956758090465280},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-07 18:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929148672001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:26:55] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 18:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401967445226553344,"km_value":401967445226553.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:26:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3151956758090465280,"description":"Unknown IO ID 44"} 
[2026-09-07 18:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929148672001,"power":27843,"unknown_118":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3151956758090465280}} 
[2026-09-07 18:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:26:55] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:26:55] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:27:26] local.INFO: TCP Data received {"connection_id":173937,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf06c08012cd45880073e5ea8000a009631..."} 
[2026-09-07 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf06c08012cd45880073e5ea8000a009631..."} 
[2026-09-07 18:27:26] local.INFO: Processing buffer {"connection_id":173937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf06c08012cd45880073e5ea8000a009631..."} 
[2026-09-07 18:27:26] local.INFO: Packet analysis {"connection_id":173937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf0"} 
[2026-09-07 18:27:26] local.INFO: Extracted packet for processing {"connection_id":173937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf0"} 
[2026-09-07 18:27:26] local.INFO: GPS Element Parsed {"raw_longitude":752113792,"raw_latitude":121527976,"longitude_deg":75.2113792,"latitude_deg":12.1527976,"altitude":10,"angle":150,"satellites":49,"speed":58,"hex_longitude":"2cd45880","hex_latitude":"073e5ea8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929150208001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401967874723282944,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3149634589534826496,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788785749000,"timestamp_ms":1788785749000,"timestamp_seconds":1788785749,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf06c08"} 
[2026-09-07 18: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-07 18:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:27:26] 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-07 18:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929150208001,"66":27789,"118":206,"83":43264,"24":58,"16":401967874723282944,"44":-3149634589534826496},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-09-07 18:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929150208001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:27:26] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-09-07 18:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401967874723282944,"km_value":401967874723282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3149634589534826496,"description":"Unknown IO ID 44"} 
[2026-09-07 18:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929150208001,"power":27789,"unknown_118":206,"unknown_83":43264,"ignition":58,"odometer":null,"unknown_44":-3149634589534826496}} 
[2026-09-07 18:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":173937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:27:26] local.INFO: GPS data processed {"connection_id":173937,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:27:26] local.INFO: Acknowledgment sent {"connection_id":173937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:27:44] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:44] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:44] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:27:45] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:45] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:45] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:27:49] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:49] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:27:49] local.INFO: IMEI packet received {"connection_id":173711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:27:50] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf15668012cd4d680073d1b78000d00a831..."} 
[2026-09-07 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf15668012cd4d680073d1b78000d00a831..."} 
[2026-09-07 18:27:50] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf15668012cd4d680073d1b78000d00a831..."} 
[2026-09-07 18:27:50] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:27:50] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:27:50] local.INFO: GPS Element Parsed {"raw_longitude":752146048,"raw_latitude":121445240,"longitude_deg":75.2146048,"latitude_deg":12.144524,"altitude":13,"angle":168,"satellites":49,"speed":59,"hex_longitude":"2cd4d680","hex_latitude":"073d1b78","is_valid_coordinates":true} 
[2026-09-07 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929165568001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401972199755350016,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3112550261374251008,"note":"Value kept but may cause issues"} 
[2026-09-07 18:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785809000,"timestamp_ms":1788785809000,"timestamp_seconds":1788785809,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf15668"} 
[2026-09-07 18:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:27: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-07 18:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:27: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-07 18:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929165568001,"66":27876,"135":206,"83":43264,"24":59,"16":401972199755350016,"44":-3112550261374251008},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929165568001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:27:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401972199755350016,"km_value":401972199755350.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3112550261374251008,"description":"Unknown IO ID 44"} 
[2026-09-07 18:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929165568001,"power":27876,"unknown_135":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3112550261374251008}} 
[2026-09-07 18:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:27:50] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:27:50] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:27:51] local.INFO: TCP Data received {"connection_id":175049,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:27:51] local.INFO: Processing buffer {"connection_id":175049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:27:51] local.INFO: IMEI packet received {"connection_id":175049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":175049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:28:21] local.INFO: TCP Data received {"connection_id":173711,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf16dd8012cd4dbc0073cf918000d00ad31..."} 
[2026-09-07 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf16dd8012cd4dbc0073cf918000d00ad31..."} 
[2026-09-07 18:28:21] local.INFO: Processing buffer {"connection_id":173711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf16dd8012cd4dbc0073cf918000d00ad31..."} 
[2026-09-07 18:28:21] local.INFO: Packet analysis {"connection_id":173711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:28:21] local.INFO: Extracted packet for processing {"connection_id":173711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":752147392,"raw_latitude":121436440,"longitude_deg":75.2147392,"latitude_deg":12.143644,"altitude":13,"angle":173,"satellites":49,"speed":59,"hex_longitude":"2cd4dbc0","hex_latitude":"073cf918","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929167104001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401972633547046912,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3110157724074412032,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788785815000,"timestamp_ms":1788785815000,"timestamp_seconds":1788785815,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf16dd8"} 
[2026-09-07 18: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-07 18:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:28:21] 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-07 18:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929167104001,"66":27626,"135":206,"83":43264,"24":59,"16":401972633547046912,"44":-3110157724074412032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929167104001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:28:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401972633547046912,"km_value":401972633547046.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3110157724074412032,"description":"Unknown IO ID 44"} 
[2026-09-07 18:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929167104001,"power":27626,"unknown_135":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3110157724074412032}} 
[2026-09-07 18:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":173711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:28:21] local.INFO: GPS data processed {"connection_id":173711,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:28:21] local.INFO: Acknowledgment sent {"connection_id":173711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:28:44] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:44] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:44] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:28:49] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:49] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:28:49] local.INFO: IMEI packet received {"connection_id":173939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:28:50] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf18548012cd4df00073cd688000d00ad31..."} 
[2026-09-07 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf18548012cd4df00073cd688000d00ad31..."} 
[2026-09-07 18:28:50] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf18548012cd4df00073cd688000d00ad31..."} 
[2026-09-07 18:28:50] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:28:50] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":752148224,"raw_latitude":121427592,"longitude_deg":75.2148224,"latitude_deg":12.1427592,"altitude":13,"angle":173,"satellites":49,"speed":59,"hex_longitude":"2cd4df00","hex_latitude":"073cd688","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929168640001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401973063043776512,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3108679980448933888,"note":"Value kept but may cause issues"} 
[2026-09-07 18:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785821000,"timestamp_ms":1788785821000,"timestamp_seconds":1788785821,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf18548"} 
[2026-09-07 18: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-07 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 18:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:28: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-07 18:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929168640001,"66":27767,"135":206,"83":43264,"24":59,"16":401973063043776512,"44":-3108679980448933888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929168640001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:28:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401973063043776512,"km_value":401973063043776.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3108679980448933888,"description":"Unknown IO ID 44"} 
[2026-09-07 18:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929168640001,"power":27767,"unknown_135":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3108679980448933888}} 
[2026-09-07 18:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:28:50] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:28:50] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:29:20] local.INFO: TCP Data received {"connection_id":173939,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf19cb8012cd4e380073cb3f0000d00aa31..."} 
[2026-09-07 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf19cb8012cd4e380073cb3f0000d00aa31..."} 
[2026-09-07 18:29:20] local.INFO: Processing buffer {"connection_id":173939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf19cb8012cd4e380073cb3f0000d00aa31..."} 
[2026-09-07 18:29:20] local.INFO: Packet analysis {"connection_id":173939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:29:20] local.INFO: Extracted packet for processing {"connection_id":173939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf1"} 
[2026-09-07 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":752149376,"raw_latitude":121418736,"longitude_deg":75.2149376,"latitude_deg":12.1418736,"altitude":13,"angle":170,"satellites":49,"speed":59,"hex_longitude":"2cd4e380","hex_latitude":"073cb3f0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929170176001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401973496835473408,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3107765186776889344,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788785827000,"timestamp_ms":1788785827000,"timestamp_seconds":1788785827,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf19cb8"} 
[2026-09-07 18: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-07 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:20] 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-07 18:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929170176001,"66":27974,"135":206,"83":43264,"24":59,"16":401973496835473408,"44":-3107765186776889344},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929170176001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:29:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401973496835473408,"km_value":401973496835473.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3107765186776889344,"description":"Unknown IO ID 44"} 
[2026-09-07 18:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929170176001,"power":27974,"unknown_135":206,"unknown_83":43264,"ignition":59,"odometer":null,"unknown_44":-3107765186776889344}} 
[2026-09-07 18:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":173939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:29:21] local.INFO: GPS data processed {"connection_id":173939,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:29:21] local.INFO: Acknowledgment sent {"connection_id":173939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:29:49] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:49] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:49] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:29:54] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:54] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:29:54] local.INFO: IMEI packet received {"connection_id":176456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":176456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:29:55] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf30800012cd50300073b7718000d00a430..."} 
[2026-09-07 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf30800012cd50300073b7718000d00a430..."} 
[2026-09-07 18:29:55] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf30800012cd50300073b7718000d00a430..."} 
[2026-09-07 18:29:55] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:29:55] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":752157440,"raw_latitude":121337624,"longitude_deg":75.215744,"latitude_deg":12.1337624,"altitude":13,"angle":164,"satellites":48,"speed":31,"hex_longitude":"2cd50300","hex_latitude":"073b7718","is_valid_coordinates":true} 
[2026-09-07 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-07 18:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929194240001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401977461090287616,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098054300102408192,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788785920000,"timestamp_ms":1788785920000,"timestamp_seconds":1788785920,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf30800"} 
[2026-09-07 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-07 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 18:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 18:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:55] 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-07 18:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929194240001,"66":27843,"135":206,"83":43264,"24":31,"16":401977461090287616,"44":-3098054300102408192},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929194240001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:29:55] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401977461090287616,"km_value":401977461090287.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098054300102408192,"description":"Unknown IO ID 44"} 
[2026-09-07 18:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929194240001,"power":27843,"unknown_135":206,"unknown_83":43264,"ignition":31,"odometer":null,"unknown_44":-3098054300102408192}} 
[2026-09-07 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:29:55] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:29:55] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:29:59] local.INFO: TCP Data received {"connection_id":176456,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf317a0012cd50780073b6cd0000d009930..."} 
[2026-09-07 18:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf317a0012cd50780073b6cd0000d009930..."} 
[2026-09-07 18:29:59] local.INFO: Processing buffer {"connection_id":176456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf317a0012cd50780073b6cd0000d009930..."} 
[2026-09-07 18:29:59] local.INFO: Packet analysis {"connection_id":176456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:29:59] local.INFO: Extracted packet for processing {"connection_id":176456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:29:59] local.INFO: GPS Element Parsed {"raw_longitude":752158592,"raw_latitude":121334992,"longitude_deg":75.2158592,"latitude_deg":12.1334992,"altitude":13,"angle":153,"satellites":48,"speed":25,"hex_longitude":"2cd50780","hex_latitude":"073b6cd0","is_valid_coordinates":true} 
[2026-09-07 18:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929195520001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401977598529241088,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3097632087638337536,"note":"Value kept but may cause issues"} 
[2026-09-07 18:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788785924000,"timestamp_ms":1788785924000,"timestamp_seconds":1788785924,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf317a0"} 
[2026-09-07 18:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:29:59] 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-07 18:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:29:59] 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-07 18:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929195520001,"66":27745,"135":206,"83":43264,"24":25,"16":401977598529241088,"44":-3097632087638337536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929195520001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:29:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401977598529241088,"km_value":401977598529241.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3097632087638337536,"description":"Unknown IO ID 44"} 
[2026-09-07 18:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929195520001,"power":27745,"unknown_135":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3097632087638337536}} 
[2026-09-07 18:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":176456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:29:59] local.INFO: GPS data processed {"connection_id":176456,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:29:59] local.INFO: Acknowledgment sent {"connection_id":176456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:30:42] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:42] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:42] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:30:44] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:44] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:44] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:30:49] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:49] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:30:49] local.INFO: IMEI packet received {"connection_id":173940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":173940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:30:50] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf35238012cd518c0073b4d08000e009631..."} 
[2026-09-07 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf35238012cd518c0073b4d08000e009631..."} 
[2026-09-07 18:30:50] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf35238012cd518c0073b4d08000e009631..."} 
[2026-09-07 18:30:50] local.INFO: Packet analysis {"connection_id":173940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:30:50] local.INFO: Extracted packet for processing {"connection_id":173940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":752163008,"raw_latitude":121326856,"longitude_deg":75.2163008,"latitude_deg":12.1326856,"altitude":14,"angle":150,"satellites":49,"speed":13,"hex_longitude":"2cd518c0","hex_latitude":"073b4d08","is_valid_coordinates":true} 
[2026-09-07 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929196544001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401978045205839872,"note":"Value kept but may cause issues"} 
[2026-09-07 18:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3096365450243813376,"note":"Value kept but may cause issues"} 
[2026-09-07 18:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785939000,"timestamp_ms":1788785939000,"timestamp_seconds":1788785939,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf35238"} 
[2026-09-07 18:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:30:50] 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-07 18:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:30: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-07 18:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929196544001,"66":27908,"135":206,"83":43264,"24":13,"16":401978045205839872,"44":-3096365450243813376},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 18:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929196544001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:30:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 18:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401978045205839872,"km_value":401978045205839.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3096365450243813376,"description":"Unknown IO ID 44"} 
[2026-09-07 18:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929196544001,"power":27908,"unknown_135":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3096365450243813376}} 
[2026-09-07 18:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":173940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:30:50] local.INFO: GPS data processed {"connection_id":173940,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:30:50] local.INFO: Acknowledgment sent {"connection_id":173940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:31:21] local.INFO: TCP Data received {"connection_id":173940,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf3a440012cd52040073b3c00000f00a02f..."} 
[2026-09-07 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf3a440012cd52040073b3c00000f00a02f..."} 
[2026-09-07 18:31:21] local.INFO: Processing buffer {"connection_id":173940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf3a440012cd52040073b3c00000f00a02f..."} 
[2026-09-07 18:31:21] local.INFO: Packet analysis {"connection_id":173940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:31:21] local.INFO: Extracted packet for processing {"connection_id":173940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:31:21] local.INFO: GPS Element Parsed {"raw_longitude":752164928,"raw_latitude":121322496,"longitude_deg":75.2164928,"latitude_deg":12.1322496,"altitude":15,"angle":160,"satellites":47,"speed":13,"hex_longitude":"2cd52040","hex_latitude":"073b3c00","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929200384001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401978281429041152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091510006897637376,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788785960000,"timestamp_ms":1788785960000,"timestamp_seconds":1788785960,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf3a440"} 
[2026-09-07 18: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-07 18:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 18:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:31:21] 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-07 18:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929200384001,"66":27767,"137":206,"83":43264,"24":13,"16":401978281429041152,"44":-3091510006897637376},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-07 18:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929200384001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:31:21] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 18:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401978281429041152,"km_value":401978281429041.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091510006897637376,"description":"Unknown IO ID 44"} 
[2026-09-07 18:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929200384001,"power":27767,"unknown_137":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3091510006897637376}} 
[2026-09-07 18:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":173940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:31:21] local.INFO: GPS data processed {"connection_id":173940,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:31:21] local.INFO: Acknowledgment sent {"connection_id":173940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:31:43] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:43] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:43] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:31:44] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:44] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:44] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:31:49] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:49] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:31:49] local.INFO: IMEI packet received {"connection_id":175050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":175050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:31:50] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf3b3e0012cd521c0073b3568001000ad2f..."} 
[2026-09-07 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf3b3e0012cd521c0073b3568001000ad2f..."} 
[2026-09-07 18:31:50] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf3b3e0012cd521c0073b3568001000ad2f..."} 
[2026-09-07 18:31:50] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:31:50] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf3"} 
[2026-09-07 18:31:50] local.INFO: GPS Element Parsed {"raw_longitude":752165312,"raw_latitude":121320808,"longitude_deg":75.2165312,"latitude_deg":12.1320808,"altitude":16,"angle":173,"satellites":47,"speed":18,"hex_longitude":"2cd521c0","hex_latitude":"073b3568","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929205760001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401978363033419776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089398944573423616,"note":"Value kept but may cause issues"} 
[2026-09-07 18:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788785964000,"timestamp_ms":1788785964000,"timestamp_seconds":1788785964,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf3b3e0"} 
[2026-09-07 18: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-07 18:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:31: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-07 18:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929205760001,"66":27865,"137":206,"83":43264,"24":18,"16":401978363033419776,"44":-3089398944573423616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-07 18:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929205760001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:31:50] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 18:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401978363033419776,"km_value":401978363033419.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089398944573423616,"description":"Unknown IO ID 44"} 
[2026-09-07 18:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929205760001,"power":27865,"unknown_137":206,"unknown_83":43264,"ignition":18,"odometer":null,"unknown_44":-3089398944573423616}} 
[2026-09-07 18:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:31:50] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:31:50] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:32:21] local.INFO: TCP Data received {"connection_id":175050,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf57518012cd53c000739c7a0000d00b130..."} 
[2026-09-07 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf57518012cd53c000739c7a0000d00b130..."} 
[2026-09-07 18:32:21] local.INFO: Processing buffer {"connection_id":175050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf57518012cd53c000739c7a0000d00b130..."} 
[2026-09-07 18:32:21] local.INFO: Packet analysis {"connection_id":175050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:32:21] local.INFO: Extracted packet for processing {"connection_id":175050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121227168,"longitude_deg":75.2172032,"latitude_deg":12.1227168,"altitude":13,"angle":177,"satellites":48,"speed":19,"hex_longitude":"2cd53c00","hex_latitude":"0739c7a0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929232640001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401982954353459200,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013991813120,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788786079000,"timestamp_ms":1788786079000,"timestamp_seconds":1788786079,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf57518"} 
[2026-09-07 18: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-07 18:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:32:21] 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-07 18:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929232640001,"66":27832,"149":206,"83":43264,"24":19,"16":401982954353459200,"44":-3081588013991813120},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929232640001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:32:21] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401982954353459200,"km_value":401982954353459.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013991813120,"description":"Unknown IO ID 44"} 
[2026-09-07 18:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929232640001,"power":27832,"unknown_149":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-3081588013991813120}} 
[2026-09-07 18:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":175050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:32:21] local.INFO: GPS data processed {"connection_id":175050,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:32:21] local.INFO: Acknowledgment sent {"connection_id":175050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:32:44] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:44] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:44] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:32:48] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:48] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:32:48] local.INFO: IMEI packet received {"connection_id":173714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":173714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:32:49] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:32:49] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:32:49] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:32:49] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:32:49] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121218192,"longitude_deg":75.2172032,"latitude_deg":12.1218192,"altitude":13,"angle":178,"satellites":48,"speed":13,"hex_longitude":"2cd53c00","hex_latitude":"0739a490","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929236224001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401983392440123392,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013994106880,"note":"Value kept but may cause issues"} 
[2026-09-07 18:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788786100000,"timestamp_ms":1788786100000,"timestamp_seconds":1788786100,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf5c720"} 
[2026-09-07 18: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-07 18:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 18:32:49] 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-07 18: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-07 18: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-07 18:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:32:49] 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-07 18:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929236224001,"66":27821,"149":206,"83":43264,"24":13,"16":401983392440123392,"44":-3081588013994106880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929236224001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:32:49] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401983392440123392,"km_value":401983392440123.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013994106880,"description":"Unknown IO ID 44"} 
[2026-09-07 18:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929236224001,"power":27821,"unknown_149":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3081588013994106880}} 
[2026-09-07 18:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:32:49] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:32:49] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:33:22] local.INFO: TCP Data received {"connection_id":173714,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:33:22] local.INFO: Processing buffer {"connection_id":173714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf5c720012cd53c000739a490000d00b230..."} 
[2026-09-07 18:33:22] local.INFO: Packet analysis {"connection_id":173714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:33:22] local.INFO: Extracted packet for processing {"connection_id":173714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf5"} 
[2026-09-07 18:33:22] local.INFO: GPS Element Parsed {"raw_longitude":752172032,"raw_latitude":121218192,"longitude_deg":75.2172032,"latitude_deg":12.1218192,"altitude":13,"angle":178,"satellites":48,"speed":13,"hex_longitude":"2cd53c00","hex_latitude":"0739a490","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929241600001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401983392440123392,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013996404736,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788786100000,"timestamp_ms":1788786100000,"timestamp_seconds":1788786100,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf5c720"} 
[2026-09-07 18: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-07 18:33: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-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:33:22] 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-07 18: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-07 18: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-07 18:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:33:22] 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-07 18:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929241600001,"66":27821,"149":206,"83":43264,"24":13,"16":401983392440123392,"44":-3081588013996404736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929241600001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:33:22] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401983392440123392,"km_value":401983392440123.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013996404736,"description":"Unknown IO ID 44"} 
[2026-09-07 18:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929241600001,"power":27821,"unknown_149":206,"unknown_83":43264,"ignition":13,"odometer":null,"unknown_44":-3081588013996404736}} 
[2026-09-07 18:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":173714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:33:22] local.INFO: GPS data processed {"connection_id":173714,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:33:22] local.INFO: Acknowledgment sent {"connection_id":173714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:33:44] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:44] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:44] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:33:46] local.INFO: TCP Data received {"connection_id":175052,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:33:46] local.INFO: Processing buffer {"connection_id":175052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:33:46] local.INFO: IMEI packet received {"connection_id":175052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":175052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:33:49] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:49] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:33:49] local.INFO: IMEI packet received {"connection_id":175051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":175051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:33:50] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf60988012cd53c4007397fb8000d00b32f..."} 
[2026-09-07 18:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf60988012cd53c4007397fb8000d00b32f..."} 
[2026-09-07 18:33:50] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf60988012cd53c4007397fb8000d00b32f..."} 
[2026-09-07 18:33:50] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:33:50] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:33:50] local.INFO: GPS Element Parsed {"raw_longitude":752172096,"raw_latitude":121208760,"longitude_deg":75.2172096,"latitude_deg":12.120876,"altitude":13,"angle":179,"satellites":47,"speed":25,"hex_longitude":"2cd53c40","hex_latitude":"07397fb8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929241600001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401983847706656768,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081588013996404736,"note":"Value kept but may cause issues"} 
[2026-09-07 18:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786117000,"timestamp_ms":1788786117000,"timestamp_seconds":1788786117,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf60988"} 
[2026-09-07 18: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-07 18:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:33: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-07 18: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-07 18: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-07 18:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:33: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-07 18:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929241600001,"66":27908,"149":206,"83":43264,"24":25,"16":401983847706656768,"44":-3081588013996404736},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929241600001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:33:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401983847706656768,"km_value":401983847706656.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081588013996404736,"description":"Unknown IO ID 44"} 
[2026-09-07 18:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929241600001,"power":27908,"unknown_149":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3081588013996404736}} 
[2026-09-07 18:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:33:50] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:33:50] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:34:21] local.INFO: TCP Data received {"connection_id":175051,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf63c50012cd5398007395a38000c00b92e..."} 
[2026-09-07 18:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf63c50012cd5398007395a38000c00b92e..."} 
[2026-09-07 18:34:21] local.INFO: Processing buffer {"connection_id":175051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf63c50012cd5398007395a38000c00b92e..."} 
[2026-09-07 18:34:21] local.INFO: Packet analysis {"connection_id":175051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:34:21] local.INFO: Extracted packet for processing {"connection_id":175051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":752171392,"raw_latitude":121199160,"longitude_deg":75.2171392,"latitude_deg":12.119916,"altitude":12,"angle":185,"satellites":46,"speed":32,"hex_longitude":"2cd53980","hex_latitude":"07395a38","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929245952001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401984315858092032,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3081517645254641664,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788786130000,"timestamp_ms":1788786130000,"timestamp_seconds":1788786130,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf63c50"} 
[2026-09-07 18: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-07 18:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 18:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:34:21] 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-07 18:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929245952001,"66":27767,"149":206,"83":43264,"24":32,"16":401984315858092032,"44":-3081517645254641664},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929245952001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:34:21] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401984315858092032,"km_value":401984315858092.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3081517645254641664,"description":"Unknown IO ID 44"} 
[2026-09-07 18:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929245952001,"power":27767,"unknown_149":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3081517645254641664}} 
[2026-09-07 18:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":175051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:34:21] local.INFO: GPS data processed {"connection_id":175051,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:34:21] local.INFO: Acknowledgment sent {"connection_id":175051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:34:44] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:44] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:44] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:34:49] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:49] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:34:49] local.INFO: IMEI packet received {"connection_id":173715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":173715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:34:50] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf65b90012cd53980073940f0000d00ac2e..."} 
[2026-09-07 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf65b90012cd53980073940f0000d00ac2e..."} 
[2026-09-07 18:34:50] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf65b90012cd53980073940f0000d00ac2e..."} 
[2026-09-07 18:34:50] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:34:50] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":752171392,"raw_latitude":121192688,"longitude_deg":75.2171392,"latitude_deg":12.1192688,"altitude":13,"angle":172,"satellites":46,"speed":34,"hex_longitude":"2cd53980","hex_latitude":"073940f0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929249280001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401984629390704640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082291701443053568,"note":"Value kept but may cause issues"} 
[2026-09-07 18:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786138000,"timestamp_ms":1788786138000,"timestamp_seconds":1788786138,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf65b90"} 
[2026-09-07 18: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-07 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:34: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-07 18:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929249280001,"66":27843,"149":206,"83":43264,"24":34,"16":401984629390704640,"44":-3082291701443053568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929249280001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:34:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401984629390704640,"km_value":401984629390704.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082291701443053568,"description":"Unknown IO ID 44"} 
[2026-09-07 18:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929249280001,"power":27843,"unknown_149":206,"unknown_83":43264,"ignition":34,"odometer":null,"unknown_44":-3082291701443053568}} 
[2026-09-07 18:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:34:50] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:34:50] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:35:22] local.INFO: TCP Data received {"connection_id":173715,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf68688012cd5400007391df8000d00a830..."} 
[2026-09-07 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf68688012cd5400007391df8000d00a830..."} 
[2026-09-07 18:35:22] local.INFO: Processing buffer {"connection_id":173715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf68688012cd5400007391df8000d00a830..."} 
[2026-09-07 18:35:22] local.INFO: Packet analysis {"connection_id":173715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:35:22] local.INFO: Extracted packet for processing {"connection_id":173715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:35:22] local.INFO: GPS Element Parsed {"raw_longitude":752173056,"raw_latitude":121183736,"longitude_deg":75.2173056,"latitude_deg":12.1183736,"altitude":13,"angle":168,"satellites":48,"speed":29,"hex_longitude":"2cd54000","hex_latitude":"07391df8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929251328001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401985071772336128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3082291701444710400,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788786149000,"timestamp_ms":1788786149000,"timestamp_seconds":1788786149,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf68688"} 
[2026-09-07 18: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-07 18:35: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-07 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:35:22] 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-07 18: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-07 18: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-07 18:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:35:22] 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-07 18:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929251328001,"66":27800,"149":206,"83":43264,"24":29,"16":401985071772336128,"44":-3082291701444710400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929251328001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:35:22] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401985071772336128,"km_value":401985071772336.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3082291701444710400,"description":"Unknown IO ID 44"} 
[2026-09-07 18:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929251328001,"power":27800,"unknown_149":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3082291701444710400}} 
[2026-09-07 18:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":173715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:35:22] local.INFO: GPS data processed {"connection_id":173715,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:35:22] local.INFO: Acknowledgment sent {"connection_id":173715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:35:44] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:44] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:44] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:35:49] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:49] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:35:49] local.INFO: IMEI packet received {"connection_id":175053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":175053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:35:50] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf6c8f0012cd547800738fb90000d00aa30..."} 
[2026-09-07 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf6c8f0012cd547800738fb90000d00aa30..."} 
[2026-09-07 18:35:50] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf6c8f0012cd547800738fb90000d00aa30..."} 
[2026-09-07 18:35:50] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:35:50] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":752174976,"raw_latitude":121174928,"longitude_deg":75.2174976,"latitude_deg":12.1174928,"altitude":13,"angle":170,"satellites":48,"speed":22,"hex_longitude":"2cd54780","hex_latitude":"0738fb90","is_valid_coordinates":true} 
[2026-09-07 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929254144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401985509859000320,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3080462114098382848,"note":"Value kept but may cause issues"} 
[2026-09-07 18:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786166000,"timestamp_ms":1788786166000,"timestamp_seconds":1788786166,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf6c8f0"} 
[2026-09-07 18:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:35:50] 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-07 18:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:35: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-07 18:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929254144001,"66":27767,"149":206,"83":43264,"24":22,"16":401985509859000320,"44":-3080462114098382848},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 18:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929254144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:35:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 18:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401985509859000320,"km_value":401985509859000.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3080462114098382848,"description":"Unknown IO ID 44"} 
[2026-09-07 18:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929254144001,"power":27767,"unknown_149":206,"unknown_83":43264,"ignition":22,"odometer":null,"unknown_44":-3080462114098382848}} 
[2026-09-07 18:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:35:50] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:35:50] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:36:21] local.INFO: TCP Data received {"connection_id":175053,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf6ffa0012cd54a800738d6b8000f00b42f..."} 
[2026-09-07 18:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf6ffa0012cd54a800738d6b8000f00b42f..."} 
[2026-09-07 18:36:21] local.INFO: Processing buffer {"connection_id":175053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf6ffa0012cd54a800738d6b8000f00b42f..."} 
[2026-09-07 18:36:21] local.INFO: Packet analysis {"connection_id":175053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:36:21] local.INFO: Extracted packet for processing {"connection_id":175053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf6"} 
[2026-09-07 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":752175744,"raw_latitude":121165496,"longitude_deg":75.2175744,"latitude_deg":12.1165496,"altitude":15,"angle":180,"satellites":47,"speed":29,"hex_longitude":"2cd54a80","hex_latitude":"0738d6b8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929258496001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401985969420500992,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078351051775307776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788786180000,"timestamp_ms":1788786180000,"timestamp_seconds":1788786180,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf6ffa0"} 
[2026-09-07 18: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-07 18:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:36:21] 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-07 18:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929258496001,"66":27865,"150":206,"83":43264,"24":29,"16":401985969420500992,"44":-3078351051775307776},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-07 18:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929258496001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:36:21] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-07 18:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401985969420500992,"km_value":401985969420501.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078351051775307776,"description":"Unknown IO ID 44"} 
[2026-09-07 18:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929258496001,"power":27865,"unknown_150":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3078351051775307776}} 
[2026-09-07 18:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":175053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:36:21] local.INFO: GPS data processed {"connection_id":175053,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:36:21] local.INFO: Acknowledgment sent {"connection_id":175053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:36:44] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:44] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:44] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:36:49] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:49] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:36:49] local.INFO: IMEI packet received {"connection_id":176458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":176458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:36:50] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf72e80012cd54b000738b2c0000f00ae2e..."} 
[2026-09-07 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf72e80012cd54b000738b2c0000f00ae2e..."} 
[2026-09-07 18:36:50] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf72e80012cd54b000738b2c0000f00ae2e..."} 
[2026-09-07 18:36:50] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf7"} 
[2026-09-07 18:36:50] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf7"} 
[2026-09-07 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":752175872,"raw_latitude":121156288,"longitude_deg":75.2175872,"latitude_deg":12.1156288,"altitude":15,"angle":174,"satellites":46,"speed":32,"hex_longitude":"2cd54b00","hex_latitude":"0738b2c0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929262080001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401986416097099776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077506626847590400,"note":"Value kept but may cause issues"} 
[2026-09-07 18:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786192000,"timestamp_ms":1788786192000,"timestamp_seconds":1788786192,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf72e80"} 
[2026-09-07 18: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-07 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:36: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-07 18:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929262080001,"66":27919,"150":206,"83":43264,"24":32,"16":401986416097099776,"44":-3077506626847590400},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-09-07 18:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929262080001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:36:50] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-09-07 18:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401986416097099776,"km_value":401986416097099.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077506626847590400,"description":"Unknown IO ID 44"} 
[2026-09-07 18:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929262080001,"power":27919,"unknown_150":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3077506626847590400}} 
[2026-09-07 18:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:36:50] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:36:50] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:37:21] local.INFO: TCP Data received {"connection_id":176458,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bf9ca78012cd5d7800737b5d8000e00882f..."} 
[2026-09-07 18:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bf9ca78012cd5d7800737b5d8000e00882f..."} 
[2026-09-07 18:37:21] local.INFO: Processing buffer {"connection_id":176458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bf9ca78012cd5d7800737b5d8000e00882f..."} 
[2026-09-07 18:37:21] local.INFO: Packet analysis {"connection_id":176458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bf9"} 
[2026-09-07 18:37:21] local.INFO: Extracted packet for processing {"connection_id":176458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bf9"} 
[2026-09-07 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":752211840,"raw_latitude":121091544,"longitude_deg":75.221184,"latitude_deg":12.1091544,"altitude":14,"angle":136,"satellites":47,"speed":19,"hex_longitude":"2cd5d780","hex_latitude":"0737b5d8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929303552001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401990079704203264,"note":"Value kept but may cause issues"} 
[2026-09-07 18:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3043377785939087360,"note":"Value kept but may cause issues"} 
[2026-09-07 18:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788786363000,"timestamp_ms":1788786363000,"timestamp_seconds":1788786363,"priority":1,"record_length":96,"hex_timestamp":"000001a07bf9ca78"} 
[2026-09-07 18: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-07 18:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-07 18:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 18: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-07 18: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-07 18:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:37:21] 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-07 18:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929303552001,"66":27843,"181":206,"83":43264,"24":19,"16":401990079704203264,"44":-3043377785939087360},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 18:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929303552001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:37:21] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 18:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401990079704203264,"km_value":401990079704203.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3043377785939087360,"description":"Unknown IO ID 44"} 
[2026-09-07 18:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929303552001,"power":27843,"unknown_181":206,"unknown_83":43264,"ignition":19,"odometer":null,"unknown_44":-3043377785939087360}} 
[2026-09-07 18:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":176458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:37:21] local.INFO: GPS data processed {"connection_id":176458,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:37:21] local.INFO: Acknowledgment sent {"connection_id":176458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:37:59] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:37:59] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:37:59] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:38:04] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:04] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:04] local.INFO: IMEI packet received {"connection_id":173943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":173943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:38:05] local.INFO: TCP Data received {"connection_id":173943,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfa08f8012cd5efc007379c90000e008730..."} 
[2026-09-07 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfa08f8012cd5efc007379c90000e008730..."} 
[2026-09-07 18:38:05] local.INFO: Processing buffer {"connection_id":173943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfa08f8012cd5efc007379c90000e008730..."} 
[2026-09-07 18:38:05] local.INFO: Packet analysis {"connection_id":173943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfa"} 
[2026-09-07 18:38:05] local.INFO: Extracted packet for processing {"connection_id":173943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfa"} 
[2026-09-07 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":752218048,"raw_latitude":121085072,"longitude_deg":75.2218048,"latitude_deg":12.1085072,"altitude":14,"angle":135,"satellites":48,"speed":24,"hex_longitude":"2cd5efc0","hex_latitude":"07379c90","is_valid_coordinates":true} 
[2026-09-07 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929308928001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401990509200932864,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3037818655150319616,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788786379000,"timestamp_ms":1788786379000,"timestamp_seconds":1788786379,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfa08f8"} 
[2026-09-07 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:38:05] 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-07 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929308928001,"66":27691,"181":206,"83":43264,"24":24,"16":401990509200932864,"44":-3037818655150319616},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-09-07 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929308928001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:38:05] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 18:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-09-07 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401990509200932864,"km_value":401990509200932.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:38:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3037818655150319616,"description":"Unknown IO ID 44"} 
[2026-09-07 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929308928001,"power":27691,"unknown_181":206,"unknown_83":43264,"ignition":24,"odometer":null,"unknown_44":-3037818655150319616}} 
[2026-09-07 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":173943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:38:05] local.INFO: GPS data processed {"connection_id":173943,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:38:05] local.INFO: Acknowledgment sent {"connection_id":173943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:38:44] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:44] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:44] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:38:45] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:45] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:45] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:38:49] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:49] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:38:49] local.INFO: IMEI packet received {"connection_id":173945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":173945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:38:50] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfb1680012cd64d0007373368000700982f..."} 
[2026-09-07 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfb1680012cd64d0007373368000700982f..."} 
[2026-09-07 18:38:50] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfb1680012cd64d0007373368000700982f..."} 
[2026-09-07 18:38:50] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:38:50] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":752241920,"raw_latitude":121058152,"longitude_deg":75.224192,"latitude_deg":12.1058152,"altitude":7,"angle":152,"satellites":47,"speed":22,"hex_longitude":"2cd64d00","hex_latitude":"07373368","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929326592001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401992300202295296,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3008826732555569152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786448000,"timestamp_ms":1788786448000,"timestamp_seconds":1788786448,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfb1680"} 
[2026-09-07 18: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-07 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:38: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-07 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929326592001,"66":27767,"165":206,"83":40960,"24":22,"16":401992300202295296,"44":-3008826732555569152},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929326592001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:38:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 18:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401992300202295296,"km_value":401992300202295.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3008826732555569152,"description":"Unknown IO ID 44"} 
[2026-09-07 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929326592001,"power":27767,"unknown_165":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-3008826732555569152}} 
[2026-09-07 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:38:50] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:38:50] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:39:16] local.INFO: TCP Data received {"connection_id":173944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:16] local.INFO: Processing buffer {"connection_id":173944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:16] local.INFO: IMEI packet received {"connection_id":173944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":173944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:39:21] local.INFO: TCP Data received {"connection_id":173945,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfb2a08012cd653c0073729f00007008c2d..."} 
[2026-09-07 18:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfb2a08012cd653c0073729f00007008c2d..."} 
[2026-09-07 18:39:21] local.INFO: Processing buffer {"connection_id":173945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfb2a08012cd653c0073729f00007008c2d..."} 
[2026-09-07 18:39:21] local.INFO: Packet analysis {"connection_id":173945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:39:21] local.INFO: Extracted packet for processing {"connection_id":173945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:39:21] local.INFO: GPS Element Parsed {"raw_longitude":752243648,"raw_latitude":121055728,"longitude_deg":75.2243648,"latitude_deg":12.1055728,"altitude":7,"angle":140,"satellites":45,"speed":22,"hex_longitude":"2cd653c0","hex_latitude":"073729f0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929330688001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401992446231183360,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3004745345395365888,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788786453000,"timestamp_ms":1788786453000,"timestamp_seconds":1788786453,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfb2a08"} 
[2026-09-07 18: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-07 18:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:39:21] 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-07 18:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929330688001,"66":27887,"165":206,"83":40960,"24":22,"16":401992446231183360,"44":-3004745345395365888},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 18:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929330688001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:39:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 18:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401992446231183360,"km_value":401992446231183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3004745345395365888,"description":"Unknown IO ID 44"} 
[2026-09-07 18:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929330688001,"power":27887,"unknown_165":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-3004745345395365888}} 
[2026-09-07 18:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":173945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:39:21] local.INFO: GPS data processed {"connection_id":173945,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:39:21] local.INFO: Acknowledgment sent {"connection_id":173945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:39:46] local.INFO: TCP Data received {"connection_id":173946,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:46] local.INFO: Processing buffer {"connection_id":173946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:39:46] local.INFO: IMEI packet received {"connection_id":173946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":173946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:39:49] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:49] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:49] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:39:53] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:53] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:39:53] local.INFO: IMEI packet received {"connection_id":175054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":175054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:39:54] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfb4d30012cd6664007371858000800812d..."} 
[2026-09-07 18:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfb4d30012cd6664007371858000800812d..."} 
[2026-09-07 18:39:54] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfb4d30012cd6664007371858000800812d..."} 
[2026-09-07 18:39:54] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:39:54] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfb"} 
[2026-09-07 18:39:54] local.INFO: GPS Element Parsed {"raw_longitude":752248384,"raw_latitude":121051224,"longitude_deg":75.2248384,"latitude_deg":12.1051224,"altitude":8,"angle":129,"satellites":45,"speed":30,"hex_longitude":"2cd66640","hex_latitude":"07371858","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929331968001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401992759763795968,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3002845389303189504,"note":"Value kept but may cause issues"} 
[2026-09-07 18:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788786462000,"timestamp_ms":1788786462000,"timestamp_seconds":1788786462,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfb4d30"} 
[2026-09-07 18: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-07 18:39: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-07 18: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 18:39:54] 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-07 18: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-07 18: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-07 18:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:39:54] 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-07 18:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929331968001,"66":27919,"165":206,"83":40960,"24":30,"16":401992759763795968,"44":-3002845389303189504},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-09-07 18:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929331968001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:39:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-09-07 18:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401992759763795968,"km_value":401992759763795.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3002845389303189504,"description":"Unknown IO ID 44"} 
[2026-09-07 18:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929331968001,"power":27919,"unknown_165":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-3002845389303189504}} 
[2026-09-07 18:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:39:54] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:39:54] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:40:25] local.INFO: TCP Data received {"connection_id":175054,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfceb40012cd795c007364c10000f00702b..."} 
[2026-09-07 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfceb40012cd795c007364c10000f00702b..."} 
[2026-09-07 18:40:25] local.INFO: Processing buffer {"connection_id":175054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfceb40012cd795c007364c10000f00702b..."} 
[2026-09-07 18:40:25] local.INFO: Packet analysis {"connection_id":175054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfc"} 
[2026-09-07 18:40:25] local.INFO: Extracted packet for processing {"connection_id":175054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfc"} 
[2026-09-07 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":752326080,"raw_latitude":120998928,"longitude_deg":75.232608,"latitude_deg":12.0998928,"altitude":15,"angle":112,"satellites":43,"speed":59,"hex_longitude":"2cd795c0","hex_latitude":"07364c10","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929359872001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401997303839195136,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2921780596024186880,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788786568000,"timestamp_ms":1788786568000,"timestamp_seconds":1788786568,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfceb40"} 
[2026-09-07 18: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-07 18:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 18:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:40:25] 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-07 18:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929359872001,"66":27800,"175":206,"83":40960,"24":59,"16":401997303839195136,"44":-2921780596024186880},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929359872001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:40:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:40:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401997303839195136,"km_value":401997303839195.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2921780596024186880,"description":"Unknown IO ID 44"} 
[2026-09-07 18:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929359872001,"power":27800,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2921780596024186880}} 
[2026-09-07 18:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":175054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:40:25] local.INFO: GPS data processed {"connection_id":175054,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:40:25] local.INFO: Acknowledgment sent {"connection_id":175054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:40:45] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:45] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:45] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:40:46] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:46] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:46] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:40:49] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:49] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:40:49] local.INFO: IMEI packet received {"connection_id":176460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":176460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:40:49] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfd02b0012cd7b6c007363f58000e006e2e..."} 
[2026-09-07 18:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfd02b0012cd7b6c007363f58000e006e2e..."} 
[2026-09-07 18:40:49] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfd02b0012cd7b6c007363f58000e006e2e..."} 
[2026-09-07 18:40:49] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfd"} 
[2026-09-07 18:40:49] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfd"} 
[2026-09-07 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":752334528,"raw_latitude":120995672,"longitude_deg":75.2334528,"latitude_deg":12.0995672,"altitude":14,"angle":110,"satellites":46,"speed":59,"hex_longitude":"2cd7b6c0","hex_latitude":"07363f58","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929361408001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401997733335924736,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2912210446816899072,"note":"Value kept but may cause issues"} 
[2026-09-07 18:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788786574000,"timestamp_ms":1788786574000,"timestamp_seconds":1788786574,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfd02b0"} 
[2026-09-07 18: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-07 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 18:40:49] 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-07 18: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-07 18: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-07 18:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:40:49] 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-07 18:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929361408001,"66":27843,"175":206,"83":40960,"24":59,"16":401997733335924736,"44":-2912210446816899072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929361408001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:40:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401997733335924736,"km_value":401997733335924.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2912210446816899072,"description":"Unknown IO ID 44"} 
[2026-09-07 18:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929361408001,"power":27843,"unknown_175":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2912210446816899072}} 
[2026-09-07 18:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:40:49] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:40:49] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:41:20] local.INFO: TCP Data received {"connection_id":176460,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfd1e08012cd7dc80073630c0000c00702f..."} 
[2026-09-07 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfd1e08012cd7dc80073630c0000c00702f..."} 
[2026-09-07 18:41:20] local.INFO: Processing buffer {"connection_id":176460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfd1e08012cd7dc80073630c0000c00702f..."} 
[2026-09-07 18:41:20] local.INFO: Packet analysis {"connection_id":176460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfd"} 
[2026-09-07 18:41:20] local.INFO: Extracted packet for processing {"connection_id":176460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfd"} 
[2026-09-07 18:41:20] local.INFO: GPS Element Parsed {"raw_longitude":752344192,"raw_latitude":120991936,"longitude_deg":75.2344192,"latitude_deg":12.0991936,"altitude":12,"angle":112,"satellites":47,"speed":57,"hex_longitude":"2cd7dc80","hex_latitude":"073630c0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929362944001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":401998227257163776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2902921772586280960,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788786581000,"timestamp_ms":1788786581000,"timestamp_seconds":1788786581,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfd1e08"} 
[2026-09-07 18: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-07 18:41: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-07 18:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 18:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:41:20] 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-07 18:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929362944001,"66":27865,"175":206,"83":40960,"24":57,"16":401998227257163776,"44":-2902921772586280960},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929362944001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:41:20] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:41:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":401998227257163776,"km_value":401998227257163.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2902921772586280960,"description":"Unknown IO ID 44"} 
[2026-09-07 18:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929362944001,"power":27865,"unknown_175":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2902921772586280960}} 
[2026-09-07 18:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":176460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:41:20] local.INFO: GPS data processed {"connection_id":176460,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:41:20] local.INFO: Acknowledgment sent {"connection_id":176460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:41:44] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:44] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:44] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:41:45] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:45] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:45] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:41:49] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:49] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:41:49] local.INFO: IMEI packet received {"connection_id":176462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":176462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:41:50] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfe3748012cd9518007357010001200702f..."} 
[2026-09-07 18:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfe3748012cd9518007357010001200702f..."} 
[2026-09-07 18:41:50] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfe3748012cd9518007357010001200702f..."} 
[2026-09-07 18:41:50] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:41:50] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:41:50] local.INFO: GPS Element Parsed {"raw_longitude":752439680,"raw_latitude":120942608,"longitude_deg":75.243968,"latitude_deg":12.0942608,"altitude":18,"angle":112,"satellites":47,"speed":57,"hex_longitude":"2cd95180","hex_latitude":"07357010","is_valid_coordinates":true} 
[2026-09-07 18:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929381376001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402003355448115200,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2797790868797431808,"note":"Value kept but may cause issues"} 
[2026-09-07 18:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786653000,"timestamp_ms":1788786653000,"timestamp_seconds":1788786653,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfe3748"} 
[2026-09-07 18:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:41: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-07 18:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929381376001,"66":27865,"175":206,"83":40960,"24":57,"16":402003355448115200,"44":-2797790868797431808},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929381376001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:41:50] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402003355448115200,"km_value":402003355448115.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2797790868797431808,"description":"Unknown IO ID 44"} 
[2026-09-07 18:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929381376001,"power":27865,"unknown_175":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2797790868797431808}} 
[2026-09-07 18:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:41:50] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:41:50] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:42:20] local.INFO: TCP Data received {"connection_id":176462,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfe52a0012cd97600073561100015007030..."} 
[2026-09-07 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfe52a0012cd97600073561100015007030..."} 
[2026-09-07 18:42:20] local.INFO: Processing buffer {"connection_id":176462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfe52a0012cd97600073561100015007030..."} 
[2026-09-07 18:42:20] local.INFO: Packet analysis {"connection_id":176462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:42:20] local.INFO: Extracted packet for processing {"connection_id":176462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:42:20] local.INFO: GPS Element Parsed {"raw_longitude":752449024,"raw_latitude":120938768,"longitude_deg":75.2449024,"latitude_deg":12.0938768,"altitude":21,"angle":112,"satellites":48,"speed":56,"hex_longitude":"2cd97600","hex_latitude":"07356110","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929383168001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402003840779419648,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2787305925915963392,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788786660000,"timestamp_ms":1788786660000,"timestamp_seconds":1788786660,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfe52a0"} 
[2026-09-07 18: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-07 18:42: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-07 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 18:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:42:20] 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-07 18:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929383168001,"66":27463,"175":206,"83":40960,"24":56,"16":402003840779419648,"44":-2787305925915963392},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929383168001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:42:20] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402003840779419648,"km_value":402003840779419.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2787305925915963392,"description":"Unknown IO ID 44"} 
[2026-09-07 18:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929383168001,"power":27463,"unknown_175":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2787305925915963392}} 
[2026-09-07 18:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":176462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:42:20] local.INFO: GPS data processed {"connection_id":176462,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:42:20] local.INFO: Acknowledgment sent {"connection_id":176462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:42:44] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:44] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:44] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:42:49] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:49] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:42:49] local.INFO: IMEI packet received {"connection_id":173717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:42:49] local.INFO: TCP Data received {"connection_id":173717,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfe6df8012cd99a0007355278001700702f..."} 
[2026-09-07 18:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfe6df8012cd99a0007355278001700702f..."} 
[2026-09-07 18:42:49] local.INFO: Processing buffer {"connection_id":173717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfe6df8012cd99a0007355278001700702f..."} 
[2026-09-07 18:42:49] local.INFO: Packet analysis {"connection_id":173717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:42:49] local.INFO: Extracted packet for processing {"connection_id":173717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:42:49] local.INFO: GPS Element Parsed {"raw_longitude":752458240,"raw_latitude":120935032,"longitude_deg":75.245824,"latitude_deg":12.0935032,"altitude":23,"angle":112,"satellites":47,"speed":55,"hex_longitude":"2cd99a00","hex_latitude":"07355278","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929384960001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402004313225822208,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2777032089267007488,"note":"Value kept but may cause issues"} 
[2026-09-07 18:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788786667000,"timestamp_ms":1788786667000,"timestamp_seconds":1788786667,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfe6df8"} 
[2026-09-07 18: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-07 18:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 18:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:42:49] 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-07 18:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929384960001,"66":27876,"175":206,"83":40960,"24":55,"16":402004313225822208,"44":-2777032089267007488},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-09-07 18:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929384960001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:42:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-09-07 18:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402004313225822208,"km_value":402004313225822.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2777032089267007488,"description":"Unknown IO ID 44"} 
[2026-09-07 18:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929384960001,"power":27876,"unknown_175":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2777032089267007488}} 
[2026-09-07 18:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":173717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:42:49] local.INFO: GPS data processed {"connection_id":173717,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:42:49] local.INFO: Acknowledgment sent {"connection_id":173717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:43:15] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:15] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:15] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:43:19] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:43:19] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:19] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:43:24] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:24] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:24] local.INFO: IMEI packet received {"connection_id":173718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":173718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:43:25] local.INFO: TCP Data received {"connection_id":173718,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bfedb58012cda204007350518001b008530..."} 
[2026-09-07 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bfedb58012cda204007350518001b008530..."} 
[2026-09-07 18:43:25] local.INFO: Processing buffer {"connection_id":173718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bfedb58012cda204007350518001b008530..."} 
[2026-09-07 18:43:25] local.INFO: Packet analysis {"connection_id":173718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:43:25] local.INFO: Extracted packet for processing {"connection_id":173718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bfe"} 
[2026-09-07 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":752492608,"raw_latitude":120915224,"longitude_deg":75.2492608,"latitude_deg":12.0915224,"altitude":27,"angle":133,"satellites":48,"speed":60,"hex_longitude":"2cda2040","hex_latitude":"07350518","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929392128001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402006220191301632,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2737766330020132864,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788786695000,"timestamp_ms":1788786695000,"timestamp_seconds":1788786695,"priority":1,"record_length":96,"hex_timestamp":"000001a07bfedb58"} 
[2026-09-07 18: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-07 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 18:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:43:25] 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-07 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929392128001,"66":27800,"174":206,"83":40960,"24":60,"16":402006220191301632,"44":-2737766330020132864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,44]} 
[2026-09-07 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929392128001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:43:25] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-09-07 18:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402006220191301632,"km_value":402006220191301.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2737766330020132864,"description":"Unknown IO ID 44"} 
[2026-09-07 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929392128001,"power":27800,"unknown_174":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2737766330020132864}} 
[2026-09-07 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":173718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:43:25] local.INFO: GPS data processed {"connection_id":173718,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:43:25] local.INFO: Acknowledgment sent {"connection_id":173718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:43:49] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:49] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:49] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:43:54] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:54] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:43:54] local.INFO: IMEI packet received {"connection_id":175055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":175055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:43:55] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07bffdd28012cdb1740073418e8001600912e..."} 
[2026-09-07 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07bffdd28012cdb1740073418e8001600912e..."} 
[2026-09-07 18:43:55] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07bffdd28012cdb1740073418e8001600912e..."} 
[2026-09-07 18:43:55] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07bff"} 
[2026-09-07 18:43:55] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07bff"} 
[2026-09-07 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":752555840,"raw_latitude":120854760,"longitude_deg":75.255584,"latitude_deg":12.085476,"altitude":22,"angle":145,"satellites":46,"speed":17,"hex_longitude":"2cdb1740","hex_latitude":"073418e8","is_valid_coordinates":true} 
[2026-09-07 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-07 18:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929409792001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402010446439120896,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2660923661395064832,"note":"Value kept but may cause issues"} 
[2026-09-07 18:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788786761000,"timestamp_ms":1788786761000,"timestamp_seconds":1788786761,"priority":1,"record_length":96,"hex_timestamp":"000001a07bffdd28"} 
[2026-09-07 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-07 18:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-07 18:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:43:55] 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-07 18:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929409792001,"66":27604,"145":206,"83":40960,"24":17,"16":402010446439120896,"44":-2660923661395064832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 18:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929409792001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:43:55] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 18:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402010446439120896,"km_value":402010446439120.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2660923661395064832,"description":"Unknown IO ID 44"} 
[2026-09-07 18:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929409792001,"power":27604,"unknown_145":206,"unknown_83":40960,"ignition":17,"odometer":null,"unknown_44":-2660923661395064832}} 
[2026-09-07 18:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:43:55] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:43:55] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:44:26] local.INFO: TCP Data received {"connection_id":175055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c000ff0012cdb2b400733fa50001500942f..."} 
[2026-09-07 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c000ff0012cdb2b400733fa50001500942f..."} 
[2026-09-07 18:44:26] local.INFO: Processing buffer {"connection_id":175055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c000ff0012cdb2b400733fa50001500942f..."} 
[2026-09-07 18:44:26] local.INFO: Packet analysis {"connection_id":175055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:44:26] local.INFO: Extracted packet for processing {"connection_id":175055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":752560960,"raw_latitude":120846928,"longitude_deg":75.256096,"latitude_deg":12.0846928,"altitude":21,"angle":148,"satellites":47,"speed":29,"hex_longitude":"2cdb2b40","hex_latitude":"0733fa50","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929410816001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402010897410686976,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2659586655255992320,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788786774000,"timestamp_ms":1788786774000,"timestamp_seconds":1788786774,"priority":1,"record_length":96,"hex_timestamp":"000001a07c000ff0"} 
[2026-09-07 18: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-07 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-09-07 18:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:44: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-07 18:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929410816001,"66":27571,"145":206,"83":40960,"24":29,"16":402010897410686976,"44":-2659586655255992320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 18:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929410816001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:44:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 18:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402010897410686976,"km_value":402010897410687.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2659586655255992320,"description":"Unknown IO ID 44"} 
[2026-09-07 18:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929410816001,"power":27571,"unknown_145":206,"unknown_83":40960,"ignition":29,"odometer":null,"unknown_44":-2659586655255992320}} 
[2026-09-07 18:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":175055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:44:26] local.INFO: GPS data processed {"connection_id":175055,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:44:26] local.INFO: Acknowledgment sent {"connection_id":175055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:44:44] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:44] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:44] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:44:47] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:47] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:47] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:44:49] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:49] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:44:49] local.INFO: IMEI packet received {"connection_id":175056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":175056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:44:50] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c00e2e0012cdb68c0073386a0001400b22b..."} 
[2026-09-07 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c00e2e0012cdb68c0073386a0001400b22b..."} 
[2026-09-07 18:44:50] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c00e2e0012cdb68c0073386a0001400b22b..."} 
[2026-09-07 18:44:50] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:44:50] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:44:50] local.INFO: GPS Element Parsed {"raw_longitude":752576704,"raw_latitude":120817312,"longitude_deg":75.2576704,"latitude_deg":12.0817312,"altitude":20,"angle":178,"satellites":43,"speed":26,"hex_longitude":"2cdb68c0","hex_latitude":"073386a0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929427456001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402012598217736192,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636505707174983680,"note":"Value kept but may cause issues"} 
[2026-09-07 18:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786828000,"timestamp_ms":1788786828000,"timestamp_seconds":1788786828,"priority":1,"record_length":96,"hex_timestamp":"000001a07c00e2e0"} 
[2026-09-07 18: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-07 18:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 18:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:44:50] 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-07 18:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929427456001,"66":27745,"146":206,"83":40960,"24":26,"16":402012598217736192,"44":-2636505707174983680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-07 18:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929427456001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:44:50] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 18:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402012598217736192,"km_value":402012598217736.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636505707174983680,"description":"Unknown IO ID 44"} 
[2026-09-07 18:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929427456001,"power":27745,"unknown_146":206,"unknown_83":40960,"ignition":26,"odometer":null,"unknown_44":-2636505707174983680}} 
[2026-09-07 18:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:44:50] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:44:50] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:44:51] local.INFO: TCP Data received {"connection_id":175057,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:44:51] local.INFO: Processing buffer {"connection_id":175057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:44:51] local.INFO: IMEI packet received {"connection_id":175057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":175057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:45:20] local.INFO: TCP Data received {"connection_id":175056,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c00f668012cdb6ac007337888001300a42b..."} 
[2026-09-07 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c00f668012cdb6ac007337888001300a42b..."} 
[2026-09-07 18:45:20] local.INFO: Processing buffer {"connection_id":175056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c00f668012cdb6ac007337888001300a42b..."} 
[2026-09-07 18:45:20] local.INFO: Packet analysis {"connection_id":175056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:45:20] local.INFO: Extracted packet for processing {"connection_id":175056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c00"} 
[2026-09-07 18:45:20] local.INFO: GPS Element Parsed {"raw_longitude":752577216,"raw_latitude":120813704,"longitude_deg":75.2577216,"latitude_deg":12.0813704,"altitude":19,"angle":164,"satellites":43,"speed":30,"hex_longitude":"2cdb6ac0","hex_latitude":"07337888","is_valid_coordinates":true} 
[2026-09-07 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-07 18:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929427968001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402012774311395328,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636646444663660544,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788786833000,"timestamp_ms":1788786833000,"timestamp_seconds":1788786833,"priority":1,"record_length":96,"hex_timestamp":"000001a07c00f668"} 
[2026-09-07 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-07 18:45: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-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929427968001,"66":27658,"146":206,"83":40960,"24":30,"16":402012774311395328,"44":-2636646444663660544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-09-07 18:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929427968001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:45:20] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-09-07 18:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402012774311395328,"km_value":402012774311395.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636646444663660544,"description":"Unknown IO ID 44"} 
[2026-09-07 18:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929427968001,"power":27658,"unknown_146":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2636646444663660544}} 
[2026-09-07 18:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":175056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:45:20] local.INFO: GPS data processed {"connection_id":175056,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:45:20] local.INFO: Acknowledgment sent {"connection_id":175056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:45:44] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:44] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:44] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:45:47] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:47] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:47] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:45:49] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:49] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:45:49] local.INFO: IMEI packet received {"connection_id":173948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":173948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:45:49] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c010608012cdb6f4007336d18001300982e..."} 
[2026-09-07 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c010608012cdb6f4007336d18001300982e..."} 
[2026-09-07 18:45:49] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c010608012cdb6f4007336d18001300982e..."} 
[2026-09-07 18:45:49] local.INFO: Packet analysis {"connection_id":173948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c01"} 
[2026-09-07 18:45:49] local.INFO: Extracted packet for processing {"connection_id":173948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c01"} 
[2026-09-07 18:45:49] local.INFO: GPS Element Parsed {"raw_longitude":752578368,"raw_latitude":120810776,"longitude_deg":75.2578368,"latitude_deg":12.0810776,"altitude":19,"angle":152,"satellites":46,"speed":30,"hex_longitude":"2cdb6f40","hex_latitude":"07336d18","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929429248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402012928930217984,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636083494711162880,"note":"Value kept but may cause issues"} 
[2026-09-07 18:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788786837000,"timestamp_ms":1788786837000,"timestamp_seconds":1788786837,"priority":1,"record_length":96,"hex_timestamp":"000001a07c010608"} 
[2026-09-07 18: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-07 18:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":10,"data_length":795,"current_offset":136} 
[2026-09-07 18:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:45: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-07 18:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929429248001,"66":27745,"145":206,"83":40960,"24":30,"16":402012928930217984,"44":-2636083494711162880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 18:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929429248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:45:49] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 18:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402012928930217984,"km_value":402012928930218.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636083494711162880,"description":"Unknown IO ID 44"} 
[2026-09-07 18:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929429248001,"power":27745,"unknown_145":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2636083494711162880}} 
[2026-09-07 18:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":173948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:45:50] local.INFO: GPS data processed {"connection_id":173948,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:45:50] local.INFO: Acknowledgment sent {"connection_id":173948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:46:20] local.INFO: TCP Data received {"connection_id":173948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0261b0012cdbaec00731eea0001a00b72e..."} 
[2026-09-07 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0261b0012cdbaec00731eea0001a00b72e..."} 
[2026-09-07 18:46:20] local.INFO: Processing buffer {"connection_id":173948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0261b0012cdbaec00731eea0001a00b72e..."} 
[2026-09-07 18:46:20] local.INFO: Packet analysis {"connection_id":173948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:46:20] local.INFO: Extracted packet for processing {"connection_id":173948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":752594624,"raw_latitude":120712864,"longitude_deg":75.2594624,"latitude_deg":12.0712864,"altitude":26,"angle":183,"satellites":46,"speed":44,"hex_longitude":"2cdbaec0","hex_latitude":"0731eea0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929451008001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402017820897968128,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2617013565062539264,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788786926000,"timestamp_ms":1788786926000,"timestamp_seconds":1788786926,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0261b0"} 
[2026-09-07 18: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-07 18:46: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-07 18:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 18:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929451008001,"66":27745,"144":206,"83":40960,"24":44,"16":402017820897968128,"44":-2617013565062539264},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 18:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929451008001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:46:20] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 18:46:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402017820897968128,"km_value":402017820897968.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2617013565062539264,"description":"Unknown IO ID 44"} 
[2026-09-07 18:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929451008001,"power":27745,"unknown_144":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2617013565062539264}} 
[2026-09-07 18:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":173948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:46:20] local.INFO: GPS data processed {"connection_id":173948,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:46:20] local.INFO: Acknowledgment sent {"connection_id":173948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:46:44] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:44] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:44] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:46:47] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:47] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:46:47] local.INFO: IMEI packet received {"connection_id":176465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":176465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:46:47] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0280f0012cdba8000731c990001800be2c..."} 
[2026-09-07 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0280f0012cdba8000731c990001800be2c..."} 
[2026-09-07 18:46:47] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0280f0012cdba8000731c990001800be2c..."} 
[2026-09-07 18:46:47] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:46:47] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:46:47] local.INFO: GPS Element Parsed {"raw_longitude":752592896,"raw_latitude":120703376,"longitude_deg":75.2592896,"latitude_deg":12.0703376,"altitude":24,"angle":190,"satellites":44,"speed":49,"hex_longitude":"2cdba800","hex_latitude":"0731c990","is_valid_coordinates":true} 
[2026-09-07 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-07 18:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929453056001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402018289049403392,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2616943196320653312,"note":"Value kept but may cause issues"} 
[2026-09-07 18:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788786934000,"timestamp_ms":1788786934000,"timestamp_seconds":1788786934,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0280f0"} 
[2026-09-07 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-07 18:46: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-07 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:46: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-07 18:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929453056001,"66":27767,"144":206,"83":40960,"24":49,"16":402018289049403392,"44":-2616943196320653312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 18:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929453056001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:46:47] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 18:46:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402018289049403392,"km_value":402018289049403.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2616943196320653312,"description":"Unknown IO ID 44"} 
[2026-09-07 18:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929453056001,"power":27767,"unknown_144":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2616943196320653312}} 
[2026-09-07 18:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:46:47] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:46:47] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:47:19] local.INFO: TCP Data received {"connection_id":176465,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c02a030012cdba4000731a3a0001700b42e..."} 
[2026-09-07 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c02a030012cdba4000731a3a0001700b42e..."} 
[2026-09-07 18:47:19] local.INFO: Processing buffer {"connection_id":176465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c02a030012cdba4000731a3a0001700b42e..."} 
[2026-09-07 18:47:19] local.INFO: Packet analysis {"connection_id":176465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:47:19] local.INFO: Extracted packet for processing {"connection_id":176465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":752591872,"raw_latitude":120693664,"longitude_deg":75.2591872,"latitude_deg":12.0693664,"altitude":23,"angle":180,"satellites":46,"speed":49,"hex_longitude":"2cdba400","hex_latitude":"0731a3a0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929455104001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402018761495805952,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2618843152415879168,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788786942000,"timestamp_ms":1788786942000,"timestamp_seconds":1788786942,"priority":1,"record_length":96,"hex_timestamp":"000001a07c02a030"} 
[2026-09-07 18: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-07 18:47: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-07 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929455104001,"66":27658,"144":206,"83":40960,"24":49,"16":402018761495805952,"44":-2618843152415879168},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-09-07 18:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929455104001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:47:19] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-09-07 18:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402018761495805952,"km_value":402018761495805.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:47:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2618843152415879168,"description":"Unknown IO ID 44"} 
[2026-09-07 18:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929455104001,"power":27658,"unknown_144":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2618843152415879168}} 
[2026-09-07 18:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":176465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:47:19] local.INFO: GPS data processed {"connection_id":176465,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:47:19] local.INFO: Acknowledgment sent {"connection_id":176465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:47:44] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:44] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:44] local.INFO: IMEI packet received {"connection_id":173951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":173951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:47:49] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:49] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:47:49] local.INFO: IMEI packet received {"connection_id":173951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":173951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:47:50] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c02b3b8012cdba6c007318b40001a00a92e..."} 
[2026-09-07 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c02b3b8012cdba6c007318b40001a00a92e..."} 
[2026-09-07 18:47:50] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c02b3b8012cdba6c007318b40001a00a92e..."} 
[2026-09-07 18:47:50] local.INFO: Packet analysis {"connection_id":173951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:47:50] local.INFO: Extracted packet for processing {"connection_id":173951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c02"} 
[2026-09-07 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":752592576,"raw_latitude":120687424,"longitude_deg":75.2592576,"latitude_deg":12.0687424,"altitude":26,"angle":169,"satellites":46,"speed":49,"hex_longitude":"2cdba6c0","hex_latitude":"07318b40","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929457152001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402019066438483968,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619969052325208064,"note":"Value kept but may cause issues"} 
[2026-09-07 18:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788786947000,"timestamp_ms":1788786947000,"timestamp_seconds":1788786947,"priority":1,"record_length":96,"hex_timestamp":"000001a07c02b3b8"} 
[2026-09-07 18: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-07 18:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 18:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:47:50] 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-07 18:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929457152001,"66":27658,"143":206,"83":40960,"24":49,"16":402019066438483968,"44":-2619969052325208064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-09-07 18:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929457152001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:47:50] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-09-07 18:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402019066438483968,"km_value":402019066438483.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619969052325208064,"description":"Unknown IO ID 44"} 
[2026-09-07 18:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929457152001,"power":27658,"unknown_143":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2619969052325208064}} 
[2026-09-07 18:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:47:50] local.INFO: GPS data processed {"connection_id":173951,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:47:50] local.INFO: Acknowledgment sent {"connection_id":173951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:48:21] local.INFO: TCP Data received {"connection_id":173951,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0426d0012cdc1cc0073027d80006009330..."} 
[2026-09-07 18:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0426d0012cdc1cc0073027d80006009330..."} 
[2026-09-07 18:48:21] local.INFO: Processing buffer {"connection_id":173951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0426d0012cdc1cc0073027d80006009330..."} 
[2026-09-07 18:48:21] local.INFO: Packet analysis {"connection_id":173951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:21] local.INFO: Extracted packet for processing {"connection_id":173951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:21] local.INFO: GPS Element Parsed {"raw_longitude":752622784,"raw_latitude":120596440,"longitude_deg":75.2622784,"latitude_deg":12.059644,"altitude":6,"angle":147,"satellites":48,"speed":38,"hex_longitude":"2cdc1cc0","hex_latitude":"073027d8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929480192001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402023803787411456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2591540079700287488,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787042000,"timestamp_ms":1788787042000,"timestamp_seconds":1788787042,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0426d0"} 
[2026-09-07 18: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-07 18:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-09-07 18:48:21] 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-07 18: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-07 18: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-07 18:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48: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-07 18:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929480192001,"66":27745,"95":206,"83":40960,"24":38,"16":402023803787411456,"44":-2591540079700287488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 18:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929480192001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:48:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 18:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402023803787411456,"km_value":402023803787411.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2591540079700287488,"description":"Unknown IO ID 44"} 
[2026-09-07 18:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929480192001,"power":27745,"unknown_95":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2591540079700287488}} 
[2026-09-07 18:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":173951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:48:21] local.INFO: GPS data processed {"connection_id":173951,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:48:21] local.INFO: Acknowledgment sent {"connection_id":173951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:48:49] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:49] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:49] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:48:50] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:50] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:48:50] local.INFO: IMEI packet received {"connection_id":176467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":176467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:48:51] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0449f8012cdc3040073008e80006009331..."} 
[2026-09-07 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0449f8012cdc3040073008e80006009331..."} 
[2026-09-07 18:48:51] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0449f8012cdc3040073008e80006009331..."} 
[2026-09-07 18:48:51] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:51] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":752627776,"raw_latitude":120588520,"longitude_deg":75.2627776,"latitude_deg":12.058852,"altitude":6,"angle":147,"satellites":49,"speed":42,"hex_longitude":"2cdc3040","hex_latitude":"073008e8","is_valid_coordinates":true} 
[2026-09-07 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929482752001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402024259053944832,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2585980948912285696,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788787051000,"timestamp_ms":1788787051000,"timestamp_seconds":1788787051,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0449f8"} 
[2026-09-07 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:48: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-07 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 18:48:51] 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-07 18:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48: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-07 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929482752001,"66":27767,"95":206,"83":40960,"24":42,"16":402024259053944832,"44":-2585980948912285696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929482752001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:48:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 18:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402024259053944832,"km_value":402024259053944.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2585980948912285696,"description":"Unknown IO ID 44"} 
[2026-09-07 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929482752001,"power":27767,"unknown_95":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2585980948912285696}} 
[2026-09-07 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:48:51] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:48:51] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:48:57] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c046d20012cdc4500072fe9a00007009231..."} 
[2026-09-07 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c046d20012cdc4500072fe9a00007009231..."} 
[2026-09-07 18:48:57] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c046d20012cdc4500072fe9a00007009231..."} 
[2026-09-07 18:48:57] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:57] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:48:57] local.INFO: GPS Element Parsed {"raw_longitude":752633088,"raw_latitude":120580512,"longitude_deg":75.2633088,"latitude_deg":12.0580512,"altitude":7,"angle":146,"satellites":49,"speed":35,"hex_longitude":"2cdc4500","hex_latitude":"072fe9a0","is_valid_coordinates":true} 
[2026-09-07 18:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929485056001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402024718615445504,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2580492186868455424,"note":"Value kept but may cause issues"} 
[2026-09-07 18:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788787060000,"timestamp_ms":1788787060000,"timestamp_seconds":1788787060,"priority":1,"record_length":96,"hex_timestamp":"000001a07c046d20"} 
[2026-09-07 18:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 18:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:48:57] 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-07 18:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929485056001,"66":27213,"95":206,"83":40960,"24":35,"16":402024718615445504,"44":-2580492186868455424},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 18:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929485056001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:48:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 18:48:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402024718615445504,"km_value":402024718615445.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:48:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2580492186868455424,"description":"Unknown IO ID 44"} 
[2026-09-07 18:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929485056001,"power":27213,"unknown_95":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2580492186868455424}} 
[2026-09-07 18:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:48:58] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:48:58] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:49:02] local.INFO: TCP Data received {"connection_id":176468,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:49:02] local.INFO: Processing buffer {"connection_id":176468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:49:02] local.INFO: IMEI packet received {"connection_id":176468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":176468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:49:31] local.INFO: TCP Data received {"connection_id":176467,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c049c00012cdc5840072fcba0000600922f..."} 
[2026-09-07 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c049c00012cdc5840072fcba0000600922f..."} 
[2026-09-07 18:49:31] local.INFO: Processing buffer {"connection_id":176467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c049c00012cdc5840072fcba0000600922f..."} 
[2026-09-07 18:49:31] local.INFO: Packet analysis {"connection_id":176467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:49:31] local.INFO: Extracted packet for processing {"connection_id":176467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":752638016,"raw_latitude":120572832,"longitude_deg":75.2638016,"latitude_deg":12.0572832,"altitude":6,"angle":146,"satellites":47,"speed":34,"hex_longitude":"2cdc5840","hex_latitude":"072fcba0","is_valid_coordinates":true} 
[2026-09-07 18:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929487360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402025160997076992,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2574651581103759360,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788787072000,"timestamp_ms":1788787072000,"timestamp_seconds":1788787072,"priority":1,"record_length":96,"hex_timestamp":"000001a07c049c00"} 
[2026-09-07 18:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 18:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":176467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":176467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:49:31] 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-07 18:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929487360001,"66":27397,"95":206,"83":40960,"24":34,"16":402025160997076992,"44":-2574651581103759360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 18:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929487360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:49:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 18:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402025160997076992,"km_value":402025160997077.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2574651581103759360,"description":"Unknown IO ID 44"} 
[2026-09-07 18:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929487360001,"power":27397,"unknown_95":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2574651581103759360}} 
[2026-09-07 18:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":176467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:49:31] local.INFO: GPS data processed {"connection_id":176467,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:49:31] local.INFO: Acknowledgment sent {"connection_id":176467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:49:43] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:43] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:43] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:49:44] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:44] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:44] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:49:49] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:49] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:49:49] local.INFO: IMEI packet received {"connection_id":176469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":176469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:49:51] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c04bf28012cdc6c80072fb1e8000500862e..."} 
[2026-09-07 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c04bf28012cdc6c80072fb1e8000500862e..."} 
[2026-09-07 18:49:51] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c04bf28012cdc6c80072fb1e8000500862e..."} 
[2026-09-07 18:49:51] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:49:51] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c04"} 
[2026-09-07 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":752643200,"raw_latitude":120566248,"longitude_deg":75.26432,"latitude_deg":12.0566248,"altitude":5,"angle":134,"satellites":46,"speed":38,"hex_longitude":"2cdc6c80","hex_latitude":"072fb1e8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929490432001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402025564724002816,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2569233187804045312,"note":"Value kept but may cause issues"} 
[2026-09-07 18:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788787081000,"timestamp_ms":1788787081000,"timestamp_seconds":1788787081,"priority":1,"record_length":96,"hex_timestamp":"000001a07c04bf28"} 
[2026-09-07 18: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-07 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 18:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:49: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-07 18:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929490432001,"66":27365,"95":206,"83":40960,"24":38,"16":402025564724002816,"44":-2569233187804045312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 18:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929490432001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:49:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 18:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402025564724002816,"km_value":402025564724002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2569233187804045312,"description":"Unknown IO ID 44"} 
[2026-09-07 18:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929490432001,"power":27365,"unknown_95":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2569233187804045312}} 
[2026-09-07 18:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:49:51] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:49:51] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:50:24] local.INFO: TCP Data received {"connection_id":176469,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c060b30012cdccc40072eb3f8002000c52b..."} 
[2026-09-07 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c060b30012cdccc40072eb3f8002000c52b..."} 
[2026-09-07 18:50:24] local.INFO: Processing buffer {"connection_id":176469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c060b30012cdccc40072eb3f8002000c52b..."} 
[2026-09-07 18:50:24] local.INFO: Packet analysis {"connection_id":176469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:50:24] local.INFO: Extracted packet for processing {"connection_id":176469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":752667712,"raw_latitude":120501240,"longitude_deg":75.2667712,"latitude_deg":12.050124,"altitude":32,"angle":197,"satellites":43,"speed":42,"hex_longitude":"2cdccc40","hex_latitude":"072eb3f8","is_valid_coordinates":true} 
[2026-09-07 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-07 18:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929512192001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402029176791498752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2534752503173070848,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788787166000,"timestamp_ms":1788787166000,"timestamp_seconds":1788787166,"priority":1,"record_length":96,"hex_timestamp":"000001a07c060b30"} 
[2026-09-07 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-07 18:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 18:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 18:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:50:24] 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-07 18:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929512192001,"66":27376,"94":206,"83":40960,"24":42,"16":402029176791498752,"44":-2534752503173070848},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-07 18:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929512192001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-07 18:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402029176791498752,"km_value":402029176791498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2534752503173070848,"description":"Unknown IO ID 44"} 
[2026-09-07 18:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929512192001,"power":27376,"unknown_94":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2534752503173070848}} 
[2026-09-07 18:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":176469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:50:24] local.INFO: GPS data processed {"connection_id":176469,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:50:24] local.INFO: Acknowledgment sent {"connection_id":176469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:50:26] local.INFO: TCP Data received {"connection_id":173719,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:26] local.INFO: Processing buffer {"connection_id":173719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:26] local.INFO: IMEI packet received {"connection_id":173719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":173719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:50:44] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:44] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:44] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:50:46] local.INFO: TCP Data received {"connection_id":173721,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:46] local.INFO: Processing buffer {"connection_id":173721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:50:46] local.INFO: IMEI packet received {"connection_id":173721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":173721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:50:48] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:48] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:50:48] local.INFO: IMEI packet received {"connection_id":173720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":173720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:50:49] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0622a0012cdcc140072e9ac0001b00d02a..."} 
[2026-09-07 18:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0622a0012cdcc140072e9ac0001b00d02a..."} 
[2026-09-07 18:50:49] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0622a0012cdcc140072e9ac0001b00d02a..."} 
[2026-09-07 18:50:49] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:50:49] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:50:49] local.INFO: GPS Element Parsed {"raw_longitude":752664896,"raw_latitude":120494784,"longitude_deg":75.2664896,"latitude_deg":12.0494784,"altitude":27,"angle":208,"satellites":42,"speed":50,"hex_longitude":"2cdcc140","hex_latitude":"072e9ac0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929514496001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402029520388882432,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2536582090523936768,"note":"Value kept but may cause issues"} 
[2026-09-07 18:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788787172000,"timestamp_ms":1788787172000,"timestamp_seconds":1788787172,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0622a0"} 
[2026-09-07 18: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-07 18:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 18:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:50: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-07 18:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929514496001,"66":27332,"94":206,"83":40960,"24":50,"16":402029520388882432,"44":-2536582090523936768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-07 18:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929514496001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:50:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-07 18:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402029520388882432,"km_value":402029520388882.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:50:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2536582090523936768,"description":"Unknown IO ID 44"} 
[2026-09-07 18:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929514496001,"power":27332,"unknown_94":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2536582090523936768}} 
[2026-09-07 18:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:50:49] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:50:49] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:51:20] local.INFO: TCP Data received {"connection_id":173720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c063df8012cdcb100072e7b10001400cb2b..."} 
[2026-09-07 18:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c063df8012cdcb100072e7b10001400cb2b..."} 
[2026-09-07 18:51:20] local.INFO: Processing buffer {"connection_id":173720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c063df8012cdcb100072e7b10001400cb2b..."} 
[2026-09-07 18:51:20] local.INFO: Packet analysis {"connection_id":173720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:51:20] local.INFO: Extracted packet for processing {"connection_id":173720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:51:20] local.INFO: GPS Element Parsed {"raw_longitude":752660736,"raw_latitude":120486672,"longitude_deg":75.2660736,"latitude_deg":12.0486672,"altitude":20,"angle":203,"satellites":43,"speed":51,"hex_longitude":"2cdcb100","hex_latitude":"072e7b10","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929516032001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402029958475546624,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2539678315269406720,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788787179000,"timestamp_ms":1788787179000,"timestamp_seconds":1788787179,"priority":1,"record_length":96,"hex_timestamp":"000001a07c063df8"} 
[2026-09-07 18: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-07 18:51: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-07 18: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 18:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929516032001,"66":27321,"94":206,"83":40960,"24":51,"16":402029958475546624,"44":-2539678315269406720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-07 18:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929516032001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:51:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-07 18:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402029958475546624,"km_value":402029958475546.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2539678315269406720,"description":"Unknown IO ID 44"} 
[2026-09-07 18:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929516032001,"power":27321,"unknown_94":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2539678315269406720}} 
[2026-09-07 18:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":173720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:51:20] local.INFO: GPS data processed {"connection_id":173720,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:51:20] local.INFO: Acknowledgment sent {"connection_id":173720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:51:45] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:45] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:45] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:51:49] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:49] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:51:49] local.INFO: IMEI packet received {"connection_id":175058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":175058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:51:49] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c065950012cdca600072e5870000d00c12e..."} 
[2026-09-07 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c065950012cdca600072e5870000d00c12e..."} 
[2026-09-07 18:51:49] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c065950012cdca600072e5870000d00c12e..."} 
[2026-09-07 18:51:49] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:51:49] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c06"} 
[2026-09-07 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":752657920,"raw_latitude":120477808,"longitude_deg":75.265792,"latitude_deg":12.0477808,"altitude":13,"angle":193,"satellites":46,"speed":54,"hex_longitude":"2cdca600","hex_latitude":"072e5870","is_valid_coordinates":true} 
[2026-09-07 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929517824001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402030409447112704,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544252283643031552,"note":"Value kept but may cause issues"} 
[2026-09-07 18:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788787186000,"timestamp_ms":1788787186000,"timestamp_seconds":1788787186,"priority":1,"record_length":96,"hex_timestamp":"000001a07c065950"} 
[2026-09-07 18:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 18:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:51: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-07 18:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929517824001,"66":27267,"94":206,"83":40960,"24":54,"16":402030409447112704,"44":-2544252283643031552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,44]} 
[2026-09-07 18:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929517824001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:51:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-09-07 18:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402030409447112704,"km_value":402030409447112.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544252283643031552,"description":"Unknown IO ID 44"} 
[2026-09-07 18:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929517824001,"power":27267,"unknown_94":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2544252283643031552}} 
[2026-09-07 18:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:51:49] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:51:49] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:52:40] local.INFO: TCP Data received {"connection_id":175058,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c07c0b0012cdca040072cace8001800c92a..."} 
[2026-09-07 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c07c0b0012cdca040072cace8001800c92a..."} 
[2026-09-07 18:52:40] local.INFO: Processing buffer {"connection_id":175058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c07c0b0012cdca040072cace8001800c92a..."} 
[2026-09-07 18:52:40] local.INFO: Packet analysis {"connection_id":175058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c07"} 
[2026-09-07 18:52:40] local.INFO: Extracted packet for processing {"connection_id":175058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c07"} 
[2026-09-07 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":752656448,"raw_latitude":120368360,"longitude_deg":75.2656448,"latitude_deg":12.036836,"altitude":24,"angle":201,"satellites":42,"speed":41,"hex_longitude":"2cdca040","hex_latitude":"072cace8","is_valid_coordinates":true} 
[2026-09-07 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929542144001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402035752386428928,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2547700352136980480,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788787278000,"timestamp_ms":1788787278000,"timestamp_seconds":1788787278,"priority":1,"record_length":96,"hex_timestamp":"000001a07c07c0b0"} 
[2026-09-07 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-09-07 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929542144001,"66":26582,"28":206,"83":40960,"24":41,"16":402035752386428928,"44":-2547700352136980480},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929542144001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 18:52:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402035752386428928,"km_value":402035752386428.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2547700352136980480,"description":"Unknown IO ID 44"} 
[2026-09-07 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929542144001,"power":26582,"unknown_28":206,"unknown_83":40960,"ignition":41,"odometer":null,"unknown_44":-2547700352136980480}} 
[2026-09-07 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":175058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:52:40] local.INFO: GPS data processed {"connection_id":175058,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:52:40] local.INFO: Acknowledgment sent {"connection_id":175058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:52:44] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: IMEI packet received {"connection_id":173953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":173953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:52:44] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:44] local.INFO: IMEI packet received {"connection_id":173953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":173953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:52:49] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:49] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:52:49] local.INFO: IMEI packet received {"connection_id":173953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:52:50] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c07e3d8012cdc9380072c89d0001b00c628..."} 
[2026-09-07 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c07e3d8012cdc9380072c89d0001b00c628..."} 
[2026-09-07 18:52:50] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c07e3d8012cdc9380072c89d0001b00c628..."} 
[2026-09-07 18:52:50] local.INFO: Packet analysis {"connection_id":173953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c07"} 
[2026-09-07 18:52:50] local.INFO: Extracted packet for processing {"connection_id":173953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c07"} 
[2026-09-07 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":752653184,"raw_latitude":120359376,"longitude_deg":75.2653184,"latitude_deg":12.0359376,"altitude":27,"angle":198,"satellites":40,"speed":42,"hex_longitude":"2cdc9380","hex_latitude":"072c89d0","is_valid_coordinates":true} 
[2026-09-07 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929543168001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402036216242896896,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2548966989533222912,"note":"Value kept but may cause issues"} 
[2026-09-07 18:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787287000,"timestamp_ms":1788787287000,"timestamp_seconds":1788787287,"priority":1,"record_length":96,"hex_timestamp":"000001a07c07e3d8"} 
[2026-09-07 18:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-07 18:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:52:50] 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-07 18:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929543168001,"66":27332,"28":206,"83":40960,"24":42,"16":402036216242896896,"44":-2548966989533222912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 18:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929543168001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 18:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402036216242896896,"km_value":402036216242896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2548966989533222912,"description":"Unknown IO ID 44"} 
[2026-09-07 18:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929543168001,"power":27332,"unknown_28":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2548966989533222912}} 
[2026-09-07 18:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":173953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:52:50] local.INFO: GPS data processed {"connection_id":173953,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:52:50] local.INFO: Acknowledgment sent {"connection_id":173953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:53:21] local.INFO: TCP Data received {"connection_id":173953,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c080700012cdc88c0072c6878002000c32a..."} 
[2026-09-07 18:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c080700012cdc88c0072c6878002000c32a..."} 
[2026-09-07 18:53:21] local.INFO: Processing buffer {"connection_id":173953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c080700012cdc88c0072c6878002000c32a..."} 
[2026-09-07 18:53:21] local.INFO: Packet analysis {"connection_id":173953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c08"} 
[2026-09-07 18:53:21] local.INFO: Extracted packet for processing {"connection_id":173953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c08"} 
[2026-09-07 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":752650432,"raw_latitude":120350840,"longitude_deg":75.2650432,"latitude_deg":12.035084,"altitude":32,"angle":195,"satellites":42,"speed":35,"hex_longitude":"2cdc88c0","hex_latitude":"072c6878","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929545472001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402036650034593792,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2552555795488583680,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787296000,"timestamp_ms":1788787296000,"timestamp_seconds":1788787296,"priority":1,"record_length":96,"hex_timestamp":"000001a07c080700"} 
[2026-09-07 18: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-07 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 18:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:53: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-07 18:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929545472001,"66":27267,"28":206,"83":40960,"24":35,"16":402036650034593792,"44":-2552555795488583680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 18:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929545472001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 18:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402036650034593792,"km_value":402036650034593.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2552555795488583680,"description":"Unknown IO ID 44"} 
[2026-09-07 18:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929545472001,"power":27267,"unknown_28":206,"unknown_83":40960,"ignition":35,"odometer":null,"unknown_44":-2552555795488583680}} 
[2026-09-07 18:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":173953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:53:21] local.INFO: GPS data processed {"connection_id":173953,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:53:21] local.INFO: Acknowledgment sent {"connection_id":173953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:53:44] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:44] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:44] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:53:49] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:49] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:53:49] local.INFO: IMEI packet received {"connection_id":175060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:53:50] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c091870012cdcb2c0072bb648001100bf29..."} 
[2026-09-07 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c091870012cdcb2c0072bb648001100bf29..."} 
[2026-09-07 18:53:50] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c091870012cdcb2c0072bb648001100bf29..."} 
[2026-09-07 18:53:50] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:53:50] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:53:50] local.INFO: GPS Element Parsed {"raw_longitude":752661184,"raw_latitude":120305224,"longitude_deg":75.2661184,"latitude_deg":12.0305224,"altitude":17,"angle":191,"satellites":41,"speed":21,"hex_longitude":"2cdcb2c0","hex_latitude":"072bb648","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929564928001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402039068101181440,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543759702479872000,"note":"Value kept but may cause issues"} 
[2026-09-07 18:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787366000,"timestamp_ms":1788787366000,"timestamp_seconds":1788787366,"priority":1,"record_length":96,"hex_timestamp":"000001a07c091870"} 
[2026-09-07 18: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-07 18:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 18:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:53:50] 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-07 18:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929564928001,"66":27365,"225":206,"83":40960,"24":21,"16":402039068101181440,"44":-2543759702479872000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929564928001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:53:50] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402039068101181440,"km_value":402039068101181.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543759702479872000,"description":"Unknown IO ID 44"} 
[2026-09-07 18:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929564928001,"power":27365,"unknown_225":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2543759702479872000}} 
[2026-09-07 18:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:53:50] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:53:50] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:54:21] local.INFO: TCP Data received {"connection_id":175060,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c092810012cdcb140072bad00001100b32a..."} 
[2026-09-07 18:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c092810012cdcb140072bad00001100b32a..."} 
[2026-09-07 18:54:21] local.INFO: Processing buffer {"connection_id":175060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c092810012cdcb140072bad00001100b32a..."} 
[2026-09-07 18:54:21] local.INFO: Packet analysis {"connection_id":175060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:21] local.INFO: Extracted packet for processing {"connection_id":175060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:21] local.INFO: GPS Element Parsed {"raw_longitude":752660800,"raw_latitude":120302848,"longitude_deg":75.26608,"latitude_deg":12.0302848,"altitude":17,"angle":179,"satellites":42,"speed":23,"hex_longitude":"2cdcb140","hex_latitude":"072bad00","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929565696001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402039184065298432,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2543759702480238592,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787370000,"timestamp_ms":1788787370000,"timestamp_seconds":1788787370,"priority":1,"record_length":96,"hex_timestamp":"000001a07c092810"} 
[2026-09-07 18: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-07 18:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 18:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54: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-07 18:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929565696001,"66":27310,"225":206,"83":40960,"24":23,"16":402039184065298432,"44":-2543759702480238592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929565696001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:54:21] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402039184065298432,"km_value":402039184065298.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2543759702480238592,"description":"Unknown IO ID 44"} 
[2026-09-07 18:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929565696001,"power":27310,"unknown_225":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2543759702480238592}} 
[2026-09-07 18:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":175060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:54:21] local.INFO: GPS data processed {"connection_id":175060,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:54:21] local.INFO: Acknowledgment sent {"connection_id":175060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:54:27] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:27] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:27] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:54:32] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:32] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:54:32] local.INFO: IMEI packet received {"connection_id":176471,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":176471,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:54:33] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0a0e88012d7a9e4005cbf3a80000009823..."} 
[2026-09-07 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0a0e88012d7a9e4005cbf3a80000009823..."} 
[2026-09-07 18:54:33] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0a0e88012d7a9e4005cbf3a80000009823..."} 
[2026-09-07 18:54:33] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:54:33] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":97252264,"longitude_deg":76.3010624,"latitude_deg":9.7252264,"altitude":0,"angle":152,"satellites":35,"speed":5,"hex_longitude":"2d7a9e40","hex_latitude":"05cbf3a8","is_valid_coordinates":true} 
[2026-09-07 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929581312001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129547024080044032,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835218068867440640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787429000,"timestamp_ms":1788787429000,"timestamp_seconds":1788787429,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0a0e88"} 
[2026-09-07 18:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 18:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929581312001,"66":12341,"91":206,"85":15104,"24":5,"16":129547024080044032,"45":8835218068867440640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929581312001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:54:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:54:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129547024080044032,"km_value":129547024080044.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835218068867440640,"description":"Unknown IO ID 45"} 
[2026-09-07 18:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929581312001,"power":12341,"unknown_91":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8835218068867440640}} 
[2026-09-07 18:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:54:33] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:54:33] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:54:49] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:49] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:49] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:54:54] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:54] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:54:54] local.INFO: IMEI packet received {"connection_id":173954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":173954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:54:55] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c094f20012cdcaf80072b9730001100bf2d..."} 
[2026-09-07 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c094f20012cdcaf80072b9730001100bf2d..."} 
[2026-09-07 18:54:55] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c094f20012cdcaf80072b9730001100bf2d..."} 
[2026-09-07 18:54:55] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:55] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":752660352,"raw_latitude":120297264,"longitude_deg":75.2660352,"latitude_deg":12.0297264,"altitude":17,"angle":191,"satellites":45,"speed":20,"hex_longitude":"2cdcaf80","hex_latitude":"072b9730","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929566720001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402039458943205376,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544181914945912832,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788787380000,"timestamp_ms":1788787380000,"timestamp_seconds":1788787380,"priority":1,"record_length":96,"hex_timestamp":"000001a07c094f20"} 
[2026-09-07 18: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-07 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 18:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54:55] 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-07 18:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929566720001,"66":27539,"225":206,"83":40960,"24":20,"16":402039458943205376,"44":-2544181914945912832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929566720001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:54:55] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402039458943205376,"km_value":402039458943205.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544181914945912832,"description":"Unknown IO ID 44"} 
[2026-09-07 18:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929566720001,"power":27539,"unknown_225":206,"unknown_83":40960,"ignition":20,"odometer":null,"unknown_44":-2544181914945912832}} 
[2026-09-07 18:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:54:55] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:54:55] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:54:58] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0981e8012cdcaa80072b7310000c00b62b..."} 
[2026-09-07 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0981e8012cdcaa80072b7310000c00b62b..."} 
[2026-09-07 18:54:58] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0981e8012cdcaa80072b7310000c00b62b..."} 
[2026-09-07 18:54:58] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:58] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":752659072,"raw_latitude":120288016,"longitude_deg":75.2659072,"latitude_deg":12.0288016,"altitude":12,"angle":182,"satellites":43,"speed":33,"hex_longitude":"2cdcaa80","hex_latitude":"072b7310","is_valid_coordinates":true} 
[2026-09-07 18:54: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-07 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929569280001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402039909914771456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2544674496156585984,"note":"Value kept but may cause issues"} 
[2026-09-07 18:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788787393000,"timestamp_ms":1788787393000,"timestamp_seconds":1788787393,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0981e8"} 
[2026-09-07 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-07 18:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:54:58] 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-07 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929569280001,"66":27267,"225":206,"83":40960,"24":33,"16":402039909914771456,"44":-2544674496156585984},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929569280001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402039909914771456,"km_value":402039909914771.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2544674496156585984,"description":"Unknown IO ID 44"} 
[2026-09-07 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929569280001,"power":27267,"unknown_225":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2544674496156585984}} 
[2026-09-07 18:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:54:58] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:54:58] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:55:04] local.INFO: TCP Data received {"connection_id":176471,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0a1a40012d7a9f4005cbf1f0000000a324..."} 
[2026-09-07 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0a1a40012d7a9f4005cbf1f0000000a324..."} 
[2026-09-07 18:55:04] local.INFO: Processing buffer {"connection_id":176471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0a1a40012d7a9f4005cbf1f0000000a324..."} 
[2026-09-07 18:55:04] local.INFO: Packet analysis {"connection_id":176471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:04] local.INFO: Extracted packet for processing {"connection_id":176471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":97251824,"longitude_deg":76.301088,"latitude_deg":9.7251824,"altitude":0,"angle":163,"satellites":36,"speed":6,"hex_longitude":"2d7a9f40","hex_latitude":"05cbf1f0","is_valid_coordinates":true} 
[2026-09-07 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929581824001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129547045554880512,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912588249088,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787432000,"timestamp_ms":1788787432000,"timestamp_seconds":1788787432,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0a1a40"} 
[2026-09-07 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:55: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-07 18:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 18:55:04] 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-07 18:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176471,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929581824001,"66":12624,"91":206,"85":15104,"24":6,"16":129547045554880512,"45":8835569912588249088},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929581824001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:55:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129547045554880512,"km_value":129547045554880.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912588249088,"description":"Unknown IO ID 45"} 
[2026-09-07 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929581824001,"power":12624,"unknown_91":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8835569912588249088}} 
[2026-09-07 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":176471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:55:04] local.INFO: GPS data processed {"connection_id":176471,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:55:04] local.INFO: Acknowledgment sent {"connection_id":176471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:55:27] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:27] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:27] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:55:29] local.INFO: TCP Data received {"connection_id":173954,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c09ace0012cdca980072b4f10000600b32c..."} 
[2026-09-07 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c09ace0012cdca980072b4f10000600b32c..."} 
[2026-09-07 18:55:29] local.INFO: Processing buffer {"connection_id":173954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c09ace0012cdca980072b4f10000600b32c..."} 
[2026-09-07 18:55:29] local.INFO: Packet analysis {"connection_id":173954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:55:29] local.INFO: Extracted packet for processing {"connection_id":173954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":752658816,"raw_latitude":120278800,"longitude_deg":75.2658816,"latitude_deg":12.02788,"altitude":6,"angle":179,"satellites":44,"speed":33,"hex_longitude":"2cdca980","hex_latitude":"072b4f10","is_valid_coordinates":true} 
[2026-09-07 18:55: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-07 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929572608001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402040356591370240,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546081871042506752,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788787404000,"timestamp_ms":1788787404000,"timestamp_seconds":1788787404,"priority":1,"record_length":96,"hex_timestamp":"000001a07c09ace0"} 
[2026-09-07 18:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:55: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 18:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:55: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-07 18:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:55:29] 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-07 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929572608001,"66":27397,"225":206,"83":40960,"24":33,"16":402040356591370240,"44":-2546081871042506752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929572608001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:55:29] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:55:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402040356591370240,"km_value":402040356591370.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546081871042506752,"description":"Unknown IO ID 44"} 
[2026-09-07 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929572608001,"power":27397,"unknown_225":206,"unknown_83":40960,"ignition":33,"odometer":null,"unknown_44":-2546081871042506752}} 
[2026-09-07 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":173954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:55:29] local.INFO: GPS data processed {"connection_id":173954,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:55:29] local.INFO: Acknowledgment sent {"connection_id":173954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:55:32] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:32] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:32] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:55:33] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:33] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:55:33] local.INFO: IMEI packet received {"connection_id":173724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":173724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:55:33] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0a25f8012d7a9f8005cbeeb0000000b023..."} 
[2026-09-07 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0a25f8012d7a9f8005cbeeb0000000b023..."} 
[2026-09-07 18:55:33] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0a25f8012d7a9f8005cbeeb0000000b023..."} 
[2026-09-07 18:55:33] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:33] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":97250992,"longitude_deg":76.3010944,"latitude_deg":9.7250992,"altitude":0,"angle":176,"satellites":35,"speed":14,"hex_longitude":"2d7a9f80","hex_latitude":"05cbeeb0","is_valid_coordinates":true} 
[2026-09-07 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929582592001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129547088504553472,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387564847104,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787435000,"timestamp_ms":1788787435000,"timestamp_seconds":1788787435,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0a25f8"} 
[2026-09-07 18:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 18:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929582592001,"66":12374,"91":206,"85":15104,"24":14,"16":129547088504553472,"45":8835851387564847104},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929582592001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:55:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129547088504553472,"km_value":129547088504553.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387564847104,"description":"Unknown IO ID 45"} 
[2026-09-07 18:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929582592001,"power":12374,"unknown_91":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8835851387564847104}} 
[2026-09-07 18:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:55:33] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:55:33] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:55:38] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0a7418012d7aa10005cbdb10000300b023..."} 
[2026-09-07 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0a7418012d7aa10005cbdb10000300b023..."} 
[2026-09-07 18:55:38] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0a7418012d7aa10005cbdb10000300b023..."} 
[2026-09-07 18:55:38] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:38] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763011328,"raw_latitude":97245968,"longitude_deg":76.3011328,"latitude_deg":9.7245968,"altitude":3,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d7aa100","hex_latitude":"05cbdb10","is_valid_coordinates":true} 
[2026-09-07 18:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929583360001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129547337612656640,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756308811776,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788787455000,"timestamp_ms":1788787455000,"timestamp_seconds":1788787455,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0a7418"} 
[2026-09-07 18:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:55: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-07 18:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 18:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929583360001,"66":12004,"91":206,"85":15104,"24":0,"16":129547337612656640,"45":8835921756308811776},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929583360001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129547337612656640,"km_value":129547337612656.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756308811776,"description":"Unknown IO ID 45"} 
[2026-09-07 18:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929583360001,"power":12004,"unknown_91":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835921756308811776}} 
[2026-09-07 18:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:55:38] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:55:38] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:55:40] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:40] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:40] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:55:44] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:44] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:44] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:55:59] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:59] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:55:59] local.INFO: IMEI packet received {"connection_id":175061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":175061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:55:59] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c09c450012cdcaa80072b3ef8000500a729..."} 
[2026-09-07 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c09c450012cdcaa80072b3ef8000500a729..."} 
[2026-09-07 18:55:59] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c09c450012cdcaa80072b3ef8000500a729..."} 
[2026-09-07 18:55:59] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:55:59] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":752659072,"raw_latitude":120274680,"longitude_deg":75.2659072,"latitude_deg":12.027468,"altitude":5,"angle":167,"satellites":41,"speed":22,"hex_longitude":"2cdcaa80","hex_latitude":"072b3ef8","is_valid_coordinates":true} 
[2026-09-07 18:55: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-07 18:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929575424001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402040558454833152,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546363346021576704,"note":"Value kept but may cause issues"} 
[2026-09-07 18:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788787410000,"timestamp_ms":1788787410000,"timestamp_seconds":1788787410,"priority":1,"record_length":96,"hex_timestamp":"000001a07c09c450"} 
[2026-09-07 18:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 18:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:55: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-07 18:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:55:59] 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-07 18:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929575424001,"66":27321,"225":206,"83":40960,"24":22,"16":402040558454833152,"44":-2546363346021576704},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929575424001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:55:59] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402040558454833152,"km_value":402040558454833.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546363346021576704,"description":"Unknown IO ID 44"} 
[2026-09-07 18:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929575424001,"power":27321,"unknown_225":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-2546363346021576704}} 
[2026-09-07 18:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:55:59] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:55:59] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:56:00] local.INFO: TCP Data received {"connection_id":175061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c09ef48012cdcaf40072b2bd0000600982a..."} 
[2026-09-07 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c09ef48012cdcaf40072b2bd0000600982a..."} 
[2026-09-07 18:56:00] local.INFO: Processing buffer {"connection_id":175061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c09ef48012cdcaf40072b2bd0000600982a..."} 
[2026-09-07 18:56:00] local.INFO: Packet analysis {"connection_id":175061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:56:00] local.INFO: Extracted packet for processing {"connection_id":175061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c09"} 
[2026-09-07 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":752660288,"raw_latitude":120269776,"longitude_deg":75.2660288,"latitude_deg":12.0269776,"altitude":6,"angle":152,"satellites":42,"speed":14,"hex_longitude":"2cdcaf40","hex_latitude":"072b2bd0","is_valid_coordinates":true} 
[2026-09-07 18:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929576960001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402040803267969024,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2546081871045920768,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788787421000,"timestamp_ms":1788787421000,"timestamp_seconds":1788787421,"priority":1,"record_length":96,"hex_timestamp":"000001a07c09ef48"} 
[2026-09-07 18:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 18:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 18:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:56:00] 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-07 18:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929576960001,"66":27310,"225":206,"83":40960,"24":14,"16":402040803267969024,"44":-2546081871045920768},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-09-07 18:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929576960001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:56:00] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-09-07 18:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402040803267969024,"km_value":402040803267969.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2546081871045920768,"description":"Unknown IO ID 44"} 
[2026-09-07 18:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929576960001,"power":27310,"unknown_225":206,"unknown_83":40960,"ignition":14,"odometer":null,"unknown_44":-2546081871045920768}} 
[2026-09-07 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":175061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:56:00] local.INFO: GPS data processed {"connection_id":175061,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:56:00] local.INFO: Acknowledgment sent {"connection_id":175061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:56:10] local.INFO: TCP Data received {"connection_id":173724,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0ac620012d7aa00005cbc150000200b128..."} 
[2026-09-07 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0ac620012d7aa00005cbc150000200b128..."} 
[2026-09-07 18:56:10] local.INFO: Processing buffer {"connection_id":173724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0ac620012d7aa00005cbc150000200b128..."} 
[2026-09-07 18:56:10] local.INFO: Packet analysis {"connection_id":173724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:56:10] local.INFO: Extracted packet for processing {"connection_id":173724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0a"} 
[2026-09-07 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":97239376,"longitude_deg":76.3011072,"latitude_deg":9.7239376,"altitude":2,"angle":177,"satellites":40,"speed":16,"hex_longitude":"2d7aa000","hex_latitude":"05cbc150","is_valid_coordinates":true} 
[2026-09-07 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929588480001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129547659735203840,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836343968772591616,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788787476000,"timestamp_ms":1788787476000,"timestamp_seconds":1788787476,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0ac620"} 
[2026-09-07 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929588480001,"66":12428,"91":206,"85":15104,"24":16,"16":129547659735203840,"45":8836343968772591616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929588480001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:56:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129547659735203840,"km_value":129547659735203.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836343968772591616,"description":"Unknown IO ID 45"} 
[2026-09-07 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929588480001,"power":12428,"unknown_91":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8836343968772591616}} 
[2026-09-07 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":173724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:56:10] local.INFO: GPS data processed {"connection_id":173724,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:56:10] local.INFO: Acknowledgment sent {"connection_id":173724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:56:11] local.INFO: TCP Data received {"connection_id":175062,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:56:11] local.INFO: Processing buffer {"connection_id":175062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 18:56:11] local.INFO: IMEI packet received {"connection_id":175062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 18:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":175062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:56:27] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:27] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:27] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:56:32] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:32] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:56:32] local.INFO: IMEI packet received {"connection_id":175063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":175063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:56:33] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c6048012d7ab58005caddf00001008727..."} 
[2026-09-07 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c6048012d7ab58005caddf00001008727..."} 
[2026-09-07 18:56:33] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c6048012d7ab58005caddf00001008727..."} 
[2026-09-07 18:56:33] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:56:33] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763016576,"raw_latitude":97181168,"longitude_deg":76.3016576,"latitude_deg":9.7181168,"altitude":1,"angle":135,"satellites":39,"speed":7,"hex_longitude":"2d7ab580","hex_latitude":"05caddf0","is_valid_coordinates":true} 
[2026-09-07 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929620480001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129550520183422976,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842043837034432512,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787581000,"timestamp_ms":1788787581000,"timestamp_seconds":1788787581,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c6048"} 
[2026-09-07 18:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 18:56:33] 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-07 18:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929620480001,"66":11852,"91":206,"85":15104,"24":7,"16":129550520183422976,"45":8842043837034432512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929620480001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:56:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129550520183422976,"km_value":129550520183422.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842043837034432512,"description":"Unknown IO ID 45"} 
[2026-09-07 18:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929620480001,"power":11852,"unknown_91":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8842043837034432512}} 
[2026-09-07 18:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:56:33] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:56:33] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:56:42] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:42] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:42] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:56:44] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:56:44] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:44] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:56:50] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:50] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:56:50] local.INFO: IMEI packet received {"connection_id":176472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":176472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:56:51] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0bc020012cdd5940072a4560000f00822e..."} 
[2026-09-07 18:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0bc020012cdd5940072a4560000f00822e..."} 
[2026-09-07 18:56:51] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0bc020012cdd5940072a4560000f00822e..."} 
[2026-09-07 18:56:51] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0b"} 
[2026-09-07 18:56:51] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0b"} 
[2026-09-07 18:56:51] local.INFO: GPS Element Parsed {"raw_longitude":752703808,"raw_latitude":120210784,"longitude_deg":75.2703808,"latitude_deg":12.0210784,"altitude":15,"angle":130,"satellites":46,"speed":23,"hex_longitude":"2cdd5940","hex_latitude":"072a4560","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929606656001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402044492644876288,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2504916155716755456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788787540000,"timestamp_ms":1788787540000,"timestamp_seconds":1788787540,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0bc020"} 
[2026-09-07 18: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-07 18:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 18:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:56: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-07 18:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929606656001,"66":27300,"59":206,"83":40960,"24":23,"16":402044492644876288,"44":-2504916155716755456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-07 18:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929606656001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:56:51] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 18:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402044492644876288,"km_value":402044492644876.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2504916155716755456,"description":"Unknown IO ID 44"} 
[2026-09-07 18:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929606656001,"power":27300,"unknown_59":206,"unknown_83":40960,"ignition":23,"odometer":null,"unknown_44":-2504916155716755456}} 
[2026-09-07 18:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:56:51] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:56:51] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:57:04] local.INFO: TCP Data received {"connection_id":175063,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c6430012d7ab64005cadd580001007b28..."} 
[2026-09-07 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c6430012d7ab64005cadd580001007b28..."} 
[2026-09-07 18:57:04] local.INFO: Processing buffer {"connection_id":175063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c6430012d7ab64005cadd580001007b28..."} 
[2026-09-07 18:57:04] local.INFO: Packet analysis {"connection_id":175063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:04] local.INFO: Extracted packet for processing {"connection_id":175063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":763016768,"raw_latitude":97181016,"longitude_deg":76.3016768,"latitude_deg":9.7181016,"altitude":1,"angle":123,"satellites":40,"speed":9,"hex_longitude":"2d7ab640","hex_latitude":"05cadd58","is_valid_coordinates":true} 
[2026-09-07 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929620736001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129550528773357568,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842114205778571264,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787582000,"timestamp_ms":1788787582000,"timestamp_seconds":1788787582,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c6430"} 
[2026-09-07 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 18:57:04] 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-07 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929620736001,"66":11547,"91":206,"85":15104,"24":9,"16":129550528773357568,"45":8842114205778571264},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929620736001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129550528773357568,"km_value":129550528773357.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842114205778571264,"description":"Unknown IO ID 45"} 
[2026-09-07 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929620736001,"power":11547,"unknown_91":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8842114205778571264}} 
[2026-09-07 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":175063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:57:04] local.INFO: GPS data processed {"connection_id":175063,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:57:04] local.INFO: Acknowledgment sent {"connection_id":175063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:57:21] local.INFO: TCP Data received {"connection_id":176472,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0bf2e8012cdd6f40072a34800010008d2e..."} 
[2026-09-07 18:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0bf2e8012cdd6f40072a34800010008d2e..."} 
[2026-09-07 18:57:21] local.INFO: Processing buffer {"connection_id":176472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0bf2e8012cdd6f40072a34800010008d2e..."} 
[2026-09-07 18:57:21] local.INFO: Packet analysis {"connection_id":176472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0b"} 
[2026-09-07 18:57:21] local.INFO: Extracted packet for processing {"connection_id":176472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0b"} 
[2026-09-07 18:57:21] local.INFO: GPS Element Parsed {"raw_longitude":752709440,"raw_latitude":120206464,"longitude_deg":75.270944,"latitude_deg":12.0206464,"altitude":16,"angle":141,"satellites":46,"speed":21,"hex_longitude":"2cdd6f40","hex_latitude":"072a3480","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929610240001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402044831947292672,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2496894118882091008,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787553000,"timestamp_ms":1788787553000,"timestamp_seconds":1788787553,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0bf2e8"} 
[2026-09-07 18: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-07 18:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 18:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:57: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-07 18:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929610240001,"66":27234,"59":206,"83":40960,"24":21,"16":402044831947292672,"44":-2496894118882091008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-07 18:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929610240001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:57:21] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 18:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402044831947292672,"km_value":402044831947292.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2496894118882091008,"description":"Unknown IO ID 44"} 
[2026-09-07 18:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929610240001,"power":27234,"unknown_59":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2496894118882091008}} 
[2026-09-07 18:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":176472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:57:21] local.INFO: GPS data processed {"connection_id":176472,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:57:21] local.INFO: Acknowledgment sent {"connection_id":176472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:57:27] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:27] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:27] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:57:32] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:32] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:57:32] local.INFO: IMEI packet received {"connection_id":176473,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":176473,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:57:33] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c6818012d7ab70005cadd080001006627..."} 
[2026-09-07 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c6818012d7ab70005cadd080001006627..."} 
[2026-09-07 18:57:33] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c6818012d7ab70005cadd080001006627..."} 
[2026-09-07 18:57:33] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:33] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:33] local.INFO: GPS Element Parsed {"raw_longitude":763016960,"raw_latitude":97180936,"longitude_deg":76.301696,"latitude_deg":9.7180936,"altitude":1,"angle":102,"satellites":39,"speed":9,"hex_longitude":"2d7ab700","hex_latitude":"05cadd08","is_valid_coordinates":true} 
[2026-09-07 18:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929620992001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129550541658259456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842325312011065344,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787583000,"timestamp_ms":1788787583000,"timestamp_seconds":1788787583,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c6818"} 
[2026-09-07 18:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 18:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929620992001,"66":11547,"91":206,"85":15104,"24":9,"16":129550541658259456,"45":8842325312011065344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929620992001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:57:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129550541658259456,"km_value":129550541658259.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842325312011065344,"description":"Unknown IO ID 45"} 
[2026-09-07 18:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929620992001,"power":11547,"unknown_91":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8842325312011065344}} 
[2026-09-07 18:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:57:33] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:57:33] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:57:44] local.INFO: TCP Data received {"connection_id":176474,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:44] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:44] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:57:49] local.INFO: TCP Data received {"connection_id":176474,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:49] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:57:49] local.INFO: IMEI packet received {"connection_id":176474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":176474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:57:50] local.INFO: TCP Data received {"connection_id":176474,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c1de0012cdd7e80072a22c8001100802e..."} 
[2026-09-07 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c1de0012cdd7e80072a22c8001100802e..."} 
[2026-09-07 18:57:50] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c1de0012cdd7e80072a22c8001100802e..."} 
[2026-09-07 18:57:50] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:50] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":752713344,"raw_latitude":120201928,"longitude_deg":75.2713344,"latitude_deg":12.0201928,"altitude":17,"angle":128,"satellites":46,"speed":21,"hex_longitude":"2cdd7e80","hex_latitude":"072a22c8","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929613568001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402045119710101504,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2490701669395562496,"note":"Value kept but may cause issues"} 
[2026-09-07 18:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787564000,"timestamp_ms":1788787564000,"timestamp_seconds":1788787564,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c1de0"} 
[2026-09-07 18: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-07 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 18:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:57:50] 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-07 18:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929613568001,"66":27223,"59":206,"83":40960,"24":21,"16":402045119710101504,"44":-2490701669395562496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-07 18:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929613568001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:57:50] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 18:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402045119710101504,"km_value":402045119710101.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2490701669395562496,"description":"Unknown IO ID 44"} 
[2026-09-07 18:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929613568001,"power":27223,"unknown_59":206,"unknown_83":40960,"ignition":21,"odometer":null,"unknown_44":-2490701669395562496}} 
[2026-09-07 18:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:57:50] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:57:50] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:58:04] local.INFO: TCP Data received {"connection_id":176473,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c6c00012d7ab84005cadcf80000005a26..."} 
[2026-09-07 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c6c00012d7ab84005cadcf80000005a26..."} 
[2026-09-07 18:58:04] local.INFO: Processing buffer {"connection_id":176473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c6c00012d7ab84005cadcf80000005a26..."} 
[2026-09-07 18:58:04] local.INFO: Packet analysis {"connection_id":176473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:04] local.INFO: Extracted packet for processing {"connection_id":176473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":763017280,"raw_latitude":97180920,"longitude_deg":76.301728,"latitude_deg":9.718092,"altitude":0,"angle":90,"satellites":38,"speed":11,"hex_longitude":"2d7ab840","hex_latitude":"05cadcf8","is_valid_coordinates":true} 
[2026-09-07 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929621248001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129550554543161344,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842536418243577856,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787584000,"timestamp_ms":1788787584000,"timestamp_seconds":1788787584,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c6c00"} 
[2026-09-07 18:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 18:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176473,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929621248001,"66":12069,"91":206,"85":15104,"24":11,"16":129550554543161344,"45":8842536418243577856},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929621248001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129550554543161344,"km_value":129550554543161.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842536418243577856,"description":"Unknown IO ID 45"} 
[2026-09-07 18:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929621248001,"power":12069,"unknown_91":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8842536418243577856}} 
[2026-09-07 18:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":176473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:58:04] local.INFO: GPS data processed {"connection_id":176473,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:58:04] local.INFO: Acknowledgment sent {"connection_id":176473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:58:21] local.INFO: TCP Data received {"connection_id":176474,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c25b0012cdd8200072a2098001100742e..."} 
[2026-09-07 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c25b0012cdd8200072a2098001100742e..."} 
[2026-09-07 18:58:21] local.INFO: Processing buffer {"connection_id":176474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c25b0012cdd8200072a2098001100742e..."} 
[2026-09-07 18:58:21] local.INFO: Packet analysis {"connection_id":176474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:21] local.INFO: Extracted packet for processing {"connection_id":176474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":752714240,"raw_latitude":120201368,"longitude_deg":75.271424,"latitude_deg":12.0201368,"altitude":17,"angle":116,"satellites":46,"speed":22,"hex_longitude":"2cdd8200","hex_latitude":"072a2098","is_valid_coordinates":true} 
[2026-09-07 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929616384001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402045171249709056,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2486409176001886208,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787566000,"timestamp_ms":1788787566000,"timestamp_seconds":1788787566,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c25b0"} 
[2026-09-07 18:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-07 18:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:58: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-07 18:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929616384001,"66":27343,"59":206,"83":40960,"24":22,"16":402045171249709056,"44":-2486409176001886208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-07 18:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929616384001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:58:21] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 18:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402045171249709056,"km_value":402045171249709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2486409176001886208,"description":"Unknown IO ID 44"} 
[2026-09-07 18:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929616384001,"power":27343,"unknown_59":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-2486409176001886208}} 
[2026-09-07 18:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":176474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:58:21] local.INFO: GPS data processed {"connection_id":176474,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:58:21] local.INFO: Acknowledgment sent {"connection_id":176474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:58:28] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:28] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:28] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:58:32] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:32] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:32] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:58:37] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:37] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:58:37] local.INFO: IMEI packet received {"connection_id":173956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":173956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:58:38] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c9310012d7ac98005cadbf80000006a25..."} 
[2026-09-07 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c9310012d7ac98005cadbf80000006a25..."} 
[2026-09-07 18:58:38] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c9310012d7ac98005cadbf80000006a25..."} 
[2026-09-07 18:58:38] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:38] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":97180664,"longitude_deg":76.3021696,"latitude_deg":9.7180664,"altitude":0,"angle":106,"satellites":37,"speed":17,"hex_longitude":"2d7ac980","hex_latitude":"05cadbf8","is_valid_coordinates":true} 
[2026-09-07 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929621504001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129550769291526144,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842888261964462080,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788787594000,"timestamp_ms":1788787594000,"timestamp_seconds":1788787594,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c9310"} 
[2026-09-07 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 18:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929621504001,"66":12156,"91":206,"85":15104,"24":17,"16":129550769291526144,"45":8842888261964462080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929621504001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:58:38] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 18:58:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129550769291526144,"km_value":129550769291526.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842888261964462080,"description":"Unknown IO ID 45"} 
[2026-09-07 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929621504001,"power":12156,"unknown_91":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8842888261964462080}} 
[2026-09-07 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:58:38] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:58:38] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:58:45] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:45] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:45] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:58:48] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:48] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:58:48] local.INFO: IMEI packet received {"connection_id":176476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":176476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:58:50] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0c3550012cdd8980072a1bd0001000822e..."} 
[2026-09-07 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0c3550012cdd8980072a1bd0001000822e..."} 
[2026-09-07 18:58:50] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0c3550012cdd8980072a1bd0001000822e..."} 
[2026-09-07 18:58:50] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:50] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0c"} 
[2026-09-07 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":752716160,"raw_latitude":120200144,"longitude_deg":75.271616,"latitude_deg":12.0200144,"altitude":16,"angle":130,"satellites":46,"speed":22,"hex_longitude":"2cdd8980","hex_latitude":"072a1bd0","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929616896001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402045278623891456,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2485424013583542272,"note":"Value kept but may cause issues"} 
[2026-09-07 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787570000,"timestamp_ms":1788787570000,"timestamp_seconds":1788787570,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0c3550"} 
[2026-09-07 18: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-07 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 18:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18: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-07 18: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-07 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:58:50] 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-07 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929616896001,"66":27365,"59":206,"83":40960,"24":22,"16":402045278623891456,"44":-2485424013583542272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,83,24,16,44]} 
[2026-09-07 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929616896001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:58:50] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-09-07 18:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402045278623891456,"km_value":402045278623891.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2485424013583542272,"description":"Unknown IO ID 44"} 
[2026-09-07 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929616896001,"power":27365,"unknown_59":206,"unknown_83":40960,"ignition":22,"odometer":null,"unknown_44":-2485424013583542272}} 
[2026-09-07 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:58:50] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:58:50] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:59:09] local.INFO: TCP Data received {"connection_id":173956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0eb208012d7bc80005cad1680004007e24..."} 
[2026-09-07 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0eb208012d7bc80005cad1680004007e24..."} 
[2026-09-07 18:59:09] local.INFO: Processing buffer {"connection_id":173956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0eb208012d7bc80005cad1680004007e24..."} 
[2026-09-07 18:59:09] local.INFO: Packet analysis {"connection_id":173956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:09] local.INFO: Extracted packet for processing {"connection_id":173956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":97177960,"longitude_deg":76.3086848,"latitude_deg":9.717796,"altitude":4,"angle":126,"satellites":36,"speed":22,"hex_longitude":"2d7bc800","hex_latitude":"05cad168","is_valid_coordinates":true} 
[2026-09-07 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929656576001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554020581769216,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916001387165292544,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788787733000,"timestamp_ms":1788787733000,"timestamp_seconds":1788787733,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0eb208"} 
[2026-09-07 18:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 18:59:09] 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-07 18:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929656576001,"66":12211,"161":206,"85":15104,"24":22,"16":129554020581769216,"45":8916001387165292544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929656576001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:59:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554020581769216,"km_value":129554020581769.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916001387165292544,"description":"Unknown IO ID 45"} 
[2026-09-07 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929656576001,"power":12211,"unknown_161":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8916001387165292544}} 
[2026-09-07 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":173956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:59:09] local.INFO: GPS data processed {"connection_id":173956,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:59:09] local.INFO: Acknowledgment sent {"connection_id":173956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:59:21] local.INFO: TCP Data received {"connection_id":176476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0e67d0012cdec0c00728b7e8000700842d..."} 
[2026-09-07 18:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0e67d0012cdec0c00728b7e8000700842d..."} 
[2026-09-07 18:59:21] local.INFO: Processing buffer {"connection_id":176476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0e67d0012cdec0c00728b7e8000700842d..."} 
[2026-09-07 18:59:21] local.INFO: Packet analysis {"connection_id":176476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:21] local.INFO: Extracted packet for processing {"connection_id":176476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":752795840,"raw_latitude":120109032,"longitude_deg":75.279584,"latitude_deg":12.0109032,"altitude":7,"angle":132,"satellites":45,"speed":58,"hex_longitude":"2cdec0c0","hex_latitude":"0728b7e8","is_valid_coordinates":true} 
[2026-09-07 18:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929652992001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402051102599544832,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2403303689150083072,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787714000,"timestamp_ms":1788787714000,"timestamp_seconds":1788787714,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0e67d0"} 
[2026-09-07 18:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 18:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:59: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-07 18:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929652992001,"66":27397,"54":206,"83":40960,"24":58,"16":402051102599544832,"44":-2403303689150083072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-07 18:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929652992001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:59:21] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-07 18:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402051102599544832,"km_value":402051102599544.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2403303689150083072,"description":"Unknown IO ID 44"} 
[2026-09-07 18:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929652992001,"power":27397,"unknown_54":206,"unknown_83":40960,"ignition":58,"odometer":null,"unknown_44":-2403303689150083072}} 
[2026-09-07 18:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":176476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:59:21] local.INFO: GPS data processed {"connection_id":176476,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:59:21] local.INFO: Acknowledgment sent {"connection_id":176476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:59:27] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:27] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:27] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 18:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:59:32] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:32] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 18:59:32] local.INFO: IMEI packet received {"connection_id":173957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 18:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":173957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:59:33] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0ebdc0012d7bcd0005cace900003007123..."} 
[2026-09-07 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0ebdc0012d7bcd0005cace900003007123..."} 
[2026-09-07 18:59:33] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0ebdc0012d7bcd0005cace900003007123..."} 
[2026-09-07 18:59:33] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:33] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":763088128,"raw_latitude":97177232,"longitude_deg":76.3088128,"latitude_deg":9.7177232,"altitude":3,"angle":113,"satellites":35,"speed":17,"hex_longitude":"2d7bcd00","hex_latitude":"05cace90","is_valid_coordinates":true} 
[2026-09-07 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 18:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929659648001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554093596213248,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379086884825088,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787736000,"timestamp_ms":1788787736000,"timestamp_seconds":1788787736,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0ebdc0"} 
[2026-09-07 18:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 18:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 18:59:33] 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-07 18:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 18:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 18:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 18:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 18:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 18:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929659648001,"66":12232,"161":206,"85":15104,"24":17,"16":129554093596213248,"45":8919379086884825088},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 18:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 18:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 18:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929659648001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:59:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 18:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 18:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554093596213248,"km_value":129554093596213.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379086884825088,"description":"Unknown IO ID 45"} 
[2026-09-07 18:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929659648001,"power":12232,"unknown_161":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8919379086884825088}} 
[2026-09-07 18:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:59:33] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:59:33] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 18:59:44] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:44] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:44] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 18:59:49] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:49] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 18:59:49] local.INFO: IMEI packet received {"connection_id":173958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 18:59:51] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 18:59:51] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 18:59:51] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:51] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":752802432,"raw_latitude":120101992,"longitude_deg":75.2802432,"latitude_deg":12.0101992,"altitude":6,"angle":144,"satellites":44,"speed":50,"hex_longitude":"2cdeda80","hex_latitude":"07289c68","is_valid_coordinates":true} 
[2026-09-07 18: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-07 18:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929654784001,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402051566456012800,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2395703864780658688,"note":"Value kept but may cause issues"} 
[2026-09-07 18:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 18:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788787721000,"timestamp_ms":1788787721000,"timestamp_seconds":1788787721,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0e8328"} 
[2026-09-07 18: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-07 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 18: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 18:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 18:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 18: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-07 18:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 18:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 18:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 18:59: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-07 18:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 18:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 18:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929654784001,"66":27343,"54":206,"83":40960,"24":50,"16":402051566456012800,"44":-2395703864780658688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-07 18:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 18:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 18:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929654784001,"description":"Unknown IO ID 0"} 
[2026-09-07 18:59:51] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-07 18:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 18:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402051566456012800,"km_value":402051566456012.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 18:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2395703864780658688,"description":"Unknown IO ID 44"} 
[2026-09-07 18:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929654784001,"power":27343,"unknown_54":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2395703864780658688}} 
[2026-09-07 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 18:59:51] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-07 18:59:51] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:00:04] local.INFO: TCP Data received {"connection_id":173957,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0ec978012d7bd24005cacd480002006222..."} 
[2026-09-07 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0ec978012d7bd24005cacd480002006222..."} 
[2026-09-07 19:00:04] local.INFO: Processing buffer {"connection_id":173957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0ec978012d7bd24005cacd480002006222..."} 
[2026-09-07 19:00:04] local.INFO: Packet analysis {"connection_id":173957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:00:04] local.INFO: Extracted packet for processing {"connection_id":173957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763089472,"raw_latitude":97176904,"longitude_deg":76.3089472,"latitude_deg":9.7176904,"altitude":2,"angle":98,"satellites":34,"speed":18,"hex_longitude":"2d7bd240","hex_latitude":"05cacd48","is_valid_coordinates":true} 
[2026-09-07 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929660416001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554158020722688,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920786461768192000,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787739000,"timestamp_ms":1788787739000,"timestamp_seconds":1788787739,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0ec978"} 
[2026-09-07 19:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 19:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929660416001,"66":12287,"161":206,"85":15104,"24":18,"16":129554158020722688,"45":8920786461768192000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929660416001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554158020722688,"km_value":129554158020722.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920786461768192000,"description":"Unknown IO ID 45"} 
[2026-09-07 19:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929660416001,"power":12287,"unknown_161":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8920786461768192000}} 
[2026-09-07 19:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":173957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:00:04] local.INFO: GPS data processed {"connection_id":173957,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:00:04] local.INFO: Acknowledgment sent {"connection_id":173957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:00:22] local.INFO: TCP Data received {"connection_id":173958,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 19:00:22] local.INFO: Processing buffer {"connection_id":173958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0e8328012cdeda8007289c68000600902c..."} 
[2026-09-07 19:00:22] local.INFO: Packet analysis {"connection_id":173958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:00:22] local.INFO: Extracted packet for processing {"connection_id":173958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":752802432,"raw_latitude":120101992,"longitude_deg":75.2802432,"latitude_deg":12.0101992,"altitude":6,"angle":144,"satellites":44,"speed":50,"hex_longitude":"2cdeda80","hex_latitude":"07289c68","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929656576001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402051566456012800,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2388455884132161536,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788787721000,"timestamp_ms":1788787721000,"timestamp_seconds":1788787721,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0e8328"} 
[2026-09-07 19: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-07 19:00: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-07 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:00: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-07 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929656576001,"66":27343,"54":206,"83":40960,"24":50,"16":402051566456012800,"44":-2388455884132161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-07 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929656576001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:00:22] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-07 19:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402051566456012800,"km_value":402051566456012.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2388455884132161536,"description":"Unknown IO ID 44"} 
[2026-09-07 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929656576001,"power":27343,"unknown_54":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2388455884132161536}} 
[2026-09-07 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":173958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:00:22] local.INFO: GPS data processed {"connection_id":173958,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:00:22] local.INFO: Acknowledgment sent {"connection_id":173958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:00:27] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:27] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:27] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:00:32] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:32] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:00:32] local.INFO: IMEI packet received {"connection_id":175065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":175065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:00:33] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0f0be0012d7bedc005cac8900000006f25..."} 
[2026-09-07 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0f0be0012d7bedc005cac8900000006f25..."} 
[2026-09-07 19:00:33] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0f0be0012d7bedc005cac8900000006f25..."} 
[2026-09-07 19:00:33] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:00:33] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":97175696,"longitude_deg":76.3096512,"latitude_deg":9.7175696,"altitude":0,"angle":111,"satellites":37,"speed":16,"hex_longitude":"2d7bedc0","hex_latitude":"05cac890","is_valid_coordinates":true} 
[2026-09-07 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929661184001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554501618106368,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922264205395838976,"note":"Value kept but may cause issues"} 
[2026-09-07 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787756000,"timestamp_ms":1788787756000,"timestamp_seconds":1788787756,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0f0be0"} 
[2026-09-07 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 19:00: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-07 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929661184001,"66":12374,"161":206,"85":15104,"24":16,"16":129554501618106368,"45":8922264205395838976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929661184001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:00:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554501618106368,"km_value":129554501618106.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922264205395838976,"description":"Unknown IO ID 45"} 
[2026-09-07 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929661184001,"power":12374,"unknown_161":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8922264205395838976}} 
[2026-09-07 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:00:33] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:00:33] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:00:54] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:54] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:54] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:00:55] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:55] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:55] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:00:59] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:59] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:00:59] local.INFO: IMEI packet received {"connection_id":173726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":173726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:01:00] local.INFO: TCP Data received {"connection_id":173726,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0e9e80012cdef040072880280006008f2d..."} 
[2026-09-07 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0e9e80012cdef040072880280006008f2d..."} 
[2026-09-07 19:01:00] local.INFO: Processing buffer {"connection_id":173726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0e9e80012cdef040072880280006008f2d..."} 
[2026-09-07 19:01:00] local.INFO: Packet analysis {"connection_id":173726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:01:00] local.INFO: Extracted packet for processing {"connection_id":173726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0e"} 
[2026-09-07 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":752808000,"raw_latitude":120094760,"longitude_deg":75.2808,"latitude_deg":12.009476,"altitude":6,"angle":143,"satellites":45,"speed":52,"hex_longitude":"2cdef040","hex_latitude":"07288028","is_valid_coordinates":true} 
[2026-09-07 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929656576001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402052004542676992,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2388455884132161536,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788787728000,"timestamp_ms":1788787728000,"timestamp_seconds":1788787728,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0e9e80"} 
[2026-09-07 19:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":173726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":173726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:01:00] 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-07 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929656576001,"66":27343,"54":206,"83":40960,"24":52,"16":402052004542676992,"44":-2388455884132161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-09-07 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929656576001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:01:00] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-09-07 19:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-09-07 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402052004542676992,"km_value":402052004542677.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2388455884132161536,"description":"Unknown IO ID 44"} 
[2026-09-07 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929656576001,"power":27343,"unknown_54":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2388455884132161536}} 
[2026-09-07 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":173726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:01:00] local.INFO: GPS data processed {"connection_id":173726,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:01:00] local.INFO: Acknowledgment sent {"connection_id":173726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:01:04] local.INFO: TCP Data received {"connection_id":175065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0f1b80012d7bf48005cac6b80000006127..."} 
[2026-09-07 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0f1b80012d7bf48005cac6b80000006127..."} 
[2026-09-07 19:01:04] local.INFO: Processing buffer {"connection_id":175065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0f1b80012d7bf48005cac6b80000006127..."} 
[2026-09-07 19:01:04] local.INFO: Packet analysis {"connection_id":175065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:01:04] local.INFO: Extracted packet for processing {"connection_id":175065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763098240,"raw_latitude":97175224,"longitude_deg":76.309824,"latitude_deg":9.7175224,"altitude":0,"angle":97,"satellites":39,"speed":16,"hex_longitude":"2d7bf480","hex_latitude":"05cac6b8","is_valid_coordinates":true} 
[2026-09-07 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929665536001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554587517452288,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930004767255072768,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787760000,"timestamp_ms":1788787760000,"timestamp_seconds":1788787760,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0f1b80"} 
[2026-09-07 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 19:01:04] 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-07 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929665536001,"66":12319,"161":206,"85":15104,"24":16,"16":129554587517452288,"45":8930004767255072768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929665536001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554587517452288,"km_value":129554587517452.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930004767255072768,"description":"Unknown IO ID 45"} 
[2026-09-07 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929665536001,"power":12319,"unknown_161":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8930004767255072768}} 
[2026-09-07 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":175065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:01:04] local.INFO: GPS data processed {"connection_id":175065,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:01:04] local.INFO: Acknowledgment sent {"connection_id":175065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:01:27] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:27] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:27] local.INFO: IMEI packet received {"connection_id":173959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":173959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:01:32] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:32] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:01:32] local.INFO: IMEI packet received {"connection_id":173959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":173959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:01:33] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0f69a0012d7bfec005cac5900000005b24..."} 
[2026-09-07 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0f69a0012d7bfec005cac5900000005b24..."} 
[2026-09-07 19:01:33] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0f69a0012d7bfec005cac5900000005b24..."} 
[2026-09-07 19:01:33] local.INFO: Packet analysis {"connection_id":173959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:01:33] local.INFO: Extracted packet for processing {"connection_id":173959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":97174928,"longitude_deg":76.3100864,"latitude_deg":9.7174928,"altitude":0,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d7bfec0","hex_latitude":"05cac590","is_valid_coordinates":true} 
[2026-09-07 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929666560001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554716366471168,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931904723347748864,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787780000,"timestamp_ms":1788787780000,"timestamp_seconds":1788787780,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0f69a0"} 
[2026-09-07 19:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 19:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929666560001,"66":13276,"161":206,"85":15104,"24":0,"16":129554716366471168,"45":8931904723347748864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929666560001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:01:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554716366471168,"km_value":129554716366471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931904723347748864,"description":"Unknown IO ID 45"} 
[2026-09-07 19:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929666560001,"power":13276,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8931904723347748864}} 
[2026-09-07 19:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":173959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:01:33] local.INFO: GPS data processed {"connection_id":173959,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:01:33] local.INFO: Acknowledgment sent {"connection_id":173959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:01:42] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:42] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:42] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:01:44] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:44] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:44] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:01:46] local.INFO: TCP Data received {"connection_id":175067,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:01:46] local.INFO: Processing buffer {"connection_id":175067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:01:46] local.INFO: IMEI packet received {"connection_id":175067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":175067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:01:49] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:49] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:01:49] local.INFO: IMEI packet received {"connection_id":173727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":173727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:01:50] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c106788012ce03e400726de70000500762e..."} 
[2026-09-07 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c106788012ce03e400726de70000500762e..."} 
[2026-09-07 19:01:50] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c106788012ce03e400726de70000500762e..."} 
[2026-09-07 19:01:50] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:01:50] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:01:50] local.INFO: GPS Element Parsed {"raw_longitude":752893504,"raw_latitude":119987824,"longitude_deg":75.2893504,"latitude_deg":11.9987824,"altitude":5,"angle":118,"satellites":46,"speed":57,"hex_longitude":"2ce03e40","hex_latitude":"0726de70","is_valid_coordinates":true} 
[2026-09-07 19:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929687552001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402058601612443648,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2292050704637360128,"note":"Value kept but may cause issues"} 
[2026-09-07 19:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787845000,"timestamp_ms":1788787845000,"timestamp_seconds":1788787845,"priority":1,"record_length":96,"hex_timestamp":"000001a07c106788"} 
[2026-09-07 19:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:01:50] 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-07 19:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929687552001,"66":27321,"151":206,"83":43008,"24":57,"16":402058601612443648,"44":-2292050704637360128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-07 19:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929687552001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:01:50] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-07 19:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402058601612443648,"km_value":402058601612443.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2292050704637360128,"description":"Unknown IO ID 44"} 
[2026-09-07 19:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929687552001,"power":27321,"unknown_151":206,"unknown_83":43008,"ignition":57,"odometer":null,"unknown_44":-2292050704637360128}} 
[2026-09-07 19:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:01:50] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:01:50] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:02:04] local.INFO: TCP Data received {"connection_id":173959,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c0fbba8012d7bfec005cac5900000005b22..."} 
[2026-09-07 19:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c0fbba8012d7bfec005cac5900000005b22..."} 
[2026-09-07 19:02:04] local.INFO: Processing buffer {"connection_id":173959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c0fbba8012d7bfec005cac5900000005b22..."} 
[2026-09-07 19:02:04] local.INFO: Packet analysis {"connection_id":173959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:02:04] local.INFO: Extracted packet for processing {"connection_id":173959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c0f"} 
[2026-09-07 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":97174928,"longitude_deg":76.3100864,"latitude_deg":9.7174928,"altitude":0,"angle":91,"satellites":34,"speed":0,"hex_longitude":"2d7bfec0","hex_latitude":"05cac590","is_valid_coordinates":true} 
[2026-09-07 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929671680001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554716366471168,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934789841858957312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788787801000,"timestamp_ms":1788787801000,"timestamp_seconds":1788787801,"priority":1,"record_length":96,"hex_timestamp":"000001a07c0fbba8"} 
[2026-09-07 19:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929671680001,"66":13048,"161":206,"85":15104,"24":0,"16":129554716366471168,"45":8934789841858957312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929671680001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:02:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554716366471168,"km_value":129554716366471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934789841858957312,"description":"Unknown IO ID 45"} 
[2026-09-07 19:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929671680001,"power":13048,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8934789841858957312}} 
[2026-09-07 19:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":173959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:02:04] local.INFO: GPS data processed {"connection_id":173959,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:02:04] local.INFO: Acknowledgment sent {"connection_id":173959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:02:21] local.INFO: TCP Data received {"connection_id":173727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c106f58012ce048c00726da300004006a2d..."} 
[2026-09-07 19:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c106f58012ce048c00726da300004006a2d..."} 
[2026-09-07 19:02:21] local.INFO: Processing buffer {"connection_id":173727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c106f58012ce048c00726da300004006a2d..."} 
[2026-09-07 19:02:21] local.INFO: Packet analysis {"connection_id":173727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:21] local.INFO: Extracted packet for processing {"connection_id":173727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:21] local.INFO: GPS Element Parsed {"raw_longitude":752896192,"raw_latitude":119986736,"longitude_deg":75.2896192,"latitude_deg":11.9986736,"altitude":4,"angle":106,"satellites":45,"speed":56,"hex_longitude":"2ce048c0","hex_latitude":"0726da30","is_valid_coordinates":true} 
[2026-09-07 19:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929688320001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402058739051397120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2288321161196572672,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787847000,"timestamp_ms":1788787847000,"timestamp_seconds":1788787847,"priority":1,"record_length":96,"hex_timestamp":"000001a07c106f58"} 
[2026-09-07 19:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:02: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-07 19:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929688320001,"66":27300,"151":206,"83":43008,"24":56,"16":402058739051397120,"44":-2288321161196572672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-07 19:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929688320001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:02:21] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-07 19:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402058739051397120,"km_value":402058739051397.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2288321161196572672,"description":"Unknown IO ID 44"} 
[2026-09-07 19:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929688320001,"power":27300,"unknown_151":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-2288321161196572672}} 
[2026-09-07 19:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":173727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:02:21] local.INFO: GPS data processed {"connection_id":173727,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:02:21] local.INFO: Acknowledgment sent {"connection_id":173727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:02:27] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:27] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:27] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:02:31] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:31] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:31] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:02:32] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:32] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:02:32] local.INFO: IMEI packet received {"connection_id":173960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":173960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:02:33] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c100db0012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c100db0012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:02:33] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c100db0012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:02:33] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:33] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":97174928,"longitude_deg":76.3100864,"latitude_deg":9.7174928,"altitude":0,"angle":91,"satellites":33,"speed":0,"hex_longitude":"2d7bfec0","hex_latitude":"05cac590","is_valid_coordinates":true} 
[2026-09-07 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929677056001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554716366471168,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934789841858957312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788787822000,"timestamp_ms":1788787822000,"timestamp_seconds":1788787822,"priority":1,"record_length":96,"hex_timestamp":"000001a07c100db0"} 
[2026-09-07 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:02: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-07 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-07 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929677056001,"66":13352,"161":206,"85":15104,"24":0,"16":129554716366471168,"45":8934789841858957312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929677056001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:02:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554716366471168,"km_value":129554716366471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934789841858957312,"description":"Unknown IO ID 45"} 
[2026-09-07 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929677056001,"power":13352,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8934789841858957312}} 
[2026-09-07 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:02:33] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:02:33] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:02:44] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:44] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:44] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:02:48] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:48] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:02:48] local.INFO: IMEI packet received {"connection_id":175068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":175068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:02:49] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c107b10012ce059800726d7300004005f2e..."} 
[2026-09-07 19:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c107b10012ce059800726d7300004005f2e..."} 
[2026-09-07 19:02:49] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c107b10012ce059800726d7300004005f2e..."} 
[2026-09-07 19:02:49] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:49] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:02:49] local.INFO: GPS Element Parsed {"raw_longitude":752900480,"raw_latitude":119985968,"longitude_deg":75.290048,"latitude_deg":11.9985968,"altitude":4,"angle":95,"satellites":46,"speed":56,"hex_longitude":"2ce05980","hex_latitude":"0726d730","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929688832001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402058945209827328,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2285365673941389312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788787850000,"timestamp_ms":1788787850000,"timestamp_seconds":1788787850,"priority":1,"record_length":96,"hex_timestamp":"000001a07c107b10"} 
[2026-09-07 19: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-07 19:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 19:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:02: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-07 19:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929688832001,"66":27213,"151":206,"83":43008,"24":56,"16":402058945209827328,"44":-2285365673941389312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-09-07 19:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929688832001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:02:49] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-09-07 19:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402058945209827328,"km_value":402058945209827.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2285365673941389312,"description":"Unknown IO ID 44"} 
[2026-09-07 19:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929688832001,"power":27213,"unknown_151":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-2285365673941389312}} 
[2026-09-07 19:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:02:49] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:02:49] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:03:03] local.INFO: TCP Data received {"connection_id":173960,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c105fb8012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c105fb8012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:03:03] local.INFO: Processing buffer {"connection_id":173960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c105fb8012d7bfec005cac5900000005b21..."} 
[2026-09-07 19:03:03] local.INFO: Packet analysis {"connection_id":173960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:03:03] local.INFO: Extracted packet for processing {"connection_id":173960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c10"} 
[2026-09-07 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":97174928,"longitude_deg":76.3100864,"latitude_deg":9.7174928,"altitude":0,"angle":91,"satellites":33,"speed":0,"hex_longitude":"2d7bfec0","hex_latitude":"05cac590","is_valid_coordinates":true} 
[2026-09-07 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929682432001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129554716366471168,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934789841858957312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788787843000,"timestamp_ms":1788787843000,"timestamp_seconds":1788787843,"priority":1,"record_length":96,"hex_timestamp":"000001a07c105fb8"} 
[2026-09-07 19:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 19:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929682432001,"66":13396,"161":206,"85":15104,"24":0,"16":129554716366471168,"45":8934789841858957312},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 19:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929682432001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129554716366471168,"km_value":129554716366471.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934789841858957312,"description":"Unknown IO ID 45"} 
[2026-09-07 19:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929682432001,"power":13396,"unknown_161":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8934789841858957312}} 
[2026-09-07 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":173960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:03:04] local.INFO: GPS data processed {"connection_id":173960,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:03:04] local.INFO: Acknowledgment sent {"connection_id":173960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:03:20] local.INFO: TCP Data received {"connection_id":175068,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c11daa0012ce19b4007265f38000300742a..."} 
[2026-09-07 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c11daa0012ce19b4007265f38000300742a..."} 
[2026-09-07 19:03:20] local.INFO: Processing buffer {"connection_id":175068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c11daa0012ce19b4007265f38000300742a..."} 
[2026-09-07 19:03:20] local.INFO: Packet analysis {"connection_id":175068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c11"} 
[2026-09-07 19:03:20] local.INFO: Extracted packet for processing {"connection_id":175068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c11"} 
[2026-09-07 19:03:20] local.INFO: GPS Element Parsed {"raw_longitude":752982848,"raw_latitude":119955256,"longitude_deg":75.2982848,"latitude_deg":11.9955256,"altitude":3,"angle":116,"satellites":42,"speed":51,"hex_longitude":"2ce19b40","hex_latitude":"07265f38","is_valid_coordinates":true} 
[2026-09-07 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929711872001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402063205817384960,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2194027044006471680,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788787940000,"timestamp_ms":1788787940000,"timestamp_seconds":1788787940,"priority":1,"record_length":96,"hex_timestamp":"000001a07c11daa0"} 
[2026-09-07 19:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:03: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-07 19:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929711872001,"66":27180,"149":206,"83":43008,"24":51,"16":402063205817384960,"44":-2194027044006471680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 19:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929711872001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:03:20] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 19:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402063205817384960,"km_value":402063205817384.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2194027044006471680,"description":"Unknown IO ID 44"} 
[2026-09-07 19:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929711872001,"power":27180,"unknown_149":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-2194027044006471680}} 
[2026-09-07 19:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":175068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:03:20] local.INFO: GPS data processed {"connection_id":175068,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:03:20] local.INFO: Acknowledgment sent {"connection_id":175068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:03:29] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:29] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:29] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:03:32] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:32] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:32] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:03:37] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:37] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:03:37] local.INFO: IMEI packet received {"connection_id":173729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":173729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:03:38] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c129238012d7c490005cabbd80000007b28..."} 
[2026-09-07 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c129238012d7c490005cabbd80000007b28..."} 
[2026-09-07 19:03:38] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c129238012d7c490005cabbd80000007b28..."} 
[2026-09-07 19:03:38] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:03:38] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763119872,"raw_latitude":97172440,"longitude_deg":76.3119872,"latitude_deg":9.717244,"altitude":0,"angle":123,"satellites":40,"speed":17,"hex_longitude":"2d7c4900","hex_latitude":"05cabbd8","is_valid_coordinates":true} 
[2026-09-07 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929724416001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129555644079407104,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955267146414071808,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788787987000,"timestamp_ms":1788787987000,"timestamp_seconds":1788787987,"priority":1,"record_length":96,"hex_timestamp":"000001a07c129238"} 
[2026-09-07 19:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:03: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-07 19:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 19:03:38] 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-07 19:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929724416001,"66":12385,"160":206,"85":15104,"24":17,"16":129555644079407104,"45":8955267146414071808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-09-07 19:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929724416001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:03:38] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 19:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129555644079407104,"km_value":129555644079407.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955267146414071808,"description":"Unknown IO ID 45"} 
[2026-09-07 19:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929724416001,"power":12385,"unknown_160":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8955267146414071808}} 
[2026-09-07 19:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:03:38] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:03:38] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:03:39] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c129a08012d7c4bc005cab9a00000008b28..."} 
[2026-09-07 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c129a08012d7c4bc005cab9a00000008b28..."} 
[2026-09-07 19:03:39] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c129a08012d7c4bc005cab9a00000008b28..."} 
[2026-09-07 19:03:39] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:03:39] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763120576,"raw_latitude":97171872,"longitude_deg":76.3120576,"latitude_deg":9.7171872,"altitude":0,"angle":139,"satellites":40,"speed":17,"hex_longitude":"2d7c4bc0","hex_latitude":"05cab9a0","is_valid_coordinates":true} 
[2026-09-07 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929724672001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129555687029080064,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955689358879086592,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788787989000,"timestamp_ms":1788787989000,"timestamp_seconds":1788787989,"priority":1,"record_length":96,"hex_timestamp":"000001a07c129a08"} 
[2026-09-07 19:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:03: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-07 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 19:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929724672001,"66":12472,"160":206,"85":15104,"24":17,"16":129555687029080064,"45":8955689358879086592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-09-07 19:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929724672001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:03:39] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 19:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129555687029080064,"km_value":129555687029080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955689358879086592,"description":"Unknown IO ID 45"} 
[2026-09-07 19:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929724672001,"power":12472,"unknown_160":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8955689358879086592}} 
[2026-09-07 19:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:03:39] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:03:39] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:03:44] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:44] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:44] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:03:49] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:49] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:03:49] local.INFO: IMEI packet received {"connection_id":173962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":173962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:03:50] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c11f5f8012ce1bb0007265028000200682b..."} 
[2026-09-07 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c11f5f8012ce1bb0007265028000200682b..."} 
[2026-09-07 19:03:50] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c11f5f8012ce1bb0007265028000200682b..."} 
[2026-09-07 19:03:50] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c11"} 
[2026-09-07 19:03:50] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c11"} 
[2026-09-07 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":752990976,"raw_latitude":119951400,"longitude_deg":75.2990976,"latitude_deg":11.99514,"altitude":2,"angle":104,"satellites":43,"speed":48,"hex_longitude":"2ce1bb00","hex_latitude":"07265028","is_valid_coordinates":true} 
[2026-09-07 19:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929712640001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402063631019147264,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2190086394332891136,"note":"Value kept but may cause issues"} 
[2026-09-07 19:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787947000,"timestamp_ms":1788787947000,"timestamp_seconds":1788787947,"priority":1,"record_length":96,"hex_timestamp":"000001a07c11f5f8"} 
[2026-09-07 19:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 19:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:03:50] 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-07 19:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929712640001,"66":27267,"149":206,"83":43008,"24":48,"16":402063631019147264,"44":-2190086394332891136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 19:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929712640001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402063631019147264,"km_value":402063631019147.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2190086394332891136,"description":"Unknown IO ID 44"} 
[2026-09-07 19:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929712640001,"power":27267,"unknown_149":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-2190086394332891136}} 
[2026-09-07 19:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:03:50] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:03:50] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:04:10] local.INFO: TCP Data received {"connection_id":173729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c133648012d7c8d0005caac180000006426..."} 
[2026-09-07 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c133648012d7c8d0005caac180000006426..."} 
[2026-09-07 19:04:10] local.INFO: Processing buffer {"connection_id":173729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c133648012d7c8d0005caac180000006426..."} 
[2026-09-07 19:04:10] local.INFO: Packet analysis {"connection_id":173729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c13"} 
[2026-09-07 19:04:10] local.INFO: Extracted packet for processing {"connection_id":173729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c13"} 
[2026-09-07 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763137280,"raw_latitude":97168408,"longitude_deg":76.313728,"latitude_deg":9.7168408,"altitude":0,"angle":100,"satellites":38,"speed":18,"hex_longitude":"2d7c8d00","hex_latitude":"05caac18","is_valid_coordinates":true} 
[2026-09-07 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929733120001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129556533137637376,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971592695062243328,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788788029000,"timestamp_ms":1788788029000,"timestamp_seconds":1788788029,"priority":1,"record_length":96,"hex_timestamp":"000001a07c133648"} 
[2026-09-07 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:04: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-07 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929733120001,"66":12385,"160":206,"85":15104,"24":18,"16":129556533137637376,"45":8971592695062243328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-09-07 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929733120001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:04:10] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 19:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129556533137637376,"km_value":129556533137637.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971592695062243328,"description":"Unknown IO ID 45"} 
[2026-09-07 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929733120001,"power":12385,"unknown_160":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8971592695062243328}} 
[2026-09-07 19:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":173729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:04:10] local.INFO: GPS data processed {"connection_id":173729,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:04:10] local.INFO: Acknowledgment sent {"connection_id":173729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:04:21] local.INFO: TCP Data received {"connection_id":173962,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c121920012ce1de0007264718000200692c..."} 
[2026-09-07 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c121920012ce1de0007264718000200692c..."} 
[2026-09-07 19:04:21] local.INFO: Processing buffer {"connection_id":173962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c121920012ce1de0007264718000200692c..."} 
[2026-09-07 19:04:21] local.INFO: Packet analysis {"connection_id":173962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:04:21] local.INFO: Extracted packet for processing {"connection_id":173962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:04:21] local.INFO: GPS Element Parsed {"raw_longitude":752999936,"raw_latitude":119949080,"longitude_deg":75.2999936,"latitude_deg":11.994908,"altitude":2,"angle":105,"satellites":44,"speed":23,"hex_longitude":"2ce1de00","hex_latitude":"07264718","is_valid_coordinates":true} 
[2026-09-07 19:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929714432001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402064073400778752,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2181149563823314944,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788787956000,"timestamp_ms":1788787956000,"timestamp_seconds":1788787956,"priority":1,"record_length":96,"hex_timestamp":"000001a07c121920"} 
[2026-09-07 19:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:04: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-07 19:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929714432001,"66":27267,"149":206,"83":43008,"24":23,"16":402064073400778752,"44":-2181149563823314944},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 19:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929714432001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:04:21] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 19:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402064073400778752,"km_value":402064073400778.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2181149563823314944,"description":"Unknown IO ID 44"} 
[2026-09-07 19:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929714432001,"power":27267,"unknown_149":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-2181149563823314944}} 
[2026-09-07 19:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":173962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:04:21] local.INFO: GPS data processed {"connection_id":173962,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:04:21] local.INFO: Acknowledgment sent {"connection_id":173962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:04:24] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:24] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:24] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:04:27] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:04:27] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:27] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:04:28] local.INFO: TCP Data received {"connection_id":176477,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:28] local.INFO: Processing buffer {"connection_id":176477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:04:28] local.INFO: IMEI packet received {"connection_id":176477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":176477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:04:49] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:49] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:49] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:04:52] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:52] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:52] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:04:54] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:54] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:04:54] local.INFO: IMEI packet received {"connection_id":173730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":173730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:04:55] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1253b8012ce2040007263c600003006e29..."} 
[2026-09-07 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1253b8012ce2040007263c600003006e29..."} 
[2026-09-07 19:04:55] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1253b8012ce2040007263c600003006e29..."} 
[2026-09-07 19:04:55] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:04:55] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:04:55] local.INFO: GPS Element Parsed {"raw_longitude":753009664,"raw_latitude":119946336,"longitude_deg":75.3009664,"latitude_deg":11.9946336,"altitude":3,"angle":110,"satellites":41,"speed":40,"hex_longitude":"2ce20400","hex_latitude":"07263c60","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929716736001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402064554437115904,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2171297939639035904,"note":"Value kept but may cause issues"} 
[2026-09-07 19:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788787971000,"timestamp_ms":1788787971000,"timestamp_seconds":1788787971,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1253b8"} 
[2026-09-07 19: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-07 19:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:04:55] 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-07 19:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929716736001,"66":27267,"149":206,"83":43008,"24":40,"16":402064554437115904,"44":-2171297939639035904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 19:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929716736001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:04:55] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 19:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402064554437115904,"km_value":402064554437115.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2171297939639035904,"description":"Unknown IO ID 44"} 
[2026-09-07 19:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929716736001,"power":27267,"unknown_149":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-2171297939639035904}} 
[2026-09-07 19:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:04:55] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:04:55] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:05:26] local.INFO: TCP Data received {"connection_id":173730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c128298012ce22680072630c00003006c2d..."} 
[2026-09-07 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c128298012ce22680072630c00003006c2d..."} 
[2026-09-07 19:05:26] local.INFO: Processing buffer {"connection_id":173730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c128298012ce22680072630c00003006c2d..."} 
[2026-09-07 19:05:26] local.INFO: Packet analysis {"connection_id":173730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:05:26] local.INFO: Extracted packet for processing {"connection_id":173730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:05:26] local.INFO: GPS Element Parsed {"raw_longitude":753018496,"raw_latitude":119943360,"longitude_deg":75.3018496,"latitude_deg":11.994336,"altitude":3,"angle":108,"satellites":45,"speed":21,"hex_longitude":"2ce22680","hex_latitude":"072630c0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929720576001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402064996818747392,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2160601890524733440,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788787983000,"timestamp_ms":1788787983000,"timestamp_seconds":1788787983,"priority":1,"record_length":96,"hex_timestamp":"000001a07c128298"} 
[2026-09-07 19: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-07 19:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:05: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-07 19:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929720576001,"66":27332,"149":206,"83":43008,"24":21,"16":402064996818747392,"44":-2160601890524733440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-09-07 19:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929720576001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:05:26] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-09-07 19:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402064996818747392,"km_value":402064996818747.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2160601890524733440,"description":"Unknown IO ID 44"} 
[2026-09-07 19:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929720576001,"power":27332,"unknown_149":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-2160601890524733440}} 
[2026-09-07 19:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":173730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:05:26] local.INFO: GPS data processed {"connection_id":173730,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:05:26] local.INFO: Acknowledgment sent {"connection_id":173730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:05:44] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:44] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:44] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:05:49] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:49] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:05:49] local.INFO: IMEI packet received {"connection_id":176479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":176479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:05:50] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c12b178012ce249c0072625d00003006e2d..."} 
[2026-09-07 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c12b178012ce249c0072625d00003006e2d..."} 
[2026-09-07 19:05:50] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c12b178012ce249c0072625d00003006e2d..."} 
[2026-09-07 19:05:50] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:05:50] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c12"} 
[2026-09-07 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":753027520,"raw_latitude":119940560,"longitude_deg":75.302752,"latitude_deg":11.994056,"altitude":3,"angle":110,"satellites":45,"speed":38,"hex_longitude":"2ce249c0","hex_latitude":"072625d0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929723648001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402065443495346176,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2150891003828977664,"note":"Value kept but may cause issues"} 
[2026-09-07 19:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788787995000,"timestamp_ms":1788787995000,"timestamp_seconds":1788787995,"priority":1,"record_length":96,"hex_timestamp":"000001a07c12b178"} 
[2026-09-07 19: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-07 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 19:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:05:50] 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-07 19:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929723648001,"66":27267,"87":206,"83":43008,"24":38,"16":402065443495346176,"44":-2150891003828977664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-07 19:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929723648001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:05:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-07 19:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402065443495346176,"km_value":402065443495346.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2150891003828977664,"description":"Unknown IO ID 44"} 
[2026-09-07 19:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929723648001,"power":27267,"unknown_87":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-2150891003828977664}} 
[2026-09-07 19:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:05:50] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:05:50] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:06:21] local.INFO: TCP Data received {"connection_id":176479,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1495d8012ce3550007254c70000800872b..."} 
[2026-09-07 19:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1495d8012ce3550007254c70000800872b..."} 
[2026-09-07 19:06:21] local.INFO: Processing buffer {"connection_id":176479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1495d8012ce3550007254c70000800872b..."} 
[2026-09-07 19:06:21] local.INFO: Packet analysis {"connection_id":176479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:06:21] local.INFO: Extracted packet for processing {"connection_id":176479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:06:21] local.INFO: GPS Element Parsed {"raw_longitude":753095936,"raw_latitude":119884912,"longitude_deg":75.3095936,"latitude_deg":11.9884912,"altitude":8,"angle":135,"satellites":43,"speed":37,"hex_longitude":"2ce35500","hex_latitude":"07254c70","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929754624001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402069871606628352,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2072992804037527552,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788788119000,"timestamp_ms":1788788119000,"timestamp_seconds":1788788119,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1495d8"} 
[2026-09-07 19: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-07 19:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:06: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-07 19:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929754624001,"66":27365,"86":206,"83":43008,"24":37,"16":402069871606628352,"44":-2072992804037527552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929754624001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:06:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402069871606628352,"km_value":402069871606628.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2072992804037527552,"description":"Unknown IO ID 44"} 
[2026-09-07 19:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929754624001,"power":27365,"unknown_86":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-2072992804037527552}} 
[2026-09-07 19:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":176479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:06:21] local.INFO: GPS data processed {"connection_id":176479,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:06:21] local.INFO: Acknowledgment sent {"connection_id":176479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:06:44] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:44] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:44] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:06:49] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:49] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:06:49] local.INFO: IMEI packet received {"connection_id":173964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:06:59] local.INFO: TCP Data received {"connection_id":173964,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c14b900012ce36dc0072531a80009008a29..."} 
[2026-09-07 19:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c14b900012ce36dc0072531a80009008a29..."} 
[2026-09-07 19:06:59] local.INFO: Processing buffer {"connection_id":173964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c14b900012ce36dc0072531a80009008a29..."} 
[2026-09-07 19:06:59] local.INFO: Packet analysis {"connection_id":173964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:06:59] local.INFO: Extracted packet for processing {"connection_id":173964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":753102272,"raw_latitude":119878056,"longitude_deg":75.3102272,"latitude_deg":11.9878056,"altitude":9,"angle":138,"satellites":41,"speed":41,"hex_longitude":"2ce36dc0","hex_latitude":"072531a8","is_valid_coordinates":true} 
[2026-09-07 19:06: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-07 19:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929758464001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402070318283227136,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2065744823388966912,"note":"Value kept but may cause issues"} 
[2026-09-07 19:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788788128000,"timestamp_ms":1788788128000,"timestamp_seconds":1788788128,"priority":1,"record_length":96,"hex_timestamp":"000001a07c14b900"} 
[2026-09-07 19:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 19:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:06: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-07 19:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:06:59] 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-07 19:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929758464001,"66":27267,"86":206,"83":43008,"24":41,"16":402070318283227136,"44":-2065744823388966912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929758464001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:06:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402070318283227136,"km_value":402070318283227.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2065744823388966912,"description":"Unknown IO ID 44"} 
[2026-09-07 19:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929758464001,"power":27267,"unknown_86":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-2065744823388966912}} 
[2026-09-07 19:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":173964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:06:59] local.INFO: GPS data processed {"connection_id":173964,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:06:59] local.INFO: Acknowledgment sent {"connection_id":173964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:07:46] local.INFO: TCP Data received {"connection_id":173966,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:07:46] local.INFO: Processing buffer {"connection_id":173966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:07:46] local.INFO: IMEI packet received {"connection_id":173966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":173966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:07:49] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:49] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:49] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:07:57] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:57] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:07:57] local.INFO: IMEI packet received {"connection_id":173965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":173965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:07:58] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c14e3f8012ce3858007251648000900912a..."} 
[2026-09-07 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c14e3f8012ce3858007251648000900912a..."} 
[2026-09-07 19:07:58] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c14e3f8012ce3858007251648000900912a..."} 
[2026-09-07 19:07:58] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:07:58] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c14"} 
[2026-09-07 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":753108352,"raw_latitude":119871048,"longitude_deg":75.3108352,"latitude_deg":11.9871048,"altitude":9,"angle":145,"satellites":42,"speed":31,"hex_longitude":"2ce38580","hex_latitude":"07251648","is_valid_coordinates":true} 
[2026-09-07 19:07: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-07 19:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929760768001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402070764959825920,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2058778317717133312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788788139000,"timestamp_ms":1788788139000,"timestamp_seconds":1788788139,"priority":1,"record_length":96,"hex_timestamp":"000001a07c14e3f8"} 
[2026-09-07 19:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:07: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-07 19:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:07:58] 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-07 19:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929760768001,"66":27376,"86":206,"83":43008,"24":31,"16":402070764959825920,"44":-2058778317717133312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929760768001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:07:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402070764959825920,"km_value":402070764959825.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2058778317717133312,"description":"Unknown IO ID 44"} 
[2026-09-07 19:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929760768001,"power":27376,"unknown_86":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-2058778317717133312}} 
[2026-09-07 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:07:58] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:07:58] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:07:59] local.INFO: TCP Data received {"connection_id":173965,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c150b08012ce39c000724f748000b008d2a..."} 
[2026-09-07 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c150b08012ce39c000724f748000b008d2a..."} 
[2026-09-07 19:07:59] local.INFO: Processing buffer {"connection_id":173965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c150b08012ce39c000724f748000b008d2a..."} 
[2026-09-07 19:07:59] local.INFO: Packet analysis {"connection_id":173965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:07:59] local.INFO: Extracted packet for processing {"connection_id":173965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":753114112,"raw_latitude":119863112,"longitude_deg":75.3114112,"latitude_deg":11.9863112,"altitude":11,"angle":141,"satellites":42,"speed":41,"hex_longitude":"2ce39c00","hex_latitude":"0724f748","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929763584001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402071237406228480,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2052093287022049280,"note":"Value kept but may cause issues"} 
[2026-09-07 19:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788788149000,"timestamp_ms":1788788149000,"timestamp_seconds":1788788149,"priority":1,"record_length":96,"hex_timestamp":"000001a07c150b08"} 
[2026-09-07 19: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-07 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 19:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:07:59] 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-07 19:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929763584001,"66":27463,"86":206,"83":43008,"24":41,"16":402071237406228480,"44":-2052093287022049280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929763584001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:07:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:07:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402071237406228480,"km_value":402071237406228.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:07:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2052093287022049280,"description":"Unknown IO ID 44"} 
[2026-09-07 19:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929763584001,"power":27463,"unknown_86":206,"unknown_83":43008,"ignition":41,"odometer":null,"unknown_44":-2052093287022049280}} 
[2026-09-07 19:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":173965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:07:59] local.INFO: GPS data processed {"connection_id":173965,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:07:59] local.INFO: Acknowledgment sent {"connection_id":173965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:08:44] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:44] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:44] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:08:49] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:49] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:08:49] local.INFO: IMEI packet received {"connection_id":176480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":176480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:08:50] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c153218012ce3b3c00724db78000b008a2b..."} 
[2026-09-07 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c153218012ce3b3c00724db78000b008a2b..."} 
[2026-09-07 19:08:50] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c153218012ce3b3c00724db78000b008a2b..."} 
[2026-09-07 19:08:50] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:08:50] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:08:50] local.INFO: GPS Element Parsed {"raw_longitude":753120192,"raw_latitude":119855992,"longitude_deg":75.3120192,"latitude_deg":11.9855992,"altitude":11,"angle":138,"satellites":43,"speed":24,"hex_longitude":"2ce3b3c0","hex_latitude":"0724db78","is_valid_coordinates":true} 
[2026-09-07 19:08: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-07 19:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929766144001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402071688377794560,"note":"Value kept but may cause issues"} 
[2026-09-07 19:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2045760100048091136,"note":"Value kept but may cause issues"} 
[2026-09-07 19:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788159000,"timestamp_ms":1788788159000,"timestamp_seconds":1788788159,"priority":1,"record_length":96,"hex_timestamp":"000001a07c153218"} 
[2026-09-07 19:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 19:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:08:50] 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-07 19:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929766144001,"66":27343,"86":206,"83":43008,"24":24,"16":402071688377794560,"44":-2045760100048091136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929766144001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:08:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402071688377794560,"km_value":402071688377794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2045760100048091136,"description":"Unknown IO ID 44"} 
[2026-09-07 19:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929766144001,"power":27343,"unknown_86":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-2045760100048091136}} 
[2026-09-07 19:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:08:50] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:08:50] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:09:22] local.INFO: TCP Data received {"connection_id":176480,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c157c50012ce3cac00724c000000c008a2b..."} 
[2026-09-07 19:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c157c50012ce3cac00724c000000c008a2b..."} 
[2026-09-07 19:09:22] local.INFO: Processing buffer {"connection_id":176480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c157c50012ce3cac00724c000000c008a2b..."} 
[2026-09-07 19:09:22] local.INFO: Packet analysis {"connection_id":176480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:09:22] local.INFO: Extracted packet for processing {"connection_id":176480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c15"} 
[2026-09-07 19:09:22] local.INFO: GPS Element Parsed {"raw_longitude":753126080,"raw_latitude":119848960,"longitude_deg":75.312608,"latitude_deg":11.984896,"altitude":12,"angle":138,"satellites":43,"speed":23,"hex_longitude":"2ce3cac0","hex_latitude":"0724c000","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929768704001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402072130759426048,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2039075069353035776,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788788178000,"timestamp_ms":1788788178000,"timestamp_seconds":1788788178,"priority":1,"record_length":96,"hex_timestamp":"000001a07c157c50"} 
[2026-09-07 19: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-07 19:09: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-07 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:09: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-07 19:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929768704001,"66":27245,"86":206,"83":43008,"24":23,"16":402072130759426048,"44":-2039075069353035776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-09-07 19:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929768704001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:09:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-09-07 19:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402072130759426048,"km_value":402072130759426.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2039075069353035776,"description":"Unknown IO ID 44"} 
[2026-09-07 19:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929768704001,"power":27245,"unknown_86":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-2039075069353035776}} 
[2026-09-07 19:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":176480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:09:22] local.INFO: GPS data processed {"connection_id":176480,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:09:22] local.INFO: Acknowledgment sent {"connection_id":176480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:09:32] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:09:32] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:09:32] local.INFO: IMEI packet received {"connection_id":173735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":173735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:09:34] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c16d410012d7d138005c9e458000400b926..."} 
[2026-09-07 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c16d410012d7d138005c9e458000400b926..."} 
[2026-09-07 19:09:34] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c16d410012d7d138005c9e458000400b926..."} 
[2026-09-07 19:09:34] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c16"} 
[2026-09-07 19:09:34] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c16"} 
[2026-09-07 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763171712,"raw_latitude":97117272,"longitude_deg":76.3171712,"latitude_deg":9.7117272,"altitude":4,"angle":185,"satellites":38,"speed":46,"hex_longitude":"2d7d1380","hex_latitude":"05c9e458","is_valid_coordinates":true} 
[2026-09-07 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929794048001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129564315618377728,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835325614080,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788788266000,"timestamp_ms":1788788266000,"timestamp_seconds":1788788266,"priority":1,"record_length":96,"hex_timestamp":"000001a07c16d410"} 
[2026-09-07 19:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 19:09:34] 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-07 19:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929794048001,"66":12428,"131":206,"85":15104,"24":46,"16":129564315618377728,"45":9013602835325614080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 19:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929794048001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:09:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 19:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 19:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129564315618377728,"km_value":129564315618377.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835325614080,"description":"Unknown IO ID 45"} 
[2026-09-07 19:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929794048001,"power":12428,"unknown_131":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9013602835325614080}} 
[2026-09-07 19:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:09:34] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:09:34] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:09:44] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:44] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:44] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:09:47] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:47] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:09:47] local.INFO: IMEI packet received {"connection_id":175071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":175071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:09:48] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c17b2b8012ce499400723b368000600862b..."} 
[2026-09-07 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c17b2b8012ce499400723b368000600862b..."} 
[2026-09-07 19:09:48] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c17b2b8012ce499400723b368000600862b..."} 
[2026-09-07 19:09:48] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:09:48] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":753178944,"raw_latitude":119780200,"longitude_deg":75.3178944,"latitude_deg":11.97802,"altitude":6,"angle":134,"satellites":43,"speed":45,"hex_longitude":"2ce49940","hex_latitude":"0723b368","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929809664001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402076318352539648,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1977643155704492032,"note":"Value kept but may cause issues"} 
[2026-09-07 19:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788788323000,"timestamp_ms":1788788323000,"timestamp_seconds":1788788323,"priority":1,"record_length":96,"hex_timestamp":"000001a07c17b2b8"} 
[2026-09-07 19: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-07 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:09: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-07 19:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929809664001,"66":27267,"89":206,"83":43008,"24":45,"16":402076318352539648,"44":-1977643155704492032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-09-07 19:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929809664001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:09:48] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 19:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402076318352539648,"km_value":402076318352539.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:09:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1977643155704492032,"description":"Unknown IO ID 44"} 
[2026-09-07 19:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929809664001,"power":27267,"unknown_89":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1977643155704492032}} 
[2026-09-07 19:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:09:48] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:09:48] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:10:06] local.INFO: TCP Data received {"connection_id":173735,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c187dd8012d7d18c005c89c38000000ac22..."} 
[2026-09-07 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c187dd8012d7d18c005c89c38000000ac22..."} 
[2026-09-07 19:10:06] local.INFO: Processing buffer {"connection_id":173735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c187dd8012d7d18c005c89c38000000ac22..."} 
[2026-09-07 19:10:06] local.INFO: Packet analysis {"connection_id":173735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:06] local.INFO: Extracted packet for processing {"connection_id":173735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":97033272,"longitude_deg":76.3173056,"latitude_deg":9.7033272,"altitude":0,"angle":172,"satellites":34,"speed":27,"hex_longitude":"2d7d18c0","hex_latitude":"05c89c38","is_valid_coordinates":true} 
[2026-09-07 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929819904001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129568417312145408,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835304026112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:06] 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-07 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788788375000,"timestamp_ms":1788788375000,"timestamp_seconds":1788788375,"priority":1,"record_length":96,"hex_timestamp":"000001a07c187dd8"} 
[2026-09-07 19:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 19:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929819904001,"66":12613,"205":206,"85":12288,"24":27,"16":129568417312145408,"45":9013602835304026112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929819904001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129568417312145408,"km_value":129568417312145.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835304026112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929819904001,"power":12613,"cell_id":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9013602835304026112}} 
[2026-09-07 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":173735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:10:06] local.INFO: GPS data processed {"connection_id":173735,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:10:06] local.INFO: Acknowledgment sent {"connection_id":173735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:10:20] local.INFO: TCP Data received {"connection_id":175071,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:20] local.INFO: Processing buffer {"connection_id":175071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:20] local.INFO: Packet analysis {"connection_id":175071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:10:20] local.INFO: Extracted packet for processing {"connection_id":175071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":753185600,"raw_latitude":119773032,"longitude_deg":75.31856,"latitude_deg":11.9773032,"altitude":4,"angle":146,"satellites":43,"speed":49,"hex_longitude":"2ce4b340","hex_latitude":"07239768","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929810688001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402076786503974912,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1974476562217342976,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788788331000,"timestamp_ms":1788788331000,"timestamp_seconds":1788788331,"priority":1,"record_length":96,"hex_timestamp":"000001a07c17d1f8"} 
[2026-09-07 19: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-07 19:10: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-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929810688001,"66":27180,"87":206,"83":43008,"24":49,"16":402076786503974912,"44":-1974476562217342976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-07 19:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929810688001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:10:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-07 19:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402076786503974912,"km_value":402076786503974.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1974476562217342976,"description":"Unknown IO ID 44"} 
[2026-09-07 19:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929810688001,"power":27180,"unknown_87":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1974476562217342976}} 
[2026-09-07 19:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":175071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:10:20] local.INFO: GPS data processed {"connection_id":175071,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:10:20] local.INFO: Acknowledgment sent {"connection_id":175071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:10:32] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:32] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:32] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:10:36] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:36] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:10:36] local.INFO: IMEI packet received {"connection_id":173967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":173967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:10:37] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c18a8d0012d7d1d8005c875d8000000ab23..."} 
[2026-09-07 19:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c18a8d0012d7d1d8005c875d8000000ab23..."} 
[2026-09-07 19:10:37] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c18a8d0012d7d1d8005c875d8000000ab23..."} 
[2026-09-07 19:10:37] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:37] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":97023448,"longitude_deg":76.3174272,"latitude_deg":9.7023448,"altitude":0,"angle":171,"satellites":35,"speed":41,"hex_longitude":"2d7d1d80","hex_latitude":"05c875d8","is_valid_coordinates":true} 
[2026-09-07 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929824000001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129568894053515264,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014165785255098368,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788788386000,"timestamp_ms":1788788386000,"timestamp_seconds":1788788386,"priority":1,"record_length":96,"hex_timestamp":"000001a07c18a8d0"} 
[2026-09-07 19:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-07 19:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929824000001,"66":12385,"205":206,"85":12288,"24":41,"16":129568894053515264,"45":9014165785255098368},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 19:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929824000001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129568894053515264,"km_value":129568894053515.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014165785255098368,"description":"Unknown IO ID 45"} 
[2026-09-07 19:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929824000001,"power":12385,"cell_id":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":9014165785255098368}} 
[2026-09-07 19:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:10:37] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:10:37] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:10:38] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c18cbf8012d7d230005c85060000100ac29..."} 
[2026-09-07 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c18cbf8012d7d230005c85060000100ac29..."} 
[2026-09-07 19:10:38] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c18cbf8012d7d230005c85060000100ac29..."} 
[2026-09-07 19:10:38] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:38] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":97013856,"longitude_deg":76.317568,"latitude_deg":9.7013856,"altitude":1,"angle":172,"satellites":41,"speed":42,"hex_longitude":"2d7d2300","hex_latitude":"05c85060","is_valid_coordinates":true} 
[2026-09-07 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929826816001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129569366499917824,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791391959040,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:38] 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-07 19:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788788395000,"timestamp_ms":1788788395000,"timestamp_seconds":1788788395,"priority":1,"record_length":96,"hex_timestamp":"000001a07c18cbf8"} 
[2026-09-07 19:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 19:10:38] 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-07 19:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929826816001,"66":12156,"205":206,"85":12288,"24":42,"16":129569366499917824,"45":9015502791391959040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-09-07 19:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929826816001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129569366499917824,"km_value":129569366499917.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791391959040,"description":"Unknown IO ID 45"} 
[2026-09-07 19:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929826816001,"power":12156,"cell_id":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9015502791391959040}} 
[2026-09-07 19:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:10:39] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:10:39] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:10:44] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:44] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:44] local.INFO: IMEI packet received {"connection_id":176481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":176481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:10:49] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:49] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:10:49] local.INFO: IMEI packet received {"connection_id":176481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":176481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:10:50] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:50] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c17d1f8012ce4b34007239768000400922b..."} 
[2026-09-07 19:10:50] local.INFO: Packet analysis {"connection_id":176481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:10:50] local.INFO: Extracted packet for processing {"connection_id":176481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c17"} 
[2026-09-07 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":753185600,"raw_latitude":119773032,"longitude_deg":75.31856,"latitude_deg":11.9773032,"altitude":4,"angle":146,"satellites":43,"speed":49,"hex_longitude":"2ce4b340","hex_latitude":"07239768","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929812736001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402076786503974912,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1967158212824700928,"note":"Value kept but may cause issues"} 
[2026-09-07 19:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788331000,"timestamp_ms":1788788331000,"timestamp_seconds":1788788331,"priority":1,"record_length":96,"hex_timestamp":"000001a07c17d1f8"} 
[2026-09-07 19: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-07 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 19:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:10:50] 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-07 19:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929812736001,"66":27180,"87":206,"83":43008,"24":49,"16":402076786503974912,"44":-1967158212824700928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-09-07 19:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929812736001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:10:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-07 19:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402076786503974912,"km_value":402076786503974.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1967158212824700928,"description":"Unknown IO ID 44"} 
[2026-09-07 19:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929812736001,"power":27180,"unknown_87":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1967158212824700928}} 
[2026-09-07 19:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":176481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:10:50] local.INFO: GPS data processed {"connection_id":176481,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:10:50] local.INFO: Acknowledgment sent {"connection_id":176481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:11:10] local.INFO: TCP Data received {"connection_id":173967,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c18f6f0012d7d280005c82dd8000100ab25..."} 
[2026-09-07 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c18f6f0012d7d280005c82dd8000100ab25..."} 
[2026-09-07 19:11:10] local.INFO: Processing buffer {"connection_id":173967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c18f6f0012d7d280005c82dd8000100ab25..."} 
[2026-09-07 19:11:10] local.INFO: Packet analysis {"connection_id":173967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:11:10] local.INFO: Extracted packet for processing {"connection_id":173967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c18"} 
[2026-09-07 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763176960,"raw_latitude":97005016,"longitude_deg":76.317696,"latitude_deg":9.7005016,"altitude":1,"angle":171,"satellites":37,"speed":16,"hex_longitude":"2d7d2800","hex_latitude":"05c82dd8","is_valid_coordinates":true} 
[2026-09-07 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929829120001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129569800291614720,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050903761412096,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788788406000,"timestamp_ms":1788788406000,"timestamp_seconds":1788788406,"priority":1,"record_length":96,"hex_timestamp":"000001a07c18f6f0"} 
[2026-09-07 19:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 19:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929829120001,"66":11243,"199":206,"85":12288,"24":16,"16":129569800291614720,"45":9017050903761412096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-07 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929829120001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:11:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 19:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129569800291614720,"km_value":129569800291614.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050903761412096,"description":"Unknown IO ID 45"} 
[2026-09-07 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929829120001,"power":11243,"trip_odometer":0.206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9017050903761412096}} 
[2026-09-07 19:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":173967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:11:10] local.INFO: GPS data processed {"connection_id":173967,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:11:10] local.INFO: Acknowledgment sent {"connection_id":173967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:11:21] local.INFO: TCP Data received {"connection_id":176481,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c191248012ce5aa00072284280006008c2b..."} 
[2026-09-07 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c191248012ce5aa00072284280006008c2b..."} 
[2026-09-07 19:11:21] local.INFO: Processing buffer {"connection_id":176481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c191248012ce5aa00072284280006008c2b..."} 
[2026-09-07 19:11:21] local.INFO: Packet analysis {"connection_id":176481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:21] local.INFO: Extracted packet for processing {"connection_id":176481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":753248768,"raw_latitude":119702568,"longitude_deg":75.3248768,"latitude_deg":11.9702568,"altitude":6,"angle":140,"satellites":43,"speed":42,"hex_longitude":"2ce5aa00","hex_latitude":"07228428","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929831680001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402081403593818112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1905022611732158464,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788788413000,"timestamp_ms":1788788413000,"timestamp_seconds":1788788413,"priority":1,"record_length":96,"hex_timestamp":"000001a07c191248"} 
[2026-09-07 19: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-07 19:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:11: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-07 19:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929831680001,"66":27213,"157":206,"83":43008,"24":42,"16":402081403593818112,"44":-1905022611732158464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 19:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929831680001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:11:21] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 19:11:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402081403593818112,"km_value":402081403593818.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1905022611732158464,"description":"Unknown IO ID 44"} 
[2026-09-07 19:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929831680001,"power":27213,"unknown_157":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1905022611732158464}} 
[2026-09-07 19:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":176481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:11:21] local.INFO: GPS data processed {"connection_id":176481,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:11:21] local.INFO: Acknowledgment sent {"connection_id":176481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:11:24] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:24] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:24] local.INFO: IMEI packet received {"connection_id":173968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":173968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:11:27] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:27] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:27] local.INFO: IMEI packet received {"connection_id":173968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":173968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:11:33] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:33] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:11:33] local.INFO: IMEI packet received {"connection_id":173968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":173968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:11:35] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c191e00012d7d290005c82688000300be26..."} 
[2026-09-07 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c191e00012d7d290005c82688000300be26..."} 
[2026-09-07 19:11:35] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c191e00012d7d290005c82688000300be26..."} 
[2026-09-07 19:11:35] local.INFO: Packet analysis {"connection_id":173968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:35] local.INFO: Extracted packet for processing {"connection_id":173968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97003144,"longitude_deg":76.3177216,"latitude_deg":9.7003144,"altitude":3,"angle":190,"satellites":38,"speed":6,"hex_longitude":"2d7d2900","hex_latitude":"05c82688","is_valid_coordinates":true} 
[2026-09-07 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929831936001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129569890485927936,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018458278642702336,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788788416000,"timestamp_ms":1788788416000,"timestamp_seconds":1788788416,"priority":1,"record_length":96,"hex_timestamp":"000001a07c191e00"} 
[2026-09-07 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-07 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":173968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":173968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":173968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929831936001,"66":11602,"199":206,"85":12288,"24":6,"16":129569890485927936,"45":9018458278642702336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-09-07 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929831936001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:11:35] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 19:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129569890485927936,"km_value":129569890485927.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018458278642702336,"description":"Unknown IO ID 45"} 
[2026-09-07 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929831936001,"power":11602,"trip_odometer":0.206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9018458278642702336}} 
[2026-09-07 19:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":173968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:11:35] local.INFO: GPS data processed {"connection_id":173968,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:11:35] local.INFO: Acknowledgment sent {"connection_id":173968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:11:44] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:44] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:44] local.INFO: IMEI packet received {"connection_id":176483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":176483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:11:49] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:49] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:11:49] local.INFO: IMEI packet received {"connection_id":176483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":176483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:11:50] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c194128012ce5c0c0072268900008008f2c..."} 
[2026-09-07 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c194128012ce5c0c0072268900008008f2c..."} 
[2026-09-07 19:11:50] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c194128012ce5c0c0072268900008008f2c..."} 
[2026-09-07 19:11:50] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:50] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":753254592,"raw_latitude":119695504,"longitude_deg":75.3254592,"latitude_deg":11.9695504,"altitude":8,"angle":143,"satellites":44,"speed":29,"hex_longitude":"2ce5c0c0","hex_latitude":"07226890","is_valid_coordinates":true} 
[2026-09-07 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929833728001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402081845975449600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1897704262339385344,"note":"Value kept but may cause issues"} 
[2026-09-07 19:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788425000,"timestamp_ms":1788788425000,"timestamp_seconds":1788788425,"priority":1,"record_length":96,"hex_timestamp":"000001a07c194128"} 
[2026-09-07 19:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:11:50] 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-07 19:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929833728001,"66":27365,"157":206,"83":43008,"24":29,"16":402081845975449600,"44":-1897704262339385344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 19:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929833728001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402081845975449600,"km_value":402081845975449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1897704262339385344,"description":"Unknown IO ID 44"} 
[2026-09-07 19:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929833728001,"power":27365,"unknown_157":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1897704262339385344}} 
[2026-09-07 19:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:11:50] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:11:50] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:12:06] local.INFO: TCP Data received {"connection_id":173968,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c193188012d7d284005c821b0000300b226..."} 
[2026-09-07 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c193188012d7d284005c821b0000300b226..."} 
[2026-09-07 19:12:06] local.INFO: Processing buffer {"connection_id":173968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c193188012d7d284005c821b0000300b226..."} 
[2026-09-07 19:12:06] local.INFO: Packet analysis {"connection_id":173968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:06] local.INFO: Extracted packet for processing {"connection_id":173968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97001904,"longitude_deg":76.3177024,"latitude_deg":9.7001904,"altitude":3,"angle":178,"satellites":38,"speed":14,"hex_longitude":"2d7d2840","hex_latitude":"05c821b0","is_valid_coordinates":true} 
[2026-09-07 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929834496001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129569954910437376,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753618933760,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788788421000,"timestamp_ms":1788788421000,"timestamp_seconds":1788788421,"priority":1,"record_length":96,"hex_timestamp":"000001a07c193188"} 
[2026-09-07 19:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 19:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":173968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":173968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":173968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929834496001,"66":12374,"200":0,"85":12288,"24":14,"16":129569954910437376,"45":9018739753618933760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929834496001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129569954910437376,"km_value":129569954910437.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753618933760,"description":"Unknown IO ID 45"} 
[2026-09-07 19:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929834496001,"power":12374,"gsm_signal":0,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":9018739753618933760}} 
[2026-09-07 19:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":173968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:12:06] local.INFO: GPS data processed {"connection_id":173968,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:12:06] local.INFO: Acknowledgment sent {"connection_id":173968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:12:22] local.INFO: TCP Data received {"connection_id":176483,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c196838012ce5d80007224b480008008e2e..."} 
[2026-09-07 19:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c196838012ce5d80007224b480008008e2e..."} 
[2026-09-07 19:12:22] local.INFO: Processing buffer {"connection_id":176483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c196838012ce5d80007224b480008008e2e..."} 
[2026-09-07 19:12:22] local.INFO: Packet analysis {"connection_id":176483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:22] local.INFO: Extracted packet for processing {"connection_id":176483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":753260544,"raw_latitude":119688008,"longitude_deg":75.3260544,"latitude_deg":11.9688008,"altitude":8,"angle":142,"satellites":46,"speed":42,"hex_longitude":"2ce5d800","hex_latitude":"07224b48","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929836800001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402082305536950272,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1891300706621026304,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788788435000,"timestamp_ms":1788788435000,"timestamp_seconds":1788788435,"priority":1,"record_length":96,"hex_timestamp":"000001a07c196838"} 
[2026-09-07 19: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-07 19:12: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-07 19:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 19:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19: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-07 19:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929836800001,"66":27332,"157":206,"83":43008,"24":42,"16":402082305536950272,"44":-1891300706621026304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 19:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929836800001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:12:22] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 19:12:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402082305536950272,"km_value":402082305536950.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1891300706621026304,"description":"Unknown IO ID 44"} 
[2026-09-07 19:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929836800001,"power":27332,"unknown_157":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1891300706621026304}} 
[2026-09-07 19:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":176483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:12:22] local.INFO: GPS data processed {"connection_id":176483,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:12:22] local.INFO: Acknowledgment sent {"connection_id":176483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:12:24] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:24] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:24] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:12:27] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:27] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:27] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:12:34] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:34] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:12:34] local.INFO: IMEI packet received {"connection_id":175072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":175072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:12:34] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c196450012d7d2dc005c7fe90000400a82b..."} 
[2026-09-07 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c196450012d7d2dc005c7fe90000400a82b..."} 
[2026-09-07 19:12:34] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c196450012d7d2dc005c7fe90000400a82b..."} 
[2026-09-07 19:12:34] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:34] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":96992912,"longitude_deg":76.3178432,"latitude_deg":9.6992912,"altitude":4,"angle":168,"satellites":43,"speed":35,"hex_longitude":"2d7d2dc0","hex_latitude":"05c7fe90","is_valid_coordinates":true} 
[2026-09-07 19:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929835776001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129570392997101568,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647386083328,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788788434000,"timestamp_ms":1788788434000,"timestamp_seconds":1788788434,"priority":1,"record_length":96,"hex_timestamp":"000001a07c196450"} 
[2026-09-07 19:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 19:12:34] 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-07 19:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929835776001,"66":12385,"200":0,"85":12288,"24":35,"16":129570392997101568,"45":9018528647386083328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929835776001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129570392997101568,"km_value":129570392997101.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647386083328,"description":"Unknown IO ID 45"} 
[2026-09-07 19:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929835776001,"power":12385,"gsm_signal":0,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9018528647386083328}} 
[2026-09-07 19:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:12:34] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:12:34] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:12:49] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:49] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:49] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:12:50] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:50] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:50] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:12:54] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:54] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:12:54] local.INFO: IMEI packet received {"connection_id":173969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":173969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:12:55] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c198778012ce5ee8007222ec00009008b2b..."} 
[2026-09-07 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c198778012ce5ee8007222ec00009008b2b..."} 
[2026-09-07 19:12:55] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c198778012ce5ee8007222ec00009008b2b..."} 
[2026-09-07 19:12:55] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:55] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":753266304,"raw_latitude":119680704,"longitude_deg":75.3266304,"latitude_deg":11.9680704,"altitude":9,"angle":139,"satellites":43,"speed":50,"hex_longitude":"2ce5ee80","hex_latitude":"07222ec0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929839360001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402082752213549056,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1884756413414422528,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788788443000,"timestamp_ms":1788788443000,"timestamp_seconds":1788788443,"priority":1,"record_length":96,"hex_timestamp":"000001a07c198778"} 
[2026-09-07 19: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-07 19:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 19:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:12:55] 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-07 19:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929839360001,"66":27234,"157":206,"83":43008,"24":50,"16":402082752213549056,"44":-1884756413414422528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 19:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929839360001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:12:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 19:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402082752213549056,"km_value":402082752213549.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1884756413414422528,"description":"Unknown IO ID 44"} 
[2026-09-07 19:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929839360001,"power":27234,"unknown_157":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-1884756413414422528}} 
[2026-09-07 19:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:12:55] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:12:55] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:12:59] local.INFO: TCP Data received {"connection_id":173969,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c19a2d0012ce60640072212a80008008d2c..."} 
[2026-09-07 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c19a2d0012ce60640072212a80008008d2c..."} 
[2026-09-07 19:12:59] local.INFO: Processing buffer {"connection_id":173969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c19a2d0012ce60640072212a80008008d2c..."} 
[2026-09-07 19:12:59] local.INFO: Packet analysis {"connection_id":173969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:59] local.INFO: Extracted packet for processing {"connection_id":173969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":753272384,"raw_latitude":119673512,"longitude_deg":75.3272384,"latitude_deg":11.9673512,"altitude":8,"angle":141,"satellites":44,"speed":55,"hex_longitude":"2ce60640","hex_latitude":"072212a8","is_valid_coordinates":true} 
[2026-09-07 19:12: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-07 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929841408001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402083203185115136,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1878423226440302592,"note":"Value kept but may cause issues"} 
[2026-09-07 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788788450000,"timestamp_ms":1788788450000,"timestamp_seconds":1788788450,"priority":1,"record_length":96,"hex_timestamp":"000001a07c19a2d0"} 
[2026-09-07 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:12: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-07 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:12:59] 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-07 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929841408001,"66":27245,"157":206,"83":43008,"24":55,"16":402083203185115136,"44":-1878423226440302592},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,44]} 
[2026-09-07 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929841408001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:12:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-09-07 19:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402083203185115136,"km_value":402083203185115.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:12:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1878423226440302592,"description":"Unknown IO ID 44"} 
[2026-09-07 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929841408001,"power":27245,"unknown_157":206,"unknown_83":43008,"ignition":55,"odometer":null,"unknown_44":-1878423226440302592}} 
[2026-09-07 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":173969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:12:59] local.INFO: GPS data processed {"connection_id":173969,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:12:59] local.INFO: Acknowledgment sent {"connection_id":173969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:13:06] local.INFO: TCP Data received {"connection_id":175072,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c198b60012d7d37c005c7de880005009c2a..."} 
[2026-09-07 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c198b60012d7d37c005c7de880005009c2a..."} 
[2026-09-07 19:13:06] local.INFO: Processing buffer {"connection_id":175072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c198b60012d7d37c005c7de880005009c2a..."} 
[2026-09-07 19:13:06] local.INFO: Packet analysis {"connection_id":175072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:13:06] local.INFO: Extracted packet for processing {"connection_id":175072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c19"} 
[2026-09-07 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":96984712,"longitude_deg":76.3180992,"latitude_deg":9.6984712,"altitude":5,"angle":156,"satellites":42,"speed":35,"hex_longitude":"2d7d37c0","hex_latitude":"05c7de88","is_valid_coordinates":true} 
[2026-09-07 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929839104001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129570813903896576,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759755689984,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788788444000,"timestamp_ms":1788788444000,"timestamp_seconds":1788788444,"priority":1,"record_length":96,"hex_timestamp":"000001a07c198b60"} 
[2026-09-07 19:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 19:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":175072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":175072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":175072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929839104001,"66":12504,"200":0,"85":12288,"24":35,"16":129570813903896576,"45":9020076759755689984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929839104001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129570813903896576,"km_value":129570813903896.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759755689984,"description":"Unknown IO ID 45"} 
[2026-09-07 19:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929839104001,"power":12504,"gsm_signal":0,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9020076759755689984}} 
[2026-09-07 19:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":175072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:13:06] local.INFO: GPS data processed {"connection_id":175072,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:13:06] local.INFO: Acknowledgment sent {"connection_id":175072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:13:11] local.INFO: TCP Data received {"connection_id":173970,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:13:11] local.INFO: Processing buffer {"connection_id":173970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:13:11] local.INFO: IMEI packet received {"connection_id":173970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":173970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:13:27] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:27] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:27] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:13:28] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:28] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:28] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:13:32] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:32] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:13:32] local.INFO: IMEI packet received {"connection_id":175073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":175073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:13:33] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1b6020012d7e5e0005c6ded00006007e28..."} 
[2026-09-07 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1b6020012d7e5e0005c6ded00006007e28..."} 
[2026-09-07 19:13:33] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1b6020012d7e5e0005c6ded00006007e28..."} 
[2026-09-07 19:13:33] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:13:33] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763256320,"raw_latitude":96919248,"longitude_deg":76.325632,"latitude_deg":9.6919248,"altitude":6,"angle":126,"satellites":40,"speed":19,"hex_longitude":"2d7e5e00","hex_latitude":"05c6ded0","is_valid_coordinates":true} 
[2026-09-07 19:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929867008001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129575692986744832,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099663809402644480,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788788564000,"timestamp_ms":1788788564000,"timestamp_seconds":1788788564,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1b6020"} 
[2026-09-07 19:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 19:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929867008001,"66":12102,"200":0,"85":12288,"24":19,"16":129575692986744832,"45":9099663809402644480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929867008001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129575692986744832,"km_value":129575692986744.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099663809402644480,"description":"Unknown IO ID 45"} 
[2026-09-07 19:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929867008001,"power":12102,"gsm_signal":0,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9099663809402644480}} 
[2026-09-07 19:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:13:33] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:13:33] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:13:44] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:13:44] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:44] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:13:49] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:49] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:13:49] local.INFO: IMEI packet received {"connection_id":173738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":173738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:13:50] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1b7f60012ce6e7000720da08000600902c..."} 
[2026-09-07 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1b7f60012ce6e7000720da08000600902c..."} 
[2026-09-07 19:13:50] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1b7f60012ce6e7000720da08000600902c..."} 
[2026-09-07 19:13:50] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:13:50] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":753329920,"raw_latitude":119593480,"longitude_deg":75.332992,"latitude_deg":11.959348,"altitude":6,"angle":144,"satellites":44,"speed":50,"hex_longitude":"2ce6e700","hex_latitude":"0720da08","is_valid_coordinates":true} 
[2026-09-07 19:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929872384001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402087957713911808,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1814669144235644928,"note":"Value kept but may cause issues"} 
[2026-09-07 19:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788572000,"timestamp_ms":1788788572000,"timestamp_seconds":1788788572,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1b7f60"} 
[2026-09-07 19:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:13:50] 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-07 19:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929872384001,"66":27343,"67":206,"83":43008,"24":50,"16":402087957713911808,"44":-1814669144235644928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-07 19:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929872384001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:13:50] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 19:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402087957713911808,"km_value":402087957713911.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1814669144235644928,"description":"Unknown IO ID 44"} 
[2026-09-07 19:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929872384001,"power":27343,"unknown_67":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-1814669144235644928}} 
[2026-09-07 19:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:13:50] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:13:50] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:14:04] local.INFO: TCP Data received {"connection_id":175073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1bb228012d7e760005c6cc780006007c29..."} 
[2026-09-07 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1bb228012d7e760005c6cc780006007c29..."} 
[2026-09-07 19:14:04] local.INFO: Processing buffer {"connection_id":175073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1bb228012d7e760005c6cc780006007c29..."} 
[2026-09-07 19:14:04] local.INFO: Packet analysis {"connection_id":175073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:04] local.INFO: Extracted packet for processing {"connection_id":175073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":96914552,"longitude_deg":76.3262464,"latitude_deg":9.6914552,"altitude":6,"angle":124,"satellites":41,"speed":2,"hex_longitude":"2d7e7600","hex_latitude":"05c6cc78","is_valid_coordinates":true} 
[2026-09-07 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929872384001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576066648899584,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521401049088,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788788585000,"timestamp_ms":1788788585000,"timestamp_seconds":1788788585,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1bb228"} 
[2026-09-07 19:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 19:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929872384001,"66":12287,"200":0,"85":12288,"24":2,"16":129576066648899584,"45":9105715521401049088},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929872384001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576066648899584,"km_value":129576066648899.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521401049088,"description":"Unknown IO ID 45"} 
[2026-09-07 19:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929872384001,"power":12287,"gsm_signal":0,"unknown_85":12288,"ignition":2,"odometer":null,"unknown_45":9105715521401049088}} 
[2026-09-07 19:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":175073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:14:04] local.INFO: GPS data processed {"connection_id":175073,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:14:04] local.INFO: Acknowledgment sent {"connection_id":175073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:14:21] local.INFO: TCP Data received {"connection_id":173738,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1b9ab8012ce6fc400720bd68000600912c..."} 
[2026-09-07 19:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1b9ab8012ce6fc400720bd68000600912c..."} 
[2026-09-07 19:14:21] local.INFO: Processing buffer {"connection_id":173738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1b9ab8012ce6fc400720bd68000600912c..."} 
[2026-09-07 19:14:21] local.INFO: Packet analysis {"connection_id":173738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:21] local.INFO: Extracted packet for processing {"connection_id":173738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:21] local.INFO: GPS Element Parsed {"raw_longitude":753335360,"raw_latitude":119586152,"longitude_deg":75.333536,"latitude_deg":11.9586152,"altitude":6,"angle":145,"satellites":44,"speed":52,"hex_longitude":"2ce6fc40","hex_latitude":"0720bd68","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929874432001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402088395800576000,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1808476694750033920,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788788579000,"timestamp_ms":1788788579000,"timestamp_seconds":1788788579,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1b9ab8"} 
[2026-09-07 19: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-07 19:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:14: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-07 19:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929874432001,"66":27245,"67":206,"83":43008,"24":52,"16":402088395800576000,"44":-1808476694750033920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-09-07 19:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929874432001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:14:21] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 19:14:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402088395800576000,"km_value":402088395800576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1808476694750033920,"description":"Unknown IO ID 44"} 
[2026-09-07 19:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929874432001,"power":27245,"unknown_67":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1808476694750033920}} 
[2026-09-07 19:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":173738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:14:21] local.INFO: GPS data processed {"connection_id":173738,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:14:21] local.INFO: Acknowledgment sent {"connection_id":173738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:14:26] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:26] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:26] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:14:27] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:27] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:27] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:14:28] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:28] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:28] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:14:32] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:32] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:14:32] local.INFO: IMEI packet received {"connection_id":176485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":176485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:14:33] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1c0430012d7e794005c6c9f0000600742a..."} 
[2026-09-07 19:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1c0430012d7e794005c6c9f0000600742a..."} 
[2026-09-07 19:14:33] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1c0430012d7e794005c6c9f0000600742a..."} 
[2026-09-07 19:14:33] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1c"} 
[2026-09-07 19:14:33] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1c"} 
[2026-09-07 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763263296,"raw_latitude":96913904,"longitude_deg":76.3263296,"latitude_deg":9.6913904,"altitude":6,"angle":116,"satellites":42,"speed":1,"hex_longitude":"2d7e7940","hex_latitude":"05c6c9f0","is_valid_coordinates":true} 
[2026-09-07 19:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929877760001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 19:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576122483474432,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470920840902656,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 19:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788788606000,"timestamp_ms":1788788606000,"timestamp_seconds":1788788606,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1c0430"} 
[2026-09-07 19:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 19:14: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-07 19:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929877760001,"66":12298,"200":0,"85":12288,"24":1,"16":129576122483474432,"45":9112470920840902656},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 19:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929877760001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576122483474432,"km_value":129576122483474.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470920840902656,"description":"Unknown IO ID 45"} 
[2026-09-07 19:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929877760001,"power":12298,"gsm_signal":0,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":9112470920840902656}} 
[2026-09-07 19:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:14:33] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:14:33] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:14:44] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:44] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:44] local.INFO: IMEI packet received {"connection_id":175074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":175074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:14:48] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:48] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:14:48] local.INFO: IMEI packet received {"connection_id":175074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:14:49] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1bb610012ce710c007209ea0000700912d..."} 
[2026-09-07 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1bb610012ce710c007209ea0000700912d..."} 
[2026-09-07 19:14:49] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1bb610012ce710c007209ea0000700912d..."} 
[2026-09-07 19:14:49] local.INFO: Packet analysis {"connection_id":175074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:49] local.INFO: Extracted packet for processing {"connection_id":175074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":753340608,"raw_latitude":119578272,"longitude_deg":75.3340608,"latitude_deg":11.9578272,"altitude":7,"angle":145,"satellites":45,"speed":53,"hex_longitude":"2ce710c0","hex_latitude":"07209ea0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929876224001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402088855362076672,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1802495351496808448,"note":"Value kept but may cause issues"} 
[2026-09-07 19:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788788586000,"timestamp_ms":1788788586000,"timestamp_seconds":1788788586,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1bb610"} 
[2026-09-07 19: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-07 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 19:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:14: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-07 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929876224001,"66":27213,"145":206,"83":43008,"24":53,"16":402088855362076672,"44":-1802495351496808448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929876224001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:14:49] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 19:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402088855362076672,"km_value":402088855362076.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:14:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1802495351496808448,"description":"Unknown IO ID 44"} 
[2026-09-07 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929876224001,"power":27213,"unknown_145":206,"unknown_83":43008,"ignition":53,"odometer":null,"unknown_44":-1802495351496808448}} 
[2026-09-07 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":175074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:14:49] local.INFO: GPS data processed {"connection_id":175074,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:14:49] local.INFO: Acknowledgment sent {"connection_id":175074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:15:05] local.INFO: TCP Data received {"connection_id":176485,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1c1f88012d7e7a8005c6c948000600802b..."} 
[2026-09-07 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1c1f88012d7e7a8005c6c948000600802b..."} 
[2026-09-07 19:15:05] local.INFO: Processing buffer {"connection_id":176485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1c1f88012d7e7a8005c6c948000600802b..."} 
[2026-09-07 19:15:05] local.INFO: Packet analysis {"connection_id":176485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1c"} 
[2026-09-07 19:15:05] local.INFO: Extracted packet for processing {"connection_id":176485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1c"} 
[2026-09-07 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":763263616,"raw_latitude":96913736,"longitude_deg":76.3263616,"latitude_deg":9.6913736,"altitude":6,"angle":128,"satellites":43,"speed":1,"hex_longitude":"2d7e7a80","hex_latitude":"05c6c948","is_valid_coordinates":true} 
[2026-09-07 19:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929883136001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576139663343616,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113385714515046400,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788788613000,"timestamp_ms":1788788613000,"timestamp_seconds":1788788613,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1c1f88"} 
[2026-09-07 19:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":416371206464536698,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13522224,"corrected_to":0} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902770696704,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8942572297742286288,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1464795136,"corrected_to":0} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":41,"raw_value":10133099162238980,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832596,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3519563992073240782,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814902478,"corrected_to":0} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":35510927713370112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-1585267068834414591,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,200,85,24,241,157,16,88,160,178,45,204,6,41,10,66,96,222,40,14,128,1,240,70,227,124,199,4,113,205,36,176,13,48,39,239,2,5,86],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":200,"original":13522224,"validated":0},{"io_id":204,"original":1464795136,"validated":0},{"io_id":205,"original":2814902478,"validated":0}]} 
[2026-09-07 19:15:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432473287965081600,"timestamp_seconds":432473287965081.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":176485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":176485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":176485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929883136001,"66":12026,"89":206,"85":12288,"24":1,"16":129576139663343616,"45":9113385714515046400},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-07 19:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929883136001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:15:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 19:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576139663343616,"km_value":129576139663343.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113385714515046400,"description":"Unknown IO ID 45"} 
[2026-09-07 19:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929883136001,"power":12026,"unknown_89":206,"unknown_85":12288,"ignition":1,"odometer":null,"unknown_45":9113385714515046400}} 
[2026-09-07 19:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":176485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:15:05] local.INFO: GPS data processed {"connection_id":176485,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:15:05] local.INFO: Acknowledgment sent {"connection_id":176485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:15:21] local.INFO: TCP Data received {"connection_id":175074,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1bd938012ce7280007207fc00007008f2d..."} 
[2026-09-07 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1bd938012ce7280007207fc00007008f2d..."} 
[2026-09-07 19:15:21] local.INFO: Processing buffer {"connection_id":175074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1bd938012ce7280007207fc00007008f2d..."} 
[2026-09-07 19:15:21] local.INFO: Packet analysis {"connection_id":175074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:15:21] local.INFO: Extracted packet for processing {"connection_id":175074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1b"} 
[2026-09-07 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":753346560,"raw_latitude":119570368,"longitude_deg":75.334656,"latitude_deg":11.9570368,"altitude":7,"angle":143,"satellites":45,"speed":46,"hex_longitude":"2ce72800","hex_latitude":"07207fc0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929878016001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402089327808479232,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1796725114476257280,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788788595000,"timestamp_ms":1788788595000,"timestamp_seconds":1788788595,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1bd938"} 
[2026-09-07 19: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-07 19:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:15: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-07 19:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929878016001,"66":27267,"145":206,"83":43008,"24":46,"16":402089327808479232,"44":-1796725114476257280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-09-07 19:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929878016001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:15:21] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-09-07 19:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402089327808479232,"km_value":402089327808479.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1796725114476257280,"description":"Unknown IO ID 44"} 
[2026-09-07 19:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929878016001,"power":27267,"unknown_145":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1796725114476257280}} 
[2026-09-07 19:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":175074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:15:21] local.INFO: GPS data processed {"connection_id":175074,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:15:21] local.INFO: Acknowledgment sent {"connection_id":175074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:15:27] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:27] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:27] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:15:29] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:29] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:29] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:15:32] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:32] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:15:32] local.INFO: IMEI packet received {"connection_id":175076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":175076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:15:33] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d5420012d7e79c005c6ca580006012d28..."} 
[2026-09-07 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d5420012d7e79c005c6ca580006012d28..."} 
[2026-09-07 19:15:33] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d5420012d7e79c005c6ca580006012d28..."} 
[2026-09-07 19:15:33] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:15:33] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763263424,"raw_latitude":96914008,"longitude_deg":76.3263424,"latitude_deg":9.6914008,"altitude":6,"angle":301,"satellites":40,"speed":6,"hex_longitude":"2d7e79c0","hex_latitude":"05c6ca58","is_valid_coordinates":true} 
[2026-09-07 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929903872001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576251332493312,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114019033212596224,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788788692000,"timestamp_ms":1788788692000,"timestamp_seconds":1788788692,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d5420"} 
[2026-09-07 19:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 19:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929903872001,"66":12602,"89":206,"85":12288,"24":6,"16":129576251332493312,"45":9114019033212596224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-07 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929903872001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:15:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 19:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576251332493312,"km_value":129576251332493.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114019033212596224,"description":"Unknown IO ID 45"} 
[2026-09-07 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929903872001,"power":12602,"unknown_89":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":9114019033212596224}} 
[2026-09-07 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:15:33] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:15:33] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:15:51] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:51] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:51] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:15:53] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:53] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:15:53] local.INFO: IMEI packet received {"connection_id":173971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":173971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:15:53] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d2928012ce7e740071f66e0000500842e..."} 
[2026-09-07 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d2928012ce7e740071f66e0000500842e..."} 
[2026-09-07 19:15:53] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d2928012ce7e740071f66e0000500842e..."} 
[2026-09-07 19:15:53] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:15:53] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":753395520,"raw_latitude":119498464,"longitude_deg":75.339552,"latitude_deg":11.9498464,"altitude":5,"angle":132,"satellites":46,"speed":38,"hex_longitude":"2ce7e740","hex_latitude":"071f66e0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929899776001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402093614185840640,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1744370768827105280,"note":"Value kept but may cause issues"} 
[2026-09-07 19:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788788681000,"timestamp_ms":1788788681000,"timestamp_seconds":1788788681,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d2928"} 
[2026-09-07 19: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-07 19:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:15: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-07 19:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929899776001,"66":27234,"95":206,"83":43008,"24":38,"16":402093614185840640,"44":-1744370768827105280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 19:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929899776001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:15:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 19:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402093614185840640,"km_value":402093614185840.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1744370768827105280,"description":"Unknown IO ID 44"} 
[2026-09-07 19:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929899776001,"power":27234,"unknown_95":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1744370768827105280}} 
[2026-09-07 19:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:15:53] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:15:53] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:16:04] local.INFO: TCP Data received {"connection_id":175076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d92a0012d7e5c8005c6ddf00005013027..."} 
[2026-09-07 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d92a0012d7e5c8005c6ddf00005013027..."} 
[2026-09-07 19:16:04] local.INFO: Processing buffer {"connection_id":175076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d92a0012d7e5c8005c6ddf00005013027..."} 
[2026-09-07 19:16:04] local.INFO: Packet analysis {"connection_id":175076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:04] local.INFO: Extracted packet for processing {"connection_id":175076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763255936,"raw_latitude":96919024,"longitude_deg":76.3255936,"latitude_deg":9.6919024,"altitude":5,"angle":304,"satellites":39,"speed":27,"hex_longitude":"2d7e5c80","hex_latitude":"05c6ddf0","is_valid_coordinates":true} 
[2026-09-07 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929905152001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576680829222912,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113526452003428352,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788788708000,"timestamp_ms":1788788708000,"timestamp_seconds":1788788708,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d92a0"} 
[2026-09-07 19:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-07 19:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929905152001,"66":12069,"89":206,"85":12288,"24":27,"16":129576680829222912,"45":9113526452003428352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-07 19:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929905152001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:16:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 19:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576680829222912,"km_value":129576680829222.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113526452003428352,"description":"Unknown IO ID 45"} 
[2026-09-07 19:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929905152001,"power":12069,"unknown_89":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9113526452003428352}} 
[2026-09-07 19:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":175076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:16:05] local.INFO: GPS data processed {"connection_id":175076,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:16:05] local.INFO: Acknowledgment sent {"connection_id":175076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:16:25] local.INFO: TCP Data received {"connection_id":173971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d4480012ce7fa80071f5378000500902d..."} 
[2026-09-07 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d4480012ce7fa80071f5378000500902d..."} 
[2026-09-07 19:16:25] local.INFO: Processing buffer {"connection_id":173971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d4480012ce7fa80071f5378000500902d..."} 
[2026-09-07 19:16:25] local.INFO: Packet analysis {"connection_id":173971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:25] local.INFO: Extracted packet for processing {"connection_id":173971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":753400448,"raw_latitude":119493496,"longitude_deg":75.3400448,"latitude_deg":11.9493496,"altitude":5,"angle":144,"satellites":45,"speed":40,"hex_longitude":"2ce7fa80","hex_latitude":"071f5378","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929902336001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402093949193289728,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1736348731992252416,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788788688000,"timestamp_ms":1788788688000,"timestamp_seconds":1788788688,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d4480"} 
[2026-09-07 19: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-07 19:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:16:25] 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-07 19:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929902336001,"66":27343,"95":206,"83":43008,"24":40,"16":402093949193289728,"44":-1736348731992252416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 19:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929902336001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:16:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 19:16:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402093949193289728,"km_value":402093949193289.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1736348731992252416,"description":"Unknown IO ID 44"} 
[2026-09-07 19:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929902336001,"power":27343,"unknown_95":206,"unknown_83":43008,"ignition":40,"odometer":null,"unknown_44":-1736348731992252416}} 
[2026-09-07 19:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":173971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:16:25] local.INFO: GPS data processed {"connection_id":173971,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:16:25] local.INFO: Acknowledgment sent {"connection_id":173971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:16:27] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:27] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:27] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:16:29] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:29] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:29] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:16:32] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:32] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:16:32] local.INFO: IMEI packet received {"connection_id":173739,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":173739,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:16:34] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1de0c0012d7e4b4005c6ea200005012921..."} 
[2026-09-07 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1de0c0012d7e4b4005c6ea200005012921..."} 
[2026-09-07 19:16:34] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1de0c0012d7e4b4005c6ea200005012921..."} 
[2026-09-07 19:16:34] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:34] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763251520,"raw_latitude":96922144,"longitude_deg":76.325152,"latitude_deg":9.6922144,"altitude":5,"angle":297,"satellites":33,"speed":0,"hex_longitude":"2d7e4b40","hex_latitude":"05c6ea20","is_valid_coordinates":true} 
[2026-09-07 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929909248001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129576951412162560,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105293308935925760,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788788728000,"timestamp_ms":1788788728000,"timestamp_seconds":1788788728,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1de0c0"} 
[2026-09-07 19:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 19:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929909248001,"66":12058,"89":206,"85":12288,"24":0,"16":129576951412162560,"45":9105293308935925760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-09-07 19:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929909248001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:16:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 19:16:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129576951412162560,"km_value":129576951412162.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105293308935925760,"description":"Unknown IO ID 45"} 
[2026-09-07 19:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929909248001,"power":12058,"unknown_89":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9105293308935925760}} 
[2026-09-07 19:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:16:34] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:16:34] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:16:44] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:44] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:44] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:16:48] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:48] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:16:48] local.INFO: IMEI packet received {"connection_id":175077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":175077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:16:49] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d63c0012ce80cc0071f3598000500962c..."} 
[2026-09-07 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d63c0012ce80cc0071f3598000500962c..."} 
[2026-09-07 19:16:49] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d63c0012ce80cc0071f3598000500962c..."} 
[2026-09-07 19:16:49] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:49] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":753405120,"raw_latitude":119485848,"longitude_deg":75.340512,"latitude_deg":11.9485848,"altitude":5,"angle":150,"satellites":44,"speed":43,"hex_longitude":"2ce80cc0","hex_latitude":"071f3598","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929904128001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402094382984986624,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1730930338691844096,"note":"Value kept but may cause issues"} 
[2026-09-07 19:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788788696000,"timestamp_ms":1788788696000,"timestamp_seconds":1788788696,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d63c0"} 
[2026-09-07 19: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-07 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:16: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-07 19:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929904128001,"66":27300,"95":206,"83":43008,"24":43,"16":402094382984986624,"44":-1730930338691844096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 19:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929904128001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:16:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 19:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402094382984986624,"km_value":402094382984986.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1730930338691844096,"description":"Unknown IO ID 44"} 
[2026-09-07 19:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929904128001,"power":27300,"unknown_95":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1730930338691844096}} 
[2026-09-07 19:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:16:49] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:16:49] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:17:05] local.INFO: TCP Data received {"connection_id":173739,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1ee678012d7e4bc005c771680005006524..."} 
[2026-09-07 19:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1ee678012d7e4bc005c771680005006524..."} 
[2026-09-07 19:17:05] local.INFO: Processing buffer {"connection_id":173739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1ee678012d7e4bc005c771680005006524..."} 
[2026-09-07 19:17:05] local.INFO: Packet analysis {"connection_id":173739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1e"} 
[2026-09-07 19:17:05] local.INFO: Extracted packet for processing {"connection_id":173739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1e"} 
[2026-09-07 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":96956776,"longitude_deg":76.3251648,"latitude_deg":9.6956776,"altitude":5,"angle":101,"satellites":36,"speed":10,"hex_longitude":"2d7e4bc0","hex_latitude":"05c77168","is_valid_coordinates":true} 
[2026-09-07 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929931008001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129578690873917440,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100086021876449280,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788788795000,"timestamp_ms":1788788795000,"timestamp_seconds":1788788795,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1ee678"} 
[2026-09-07 19:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 19:17:05] 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-07 19:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173739,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929931008001,"66":12298,"90":206,"85":12288,"24":10,"16":129578690873917440,"45":9100086021876449280},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-07 19:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929931008001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:17:05] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-07 19:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129578690873917440,"km_value":129578690873917.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100086021876449280,"description":"Unknown IO ID 45"} 
[2026-09-07 19:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929931008001,"power":12298,"unknown_90":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9100086021876449280}} 
[2026-09-07 19:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":173739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:17:05] local.INFO: GPS data processed {"connection_id":173739,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:17:05] local.INFO: Acknowledgment sent {"connection_id":173739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:17:20] local.INFO: TCP Data received {"connection_id":175077,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1d86e8012ce81c00071f16380006009e2b..."} 
[2026-09-07 19:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1d86e8012ce81c00071f16380006009e2b..."} 
[2026-09-07 19:17:20] local.INFO: Processing buffer {"connection_id":175077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1d86e8012ce81c00071f16380006009e2b..."} 
[2026-09-07 19:17:20] local.INFO: Packet analysis {"connection_id":175077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:17:20] local.INFO: Extracted packet for processing {"connection_id":175077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:17:20] local.INFO: GPS Element Parsed {"raw_longitude":753409024,"raw_latitude":119477816,"longitude_deg":75.3409024,"latitude_deg":11.9477816,"altitude":6,"angle":158,"satellites":43,"speed":36,"hex_longitude":"2ce81c00","hex_latitude":"071f1638","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929906176001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402094812481716224,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1725793420368832512,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788788705000,"timestamp_ms":1788788705000,"timestamp_seconds":1788788705,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1d86e8"} 
[2026-09-07 19: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-07 19:17: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-07 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 19:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929906176001,"66":27321,"95":206,"83":43008,"24":36,"16":402094812481716224,"44":-1725793420368832512},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 19:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929906176001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:17:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 19:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402094812481716224,"km_value":402094812481716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1725793420368832512,"description":"Unknown IO ID 44"} 
[2026-09-07 19:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929906176001,"power":27321,"unknown_95":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1725793420368832512}} 
[2026-09-07 19:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":175077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:17:20] local.INFO: GPS data processed {"connection_id":175077,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:17:20] local.INFO: Acknowledgment sent {"connection_id":175077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:17:27] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:27] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:27] local.INFO: IMEI packet received {"connection_id":173972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":173972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:17:32] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:32] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:17:32] local.INFO: IMEI packet received {"connection_id":173972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":173972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:17:33] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1f2110012d7e700005c76a000002006127..."} 
[2026-09-07 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1f2110012d7e700005c76a000002006127..."} 
[2026-09-07 19:17:33] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1f2110012d7e700005c76a000002006127..."} 
[2026-09-07 19:17:33] local.INFO: Packet analysis {"connection_id":173972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:17:33] local.INFO: Extracted packet for processing {"connection_id":173972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763260928,"raw_latitude":96954880,"longitude_deg":76.3260928,"latitude_deg":9.695488,"altitude":2,"angle":97,"satellites":39,"speed":33,"hex_longitude":"2d7e7000","hex_latitude":"05c76a00","is_valid_coordinates":true} 
[2026-09-07 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929931520001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129579146140450816,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100578603085686784,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788788810000,"timestamp_ms":1788788810000,"timestamp_seconds":1788788810,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1f2110"} 
[2026-09-07 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":90,"raw_value":1441151880758558721,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902636478976,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8943663219435470413,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3340222464,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":36,"raw_value":8162774325264388,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3406411049851224270,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":8193,"corrected_to":0} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":6,"raw_value":96585499967225856,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13453657,"corrected_to":0} 
[2026-09-07 19:17:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1230569678,"corrected_to":0} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356553,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1515061248,"corrected_to":0} 
[2026-09-07 19:17:33] local.WARNING: Large IO value detected {"io_id":192,"raw_value":416313963140481381,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,90,85,24,241,157,16,91,160,222,45,113,5,36,10,66,89,203,64,112,6,33,179,1,240,200,227,124,199,4,205,40,109,71,88,30,239,46,2,204,192],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":203,"original":8193,"validated":0},{"io_id":200,"original":13453657,"validated":0},{"io_id":205,"original":1230569678,"validated":0},{"io_id":204,"original":1515061248,"validated":0}]} 
[2026-09-07 19:17:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360399175483523072,"timestamp_seconds":360399175483523.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929931520001,"66":12341,"90":206,"85":12288,"24":33,"16":129579146140450816,"45":9100578603085686784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-07 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929931520001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:17:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-07 19:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129579146140450816,"km_value":129579146140450.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100578603085686784,"description":"Unknown IO ID 45"} 
[2026-09-07 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929931520001,"power":12341,"unknown_90":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9100578603085686784}} 
[2026-09-07 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":173972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780595,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:17:33] local.INFO: GPS data processed {"connection_id":173972,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:17:33] local.INFO: Acknowledgment sent {"connection_id":173972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:17:44] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:44] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:44] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:17:49] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:49] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:17:49] local.INFO: IMEI packet received {"connection_id":175078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":175078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:17:50] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1dadf8012ce82900071ef5700006009b2a..."} 
[2026-09-07 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1dadf8012ce82900071ef5700006009b2a..."} 
[2026-09-07 19:17:50] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1dadf8012ce82900071ef5700006009b2a..."} 
[2026-09-07 19:17:50] local.INFO: Packet analysis {"connection_id":175078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:17:50] local.INFO: Extracted packet for processing {"connection_id":175078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":753412352,"raw_latitude":119469424,"longitude_deg":75.3412352,"latitude_deg":11.9469424,"altitude":6,"angle":155,"satellites":42,"speed":34,"hex_longitude":"2ce82900","hex_latitude":"071ef570","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929908480001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402095250568380416,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1721500926976051200,"note":"Value kept but may cause issues"} 
[2026-09-07 19:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788715000,"timestamp_ms":1788788715000,"timestamp_seconds":1788788715,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1dadf8"} 
[2026-09-07 19: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-07 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:17:50] 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-07 19:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929908480001,"66":27267,"95":206,"83":43008,"24":34,"16":402095250568380416,"44":-1721500926976051200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-09-07 19:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929908480001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:17:50] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-09-07 19:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402095250568380416,"km_value":402095250568380.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1721500926976051200,"description":"Unknown IO ID 44"} 
[2026-09-07 19:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929908480001,"power":27267,"unknown_95":206,"unknown_83":43008,"ignition":34,"odometer":null,"unknown_44":-1721500926976051200}} 
[2026-09-07 19:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":175078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:17:50] local.INFO: GPS data processed {"connection_id":175078,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:17:50] local.INFO: Acknowledgment sent {"connection_id":175078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:05] local.INFO: TCP Data received {"connection_id":173972,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1f4820012d7e934005c765900003006124..."} 
[2026-09-07 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1f4820012d7e934005c765900003006124..."} 
[2026-09-07 19:18:05] local.INFO: Processing buffer {"connection_id":173972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1f4820012d7e934005c765900003006124..."} 
[2026-09-07 19:18:05] local.INFO: Packet analysis {"connection_id":173972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:05] local.INFO: Extracted packet for processing {"connection_id":173972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763269952,"raw_latitude":96953744,"longitude_deg":76.3269952,"latitude_deg":9.6953744,"altitude":3,"angle":97,"satellites":36,"speed":34,"hex_longitude":"2d7e9340","hex_latitude":"05c76590","is_valid_coordinates":true} 
[2026-09-07 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929935360001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129579579932147712,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110782070990962688,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788788820000,"timestamp_ms":1788788820000,"timestamp_seconds":1788788820,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1f4820"} 
[2026-09-07 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929935360001,"66":12504,"90":206,"85":12288,"24":34,"16":129579579932147712,"45":9110782070990962688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,45]} 
[2026-09-07 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929935360001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:05] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-09-07 19:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129579579932147712,"km_value":129579579932147.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110782070990962688,"description":"Unknown IO ID 45"} 
[2026-09-07 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929935360001,"power":12504,"unknown_90":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9110782070990962688}} 
[2026-09-07 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":173972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:05] local.INFO: GPS data processed {"connection_id":173972,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:05] local.INFO: Acknowledgment sent {"connection_id":173972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:22] local.INFO: TCP Data received {"connection_id":175078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1dd508012ce83640071ed4d00007009d2a..."} 
[2026-09-07 19:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1dd508012ce83640071ed4d00007009d2a..."} 
[2026-09-07 19:18:22] local.INFO: Processing buffer {"connection_id":175078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1dd508012ce83640071ed4d00007009d2a..."} 
[2026-09-07 19:18:22] local.INFO: Packet analysis {"connection_id":175078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:18:22] local.INFO: Extracted packet for processing {"connection_id":175078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1d"} 
[2026-09-07 19:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753415744,"raw_latitude":119461072,"longitude_deg":75.3415744,"latitude_deg":11.9461072,"altitude":7,"angle":157,"satellites":42,"speed":39,"hex_longitude":"2ce83640","hex_latitude":"071ed4d0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929911040001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402095688655044608,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1717841752280961024,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788788725000,"timestamp_ms":1788788725000,"timestamp_seconds":1788788725,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1dd508"} 
[2026-09-07 19: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-07 19:18: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-07 19:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18: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-07 19:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929911040001,"66":27289,"72":206,"83":43008,"24":39,"16":402095688655044608,"44":-1717841752280961024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,44]} 
[2026-09-07 19:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929911040001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:22] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-09-07 19:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402095688655044608,"km_value":402095688655044.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1717841752280961024,"description":"Unknown IO ID 44"} 
[2026-09-07 19:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929911040001,"power":27289,"unknown_72":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1717841752280961024}} 
[2026-09-07 19:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":175078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:22] local.INFO: GPS data processed {"connection_id":175078,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:22] local.INFO: Acknowledgment sent {"connection_id":175078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:32] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:32] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:32] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:18:33] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:33] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:18:33] local.INFO: IMEI packet received {"connection_id":173741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":173741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:18:34] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1f9258012d7eca8005c74fa00002007525..."} 
[2026-09-07 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1f9258012d7eca8005c74fa00002007525..."} 
[2026-09-07 19:18:34] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1f9258012d7eca8005c74fa00002007525..."} 
[2026-09-07 19:18:34] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:34] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763284096,"raw_latitude":96948128,"longitude_deg":76.3284096,"latitude_deg":9.6948128,"altitude":2,"angle":117,"satellites":37,"speed":28,"hex_longitude":"2d7eca80","hex_latitude":"05c74fa0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929939712001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129580314371555328,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250895357952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788788839000,"timestamp_ms":1788788839000,"timestamp_seconds":1788788839,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1f9258"} 
[2026-09-07 19: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-07 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929939712001,"66":12504,"88":206,"85":12288,"24":28,"16":129580314371555328,"45":9127037250895357952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929939712001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129580314371555328,"km_value":129580314371555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250895357952,"description":"Unknown IO ID 45"} 
[2026-09-07 19:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929939712001,"power":12504,"unknown_88":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9127037250895357952}} 
[2026-09-07 19:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:34] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:34] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:38] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1fa9c8012d7ed98005c749780002006824..."} 
[2026-09-07 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1fa9c8012d7ed98005c749780002006824..."} 
[2026-09-07 19:18:38] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1fa9c8012d7ed98005c749780002006824..."} 
[2026-09-07 19:18:38] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:38] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":763287936,"raw_latitude":96946552,"longitude_deg":76.3287936,"latitude_deg":9.6946552,"altitude":2,"angle":104,"satellites":36,"speed":26,"hex_longitude":"2d7ed980","hex_latitude":"05c74978","is_valid_coordinates":true} 
[2026-09-07 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929942784001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129580516235018240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136255556381548544,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788788845000,"timestamp_ms":1788788845000,"timestamp_seconds":1788788845,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1fa9c8"} 
[2026-09-07 19:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:18: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-07 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929942784001,"66":12330,"88":206,"85":12288,"24":26,"16":129580516235018240,"45":9136255556381548544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929942784001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:18:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129580516235018240,"km_value":129580516235018.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136255556381548544,"description":"Unknown IO ID 45"} 
[2026-09-07 19:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929942784001,"power":12330,"unknown_88":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9136255556381548544}} 
[2026-09-07 19:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:38] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:38] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:46] local.INFO: TCP Data received {"connection_id":176488,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:18:46] local.INFO: Processing buffer {"connection_id":176488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:18:46] local.INFO: IMEI packet received {"connection_id":176488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":176488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:18:48] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:48] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:48] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:18:49] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:49] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:49] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:18:54] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:54] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:18:54] local.INFO: IMEI packet received {"connection_id":176489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":176489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:18:55] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1fdc90012ce91080071def18000c00752a..."} 
[2026-09-07 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1fdc90012ce91080071def18000c00752a..."} 
[2026-09-07 19:18:55] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1fdc90012ce91080071def18000c00752a..."} 
[2026-09-07 19:18:55] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:55] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":753471616,"raw_latitude":119402264,"longitude_deg":75.3471616,"latitude_deg":11.9402264,"altitude":12,"angle":117,"satellites":42,"speed":25,"hex_longitude":"2ce91080","hex_latitude":"071def18","is_valid_coordinates":true} 
[2026-09-07 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-07 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929942784001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402099734514237440,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1661757863187542016,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788788858000,"timestamp_ms":1788788858000,"timestamp_seconds":1788788858,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1fdc90"} 
[2026-09-07 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-07 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18:55] 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-07 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929942784001,"66":27397,"111":206,"83":43008,"24":25,"16":402099734514237440,"44":-1661757863187542016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-09-07 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929942784001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:55] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 19:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402099734514237440,"km_value":402099734514237.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1661757863187542016,"description":"Unknown IO ID 44"} 
[2026-09-07 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929942784001,"power":27397,"unknown_111":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1661757863187542016}} 
[2026-09-07 19:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:55] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:55] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:18:59] local.INFO: TCP Data received {"connection_id":176489,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1ffbd0012ce92000071de5c0000b00812b..."} 
[2026-09-07 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1ffbd0012ce92000071de5c0000b00812b..."} 
[2026-09-07 19:18:59] local.INFO: Processing buffer {"connection_id":176489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1ffbd0012ce92000071de5c0000b00812b..."} 
[2026-09-07 19:18:59] local.INFO: Packet analysis {"connection_id":176489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:59] local.INFO: Extracted packet for processing {"connection_id":176489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":753475584,"raw_latitude":119399872,"longitude_deg":75.3475584,"latitude_deg":11.9399872,"altitude":11,"angle":129,"satellites":43,"speed":22,"hex_longitude":"2ce92000","hex_latitude":"071de5c0","is_valid_coordinates":true} 
[2026-09-07 19:18: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-07 19:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929947648001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402099953557569536,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1652680295189637120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788788866000,"timestamp_ms":1788788866000,"timestamp_seconds":1788788866,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1ffbd0"} 
[2026-09-07 19:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:18: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-07 19:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:18:59] 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-07 19:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929947648001,"66":27213,"109":206,"83":43008,"24":22,"16":402099953557569536,"44":-1652680295189637120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929947648001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:18:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:18:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402099953557569536,"km_value":402099953557569.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1652680295189637120,"description":"Unknown IO ID 44"} 
[2026-09-07 19:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929947648001,"power":27213,"unknown_109":206,"unknown_83":43008,"ignition":22,"odometer":null,"unknown_44":-1652680295189637120}} 
[2026-09-07 19:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":176489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:18:59] local.INFO: GPS data processed {"connection_id":176489,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:18:59] local.INFO: Acknowledgment sent {"connection_id":176489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:09] local.INFO: TCP Data received {"connection_id":173741,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1fe078012d7efe0005c742e00000006826..."} 
[2026-09-07 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1fe078012d7efe0005c742e00000006826..."} 
[2026-09-07 19:19:09] local.INFO: Processing buffer {"connection_id":173741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c1fe078012d7efe0005c742e00000006826..."} 
[2026-09-07 19:19:09] local.INFO: Packet analysis {"connection_id":173741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:19:09] local.INFO: Extracted packet for processing {"connection_id":173741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":763297280,"raw_latitude":96944864,"longitude_deg":76.329728,"latitude_deg":9.6944864,"altitude":0,"angle":104,"satellites":38,"speed":26,"hex_longitude":"2d7efe00","hex_latitude":"05c742e0","is_valid_coordinates":true} 
[2026-09-07 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929944320001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129580967206584320,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140477681031804928,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1788788859000,"timestamp_ms":1788788859000,"timestamp_seconds":1788788859,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1fe078"} 
[2026-09-07 19:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-07 19:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929944320001,"66":12265,"88":206,"85":12288,"24":26,"16":129580967206584320,"45":9140477681031804928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929944320001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129580967206584320,"km_value":129580967206584.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140477681031804928,"description":"Unknown IO ID 45"} 
[2026-09-07 19:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929944320001,"power":12265,"unknown_88":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9140477681031804928}} 
[2026-09-07 19:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":173741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:09] local.INFO: GPS data processed {"connection_id":173741,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:09] local.INFO: Acknowledgment sent {"connection_id":173741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:32] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:19:32] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:19:32] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:19:33] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:19:33] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:19:33] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:19:34] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c1ff7e8012d7f0e0005c73c600000007326..."} 
[2026-09-07 19:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c1ff7e8012d7f0e0005c73c600000007326..."} 
[2026-09-07 19:19:34] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a07c..."} 
[2026-09-07 19:19:34] local.INFO: IMEI packet received {"connection_id":175079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":175079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:19:35] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c202ab0012d7f2e8005c72e700000006926..."} 
[2026-09-07 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c202ab0012d7f2e8005c72e700000006926..."} 
[2026-09-07 19:19:35] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07c1ff7e8012d7f0e0005c73c600000007326..."} 
[2026-09-07 19:19:35] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:19:35] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c1f"} 
[2026-09-07 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763301376,"raw_latitude":96943200,"longitude_deg":76.3301376,"latitude_deg":9.69432,"altitude":0,"angle":115,"satellites":38,"speed":28,"hex_longitude":"2d7f0e00","hex_latitude":"05c73c60","is_valid_coordinates":true} 
[2026-09-07 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929947904001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129581181954949120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150751517681311744,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1788788865000,"timestamp_ms":1788788865000,"timestamp_seconds":1788788865,"priority":1,"record_length":96,"hex_timestamp":"000001a07c1ff7e8"} 
[2026-09-07 19:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 19:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-07 19:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929947904001,"66":12504,"88":206,"85":12288,"24":28,"16":129581181954949120,"45":9150751517681311744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929947904001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:19:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129581181954949120,"km_value":129581181954949.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150751517681311744,"description":"Unknown IO ID 45"} 
[2026-09-07 19:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929947904001,"power":12504,"unknown_88":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9150751517681311744}} 
[2026-09-07 19:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:36] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:36] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:36] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:36] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:36] local.INFO: GPS Element Parsed {"raw_longitude":763309696,"raw_latitude":96939632,"longitude_deg":76.3309696,"latitude_deg":9.6939632,"altitude":0,"angle":105,"satellites":38,"speed":31,"hex_longitude":"2d7f2e80","hex_latitude":"05c72e70","is_valid_coordinates":true} 
[2026-09-07 19:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929949440001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129581615746646016,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155255117308256256,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788788878000,"timestamp_ms":1788788878000,"timestamp_seconds":1788788878,"priority":1,"record_length":96,"hex_timestamp":"000001a07c202ab0"} 
[2026-09-07 19:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19: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-07 19:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 19:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929949440001,"66":12341,"88":206,"85":12288,"24":31,"16":129581615746646016,"45":9155255117308256256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929949440001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:19:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129581615746646016,"km_value":129581615746646.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155255117308256256,"description":"Unknown IO ID 45"} 
[2026-09-07 19:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929949440001,"power":12341,"unknown_88":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9155255117308256256}} 
[2026-09-07 19:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:36] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:36] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:37] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c205d78012d7f538005c727580000006324..."} 
[2026-09-07 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c205d78012d7f538005c727580000006324..."} 
[2026-09-07 19:19:37] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c205d78012d7f538005c727580000006324..."} 
[2026-09-07 19:19:37] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:37] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763319168,"raw_latitude":96937816,"longitude_deg":76.3319168,"latitude_deg":9.6937816,"altitude":0,"angle":99,"satellites":36,"speed":26,"hex_longitude":"2d7f5380","hex_latitude":"05c72758","is_valid_coordinates":true} 
[2026-09-07 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929952768001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129582075308146688,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164403054050439168,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1788788891000,"timestamp_ms":1788788891000,"timestamp_seconds":1788788891,"priority":1,"record_length":96,"hex_timestamp":"000001a07c205d78"} 
[2026-09-07 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 19:19: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-07 19:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929952768001,"66":12232,"88":206,"85":12288,"24":26,"16":129582075308146688,"45":9164403054050439168},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929952768001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129582075308146688,"km_value":129582075308146.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164403054050439168,"description":"Unknown IO ID 45"} 
[2026-09-07 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929952768001,"power":12232,"unknown_88":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9164403054050439168}} 
[2026-09-07 19:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:38] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:38] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:44] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:44] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:44] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:19:45] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:45] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:45] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:19:49] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:49] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:19:49] local.INFO: IMEI packet received {"connection_id":173742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":173742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:19:50] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2026c8012ce93300071dd2b0000d008e2a..."} 
[2026-09-07 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2026c8012ce93300071dd2b0000d008e2a..."} 
[2026-09-07 19:19:50] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2026c8012ce93300071dd2b0000d008e2a..."} 
[2026-09-07 19:19:50] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:50] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":753480448,"raw_latitude":119394992,"longitude_deg":75.3480448,"latitude_deg":11.9394992,"altitude":13,"angle":142,"satellites":42,"speed":27,"hex_longitude":"2ce93300","hex_latitude":"071dd2b0","is_valid_coordinates":true} 
[2026-09-07 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929949696001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402100288565018624,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1648317433051234304,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788877000,"timestamp_ms":1788788877000,"timestamp_seconds":1788788877,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2026c8"} 
[2026-09-07 19:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:19:50] 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-07 19:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929949696001,"66":27310,"110":206,"83":43008,"24":27,"16":402100288565018624,"44":-1648317433051234304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 19:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929949696001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 19:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402100288565018624,"km_value":402100288565018.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1648317433051234304,"description":"Unknown IO ID 44"} 
[2026-09-07 19:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929949696001,"power":27310,"unknown_110":206,"unknown_83":43008,"ignition":27,"odometer":null,"unknown_44":-1648317433051234304}} 
[2026-09-07 19:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:50] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:50] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:19:51] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c205990012ce94740071db4d8000a00932a..."} 
[2026-09-07 19:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c205990012ce94740071db4d8000a00932a..."} 
[2026-09-07 19:19:51] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c205990012ce94740071db4d8000a00932a..."} 
[2026-09-07 19:19:51] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:51] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:19:51] local.INFO: GPS Element Parsed {"raw_longitude":753485632,"raw_latitude":119387352,"longitude_deg":75.3485632,"latitude_deg":11.9387352,"altitude":10,"angle":147,"satellites":42,"speed":25,"hex_longitude":"2ce94740","hex_latitude":"071db4d8","is_valid_coordinates":true} 
[2026-09-07 19:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929952512001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402100730946650112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1642969408494981120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788788890000,"timestamp_ms":1788788890000,"timestamp_seconds":1788788890,"priority":1,"record_length":96,"hex_timestamp":"000001a07c205990"} 
[2026-09-07 19:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:19: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-07 19:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 19:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:19: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-07 19:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929952512001,"66":27343,"110":206,"83":43008,"24":25,"16":402100730946650112,"44":-1642969408494981120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 19:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929952512001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:19:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 19:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402100730946650112,"km_value":402100730946650.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1642969408494981120,"description":"Unknown IO ID 44"} 
[2026-09-07 19:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929952512001,"power":27343,"unknown_110":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1642969408494981120}} 
[2026-09-07 19:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:19:51] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:19:51] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:20:11] local.INFO: TCP Data received {"connection_id":175079,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c209040012d7f788005c720400001006924..."} 
[2026-09-07 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c209040012d7f788005c720400001006924..."} 
[2026-09-07 19:20:11] local.INFO: Processing buffer {"connection_id":175079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c209040012d7f788005c720400001006924..."} 
[2026-09-07 19:20:11] local.INFO: Packet analysis {"connection_id":175079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:20:11] local.INFO: Extracted packet for processing {"connection_id":175079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c20"} 
[2026-09-07 19:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763328640,"raw_latitude":96936000,"longitude_deg":76.332864,"latitude_deg":9.6936,"altitude":1,"angle":105,"satellites":36,"speed":29,"hex_longitude":"2d7f7880","hex_latitude":"05c72040","is_valid_coordinates":true} 
[2026-09-07 19:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929956096001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129582534869647360,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174817628188268544,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788788904000,"timestamp_ms":1788788904000,"timestamp_seconds":1788788904,"priority":1,"record_length":96,"hex_timestamp":"000001a07c209040"} 
[2026-09-07 19:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 19:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929956096001,"66":12526,"88":206,"85":12288,"24":29,"16":129582534869647360,"45":9174817628188268544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 19:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929956096001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:20:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 19:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129582534869647360,"km_value":129582534869647.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174817628188268544,"description":"Unknown IO ID 45"} 
[2026-09-07 19:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929956096001,"power":12526,"unknown_88":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9174817628188268544}} 
[2026-09-07 19:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":175079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:20:11] local.INFO: GPS data processed {"connection_id":175079,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:20:11] local.INFO: Acknowledgment sent {"connection_id":175079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:20:29] local.INFO: TCP Data received {"connection_id":173742,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c21a980012ce9aa40071d3680000400172c..."} 
[2026-09-07 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c21a980012ce9aa40071d3680000400172c..."} 
[2026-09-07 19:20:29] local.INFO: Processing buffer {"connection_id":173742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c21a980012ce9aa40071d3680000400172c..."} 
[2026-09-07 19:20:29] local.INFO: Packet analysis {"connection_id":173742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:20:29] local.INFO: Extracted packet for processing {"connection_id":173742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":753510976,"raw_latitude":119355008,"longitude_deg":75.3510976,"latitude_deg":11.9355008,"altitude":4,"angle":23,"satellites":44,"speed":7,"hex_longitude":"2ce9aa40","hex_latitude":"071d3680","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929977600001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402102779646050304,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609473886276687872,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788788976000,"timestamp_ms":1788788976000,"timestamp_seconds":1788788976,"priority":1,"record_length":96,"hex_timestamp":"000001a07c21a980"} 
[2026-09-07 19: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-07 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:20:29] 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-07 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929977600001,"66":27234,"110":206,"83":43008,"24":7,"16":402102779646050304,"44":-1609473886276687872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929977600001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:20:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 19:20:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402102779646050304,"km_value":402102779646050.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609473886276687872,"description":"Unknown IO ID 44"} 
[2026-09-07 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929977600001,"power":27234,"unknown_110":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1609473886276687872}} 
[2026-09-07 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":173742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:20:29] local.INFO: GPS data processed {"connection_id":173742,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:20:29] local.INFO: Acknowledgment sent {"connection_id":173742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:20:37] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:37] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:37] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:20:43] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:43] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:20:43] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:20:43] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:43] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:43] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:20:44] local.INFO: TCP Data received {"connection_id":173973,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173973,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:20:44] local.INFO: Processing buffer {"connection_id":173973,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-09-07 19:20:44] local.INFO: IMEI packet received {"connection_id":173973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":173973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:20:44] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:44] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:44] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:20:49] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:49] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:20:49] local.INFO: IMEI packet received {"connection_id":176490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":176490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:20:50] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c21ad68012ce9aa80071d37300004000c2c..."} 
[2026-09-07 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c21ad68012ce9aa80071d37300004000c2c..."} 
[2026-09-07 19:20:50] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c21ad68012ce9aa80071d37300004000c2c..."} 
[2026-09-07 19:20:50] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:20:50] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":753511040,"raw_latitude":119355184,"longitude_deg":75.351104,"latitude_deg":11.9355184,"altitude":4,"angle":12,"satellites":44,"speed":7,"hex_longitude":"2ce9aa80","hex_latitude":"071d3730","is_valid_coordinates":true} 
[2026-09-07 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929977856001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402102788235984896,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609403517532471296,"note":"Value kept but may cause issues"} 
[2026-09-07 19:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788788977000,"timestamp_ms":1788788977000,"timestamp_seconds":1788788977,"priority":1,"record_length":96,"hex_timestamp":"000001a07c21ad68"} 
[2026-09-07 19:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:20:50] 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-07 19:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929977856001,"66":27234,"110":206,"83":43008,"24":7,"16":402102788235984896,"44":-1609403517532471296},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 19:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929977856001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:20:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 19:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402102788235984896,"km_value":402102788235984.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609403517532471296,"description":"Unknown IO ID 44"} 
[2026-09-07 19:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929977856001,"power":27234,"unknown_110":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1609403517532471296}} 
[2026-09-07 19:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:20:50] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:20:50] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:21:21] local.INFO: TCP Data received {"connection_id":176490,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c21b538012ce9aac0071d3960000401642c..."} 
[2026-09-07 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c21b538012ce9aac0071d3960000401642c..."} 
[2026-09-07 19:21:21] local.INFO: Processing buffer {"connection_id":176490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c21b538012ce9aac0071d3960000401642c..."} 
[2026-09-07 19:21:21] local.INFO: Packet analysis {"connection_id":176490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:21:21] local.INFO: Extracted packet for processing {"connection_id":176490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:21:21] local.INFO: GPS Element Parsed {"raw_longitude":753511104,"raw_latitude":119355744,"longitude_deg":75.3511104,"latitude_deg":11.9355744,"altitude":4,"angle":356,"satellites":44,"speed":14,"hex_longitude":"2ce9aac0","hex_latitude":"071d3960","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929978112001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402102818300755968,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609333148788248576,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788788979000,"timestamp_ms":1788788979000,"timestamp_seconds":1788788979,"priority":1,"record_length":96,"hex_timestamp":"000001a07c21b538"} 
[2026-09-07 19: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-07 19:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:21: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-07 19:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929978112001,"66":27234,"110":206,"83":43008,"24":14,"16":402102818300755968,"44":-1609333148788248576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-09-07 19:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929978112001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:21:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 19:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402102818300755968,"km_value":402102818300755.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609333148788248576,"description":"Unknown IO ID 44"} 
[2026-09-07 19:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929978112001,"power":27234,"unknown_110":206,"unknown_83":43008,"ignition":14,"odometer":null,"unknown_44":-1609333148788248576}} 
[2026-09-07 19:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":176490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:21:21] local.INFO: GPS data processed {"connection_id":176490,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:21:21] local.INFO: Acknowledgment sent {"connection_id":176490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:21:44] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:44] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:44] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:21:46] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:46] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:21:46] local.INFO: IMEI packet received {"connection_id":175081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":175081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:21:47] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c21efd0012ce9a4c0071d5d100005016629..."} 
[2026-09-07 19:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c21efd0012ce9a4c0071d5d100005016629..."} 
[2026-09-07 19:21:47] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c21efd0012ce9a4c0071d5d100005016629..."} 
[2026-09-07 19:21:47] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:21:47] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c21"} 
[2026-09-07 19:21:47] local.INFO: GPS Element Parsed {"raw_longitude":753509568,"raw_latitude":119364880,"longitude_deg":75.3509568,"latitude_deg":11.936488,"altitude":5,"angle":358,"satellites":41,"speed":21,"hex_longitude":"2ce9a4c0","hex_latitude":"071d5d10","is_valid_coordinates":true} 
[2026-09-07 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-07 19:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929978624001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402103264977354752,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609262780043927552,"note":"Value kept but may cause issues"} 
[2026-09-07 19:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788788994000,"timestamp_ms":1788788994000,"timestamp_seconds":1788788994,"priority":1,"record_length":96,"hex_timestamp":"000001a07c21efd0"} 
[2026-09-07 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-07 19:21: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-07 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:21: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-07 19:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929978624001,"66":27245,"76":206,"83":43008,"24":21,"16":402103264977354752,"44":-1609262780043927552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,83,24,16,44]} 
[2026-09-07 19:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929978624001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:21:47] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-09-07 19:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402103264977354752,"km_value":402103264977354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:21:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609262780043927552,"description":"Unknown IO ID 44"} 
[2026-09-07 19:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929978624001,"power":27245,"unknown_76":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-1609262780043927552}} 
[2026-09-07 19:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:21:47] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:21:47] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:22:17] local.INFO: TCP Data received {"connection_id":175081,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2310e0012ce9fc40071e5c38000400132c..."} 
[2026-09-07 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2310e0012ce9fc40071e5c38000400132c..."} 
[2026-09-07 19:22:17] local.INFO: Processing buffer {"connection_id":175081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2310e0012ce9fc40071e5c38000400132c..."} 
[2026-09-07 19:22:17] local.INFO: Packet analysis {"connection_id":175081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:22:17] local.INFO: Extracted packet for processing {"connection_id":175081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":753531968,"raw_latitude":119430200,"longitude_deg":75.3531968,"latitude_deg":11.94302,"altitude":4,"angle":19,"satellites":44,"speed":14,"hex_longitude":"2ce9fc40","hex_latitude":"071e5c38","is_valid_coordinates":true} 
[2026-09-07 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-07 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457929999104001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402106640821649408,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586815150632652800,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788789068000,"timestamp_ms":1788789068000,"timestamp_seconds":1788789068,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2310e0"} 
[2026-09-07 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-07 19:22: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-07 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":175081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":175081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:22: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-07 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457929999104001,"66":27234,"68":206,"83":43008,"24":14,"16":402106640821649408,"44":-1586815150632652800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457929999104001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:22:17] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402106640821649408,"km_value":402106640821649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586815150632652800,"description":"Unknown IO ID 44"} 
[2026-09-07 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457929999104001,"power":27234,"unknown_68":206,"unknown_83":43008,"ignition":14,"odometer":null,"unknown_44":-1586815150632652800}} 
[2026-09-07 19:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":175081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:22:17] local.INFO: GPS data processed {"connection_id":175081,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:22:17] local.INFO: Acknowledgment sent {"connection_id":175081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:22:44] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:44] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:44] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:22:49] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:49] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:22:49] local.INFO: IMEI packet received {"connection_id":175082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":175082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:22:50] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2362e8012cea0340071e73800008001129..."} 
[2026-09-07 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2362e8012cea0340071e73800008001129..."} 
[2026-09-07 19:22:50] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2362e8012cea0340071e73800008001129..."} 
[2026-09-07 19:22:50] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:22:50] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119436160,"longitude_deg":75.353376,"latitude_deg":11.943616,"altitude":8,"angle":17,"satellites":41,"speed":23,"hex_longitude":"2cea0340","hex_latitude":"071e7380","is_valid_coordinates":true} 
[2026-09-07 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-07 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930001408001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402106941469360128,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586322569422948352,"note":"Value kept but may cause issues"} 
[2026-09-07 19:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789089000,"timestamp_ms":1788789089000,"timestamp_seconds":1788789089,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2362e8"} 
[2026-09-07 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-07 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:22:50] 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-07 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930001408001,"66":27376,"68":206,"83":43008,"24":23,"16":402106941469360128,"44":-1586322569422948352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930001408001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:22:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402106941469360128,"km_value":402106941469360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586322569422948352,"description":"Unknown IO ID 44"} 
[2026-09-07 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930001408001,"power":27376,"unknown_68":206,"unknown_83":43008,"ignition":23,"odometer":null,"unknown_44":-1586322569422948352}} 
[2026-09-07 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:22:50] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:22:50] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:23:21] local.INFO: TCP Data received {"connection_id":175082,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2389f8012cea1040071e91a00007001f2c..."} 
[2026-09-07 19:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2389f8012cea1040071e91a00007001f2c..."} 
[2026-09-07 19:23:21] local.INFO: Processing buffer {"connection_id":175082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2389f8012cea1040071e91a00007001f2c..."} 
[2026-09-07 19:23:21] local.INFO: Packet analysis {"connection_id":175082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:23:21] local.INFO: Extracted packet for processing {"connection_id":175082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:23:21] local.INFO: GPS Element Parsed {"raw_longitude":753537088,"raw_latitude":119443872,"longitude_deg":75.3537088,"latitude_deg":11.9443872,"altitude":7,"angle":31,"satellites":44,"speed":39,"hex_longitude":"2cea1040","hex_latitude":"071e91a0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930006784001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107349491253248,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244584448000,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789099000,"timestamp_ms":1788789099000,"timestamp_seconds":1788789099,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2389f8"} 
[2026-09-07 19: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-07 19:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 19:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:23: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-07 19:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930006784001,"66":27234,"68":206,"83":43008,"24":39,"16":402107349491253248,"44":-1584352244584448000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930006784001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:23:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:23:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107349491253248,"km_value":402107349491253.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584352244584448000,"description":"Unknown IO ID 44"} 
[2026-09-07 19:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930006784001,"power":27234,"unknown_68":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1584352244584448000}} 
[2026-09-07 19:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":175082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:23:21] local.INFO: GPS data processed {"connection_id":175082,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:23:21] local.INFO: Acknowledgment sent {"connection_id":175082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:23:43] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:43] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:43] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:23:44] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:44] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:44] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:23:49] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:49] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:23:49] local.INFO: IMEI packet received {"connection_id":173976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:23:50] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c239d80012cea1a80071e9ec0000800302b..."} 
[2026-09-07 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c239d80012cea1a80071e9ec0000800302b..."} 
[2026-09-07 19:23:50] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c239d80012cea1a80071e9ec0000800302b..."} 
[2026-09-07 19:23:50] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:23:50] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":753539712,"raw_latitude":119447232,"longitude_deg":75.3539712,"latitude_deg":11.9447232,"altitude":8,"angle":48,"satellites":43,"speed":29,"hex_longitude":"2cea1a80","hex_latitude":"071e9ec0","is_valid_coordinates":true} 
[2026-09-07 19:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930009344001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107555649683456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580693069885235200,"note":"Value kept but may cause issues"} 
[2026-09-07 19:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789104000,"timestamp_ms":1788789104000,"timestamp_seconds":1788789104,"priority":1,"record_length":96,"hex_timestamp":"000001a07c239d80"} 
[2026-09-07 19:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:23:50] 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-07 19:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930009344001,"66":27213,"68":206,"83":43008,"24":29,"16":402107555649683456,"44":-1580693069885235200},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930009344001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:23:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107555649683456,"km_value":402107555649683.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580693069885235200,"description":"Unknown IO ID 44"} 
[2026-09-07 19:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930009344001,"power":27213,"unknown_68":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1580693069885235200}} 
[2026-09-07 19:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:23:50] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:23:50] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:24:21] local.INFO: TCP Data received {"connection_id":173976,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c23a168012cea1cc0071ea0400008003d2b..."} 
[2026-09-07 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c23a168012cea1cc0071ea0400008003d2b..."} 
[2026-09-07 19:24:21] local.INFO: Processing buffer {"connection_id":173976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c23a168012cea1cc0071ea0400008003d2b..."} 
[2026-09-07 19:24:21] local.INFO: Packet analysis {"connection_id":173976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:24:21] local.INFO: Extracted packet for processing {"connection_id":173976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:24:21] local.INFO: GPS Element Parsed {"raw_longitude":753540288,"raw_latitude":119447616,"longitude_deg":75.3540288,"latitude_deg":11.9447616,"altitude":8,"angle":61,"satellites":43,"speed":25,"hex_longitude":"2cea1cc0","hex_latitude":"071ea040","is_valid_coordinates":true} 
[2026-09-07 19:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930010624001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107590009421824,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577807951373090816,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789105000,"timestamp_ms":1788789105000,"timestamp_seconds":1788789105,"priority":1,"record_length":96,"hex_timestamp":"000001a07c23a168"} 
[2026-09-07 19:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:24: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-07 19:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930010624001,"66":27071,"68":206,"83":43008,"24":25,"16":402107590009421824,"44":-1577807951373090816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930010624001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:24:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:24:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107590009421824,"km_value":402107590009421.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577807951373090816,"description":"Unknown IO ID 44"} 
[2026-09-07 19:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930010624001,"power":27071,"unknown_68":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1577807951373090816}} 
[2026-09-07 19:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":173976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:24:21] local.INFO: GPS data processed {"connection_id":173976,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:24:21] local.INFO: Acknowledgment sent {"connection_id":173976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:24:21] local.INFO: TCP Data received {"connection_id":176493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:21] local.INFO: Processing buffer {"connection_id":176493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:21] local.INFO: IMEI packet received {"connection_id":176493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":176493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:24:44] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:44] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:44] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:24:46] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:46] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:46] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:24:46] local.INFO: TCP Data received {"connection_id":173977,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:46] local.INFO: Processing buffer {"connection_id":173977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:24:46] local.INFO: IMEI packet received {"connection_id":173977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":173977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:24:49] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:49] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:24:49] local.INFO: IMEI packet received {"connection_id":176494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":176494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:24:50] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c23a550012cea1ec0071ea0c80008004e2c..."} 
[2026-09-07 19:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c23a550012cea1ec0071ea0c80008004e2c..."} 
[2026-09-07 19:24:50] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c23a550012cea1ec0071ea0c80008004e2c..."} 
[2026-09-07 19:24:50] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:24:50] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753540800,"raw_latitude":119447752,"longitude_deg":75.35408,"latitude_deg":11.9447752,"altitude":8,"angle":78,"satellites":44,"speed":21,"hex_longitude":"2cea1ec0","hex_latitude":"071ea0c8","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930010880001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107615779225600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1577174632675393536,"note":"Value kept but may cause issues"} 
[2026-09-07 19:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789106000,"timestamp_ms":1788789106000,"timestamp_seconds":1788789106,"priority":1,"record_length":96,"hex_timestamp":"000001a07c23a550"} 
[2026-09-07 19: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-07 19:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-07 19:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:24:50] 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-07 19:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930010880001,"66":27071,"68":206,"83":43008,"24":21,"16":402107615779225600,"44":-1577174632675393536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930010880001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:24:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107615779225600,"km_value":402107615779225.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1577174632675393536,"description":"Unknown IO ID 44"} 
[2026-09-07 19:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930010880001,"power":27071,"unknown_68":206,"unknown_83":43008,"ignition":21,"odometer":null,"unknown_44":-1577174632675393536}} 
[2026-09-07 19:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:24:50] local.INFO: GPS data processed {"connection_id":176494,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:24:50] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:25:21] local.INFO: TCP Data received {"connection_id":176494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c23a938012cea2080071e9fb0000800752b..."} 
[2026-09-07 19:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c23a938012cea2080071e9fb0000800752b..."} 
[2026-09-07 19:25:21] local.INFO: Processing buffer {"connection_id":176494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c23a938012cea2080071e9fb0000800752b..."} 
[2026-09-07 19:25:21] local.INFO: Packet analysis {"connection_id":176494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:25:21] local.INFO: Extracted packet for processing {"connection_id":176494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:25:21] local.INFO: GPS Element Parsed {"raw_longitude":753541248,"raw_latitude":119447472,"longitude_deg":75.3541248,"latitude_deg":11.9447472,"altitude":8,"angle":117,"satellites":43,"speed":18,"hex_longitude":"2cea2080","hex_latitude":"071e9fb0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930011136001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107641549029376,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576611682721937408,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789107000,"timestamp_ms":1788789107000,"timestamp_seconds":1788789107,"priority":1,"record_length":96,"hex_timestamp":"000001a07c23a938"} 
[2026-09-07 19: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-07 19:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-07 19:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930011136001,"66":27321,"68":206,"83":43008,"24":18,"16":402107641549029376,"44":-1576611682721937408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930011136001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:25:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:25:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107641549029376,"km_value":402107641549029.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1576611682721937408,"description":"Unknown IO ID 44"} 
[2026-09-07 19:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930011136001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":18,"odometer":null,"unknown_44":-1576611682721937408}} 
[2026-09-07 19:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":176494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:25:21] local.INFO: GPS data processed {"connection_id":176494,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:25:21] local.INFO: Acknowledgment sent {"connection_id":176494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:25:44] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:44] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:44] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:25:47] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:25:47] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:25:47] local.INFO: IMEI packet received {"connection_id":176495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":176495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:25:48] local.INFO: TCP Data received {"connection_id":176495,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c26d1d0012d82054005c7d3500004006c28..."} 
[2026-09-07 19:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c26d1d0012d82054005c7d3500004006c28..."} 
[2026-09-07 19:25:48] local.INFO: Processing buffer {"connection_id":176495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c26d1d0012d82054005c7d3500004006c28..."} 
[2026-09-07 19:25:48] local.INFO: Packet analysis {"connection_id":176495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:25:48] local.INFO: Extracted packet for processing {"connection_id":176495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763495744,"raw_latitude":96981840,"longitude_deg":76.3495744,"latitude_deg":9.698184,"altitude":4,"angle":108,"satellites":40,"speed":12,"hex_longitude":"2d820540","hex_latitude":"05c7d350","is_valid_coordinates":true} 
[2026-09-07 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-07 19:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930064128001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129593826338668544,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078130924044703744,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788789314000,"timestamp_ms":1788789314000,"timestamp_seconds":1788789314,"priority":1,"record_length":96,"hex_timestamp":"000001a07c26d1d0"} 
[2026-09-07 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-07 19:25: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-07 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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-07 19:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930064128001,"66":12428,"114":206,"85":12288,"24":12,"16":129593826338668544,"45":-9078130924044703744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930064128001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:25:48] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129593826338668544,"km_value":129593826338668.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078130924044703744,"description":"Unknown IO ID 45"} 
[2026-09-07 19:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930064128001,"power":12428,"unknown_114":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9078130924044703744}} 
[2026-09-07 19:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":176495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:25:48] local.INFO: GPS data processed {"connection_id":176495,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:25:48] local.INFO: Acknowledgment sent {"connection_id":176495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:25:49] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:49] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:25:49] local.INFO: IMEI packet received {"connection_id":175083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":175083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:25:51] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c23ad20012cea21c0071e9e300008008f2d..."} 
[2026-09-07 19:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c23ad20012cea21c0071e9e300008008f2d..."} 
[2026-09-07 19:25:51] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c23ad20012cea21c0071e9e300008008f2d..."} 
[2026-09-07 19:25:51] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:25:51] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c23"} 
[2026-09-07 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":753541568,"raw_latitude":119447088,"longitude_deg":75.3541568,"latitude_deg":11.9447088,"altitude":8,"angle":143,"satellites":45,"speed":18,"hex_longitude":"2cea21c0","hex_latitude":"071e9e30","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930011392001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402107663023865856,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1576119101512765440,"note":"Value kept but may cause issues"} 
[2026-09-07 19:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788789108000,"timestamp_ms":1788789108000,"timestamp_seconds":1788789108,"priority":1,"record_length":96,"hex_timestamp":"000001a07c23ad20"} 
[2026-09-07 19: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-07 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:25: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-07 19:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930011392001,"66":27321,"68":206,"83":43008,"24":18,"16":402107663023865856,"44":-1576119101512765440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930011392001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:25:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402107663023865856,"km_value":402107663023865.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1576119101512765440,"description":"Unknown IO ID 44"} 
[2026-09-07 19:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930011392001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":18,"odometer":null,"unknown_44":-1576119101512765440}} 
[2026-09-07 19:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:25:51] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:25:51] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:26:22] local.INFO: TCP Data received {"connection_id":175083,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c267410012cea1540071e35a8000900b72d..."} 
[2026-09-07 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c267410012cea1540071e35a8000900b72d..."} 
[2026-09-07 19:26:22] local.INFO: Processing buffer {"connection_id":175083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c267410012cea1540071e35a8000900b72d..."} 
[2026-09-07 19:26:22] local.INFO: Packet analysis {"connection_id":175083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:22] local.INFO: Extracted packet for processing {"connection_id":175083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":753538368,"raw_latitude":119420328,"longitude_deg":75.3538368,"latitude_deg":11.9420328,"altitude":9,"angle":183,"satellites":45,"speed":0,"hex_longitude":"2cea1540","hex_latitude":"071e35a8","is_valid_coordinates":true} 
[2026-09-07 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930052864001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402108998758694912,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579285695007606784,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788789290000,"timestamp_ms":1788789290000,"timestamp_seconds":1788789290,"priority":1,"record_length":96,"hex_timestamp":"000001a07c267410"} 
[2026-09-07 19:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:26: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-07 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:26: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-07 19:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930052864001,"66":27463,"68":206,"83":43008,"24":0,"16":402108998758694912,"44":-1579285695007606784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930052864001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:26:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402108998758694912,"km_value":402108998758694.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579285695007606784,"description":"Unknown IO ID 44"} 
[2026-09-07 19:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930052864001,"power":27463,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1579285695007606784}} 
[2026-09-07 19:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":175083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:26:22] local.INFO: GPS data processed {"connection_id":175083,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:26:22] local.INFO: Acknowledgment sent {"connection_id":175083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:26:25] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:25] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:25] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:26:27] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:27] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:27] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:26:32] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:32] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:26:32] local.INFO: IMEI packet received {"connection_id":173746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":173746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:26:33] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c26e170012d820b0005c7d1f00004006128..."} 
[2026-09-07 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c26e170012d820b0005c7d1f00004006128..."} 
[2026-09-07 19:26:33] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c26e170012d820b0005c7d1f00004006128..."} 
[2026-09-07 19:26:33] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:33] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763497216,"raw_latitude":96981488,"longitude_deg":76.3497216,"latitude_deg":9.6981488,"altitude":4,"angle":97,"satellites":40,"speed":19,"hex_longitude":"2d820b00","hex_latitude":"05c7d1f0","is_valid_coordinates":true} 
[2026-09-07 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930064384001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129593903648079872,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077779080323837952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789318000,"timestamp_ms":1788789318000,"timestamp_seconds":1788789318,"priority":1,"record_length":96,"hex_timestamp":"000001a07c26e170"} 
[2026-09-07 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-07 19:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930064384001,"66":12461,"114":206,"85":12288,"24":19,"16":129593903648079872,"45":-9077779080323837952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930064384001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:26:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129593903648079872,"km_value":129593903648079.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077779080323837952,"description":"Unknown IO ID 45"} 
[2026-09-07 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930064384001,"power":12461,"unknown_114":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9077779080323837952}} 
[2026-09-07 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:26:33] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:26:33] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:26:49] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:49] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:49] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:26:52] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:52] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:26:52] local.INFO: IMEI packet received {"connection_id":176497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":176497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:26:53] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c26c618012cea1500071e2fc8000900b72e..."} 
[2026-09-07 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c26c618012cea1500071e2fc8000900b72e..."} 
[2026-09-07 19:26:53] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c26c618012cea1500071e2fc8000900b72e..."} 
[2026-09-07 19:26:53] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:53] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c26"} 
[2026-09-07 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":753538304,"raw_latitude":119418824,"longitude_deg":75.3538304,"latitude_deg":11.9418824,"altitude":9,"angle":183,"satellites":46,"speed":0,"hex_longitude":"2cea1500","hex_latitude":"071e2fc8","is_valid_coordinates":true} 
[2026-09-07 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930058240001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109071773138944,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579285695007709184,"note":"Value kept but may cause issues"} 
[2026-09-07 19:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788789311000,"timestamp_ms":1788789311000,"timestamp_seconds":1788789311,"priority":1,"record_length":96,"hex_timestamp":"000001a07c26c618"} 
[2026-09-07 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 19:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:26: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-07 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930058240001,"66":27343,"68":206,"83":43008,"24":0,"16":402109071773138944,"44":-1579285695007709184},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930058240001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:26:53] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109071773138944,"km_value":402109071773138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:26:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579285695007709184,"description":"Unknown IO ID 44"} 
[2026-09-07 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930058240001,"power":27343,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1579285695007709184}} 
[2026-09-07 19:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:26:53] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:26:53] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:27:05] local.INFO: TCP Data received {"connection_id":173746,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2723d8012d822f4005c7cdd80006006828..."} 
[2026-09-07 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2723d8012d822f4005c7cdd80006006828..."} 
[2026-09-07 19:27:05] local.INFO: Processing buffer {"connection_id":173746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2723d8012d822f4005c7cdd80006006828..."} 
[2026-09-07 19:27:05] local.INFO: Packet analysis {"connection_id":173746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:05] local.INFO: Extracted packet for processing {"connection_id":173746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763506496,"raw_latitude":96980440,"longitude_deg":76.3506496,"latitude_deg":9.698044,"altitude":6,"angle":104,"satellites":40,"speed":21,"hex_longitude":"2d822f40","hex_latitude":"05c7cdd8","is_valid_coordinates":true} 
[2026-09-07 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930065408001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129594346029711360,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9076160599207841792,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788789335000,"timestamp_ms":1788789335000,"timestamp_seconds":1788789335,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2723d8"} 
[2026-09-07 19:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 19:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930065408001,"66":12341,"114":206,"85":12288,"24":21,"16":129594346029711360,"45":-9076160599207841792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930065408001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:27:05] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129594346029711360,"km_value":129594346029711.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9076160599207841792,"description":"Unknown IO ID 45"} 
[2026-09-07 19:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930065408001,"power":12341,"unknown_114":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9076160599207841792}} 
[2026-09-07 19:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":173746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:27:05] local.INFO: GPS data processed {"connection_id":173746,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:27:05] local.INFO: Acknowledgment sent {"connection_id":173746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:27:24] local.INFO: TCP Data received {"connection_id":176497,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c271820012cea1440071e23e0000800b42d..."} 
[2026-09-07 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c271820012cea1440071e23e0000800b42d..."} 
[2026-09-07 19:27:24] local.INFO: Processing buffer {"connection_id":176497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c271820012cea1440071e23e0000800b42d..."} 
[2026-09-07 19:27:24] local.INFO: Packet analysis {"connection_id":176497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:24] local.INFO: Extracted packet for processing {"connection_id":176497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":753538112,"raw_latitude":119415776,"longitude_deg":75.3538112,"latitude_deg":11.9415776,"altitude":8,"angle":180,"satellites":45,"speed":6,"hex_longitude":"2cea1440","hex_latitude":"071e23e0","is_valid_coordinates":true} 
[2026-09-07 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-07 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930063616001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109217802027008,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579356063752271872,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788789332000,"timestamp_ms":1788789332000,"timestamp_seconds":1788789332,"priority":1,"record_length":96,"hex_timestamp":"000001a07c271820"} 
[2026-09-07 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-07 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:27:24] 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-07 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930063616001,"66":27321,"68":206,"83":43008,"24":6,"16":402109217802027008,"44":-1579356063752271872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930063616001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:27:24] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109217802027008,"km_value":402109217802027.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579356063752271872,"description":"Unknown IO ID 44"} 
[2026-09-07 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930063616001,"power":27321,"unknown_68":206,"unknown_83":43008,"ignition":6,"odometer":null,"unknown_44":-1579356063752271872}} 
[2026-09-07 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":176497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:27:24] local.INFO: GPS data processed {"connection_id":176497,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:27:24] local.INFO: Acknowledgment sent {"connection_id":176497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:27:27] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:27] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:27] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:27:28] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:28] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:28] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:27:32] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:32] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:27:32] local.INFO: IMEI packet received {"connection_id":173978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":173978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:27:33] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c275a88012d82494005c7c5680006005d26..."} 
[2026-09-07 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c275a88012d82494005c7c5680006005d26..."} 
[2026-09-07 19:27:33] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c275a88012d82494005c7c5680006005d26..."} 
[2026-09-07 19:27:33] local.INFO: Packet analysis {"connection_id":173978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:33] local.INFO: Extracted packet for processing {"connection_id":173978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763513152,"raw_latitude":96978280,"longitude_deg":76.3513152,"latitude_deg":9.697828,"altitude":6,"angle":93,"satellites":38,"speed":21,"hex_longitude":"2d824940","hex_latitude":"05c7c568","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930069760001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129594685332127744,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065957131302348800,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789349000,"timestamp_ms":1788789349000,"timestamp_seconds":1788789349,"priority":1,"record_length":96,"hex_timestamp":"000001a07c275a88"} 
[2026-09-07 19: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-07 19:27: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-07 19:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 19:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930069760001,"66":11776,"114":206,"85":12288,"24":21,"16":129594685332127744,"45":-9065957131302348800},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930069760001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:27:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129594685332127744,"km_value":129594685332127.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065957131302348800,"description":"Unknown IO ID 45"} 
[2026-09-07 19:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930069760001,"power":11776,"unknown_114":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9065957131302348800}} 
[2026-09-07 19:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":173978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:27:33] local.INFO: GPS data processed {"connection_id":173978,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:27:33] local.INFO: Acknowledgment sent {"connection_id":173978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:27:45] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:45] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:45] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:27:49] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:49] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:27:49] local.INFO: IMEI packet received {"connection_id":176498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":176498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:27:51] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c276a28012cea1400071e1500000500b62e..."} 
[2026-09-07 19:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c276a28012cea1400071e1500000500b62e..."} 
[2026-09-07 19:27:51] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c276a28012cea1400071e1500000500b62e..."} 
[2026-09-07 19:27:51] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:51] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753538048,"raw_latitude":119411968,"longitude_deg":75.3538048,"latitude_deg":11.9411968,"altitude":5,"angle":182,"satellites":46,"speed":0,"hex_longitude":"2cea1400","hex_latitude":"071e1500","is_valid_coordinates":true} 
[2026-09-07 19:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930068992001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109406780588032,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579567169985585152,"note":"Value kept but may cause issues"} 
[2026-09-07 19:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788789353000,"timestamp_ms":1788789353000,"timestamp_seconds":1788789353,"priority":1,"record_length":96,"hex_timestamp":"000001a07c276a28"} 
[2026-09-07 19:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:27: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-07 19:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930068992001,"66":27343,"68":206,"83":43008,"24":0,"16":402109406780588032,"44":-1579567169985585152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930068992001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:27:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109406780588032,"km_value":402109406780588.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579567169985585152,"description":"Unknown IO ID 44"} 
[2026-09-07 19:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930068992001,"power":27343,"unknown_68":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1579567169985585152}} 
[2026-09-07 19:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:27:51] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:27:51] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:28:04] local.INFO: TCP Data received {"connection_id":173978,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2775e0012d82594005c7c5e80007005125..."} 
[2026-09-07 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2775e0012d82594005c7c5e80007005125..."} 
[2026-09-07 19:28:04] local.INFO: Processing buffer {"connection_id":173978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2775e0012d82594005c7c5e80007005125..."} 
[2026-09-07 19:28:04] local.INFO: Packet analysis {"connection_id":173978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:04] local.INFO: Extracted packet for processing {"connection_id":173978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763517248,"raw_latitude":96978408,"longitude_deg":76.3517248,"latitude_deg":9.6978408,"altitude":7,"angle":81,"satellites":37,"speed":22,"hex_longitude":"2d825940","hex_latitude":"05c7c5e8","is_valid_coordinates":true} 
[2026-09-07 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930073344001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129594878605656064,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058638781908424704,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789356000,"timestamp_ms":1788789356000,"timestamp_seconds":1788789356,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2775e0"} 
[2026-09-07 19:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181300229,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826043598,"corrected_to":0} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3551002628,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:04] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":77186,"corrected_to":0} 
[2026-09-07 19:28:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1759510528,"corrected_to":0} 
[2026-09-07 19:28:04] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,114,85,24,241,157,16,105,160,35,45,64,205,6,40,10,66,225,209,4,104,1,240,140,227,124,199,113,11,202,3,192,239,48,2,204],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2826043598,"validated":0},{"io_id":202,"original":77186,"validated":0},{"io_id":204,"original":1759510528,"validated":0}]} 
[2026-09-07 19:28:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432447982019084288,"timestamp_seconds":432447982019084.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930073344001,"66":12298,"114":206,"85":12288,"24":22,"16":129594878605656064,"45":-9058638781908424704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930073344001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129594878605656064,"km_value":129594878605656.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058638781908424704,"description":"Unknown IO ID 45"} 
[2026-09-07 19:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930073344001,"power":12298,"unknown_114":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9058638781908424704}} 
[2026-09-07 19:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":173978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:28:04] local.INFO: GPS data processed {"connection_id":173978,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:28:04] local.INFO: Acknowledgment sent {"connection_id":173978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:28:22] local.INFO: TCP Data received {"connection_id":176498,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c27bc30012cea1400071e10e0000500b72e..."} 
[2026-09-07 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c27bc30012cea1400071e10e0000500b72e..."} 
[2026-09-07 19:28:22] local.INFO: Processing buffer {"connection_id":176498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c27bc30012cea1400071e10e0000500b72e..."} 
[2026-09-07 19:28:22] local.INFO: Packet analysis {"connection_id":176498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:22] local.INFO: Extracted packet for processing {"connection_id":176498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753538048,"raw_latitude":119410912,"longitude_deg":75.3538048,"latitude_deg":11.9410912,"altitude":5,"angle":183,"satellites":46,"speed":8,"hex_longitude":"2cea1400","hex_latitude":"071e10e0","is_valid_coordinates":true} 
[2026-09-07 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930074368001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109458320195584,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579637538730737664,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788789374000,"timestamp_ms":1788789374000,"timestamp_seconds":1788789374,"priority":1,"record_length":96,"hex_timestamp":"000001a07c27bc30"} 
[2026-09-07 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:28: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-07 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:28: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-07 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930074368001,"66":27397,"68":206,"83":43008,"24":8,"16":402109458320195584,"44":-1579637538730737664},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930074368001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:28:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:28:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109458320195584,"km_value":402109458320195.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579637538730737664,"description":"Unknown IO ID 44"} 
[2026-09-07 19:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930074368001,"power":27397,"unknown_68":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1579637538730737664}} 
[2026-09-07 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":176498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:28:22] local.INFO: GPS data processed {"connection_id":176498,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:28:22] local.INFO: Acknowledgment sent {"connection_id":176498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:28:27] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:27] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:27] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:28:31] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:31] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:28:31] local.INFO: IMEI packet received {"connection_id":173979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":173979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:28:32] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c27c7e8012d82724005c7ca88000a004f25..."} 
[2026-09-07 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c27c7e8012d82724005c7ca88000a004f25..."} 
[2026-09-07 19:28:32] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c27c7e8012d82724005c7ca88000a004f25..."} 
[2026-09-07 19:28:32] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:32] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763523648,"raw_latitude":96979592,"longitude_deg":76.3523648,"latitude_deg":9.6979592,"altitude":10,"angle":79,"satellites":37,"speed":10,"hex_longitude":"2d827240","hex_latitude":"05c7ca88","is_valid_coordinates":true} 
[2026-09-07 19:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930075136001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595192138268672,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9054135182281021440,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788789377000,"timestamp_ms":1788789377000,"timestamp_seconds":1788789377,"priority":1,"record_length":96,"hex_timestamp":"000001a07c27c7e8"} 
[2026-09-07 19:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902267380224,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8946051221252047361,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181382149,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":416533590587998263,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587346136727758,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3892391298,"corrected_to":0} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2814749767761924,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":104,"raw_value":-2305843009213693951,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3545235460,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":22280503793025024,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1759707136,"corrected_to":0} 
[2026-09-07 19:28:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3352543232,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:32] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,114,85,24,241,157,16,105,160,90,45,64,197,6,38,10,66,35,205,40,225,1,240,173,227,104,124,199,4,113,12,168,239,48,2,204,5],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3892391298,"validated":0},{"io_id":204,"original":1759707136,"validated":0}]} 
[2026-09-07 19:28:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504492377622577152,"timestamp_seconds":504492377622577.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930075136001,"66":12439,"114":206,"85":12288,"24":10,"16":129595192138268672,"45":-9054135182281021440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930075136001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:28:32] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595192138268672,"km_value":129595192138268.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9054135182281021440,"description":"Unknown IO ID 45"} 
[2026-09-07 19:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930075136001,"power":12439,"unknown_114":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-9054135182281021440}} 
[2026-09-07 19:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:28:32] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:28:32] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:28:44] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:44] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:44] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:28:49] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:49] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:28:49] local.INFO: IMEI packet received {"connection_id":173748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":173748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:28:50] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c280e38012cea12c0071dfc38000500b92d..."} 
[2026-09-07 19:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c280e38012cea12c0071dfc38000500b92d..."} 
[2026-09-07 19:28:50] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c280e38012cea12c0071dfc38000500b92d..."} 
[2026-09-07 19:28:50] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:28:50] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:28:50] local.INFO: GPS Element Parsed {"raw_longitude":753537728,"raw_latitude":119405624,"longitude_deg":75.3537728,"latitude_deg":11.9405624,"altitude":5,"angle":185,"satellites":45,"speed":13,"hex_longitude":"2cea12c0","hex_latitude":"071dfc38","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930079744001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109716018233344,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579637538731008000,"note":"Value kept but may cause issues"} 
[2026-09-07 19:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789395000,"timestamp_ms":1788789395000,"timestamp_seconds":1788789395,"priority":1,"record_length":96,"hex_timestamp":"000001a07c280e38"} 
[2026-09-07 19: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-07 19:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:28:50] 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-07 19:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930079744001,"66":27365,"68":206,"83":43008,"24":13,"16":402109716018233344,"44":-1579637538731008000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930079744001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:28:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109716018233344,"km_value":402109716018233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579637538731008000,"description":"Unknown IO ID 44"} 
[2026-09-07 19:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930079744001,"power":27365,"unknown_68":206,"unknown_83":43008,"ignition":13,"odometer":null,"unknown_44":-1579637538731008000}} 
[2026-09-07 19:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:28:50] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:28:50] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:29:03] local.INFO: TCP Data received {"connection_id":173979,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c27e340012d827a4005c7cb68000a005d26..."} 
[2026-09-07 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c27e340012d827a4005c7cb68000a005d26..."} 
[2026-09-07 19:29:03] local.INFO: Processing buffer {"connection_id":173979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c27e340012d827a4005c7cb68000a005d26..."} 
[2026-09-07 19:29:03] local.INFO: Packet analysis {"connection_id":173979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:29:03] local.INFO: Extracted packet for processing {"connection_id":173979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c27"} 
[2026-09-07 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763525696,"raw_latitude":96979816,"longitude_deg":76.3525696,"latitude_deg":9.6979816,"altitude":10,"angle":93,"satellites":38,"speed":9,"hex_longitude":"2d827a40","hex_latitude":"05c7cb68","is_valid_coordinates":true} 
[2026-09-07 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930080512001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595290922516480,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047098307862951936,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788789384000,"timestamp_ms":1788789384000,"timestamp_seconds":1788789384,"priority":1,"record_length":96,"hex_timestamp":"000001a07c27e340"} 
[2026-09-07 19:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:29: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-07 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 19:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930080512001,"66":11928,"114":206,"85":12288,"24":9,"16":129595290922516480,"45":-9047098307862951936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-09-07 19:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930080512001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:29:03] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-09-07 19:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595290922516480,"km_value":129595290922516.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047098307862951936,"description":"Unknown IO ID 45"} 
[2026-09-07 19:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930080512001,"power":11928,"unknown_114":206,"unknown_85":12288,"ignition":9,"odometer":null,"unknown_45":-9047098307862951936}} 
[2026-09-07 19:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":173979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:29:03] local.INFO: GPS data processed {"connection_id":173979,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:29:03] local.INFO: Acknowledgment sent {"connection_id":173979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:29:21] local.INFO: TCP Data received {"connection_id":173748,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c286040012cea1240071df5e0000500b92e..."} 
[2026-09-07 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c286040012cea1240071df5e0000500b92e..."} 
[2026-09-07 19:29:21] local.INFO: Processing buffer {"connection_id":173748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c286040012cea1240071df5e0000500b92e..."} 
[2026-09-07 19:29:21] local.INFO: Packet analysis {"connection_id":173748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:29:21] local.INFO: Extracted packet for processing {"connection_id":173748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":753537600,"raw_latitude":119404000,"longitude_deg":75.35376,"latitude_deg":11.9404,"altitude":5,"angle":185,"satellites":46,"speed":5,"hex_longitude":"2cea1240","hex_latitude":"071df5e0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930085120001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109797622611968,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579989382453250048,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789416000,"timestamp_ms":1788789416000,"timestamp_seconds":1788789416,"priority":1,"record_length":96,"hex_timestamp":"000001a07c286040"} 
[2026-09-07 19: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-07 19:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 19:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930085120001,"66":27180,"68":206,"83":43008,"24":5,"16":402109797622611968,"44":-1579989382453250048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,83,24,16,44]} 
[2026-09-07 19:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930085120001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:29:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-09-07 19:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109797622611968,"km_value":402109797622611.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579989382453250048,"description":"Unknown IO ID 44"} 
[2026-09-07 19:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930085120001,"power":27180,"unknown_68":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1579989382453250048}} 
[2026-09-07 19:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":173748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:29:21] local.INFO: GPS data processed {"connection_id":173748,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:29:21] local.INFO: Acknowledgment sent {"connection_id":173748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:29:27] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:27] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:27] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:29:31] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:31] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:29:31] local.INFO: IMEI packet received {"connection_id":173980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":173980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:29:32] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2a7f38012d828ec005c7ce500006005328..."} 
[2026-09-07 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2a7f38012d828ec005c7ce500006005328..."} 
[2026-09-07 19:29:32] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2a7f38012d828ec005c7ce500006005328..."} 
[2026-09-07 19:29:32] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:29:32] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":763530944,"raw_latitude":96980560,"longitude_deg":76.3530944,"latitude_deg":9.698056,"altitude":6,"angle":83,"satellites":40,"speed":7,"hex_longitude":"2d828ec0","hex_latitude":"05c7ce50","is_valid_coordinates":true} 
[2026-09-07 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930125312001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595548620554240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039779958468241408,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1788789555000,"timestamp_ms":1788789555000,"timestamp_seconds":1788789555,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2a7f38"} 
[2026-09-07 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 19:29:32] 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-07 19:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930125312001,"66":12113,"218":206,"85":12288,"24":7,"16":129595548620554240,"45":-9039779958468241408},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930125312001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:29:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595548620554240,"km_value":129595548620554.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039779958468241408,"description":"Unknown IO ID 45"} 
[2026-09-07 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930125312001,"power":12113,"unknown_218":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-9039779958468241408}} 
[2026-09-07 19:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:29:32] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:29:32] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:29:49] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:49] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:49] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:29:54] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:54] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:29:54] local.INFO: IMEI packet received {"connection_id":175086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":175086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:29:55] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c28b248012cea1100071de778000500b82d..."} 
[2026-09-07 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c28b248012cea1100071de778000500b82d..."} 
[2026-09-07 19:29:55] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c28b248012cea1100071de778000500b82d..."} 
[2026-09-07 19:29:55] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:29:55] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c28"} 
[2026-09-07 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":753537280,"raw_latitude":119400312,"longitude_deg":75.353728,"latitude_deg":11.9400312,"altitude":5,"angle":184,"satellites":45,"speed":8,"hex_longitude":"2cea1100","hex_latitude":"071de778","is_valid_coordinates":true} 
[2026-09-07 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-07 19:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930090496001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402109978011238400,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580130119942021120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788789437000,"timestamp_ms":1788789437000,"timestamp_seconds":1788789437,"priority":1,"record_length":96,"hex_timestamp":"000001a07c28b248"} 
[2026-09-07 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-07 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 19:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:55] 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-07 19:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930090496001,"66":27376,"109":206,"83":43008,"24":8,"16":402109978011238400,"44":-1580130119942021120},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930090496001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:29:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402109978011238400,"km_value":402109978011238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:29:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580130119942021120,"description":"Unknown IO ID 44"} 
[2026-09-07 19:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930090496001,"power":27376,"unknown_109":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1580130119942021120}} 
[2026-09-07 19:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:29:55] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:29:55] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:29:59] local.INFO: TCP Data received {"connection_id":175086,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c290450012cea10c0071de378000700b92d..."} 
[2026-09-07 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c290450012cea10c0071de378000700b92d..."} 
[2026-09-07 19:29:59] local.INFO: Processing buffer {"connection_id":175086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c290450012cea10c0071de378000700b92d..."} 
[2026-09-07 19:29:59] local.INFO: Packet analysis {"connection_id":175086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:29:59] local.INFO: Extracted packet for processing {"connection_id":175086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":753537216,"raw_latitude":119399288,"longitude_deg":75.3537216,"latitude_deg":11.9399288,"altitude":7,"angle":185,"satellites":45,"speed":4,"hex_longitude":"2cea10c0","hex_latitude":"071de378","is_valid_coordinates":true} 
[2026-09-07 19:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930095872001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110029550845952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580481963663853568,"note":"Value kept but may cause issues"} 
[2026-09-07 19:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788789458000,"timestamp_ms":1788789458000,"timestamp_seconds":1788789458,"priority":1,"record_length":96,"hex_timestamp":"000001a07c290450"} 
[2026-09-07 19:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 19:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:29:59] 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-07 19:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930095872001,"66":27463,"109":206,"83":43008,"24":4,"16":402110029550845952,"44":-1580481963663853568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930095872001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:29:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:29:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110029550845952,"km_value":402110029550845.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580481963663853568,"description":"Unknown IO ID 44"} 
[2026-09-07 19:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930095872001,"power":27463,"unknown_109":206,"unknown_83":43008,"ignition":4,"odometer":null,"unknown_44":-1580481963663853568}} 
[2026-09-07 19:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":175086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:29:59] local.INFO: GPS data processed {"connection_id":175086,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:29:59] local.INFO: Acknowledgment sent {"connection_id":175086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:30:03] local.INFO: TCP Data received {"connection_id":173980,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2a8af0012d82910005c7ce800006005f28..."} 
[2026-09-07 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2a8af0012d82910005c7ce800006005f28..."} 
[2026-09-07 19:30:03] local.INFO: Processing buffer {"connection_id":173980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2a8af0012d82910005c7ce800006005f28..."} 
[2026-09-07 19:30:03] local.INFO: Packet analysis {"connection_id":173980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:30:03] local.INFO: Extracted packet for processing {"connection_id":173980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763531520,"raw_latitude":96980608,"longitude_deg":76.353152,"latitude_deg":9.6980608,"altitude":6,"angle":95,"satellites":40,"speed":6,"hex_longitude":"2d829100","hex_latitude":"05c7ce80","is_valid_coordinates":true} 
[2026-09-07 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930126080001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595574390358016,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039076271026450432,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1788789558000,"timestamp_ms":1788789558000,"timestamp_seconds":1788789558,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2a8af0"} 
[2026-09-07 19:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:30: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-07 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-07 19:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":173980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":173980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":173980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930126080001,"66":12200,"218":206,"85":12288,"24":6,"16":129595574390358016,"45":-9039076271026450432},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930126080001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:30:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595574390358016,"km_value":129595574390358.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039076271026450432,"description":"Unknown IO ID 45"} 
[2026-09-07 19:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930126080001,"power":12200,"unknown_218":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-9039076271026450432}} 
[2026-09-07 19:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":173980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:30:03] local.INFO: GPS data processed {"connection_id":173980,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:30:03] local.INFO: Acknowledgment sent {"connection_id":173980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:30:16] local.INFO: TCP Data received {"connection_id":176500,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:16] local.INFO: Processing buffer {"connection_id":176500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:16] local.INFO: IMEI packet received {"connection_id":176500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":176500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:30:27] local.INFO: TCP Data received {"connection_id":176501,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:27] local.INFO: Processing buffer {"connection_id":176501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:27] local.INFO: IMEI packet received {"connection_id":176501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":176501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:30:32] local.INFO: TCP Data received {"connection_id":176501,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:32] local.INFO: Processing buffer {"connection_id":176501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:30:32] local.INFO: IMEI packet received {"connection_id":176501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":176501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:30:33] local.INFO: TCP Data received {"connection_id":176501,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2b5228012d828b4005c7cd400005011727..."} 
[2026-09-07 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2b5228012d828b4005c7cd400005011727..."} 
[2026-09-07 19:30:33] local.INFO: Processing buffer {"connection_id":176501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2b5228012d828b4005c7cd400005011727..."} 
[2026-09-07 19:30:33] local.INFO: Packet analysis {"connection_id":176501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:30:33] local.INFO: Extracted packet for processing {"connection_id":176501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763530048,"raw_latitude":96980288,"longitude_deg":76.3530048,"latitude_deg":9.6980288,"altitude":5,"angle":279,"satellites":39,"speed":3,"hex_longitude":"2d828b40","hex_latitude":"05c7cd40","is_valid_coordinates":true} 
[2026-09-07 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930139648001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595741894082560,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039779958468284416,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789609000,"timestamp_ms":1788789609000,"timestamp_seconds":1788789609,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2b5228"} 
[2026-09-07 19:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 19:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930139648001,"66":12026,"218":206,"85":12288,"24":3,"16":129595741894082560,"45":-9039779958468284416},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930139648001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:30:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595741894082560,"km_value":129595741894082.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039779958468284416,"description":"Unknown IO ID 45"} 
[2026-09-07 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930139648001,"power":12026,"unknown_218":206,"unknown_85":12288,"ignition":3,"odometer":null,"unknown_45":-9039779958468284416}} 
[2026-09-07 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":176501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:30:33] local.INFO: GPS data processed {"connection_id":176501,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:30:33] local.INFO: Acknowledgment sent {"connection_id":176501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:30:43] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:43] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:43] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:30:44] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:44] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:44] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:30:46] local.INFO: TCP Data received {"connection_id":176502,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:46] local.INFO: Processing buffer {"connection_id":176502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:30:46] local.INFO: IMEI packet received {"connection_id":176502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":176502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:30:49] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:49] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:30:49] local.INFO: IMEI packet received {"connection_id":175087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":175087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:30:50] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c295658012cea1040071dd700000600b72e..."} 
[2026-09-07 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c295658012cea1040071dd700000600b72e..."} 
[2026-09-07 19:30:50] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c295658012cea1040071dd700000600b72e..."} 
[2026-09-07 19:30:50] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:30:50] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:30:50] local.INFO: GPS Element Parsed {"raw_longitude":753537088,"raw_latitude":119396096,"longitude_deg":75.3537088,"latitude_deg":11.9396096,"altitude":6,"angle":183,"satellites":46,"speed":7,"hex_longitude":"2cea1040","hex_latitude":"071dd700","is_valid_coordinates":true} 
[2026-09-07 19:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930101248001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110184169668608,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580552332408293376,"note":"Value kept but may cause issues"} 
[2026-09-07 19:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789479000,"timestamp_ms":1788789479000,"timestamp_seconds":1788789479,"priority":1,"record_length":96,"hex_timestamp":"000001a07c295658"} 
[2026-09-07 19:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 19:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:30:50] 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-07 19:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930101248001,"66":27484,"109":206,"83":43008,"24":7,"16":402110184169668608,"44":-1580552332408293376},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930101248001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:30:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110184169668608,"km_value":402110184169668.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580552332408293376,"description":"Unknown IO ID 44"} 
[2026-09-07 19:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930101248001,"power":27484,"unknown_109":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1580552332408293376}} 
[2026-09-07 19:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:30:50] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:30:50] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:31:04] local.INFO: TCP Data received {"connection_id":176501,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2b59f8012d828a4005c7cd400005010827..."} 
[2026-09-07 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2b59f8012d828a4005c7cd400005010827..."} 
[2026-09-07 19:31:04] local.INFO: Processing buffer {"connection_id":176501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2b59f8012d828a4005c7cd400005010827..."} 
[2026-09-07 19:31:04] local.INFO: Packet analysis {"connection_id":176501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:31:04] local.INFO: Extracted packet for processing {"connection_id":176501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":96980288,"longitude_deg":76.3529792,"latitude_deg":9.6980288,"altitude":5,"angle":264,"satellites":39,"speed":5,"hex_longitude":"2d828a40","hex_latitude":"05c7cd40","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930139904001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595754778984448,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040061433445007360,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789611000,"timestamp_ms":1788789611000,"timestamp_seconds":1788789611,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2b59f8"} 
[2026-09-07 19: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-07 19:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 19:31:04] 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-07 19: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-07 19: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-07 19:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930139904001,"66":12026,"218":206,"85":12288,"24":5,"16":129595754778984448,"45":-9040061433445007360},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930139904001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:31:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595754778984448,"km_value":129595754778984.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040061433445007360,"description":"Unknown IO ID 45"} 
[2026-09-07 19:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930139904001,"power":12026,"unknown_218":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9040061433445007360}} 
[2026-09-07 19:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":176501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:31:04] local.INFO: GPS data processed {"connection_id":176501,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:31:04] local.INFO: Acknowledgment sent {"connection_id":176501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:31:21] local.INFO: TCP Data received {"connection_id":175087,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c29a860012cea0f80071dd068000500bc2d..."} 
[2026-09-07 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c29a860012cea0f80071dd068000500bc2d..."} 
[2026-09-07 19:31:21] local.INFO: Processing buffer {"connection_id":175087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c29a860012cea0f80071dd068000500bc2d..."} 
[2026-09-07 19:31:21] local.INFO: Packet analysis {"connection_id":175087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:31:21] local.INFO: Extracted packet for processing {"connection_id":175087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":753536896,"raw_latitude":119394408,"longitude_deg":75.3536896,"latitude_deg":11.9394408,"altitude":5,"angle":188,"satellites":45,"speed":0,"hex_longitude":"2cea0f80","hex_latitude":"071dd068","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930106624001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110270069014528,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580693069897465856,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789500000,"timestamp_ms":1788789500000,"timestamp_seconds":1788789500,"priority":1,"record_length":96,"hex_timestamp":"000001a07c29a860"} 
[2026-09-07 19: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-07 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 19:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31: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-07 19:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930106624001,"66":27321,"109":206,"83":43008,"24":0,"16":402110270069014528,"44":-1580693069897465856},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930106624001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:31:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110270069014528,"km_value":402110270069014.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580693069897465856,"description":"Unknown IO ID 44"} 
[2026-09-07 19:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930106624001,"power":27321,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1580693069897465856}} 
[2026-09-07 19:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":175087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:31:21] local.INFO: GPS data processed {"connection_id":175087,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:31:21] local.INFO: Acknowledgment sent {"connection_id":175087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:31:27] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:27] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:27] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:31:29] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:29] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:29] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:31:32] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:32] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:31:32] local.INFO: IMEI packet received {"connection_id":176503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":176503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:31:33] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c3c88012d827d0005c7cb580004010128..."} 
[2026-09-07 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c3c88012d827d0005c7cb580004010128..."} 
[2026-09-07 19:31:33] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c3c88012d827d0005c7cb580004010128..."} 
[2026-09-07 19:31:33] local.INFO: Packet analysis {"connection_id":176503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:31:33] local.INFO: Extracted packet for processing {"connection_id":176503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763526400,"raw_latitude":96979800,"longitude_deg":76.35264,"latitude_deg":9.69798,"altitude":4,"angle":257,"satellites":40,"speed":4,"hex_longitude":"2d827d00","hex_latitude":"05c7cb58","is_valid_coordinates":true} 
[2026-09-07 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930155008001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595930872643584,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043931714374899712,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789669000,"timestamp_ms":1788789669000,"timestamp_seconds":1788789669,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c3c88"} 
[2026-09-07 19:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 19:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930155008001,"66":12058,"218":206,"85":12288,"24":4,"16":129595930872643584,"45":-9043931714374899712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930155008001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:31:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595930872643584,"km_value":129595930872643.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043931714374899712,"description":"Unknown IO ID 45"} 
[2026-09-07 19:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930155008001,"power":12058,"unknown_218":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-9043931714374899712}} 
[2026-09-07 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":176503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:31:33] local.INFO: GPS data processed {"connection_id":176503,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:31:33] local.INFO: Acknowledgment sent {"connection_id":176503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:31:48] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: IMEI packet received {"connection_id":173981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":173981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:31:48] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:31:48] local.INFO: IMEI packet received {"connection_id":173981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":173981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:31:49] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c29fa68012cea0f00071dce80000800bc2d..."} 
[2026-09-07 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c29fa68012cea0f00071dce80000800bc2d..."} 
[2026-09-07 19:31:49] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c29fa68012cea0f00071dce80000800bc2d..."} 
[2026-09-07 19:31:49] local.INFO: Packet analysis {"connection_id":173981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:31:49] local.INFO: Extracted packet for processing {"connection_id":173981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c29"} 
[2026-09-07 19:31:49] local.INFO: GPS Element Parsed {"raw_longitude":753536768,"raw_latitude":119393920,"longitude_deg":75.3536768,"latitude_deg":11.939392,"altitude":8,"angle":188,"satellites":45,"speed":4,"hex_longitude":"2cea0f00","hex_latitude":"071dce80","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930112000001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110295838818304,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1580904176130430976,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788789521000,"timestamp_ms":1788789521000,"timestamp_seconds":1788789521,"priority":1,"record_length":96,"hex_timestamp":"000001a07c29fa68"} 
[2026-09-07 19: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-07 19:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31: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-07 19:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930112000001,"66":27300,"109":206,"83":43008,"24":4,"16":402110295838818304,"44":-1580904176130430976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930112000001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110295838818304,"km_value":402110295838818.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1580904176130430976,"description":"Unknown IO ID 44"} 
[2026-09-07 19:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930112000001,"power":27300,"unknown_109":206,"unknown_83":43008,"ignition":4,"odometer":null,"unknown_44":-1580904176130430976}} 
[2026-09-07 19:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":173981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:31:49] local.INFO: GPS data processed {"connection_id":173981,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:31:49] local.INFO: Acknowledgment sent {"connection_id":173981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:31:49] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2a4c70012cea0ec0071dc3a8000700b62d..."} 
[2026-09-07 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2a4c70012cea0ec0071dc3a8000700b62d..."} 
[2026-09-07 19:31:49] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2a4c70012cea0ec0071dc3a8000700b62d..."} 
[2026-09-07 19:31:49] local.INFO: Packet analysis {"connection_id":173981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:31:49] local.INFO: Extracted packet for processing {"connection_id":173981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:31:49] local.INFO: GPS Element Parsed {"raw_longitude":753536704,"raw_latitude":119391144,"longitude_deg":75.3536704,"latitude_deg":11.9391144,"altitude":7,"angle":182,"satellites":45,"speed":0,"hex_longitude":"2cea0ec0","hex_latitude":"071dc3a8","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930117376001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110433277771776,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581044913618911232,"note":"Value kept but may cause issues"} 
[2026-09-07 19:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788789542000,"timestamp_ms":1788789542000,"timestamp_seconds":1788789542,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2a4c70"} 
[2026-09-07 19: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-07 19:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 19:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:31: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-07 19:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930117376001,"66":27397,"109":206,"83":43008,"24":0,"16":402110433277771776,"44":-1581044913618911232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930117376001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110433277771776,"km_value":402110433277771.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581044913618911232,"description":"Unknown IO ID 44"} 
[2026-09-07 19:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930117376001,"power":27397,"unknown_109":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1581044913618911232}} 
[2026-09-07 19:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":173981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:31:49] local.INFO: GPS data processed {"connection_id":173981,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:31:49] local.INFO: Acknowledgment sent {"connection_id":173981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:32:04] local.INFO: TCP Data received {"connection_id":176503,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c4458012d827c0005c7cad8000400f428..."} 
[2026-09-07 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c4458012d827c0005c7cad8000400f428..."} 
[2026-09-07 19:32:04] local.INFO: Processing buffer {"connection_id":176503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c4458012d827c0005c7cad8000400f428..."} 
[2026-09-07 19:32:04] local.INFO: Packet analysis {"connection_id":176503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:04] local.INFO: Extracted packet for processing {"connection_id":176503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763526144,"raw_latitude":96979672,"longitude_deg":76.3526144,"latitude_deg":9.6979672,"altitude":4,"angle":244,"satellites":40,"speed":5,"hex_longitude":"2d827c00","hex_latitude":"05c7cad8","is_valid_coordinates":true} 
[2026-09-07 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930155264001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595943757545472,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044072451863259136,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789671000,"timestamp_ms":1788789671000,"timestamp_seconds":1788789671,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c4458"} 
[2026-09-07 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-09-07 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930155264001,"66":11711,"218":206,"85":12288,"24":5,"16":129595943757545472,"45":-9044072451863259136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930155264001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595943757545472,"km_value":129595943757545.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044072451863259136,"description":"Unknown IO ID 45"} 
[2026-09-07 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930155264001,"power":11711,"unknown_218":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9044072451863259136}} 
[2026-09-07 19:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":176503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:32:04] local.INFO: GPS data processed {"connection_id":176503,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:32:04] local.INFO: Acknowledgment sent {"connection_id":176503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:32:23] local.INFO: TCP Data received {"connection_id":173981,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2a9e78012cea0dc0071db908000600b42d..."} 
[2026-09-07 19:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2a9e78012cea0dc0071db908000600b42d..."} 
[2026-09-07 19:32:23] local.INFO: Processing buffer {"connection_id":173981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2a9e78012cea0dc0071db908000600b42d..."} 
[2026-09-07 19:32:23] local.INFO: Packet analysis {"connection_id":173981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:32:23] local.INFO: Extracted packet for processing {"connection_id":173981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":753536448,"raw_latitude":119388424,"longitude_deg":75.3536448,"latitude_deg":11.9388424,"altitude":6,"angle":180,"satellites":45,"speed":7,"hex_longitude":"2cea0dc0","hex_latitude":"071db908","is_valid_coordinates":true} 
[2026-09-07 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-07 19:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930122752001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110566421757952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581115282363799552,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788789563000,"timestamp_ms":1788789563000,"timestamp_seconds":1788789563,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2a9e78"} 
[2026-09-07 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-07 19:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":173981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":173981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:32:23] 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-07 19:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930122752001,"66":27321,"109":206,"83":43008,"24":7,"16":402110566421757952,"44":-1581115282363799552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930122752001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:32:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110566421757952,"km_value":402110566421757.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:32:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581115282363799552,"description":"Unknown IO ID 44"} 
[2026-09-07 19:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930122752001,"power":27321,"unknown_109":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1581115282363799552}} 
[2026-09-07 19:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":173981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:32:23] local.INFO: GPS data processed {"connection_id":173981,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:32:23] local.INFO: Acknowledgment sent {"connection_id":173981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:32:32] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:32] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:32] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:32:37] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:37] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:32:37] local.INFO: IMEI packet received {"connection_id":173749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":173749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:32:38] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c5010012d827a8005c7ca400004010427..."} 
[2026-09-07 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c5010012d827a8005c7ca400004010427..."} 
[2026-09-07 19:32:38] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c5010012d827a8005c7ca400004010427..."} 
[2026-09-07 19:32:38] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:38] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763525760,"raw_latitude":96979520,"longitude_deg":76.352576,"latitude_deg":9.697952,"altitude":4,"angle":260,"satellites":39,"speed":5,"hex_longitude":"2d827a80","hex_latitude":"05c7ca40","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930155776001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595960937414656,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044353926840002560,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1788789674000,"timestamp_ms":1788789674000,"timestamp_seconds":1788789674,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c5010"} 
[2026-09-07 19: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-07 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-07 19:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930155776001,"66":12015,"218":206,"85":12288,"24":5,"16":129595960937414656,"45":-9044353926840002560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930155776001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:32:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595960937414656,"km_value":129595960937414.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044353926840002560,"description":"Unknown IO ID 45"} 
[2026-09-07 19:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930155776001,"power":12015,"unknown_218":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-9044353926840002560}} 
[2026-09-07 19:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:32:38] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:32:38] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:32:39] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c53f8012d827a0005c7ca500004011027..."} 
[2026-09-07 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c53f8012d827a0005c7ca500004011027..."} 
[2026-09-07 19:32:39] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c53f8012d827a0005c7ca500004011027..."} 
[2026-09-07 19:32:39] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:39] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":763525632,"raw_latitude":96979536,"longitude_deg":76.3525632,"latitude_deg":9.6979536,"altitude":4,"angle":272,"satellites":39,"speed":4,"hex_longitude":"2d827a00","hex_latitude":"05c7ca50","is_valid_coordinates":true} 
[2026-09-07 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930156544001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129595969527349248,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044776139305107456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1788789675000,"timestamp_ms":1788789675000,"timestamp_seconds":1788789675,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c53f8"} 
[2026-09-07 19:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 19:32:39] 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-07 19:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930156544001,"66":12015,"218":206,"85":12288,"24":4,"16":129595969527349248,"45":-9044776139305107456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930156544001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:32:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:32:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129595969527349248,"km_value":129595969527349.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044776139305107456,"description":"Unknown IO ID 45"} 
[2026-09-07 19:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930156544001,"power":12015,"unknown_218":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-9044776139305107456}} 
[2026-09-07 19:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:32:39] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:32:39] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:33:10] local.INFO: TCP Data received {"connection_id":173749,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c6780012d82750005c7ca200005010526..."} 
[2026-09-07 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c6780012d82750005c7ca200005010526..."} 
[2026-09-07 19:33:10] local.INFO: Processing buffer {"connection_id":173749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c6780012d82750005c7ca200005010526..."} 
[2026-09-07 19:33:10] local.INFO: Packet analysis {"connection_id":173749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:33:10] local.INFO: Extracted packet for processing {"connection_id":173749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763524352,"raw_latitude":96979488,"longitude_deg":76.3524352,"latitude_deg":9.6979488,"altitude":5,"angle":261,"satellites":38,"speed":14,"hex_longitude":"2d827500","hex_latitude":"05c7ca20","is_valid_coordinates":true} 
[2026-09-07 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930156800001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596029656891392,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044916876793458688,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788789680000,"timestamp_ms":1788789680000,"timestamp_seconds":1788789680,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c6780"} 
[2026-09-07 19:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 19:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":173749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":173749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930156800001,"66":12439,"218":206,"85":12288,"24":14,"16":129596029656891392,"45":-9044916876793458688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930156800001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:33:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596029656891392,"km_value":129596029656891.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044916876793458688,"description":"Unknown IO ID 45"} 
[2026-09-07 19:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930156800001,"power":12439,"unknown_218":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9044916876793458688}} 
[2026-09-07 19:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":173749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:33:10] local.INFO: GPS data processed {"connection_id":173749,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:33:10] local.INFO: Acknowledgment sent {"connection_id":173749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:33:19] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:19] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:19] local.INFO: IMEI packet received {"connection_id":173982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":173982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:33:24] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:24] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:24] local.INFO: IMEI packet received {"connection_id":173982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":173982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:33:27] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:27] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:27] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:33:30] local.INFO: TCP Data received {"connection_id":173982,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2af080012cea0d40071db250000500b92d..."} 
[2026-09-07 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2af080012cea0d40071db250000500b92d..."} 
[2026-09-07 19:33:30] local.INFO: Processing buffer {"connection_id":173982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2af080012cea0d40071db250000500b92d..."} 
[2026-09-07 19:33:30] local.INFO: Packet analysis {"connection_id":173982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:33:30] local.INFO: Extracted packet for processing {"connection_id":173982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2a"} 
[2026-09-07 19:33:30] local.INFO: GPS Element Parsed {"raw_longitude":753536320,"raw_latitude":119386704,"longitude_deg":75.353632,"latitude_deg":11.9386704,"altitude":5,"angle":185,"satellites":45,"speed":9,"hex_longitude":"2cea0d40","hex_latitude":"071db250","is_valid_coordinates":true} 
[2026-09-07 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930128128001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110652321103872,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581396757341206528,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788789584000,"timestamp_ms":1788789584000,"timestamp_seconds":1788789584,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2af080"} 
[2026-09-07 19:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 19:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":173982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":173982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33:30] 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-07 19:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930128128001,"66":27397,"109":206,"83":43008,"24":9,"16":402110652321103872,"44":-1581396757341206528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930128128001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:33:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:33:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110652321103872,"km_value":402110652321103.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581396757341206528,"description":"Unknown IO ID 44"} 
[2026-09-07 19:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930128128001,"power":27397,"unknown_109":206,"unknown_83":43008,"ignition":9,"odometer":null,"unknown_44":-1581396757341206528}} 
[2026-09-07 19:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":173982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:33:30] local.INFO: GPS data processed {"connection_id":173982,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:33:30] local.INFO: Acknowledgment sent {"connection_id":173982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:33:32] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:32] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:33:32] local.INFO: IMEI packet received {"connection_id":176506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":176506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:33:33] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c7720012d82708005c7c9700004011128..."} 
[2026-09-07 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c7720012d82708005c7c9700004011128..."} 
[2026-09-07 19:33:33] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c7720012d82708005c7c9700004011128..."} 
[2026-09-07 19:33:33] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:33:33] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763523200,"raw_latitude":96979312,"longitude_deg":76.35232,"latitude_deg":9.6979312,"altitude":4,"angle":273,"satellites":40,"speed":11,"hex_longitude":"2d827080","hex_latitude":"05c7c970","is_valid_coordinates":true} 
[2026-09-07 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-07 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930158080001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596085491466240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9046324251677024256,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789684000,"timestamp_ms":1788789684000,"timestamp_seconds":1788789684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c7720"} 
[2026-09-07 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-07 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 19:33:33] 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-07 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-07 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-07 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930158080001,"66":12374,"218":206,"85":12288,"24":11,"16":129596085491466240,"45":-9046324251677024256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930158080001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:33:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596085491466240,"km_value":129596085491466.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9046324251677024256,"description":"Unknown IO ID 45"} 
[2026-09-07 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930158080001,"power":12374,"unknown_218":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9046324251677024256}} 
[2026-09-07 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:33:33] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:33:33] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:33:50] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:50] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:50] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:33:52] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:52] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:33:52] local.INFO: IMEI packet received {"connection_id":176507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":176507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:33:52] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2b4288012cea0c80071da4a0000300b32d..."} 
[2026-09-07 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2b4288012cea0c80071da4a0000300b32d..."} 
[2026-09-07 19:33:52] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2b4288012cea0c80071da4a0000300b32d..."} 
[2026-09-07 19:33:52] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:33:52] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:33:52] local.INFO: GPS Element Parsed {"raw_longitude":753536128,"raw_latitude":119383200,"longitude_deg":75.3536128,"latitude_deg":11.93832,"altitude":3,"angle":179,"satellites":45,"speed":8,"hex_longitude":"2cea0c80","hex_latitude":"071da4a0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930133504001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402110824119795712,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581537494830002176,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788789605000,"timestamp_ms":1788789605000,"timestamp_seconds":1788789605,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2b4288"} 
[2026-09-07 19: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-07 19:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33:52] 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-07 19:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930133504001,"66":27213,"109":206,"83":43008,"24":8,"16":402110824119795712,"44":-1581537494830002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930133504001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:33:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:33:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402110824119795712,"km_value":402110824119795.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581537494830002176,"description":"Unknown IO ID 44"} 
[2026-09-07 19:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930133504001,"power":27213,"unknown_109":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1581537494830002176}} 
[2026-09-07 19:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:33:52] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:33:52] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:33:54] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2b9490012cea0b80071d92b0000400b92d..."} 
[2026-09-07 19:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2b9490012cea0b80071d92b0000400b92d..."} 
[2026-09-07 19:33:54] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2b9490012cea0b80071d92b0000400b92d..."} 
[2026-09-07 19:33:54] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:33:54] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:33:54] local.INFO: GPS Element Parsed {"raw_longitude":753535872,"raw_latitude":119378608,"longitude_deg":75.3535872,"latitude_deg":11.9378608,"altitude":4,"angle":185,"satellites":45,"speed":5,"hex_longitude":"2cea0b80","hex_latitude":"071d92b0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930138880001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402111051753062400,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581748601063432192,"note":"Value kept but may cause issues"} 
[2026-09-07 19:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788789626000,"timestamp_ms":1788789626000,"timestamp_seconds":1788789626,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2b9490"} 
[2026-09-07 19: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-07 19:33: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-07 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 19:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:33: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-07 19:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930138880001,"66":27267,"109":206,"83":43008,"24":5,"16":402111051753062400,"44":-1581748601063432192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930138880001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:33:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402111051753062400,"km_value":402111051753062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581748601063432192,"description":"Unknown IO ID 44"} 
[2026-09-07 19:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930138880001,"power":27267,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1581748601063432192}} 
[2026-09-07 19:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:33:54] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:33:54] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:34:04] local.INFO: TCP Data received {"connection_id":176506,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2e3858012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2e3858012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:04] local.INFO: Processing buffer {"connection_id":176506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2e3858012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:04] local.INFO: Packet analysis {"connection_id":176506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:34:04] local.INFO: Extracted packet for processing {"connection_id":176506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":39,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930183168001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789799000,"timestamp_ms":1788789799000,"timestamp_seconds":1788789799,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2e3858"} 
[2026-09-07 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-07 19:34:04] 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-07 19:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930183168001,"66":13906,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930183168001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930183168001,"power":13906,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":176506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:34:04] local.INFO: GPS data processed {"connection_id":176506,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:34:04] local.INFO: Acknowledgment sent {"connection_id":176506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:34:25] local.INFO: TCP Data received {"connection_id":176507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2be698012cea0a40071d80b0000300b82d..."} 
[2026-09-07 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2be698012cea0a40071d80b0000300b82d..."} 
[2026-09-07 19:34:25] local.INFO: Processing buffer {"connection_id":176507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2be698012cea0a40071d80b0000300b82d..."} 
[2026-09-07 19:34:25] local.INFO: Packet analysis {"connection_id":176507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:34:25] local.INFO: Extracted packet for processing {"connection_id":176507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2b"} 
[2026-09-07 19:34:25] local.INFO: GPS Element Parsed {"raw_longitude":753535552,"raw_latitude":119374000,"longitude_deg":75.3535552,"latitude_deg":11.9374,"altitude":3,"angle":184,"satellites":45,"speed":7,"hex_longitude":"2cea0a40","hex_latitude":"071d80b0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930144256001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402111275091361792,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582030076041318400,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788789647000,"timestamp_ms":1788789647000,"timestamp_seconds":1788789647,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2be698"} 
[2026-09-07 19: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-07 19:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:34:25] 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-07 19:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930144256001,"66":27321,"109":206,"83":43008,"24":7,"16":402111275091361792,"44":-1582030076041318400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930144256001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:34:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402111275091361792,"km_value":402111275091361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582030076041318400,"description":"Unknown IO ID 44"} 
[2026-09-07 19:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930144256001,"power":27321,"unknown_109":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1582030076041318400}} 
[2026-09-07 19:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":176507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:34:25] local.INFO: GPS data processed {"connection_id":176507,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:34:25] local.INFO: Acknowledgment sent {"connection_id":176507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:34:27] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:27] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:27] local.INFO: IMEI packet received {"connection_id":173983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":173983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:34:32] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:32] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:34:32] local.INFO: IMEI packet received {"connection_id":173983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":173983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:34:33] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2e8a60012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2e8a60012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:33] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2e8a60012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:34:33] local.INFO: Packet analysis {"connection_id":173983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:34:33] local.INFO: Extracted packet for processing {"connection_id":173983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":39,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930188544001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789820000,"timestamp_ms":1788789820000,"timestamp_seconds":1788789820,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2e8a60"} 
[2026-09-07 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-07 19:34:33] 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-07 19:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930188544001,"66":13580,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930188544001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:34:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930188544001,"power":13580,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":173983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:34:33] local.INFO: GPS data processed {"connection_id":173983,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:34:33] local.INFO: Acknowledgment sent {"connection_id":173983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:34:55] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:55] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:55] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:34:56] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:56] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:56] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:34:59] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:59] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:34:59] local.INFO: IMEI packet received {"connection_id":173984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":173984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:35:01] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c38a0012cea0940071d7520000300b72e..."} 
[2026-09-07 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c38a0012cea0940071d7520000300b72e..."} 
[2026-09-07 19:35:01] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c38a0012cea0940071d7520000300b72e..."} 
[2026-09-07 19:35:01] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:01] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":753535296,"raw_latitude":119371040,"longitude_deg":75.3535296,"latitude_deg":11.937104,"altitude":3,"angle":183,"satellites":46,"speed":5,"hex_longitude":"2cea0940","hex_latitude":"071d7520","is_valid_coordinates":true} 
[2026-09-07 19:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930149632001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402111425415217152,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582381919763386368,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788789668000,"timestamp_ms":1788789668000,"timestamp_seconds":1788789668,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c38a0"} 
[2026-09-07 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:01] 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-07 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930149632001,"66":27484,"109":206,"83":43008,"24":5,"16":402111425415217152,"44":-1582381919763386368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930149632001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:35:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402111425415217152,"km_value":402111425415217.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582381919763386368,"description":"Unknown IO ID 44"} 
[2026-09-07 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930149632001,"power":27484,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1582381919763386368}} 
[2026-09-07 19:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:35:01] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:35:01] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:35:04] local.INFO: TCP Data received {"connection_id":173983,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2edc68012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2edc68012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:35:04] local.INFO: Processing buffer {"connection_id":173983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2edc68012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:35:04] local.INFO: Packet analysis {"connection_id":173983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:35:04] local.INFO: Extracted packet for processing {"connection_id":173983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930193920001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789841000,"timestamp_ms":1788789841000,"timestamp_seconds":1788789841,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2edc68"} 
[2026-09-07 19:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631467,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2147862473,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186625029,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5703527491742728202,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3385851905,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631052747438042,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010775758,"corrected_to":0} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4026584439,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1799946240,"corrected_to":0} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3351832576,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":130,"raw_value":6214973841384407040,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,218,85,24,241,157,16,107,160,56,45,192,201,1,39,10,66,230,38,148,240,53,227,124,199,4,113,205,2,244,208,40,239,44,204,5,9,130,48],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2010775758,"validated":0},{"io_id":204,"original":1799946240,"validated":0}]} 
[2026-09-07 19:35:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72069856169558016,"timestamp_seconds":72069856169558.02,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930193920001,"66":13852,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930193920001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930193920001,"power":13852,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":173983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:35:04] local.INFO: GPS data processed {"connection_id":173983,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:35:04] local.INFO: Acknowledgment sent {"connection_id":173983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:35:05] local.INFO: TCP Data received {"connection_id":173984,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2c8aa8012cea0800071d61c0000300b72d..."} 
[2026-09-07 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2c8aa8012cea0800071d61c0000300b72d..."} 
[2026-09-07 19:35:05] local.INFO: Processing buffer {"connection_id":173984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2c8aa8012cea0800071d61c0000300b72d..."} 
[2026-09-07 19:35:05] local.INFO: Packet analysis {"connection_id":173984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:05] local.INFO: Extracted packet for processing {"connection_id":173984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":753534976,"raw_latitude":119366080,"longitude_deg":75.3534976,"latitude_deg":11.936608,"altitude":3,"angle":183,"satellites":45,"speed":11,"hex_longitude":"2cea0800","hex_latitude":"071d61c0","is_valid_coordinates":true} 
[2026-09-07 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930155008001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402111670228353024,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582663394740854784,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788789689000,"timestamp_ms":1788789689000,"timestamp_seconds":1788789689,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2c8aa8"} 
[2026-09-07 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 19:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930155008001,"66":27180,"109":206,"83":43008,"24":11,"16":402111670228353024,"44":-1582663394740854784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930155008001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:35:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402111670228353024,"km_value":402111670228353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582663394740854784,"description":"Unknown IO ID 44"} 
[2026-09-07 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930155008001,"power":27180,"unknown_109":206,"unknown_83":43008,"ignition":11,"odometer":null,"unknown_44":-1582663394740854784}} 
[2026-09-07 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":173984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:35:05] local.INFO: GPS data processed {"connection_id":173984,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:35:05] local.INFO: Acknowledgment sent {"connection_id":173984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:35:27] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:27] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:27] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:35:32] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:32] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:35:32] local.INFO: IMEI packet received {"connection_id":173751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":173751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:35:33] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2f2e70012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2f2e70012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:35:33] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2f2e70012d8254c005c7c9580001000b27..."} 
[2026-09-07 19:35:33] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:35:33] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":39,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930199296001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789862000,"timestamp_ms":1788789862000,"timestamp_seconds":1788789862,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2f2e70"} 
[2026-09-07 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 19:35:33] 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-07 19:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930199296001,"66":13993,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930199296001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:35:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930199296001,"power":13993,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:35:33] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:35:33] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:35:44] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:44] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:44] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:35:49] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:49] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:35:49] local.INFO: IMEI packet received {"connection_id":173985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":173985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:35:50] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2cdcb0012cea0740071d5158000200b72d..."} 
[2026-09-07 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2cdcb0012cea0740071d5158000200b72d..."} 
[2026-09-07 19:35:50] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2cdcb0012cea0740071d5158000200b72d..."} 
[2026-09-07 19:35:50] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:50] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2c"} 
[2026-09-07 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":753534784,"raw_latitude":119361880,"longitude_deg":75.3534784,"latitude_deg":11.936188,"altitude":2,"angle":183,"satellites":45,"speed":5,"hex_longitude":"2cea0740","hex_latitude":"071d5158","is_valid_coordinates":true} 
[2026-09-07 19:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930160384001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402111876386783232,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583015238463012864,"note":"Value kept but may cause issues"} 
[2026-09-07 19:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789710000,"timestamp_ms":1788789710000,"timestamp_seconds":1788789710,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2cdcb0"} 
[2026-09-07 19:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 19:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:35:50] 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-07 19:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930160384001,"66":27463,"109":206,"83":43008,"24":5,"16":402111876386783232,"44":-1583015238463012864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930160384001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:35:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402111876386783232,"km_value":402111876386783.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583015238463012864,"description":"Unknown IO ID 44"} 
[2026-09-07 19:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930160384001,"power":27463,"unknown_109":206,"unknown_83":43008,"ignition":5,"odometer":null,"unknown_44":-1583015238463012864}} 
[2026-09-07 19:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:35:50] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:35:50] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:35:51] local.INFO: TCP Data received {"connection_id":173986,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:35:51] local.INFO: Processing buffer {"connection_id":173986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:35:51] local.INFO: IMEI packet received {"connection_id":173986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":173986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:36:04] local.INFO: TCP Data received {"connection_id":173751,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2f8078012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2f8078012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:36:04] local.INFO: Processing buffer {"connection_id":173751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2f8078012d8254c005c7c9580001000b28..."} 
[2026-09-07 19:36:04] local.INFO: Packet analysis {"connection_id":173751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:36:04] local.INFO: Extracted packet for processing {"connection_id":173751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":40,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930204672001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789883000,"timestamp_ms":1788789883000,"timestamp_seconds":1788789883,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2f8078"} 
[2026-09-07 19:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 19:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":173751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":173751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":173751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930204672001,"66":13678,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930204672001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:36:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930204672001,"power":13678,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":173751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:36:04] local.INFO: GPS data processed {"connection_id":173751,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:36:04] local.INFO: Acknowledgment sent {"connection_id":173751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:36:21] local.INFO: TCP Data received {"connection_id":173985,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2d2eb8012cea0700071d47b0000700ba2c..."} 
[2026-09-07 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2d2eb8012cea0700071d47b0000700ba2c..."} 
[2026-09-07 19:36:21] local.INFO: Processing buffer {"connection_id":173985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2d2eb8012cea0700071d47b0000700ba2c..."} 
[2026-09-07 19:36:21] local.INFO: Packet analysis {"connection_id":173985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:36:21] local.INFO: Extracted packet for processing {"connection_id":173985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":753534720,"raw_latitude":119359408,"longitude_deg":75.353472,"latitude_deg":11.9359408,"altitude":7,"angle":186,"satellites":44,"speed":8,"hex_longitude":"2cea0700","hex_latitude":"071d47b0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930165760001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402112000940834816,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583226344696621056,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788789731000,"timestamp_ms":1788789731000,"timestamp_seconds":1788789731,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2d2eb8"} 
[2026-09-07 19: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-07 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 19:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:36: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-07 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930165760001,"66":27343,"109":206,"83":43008,"24":8,"16":402112000940834816,"44":-1583226344696621056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-09-07 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930165760001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:36:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 19:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402112000940834816,"km_value":402112000940834.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583226344696621056,"description":"Unknown IO ID 44"} 
[2026-09-07 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930165760001,"power":27343,"unknown_109":206,"unknown_83":43008,"ignition":8,"odometer":null,"unknown_44":-1583226344696621056}} 
[2026-09-07 19:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":173985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:36:21] local.INFO: GPS data processed {"connection_id":173985,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:36:21] local.INFO: Acknowledgment sent {"connection_id":173985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:36:27] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:27] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:27] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:36:32] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:32] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:36:32] local.INFO: IMEI packet received {"connection_id":176508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":176508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:36:33] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2fd280012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2fd280012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:36:33] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2fd280012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:36:33] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:36:33] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930210048001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789904000,"timestamp_ms":1788789904000,"timestamp_seconds":1788789904,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2fd280"} 
[2026-09-07 19:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 19:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930210048001,"66":13580,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930210048001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:36:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930210048001,"power":13580,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:36:33] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:36:33] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:36:44] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:44] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:44] local.INFO: IMEI packet received {"connection_id":176509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":176509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:36:49] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:49] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:36:49] local.INFO: IMEI packet received {"connection_id":176509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":176509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:36:50] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2d80c0012cea0580071d3b58000700b62d..."} 
[2026-09-07 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2d80c0012cea0580071d3b58000700b62d..."} 
[2026-09-07 19:36:50] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2d80c0012cea0580071d3b58000700b62d..."} 
[2026-09-07 19:36:50] local.INFO: Packet analysis {"connection_id":176509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:36:50] local.INFO: Extracted packet for processing {"connection_id":176509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:36:50] local.INFO: GPS Element Parsed {"raw_longitude":753534336,"raw_latitude":119356248,"longitude_deg":75.3534336,"latitude_deg":11.9356248,"altitude":7,"angle":182,"satellites":45,"speed":7,"hex_longitude":"2cea0580","hex_latitude":"071d3b58","is_valid_coordinates":true} 
[2026-09-07 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-07 19:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930171136001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402112155559657472,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583296713441431552,"note":"Value kept but may cause issues"} 
[2026-09-07 19:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788789752000,"timestamp_ms":1788789752000,"timestamp_seconds":1788789752,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2d80c0"} 
[2026-09-07 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-07 19:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:36:50] 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-07 19:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930171136001,"66":27267,"127":206,"83":43008,"24":7,"16":402112155559657472,"44":-1583296713441431552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-07 19:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930171136001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:36:50] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-07 19:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402112155559657472,"km_value":402112155559657.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583296713441431552,"description":"Unknown IO ID 44"} 
[2026-09-07 19:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930171136001,"power":27267,"unknown_127":206,"unknown_83":43008,"ignition":7,"odometer":null,"unknown_44":-1583296713441431552}} 
[2026-09-07 19:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":176509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:36:50] local.INFO: GPS data processed {"connection_id":176509,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:36:50] local.INFO: Acknowledgment sent {"connection_id":176509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:37:04] local.INFO: TCP Data received {"connection_id":176508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:04] local.INFO: Processing buffer {"connection_id":176508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:04] local.INFO: Packet analysis {"connection_id":176508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:37:04] local.INFO: Extracted packet for processing {"connection_id":176508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930215424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788789905000,"timestamp_ms":1788789905000,"timestamp_seconds":1788789905,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2fd668"} 
[2026-09-07 19:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751631467,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186592261,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3716783608975851520,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3377987585,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110809562,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010775758,"corrected_to":0} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3221604297,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1800732672,"corrected_to":0} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3351861248,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":130,"raw_value":6106887450349010945,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,218,85,24,241,157,16,107,160,128,45,192,201,1,40,10,66,46,39,220,240,28,227,124,199,4,113,205,56,84,88,239,54,2,204,5,130,48],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010775758,"validated":0},{"io_id":204,"original":1800732672,"validated":0}]} 
[2026-09-07 19:37:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72069869054459904,"timestamp_seconds":72069869054459.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930215424001,"66":13830,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930215424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930215424001,"power":13830,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":176508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:37:04] local.INFO: GPS data processed {"connection_id":176508,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:37:04] local.INFO: Acknowledgment sent {"connection_id":176508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:37:22] local.INFO: TCP Data received {"connection_id":176509,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2dd2c8012cea0480071d31c0000600b72d..."} 
[2026-09-07 19:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2dd2c8012cea0480071d31c0000600b72d..."} 
[2026-09-07 19:37:22] local.INFO: Processing buffer {"connection_id":176509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2dd2c8012cea0480071d31c0000600b72d..."} 
[2026-09-07 19:37:22] local.INFO: Packet analysis {"connection_id":176509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:37:22] local.INFO: Extracted packet for processing {"connection_id":176509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2d"} 
[2026-09-07 19:37:22] local.INFO: GPS Element Parsed {"raw_longitude":753534080,"raw_latitude":119353792,"longitude_deg":75.353408,"latitude_deg":11.9353792,"altitude":6,"angle":183,"satellites":45,"speed":4,"hex_longitude":"2cea0480","hex_latitude":"071d31c0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930176512001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402112280113709056,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583718925907306496,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788789773000,"timestamp_ms":1788789773000,"timestamp_seconds":1788789773,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2dd2c8"} 
[2026-09-07 19: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-07 19:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:37: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-07 19:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930176512001,"66":27343,"127":206,"83":43008,"24":4,"16":402112280113709056,"44":-1583718925907306496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-07 19:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930176512001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:37:22] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-07 19:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402112280113709056,"km_value":402112280113709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583718925907306496,"description":"Unknown IO ID 44"} 
[2026-09-07 19:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930176512001,"power":27343,"unknown_127":206,"unknown_83":43008,"ignition":4,"odometer":null,"unknown_44":-1583718925907306496}} 
[2026-09-07 19:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":176509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:37:22] local.INFO: GPS data processed {"connection_id":176509,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:37:22] local.INFO: Acknowledgment sent {"connection_id":176509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:37:27] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:27] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:27] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:37:32] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:32] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:37:32] local.INFO: IMEI packet received {"connection_id":173753,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":173753,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:37:33] local.INFO: TCP Data received {"connection_id":173753,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:33] local.INFO: Processing buffer {"connection_id":173753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2fd668012d8254c005c7c9580001000b2a..."} 
[2026-09-07 19:37:33] local.INFO: Packet analysis {"connection_id":173753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:37:33] local.INFO: Extracted packet for processing {"connection_id":173753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2f"} 
[2026-09-07 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":763516096,"raw_latitude":96979288,"longitude_deg":76.3516096,"latitude_deg":9.6979288,"altitude":1,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d8254c0","hex_latitude":"05c7c958","is_valid_coordinates":true} 
[2026-09-07 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930215680001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055401819675994112,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788789905000,"timestamp_ms":1788789905000,"timestamp_seconds":1788789905,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2fd668"} 
[2026-09-07 19:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627189312256,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186592261,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":201,"raw_value":6341069375036325888,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3377987585,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010775758,"corrected_to":0} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3221604297,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1800732672,"corrected_to":0} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3351861248,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.WARNING: Large IO value detected {"io_id":230,"raw_value":5764939035801814471,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,218,85,24,241,157,16,107,160,210,45,192,201,1,42,10,66,128,40,46,240,169,227,124,199,4,113,205,138,84,88,39,239,53,2,204,5,230],"length":528,"final_offset":658,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010775758,"validated":0},{"io_id":204,"original":1800732672,"validated":0}]} 
[2026-09-07 19:37:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72069869054460143,"timestamp_seconds":72069869054460.14,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 19:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173753,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930215680001,"66":13830,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055401819675994112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930215680001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:37:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055401819675994112,"description":"Unknown IO ID 45"} 
[2026-09-07 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930215680001,"power":13830,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055401819675994112}} 
[2026-09-07 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":173753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:37:33] local.INFO: GPS data processed {"connection_id":173753,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:37:33] local.INFO: Acknowledgment sent {"connection_id":173753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:37:44] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:44] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:44] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:37:49] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:49] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:37:49] local.INFO: IMEI packet received {"connection_id":173987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":173987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:37:54] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2e24d0012cea03c0071d2618000800b12d..."} 
[2026-09-07 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2e24d0012cea03c0071d2618000800b12d..."} 
[2026-09-07 19:37:54] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2e24d0012cea03c0071d2618000800b12d..."} 
[2026-09-07 19:37:54] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:37:54] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:37:54] local.INFO: GPS Element Parsed {"raw_longitude":753533888,"raw_latitude":119350808,"longitude_deg":75.3533888,"latitude_deg":11.9350808,"altitude":8,"angle":177,"satellites":45,"speed":10,"hex_longitude":"2cea03c0","hex_latitude":"071d2618","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930181888001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402112426142597120,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584000400884645888,"note":"Value kept but may cause issues"} 
[2026-09-07 19:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788789794000,"timestamp_ms":1788789794000,"timestamp_seconds":1788789794,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2e24d0"} 
[2026-09-07 19: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-07 19: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-07 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:37: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-07 19:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930181888001,"66":27321,"127":206,"83":43008,"24":10,"16":402112426142597120,"44":-1584000400884645888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-07 19:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930181888001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:37:54] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-07 19:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402112426142597120,"km_value":402112426142597.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584000400884645888,"description":"Unknown IO ID 44"} 
[2026-09-07 19:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930181888001,"power":27321,"unknown_127":206,"unknown_83":43008,"ignition":10,"odometer":null,"unknown_44":-1584000400884645888}} 
[2026-09-07 19:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:37:54] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:37:54] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:38:26] local.INFO: TCP Data received {"connection_id":173987,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c2e76d8012cea02c0071d1588000800bc2d..."} 
[2026-09-07 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c2e76d8012cea02c0071d1588000800bc2d..."} 
[2026-09-07 19:38:26] local.INFO: Processing buffer {"connection_id":173987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c2e76d8012cea02c0071d1588000800bc2d..."} 
[2026-09-07 19:38:26] local.INFO: Packet analysis {"connection_id":173987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:38:26] local.INFO: Extracted packet for processing {"connection_id":173987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c2e"} 
[2026-09-07 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":753533632,"raw_latitude":119346568,"longitude_deg":75.3533632,"latitude_deg":11.9346568,"altitude":8,"angle":188,"satellites":45,"speed":4,"hex_longitude":"2cea02c0","hex_latitude":"071d1588","is_valid_coordinates":true} 
[2026-09-07 19:38: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-07 19:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930187264001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402112632301027328,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584211507117942784,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788789815000,"timestamp_ms":1788789815000,"timestamp_seconds":1788789815,"priority":1,"record_length":96,"hex_timestamp":"000001a07c2e76d8"} 
[2026-09-07 19:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:38: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-07 19:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38: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-07 19:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930187264001,"66":27484,"127":206,"83":43008,"24":4,"16":402112632301027328,"44":-1584211507117942784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-09-07 19:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930187264001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:38:26] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-09-07 19:38:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-09-07 19:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402112632301027328,"km_value":402112632301027.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584211507117942784,"description":"Unknown IO ID 44"} 
[2026-09-07 19:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930187264001,"power":27484,"unknown_127":206,"unknown_83":43008,"ignition":4,"odometer":null,"unknown_44":-1584211507117942784}} 
[2026-09-07 19:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":173987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:38:26] local.INFO: GPS data processed {"connection_id":173987,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:38:26] local.INFO: Acknowledgment sent {"connection_id":173987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:38:46] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:46] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:46] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:38:49] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:49] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:49] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:38:54] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:54] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:38:54] local.INFO: IMEI packet received {"connection_id":175089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":175089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:38:55] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c31fd30012ce9f6c0071c68e8000500b72d..."} 
[2026-09-07 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c31fd30012ce9f6c0071c68e8000500b72d..."} 
[2026-09-07 19:38:55] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c31fd30012ce9f6c0071c68e8000500b72d..."} 
[2026-09-07 19:38:55] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c31"} 
[2026-09-07 19:38:55] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c31"} 
[2026-09-07 19:38:55] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119302376,"longitude_deg":75.353056,"latitude_deg":11.9302376,"altitude":5,"angle":183,"satellites":45,"speed":15,"hex_longitude":"2ce9f6c0","hex_latitude":"071c68e8","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930246400001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402114796964544512,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587518838105092096,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788790046000,"timestamp_ms":1788790046000,"timestamp_seconds":1788790046,"priority":1,"record_length":96,"hex_timestamp":"000001a07c31fd30"} 
[2026-09-07 19: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-07 19:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38:55] 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-07 19:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930246400001,"66":27365,"209":206,"83":41216,"24":15,"16":402114796964544512,"44":-1587518838105092096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 19:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930246400001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:38:55] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 19:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402114796964544512,"km_value":402114796964544.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587518838105092096,"description":"Unknown IO ID 44"} 
[2026-09-07 19:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930246400001,"power":27365,"unknown_209":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1587518838105092096}} 
[2026-09-07 19:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:38:55] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:38:55] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:38:59] local.INFO: TCP Data received {"connection_id":175089,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c324f38012ce9f500071c4e50000600b32a..."} 
[2026-09-07 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c324f38012ce9f500071c4e50000600b32a..."} 
[2026-09-07 19:38:59] local.INFO: Processing buffer {"connection_id":175089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c324f38012ce9f500071c4e50000600b32a..."} 
[2026-09-07 19:38:59] local.INFO: Packet analysis {"connection_id":175089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:38:59] local.INFO: Extracted packet for processing {"connection_id":175089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:38:59] local.INFO: GPS Element Parsed {"raw_longitude":753530112,"raw_latitude":119295568,"longitude_deg":75.3530112,"latitude_deg":11.9295568,"altitude":6,"angle":179,"satellites":42,"speed":15,"hex_longitude":"2ce9f500","hex_latitude":"071c4e50","is_valid_coordinates":true} 
[2026-09-07 19:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930251776001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402115131971993600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587870681827579904,"note":"Value kept but may cause issues"} 
[2026-09-07 19:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788790067000,"timestamp_ms":1788790067000,"timestamp_seconds":1788790067,"priority":1,"record_length":96,"hex_timestamp":"000001a07c324f38"} 
[2026-09-07 19:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 19:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:38:59] 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-07 19:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930251776001,"66":27343,"209":206,"83":41216,"24":15,"16":402115131971993600,"44":-1587870681827579904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 19:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930251776001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:38:59] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 19:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402115131971993600,"km_value":402115131971993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:38:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587870681827579904,"description":"Unknown IO ID 44"} 
[2026-09-07 19:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930251776001,"power":27343,"unknown_209":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1587870681827579904}} 
[2026-09-07 19:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":175089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:38:59] local.INFO: GPS data processed {"connection_id":175089,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:38:59] local.INFO: Acknowledgment sent {"connection_id":175089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:39:48] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:48] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:48] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:39:49] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:49] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:49] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:39:51] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:51] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:51] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:39:53] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:53] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:39:53] local.INFO: IMEI packet received {"connection_id":173991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":173991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:39:54] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c32a140012ce9f380071c3528000a00b32d..."} 
[2026-09-07 19:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c32a140012ce9f380071c3528000a00b32d..."} 
[2026-09-07 19:39:54] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c32a140012ce9f380071c3528000a00b32d..."} 
[2026-09-07 19:39:54] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:39:54] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:39:54] local.INFO: GPS Element Parsed {"raw_longitude":753529728,"raw_latitude":119289128,"longitude_deg":75.3529728,"latitude_deg":11.9289128,"altitude":10,"angle":179,"satellites":45,"speed":16,"hex_longitude":"2ce9f380","hex_latitude":"071c3528","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930257152001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402115445504606208,"note":"Value kept but may cause issues"} 
[2026-09-07 19:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588363263038566400,"note":"Value kept but may cause issues"} 
[2026-09-07 19:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788790088000,"timestamp_ms":1788790088000,"timestamp_seconds":1788790088,"priority":1,"record_length":96,"hex_timestamp":"000001a07c32a140"} 
[2026-09-07 19: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-07 19:39: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-07 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:39: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-07 19:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930257152001,"66":27376,"209":206,"83":41216,"24":16,"16":402115445504606208,"44":-1588363263038566400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 19:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930257152001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:39:54] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 19:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402115445504606208,"km_value":402115445504606.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588363263038566400,"description":"Unknown IO ID 44"} 
[2026-09-07 19:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930257152001,"power":27376,"unknown_209":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1588363263038566400}} 
[2026-09-07 19:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:39:54] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:39:54] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:40:28] local.INFO: TCP Data received {"connection_id":173991,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c32dbd8012ce9f680071c1b48000c00a82a..."} 
[2026-09-07 19:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c32dbd8012ce9f680071c1b48000c00a82a..."} 
[2026-09-07 19:40:28] local.INFO: Processing buffer {"connection_id":173991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c32dbd8012ce9f680071c1b48000c00a82a..."} 
[2026-09-07 19:40:28] local.INFO: Packet analysis {"connection_id":173991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:40:28] local.INFO: Extracted packet for processing {"connection_id":173991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":753530496,"raw_latitude":119282504,"longitude_deg":75.3530496,"latitude_deg":11.9282504,"altitude":12,"angle":168,"satellites":42,"speed":19,"hex_longitude":"2ce9f680","hex_latitude":"071c1b48","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930262528001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402115771922120704,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475505281024,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788790103000,"timestamp_ms":1788790103000,"timestamp_seconds":1788790103,"priority":1,"record_length":96,"hex_timestamp":"000001a07c32dbd8"} 
[2026-09-07 19: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-07 19:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 19:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:40:28] 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-07 19:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930262528001,"66":27104,"209":206,"83":41216,"24":19,"16":402115771922120704,"44":-1588785475505281024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 19:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930262528001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:40:28] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 19:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402115771922120704,"km_value":402115771922120.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475505281024,"description":"Unknown IO ID 44"} 
[2026-09-07 19:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930262528001,"power":27104,"unknown_209":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1588785475505281024}} 
[2026-09-07 19:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":173991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:40:28] local.INFO: GPS data processed {"connection_id":173991,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:40:28] local.INFO: Acknowledgment sent {"connection_id":173991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:40:44] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:40:44] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:44] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:40:49] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:49] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:40:49] local.INFO: IMEI packet received {"connection_id":176510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":176510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:40:50] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c331670012cea0100071bf9a0000e009d2a..."} 
[2026-09-07 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c331670012cea0100071bf9a0000e009d2a..."} 
[2026-09-07 19:40:50] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c331670012cea0100071bf9a0000e009d2a..."} 
[2026-09-07 19:40:50] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c33"} 
[2026-09-07 19:40:50] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c33"} 
[2026-09-07 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753533184,"raw_latitude":119273888,"longitude_deg":75.3533184,"latitude_deg":11.9273888,"altitude":14,"angle":157,"satellites":42,"speed":14,"hex_longitude":"2cea0100","hex_latitude":"071bf9a0","is_valid_coordinates":true} 
[2026-09-07 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930266368001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402116205713817600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587941050576844800,"note":"Value kept but may cause issues"} 
[2026-09-07 19:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788790118000,"timestamp_ms":1788790118000,"timestamp_seconds":1788790118,"priority":1,"record_length":96,"hex_timestamp":"000001a07c331670"} 
[2026-09-07 19:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 19:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:40:50] 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-07 19:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930266368001,"66":27321,"209":206,"83":41216,"24":14,"16":402116205713817600,"44":-1587941050576844800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-09-07 19:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930266368001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:40:50] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-09-07 19:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402116205713817600,"km_value":402116205713817.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587941050576844800,"description":"Unknown IO ID 44"} 
[2026-09-07 19:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930266368001,"power":27321,"unknown_209":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1587941050576844800}} 
[2026-09-07 19:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:40:50] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:40:50] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:41:21] local.INFO: TCP Data received {"connection_id":176510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c348d70012cea5a40071ae5d0000a00a32d..."} 
[2026-09-07 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c348d70012cea5a40071ae5d0000a00a32d..."} 
[2026-09-07 19:41:21] local.INFO: Processing buffer {"connection_id":176510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c348d70012cea5a40071ae5d0000a00a32d..."} 
[2026-09-07 19:41:21] local.INFO: Packet analysis {"connection_id":176510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:41:21] local.INFO: Extracted packet for processing {"connection_id":176510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":753556032,"raw_latitude":119203280,"longitude_deg":75.3556032,"latitude_deg":11.920328,"altitude":10,"angle":163,"satellites":45,"speed":44,"hex_longitude":"2cea5a40","hex_latitude":"071ae5d0","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930292736001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402119809191378944,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1562749040179107840,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788790214000,"timestamp_ms":1788790214000,"timestamp_seconds":1788790214,"priority":1,"record_length":96,"hex_timestamp":"000001a07c348d70"} 
[2026-09-07 19: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-07 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 19:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:41: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-07 19:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930292736001,"66":27104,"105":206,"83":41216,"24":44,"16":402119809191378944,"44":-1562749040179107840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930292736001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:41:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:41:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402119809191378944,"km_value":402119809191378.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1562749040179107840,"description":"Unknown IO ID 44"} 
[2026-09-07 19:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930292736001,"power":27104,"unknown_105":206,"unknown_83":41216,"ignition":44,"odometer":null,"unknown_44":-1562749040179107840}} 
[2026-09-07 19:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":176510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:41:21] local.INFO: GPS data processed {"connection_id":176510,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:41:21] local.INFO: Acknowledgment sent {"connection_id":176510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:41:26] local.INFO: TCP Data received {"connection_id":176511,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:26] local.INFO: Processing buffer {"connection_id":176511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:26] local.INFO: IMEI packet received {"connection_id":176511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":176511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:41:44] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:44] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:44] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:41:46] local.INFO: TCP Data received {"connection_id":175090,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:46] local.INFO: Processing buffer {"connection_id":175090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:41:46] local.INFO: IMEI packet received {"connection_id":175090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":175090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:41:47] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:41:47] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:47] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:41:49] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:49] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:41:49] local.INFO: IMEI packet received {"connection_id":175091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":175091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:41:49] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c34b098012cea6380071ac338000e00a62b..."} 
[2026-09-07 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c34b098012cea6380071ac338000e00a62b..."} 
[2026-09-07 19:41:49] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c34b098012cea6380071ac338000e00a62b..."} 
[2026-09-07 19:41:49] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:41:49] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":753558400,"raw_latitude":119194424,"longitude_deg":75.35584,"latitude_deg":11.9194424,"altitude":14,"angle":166,"satellites":43,"speed":40,"hex_longitude":"2cea6380","hex_latitude":"071ac338","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930294784001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402120251573010432,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559863921670238208,"note":"Value kept but may cause issues"} 
[2026-09-07 19:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788790223000,"timestamp_ms":1788790223000,"timestamp_seconds":1788790223,"priority":1,"record_length":96,"hex_timestamp":"000001a07c34b098"} 
[2026-09-07 19: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-07 19:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 19:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:41: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-07 19:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930294784001,"66":27321,"105":206,"83":41216,"24":40,"16":402120251573010432,"44":-1559863921670238208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930294784001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:41:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402120251573010432,"km_value":402120251573010.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:41:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559863921670238208,"description":"Unknown IO ID 44"} 
[2026-09-07 19:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930294784001,"power":27321,"unknown_105":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1559863921670238208}} 
[2026-09-07 19:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:41:49] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:41:49] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:42:20] local.INFO: TCP Data received {"connection_id":175091,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c34e748012cea6fc0071aa1c80011009c2c..."} 
[2026-09-07 19:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c34e748012cea6fc0071aa1c80011009c2c..."} 
[2026-09-07 19:42:20] local.INFO: Processing buffer {"connection_id":175091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c34e748012cea6fc0071aa1c80011009c2c..."} 
[2026-09-07 19:42:20] local.INFO: Packet analysis {"connection_id":175091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:42:20] local.INFO: Extracted packet for processing {"connection_id":175091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:42:20] local.INFO: GPS Element Parsed {"raw_longitude":753561536,"raw_latitude":119185864,"longitude_deg":75.3561536,"latitude_deg":11.9185864,"altitude":17,"angle":156,"satellites":44,"speed":19,"hex_longitude":"2cea6fc0","hex_latitude":"071aa1c8","is_valid_coordinates":true} 
[2026-09-07 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930297088001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402120693954641920,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557260278137931776,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788790237000,"timestamp_ms":1788790237000,"timestamp_seconds":1788790237,"priority":1,"record_length":96,"hex_timestamp":"000001a07c34e748"} 
[2026-09-07 19:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:42: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-07 19:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930297088001,"66":27397,"105":206,"83":41216,"24":19,"16":402120693954641920,"44":-1557260278137931776},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930297088001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:42:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:42:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402120693954641920,"km_value":402120693954641.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557260278137931776,"description":"Unknown IO ID 44"} 
[2026-09-07 19:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930297088001,"power":27397,"unknown_105":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1557260278137931776}} 
[2026-09-07 19:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:42:20] local.INFO: GPS data processed {"connection_id":175091,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:42:20] local.INFO: Acknowledgment sent {"connection_id":175091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:42:37] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:37] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:37] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:42:42] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:42] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:42:42] local.INFO: IMEI packet received {"connection_id":173754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":173754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:42:43] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07c327260012d82538005c7c9780001000b2a..."} 
[2026-09-07 19:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c327260012d82538005c7c9780001000b2a..."} 
[2026-09-07 19:42:43] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c327260012d82538005c7c9780001000b2a..."} 
[2026-09-07 19:42:43] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:42:43] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c32"} 
[2026-09-07 19:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":42,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1788790076000,"timestamp_ms":1788790076000,"timestamp_seconds":1788790076,"priority":1,"record_length":96,"hex_timestamp":"000001a07c327260"} 
[2026-09-07 19:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:42: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-07 19:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:42:43] 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-07 19:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":13276,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:42:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":13276,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:42:43] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:42:43] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:42:45] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:45] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:45] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:42:48] local.INFO: TCP Data received {"connection_id":173754,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:42:48] local.INFO: Processing buffer {"connection_id":173754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:42:48] local.INFO: Packet analysis {"connection_id":173754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:42:48] local.INFO: Extracted packet for processing {"connection_id":173754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 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-07 19:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 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-07 19: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-07 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:42:48] 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-07 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-07 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-07 19:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:42:48] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":173754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:42:48] local.INFO: GPS data processed {"connection_id":173754,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:42:48] local.INFO: Acknowledgment sent {"connection_id":173754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:42:49] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:49] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:49] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:42:54] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:54] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:42:54] local.INFO: IMEI packet received {"connection_id":175092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":175092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:42:55] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c351a10012cea75c0071a97900016008f2b..."} 
[2026-09-07 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c351a10012cea75c0071a97900016008f2b..."} 
[2026-09-07 19:42:55] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c351a10012cea75c0071a97900016008f2b..."} 
[2026-09-07 19:42:55] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:42:55] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":753563072,"raw_latitude":119183248,"longitude_deg":75.3563072,"latitude_deg":11.9183248,"altitude":22,"angle":143,"satellites":43,"speed":9,"hex_longitude":"2cea75c0","hex_latitude":"071a9790","is_valid_coordinates":true} 
[2026-09-07 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-07 19:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930300672001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402120839983529984,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1553812209675417600,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788790250000,"timestamp_ms":1788790250000,"timestamp_seconds":1788790250,"priority":1,"record_length":96,"hex_timestamp":"000001a07c351a10"} 
[2026-09-07 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-07 19:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 19:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 19:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:55] 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-07 19:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930300672001,"66":27245,"105":206,"83":41216,"24":9,"16":402120839983529984,"44":-1553812209675417600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930300672001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:42:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402120839983529984,"km_value":402120839983530.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1553812209675417600,"description":"Unknown IO ID 44"} 
[2026-09-07 19:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930300672001,"power":27245,"unknown_105":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1553812209675417600}} 
[2026-09-07 19:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:42:55] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:42:55] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:42:59] local.INFO: TCP Data received {"connection_id":175092,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c351df8012cea7680071a9688001700a02c..."} 
[2026-09-07 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c351df8012cea7680071a9688001700a02c..."} 
[2026-09-07 19:42:59] local.INFO: Processing buffer {"connection_id":175092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c351df8012cea7680071a9688001700a02c..."} 
[2026-09-07 19:42:59] local.INFO: Packet analysis {"connection_id":175092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:42:59] local.INFO: Extracted packet for processing {"connection_id":175092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:42:59] local.INFO: GPS Element Parsed {"raw_longitude":753563264,"raw_latitude":119182984,"longitude_deg":75.3563264,"latitude_deg":11.9182984,"altitude":23,"angle":160,"satellites":44,"speed":11,"hex_longitude":"2cea7680","hex_latitude":"071a9688","is_valid_coordinates":true} 
[2026-09-07 19:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930304000001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402120852868431872,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1552123359815823360,"note":"Value kept but may cause issues"} 
[2026-09-07 19:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788790251000,"timestamp_ms":1788790251000,"timestamp_seconds":1788790251,"priority":1,"record_length":96,"hex_timestamp":"000001a07c351df8"} 
[2026-09-07 19:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 19:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:42:59] 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-07 19:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930304000001,"66":27289,"105":206,"83":41216,"24":11,"16":402120852868431872,"44":-1552123359815823360},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930304000001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:42:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402120852868431872,"km_value":402120852868431.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1552123359815823360,"description":"Unknown IO ID 44"} 
[2026-09-07 19:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930304000001,"power":27289,"unknown_105":206,"unknown_83":41216,"ignition":11,"odometer":null,"unknown_44":-1552123359815823360}} 
[2026-09-07 19:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":175092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:42:59] local.INFO: GPS data processed {"connection_id":175092,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:42:59] local.INFO: Acknowledgment sent {"connection_id":175092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:43:22] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:22] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:22] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:43:27] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:27] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:43:27] local.INFO: IMEI packet received {"connection_id":173993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":173993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:43:28] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:28] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:28] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:43:28] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 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-07 19:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 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-07 19:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:43:28] 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-07 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-07 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-07 19:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:43:28] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:43:28] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:43:28] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:43:44] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:44] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:44] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:43:45] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:45] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:45] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:43:48] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:48] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:43:48] local.INFO: IMEI packet received {"connection_id":173755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":173755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:43:49] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3521e0012cea7700071a9570001800922c..."} 
[2026-09-07 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3521e0012cea7700071a9570001800922c..."} 
[2026-09-07 19:43:49] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3521e0012cea7700071a9570001800922c..."} 
[2026-09-07 19:43:49] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:43:49] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c35"} 
[2026-09-07 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":753563392,"raw_latitude":119182704,"longitude_deg":75.3563392,"latitude_deg":11.9182704,"altitude":24,"angle":146,"satellites":44,"speed":14,"hex_longitude":"2cea7700","hex_latitude":"071a9570","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930304256001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402120870048301056,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551912253583357952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788790252000,"timestamp_ms":1788790252000,"timestamp_seconds":1788790252,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3521e0"} 
[2026-09-07 19: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-07 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 19:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:43: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-07 19:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930304256001,"66":27289,"105":206,"83":41216,"24":14,"16":402120870048301056,"44":-1551912253583357952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-09-07 19:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930304256001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:43:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-07 19:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402120870048301056,"km_value":402120870048301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551912253583357952,"description":"Unknown IO ID 44"} 
[2026-09-07 19:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930304256001,"power":27289,"unknown_105":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1551912253583357952}} 
[2026-09-07 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:43:49] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:43:49] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:43:59] local.INFO: TCP Data received {"connection_id":173993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:59] local.INFO: Processing buffer {"connection_id":173993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:43:59] local.INFO: Packet analysis {"connection_id":173993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:43:59] local.INFO: Extracted packet for processing {"connection_id":173993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:43: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-07 19:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:43:59] 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-07 19:43: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-07 19:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:43:59] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":173993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:43:59] local.INFO: GPS data processed {"connection_id":173993,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:43:59] local.INFO: Acknowledgment sent {"connection_id":173993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:44:21] local.INFO: TCP Data received {"connection_id":173755,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c373cf0012ceb7200071a0800001700942e..."} 
[2026-09-07 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c373cf0012ceb7200071a0800001700942e..."} 
[2026-09-07 19:44:21] local.INFO: Processing buffer {"connection_id":173755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c373cf0012ceb7200071a0800001700942e..."} 
[2026-09-07 19:44:21] local.INFO: Packet analysis {"connection_id":173755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:44:21] local.INFO: Extracted packet for processing {"connection_id":173755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:44:21] local.INFO: GPS Element Parsed {"raw_longitude":753627648,"raw_latitude":119146496,"longitude_deg":75.3627648,"latitude_deg":11.9146496,"altitude":23,"angle":148,"satellites":46,"speed":16,"hex_longitude":"2ceb7200","hex_latitude":"071a0800","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930339072001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402124452051025920,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481824984391522304,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788790390000,"timestamp_ms":1788790390000,"timestamp_seconds":1788790390,"priority":1,"record_length":96,"hex_timestamp":"000001a07c373cf0"} 
[2026-09-07 19: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-07 19:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 19:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:44: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-07 19:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930339072001,"66":27245,"135":206,"83":41216,"24":16,"16":402124452051025920,"44":-1481824984391522304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 19:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930339072001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:44:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 19:44:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402124452051025920,"km_value":402124452051025.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481824984391522304,"description":"Unknown IO ID 44"} 
[2026-09-07 19:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930339072001,"power":27245,"unknown_135":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1481824984391522304}} 
[2026-09-07 19:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":173755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:44:21] local.INFO: GPS data processed {"connection_id":173755,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:44:21] local.INFO: Acknowledgment sent {"connection_id":173755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:44:23] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:23] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:23] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:44:28] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:28] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:44:28] local.INFO: IMEI packet received {"connection_id":176512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":176512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:44:28] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:44:28] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:44:28] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:44:28] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:44:28] 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-07 19:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:44:28] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:44:29] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:44:29] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:44:44] local.INFO: TCP Data received {"connection_id":176513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:44] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:44] local.INFO: IMEI packet received {"connection_id":176513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":176513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:44:49] local.INFO: TCP Data received {"connection_id":176513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:49] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:44:49] local.INFO: IMEI packet received {"connection_id":176513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":176513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:44:51] local.INFO: TCP Data received {"connection_id":176513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c377b70012ceb80000719e6580016009c2c..."} 
[2026-09-07 19:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c377b70012ceb80000719e6580016009c2c..."} 
[2026-09-07 19:44:51] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c377b70012ceb80000719e6580016009c2c..."} 
[2026-09-07 19:44:51] local.INFO: Packet analysis {"connection_id":176513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:44:51] local.INFO: Extracted packet for processing {"connection_id":176513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:44:51] local.INFO: GPS Element Parsed {"raw_longitude":753631232,"raw_latitude":119137880,"longitude_deg":75.3631232,"latitude_deg":11.913788,"altitude":22,"angle":156,"satellites":44,"speed":29,"hex_longitude":"2ceb8000","hex_latitude":"0719e658","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930339840001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402124903022592000,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481121296949968896,"note":"Value kept but may cause issues"} 
[2026-09-07 19:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788790406000,"timestamp_ms":1788790406000,"timestamp_seconds":1788790406,"priority":1,"record_length":96,"hex_timestamp":"000001a07c377b70"} 
[2026-09-07 19: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-07 19:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 19:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:44: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-07 19:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930339840001,"66":27332,"137":206,"83":41216,"24":29,"16":402124903022592000,"44":-1481121296949968896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-07 19:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930339840001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:44:51] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 19:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402124903022592000,"km_value":402124903022592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481121296949968896,"description":"Unknown IO ID 44"} 
[2026-09-07 19:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930339840001,"power":27332,"unknown_137":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1481121296949968896}} 
[2026-09-07 19:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":176513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:44:51] local.INFO: GPS data processed {"connection_id":176513,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:44:51] local.INFO: Acknowledgment sent {"connection_id":176513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:45:00] local.INFO: TCP Data received {"connection_id":176512,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:00] local.INFO: Processing buffer {"connection_id":176512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:00] local.INFO: Packet analysis {"connection_id":176512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:45:00] local.INFO: Extracted packet for processing {"connection_id":176512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:45:00] 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-07 19:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":176512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":176512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":176512,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:45:00] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":176512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:45:00] local.INFO: GPS data processed {"connection_id":176512,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:45:00] local.INFO: Acknowledgment sent {"connection_id":176512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:45:22] local.INFO: TCP Data received {"connection_id":176513,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c37aa50012ceb8fc00719c6c0001800962d..."} 
[2026-09-07 19:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c37aa50012ceb8fc00719c6c0001800962d..."} 
[2026-09-07 19:45:22] local.INFO: Processing buffer {"connection_id":176513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c37aa50012ceb8fc00719c6c0001800962d..."} 
[2026-09-07 19:45:22] local.INFO: Packet analysis {"connection_id":176513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:45:22] local.INFO: Extracted packet for processing {"connection_id":176513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c37"} 
[2026-09-07 19:45:22] local.INFO: GPS Element Parsed {"raw_longitude":753635264,"raw_latitude":119129792,"longitude_deg":75.3635264,"latitude_deg":11.9129792,"altitude":24,"angle":150,"satellites":45,"speed":29,"hex_longitude":"2ceb8fc0","hex_latitude":"0719c6c0","is_valid_coordinates":true} 
[2026-09-07 19:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930343936001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402125341109256192,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1477180647278225408,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788790418000,"timestamp_ms":1788790418000,"timestamp_seconds":1788790418,"priority":1,"record_length":96,"hex_timestamp":"000001a07c37aa50"} 
[2026-09-07 19:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:45: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-07 19:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 19:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:45: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-07 19:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930343936001,"66":27343,"137":206,"83":41216,"24":29,"16":402125341109256192,"44":-1477180647278225408},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-09-07 19:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930343936001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:45:22] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-09-07 19:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402125341109256192,"km_value":402125341109256.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1477180647278225408,"description":"Unknown IO ID 44"} 
[2026-09-07 19:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930343936001,"power":27343,"unknown_137":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1477180647278225408}} 
[2026-09-07 19:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":176513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:45:22] local.INFO: GPS data processed {"connection_id":176513,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:45:22] local.INFO: Acknowledgment sent {"connection_id":176513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:45:27] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:27] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:27] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:45:32] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:32] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:45:32] local.INFO: IMEI packet received {"connection_id":175093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":175093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:45:33] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:33] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:45:33] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:45:33] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:45: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-07 19:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:45:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:45:33] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:45:33] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:45:42] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:42] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:42] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:45:43] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:43] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:43] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:45:44] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:44] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:44] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:45:46] local.INFO: TCP Data received {"connection_id":176514,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:46] local.INFO: Processing buffer {"connection_id":176514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:45:46] local.INFO: IMEI packet received {"connection_id":176514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":176514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:46:04] local.INFO: TCP Data received {"connection_id":175093,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:04] local.INFO: Processing buffer {"connection_id":175093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:04] local.INFO: Packet analysis {"connection_id":175093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:46:04] local.INFO: Extracted packet for processing {"connection_id":175093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":175093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":175093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":175093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":175093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:46:04] local.INFO: GPS data processed {"connection_id":175093,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:46:04] local.INFO: Acknowledgment sent {"connection_id":175093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:46:27] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:27] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:27] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:46:32] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:32] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 19:46:32] local.INFO: IMEI packet received {"connection_id":173995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 19:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":173995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:46:33] local.INFO: TCP Data received {"connection_id":173995,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:33] local.INFO: Processing buffer {"connection_id":173995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c346e30012d82538005c7c9780001000b2b..."} 
[2026-09-07 19:46:33] local.INFO: Packet analysis {"connection_id":173995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:46:33] local.INFO: Extracted packet for processing {"connection_id":173995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c34"} 
[2026-09-07 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763515776,"raw_latitude":96979320,"longitude_deg":76.3515776,"latitude_deg":9.697932,"altitude":1,"angle":11,"satellites":43,"speed":0,"hex_longitude":"2d825380","hex_latitude":"05c7c978","is_valid_coordinates":true} 
[2026-09-07 19:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930259456001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055753663396874240,"note":"Value kept but may cause issues"} 
[2026-09-07 19:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1788790206000,"timestamp_ms":1788790206000,"timestamp_seconds":1788790206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c346e30"} 
[2026-09-07 19:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:46: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-07 19:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 19:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":173995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":173995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 19:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 19:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 19:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930259456001,"66":2709,"218":206,"85":12288,"24":0,"16":129596502103293952,"45":-9055753663396874240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,45]} 
[2026-09-07 19:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 19:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 19:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930259456001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:46:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-09-07 19:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 19:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129596502103293952,"km_value":129596502103293.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055753663396874240,"description":"Unknown IO ID 45"} 
[2026-09-07 19:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930259456001,"power":2709,"unknown_218":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9055753663396874240}} 
[2026-09-07 19:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":173995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:46:33] local.INFO: GPS data processed {"connection_id":173995,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:46:33] local.INFO: Acknowledgment sent {"connection_id":173995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:47:06] local.INFO: TCP Data received {"connection_id":173758,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:47:06] local.INFO: Processing buffer {"connection_id":173758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:47:06] local.INFO: IMEI packet received {"connection_id":173758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":173758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:50:49] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:50:49] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:50:49] local.INFO: IMEI packet received {"connection_id":173759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":173759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:50:50] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3b6f28012ceb6ac0071a0ea8001601342d..."} 
[2026-09-07 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3b6f28012ceb6ac0071a0ea8001601342d..."} 
[2026-09-07 19:50:50] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3b6f28012ceb6ac0071a0ea8001601342d..."} 
[2026-09-07 19:50:50] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:50:50] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":753625792,"raw_latitude":119148200,"longitude_deg":75.3625792,"latitude_deg":11.91482,"altitude":22,"angle":308,"satellites":45,"speed":19,"hex_longitude":"2ceb6ac0","hex_latitude":"071a0ea8","is_valid_coordinates":true} 
[2026-09-07 19:50: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-07 19:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930409216001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402132638258692096,"note":"Value kept but may cause issues"} 
[2026-09-07 19:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481543509414998016,"note":"Value kept but may cause issues"} 
[2026-09-07 19:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788790665000,"timestamp_ms":1788790665000,"timestamp_seconds":1788790665,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3b6f28"} 
[2026-09-07 19:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 19:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:50: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-07 19:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:50: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-07 19:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930409216001,"66":27104,"135":206,"83":41216,"24":19,"16":402132638258692096,"44":-1481543509414998016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 19:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930409216001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:50:50] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 19:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402132638258692096,"km_value":402132638258692.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481543509414998016,"description":"Unknown IO ID 44"} 
[2026-09-07 19:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930409216001,"power":27104,"unknown_135":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1481543509414998016}} 
[2026-09-07 19:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:50:50] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:50:50] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:51:21] local.INFO: TCP Data received {"connection_id":173759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3b8a80012ceb5e00071a1608001701292d..."} 
[2026-09-07 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3b8a80012ceb5e00071a1608001701292d..."} 
[2026-09-07 19:51:21] local.INFO: Processing buffer {"connection_id":173759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3b8a80012ceb5e00071a1608001701292d..."} 
[2026-09-07 19:51:21] local.INFO: Packet analysis {"connection_id":173759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:51:21] local.INFO: Extracted packet for processing {"connection_id":173759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":753622528,"raw_latitude":119150088,"longitude_deg":75.3622528,"latitude_deg":11.9150088,"altitude":23,"angle":297,"satellites":45,"speed":24,"hex_longitude":"2ceb5e00","hex_latitude":"071a1608","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930410240001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402132818647318528,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483161990530684928,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788790672000,"timestamp_ms":1788790672000,"timestamp_seconds":1788790672,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3b8a80"} 
[2026-09-07 19: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-07 19:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 19:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:51: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-07 19:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930410240001,"66":27267,"135":206,"83":41216,"24":24,"16":402132818647318528,"44":-1483161990530684928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-09-07 19:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930410240001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:51:21] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 19:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402132818647318528,"km_value":402132818647318.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483161990530684928,"description":"Unknown IO ID 44"} 
[2026-09-07 19:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930410240001,"power":27267,"unknown_135":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1483161990530684928}} 
[2026-09-07 19:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":173759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:51:21] local.INFO: GPS data processed {"connection_id":173759,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:51:21] local.INFO: Acknowledgment sent {"connection_id":173759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:51:44] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:44] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:44] local.INFO: IMEI packet received {"connection_id":175097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":175097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:51:49] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:49] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:51:49] local.INFO: IMEI packet received {"connection_id":175097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":175097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:51:50] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3bc900012ceb3e40071a26300019012a2d..."} 
[2026-09-07 19:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3bc900012ceb3e40071a26300019012a2d..."} 
[2026-09-07 19:51:50] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3bc900012ceb3e40071a26300019012a2d..."} 
[2026-09-07 19:51:50] local.INFO: Packet analysis {"connection_id":175097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:51:50] local.INFO: Extracted packet for processing {"connection_id":175097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3b"} 
[2026-09-07 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":753614400,"raw_latitude":119154224,"longitude_deg":75.36144,"latitude_deg":11.9154224,"altitude":25,"angle":298,"satellites":45,"speed":18,"hex_longitude":"2ceb3e40","hex_latitude":"071a2630","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930412032001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402133252439015424,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486750796483262464,"note":"Value kept but may cause issues"} 
[2026-09-07 19:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788790688000,"timestamp_ms":1788790688000,"timestamp_seconds":1788790688,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3bc900"} 
[2026-09-07 19: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-07 19:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:51:50] local.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-07 19:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930412032001,"66":27343,"104":206,"83":41216,"24":18,"16":402133252439015424,"44":-1486750796483262464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930412032001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:51:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402133252439015424,"km_value":402133252439015.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486750796483262464,"description":"Unknown IO ID 44"} 
[2026-09-07 19:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930412032001,"power":27343,"unknown_104":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1486750796483262464}} 
[2026-09-07 19:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":175097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:51:50] local.INFO: GPS data processed {"connection_id":175097,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:51:50] local.INFO: Acknowledgment sent {"connection_id":175097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:52:21] local.INFO: TCP Data received {"connection_id":175097,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3c1b08012ceb1ec0071a33b8001801262a..."} 
[2026-09-07 19:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3c1b08012ceb1ec0071a33b8001801262a..."} 
[2026-09-07 19:52:21] local.INFO: Processing buffer {"connection_id":175097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3c1b08012ceb1ec0071a33b8001801262a..."} 
[2026-09-07 19:52:21] local.INFO: Packet analysis {"connection_id":175097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:52:21] local.INFO: Extracted packet for processing {"connection_id":175097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:52:21] local.INFO: GPS Element Parsed {"raw_longitude":753606336,"raw_latitude":119157688,"longitude_deg":75.3606336,"latitude_deg":11.9157688,"altitude":24,"angle":294,"satellites":42,"speed":16,"hex_longitude":"2ceb1ec0","hex_latitude":"071a33b8","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930416128001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402133673345810432,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1495687626992766976,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788790709000,"timestamp_ms":1788790709000,"timestamp_seconds":1788790709,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3c1b08"} 
[2026-09-07 19: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-07 19:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 19:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930416128001,"66":27267,"104":206,"83":41216,"24":16,"16":402133673345810432,"44":-1495687626992766976},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930416128001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:52:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:52:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402133673345810432,"km_value":402133673345810.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1495687626992766976,"description":"Unknown IO ID 44"} 
[2026-09-07 19:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930416128001,"power":27267,"unknown_104":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1495687626992766976}} 
[2026-09-07 19:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":175097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:52:21] local.INFO: GPS data processed {"connection_id":175097,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:52:21] local.INFO: Acknowledgment sent {"connection_id":175097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:52:44] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:44] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:44] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:52:46] local.INFO: TCP Data received {"connection_id":175099,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:52:46] local.INFO: Processing buffer {"connection_id":175099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:52:46] local.INFO: IMEI packet received {"connection_id":175099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":175099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:52:49] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:49] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:52:49] local.INFO: IMEI packet received {"connection_id":175098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":175098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:52:50] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3c55a0012ceb0740071a3d500019011a2a..."} 
[2026-09-07 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3c55a0012ceb0740071a3d500019011a2a..."} 
[2026-09-07 19:52:50] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3c55a0012ceb0740071a3d500019011a2a..."} 
[2026-09-07 19:52:50] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:52:50] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119160144,"longitude_deg":75.360032,"latitude_deg":11.9160144,"altitude":25,"angle":282,"satellites":42,"speed":8,"hex_longitude":"2ceb0740","hex_latitude":"071a3d50","is_valid_coordinates":true} 
[2026-09-07 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930421504001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402133982583455744,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1504554088758265856,"note":"Value kept but may cause issues"} 
[2026-09-07 19:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788790724000,"timestamp_ms":1788790724000,"timestamp_seconds":1788790724,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3c55a0"} 
[2026-09-07 19:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 19:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:52:50] 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-07 19:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930421504001,"66":27376,"104":206,"83":41216,"24":8,"16":402133982583455744,"44":-1504554088758265856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930421504001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:52:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402133982583455744,"km_value":402133982583455.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1504554088758265856,"description":"Unknown IO ID 44"} 
[2026-09-07 19:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930421504001,"power":27376,"unknown_104":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1504554088758265856}} 
[2026-09-07 19:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:52:50] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:52:50] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:53:21] local.INFO: TCP Data received {"connection_id":175098,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3c5988012ceb0640071a3d980018012629..."} 
[2026-09-07 19:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3c5988012ceb0640071a3d980018012629..."} 
[2026-09-07 19:53:21] local.INFO: Processing buffer {"connection_id":175098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3c5988012ceb0640071a3d980018012629..."} 
[2026-09-07 19:53:21] local.INFO: Packet analysis {"connection_id":175098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:53:21] local.INFO: Extracted packet for processing {"connection_id":175098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:53:21] local.INFO: GPS Element Parsed {"raw_longitude":753600064,"raw_latitude":119160216,"longitude_deg":75.3600064,"latitude_deg":11.9160216,"altitude":24,"angle":294,"satellites":41,"speed":8,"hex_longitude":"2ceb0640","hex_latitude":"071a3d98","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930425344001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402133995468357632,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710337536,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788790725000,"timestamp_ms":1788790725000,"timestamp_seconds":1788790725,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3c5988"} 
[2026-09-07 19: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-07 19:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 19:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:53:21] 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-07 19:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930425344001,"66":27245,"104":206,"83":41216,"24":8,"16":402133995468357632,"44":-1511168750710337536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930425344001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:53:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402133995468357632,"km_value":402133995468357.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710337536,"description":"Unknown IO ID 44"} 
[2026-09-07 19:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930425344001,"power":27245,"unknown_104":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1511168750710337536}} 
[2026-09-07 19:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":175098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:53:21] local.INFO: GPS data processed {"connection_id":175098,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:53:21] local.INFO: Acknowledgment sent {"connection_id":175098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:53:44] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:44] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:44] local.INFO: IMEI packet received {"connection_id":176518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":176518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:53:49] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:49] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:53:49] local.INFO: IMEI packet received {"connection_id":176518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":176518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:53:51] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3cab90012ceb0540071a3f50001a012f2a..."} 
[2026-09-07 19:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3cab90012ceb0540071a3f50001a012f2a..."} 
[2026-09-07 19:53:51] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3cab90012ceb0540071a3f50001a012f2a..."} 
[2026-09-07 19:53:51] local.INFO: Packet analysis {"connection_id":176518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:53:51] local.INFO: Extracted packet for processing {"connection_id":176518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:53:51] local.INFO: GPS Element Parsed {"raw_longitude":753599808,"raw_latitude":119160656,"longitude_deg":75.3599808,"latitude_deg":11.9160656,"altitude":26,"angle":303,"satellites":42,"speed":2,"hex_longitude":"2ceb0540","hex_latitude":"071a3f50","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930425600001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134055597899776,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511450225687029760,"note":"Value kept but may cause issues"} 
[2026-09-07 19:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788790746000,"timestamp_ms":1788790746000,"timestamp_seconds":1788790746,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3cab90"} 
[2026-09-07 19: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-07 19:53: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-07 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 19:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:53:51] 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-07 19:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930425600001,"66":27800,"104":206,"83":41216,"24":2,"16":402134055597899776,"44":-1511450225687029760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930425600001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:53:51] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134055597899776,"km_value":402134055597899.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511450225687029760,"description":"Unknown IO ID 44"} 
[2026-09-07 19:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930425600001,"power":27800,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511450225687029760}} 
[2026-09-07 19:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":176518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:53:51] local.INFO: GPS data processed {"connection_id":176518,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:53:51] local.INFO: Acknowledgment sent {"connection_id":176518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:54:22] local.INFO: TCP Data received {"connection_id":176518,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3cfd98012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3cfd98012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:22] local.INFO: Processing buffer {"connection_id":176518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3cfd98012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:22] local.INFO: Packet analysis {"connection_id":176518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:54:22] local.INFO: Extracted packet for processing {"connection_id":176518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3c"} 
[2026-09-07 19:54:22] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159768,"longitude_deg":75.3600256,"latitude_deg":11.9159768,"altitude":25,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0700","hex_latitude":"071a3bd8","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930430976001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511731700663627776,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788790767000,"timestamp_ms":1788790767000,"timestamp_seconds":1788790767,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3cfd98"} 
[2026-09-07 19: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-07 19:54: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-07 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 19:54:22] 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-07 19:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19: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-07 19:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:54: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-07 19:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930430976001,"66":27843,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511731700663627776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930430976001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:54:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:54:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511731700663627776,"description":"Unknown IO ID 44"} 
[2026-09-07 19:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930430976001,"power":27843,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511731700663627776}} 
[2026-09-07 19:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":176518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:54:22] local.INFO: GPS data processed {"connection_id":176518,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:54:22] local.INFO: Acknowledgment sent {"connection_id":176518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:54:44] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:44] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:44] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:54:49] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:49] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:54:49] local.INFO: IMEI packet received {"connection_id":173999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":173999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:54:50] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c3d2c78012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c3d2c78012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:50] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c3d2c78012ceb0700071a3bd80019012f2d..."} 
[2026-09-07 19:54:50] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c3d"} 
[2026-09-07 19:54:50] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c3d"} 
[2026-09-07 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119159768,"longitude_deg":75.3600256,"latitude_deg":11.9159768,"altitude":25,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0700","hex_latitude":"071a3bd8","is_valid_coordinates":true} 
[2026-09-07 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 19:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930436352001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788790779000,"timestamp_ms":1788790779000,"timestamp_seconds":1788790779,"priority":1,"record_length":96,"hex_timestamp":"000001a07c3d2c78"} 
[2026-09-07 19:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 19:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-09-07 19:54:50] 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-07 19:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:54:50] 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-07 19:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930436352001,"66":27865,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930436352001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:54:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930436352001,"power":27865,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:54:50] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:54:50] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:55:21] local.INFO: TCP Data received {"connection_id":173999,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:21] local.INFO: Processing buffer {"connection_id":173999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:21] local.INFO: Packet analysis {"connection_id":173999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:55:21] local.INFO: Extracted packet for processing {"connection_id":173999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:55: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-07 19:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:55: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-07 19:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:55:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":173999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:55:21] local.INFO: GPS data processed {"connection_id":173999,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:55:21] local.INFO: Acknowledgment sent {"connection_id":173999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:55:49] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:49] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:49] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:55:54] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:54] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:55:54] local.INFO: IMEI packet received {"connection_id":175100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":175100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:55:55] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:55] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:55:55] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:55:55] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 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-07 19:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 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-07 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-07 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-07 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-07 19:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:55:55] 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-07 19:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:55:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:55:55] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:55:55] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:56:26] local.INFO: TCP Data received {"connection_id":175100,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:26] local.INFO: Processing buffer {"connection_id":175100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:26] local.INFO: Packet analysis {"connection_id":175100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:56:26] local.INFO: Extracted packet for processing {"connection_id":175100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 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":795,"current_offset":40} 
[2026-09-07 19:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19: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-07 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:56:26] 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-07 19:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:56:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":175100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:56:26] local.INFO: GPS data processed {"connection_id":175100,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:56:26] local.INFO: Acknowledgment sent {"connection_id":175100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:56:44] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:44] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:44] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:56:49] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:49] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:56:49] local.INFO: IMEI packet received {"connection_id":176519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":176519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:56:50] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:50] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:56:50] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:56:50] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:56:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:56:50] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:56:50] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:57:21] local.INFO: TCP Data received {"connection_id":176519,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:21] local.INFO: Processing buffer {"connection_id":176519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:21] local.INFO: Packet analysis {"connection_id":176519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:57:21] local.INFO: Extracted packet for processing {"connection_id":176519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:57:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19: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-07 19:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:57: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-07 19: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-07 19: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-07 19:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:57:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":176519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:57:21] local.INFO: GPS data processed {"connection_id":176519,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:57:21] local.INFO: Acknowledgment sent {"connection_id":176519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:57:44] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:44] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:44] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:57:49] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:49] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:57:49] local.INFO: IMEI packet received {"connection_id":173762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":173762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:57:50] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:50] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:57:50] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:57:50] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19: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-07 19:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:57:50] 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-07 19:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:57:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:57:50] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:57:50] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:58:21] local.INFO: TCP Data received {"connection_id":173762,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:21] local.INFO: Processing buffer {"connection_id":173762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:21] local.INFO: Packet analysis {"connection_id":173762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:58:21] local.INFO: Extracted packet for processing {"connection_id":173762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:58:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:58: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-07 19:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:58: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-07 19:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:58:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":173762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:58:21] local.INFO: GPS data processed {"connection_id":173762,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:58:21] local.INFO: Acknowledgment sent {"connection_id":173762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:58:44] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:44] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:44] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:58:46] local.INFO: TCP Data received {"connection_id":176521,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:58:46] local.INFO: Processing buffer {"connection_id":176521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 19:58:46] local.INFO: IMEI packet received {"connection_id":176521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 19:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":176521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:58:49] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:49] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:58:49] local.INFO: IMEI packet received {"connection_id":176520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":176520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:58:50] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:50] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:58:50] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:58:50] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:58:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19: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-07 19:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19: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-07 19:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19: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-07 19: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-07 19:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:58:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:58:50] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:58:50] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:59:21] local.INFO: TCP Data received {"connection_id":176520,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:21] local.INFO: Processing buffer {"connection_id":176520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:21] local.INFO: Packet analysis {"connection_id":176520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:59:21] local.INFO: Extracted packet for processing {"connection_id":176520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:59:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:59: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-07 19:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 19:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:59:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:59:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":176520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:59:21] local.INFO: GPS data processed {"connection_id":176520,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:59:21] local.INFO: Acknowledgment sent {"connection_id":176520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 19:59:41] local.INFO: TCP Data received {"connection_id":174002,"ip":"85.217.149.5","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-07 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174002,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-07 19:59:41] local.INFO: Processing buffer {"connection_id":174002,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-07 19:59:44] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:44] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:44] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 19:59:49] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:49] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 19:59:49] local.INFO: IMEI packet received {"connection_id":174003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 19:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 19:59:50] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:50] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 19:59:50] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:59:50] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 19:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 19:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 19:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 19:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 19:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 19:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 19:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 19:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 19:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 19:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 19:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 19:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 19:59: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-07 19:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 19:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 19:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 19:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 19:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 19:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 19:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 19:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 19:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 19:59:50] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-07 19:59:50] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:00:21] local.INFO: TCP Data received {"connection_id":174003,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:21] local.INFO: Processing buffer {"connection_id":174003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c41cc10012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:21] local.INFO: Packet analysis {"connection_id":174003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 20:00:21] local.INFO: Extracted packet for processing {"connection_id":174003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c41"} 
[2026-09-07 20:00:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930439424001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119454611456,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791082000,"timestamp_ms":1788791082000,"timestamp_seconds":1788791082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c41cc10"} 
[2026-09-07 20: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-07 20:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-07 20:00: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-07 20: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-07 20: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-07 20:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:00: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-07 20:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930439424001,"66":26484,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511239119454611456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930439424001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:00:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:00:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119454611456,"description":"Unknown IO ID 44"} 
[2026-09-07 20:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930439424001,"power":26484,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511239119454611456}} 
[2026-09-07 20:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":174003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:00:21] local.INFO: GPS data processed {"connection_id":174003,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:00:21] local.INFO: Acknowledgment sent {"connection_id":174003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:00:49] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:49] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:49] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:00:54] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:54] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:00:54] local.INFO: IMEI packet received {"connection_id":175103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":175103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:00:55] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:55] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:00:55] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:00:55] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 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-07 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 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-07 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:00:55] local.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-07 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:00:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:00:55] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:00:55] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:01:26] local.INFO: TCP Data received {"connection_id":175103,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:26] local.INFO: Processing buffer {"connection_id":175103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:26] local.INFO: Packet analysis {"connection_id":175103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:01:26] local.INFO: Extracted packet for processing {"connection_id":175103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20: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-07 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:01: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-07 20:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:01:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:01:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":175103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:01:26] local.INFO: GPS data processed {"connection_id":175103,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:01:26] local.INFO: Acknowledgment sent {"connection_id":175103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:01:44] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:44] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:44] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:01:49] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:49] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:01:49] local.INFO: IMEI packet received {"connection_id":174004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":174004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:01:50] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:50] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:01:50] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:01:50] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:01:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:01:50] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:01:50] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:02:21] local.INFO: TCP Data received {"connection_id":174004,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:21] local.INFO: Processing buffer {"connection_id":174004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:21] local.INFO: Packet analysis {"connection_id":174004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:02:21] local.INFO: Extracted packet for processing {"connection_id":174004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:02:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":174004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:02:21] local.INFO: GPS data processed {"connection_id":174004,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:02:21] local.INFO: Acknowledgment sent {"connection_id":174004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:02:44] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:44] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:44] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:02:49] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:49] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:02:49] local.INFO: IMEI packet received {"connection_id":175105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":175105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:02:50] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:50] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:02:50] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:02:50] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:02:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20: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-07 20:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:02:50] 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-07 20:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:02:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:02:50] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:02:50] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:03:21] local.INFO: TCP Data received {"connection_id":175105,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:21] local.INFO: Processing buffer {"connection_id":175105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:21] local.INFO: Packet analysis {"connection_id":175105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:03:21] local.INFO: Extracted packet for processing {"connection_id":175105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:03:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20: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-07 20:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:03: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-07 20:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:03:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":175105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:03:21] local.INFO: GPS data processed {"connection_id":175105,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:03:21] local.INFO: Acknowledgment sent {"connection_id":175105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:03:44] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:44] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:44] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:03:49] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:49] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:03:49] local.INFO: IMEI packet received {"connection_id":176523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":176523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:03:50] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:50] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:03:50] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:03:50] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:03:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20: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-07 20:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:03:50] 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-07 20:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:03:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:03:50] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:03:50] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:04:21] local.INFO: TCP Data received {"connection_id":176523,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:21] local.INFO: Processing buffer {"connection_id":176523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:21] local.INFO: Packet analysis {"connection_id":176523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:04:21] local.INFO: Extracted packet for processing {"connection_id":176523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:04:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:04: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-07 20:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:04:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:04:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":176523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:04:21] local.INFO: GPS data processed {"connection_id":176523,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:04:21] local.INFO: Acknowledgment sent {"connection_id":176523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:04:44] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:44] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:44] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:04:46] local.INFO: TCP Data received {"connection_id":173765,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:04:46] local.INFO: Processing buffer {"connection_id":173765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:04:46] local.INFO: IMEI packet received {"connection_id":173765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":173765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:04:49] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:49] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:04:49] local.INFO: IMEI packet received {"connection_id":174005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":174005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:04:50] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:50] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:04:50] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:04:50] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:04:50] 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-07 20:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:04:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:04:50] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:04:50] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:05:21] local.INFO: TCP Data received {"connection_id":174005,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:05:21] local.INFO: Processing buffer {"connection_id":174005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4663d8012ceb0740071a3b10001b012f2d..."} 
[2026-09-07 20:05:21] local.INFO: Packet analysis {"connection_id":174005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:05:21] local.INFO: Extracted packet for processing {"connection_id":174005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c46"} 
[2026-09-07 20:05:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":45,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930516992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791383000,"timestamp_ms":1788791383000,"timestamp_seconds":1788791383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4663d8"} 
[2026-09-07 20: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-07 20:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-07 20:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:05: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-07 20:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930516992001,"66":25702,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930516992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:05:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930516992001,"power":25702,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":174005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:05:21] local.INFO: GPS data processed {"connection_id":174005,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:05:21] local.INFO: Acknowledgment sent {"connection_id":174005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:05:49] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:49] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:49] local.INFO: IMEI packet received {"connection_id":176524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":176524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:05:54] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:54] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:05:54] local.INFO: IMEI packet received {"connection_id":176524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":176524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:05:55] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:05:55] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:05:55] local.INFO: Packet analysis {"connection_id":176524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:05:55] local.INFO: Extracted packet for processing {"connection_id":176524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:05:55] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20: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-07 20:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:05: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-07 20: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-07 20: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-07 20:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:05:55] 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-07 20:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:05:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:05:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":176524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:05:55] local.INFO: GPS data processed {"connection_id":176524,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:05:55] local.INFO: Acknowledgment sent {"connection_id":176524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:06:26] local.INFO: TCP Data received {"connection_id":176524,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:26] local.INFO: Processing buffer {"connection_id":176524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:26] local.INFO: Packet analysis {"connection_id":176524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:06:26] local.INFO: Extracted packet for processing {"connection_id":176524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20: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-07 20:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20: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-07 20: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-07 20: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-07 20:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:06: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-07 20:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:06:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:06:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":176524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:06:26] local.INFO: GPS data processed {"connection_id":176524,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:06:26] local.INFO: Acknowledgment sent {"connection_id":176524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:06:44] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:44] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:44] local.INFO: IMEI packet received {"connection_id":174006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":174006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:06:49] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:49] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:06:49] local.INFO: IMEI packet received {"connection_id":174006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":174006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:06:50] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:50] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:06:50] local.INFO: Packet analysis {"connection_id":174006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:06:50] local.INFO: Extracted packet for processing {"connection_id":174006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:06: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-07 20:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:06:50] 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-07 20:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:06:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":174006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:06:50] local.INFO: GPS data processed {"connection_id":174006,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:06:50] local.INFO: Acknowledgment sent {"connection_id":174006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:07:21] local.INFO: TCP Data received {"connection_id":174006,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:21] local.INFO: Processing buffer {"connection_id":174006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:21] local.INFO: Packet analysis {"connection_id":174006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:07:21] local.INFO: Extracted packet for processing {"connection_id":174006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:07: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-07 20:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:07:21] 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-07 20:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:07:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:07:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":174006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:07:21] local.INFO: GPS data processed {"connection_id":174006,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:07:21] local.INFO: Acknowledgment sent {"connection_id":174006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:07:44] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:44] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:44] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:07:49] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:49] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:07:49] local.INFO: IMEI packet received {"connection_id":173766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":173766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:07:50] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:50] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:07:50] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:07:50] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:07:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:07: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-07 20:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:07: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-07 20:07: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-07 20:07: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-07 20:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:07:50] 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-07 20:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:07:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:07:50] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:07:50] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:08:21] local.INFO: TCP Data received {"connection_id":173766,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:21] local.INFO: Processing buffer {"connection_id":173766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:21] local.INFO: Packet analysis {"connection_id":173766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:08:21] local.INFO: Extracted packet for processing {"connection_id":173766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:08:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20: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-07 20:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:08: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-07 20: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-07 20: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-07 20:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:08:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:08:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":173766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:08:21] local.INFO: GPS data processed {"connection_id":173766,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:08:21] local.INFO: Acknowledgment sent {"connection_id":173766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:08:44] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:44] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:44] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:08:49] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:49] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:08:49] local.INFO: IMEI packet received {"connection_id":175108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":175108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:08:50] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:50] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:08:50] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:08:50] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:08: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-07 20:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:08: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-07 20:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:08:50] 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-07 20:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:08:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:08:50] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:08:50] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:09:21] local.INFO: TCP Data received {"connection_id":175108,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:21] local.INFO: Processing buffer {"connection_id":175108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:21] local.INFO: Packet analysis {"connection_id":175108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:09:21] local.INFO: Extracted packet for processing {"connection_id":175108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:09:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20: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-07 20:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20: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-07 20: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-07 20: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-07 20:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:09:21] 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-07 20:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:09:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":175108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:09:21] local.INFO: GPS data processed {"connection_id":175108,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:09:21] local.INFO: Acknowledgment sent {"connection_id":175108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:09:44] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:44] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:44] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:09:49] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:49] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:09:49] local.INFO: IMEI packet received {"connection_id":173767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":173767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:09:50] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:50] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:09:50] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:09:50] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 20: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-07 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:09: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-07 20: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-07 20: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-07 20:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:09:50] local.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-07 20:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:09:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:09:50] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:09:50] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:10:11] local.INFO: TCP Data received {"connection_id":173768,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:10:11] local.INFO: Processing buffer {"connection_id":173768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:10:11] local.INFO: IMEI packet received {"connection_id":173768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":173768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:10:21] local.INFO: TCP Data received {"connection_id":173767,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:10:21] local.INFO: Processing buffer {"connection_id":173767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4afba0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:10:21] local.INFO: Packet analysis {"connection_id":173767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:10:21] local.INFO: Extracted packet for processing {"connection_id":173767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4a"} 
[2026-09-07 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 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-07 20:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930594048001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788791684000,"timestamp_ms":1788791684000,"timestamp_seconds":1788791684,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4afba0"} 
[2026-09-07 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-07 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":102,"data_length":795,"current_offset":136} 
[2026-09-07 20:10: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-07 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-07 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-07 20:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930594048001,"66":26006,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930594048001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:10:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:10:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930594048001,"power":26006,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":173767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:10:21] local.INFO: GPS data processed {"connection_id":173767,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:10:21] local.INFO: Acknowledgment sent {"connection_id":173767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:10:49] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:49] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:49] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:10:54] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:54] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:10:54] local.INFO: IMEI packet received {"connection_id":175111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":175111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:10:55] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:55] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:55] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:10:55] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:10:55] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 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-07 20:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930671104001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788791985000,"timestamp_ms":1788791985000,"timestamp_seconds":1788791985,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4f9368"} 
[2026-09-07 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-07 20:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 20:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 20:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930671104001,"66":25941,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930671104001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:10:55] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:10:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930671104001,"power":25941,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:10:55] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:10:55] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:10:59] local.INFO: TCP Data received {"connection_id":175111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:59] local.INFO: Processing buffer {"connection_id":175111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:10:59] local.INFO: Packet analysis {"connection_id":175111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:10:59] local.INFO: Extracted packet for processing {"connection_id":175111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:10:59] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930671104001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788791985000,"timestamp_ms":1788791985000,"timestamp_seconds":1788791985,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4f9368"} 
[2026-09-07 20: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-07 20:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 20:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930671104001,"66":25941,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930671104001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:10:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:10:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:10:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930671104001,"power":25941,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":175111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:10:59] local.INFO: GPS data processed {"connection_id":175111,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:10:59] local.INFO: Acknowledgment sent {"connection_id":175111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:11:44] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:44] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:44] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:11:49] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:49] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:11:49] local.INFO: IMEI packet received {"connection_id":176526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":176526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:11:50] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:11:50] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c4f9368012ceb0740071a3b10001b012f29..."} 
[2026-09-07 20:11:50] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:11:50] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c4f"} 
[2026-09-07 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930671104001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788791985000,"timestamp_ms":1788791985000,"timestamp_seconds":1788791985,"priority":1,"record_length":96,"hex_timestamp":"000001a07c4f9368"} 
[2026-09-07 20: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-07 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 20:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930671104001,"66":25941,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930671104001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:11:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930671104001,"power":25941,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:11:50] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:11:50] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:12:21] local.INFO: TCP Data received {"connection_id":176526,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a07c514cd0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c514cd0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:12:21] local.INFO: Processing buffer {"connection_id":176526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c514cd0012ceb0740071a3b10001b012f2b..."} 
[2026-09-07 20:12:21] local.INFO: Packet analysis {"connection_id":176526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:12:21] local.INFO: Extracted packet for processing {"connection_id":176526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:12:21] local.INFO: GPS Element Parsed {"raw_longitude":753600320,"raw_latitude":119159568,"longitude_deg":75.360032,"latitude_deg":11.9159568,"altitude":27,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2ceb0740","hex_latitude":"071a3b10","is_valid_coordinates":true} 
[2026-09-07 20:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 20:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930748160001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792098000,"timestamp_ms":1788792098000,"timestamp_seconds":1788792098,"priority":1,"record_length":96,"hex_timestamp":"000001a07c514cd0"} 
[2026-09-07 20: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-07 20:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-07 20:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:12: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-07 20:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930748160001,"66":25973,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930748160001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:12:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:12:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930748160001,"power":25973,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":176526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:12:21] local.INFO: GPS data processed {"connection_id":176526,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:12:21] local.INFO: Acknowledgment sent {"connection_id":176526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:12:39] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:39] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:39] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:12:40] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:40] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:40] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:12:44] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:44] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:12:44] local.INFO: IMEI packet received {"connection_id":173769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":173769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:12:44] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c51aa90012ceb0600071a3b48001b012f2a..."} 
[2026-09-07 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c51aa90012ceb0600071a3b48001b012f2a..."} 
[2026-09-07 20:12:44] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c51aa90012ceb0600071a3b48001b012f2a..."} 
[2026-09-07 20:12:44] local.INFO: Packet analysis {"connection_id":173769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:12:44] local.INFO: Extracted packet for processing {"connection_id":173769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159624,"longitude_deg":75.36,"latitude_deg":11.9159624,"altitude":27,"angle":303,"satellites":42,"speed":0,"hex_longitude":"2ceb0600","hex_latitude":"071a3b48","is_valid_coordinates":true} 
[2026-09-07 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930777088001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511168750710484992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788792122000,"timestamp_ms":1788792122000,"timestamp_seconds":1788792122,"priority":1,"record_length":96,"hex_timestamp":"000001a07c51aa90"} 
[2026-09-07 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-07 20:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930777088001,"66":27213,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511168750710484992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930777088001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:12:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511168750710484992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930777088001,"power":27213,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511168750710484992}} 
[2026-09-07 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":173769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:12:44] local.INFO: GPS data processed {"connection_id":173769,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:12:44] local.INFO: Acknowledgment sent {"connection_id":173769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:13:15] local.INFO: TCP Data received {"connection_id":173769,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c51fc98012ceb0600071a3b48001b012f29..."} 
[2026-09-07 20:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c51fc98012ceb0600071a3b48001b012f29..."} 
[2026-09-07 20:13:15] local.INFO: Processing buffer {"connection_id":173769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c51fc98012ceb0600071a3b48001b012f29..."} 
[2026-09-07 20:13:15] local.INFO: Packet analysis {"connection_id":173769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:13:15] local.INFO: Extracted packet for processing {"connection_id":173769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c51"} 
[2026-09-07 20:13:15] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159624,"longitude_deg":75.36,"latitude_deg":11.9159624,"altitude":27,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2ceb0600","hex_latitude":"071a3b48","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930783232001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134120022409216,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511520594431358976,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788792143000,"timestamp_ms":1788792143000,"timestamp_seconds":1788792143,"priority":1,"record_length":96,"hex_timestamp":"000001a07c51fc98"} 
[2026-09-07 20: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-07 20:13: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-07 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 20:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930783232001,"66":27321,"104":206,"83":41216,"24":0,"16":402134120022409216,"44":-1511520594431358976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930783232001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:13:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:13:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134120022409216,"km_value":402134120022409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511520594431358976,"description":"Unknown IO ID 44"} 
[2026-09-07 20:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930783232001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1511520594431358976}} 
[2026-09-07 20:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":173769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:13:15] local.INFO: GPS data processed {"connection_id":173769,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:13:15] local.INFO: Acknowledgment sent {"connection_id":173769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:13:44] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:44] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:44] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:13:49] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:49] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:13:49] local.INFO: IMEI packet received {"connection_id":174007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:13:50] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c520468012ceb0600071a3a18002a00192a..."} 
[2026-09-07 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c520468012ceb0600071a3a18002a00192a..."} 
[2026-09-07 20:13:50] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c520468012ceb0600071a3a18002a00192a..."} 
[2026-09-07 20:13:50] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c52"} 
[2026-09-07 20:13:50] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c52"} 
[2026-09-07 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":753600000,"raw_latitude":119159320,"longitude_deg":75.36,"latitude_deg":11.915932,"altitude":42,"angle":25,"satellites":42,"speed":2,"hex_longitude":"2ceb0600","hex_latitude":"071a3a18","is_valid_coordinates":true} 
[2026-09-07 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930788608001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402134132907311104,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511520594431358976,"note":"Value kept but may cause issues"} 
[2026-09-07 20:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792145000,"timestamp_ms":1788792145000,"timestamp_seconds":1788792145,"priority":1,"record_length":96,"hex_timestamp":"000001a07c520468"} 
[2026-09-07 20:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 20:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:13: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-07 20:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930788608001,"66":27365,"104":206,"83":41216,"24":2,"16":402134132907311104,"44":-1511520594431358976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930788608001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:13:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402134132907311104,"km_value":402134132907311.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511520594431358976,"description":"Unknown IO ID 44"} 
[2026-09-07 20:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930788608001,"power":27365,"unknown_104":206,"unknown_83":41216,"ignition":2,"odometer":null,"unknown_44":-1511520594431358976}} 
[2026-09-07 20:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:13:50] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:13:50] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:14:19] local.INFO: TCP Data received {"connection_id":173770,"ip":"85.217.149.45","data_length":8,"data_hex":"3030303030303030..."} 
[2026-09-07 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173770,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-09-07 20:14:19] local.INFO: Processing buffer {"connection_id":173770,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-09-07 20:14:22] local.INFO: TCP Data received {"connection_id":174007,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c532190012cea9b00071a70c8001900782c..."} 
[2026-09-07 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c532190012cea9b00071a70c8001900782c..."} 
[2026-09-07 20:14:22] local.INFO: Processing buffer {"connection_id":174007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c532190012cea9b00071a70c8001900782c..."} 
[2026-09-07 20:14:22] local.INFO: Packet analysis {"connection_id":174007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:14:22] local.INFO: Extracted packet for processing {"connection_id":174007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:14:22] local.INFO: GPS Element Parsed {"raw_longitude":753572608,"raw_latitude":119173320,"longitude_deg":75.3572608,"latitude_deg":11.917332,"altitude":25,"angle":120,"satellites":44,"speed":16,"hex_longitude":"2cea9b00","hex_latitude":"071a70c8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930807552001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402135777879785472,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542060629400930304,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788792218000,"timestamp_ms":1788792218000,"timestamp_seconds":1788792218,"priority":1,"record_length":96,"hex_timestamp":"000001a07c532190"} 
[2026-09-07 20: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-07 20:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:14: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-07 20:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930807552001,"66":27376,"104":206,"83":41216,"24":16,"16":402135777879785472,"44":-1542060629400930304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930807552001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:14:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402135777879785472,"km_value":402135777879785.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:14:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542060629400930304,"description":"Unknown IO ID 44"} 
[2026-09-07 20:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930807552001,"power":27376,"unknown_104":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1542060629400930304}} 
[2026-09-07 20:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":174007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:14:22] local.INFO: GPS data processed {"connection_id":174007,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:14:22] local.INFO: Acknowledgment sent {"connection_id":174007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:14:43] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:43] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:43] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:14:49] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:49] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:14:49] local.INFO: IMEI packet received {"connection_id":176529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":176529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:14:50] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c532578012cea9c40071a6fb00019008a2b..."} 
[2026-09-07 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c532578012cea9c40071a6fb00019008a2b..."} 
[2026-09-07 20:14:50] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c532578012cea9c40071a6fb00019008a2b..."} 
[2026-09-07 20:14:50] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:14:50] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":753572928,"raw_latitude":119173040,"longitude_deg":75.3572928,"latitude_deg":11.917304,"altitude":25,"angle":138,"satellites":43,"speed":17,"hex_longitude":"2cea9c40","hex_latitude":"071a6fb0","is_valid_coordinates":true} 
[2026-09-07 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930807808001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402135799354621952,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541638416935892992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792219000,"timestamp_ms":1788792219000,"timestamp_seconds":1788792219,"priority":1,"record_length":96,"hex_timestamp":"000001a07c532578"} 
[2026-09-07 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:14: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-07 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930807808001,"66":27245,"104":206,"83":41216,"24":17,"16":402135799354621952,"44":-1541638416935892992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930807808001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:14:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402135799354621952,"km_value":402135799354621.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541638416935892992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930807808001,"power":27245,"unknown_104":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1541638416935892992}} 
[2026-09-07 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:14:50] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:14:50] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:15:21] local.INFO: TCP Data received {"connection_id":176529,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c532d48012cea9e80071a6d500018007d2b..."} 
[2026-09-07 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c532d48012cea9e80071a6d500018007d2b..."} 
[2026-09-07 20:15:21] local.INFO: Processing buffer {"connection_id":176529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c532d48012cea9e80071a6d500018007d2b..."} 
[2026-09-07 20:15:21] local.INFO: Packet analysis {"connection_id":176529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:15:21] local.INFO: Extracted packet for processing {"connection_id":176529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":753573504,"raw_latitude":119172432,"longitude_deg":75.3573504,"latitude_deg":11.9172432,"altitude":24,"angle":125,"satellites":43,"speed":19,"hex_longitude":"2cea9e80","hex_latitude":"071a6d50","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930808064001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402135842304294912,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1541286573215076352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792221000,"timestamp_ms":1788792221000,"timestamp_seconds":1788792221,"priority":1,"record_length":96,"hex_timestamp":"000001a07c532d48"} 
[2026-09-07 20: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-07 20:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 20:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930808064001,"66":27267,"104":206,"83":41216,"24":19,"16":402135842304294912,"44":-1541286573215076352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930808064001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:15:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:15:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402135842304294912,"km_value":402135842304294.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1541286573215076352,"description":"Unknown IO ID 44"} 
[2026-09-07 20:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930808064001,"power":27267,"unknown_104":206,"unknown_83":41216,"ignition":19,"odometer":null,"unknown_44":-1541286573215076352}} 
[2026-09-07 20:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":176529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:15:21] local.INFO: GPS data processed {"connection_id":176529,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:15:21] local.INFO: Acknowledgment sent {"connection_id":176529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:15:44] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:44] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:44] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:15:46] local.INFO: TCP Data received {"connection_id":176531,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:15:46] local.INFO: Processing buffer {"connection_id":176531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:15:46] local.INFO: IMEI packet received {"connection_id":176531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":176531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:15:49] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:49] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:15:49] local.INFO: IMEI packet received {"connection_id":176530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":176530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:15:50] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c533ce8012ceaa640071a6910001800722a..."} 
[2026-09-07 20:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c533ce8012ceaa640071a6910001800722a..."} 
[2026-09-07 20:15:50] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c533ce8012ceaa640071a6910001800722a..."} 
[2026-09-07 20:15:50] local.INFO: Packet analysis {"connection_id":176530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:15:50] local.INFO: Extracted packet for processing {"connection_id":176530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":753575488,"raw_latitude":119171344,"longitude_deg":75.3575488,"latitude_deg":11.9171344,"altitude":24,"angle":114,"satellites":42,"speed":23,"hex_longitude":"2ceaa640","hex_latitude":"071a6910","is_valid_coordinates":true} 
[2026-09-07 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930808576001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402135949678477312,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1540653254517633024,"note":"Value kept but may cause issues"} 
[2026-09-07 20:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792225000,"timestamp_ms":1788792225000,"timestamp_seconds":1788792225,"priority":1,"record_length":96,"hex_timestamp":"000001a07c533ce8"} 
[2026-09-07 20:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 20:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:15: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-07 20:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930808576001,"66":27332,"104":206,"83":41216,"24":23,"16":402135949678477312,"44":-1540653254517633024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930808576001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:15:50] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402135949678477312,"km_value":402135949678477.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1540653254517633024,"description":"Unknown IO ID 44"} 
[2026-09-07 20:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930808576001,"power":27332,"unknown_104":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1540653254517633024}} 
[2026-09-07 20:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":176530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:15:50] local.INFO: GPS data processed {"connection_id":176530,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:15:50] local.INFO: Acknowledgment sent {"connection_id":176530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:16:21] local.INFO: TCP Data received {"connection_id":176530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c537398012ceac800071a5ac0001b006e29..."} 
[2026-09-07 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c537398012ceac800071a5ac0001b006e29..."} 
[2026-09-07 20:16:21] local.INFO: Processing buffer {"connection_id":176530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c537398012ceac800071a5ac0001b006e29..."} 
[2026-09-07 20:16:21] local.INFO: Packet analysis {"connection_id":176530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:16:21] local.INFO: Extracted packet for processing {"connection_id":176530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:16:21] local.INFO: GPS Element Parsed {"raw_longitude":753584128,"raw_latitude":119167680,"longitude_deg":75.3584128,"latitude_deg":11.916768,"altitude":27,"angle":110,"satellites":41,"speed":24,"hex_longitude":"2ceac800","hex_latitude":"071a5ac0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930809600001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402136392060108800,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1538471823448403968,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792239000,"timestamp_ms":1788792239000,"timestamp_seconds":1788792239,"priority":1,"record_length":96,"hex_timestamp":"000001a07c537398"} 
[2026-09-07 20: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-07 20:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:16: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-07 20:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930809600001,"66":27343,"104":206,"83":41216,"24":24,"16":402136392060108800,"44":-1538471823448403968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930809600001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:16:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:16:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402136392060108800,"km_value":402136392060108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1538471823448403968,"description":"Unknown IO ID 44"} 
[2026-09-07 20:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930809600001,"power":27343,"unknown_104":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1538471823448403968}} 
[2026-09-07 20:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":176530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:16:21] local.INFO: GPS data processed {"connection_id":176530,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:16:21] local.INFO: Acknowledgment sent {"connection_id":176530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:16:46] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:46] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:46] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:16:49] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:49] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:49] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:16:55] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:55] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:16:55] local.INFO: IMEI packet received {"connection_id":175112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":175112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:16:56] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c53b218012ceae9c0071a4cb8001e00722b..."} 
[2026-09-07 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c53b218012ceae9c0071a4cb8001e00722b..."} 
[2026-09-07 20:16:56] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c53b218012ceae9c0071a4cb8001e00722b..."} 
[2026-09-07 20:16:56] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:16:56] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c53"} 
[2026-09-07 20:16:56] local.INFO: GPS Element Parsed {"raw_longitude":753592768,"raw_latitude":119164088,"longitude_deg":75.3592768,"latitude_deg":11.9164088,"altitude":30,"angle":114,"satellites":43,"speed":18,"hex_longitude":"2ceae9c0","hex_latitude":"071a4cb8","is_valid_coordinates":true} 
[2026-09-07 20:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930813184001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402136838736707584,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1528972042985357312,"note":"Value kept but may cause issues"} 
[2026-09-07 20:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788792255000,"timestamp_ms":1788792255000,"timestamp_seconds":1788792255,"priority":1,"record_length":96,"hex_timestamp":"000001a07c53b218"} 
[2026-09-07 20:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:16:56] local.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-07 20:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930813184001,"66":27321,"104":206,"83":41216,"24":18,"16":402136838736707584,"44":-1528972042985357312},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930813184001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:16:56] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402136838736707584,"km_value":402136838736707.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:16:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1528972042985357312,"description":"Unknown IO ID 44"} 
[2026-09-07 20:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930813184001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1528972042985357312}} 
[2026-09-07 20:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:16:56] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:16:56] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:17:27] local.INFO: TCP Data received {"connection_id":175112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c540038012ceb0980071a3d80001e00712c..."} 
[2026-09-07 20:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c540038012ceb0980071a3d80001e00712c..."} 
[2026-09-07 20:17:27] local.INFO: Processing buffer {"connection_id":175112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c540038012ceb0980071a3d80001e00712c..."} 
[2026-09-07 20:17:27] local.INFO: Packet analysis {"connection_id":175112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c54"} 
[2026-09-07 20:17:27] local.INFO: Extracted packet for processing {"connection_id":175112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c54"} 
[2026-09-07 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":753600896,"raw_latitude":119160192,"longitude_deg":75.3600896,"latitude_deg":11.9160192,"altitude":30,"angle":113,"satellites":44,"speed":17,"hex_longitude":"2ceb0980","hex_latitude":"071a3d80","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930817280001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402137268233437184,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1519472262522292224,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788792275000,"timestamp_ms":1788792275000,"timestamp_seconds":1788792275,"priority":1,"record_length":96,"hex_timestamp":"000001a07c540038"} 
[2026-09-07 20: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-07 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 20:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:17:27] local.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-07 20:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930817280001,"66":27321,"104":206,"83":41216,"24":17,"16":402137268233437184,"44":-1519472262522292224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-09-07 20:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930817280001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:17:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-09-07 20:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402137268233437184,"km_value":402137268233437.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1519472262522292224,"description":"Unknown IO ID 44"} 
[2026-09-07 20:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930817280001,"power":27321,"unknown_104":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1519472262522292224}} 
[2026-09-07 20:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":175112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:17:27] local.INFO: GPS data processed {"connection_id":175112,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:17:27] local.INFO: Acknowledgment sent {"connection_id":175112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:17:44] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:44] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:44] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:17:46] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:46] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:17:46] local.INFO: IMEI packet received {"connection_id":173772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":173772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:17:46] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c560ba8012cebcac0071960680018009a25..."} 
[2026-09-07 20:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c560ba8012cebcac0071960680018009a25..."} 
[2026-09-07 20:17:46] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c560ba8012cebcac0071960680018009a25..."} 
[2026-09-07 20:17:46] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:17:46] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:17:46] local.INFO: GPS Element Parsed {"raw_longitude":753650368,"raw_latitude":119103592,"longitude_deg":75.3650368,"latitude_deg":11.9103592,"altitude":24,"angle":154,"satellites":37,"speed":30,"hex_longitude":"2cebcac0","hex_latitude":"07196068","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930854144001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402141060689559552,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1460925467379922944,"note":"Value kept but may cause issues"} 
[2026-09-07 20:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788792409000,"timestamp_ms":1788792409000,"timestamp_seconds":1788792409,"priority":1,"record_length":96,"hex_timestamp":"000001a07c560ba8"} 
[2026-09-07 20: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-07 20:17: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-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 20:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:17: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-07 20:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930854144001,"66":27332,"136":206,"83":41216,"24":30,"16":402141060689559552,"44":-1460925467379922944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,44]} 
[2026-09-07 20:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930854144001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:17:46] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-07 20:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402141060689559552,"km_value":402141060689559.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1460925467379922944,"description":"Unknown IO ID 44"} 
[2026-09-07 20:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930854144001,"power":27332,"unknown_136":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1460925467379922944}} 
[2026-09-07 20:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:17:46] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:17:46] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:18:17] local.INFO: TCP Data received {"connection_id":173772,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:17] local.INFO: Processing buffer {"connection_id":173772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:17] local.INFO: Packet analysis {"connection_id":173772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:18:17] local.INFO: Extracted packet for processing {"connection_id":173772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:18:17] local.INFO: GPS Element Parsed {"raw_longitude":753654720,"raw_latitude":119095800,"longitude_deg":75.365472,"latitude_deg":11.90958,"altitude":25,"angle":142,"satellites":44,"speed":26,"hex_longitude":"2cebdbc0","hex_latitude":"071941f8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930856704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402141494481256448,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1456140392777881600,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788792422000,"timestamp_ms":1788792422000,"timestamp_seconds":1788792422,"priority":1,"record_length":96,"hex_timestamp":"000001a07c563e70"} 
[2026-09-07 20: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-07 20:18: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-07 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:18: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-07 20:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930856704001,"66":27376,"138":206,"83":41216,"24":26,"16":402141494481256448,"44":-1456140392777881600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-07 20:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930856704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:18:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 20:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402141494481256448,"km_value":402141494481256.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1456140392777881600,"description":"Unknown IO ID 44"} 
[2026-09-07 20:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930856704001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1456140392777881600}} 
[2026-09-07 20:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":173772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:18:17] local.INFO: GPS data processed {"connection_id":173772,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:18:17] local.INFO: Acknowledgment sent {"connection_id":173772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:18:44] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:44] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:44] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:18:49] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:49] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:18:49] local.INFO: IMEI packet received {"connection_id":175114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":175114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:18:50] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:50] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c563e70012cebdbc0071941f80019008e2c..."} 
[2026-09-07 20:18:50] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:18:50] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":753654720,"raw_latitude":119095800,"longitude_deg":75.365472,"latitude_deg":11.90958,"altitude":25,"angle":142,"satellites":44,"speed":26,"hex_longitude":"2cebdbc0","hex_latitude":"071941f8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930860032001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402141494481256448,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451355318175795200,"note":"Value kept but may cause issues"} 
[2026-09-07 20:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792422000,"timestamp_ms":1788792422000,"timestamp_seconds":1788792422,"priority":1,"record_length":96,"hex_timestamp":"000001a07c563e70"} 
[2026-09-07 20: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-07 20:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:18: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-07 20:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930860032001,"66":27376,"138":206,"83":41216,"24":26,"16":402141494481256448,"44":-1451355318175795200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-07 20:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930860032001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:18:50] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 20:18:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402141494481256448,"km_value":402141494481256.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:18:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451355318175795200,"description":"Unknown IO ID 44"} 
[2026-09-07 20:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930860032001,"power":27376,"unknown_138":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1451355318175795200}} 
[2026-09-07 20:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:18:50] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:18:50] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:19:21] local.INFO: TCP Data received {"connection_id":175114,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5655e0012cebe5c0071936b8001b00832e..."} 
[2026-09-07 20:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5655e0012cebe5c0071936b8001b00832e..."} 
[2026-09-07 20:19:21] local.INFO: Processing buffer {"connection_id":175114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5655e0012cebe5c0071936b8001b00832e..."} 
[2026-09-07 20:19:21] local.INFO: Packet analysis {"connection_id":175114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:19:21] local.INFO: Extracted packet for processing {"connection_id":175114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c56"} 
[2026-09-07 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":753657280,"raw_latitude":119092920,"longitude_deg":75.365728,"latitude_deg":11.909292,"altitude":27,"angle":131,"satellites":46,"speed":22,"hex_longitude":"2cebe5c0","hex_latitude":"071936b8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930860032001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402141679164850176,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451355318175795200,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792428000,"timestamp_ms":1788792428000,"timestamp_seconds":1788792428,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5655e0"} 
[2026-09-07 20: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-07 20:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:19: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-07 20:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930860032001,"66":27300,"138":206,"83":41216,"24":22,"16":402141679164850176,"44":-1451355318175795200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,44]} 
[2026-09-07 20:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930860032001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:19:21] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-09-07 20:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402141679164850176,"km_value":402141679164850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451355318175795200,"description":"Unknown IO ID 44"} 
[2026-09-07 20:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930860032001,"power":27300,"unknown_138":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1451355318175795200}} 
[2026-09-07 20:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":175114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:19:21] local.INFO: GPS data processed {"connection_id":175114,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:19:21] local.INFO: Acknowledgment sent {"connection_id":175114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:19:44] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:44] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:44] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:19:49] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:49] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:19:49] local.INFO: IMEI packet received {"connection_id":174009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":174009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:19:50] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c57e068012cec7100071875f8001c00ab2b..."} 
[2026-09-07 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c57e068012cec7100071875f8001c00ab2b..."} 
[2026-09-07 20:19:50] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c57e068012cec7100071875f8001c00ab2b..."} 
[2026-09-07 20:19:50] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c57"} 
[2026-09-07 20:19:50] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c57"} 
[2026-09-07 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":753692928,"raw_latitude":119043576,"longitude_deg":75.3692928,"latitude_deg":11.9043576,"altitude":28,"angle":171,"satellites":43,"speed":31,"hex_longitude":"2cec7100","hex_latitude":"071875f8","is_valid_coordinates":true} 
[2026-09-07 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930886656001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402144715706728448,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409978496612114432,"note":"Value kept but may cause issues"} 
[2026-09-07 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792529000,"timestamp_ms":1788792529000,"timestamp_seconds":1788792529,"priority":1,"record_length":96,"hex_timestamp":"000001a07c57e068"} 
[2026-09-07 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:19: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-07 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930886656001,"66":27376,"116":206,"83":41216,"24":31,"16":402144715706728448,"44":-1409978496612114432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-07 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930886656001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:19:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 20:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402144715706728448,"km_value":402144715706728.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409978496612114432,"description":"Unknown IO ID 44"} 
[2026-09-07 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930886656001,"power":27376,"unknown_116":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1409978496612114432}} 
[2026-09-07 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:19:50] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:19:50] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:20:21] local.INFO: TCP Data received {"connection_id":174009,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c57ec20012cec714007186c98001c00b92a..."} 
[2026-09-07 20:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c57ec20012cec714007186c98001c00b92a..."} 
[2026-09-07 20:20:21] local.INFO: Processing buffer {"connection_id":174009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c57ec20012cec714007186c98001c00b92a..."} 
[2026-09-07 20:20:21] local.INFO: Packet analysis {"connection_id":174009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c57"} 
[2026-09-07 20:20:21] local.INFO: Extracted packet for processing {"connection_id":174009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c57"} 
[2026-09-07 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":753692992,"raw_latitude":119041176,"longitude_deg":75.3692992,"latitude_deg":11.9041176,"altitude":28,"angle":185,"satellites":42,"speed":31,"hex_longitude":"2cec7140","hex_latitude":"07186c98","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930887424001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402144831670845440,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409345177915099136,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792532000,"timestamp_ms":1788792532000,"timestamp_seconds":1788792532,"priority":1,"record_length":96,"hex_timestamp":"000001a07c57ec20"} 
[2026-09-07 20: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-07 20:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:20: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-07 20:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930887424001,"66":27343,"116":206,"83":41216,"24":31,"16":402144831670845440,"44":-1409345177915099136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-07 20:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930887424001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:20:21] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 20:20:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402144831670845440,"km_value":402144831670845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409345177915099136,"description":"Unknown IO ID 44"} 
[2026-09-07 20:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930887424001,"power":27343,"unknown_116":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1409345177915099136}} 
[2026-09-07 20:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":174009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:20:21] local.INFO: GPS data processed {"connection_id":174009,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:20:21] local.INFO: Acknowledgment sent {"connection_id":174009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:20:43] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:20:43] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:43] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:20:49] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:49] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:20:49] local.INFO: IMEI packet received {"connection_id":175115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":175115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:20:50] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c581718012cec6ac007184820001a00c128..."} 
[2026-09-07 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c581718012cec6ac007184820001a00c128..."} 
[2026-09-07 20:20:50] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c581718012cec6ac007184820001a00c128..."} 
[2026-09-07 20:20:50] local.INFO: Packet analysis {"connection_id":175115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:20:50] local.INFO: Extracted packet for processing {"connection_id":175115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":753691328,"raw_latitude":119031840,"longitude_deg":75.3691328,"latitude_deg":11.903184,"altitude":26,"angle":193,"satellites":40,"speed":31,"hex_longitude":"2cec6ac0","hex_latitude":"07184820","is_valid_coordinates":true} 
[2026-09-07 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930888192001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402145291232346112,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409274809171535872,"note":"Value kept but may cause issues"} 
[2026-09-07 20:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792543000,"timestamp_ms":1788792543000,"timestamp_seconds":1788792543,"priority":1,"record_length":96,"hex_timestamp":"000001a07c581718"} 
[2026-09-07 20:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:20: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-07 20:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930888192001,"66":27397,"116":206,"83":41216,"24":31,"16":402145291232346112,"44":-1409274809171535872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-07 20:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930888192001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:20:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 20:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402145291232346112,"km_value":402145291232346.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1409274809171535872,"description":"Unknown IO ID 44"} 
[2026-09-07 20:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930888192001,"power":27397,"unknown_116":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1409274809171535872}} 
[2026-09-07 20:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":175115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:20:50] local.INFO: GPS data processed {"connection_id":175115,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:20:50] local.INFO: Acknowledgment sent {"connection_id":175115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:21:16] local.INFO: TCP Data received {"connection_id":173773,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:16] local.INFO: Processing buffer {"connection_id":173773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:16] local.INFO: IMEI packet received {"connection_id":173773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":173773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:21:21] local.INFO: TCP Data received {"connection_id":175115,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c584210012cec6180071826a0001b00c02c..."} 
[2026-09-07 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c584210012cec6180071826a0001b00c02c..."} 
[2026-09-07 20:21:21] local.INFO: Processing buffer {"connection_id":175115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c584210012cec6180071826a0001b00c02c..."} 
[2026-09-07 20:21:21] local.INFO: Packet analysis {"connection_id":175115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:21:21] local.INFO: Extracted packet for processing {"connection_id":175115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:21:21] local.INFO: GPS Element Parsed {"raw_longitude":753688960,"raw_latitude":119023264,"longitude_deg":75.368896,"latitude_deg":11.9023264,"altitude":27,"angle":192,"satellites":44,"speed":30,"hex_longitude":"2cec6180","hex_latitude":"071826a0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930891008001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402145725024043008,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411104396522545152,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792554000,"timestamp_ms":1788792554000,"timestamp_seconds":1788792554,"priority":1,"record_length":96,"hex_timestamp":"000001a07c584210"} 
[2026-09-07 20: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-07 20:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 20:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:21: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-07 20:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930891008001,"66":27234,"116":206,"83":41216,"24":30,"16":402145725024043008,"44":-1411104396522545152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-07 20:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930891008001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:21:21] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 20:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402145725024043008,"km_value":402145725024043.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411104396522545152,"description":"Unknown IO ID 44"} 
[2026-09-07 20:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930891008001,"power":27234,"unknown_116":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1411104396522545152}} 
[2026-09-07 20:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":175115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:21:21] local.INFO: GPS data processed {"connection_id":175115,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:21:21] local.INFO: Acknowledgment sent {"connection_id":175115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:21:43] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:43] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:43] local.INFO: IMEI packet received {"connection_id":175116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":175116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:21:49] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:49] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:21:49] local.INFO: IMEI packet received {"connection_id":175116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":175116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:21:50] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5874d8012cec598007180278001c00be29..."} 
[2026-09-07 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5874d8012cec598007180278001c00be29..."} 
[2026-09-07 20:21:50] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5874d8012cec598007180278001c00be29..."} 
[2026-09-07 20:21:50] local.INFO: Packet analysis {"connection_id":175116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:21:50] local.INFO: Extracted packet for processing {"connection_id":175116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":753686912,"raw_latitude":119014008,"longitude_deg":75.3686912,"latitude_deg":11.9014008,"altitude":28,"angle":190,"satellites":41,"speed":27,"hex_longitude":"2cec5980","hex_latitude":"07180278","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930893824001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402146184585543680,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413708040059314176,"note":"Value kept but may cause issues"} 
[2026-09-07 20:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792567000,"timestamp_ms":1788792567000,"timestamp_seconds":1788792567,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5874d8"} 
[2026-09-07 20: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-07 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 20:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:21: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-07 20:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930893824001,"66":27365,"116":206,"83":41216,"24":27,"16":402146184585543680,"44":-1413708040059314176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-09-07 20:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930893824001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:21:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 20:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402146184585543680,"km_value":402146184585543.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413708040059314176,"description":"Unknown IO ID 44"} 
[2026-09-07 20:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930893824001,"power":27365,"unknown_116":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1413708040059314176}} 
[2026-09-07 20:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":175116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:21:50] local.INFO: GPS data processed {"connection_id":175116,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:21:50] local.INFO: Acknowledgment sent {"connection_id":175116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:21:51] local.INFO: TCP Data received {"connection_id":176534,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:51] local.INFO: Processing buffer {"connection_id":176534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:21:51] local.INFO: IMEI packet received {"connection_id":176534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":176534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:22:21] local.INFO: TCP Data received {"connection_id":175116,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c58a7a0012cec54c00717de70001d00ba2a..."} 
[2026-09-07 20:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c58a7a0012cec54c00717de70001d00ba2a..."} 
[2026-09-07 20:22:21] local.INFO: Processing buffer {"connection_id":175116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c58a7a0012cec54c00717de70001d00ba2a..."} 
[2026-09-07 20:22:21] local.INFO: Packet analysis {"connection_id":175116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:22:21] local.INFO: Extracted packet for processing {"connection_id":175116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c58"} 
[2026-09-07 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":753685696,"raw_latitude":119004784,"longitude_deg":75.3685696,"latitude_deg":11.9004784,"altitude":29,"angle":186,"satellites":42,"speed":31,"hex_longitude":"2cec54c0","hex_latitude":"0717de70","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930897152001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402146635557109760,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415959839875368960,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792580000,"timestamp_ms":1788792580000,"timestamp_seconds":1788792580,"priority":1,"record_length":96,"hex_timestamp":"000001a07c58a7a0"} 
[2026-09-07 20: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-07 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22: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-07 20:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930897152001,"66":27321,"65":206,"83":41216,"24":31,"16":402146635557109760,"44":-1415959839875368960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,83,24,16,44]} 
[2026-09-07 20:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930897152001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:22:21] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 20:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402146635557109760,"km_value":402146635557109.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415959839875368960,"description":"Unknown IO ID 44"} 
[2026-09-07 20:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930897152001,"power":27321,"unknown_65":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1415959839875368960}} 
[2026-09-07 20:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":175116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:22:21] local.INFO: GPS data processed {"connection_id":175116,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:22:21] local.INFO: Acknowledgment sent {"connection_id":175116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:22:49] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:22:49] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:49] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:22:53] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:53] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:22:53] local.INFO: IMEI packet received {"connection_id":174011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":174011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:22:54] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5aca80012cec7900071665780010009f2d..."} 
[2026-09-07 20:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5aca80012cec7900071665780010009f2d..."} 
[2026-09-07 20:22:54] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5aca80012cec7900071665780010009f2d..."} 
[2026-09-07 20:22:54] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5a"} 
[2026-09-07 20:22:54] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5a"} 
[2026-09-07 20:22:54] local.INFO: GPS Element Parsed {"raw_longitude":753694976,"raw_latitude":118908280,"longitude_deg":75.3694976,"latitude_deg":11.890828,"altitude":16,"angle":159,"satellites":45,"speed":32,"hex_longitude":"2cec7900","hex_latitude":"07166578","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930932992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402151433035579392,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411104396551886848,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788792720000,"timestamp_ms":1788792720000,"timestamp_seconds":1788792720,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5aca80"} 
[2026-09-07 20: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-07 20:22: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-07 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 20:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:54] local.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-07 20:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930932992001,"66":27463,"192":206,"83":41216,"24":32,"16":402151433035579392,"44":-1411104396551886848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930932992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:22:54] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:22:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402151433035579392,"km_value":402151433035579.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:22:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411104396551886848,"description":"Unknown IO ID 44"} 
[2026-09-07 20:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930932992001,"power":27463,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1411104396551886848}} 
[2026-09-07 20:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:22:54] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:22:54] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:22:55] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5af578012cec84c007164350001100a12c..."} 
[2026-09-07 20:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5af578012cec84c007164350001100a12c..."} 
[2026-09-07 20:22:55] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5af578012cec84c007164350001100a12c..."} 
[2026-09-07 20:22:55] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5a"} 
[2026-09-07 20:22:55] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5a"} 
[2026-09-07 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":753697984,"raw_latitude":118899536,"longitude_deg":75.3697984,"latitude_deg":11.8899536,"altitude":17,"angle":161,"satellites":44,"speed":29,"hex_longitude":"2cec84c0","hex_latitude":"07164350","is_valid_coordinates":true} 
[2026-09-07 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-07 20:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930936320001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402151884007145472,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407093378136049664,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788792731000,"timestamp_ms":1788792731000,"timestamp_seconds":1788792731,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5af578"} 
[2026-09-07 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-07 20:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 20:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 20:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:55] local.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-07 20:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930936320001,"66":27321,"192":206,"83":41216,"24":29,"16":402151884007145472,"44":-1407093378136049664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930936320001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:22:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402151884007145472,"km_value":402151884007145.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:22:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407093378136049664,"description":"Unknown IO ID 44"} 
[2026-09-07 20:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930936320001,"power":27321,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1407093378136049664}} 
[2026-09-07 20:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:22:55] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:22:55] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:22:58] local.INFO: TCP Data received {"connection_id":174011,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5b0518012cec8940071637e0001400952b..."} 
[2026-09-07 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5b0518012cec8940071637e0001400952b..."} 
[2026-09-07 20:22:58] local.INFO: Processing buffer {"connection_id":174011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5b0518012cec8940071637e0001400952b..."} 
[2026-09-07 20:22:58] local.INFO: Packet analysis {"connection_id":174011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:22:58] local.INFO: Extracted packet for processing {"connection_id":174011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":753699136,"raw_latitude":118896608,"longitude_deg":75.3699136,"latitude_deg":11.8896608,"altitude":20,"angle":149,"satellites":43,"speed":29,"hex_longitude":"2cec8940","hex_latitude":"071637e0","is_valid_coordinates":true} 
[2026-09-07 20:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930939136001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402152034331000832,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1403786047161937920,"note":"Value kept but may cause issues"} 
[2026-09-07 20:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788792735000,"timestamp_ms":1788792735000,"timestamp_seconds":1788792735,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5b0518"} 
[2026-09-07 20:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 20:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":174011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":174011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:22:58] local.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-07 20:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930939136001,"66":27267,"192":206,"83":41216,"24":29,"16":402152034331000832,"44":-1403786047161937920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930939136001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:22:58] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402152034331000832,"km_value":402152034331000.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1403786047161937920,"description":"Unknown IO ID 44"} 
[2026-09-07 20:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930939136001,"power":27267,"unknown_192":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1403786047161937920}} 
[2026-09-07 20:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":174011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:22:58] local.INFO: GPS data processed {"connection_id":174011,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:22:58] local.INFO: Acknowledgment sent {"connection_id":174011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:23:44] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:44] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:44] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:23:45] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:45] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:23:45] local.INFO: IMEI packet received {"connection_id":173775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:23:45] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5b18a0012cec8fc007162f30001400892c..."} 
[2026-09-07 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5b18a0012cec8fc007162f30001400892c..."} 
[2026-09-07 20:23:45] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5b18a0012cec8fc007162f30001400892c..."} 
[2026-09-07 20:23:45] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:23:45] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":753700800,"raw_latitude":118894384,"longitude_deg":75.37008,"latitude_deg":11.8894384,"altitude":20,"angle":137,"satellites":44,"speed":20,"hex_longitude":"2cec8fc0","hex_latitude":"07162f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930940160001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402152167474987008,"note":"Value kept but may cause issues"} 
[2026-09-07 20:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1402519409767489536,"note":"Value kept but may cause issues"} 
[2026-09-07 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1788792740000,"timestamp_ms":1788792740000,"timestamp_seconds":1788792740,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5b18a0"} 
[2026-09-07 20: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-07 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 20:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:23: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-07 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930940160001,"66":27343,"192":206,"83":41216,"24":20,"16":402152167474987008,"44":-1402519409767489536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930940160001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:23:45] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402152167474987008,"km_value":402152167474987.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1402519409767489536,"description":"Unknown IO ID 44"} 
[2026-09-07 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930940160001,"power":27343,"unknown_192":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1402519409767489536}} 
[2026-09-07 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:23:45] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:23:45] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:24:31] local.INFO: TCP Data received {"connection_id":173775,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5b6aa8012ceca440071616580016008c2e..."} 
[2026-09-07 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5b6aa8012ceca440071616580016008c2e..."} 
[2026-09-07 20:24:31] local.INFO: Processing buffer {"connection_id":173775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5b6aa8012ceca440071616580016008c2e..."} 
[2026-09-07 20:24:31] local.INFO: Packet analysis {"connection_id":173775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:24:31] local.INFO: Extracted packet for processing {"connection_id":173775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:24:31] local.INFO: GPS Element Parsed {"raw_longitude":753706048,"raw_latitude":118888024,"longitude_deg":75.3706048,"latitude_deg":11.8888024,"altitude":22,"angle":140,"satellites":46,"speed":14,"hex_longitude":"2ceca440","hex_latitude":"07161658","is_valid_coordinates":true} 
[2026-09-07 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930941440001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402152566906945536,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1400689822419439616,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1788792761000,"timestamp_ms":1788792761000,"timestamp_seconds":1788792761,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5b6aa8"} 
[2026-09-07 20:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":173775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":173775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:24:31] local.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-07 20:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930941440001,"66":27365,"192":206,"83":41216,"24":14,"16":402152566906945536,"44":-1400689822419439616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930941440001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:24:31] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402152566906945536,"km_value":402152566906945.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1400689822419439616,"description":"Unknown IO ID 44"} 
[2026-09-07 20:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930941440001,"power":27365,"unknown_192":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1400689822419439616}} 
[2026-09-07 20:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":173775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:24:31] local.INFO: GPS data processed {"connection_id":173775,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:24:31] local.INFO: Acknowledgment sent {"connection_id":173775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:24:44] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:44] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:44] local.INFO: IMEI packet received {"connection_id":176536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":176536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:24:47] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:47] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:24:47] local.INFO: IMEI packet received {"connection_id":176536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":176536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:24:48] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5ba540012cecb9c00715f8e0001500912b..."} 
[2026-09-07 20:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5ba540012cecb9c00715f8e0001500912b..."} 
[2026-09-07 20:24:48] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5ba540012cecb9c00715f8e0001500912b..."} 
[2026-09-07 20:24:48] local.INFO: Packet analysis {"connection_id":176536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:24:48] local.INFO: Extracted packet for processing {"connection_id":176536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:24:48] local.INFO: GPS Element Parsed {"raw_longitude":753711552,"raw_latitude":118880480,"longitude_deg":75.3711552,"latitude_deg":11.888048,"altitude":21,"angle":145,"satellites":43,"speed":26,"hex_longitude":"2cecb9c0","hex_latitude":"0715f8e0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930946816001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402153017878511616,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394919585398499328,"note":"Value kept but may cause issues"} 
[2026-09-07 20:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788792776000,"timestamp_ms":1788792776000,"timestamp_seconds":1788792776,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5ba540"} 
[2026-09-07 20: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-07 20:24: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-07 20:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:24: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-07 20:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930946816001,"66":27397,"192":206,"83":41216,"24":26,"16":402153017878511616,"44":-1394919585398499328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930946816001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:24:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402153017878511616,"km_value":402153017878511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:24:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394919585398499328,"description":"Unknown IO ID 44"} 
[2026-09-07 20:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930946816001,"power":27397,"unknown_192":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1394919585398499328}} 
[2026-09-07 20:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":176536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:24:49] local.INFO: GPS data processed {"connection_id":176536,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:24:49] local.INFO: Acknowledgment sent {"connection_id":176536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:25:20] local.INFO: TCP Data received {"connection_id":176536,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5bd038012ceccb000715d8880016009b2e..."} 
[2026-09-07 20:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5bd038012ceccb000715d8880016009b2e..."} 
[2026-09-07 20:25:20] local.INFO: Processing buffer {"connection_id":176536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5bd038012ceccb000715d8880016009b2e..."} 
[2026-09-07 20:25:20] local.INFO: Packet analysis {"connection_id":176536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:25:20] local.INFO: Extracted packet for processing {"connection_id":176536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5b"} 
[2026-09-07 20:25:20] local.INFO: GPS Element Parsed {"raw_longitude":753715968,"raw_latitude":118872200,"longitude_deg":75.3715968,"latitude_deg":11.88722,"altitude":22,"angle":155,"satellites":46,"speed":32,"hex_longitude":"2ceccb00","hex_latitude":"0715d888","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930950656001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402153468850077696,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1388867873401151488,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788792787000,"timestamp_ms":1788792787000,"timestamp_seconds":1788792787,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5bd038"} 
[2026-09-07 20: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-07 20:25: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-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 20:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930950656001,"66":26854,"192":206,"83":41216,"24":32,"16":402153468850077696,"44":-1388867873401151488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930950656001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:25:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402153468850077696,"km_value":402153468850077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1388867873401151488,"description":"Unknown IO ID 44"} 
[2026-09-07 20:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930950656001,"power":26854,"unknown_192":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1388867873401151488}} 
[2026-09-07 20:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":176536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:25:20] local.INFO: GPS data processed {"connection_id":176536,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:25:20] local.INFO: Acknowledgment sent {"connection_id":176536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:25:42] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:42] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:42] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:25:44] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:44] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:44] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:25:49] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:49] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:25:49] local.INFO: IMEI packet received {"connection_id":175117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":175117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:25:50] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5c0300012cecd9000715b8400016009e2a..."} 
[2026-09-07 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5c0300012cecd9000715b8400016009e2a..."} 
[2026-09-07 20:25:50] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5c0300012cecd9000715b8400016009e2a..."} 
[2026-09-07 20:25:50] local.INFO: Packet analysis {"connection_id":175117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5c"} 
[2026-09-07 20:25:50] local.INFO: Extracted packet for processing {"connection_id":175117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5c"} 
[2026-09-07 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":753719552,"raw_latitude":118863936,"longitude_deg":75.3719552,"latitude_deg":11.8863936,"altitude":22,"angle":158,"satellites":42,"speed":22,"hex_longitude":"2cecd900","hex_latitude":"0715b840","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930953472001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402153906936741888,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384012430055012352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792800000,"timestamp_ms":1788792800000,"timestamp_seconds":1788792800,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5c0300"} 
[2026-09-07 20: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-07 20:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-07 20:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:25: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-07 20:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930953472001,"66":27365,"192":206,"83":41216,"24":22,"16":402153906936741888,"44":-1384012430055012352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-09-07 20:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930953472001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:25:50] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-09-07 20:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402153906936741888,"km_value":402153906936741.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384012430055012352,"description":"Unknown IO ID 44"} 
[2026-09-07 20:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930953472001,"power":27365,"unknown_192":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1384012430055012352}} 
[2026-09-07 20:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":175117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:25:50] local.INFO: GPS data processed {"connection_id":175117,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:25:50] local.INFO: Acknowledgment sent {"connection_id":175117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:26:21] local.INFO: TCP Data received {"connection_id":175117,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5dd7c0012ced3dc0071480f8001700be2a..."} 
[2026-09-07 20:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5dd7c0012ced3dc0071480f8001700be2a..."} 
[2026-09-07 20:26:21] local.INFO: Processing buffer {"connection_id":175117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5dd7c0012ced3dc0071480f8001700be2a..."} 
[2026-09-07 20:26:21] local.INFO: Packet analysis {"connection_id":175117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5d"} 
[2026-09-07 20:26:21] local.INFO: Extracted packet for processing {"connection_id":175117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5d"} 
[2026-09-07 20:26:21] local.INFO: GPS Element Parsed {"raw_longitude":753745344,"raw_latitude":118784248,"longitude_deg":75.3745344,"latitude_deg":11.8784248,"altitude":23,"angle":190,"satellites":42,"speed":14,"hex_longitude":"2ced3dc0","hex_latitude":"071480f8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930987520001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402158012925476864,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351713176499980288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792920000,"timestamp_ms":1788792920000,"timestamp_seconds":1788792920,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5dd7c0"} 
[2026-09-07 20: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-07 20:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-07 20:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:26: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-07 20:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930987520001,"66":27050,"28":206,"83":41216,"24":14,"16":402158012925476864,"44":-1351713176499980288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-09-07 20:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930987520001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:26:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-09-07 20:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402158012925476864,"km_value":402158012925476.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351713176499980288,"description":"Unknown IO ID 44"} 
[2026-09-07 20:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930987520001,"power":27050,"unknown_28":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1351713176499980288}} 
[2026-09-07 20:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":175117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:26:21] local.INFO: GPS data processed {"connection_id":175117,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:26:21] local.INFO: Acknowledgment sent {"connection_id":175117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:26:44] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:44] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:44] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:26:48] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:48] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:26:48] local.INFO: IMEI packet received {"connection_id":173777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":173777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:26:48] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:26:48] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:26:48] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:26:48] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:26:48] local.INFO: GPS Element Parsed {"raw_longitude":753742592,"raw_latitude":118775536,"longitude_deg":75.3742592,"latitude_deg":11.8775536,"altitude":21,"angle":201,"satellites":42,"speed":28,"hex_longitude":"2ced3300","hex_latitude":"07145ef0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930987520001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402158455307108352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351713176499980288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788792937000,"timestamp_ms":1788792937000,"timestamp_seconds":1788792937,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5e1a28"} 
[2026-09-07 20: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-07 20:26: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-07 20: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-07 20:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:26: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-07 20:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930987520001,"66":27343,"193":206,"83":41216,"24":28,"16":402158455307108352,"44":-1351713176499980288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-07 20:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930987520001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:26:48] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-07 20:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402158455307108352,"km_value":402158455307108.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351713176499980288,"description":"Unknown IO ID 44"} 
[2026-09-07 20:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930987520001,"power":27343,"unknown_193":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1351713176499980288}} 
[2026-09-07 20:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:26:48] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:26:48] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:27:20] local.INFO: TCP Data received {"connection_id":173777,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:27:20] local.INFO: Processing buffer {"connection_id":173777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5e1a28012ced330007145ef0001500c92a..."} 
[2026-09-07 20:27:20] local.INFO: Packet analysis {"connection_id":173777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:27:20] local.INFO: Extracted packet for processing {"connection_id":173777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:27:20] local.INFO: GPS Element Parsed {"raw_longitude":753742592,"raw_latitude":118775536,"longitude_deg":75.3742592,"latitude_deg":11.8775536,"altitude":21,"angle":201,"satellites":42,"speed":28,"hex_longitude":"2ced3300","hex_latitude":"07145ef0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930991872001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402158455307108352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354739032501850112,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788792937000,"timestamp_ms":1788792937000,"timestamp_seconds":1788792937,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5e1a28"} 
[2026-09-07 20: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-07 20:27: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-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930991872001,"66":27343,"193":206,"83":41216,"24":28,"16":402158455307108352,"44":-1354739032501850112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-07 20:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930991872001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:27:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-07 20:27:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402158455307108352,"km_value":402158455307108.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354739032501850112,"description":"Unknown IO ID 44"} 
[2026-09-07 20:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930991872001,"power":27343,"unknown_193":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1354739032501850112}} 
[2026-09-07 20:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":173777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:27:20] local.INFO: GPS data processed {"connection_id":173777,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:27:20] local.INFO: Acknowledgment sent {"connection_id":173777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:27:43] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:43] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:43] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:27:44] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:44] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:44] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:27:46] local.INFO: TCP Data received {"connection_id":174014,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:27:46] local.INFO: Processing buffer {"connection_id":174014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:27:46] local.INFO: IMEI packet received {"connection_id":174014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":174014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:27:49] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:49] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:27:49] local.INFO: IMEI packet received {"connection_id":173778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":173778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:27:50] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5e6c30012ced2440071440c0001600c72b..."} 
[2026-09-07 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5e6c30012ced2440071440c0001600c72b..."} 
[2026-09-07 20:27:50] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5e6c30012ced2440071440c0001600c72b..."} 
[2026-09-07 20:27:50] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:27:50] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":753738816,"raw_latitude":118767808,"longitude_deg":75.3738816,"latitude_deg":11.8767808,"altitude":22,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2ced2440","hex_latitude":"071440c0","is_valid_coordinates":true} 
[2026-09-07 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930991872001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402158876213903360,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1354739032501850112,"note":"Value kept but may cause issues"} 
[2026-09-07 20:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792958000,"timestamp_ms":1788792958000,"timestamp_seconds":1788792958,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5e6c30"} 
[2026-09-07 20:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:27: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-07 20:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930991872001,"66":27213,"193":206,"83":41216,"24":0,"16":402158876213903360,"44":-1354739032501850112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-07 20:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930991872001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:27:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-07 20:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402158876213903360,"km_value":402158876213903.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:27:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1354739032501850112,"description":"Unknown IO ID 44"} 
[2026-09-07 20:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930991872001,"power":27213,"unknown_193":206,"unknown_83":41216,"ignition":0,"odometer":null,"unknown_44":-1354739032501850112}} 
[2026-09-07 20:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:27:50] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:27:50] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:28:21] local.INFO: TCP Data received {"connection_id":173778,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5e9728012ced21c007143bb0001700bc2c..."} 
[2026-09-07 20:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5e9728012ced21c007143bb0001700bc2c..."} 
[2026-09-07 20:28:21] local.INFO: Processing buffer {"connection_id":173778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5e9728012ced21c007143bb0001700bc2c..."} 
[2026-09-07 20:28:21] local.INFO: Packet analysis {"connection_id":173778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:28:21] local.INFO: Extracted packet for processing {"connection_id":173778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:28:21] local.INFO: GPS Element Parsed {"raw_longitude":753738176,"raw_latitude":118766512,"longitude_deg":75.3738176,"latitude_deg":11.8766512,"altitude":23,"angle":188,"satellites":44,"speed":9,"hex_longitude":"2ced21c0","hex_latitude":"07143bb0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457930997248001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402158949228347392,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358890788410310656,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788792969000,"timestamp_ms":1788792969000,"timestamp_seconds":1788792969,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5e9728"} 
[2026-09-07 20: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-07 20:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 20:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457930997248001,"66":27343,"193":206,"83":41216,"24":9,"16":402158949228347392,"44":-1358890788410310656},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-07 20:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457930997248001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:28:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-07 20:28:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402158949228347392,"km_value":402158949228347.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358890788410310656,"description":"Unknown IO ID 44"} 
[2026-09-07 20:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457930997248001,"power":27343,"unknown_193":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1358890788410310656}} 
[2026-09-07 20:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":173778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:28:21] local.INFO: GPS data processed {"connection_id":173778,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:28:21] local.INFO: Acknowledgment sent {"connection_id":173778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:28:43] local.INFO: TCP Data received {"connection_id":176537,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:43] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:43] local.INFO: IMEI packet received {"connection_id":176537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":176537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:28:49] local.INFO: TCP Data received {"connection_id":176537,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:49] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:28:49] local.INFO: IMEI packet received {"connection_id":176537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":176537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:28:50] local.INFO: TCP Data received {"connection_id":176537,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c5edd78012ced1f0007142000001800b02d..."} 
[2026-09-07 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c5edd78012ced1f0007142000001800b02d..."} 
[2026-09-07 20:28:50] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c5edd78012ced1f0007142000001800b02d..."} 
[2026-09-07 20:28:50] local.INFO: Packet analysis {"connection_id":176537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:28:50] local.INFO: Extracted packet for processing {"connection_id":176537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c5e"} 
[2026-09-07 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":753737472,"raw_latitude":118759424,"longitude_deg":75.3737472,"latitude_deg":11.8759424,"altitude":24,"angle":176,"satellites":45,"speed":27,"hex_longitude":"2ced1f00","hex_latitude":"07142000","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931000064001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402159297120698368,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359594475852419072,"note":"Value kept but may cause issues"} 
[2026-09-07 20:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788792987000,"timestamp_ms":1788792987000,"timestamp_seconds":1788792987,"priority":1,"record_length":96,"hex_timestamp":"000001a07c5edd78"} 
[2026-09-07 20: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-07 20:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:28: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-07 20:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931000064001,"66":27365,"193":206,"83":41216,"24":27,"16":402159297120698368,"44":-1359594475852419072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-09-07 20:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931000064001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:28:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-09-07 20:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402159297120698368,"km_value":402159297120698.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359594475852419072,"description":"Unknown IO ID 44"} 
[2026-09-07 20:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931000064001,"power":27365,"unknown_193":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1359594475852419072}} 
[2026-09-07 20:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":176537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:28:50] local.INFO: GPS data processed {"connection_id":176537,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:28:50] local.INFO: Acknowledgment sent {"connection_id":176537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:29:21] local.INFO: TCP Data received {"connection_id":176537,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c605090012cee07c00713e518002500582b..."} 
[2026-09-07 20:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c605090012cee07c00713e518002500582b..."} 
[2026-09-07 20:29:21] local.INFO: Processing buffer {"connection_id":176537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c605090012cee07c00713e518002500582b..."} 
[2026-09-07 20:29:21] local.INFO: Packet analysis {"connection_id":176537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:29:21] local.INFO: Extracted packet for processing {"connection_id":176537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:29:21] local.INFO: GPS Element Parsed {"raw_longitude":753797056,"raw_latitude":118744344,"longitude_deg":75.3797056,"latitude_deg":11.8744344,"altitude":37,"angle":88,"satellites":43,"speed":34,"hex_longitude":"2cee07c0","hex_latitude":"0713e518","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931026176001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402162436741791744,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305340174097141760,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788793082000,"timestamp_ms":1788793082000,"timestamp_seconds":1788793082,"priority":1,"record_length":96,"hex_timestamp":"000001a07c605090"} 
[2026-09-07 20: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-07 20:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:29: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-07 20:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931026176001,"66":27365,"194":206,"83":41216,"24":34,"16":402162436741791744,"44":-1305340174097141760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-09-07 20:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931026176001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:29:21] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-09-07 20:29:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402162436741791744,"km_value":402162436741791.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305340174097141760,"description":"Unknown IO ID 44"} 
[2026-09-07 20:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931026176001,"power":27365,"unknown_194":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1305340174097141760}} 
[2026-09-07 20:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":176537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:29:21] local.INFO: GPS data processed {"connection_id":176537,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:29:21] local.INFO: Acknowledgment sent {"connection_id":176537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:29:44] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:44] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:44] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:29:49] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:49] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:29:49] local.INFO: IMEI packet received {"connection_id":174015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:29:50] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c607f70012cee2b800713e3a8002500602b..."} 
[2026-09-07 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c607f70012cee2b800713e3a8002500602b..."} 
[2026-09-07 20:29:50] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c607f70012cee2b800713e3a8002500602b..."} 
[2026-09-07 20:29:50] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:29:50] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":753806208,"raw_latitude":118743976,"longitude_deg":75.3806208,"latitude_deg":11.8743976,"altitude":37,"angle":96,"satellites":43,"speed":23,"hex_longitude":"2cee2b80","hex_latitude":"0713e3a8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931028992001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402162874828455936,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1294855231214643200,"note":"Value kept but may cause issues"} 
[2026-09-07 20:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788793094000,"timestamp_ms":1788793094000,"timestamp_seconds":1788793094,"priority":1,"record_length":96,"hex_timestamp":"000001a07c607f70"} 
[2026-09-07 20: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-07 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:29: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-07 20:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931028992001,"66":27267,"38":206,"83":41216,"24":23,"16":402162874828455936,"44":-1294855231214643200},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 20:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931028992001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:29:50] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 20:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402162874828455936,"km_value":402162874828455.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1294855231214643200,"description":"Unknown IO ID 44"} 
[2026-09-07 20:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931028992001,"power":27267,"unknown_38":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1294855231214643200}} 
[2026-09-07 20:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:29:50] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:29:50] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:30:21] local.INFO: TCP Data received {"connection_id":174015,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c60ba08012cee4f000713de68002500632c..."} 
[2026-09-07 20:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c60ba08012cee4f000713de68002500632c..."} 
[2026-09-07 20:30:21] local.INFO: Processing buffer {"connection_id":174015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c60ba08012cee4f000713de68002500632c..."} 
[2026-09-07 20:30:21] local.INFO: Packet analysis {"connection_id":174015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:30:21] local.INFO: Extracted packet for processing {"connection_id":174015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c60"} 
[2026-09-07 20:30:21] local.INFO: GPS Element Parsed {"raw_longitude":753815296,"raw_latitude":118742632,"longitude_deg":75.3815296,"latitude_deg":11.8742632,"altitude":37,"angle":99,"satellites":44,"speed":14,"hex_longitude":"2cee4f00","hex_latitude":"0713de68","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931032064001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402163308620152832,"note":"Value kept but may cause issues"} 
[2026-09-07 20:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1284792500797331456,"note":"Value kept but may cause issues"} 
[2026-09-07 20:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788793109000,"timestamp_ms":1788793109000,"timestamp_seconds":1788793109,"priority":1,"record_length":96,"hex_timestamp":"000001a07c60ba08"} 
[2026-09-07 20: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-07 20:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 20:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:30: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-07 20:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931032064001,"66":27332,"38":206,"83":41216,"24":14,"16":402163308620152832,"44":-1284792500797331456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 20:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931032064001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:30:21] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 20:30:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402163308620152832,"km_value":402163308620152.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1284792500797331456,"description":"Unknown IO ID 44"} 
[2026-09-07 20:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931032064001,"power":27332,"unknown_38":206,"unknown_83":41216,"ignition":14,"odometer":null,"unknown_44":-1284792500797331456}} 
[2026-09-07 20:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":174015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:30:21] local.INFO: GPS data processed {"connection_id":174015,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:30:21] local.INFO: Acknowledgment sent {"connection_id":174015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:30:59] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:30:59] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:30:59] local.INFO: IMEI packet received {"connection_id":175119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":175119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:31:01] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:01] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:01] local.INFO: IMEI packet received {"connection_id":175119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":175119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:31:01] local.INFO: TCP Data received {"connection_id":175119,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c610440012cee75400713da60002100592c..."} 
[2026-09-07 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c610440012cee75400713da60002100592c..."} 
[2026-09-07 20:31:01] local.INFO: Processing buffer {"connection_id":175119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c610440012cee75400713da60002100592c..."} 
[2026-09-07 20:31:01] local.INFO: Packet analysis {"connection_id":175119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c61"} 
[2026-09-07 20:31:01] local.INFO: Extracted packet for processing {"connection_id":175119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c61"} 
[2026-09-07 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":753825088,"raw_latitude":118741600,"longitude_deg":75.3825088,"latitude_deg":11.87416,"altitude":33,"angle":89,"satellites":44,"speed":31,"hex_longitude":"2cee7540","hex_latitude":"0713da60","is_valid_coordinates":true} 
[2026-09-07 20:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931035904001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402163776771588096,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1274800139124447232,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788793128000,"timestamp_ms":1788793128000,"timestamp_seconds":1788793128,"priority":1,"record_length":96,"hex_timestamp":"000001a07c610440"} 
[2026-09-07 20:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931035904001,"66":27213,"38":206,"83":41216,"24":31,"16":402163776771588096,"44":-1274800139124447232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-09-07 20:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931035904001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:31:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-09-07 20:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-09-07 20:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402163776771588096,"km_value":402163776771588.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1274800139124447232,"description":"Unknown IO ID 44"} 
[2026-09-07 20:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931035904001,"power":27213,"unknown_38":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1274800139124447232}} 
[2026-09-07 20:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":175119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:31:01] local.INFO: GPS data processed {"connection_id":175119,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:31:01] local.INFO: Acknowledgment sent {"connection_id":175119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:31:44] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:44] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:44] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:31:48] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:48] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:31:48] local.INFO: IMEI packet received {"connection_id":175120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:31:49] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c62d130012cef8d400713bdf80026008a28..."} 
[2026-09-07 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c62d130012cef8d400713bdf80026008a28..."} 
[2026-09-07 20:31:49] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c62d130012cef8d400713bdf80026008a28..."} 
[2026-09-07 20:31:49] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:31:49] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":753896768,"raw_latitude":118734328,"longitude_deg":75.3896768,"latitude_deg":11.8734328,"altitude":38,"angle":138,"satellites":40,"speed":26,"hex_longitude":"2cef8d40","hex_latitude":"0713bdf8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931068928001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402167294349803520,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1188950271228950528,"note":"Value kept but may cause issues"} 
[2026-09-07 20:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788793246000,"timestamp_ms":1788793246000,"timestamp_seconds":1788793246,"priority":1,"record_length":96,"hex_timestamp":"000001a07c62d130"} 
[2026-09-07 20: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-07 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931068928001,"66":27050,"180":206,"83":41472,"24":26,"16":402167294349803520,"44":-1188950271228950528},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-09-07 20:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931068928001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:31:49] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-09-07 20:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402167294349803520,"km_value":402167294349803.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:31:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1188950271228950528,"description":"Unknown IO ID 44"} 
[2026-09-07 20:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931068928001,"power":27050,"unknown_180":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1188950271228950528}} 
[2026-09-07 20:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:31:49] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:31:49] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:32:20] local.INFO: TCP Data received {"connection_id":175120,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c62f458012cef9f800713ab780024007e27..."} 
[2026-09-07 20:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c62f458012cef9f800713ab780024007e27..."} 
[2026-09-07 20:32:20] local.INFO: Processing buffer {"connection_id":175120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c62f458012cef9f800713ab780024007e27..."} 
[2026-09-07 20:32:20] local.INFO: Packet analysis {"connection_id":175120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:32:20] local.INFO: Extracted packet for processing {"connection_id":175120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:32:20] local.INFO: GPS Element Parsed {"raw_longitude":753901440,"raw_latitude":118729592,"longitude_deg":75.390144,"latitude_deg":11.8729592,"altitude":36,"angle":126,"satellites":39,"speed":34,"hex_longitude":"2cef9f80","hex_latitude":"0713ab78","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931070976001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402167612177383424,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1185220727788406784,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788793255000,"timestamp_ms":1788793255000,"timestamp_seconds":1788793255,"priority":1,"record_length":96,"hex_timestamp":"000001a07c62f458"} 
[2026-09-07 20: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-07 20:32: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-07 20: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-07 20:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931070976001,"66":27343,"15":206,"83":41472,"24":34,"16":402167612177383424,"44":-1185220727788406784},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-07 20:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931070976001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:32:20] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 20:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402167612177383424,"km_value":402167612177383.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1185220727788406784,"description":"Unknown IO ID 44"} 
[2026-09-07 20:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931070976001,"power":27343,"unknown_15":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1185220727788406784}} 
[2026-09-07 20:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":175120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:32:20] local.INFO: GPS data processed {"connection_id":175120,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:32:20] local.INFO: Acknowledgment sent {"connection_id":175120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:32:44] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:44] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:44] local.INFO: IMEI packet received {"connection_id":175121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":175121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:32:49] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:49] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:32:49] local.INFO: IMEI packet received {"connection_id":175121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":175121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:32:50] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c62fc28012cefa5c00713a7f00024007129..."} 
[2026-09-07 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c62fc28012cefa5c00713a7f00024007129..."} 
[2026-09-07 20:32:50] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c62fc28012cefa5c00713a7f00024007129..."} 
[2026-09-07 20:32:50] local.INFO: Packet analysis {"connection_id":175121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:32:50] local.INFO: Extracted packet for processing {"connection_id":175121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c62"} 
[2026-09-07 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":753903040,"raw_latitude":118728688,"longitude_deg":75.390304,"latitude_deg":11.8728688,"altitude":36,"angle":113,"satellites":41,"speed":36,"hex_longitude":"2cefa5c0","hex_latitude":"0713a7f0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931073280001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402167702371696640,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180083809464649728,"note":"Value kept but may cause issues"} 
[2026-09-07 20:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788793257000,"timestamp_ms":1788793257000,"timestamp_seconds":1788793257,"priority":1,"record_length":96,"hex_timestamp":"000001a07c62fc28"} 
[2026-09-07 20: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-07 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:32: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-07 20:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931073280001,"66":27321,"15":206,"83":41472,"24":36,"16":402167702371696640,"44":-1180083809464649728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-07 20:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931073280001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:32:50] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 20:32:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402167702371696640,"km_value":402167702371696.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180083809464649728,"description":"Unknown IO ID 44"} 
[2026-09-07 20:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931073280001,"power":27321,"unknown_15":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-1180083809464649728}} 
[2026-09-07 20:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":175121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:32:50] local.INFO: GPS data processed {"connection_id":175121,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:32:50] local.INFO: Acknowledgment sent {"connection_id":175121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:33:06] local.INFO: TCP Data received {"connection_id":173782,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:06] local.INFO: Processing buffer {"connection_id":173782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:06] local.INFO: IMEI packet received {"connection_id":173782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":173782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:33:22] local.INFO: TCP Data received {"connection_id":175121,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6303f8012cefacc00713a5e80024006529..."} 
[2026-09-07 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6303f8012cefacc00713a5e80024006529..."} 
[2026-09-07 20:33:22] local.INFO: Processing buffer {"connection_id":175121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6303f8012cefacc00713a5e80024006529..."} 
[2026-09-07 20:33:22] local.INFO: Packet analysis {"connection_id":175121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c63"} 
[2026-09-07 20:33:22] local.INFO: Extracted packet for processing {"connection_id":175121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c63"} 
[2026-09-07 20:33:22] local.INFO: GPS Element Parsed {"raw_longitude":753904832,"raw_latitude":118728168,"longitude_deg":75.3904832,"latitude_deg":11.8728168,"altitude":36,"angle":101,"satellites":41,"speed":35,"hex_longitude":"2cefacc0","hex_latitude":"0713a5e8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931073792001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402167788271042560,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1178324590860439552,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788793259000,"timestamp_ms":1788793259000,"timestamp_seconds":1788793259,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6303f8"} 
[2026-09-07 20: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-07 20:33: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-07 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 20:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:33: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-07 20:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931073792001,"66":27300,"15":206,"83":41472,"24":35,"16":402167788271042560,"44":-1178324590860439552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-09-07 20:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931073792001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:33:22] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-09-07 20:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402167788271042560,"km_value":402167788271042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1178324590860439552,"description":"Unknown IO ID 44"} 
[2026-09-07 20:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931073792001,"power":27300,"unknown_15":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1178324590860439552}} 
[2026-09-07 20:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":175121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:33:22] local.INFO: GPS data processed {"connection_id":175121,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:33:22] local.INFO: Acknowledgment sent {"connection_id":175121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:33:43] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:43] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:43] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:33:46] local.INFO: TCP Data received {"connection_id":173783,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:46] local.INFO: Processing buffer {"connection_id":173783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:33:46] local.INFO: IMEI packet received {"connection_id":173783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":173783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:33:48] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:48] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:33:48] local.INFO: IMEI packet received {"connection_id":175122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":175122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:33:49] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c648e80012cf08ac0071372e0002800392a..."} 
[2026-09-07 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c648e80012cf08ac0071372e0002800392a..."} 
[2026-09-07 20:33:49] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c648e80012cf08ac0071372e0002800392a..."} 
[2026-09-07 20:33:49] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:33:49] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":753961664,"raw_latitude":118715104,"longitude_deg":75.3961664,"latitude_deg":11.8715104,"altitude":40,"angle":57,"satellites":42,"speed":5,"hex_longitude":"2cf08ac0","hex_latitude":"071372e0","is_valid_coordinates":true} 
[2026-09-07 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931097856001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402170644424294400,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1116963045941272576,"note":"Value kept but may cause issues"} 
[2026-09-07 20:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788793360000,"timestamp_ms":1788793360000,"timestamp_seconds":1788793360,"priority":1,"record_length":96,"hex_timestamp":"000001a07c648e80"} 
[2026-09-07 20:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 20:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931097856001,"66":27321,"219":206,"83":41472,"24":5,"16":402170644424294400,"44":-1116963045941272576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 20:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931097856001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:33:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 20:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402170644424294400,"km_value":402170644424294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:33:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1116963045941272576,"description":"Unknown IO ID 44"} 
[2026-09-07 20:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931097856001,"power":27321,"unknown_219":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1116963045941272576}} 
[2026-09-07 20:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:33:49] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:33:49] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:34:20] local.INFO: TCP Data received {"connection_id":175122,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c64b978012cf09180071376780027004628..."} 
[2026-09-07 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c64b978012cf09180071376780027004628..."} 
[2026-09-07 20:34:20] local.INFO: Processing buffer {"connection_id":175122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c64b978012cf09180071376780027004628..."} 
[2026-09-07 20:34:20] local.INFO: Packet analysis {"connection_id":175122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:34:20] local.INFO: Extracted packet for processing {"connection_id":175122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":753963392,"raw_latitude":118716024,"longitude_deg":75.3963392,"latitude_deg":11.8716024,"altitude":39,"angle":70,"satellites":40,"speed":11,"hex_longitude":"2cf09180","hex_latitude":"07137678","is_valid_coordinates":true} 
[2026-09-07 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931100160001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402170743208542208,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1113866821197176832,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788793371000,"timestamp_ms":1788793371000,"timestamp_seconds":1788793371,"priority":1,"record_length":96,"hex_timestamp":"000001a07c64b978"} 
[2026-09-07 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:34: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-07 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931100160001,"66":27332,"219":206,"83":41472,"24":11,"16":402170743208542208,"44":-1113866821197176832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931100160001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402170743208542208,"km_value":402170743208542.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1113866821197176832,"description":"Unknown IO ID 44"} 
[2026-09-07 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931100160001,"power":27332,"unknown_219":206,"unknown_83":41472,"ignition":11,"odometer":null,"unknown_44":-1113866821197176832}} 
[2026-09-07 20:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":175122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:34:20] local.INFO: GPS data processed {"connection_id":175122,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:34:20] local.INFO: Acknowledgment sent {"connection_id":175122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:34:43] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:43] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:43] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:34:46] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:46] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:46] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:34:49] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:49] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:34:49] local.INFO: IMEI packet received {"connection_id":174016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:34:50] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c64d4d0012cf09e40071378e8002600512a..."} 
[2026-09-07 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c64d4d0012cf09e40071378e8002600512a..."} 
[2026-09-07 20:34:50] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c64d4d0012cf09e40071378e8002600512a..."} 
[2026-09-07 20:34:50] local.INFO: Packet analysis {"connection_id":174016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:34:50] local.INFO: Extracted packet for processing {"connection_id":174016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c64"} 
[2026-09-07 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":753966656,"raw_latitude":118716648,"longitude_deg":75.3966656,"latitude_deg":11.8716648,"altitude":38,"angle":81,"satellites":42,"speed":22,"hex_longitude":"2cf09e40","hex_latitude":"071378e8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931102976001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402170902122332160,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1111966865104144384,"note":"Value kept but may cause issues"} 
[2026-09-07 20:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788793378000,"timestamp_ms":1788793378000,"timestamp_seconds":1788793378,"priority":1,"record_length":96,"hex_timestamp":"000001a07c64d4d0"} 
[2026-09-07 20: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-07 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:34: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-07 20:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931102976001,"66":27245,"219":206,"83":41472,"24":22,"16":402170902122332160,"44":-1111966865104144384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 20:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931102976001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:34:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 20:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402170902122332160,"km_value":402170902122332.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1111966865104144384,"description":"Unknown IO ID 44"} 
[2026-09-07 20:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931102976001,"power":27245,"unknown_219":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-1111966865104144384}} 
[2026-09-07 20:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":174016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:34:50] local.INFO: GPS data processed {"connection_id":174016,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:34:50] local.INFO: Acknowledgment sent {"connection_id":174016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:35:21] local.INFO: TCP Data received {"connection_id":174016,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6503b0012cf0be4007137bb80025005e26..."} 
[2026-09-07 20:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6503b0012cf0be4007137bb80025005e26..."} 
[2026-09-07 20:35:21] local.INFO: Processing buffer {"connection_id":174016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6503b0012cf0be4007137bb80025005e26..."} 
[2026-09-07 20:35:21] local.INFO: Packet analysis {"connection_id":174016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c65"} 
[2026-09-07 20:35:21] local.INFO: Extracted packet for processing {"connection_id":174016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c65"} 
[2026-09-07 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":753974848,"raw_latitude":118717368,"longitude_deg":75.3974848,"latitude_deg":11.8717368,"altitude":37,"angle":94,"satellites":38,"speed":26,"hex_longitude":"2cf0be40","hex_latitude":"07137bb8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931104768001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402171288669388800,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1108378059150923776,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788793390000,"timestamp_ms":1788793390000,"timestamp_seconds":1788793390,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6503b0"} 
[2026-09-07 20: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-07 20:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 20:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35: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-07 20:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931104768001,"66":27300,"219":206,"83":41472,"24":26,"16":402171288669388800,"44":-1108378059150923776},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-09-07 20:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931104768001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:35:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-09-07 20:35:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402171288669388800,"km_value":402171288669388.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1108378059150923776,"description":"Unknown IO ID 44"} 
[2026-09-07 20:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931104768001,"power":27300,"unknown_219":206,"unknown_83":41472,"ignition":26,"odometer":null,"unknown_44":-1108378059150923776}} 
[2026-09-07 20:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:35:21] local.INFO: GPS data processed {"connection_id":174016,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:35:21] local.INFO: Acknowledgment sent {"connection_id":174016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:35:49] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:49] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:49] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:35:54] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:54] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:35:54] local.INFO: IMEI packet received {"connection_id":174018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":174018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:35:55] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c667e98012cf1e5000712d448000a007129..."} 
[2026-09-07 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c667e98012cf1e5000712d448000a007129..."} 
[2026-09-07 20:35:55] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c667e98012cf1e5000712d448000a007129..."} 
[2026-09-07 20:35:55] local.INFO: Packet analysis {"connection_id":174018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:35:55] local.INFO: Extracted packet for processing {"connection_id":174018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":754050304,"raw_latitude":118674504,"longitude_deg":75.4050304,"latitude_deg":11.8674504,"altitude":10,"angle":113,"satellites":41,"speed":20,"hex_longitude":"2cf1e500","hex_latitude":"0712d448","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931130368001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402175596521586688,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1022317085031704576,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788793487000,"timestamp_ms":1788793487000,"timestamp_seconds":1788793487,"priority":1,"record_length":96,"hex_timestamp":"000001a07c667e98"} 
[2026-09-07 20: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-07 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35:55] local.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-07 20:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931130368001,"66":27300,"197":206,"83":41472,"24":20,"16":402175596521586688,"44":-1022317085031704576},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-09-07 20:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931130368001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:35:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 20:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402175596521586688,"km_value":402175596521586.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:35:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1022317085031704576,"description":"Unknown IO ID 44"} 
[2026-09-07 20:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931130368001,"power":27300,"unknown_197":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-1022317085031704576}} 
[2026-09-07 20:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":174018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:35:55] local.INFO: GPS data processed {"connection_id":174018,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:35:55] local.INFO: Acknowledgment sent {"connection_id":174018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:35:56] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c66ad78012cf205400712c4b8000c00752b..."} 
[2026-09-07 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c66ad78012cf205400712c4b8000c00752b..."} 
[2026-09-07 20:35:56] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c66ad78012cf205400712c4b8000c00752b..."} 
[2026-09-07 20:35:56] local.INFO: Packet analysis {"connection_id":174018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:35:56] local.INFO: Extracted packet for processing {"connection_id":174018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":754058560,"raw_latitude":118670520,"longitude_deg":75.405856,"latitude_deg":11.867052,"altitude":12,"angle":117,"satellites":43,"speed":39,"hex_longitude":"2cf20540","hex_latitude":"0712c4b8","is_valid_coordinates":true} 
[2026-09-07 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931132672001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402176030313283584,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1016406110521505792,"note":"Value kept but may cause issues"} 
[2026-09-07 20:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788793499000,"timestamp_ms":1788793499000,"timestamp_seconds":1788793499,"priority":1,"record_length":96,"hex_timestamp":"000001a07c66ad78"} 
[2026-09-07 20:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 20:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:35:56] local.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-07 20:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931132672001,"66":27343,"195":206,"83":41472,"24":39,"16":402176030313283584,"44":-1016406110521505792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-09-07 20:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931132672001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:35:56] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-07 20:35:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402176030313283584,"km_value":402176030313283.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:35:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1016406110521505792,"description":"Unknown IO ID 44"} 
[2026-09-07 20:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931132672001,"power":27343,"unknown_195":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-1016406110521505792}} 
[2026-09-07 20:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":174018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:35:56] local.INFO: GPS data processed {"connection_id":174018,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:35:56] local.INFO: Acknowledgment sent {"connection_id":174018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:36:27] local.INFO: TCP Data received {"connection_id":174018,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c66c8d0012cf21c000712b728000a00862b..."} 
[2026-09-07 20:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c66c8d0012cf21c000712b728000a00862b..."} 
[2026-09-07 20:36:27] local.INFO: Processing buffer {"connection_id":174018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c66c8d0012cf21c000712b728000a00862b..."} 
[2026-09-07 20:36:27] local.INFO: Packet analysis {"connection_id":174018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:36:27] local.INFO: Extracted packet for processing {"connection_id":174018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:36:27] local.INFO: GPS Element Parsed {"raw_longitude":754064384,"raw_latitude":118667048,"longitude_deg":75.4064384,"latitude_deg":11.8667048,"altitude":10,"angle":134,"satellites":43,"speed":29,"hex_longitude":"2cf21c00","hex_latitude":"0712b728","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931135744001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402176361025765376,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1007328542523607040,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788793506000,"timestamp_ms":1788793506000,"timestamp_seconds":1788793506,"priority":1,"record_length":96,"hex_timestamp":"000001a07c66c8d0"} 
[2026-09-07 20: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-07 20:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36:27] local.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-07 20:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931135744001,"66":27343,"195":206,"83":41472,"24":29,"16":402176361025765376,"44":-1007328542523607040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-09-07 20:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931135744001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:36:27] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-09-07 20:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402176361025765376,"km_value":402176361025765.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:36:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1007328542523607040,"description":"Unknown IO ID 44"} 
[2026-09-07 20:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931135744001,"power":27343,"unknown_195":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-1007328542523607040}} 
[2026-09-07 20:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":174018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:36:27] local.INFO: GPS data processed {"connection_id":174018,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:36:27] local.INFO: Acknowledgment sent {"connection_id":174018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:36:44] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:44] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:44] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:36:49] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:49] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:36:49] local.INFO: IMEI packet received {"connection_id":174019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":174019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:36:50] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c66f7b0012cf2310007129e40000900912b..."} 
[2026-09-07 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c66f7b0012cf2310007129e40000900912b..."} 
[2026-09-07 20:36:50] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c66f7b0012cf2310007129e40000900912b..."} 
[2026-09-07 20:36:50] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:36:50] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c66"} 
[2026-09-07 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":754069760,"raw_latitude":118660672,"longitude_deg":75.406976,"latitude_deg":11.8660672,"altitude":9,"angle":145,"satellites":43,"speed":27,"hex_longitude":"2cf23100","hex_latitude":"07129e40","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931137536001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402176760457723904,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1000924986804328448,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788793518000,"timestamp_ms":1788793518000,"timestamp_seconds":1788793518,"priority":1,"record_length":96,"hex_timestamp":"000001a07c66f7b0"} 
[2026-09-07 20: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-07 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36: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-07 20:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931137536001,"66":27300,"23":206,"83":41472,"24":27,"16":402176760457723904,"44":-1000924986804328448},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 20:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931137536001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:36:50] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 20:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402176760457723904,"km_value":402176760457723.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1000924986804328448,"description":"Unknown IO ID 44"} 
[2026-09-07 20:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931137536001,"power":27300,"unknown_23":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-1000924986804328448}} 
[2026-09-07 20:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:36:50] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:36:50] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:36:54] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c672690012cf24680071281300009008f2a..."} 
[2026-09-07 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c672690012cf24680071281300009008f2a..."} 
[2026-09-07 20:36:54] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c672690012cf24680071281300009008f2a..."} 
[2026-09-07 20:36:54] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:36:54] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":754075264,"raw_latitude":118653232,"longitude_deg":75.4075264,"latitude_deg":11.8653232,"altitude":9,"angle":143,"satellites":42,"speed":29,"hex_longitude":"2cf24680","hex_latitude":"07128130","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931140608001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402177202839355392,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-995014012295036928,"note":"Value kept but may cause issues"} 
[2026-09-07 20:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788793530000,"timestamp_ms":1788793530000,"timestamp_seconds":1788793530,"priority":1,"record_length":96,"hex_timestamp":"000001a07c672690"} 
[2026-09-07 20: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-07 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 20:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:36:54] local.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-07 20:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931140608001,"66":27343,"23":206,"83":41472,"24":29,"16":402177202839355392,"44":-995014012295036928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 20:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931140608001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:36:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 20:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402177202839355392,"km_value":402177202839355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-995014012295036928,"description":"Unknown IO ID 44"} 
[2026-09-07 20:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931140608001,"power":27343,"unknown_23":206,"unknown_83":41472,"ignition":29,"odometer":null,"unknown_44":-995014012295036928}} 
[2026-09-07 20:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:36:54] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:36:54] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:37:26] local.INFO: TCP Data received {"connection_id":174019,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6749b8012cf253c007126f58000900822b..."} 
[2026-09-07 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6749b8012cf253c007126f58000900822b..."} 
[2026-09-07 20:37:26] local.INFO: Processing buffer {"connection_id":174019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6749b8012cf253c007126f58000900822b..."} 
[2026-09-07 20:37:26] local.INFO: Packet analysis {"connection_id":174019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:37:26] local.INFO: Extracted packet for processing {"connection_id":174019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:37:26] local.INFO: GPS Element Parsed {"raw_longitude":754078656,"raw_latitude":118648664,"longitude_deg":75.4078656,"latitude_deg":11.8648664,"altitude":9,"angle":130,"satellites":43,"speed":16,"hex_longitude":"2cf253c0","hex_latitude":"07126f58","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931143680001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402177482012229632,"note":"Value kept but may cause issues"} 
[2026-09-07 20:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-988962300297662464,"note":"Value kept but may cause issues"} 
[2026-09-07 20:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788793539000,"timestamp_ms":1788793539000,"timestamp_seconds":1788793539,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6749b8"} 
[2026-09-07 20: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-07 20:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:37: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-07 20:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931143680001,"66":27365,"23":206,"83":41472,"24":16,"16":402177482012229632,"44":-988962300297662464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 20:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931143680001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:37:26] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 20:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402177482012229632,"km_value":402177482012229.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-988962300297662464,"description":"Unknown IO ID 44"} 
[2026-09-07 20:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931143680001,"power":27365,"unknown_23":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-988962300297662464}} 
[2026-09-07 20:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":174019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:37:26] local.INFO: GPS data processed {"connection_id":174019,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:37:26] local.INFO: Acknowledgment sent {"connection_id":174019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:37:43] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:43] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:43] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:37:48] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:48] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:48] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:37:49] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:49] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:37:49] local.INFO: IMEI packet received {"connection_id":175123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":175123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:38:01] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c674da0012cf2550007126e60000900742b..."} 
[2026-09-07 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c674da0012cf2550007126e60000900742b..."} 
[2026-09-07 20:38:01] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c674da0012cf2550007126e60000900742b..."} 
[2026-09-07 20:38:01] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:38:01] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:38:01] local.INFO: GPS Element Parsed {"raw_longitude":754078976,"raw_latitude":118648416,"longitude_deg":75.4078976,"latitude_deg":11.8648416,"altitude":9,"angle":116,"satellites":43,"speed":16,"hex_longitude":"2cf25500","hex_latitude":"07126e60","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931145984001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402177499192098816,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985232756857415680,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788793540000,"timestamp_ms":1788793540000,"timestamp_seconds":1788793540,"priority":1,"record_length":96,"hex_timestamp":"000001a07c674da0"} 
[2026-09-07 20: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-07 20:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931145984001,"66":27365,"23":206,"83":41472,"24":16,"16":402177499192098816,"44":-985232756857415680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 20:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931145984001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:38:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 20:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402177499192098816,"km_value":402177499192098.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:38:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985232756857415680,"description":"Unknown IO ID 44"} 
[2026-09-07 20:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931145984001,"power":27365,"unknown_23":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-985232756857415680}} 
[2026-09-07 20:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:38:01] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:38:01] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:38:02] local.INFO: TCP Data received {"connection_id":175123,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c675188012cf256c007126dc0000900692b..."} 
[2026-09-07 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c675188012cf256c007126dc0000900692b..."} 
[2026-09-07 20:38:02] local.INFO: Processing buffer {"connection_id":175123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c675188012cf256c007126dc0000900692b..."} 
[2026-09-07 20:38:02] local.INFO: Packet analysis {"connection_id":175123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:38:02] local.INFO: Extracted packet for processing {"connection_id":175123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c67"} 
[2026-09-07 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":754079424,"raw_latitude":118648256,"longitude_deg":75.4079424,"latitude_deg":11.8648256,"altitude":9,"angle":105,"satellites":43,"speed":18,"hex_longitude":"2cf256c0","hex_latitude":"07126dc0","is_valid_coordinates":true} 
[2026-09-07 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931146240001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402177520666935296,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-984880913136590848,"note":"Value kept but may cause issues"} 
[2026-09-07 20:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788793541000,"timestamp_ms":1788793541000,"timestamp_seconds":1788793541,"priority":1,"record_length":96,"hex_timestamp":"000001a07c675188"} 
[2026-09-07 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":175123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":175123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:38:02] local.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-07 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931146240001,"66":27343,"23":206,"83":41472,"24":18,"16":402177520666935296,"44":-984880913136590848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-09-07 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931146240001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-09-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-09-07 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402177520666935296,"km_value":402177520666935.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-984880913136590848,"description":"Unknown IO ID 44"} 
[2026-09-07 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931146240001,"power":27343,"unknown_23":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-984880913136590848}} 
[2026-09-07 20:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":175123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:38:02] local.INFO: GPS data processed {"connection_id":175123,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:38:02] local.INFO: Acknowledgment sent {"connection_id":175123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:38:44] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:38:44] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:44] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:38:45] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:45] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:45] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:38:47] local.INFO: TCP Data received {"connection_id":174021,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:47] local.INFO: Processing buffer {"connection_id":174021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:38:47] local.INFO: IMEI packet received {"connection_id":174021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":174021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:39:26] local.INFO: TCP Data received {"connection_id":176540,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:26] local.INFO: Processing buffer {"connection_id":176540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:26] local.INFO: IMEI packet received {"connection_id":176540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":176540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:39:51] local.INFO: TCP Data received {"connection_id":175124,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:51] local.INFO: Processing buffer {"connection_id":175124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:39:51] local.INFO: IMEI packet received {"connection_id":175124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":175124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:43:49] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:43:49] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:43:49] local.INFO: IMEI packet received {"connection_id":176542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":176542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:43:50] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6d9ae8012cf57fc0070f7970000700c72b..."} 
[2026-09-07 20:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6d9ae8012cf57fc0070f7970000700c72b..."} 
[2026-09-07 20:43:50] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6d9ae8012cf57fc0070f7970000700c72b..."} 
[2026-09-07 20:43:50] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c6d"} 
[2026-09-07 20:43:50] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c6d"} 
[2026-09-07 20:43:50] local.INFO: GPS Element Parsed {"raw_longitude":754286528,"raw_latitude":118454640,"longitude_deg":75.4286528,"latitude_deg":11.845464,"altitude":7,"angle":199,"satellites":43,"speed":55,"hex_longitude":"2cf57fc0","hex_latitude":"070f7970","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931250688001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402191655404306432,"note":"Value kept but may cause issues"} 
[2026-09-07 20:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754704750979373056,"note":"Value kept but may cause issues"} 
[2026-09-07 20:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788793953000,"timestamp_ms":1788793953000,"timestamp_seconds":1788793953,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6d9ae8"} 
[2026-09-07 20: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-07 20:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 20:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:43: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-07 20:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931250688001,"66":27213,"255":206,"83":41728,"24":55,"16":402191655404306432,"44":-754704750979373056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-09-07 20:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931250688001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:43:50] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 20:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402191655404306432,"km_value":402191655404306.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754704750979373056,"description":"Unknown IO ID 44"} 
[2026-09-07 20:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931250688001,"power":27213,"unknown_255":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-754704750979373056}} 
[2026-09-07 20:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:43:50] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:43:50] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:44:22] local.INFO: TCP Data received {"connection_id":176542,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6db640012cf57440070f5558000400c02a..."} 
[2026-09-07 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6db640012cf57440070f5558000400c02a..."} 
[2026-09-07 20:44:22] local.INFO: Processing buffer {"connection_id":176542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6db640012cf57440070f5558000400c02a..."} 
[2026-09-07 20:44:22] local.INFO: Packet analysis {"connection_id":176542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c6d"} 
[2026-09-07 20:44:22] local.INFO: Extracted packet for processing {"connection_id":176542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c6d"} 
[2026-09-07 20:44:22] local.INFO: GPS Element Parsed {"raw_longitude":754283584,"raw_latitude":118445400,"longitude_deg":75.4283584,"latitude_deg":11.84454,"altitude":4,"angle":192,"satellites":42,"speed":56,"hex_longitude":"2cf57440","hex_latitude":"070f5558","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931251968001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402192127850708992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-756675075818033152,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788793960000,"timestamp_ms":1788793960000,"timestamp_seconds":1788793960,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6db640"} 
[2026-09-07 20: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-07 20:44: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-07 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 20:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44: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-07 20:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931251968001,"66":27376,"255":206,"83":41728,"24":56,"16":402192127850708992,"44":-756675075818033152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-09-07 20:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931251968001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:44:22] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-09-07 20:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402192127850708992,"km_value":402192127850709.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-756675075818033152,"description":"Unknown IO ID 44"} 
[2026-09-07 20:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931251968001,"power":27376,"unknown_255":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-756675075818033152}} 
[2026-09-07 20:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":176542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:44:22] local.INFO: GPS data processed {"connection_id":176542,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:44:22] local.INFO: Acknowledgment sent {"connection_id":176542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:44:43] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:43] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:43] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:44:47] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:47] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:47] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:44:56] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:56] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:44:56] local.INFO: IMEI packet received {"connection_id":173789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":173789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:44:58] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6edb38012cf5cd80070dfbf8000200a02c..."} 
[2026-09-07 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6edb38012cf5cd80070dfbf8000200a02c..."} 
[2026-09-07 20:44:58] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6edb38012cf5cd80070dfbf8000200a02c..."} 
[2026-09-07 20:44:58] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c6e"} 
[2026-09-07 20:44:58] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c6e"} 
[2026-09-07 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":754306432,"raw_latitude":118356984,"longitude_deg":75.4306432,"latitude_deg":11.8356984,"altitude":2,"angle":160,"satellites":44,"speed":52,"hex_longitude":"2cf5cd80","hex_latitude":"070dfbf8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931271168001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402196611796566016,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-738308833610465280,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788794035000,"timestamp_ms":1788794035000,"timestamp_seconds":1788794035,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6edb38"} 
[2026-09-07 20: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-07 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 20:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44:58] local.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-07 20:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931271168001,"66":27343,"39":206,"83":41728,"24":52,"16":402196611796566016,"44":-738308833610465280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-07 20:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931271168001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:44:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 20:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402196611796566016,"km_value":402196611796566.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-738308833610465280,"description":"Unknown IO ID 44"} 
[2026-09-07 20:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931271168001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-738308833610465280}} 
[2026-09-07 20:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:44:58] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:44:58] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:44:58] local.INFO: TCP Data received {"connection_id":173789,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6ef690012cf5d9c0070ddad8000300a02b..."} 
[2026-09-07 20:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6ef690012cf5d9c0070ddad8000300a02b..."} 
[2026-09-07 20:44:58] local.INFO: Processing buffer {"connection_id":173789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6ef690012cf5d9c0070ddad8000300a02b..."} 
[2026-09-07 20:44:58] local.INFO: Packet analysis {"connection_id":173789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c6e"} 
[2026-09-07 20:44:58] local.INFO: Extracted packet for processing {"connection_id":173789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c6e"} 
[2026-09-07 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":754309568,"raw_latitude":118348504,"longitude_deg":75.4309568,"latitude_deg":11.8348504,"altitude":3,"angle":160,"satellites":43,"speed":50,"hex_longitude":"2cf5d9c0","hex_latitude":"070ddad8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931272960001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402197045588262912,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-734790396403779584,"note":"Value kept but may cause issues"} 
[2026-09-07 20:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788794042000,"timestamp_ms":1788794042000,"timestamp_seconds":1788794042,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6ef690"} 
[2026-09-07 20: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-07 20:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:44:59] local.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-07 20:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931272960001,"66":27343,"39":206,"83":41728,"24":50,"16":402197045588262912,"44":-734790396403779584},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-07 20:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931272960001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:44:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 20:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402197045588262912,"km_value":402197045588262.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-734790396403779584,"description":"Unknown IO ID 44"} 
[2026-09-07 20:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931272960001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-734790396403779584}} 
[2026-09-07 20:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":173789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:44:59] local.INFO: GPS data processed {"connection_id":173789,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:44:59] local.INFO: Acknowledgment sent {"connection_id":173789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:45:11] local.INFO: TCP Data received {"connection_id":174024,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:45:11] local.INFO: Processing buffer {"connection_id":174024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:45:11] local.INFO: IMEI packet received {"connection_id":174024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":174024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:45:47] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:47] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:47] local.INFO: IMEI packet received {"connection_id":174026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":174026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:45:48] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:48] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:48] local.INFO: IMEI packet received {"connection_id":174026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":174026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:45:54] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:54] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:45:54] local.INFO: IMEI packet received {"connection_id":174026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":174026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:45:55] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c6f11e8012cf5e5c0070db9f80004009f2b..."} 
[2026-09-07 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c6f11e8012cf5e5c0070db9f80004009f2b..."} 
[2026-09-07 20:45:55] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c6f11e8012cf5e5c0070db9f80004009f2b..."} 
[2026-09-07 20:45:55] local.INFO: Packet analysis {"connection_id":174026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c6f"} 
[2026-09-07 20:45:55] local.INFO: Extracted packet for processing {"connection_id":174026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c6f"} 
[2026-09-07 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":754312640,"raw_latitude":118340088,"longitude_deg":75.431264,"latitude_deg":11.8340088,"altitude":4,"angle":159,"satellites":43,"speed":51,"hex_longitude":"2cf5e5c0","hex_latitude":"070db9f8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931274752001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402197479379959808,"note":"Value kept but may cause issues"} 
[2026-09-07 20:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-731342327941244928,"note":"Value kept but may cause issues"} 
[2026-09-07 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788794049000,"timestamp_ms":1788794049000,"timestamp_seconds":1788794049,"priority":1,"record_length":96,"hex_timestamp":"000001a07c6f11e8"} 
[2026-09-07 20: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-07 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:45:55] local.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-07 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931274752001,"66":27321,"39":206,"83":41728,"24":51,"16":402197479379959808,"44":-731342327941244928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-09-07 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931274752001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:45:55] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-09-07 20:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402197479379959808,"km_value":402197479379959.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-731342327941244928,"description":"Unknown IO ID 44"} 
[2026-09-07 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931274752001,"power":27321,"unknown_39":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-731342327941244928}} 
[2026-09-07 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":174026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:45:55] local.INFO: GPS data processed {"connection_id":174026,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:45:55] local.INFO: Acknowledgment sent {"connection_id":174026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:46:26] local.INFO: TCP Data received {"connection_id":174026,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c704e50012cf63800070c05300006009d2e..."} 
[2026-09-07 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c704e50012cf63800070c05300006009d2e..."} 
[2026-09-07 20:46:26] local.INFO: Processing buffer {"connection_id":174026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c704e50012cf63800070c05300006009d2e..."} 
[2026-09-07 20:46:26] local.INFO: Packet analysis {"connection_id":174026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:46:26] local.INFO: Extracted packet for processing {"connection_id":174026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:46:26] local.INFO: GPS Element Parsed {"raw_longitude":754333696,"raw_latitude":118228272,"longitude_deg":75.4333696,"latitude_deg":11.8228272,"altitude":6,"angle":157,"satellites":46,"speed":51,"hex_longitude":"2cf63800","hex_latitude":"070c0530","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931295488001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402203067132411904,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-708542854856253440,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788794130000,"timestamp_ms":1788794130000,"timestamp_seconds":1788794130,"priority":1,"record_length":96,"hex_timestamp":"000001a07c704e50"} 
[2026-09-07 20: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-07 20:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:46: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-07 20:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931295488001,"66":27234,"177":206,"83":41728,"24":51,"16":402203067132411904,"44":-708542854856253440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 20:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931295488001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:46:26] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 20:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402203067132411904,"km_value":402203067132411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-708542854856253440,"description":"Unknown IO ID 44"} 
[2026-09-07 20:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931295488001,"power":27234,"unknown_177":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-708542854856253440}} 
[2026-09-07 20:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":174026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:46:26] local.INFO: GPS data processed {"connection_id":174026,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:46:26] local.INFO: Acknowledgment sent {"connection_id":174026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:46:43] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:43] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:43] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:46:48] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:48] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:46:48] local.INFO: IMEI packet received {"connection_id":174027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":174027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:46:56] local.INFO: TCP Data received {"connection_id":174027,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c706d90012cf64740070be0e00006009c2c..."} 
[2026-09-07 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c706d90012cf64740070be0e00006009c2c..."} 
[2026-09-07 20:46:56] local.INFO: Processing buffer {"connection_id":174027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c706d90012cf64740070be0e00006009c2c..."} 
[2026-09-07 20:46:56] local.INFO: Packet analysis {"connection_id":174027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:46:56] local.INFO: Extracted packet for processing {"connection_id":174027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":754337600,"raw_latitude":118218976,"longitude_deg":75.43376,"latitude_deg":11.8218976,"altitude":6,"angle":156,"satellites":44,"speed":50,"hex_longitude":"2cf64740","hex_latitude":"070be0e0","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931297280001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402203552463716352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-704813311417044992,"note":"Value kept but may cause issues"} 
[2026-09-07 20:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788794138000,"timestamp_ms":1788794138000,"timestamp_seconds":1788794138,"priority":1,"record_length":96,"hex_timestamp":"000001a07c706d90"} 
[2026-09-07 20: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-07 20:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 20:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:46:56] local.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-07 20:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931297280001,"66":27365,"177":206,"83":41728,"24":50,"16":402203552463716352,"44":-704813311417044992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 20:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931297280001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:46:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 20:46:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402203552463716352,"km_value":402203552463716.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-704813311417044992,"description":"Unknown IO ID 44"} 
[2026-09-07 20:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931297280001,"power":27365,"unknown_177":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-704813311417044992}} 
[2026-09-07 20:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":174027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:46:56] local.INFO: GPS data processed {"connection_id":174027,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:46:56] local.INFO: Acknowledgment sent {"connection_id":174027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:47:43] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: IMEI packet received {"connection_id":175125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:47:43] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:43] local.INFO: IMEI packet received {"connection_id":175125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":175125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:47:49] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:49] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:47:49] local.INFO: IMEI packet received {"connection_id":175125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":175125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:47:50] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7088e8012cf65600070bc0200004009c2d..."} 
[2026-09-07 20:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7088e8012cf65600070bc0200004009c2d..."} 
[2026-09-07 20:47:50] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7088e8012cf65600070bc0200004009c2d..."} 
[2026-09-07 20:47:50] local.INFO: Packet analysis {"connection_id":175125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:47:50] local.INFO: Extracted packet for processing {"connection_id":175125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:47:50] local.INFO: GPS Element Parsed {"raw_longitude":754341376,"raw_latitude":118210592,"longitude_deg":75.4341376,"latitude_deg":11.8210592,"altitude":4,"angle":156,"satellites":45,"speed":53,"hex_longitude":"2cf65600","hex_latitude":"070bc020","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931299328001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402203994845347840,"note":"Value kept but may cause issues"} 
[2026-09-07 20:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-700520818024587264,"note":"Value kept but may cause issues"} 
[2026-09-07 20:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788794145000,"timestamp_ms":1788794145000,"timestamp_seconds":1788794145,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7088e8"} 
[2026-09-07 20: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-07 20:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:47: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-07 20:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931299328001,"66":27397,"177":206,"83":41728,"24":53,"16":402203994845347840,"44":-700520818024587264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 20:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931299328001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:47:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 20:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402203994845347840,"km_value":402203994845347.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-700520818024587264,"description":"Unknown IO ID 44"} 
[2026-09-07 20:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931299328001,"power":27397,"unknown_177":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-700520818024587264}} 
[2026-09-07 20:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":175125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:47:50] local.INFO: GPS data processed {"connection_id":175125,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:47:50] local.INFO: Acknowledgment sent {"connection_id":175125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:48:21] local.INFO: TCP Data received {"connection_id":175125,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c70ac10012cf66380070ba0180002009d2e..."} 
[2026-09-07 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c70ac10012cf66380070ba0180002009d2e..."} 
[2026-09-07 20:48:21] local.INFO: Processing buffer {"connection_id":175125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c70ac10012cf66380070ba0180002009d2e..."} 
[2026-09-07 20:48:21] local.INFO: Packet analysis {"connection_id":175125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:48:21] local.INFO: Extracted packet for processing {"connection_id":175125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":754344832,"raw_latitude":118202392,"longitude_deg":75.4344832,"latitude_deg":11.8202392,"altitude":2,"angle":157,"satellites":46,"speed":26,"hex_longitude":"2cf66380","hex_latitude":"070ba018","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931301120001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402204428637044736,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-696369062120251392,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794154000,"timestamp_ms":1788794154000,"timestamp_seconds":1788794154,"priority":1,"record_length":96,"hex_timestamp":"000001a07c70ac10"} 
[2026-09-07 20: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-07 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 20:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:48: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-07 20:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931301120001,"66":27365,"177":206,"83":41728,"24":26,"16":402204428637044736,"44":-696369062120251392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 20:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931301120001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:48:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 20:48:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402204428637044736,"km_value":402204428637044.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-696369062120251392,"description":"Unknown IO ID 44"} 
[2026-09-07 20:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931301120001,"power":27365,"unknown_177":206,"unknown_83":41728,"ignition":26,"odometer":null,"unknown_44":-696369062120251392}} 
[2026-09-07 20:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":175125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:48:21] local.INFO: GPS data processed {"connection_id":175125,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:48:21] local.INFO: Acknowledgment sent {"connection_id":175125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:48:43] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:43] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:43] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:48:49] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:49] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:48:49] local.INFO: IMEI packet received {"connection_id":176544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":176544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:48:50] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c70e6a8012cf671c0070b7ef80002009d2d..."} 
[2026-09-07 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c70e6a8012cf671c0070b7ef80002009d2d..."} 
[2026-09-07 20:48:50] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c70e6a8012cf671c0070b7ef80002009d2d..."} 
[2026-09-07 20:48:50] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:48:50] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c70"} 
[2026-09-07 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":754348480,"raw_latitude":118193912,"longitude_deg":75.434848,"latitude_deg":11.8193912,"altitude":2,"angle":157,"satellites":45,"speed":19,"hex_longitude":"2cf671c0","hex_latitude":"070b7ef8","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931303424001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402204875313643520,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-692569149936756736,"note":"Value kept but may cause issues"} 
[2026-09-07 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788794169000,"timestamp_ms":1788794169000,"timestamp_seconds":1788794169,"priority":1,"record_length":96,"hex_timestamp":"000001a07c70e6a8"} 
[2026-09-07 20: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-07 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:48: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-07 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931303424001,"66":27343,"177":206,"83":41728,"24":19,"16":402204875313643520,"44":-692569149936756736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-09-07 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931303424001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:48:50] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-09-07 20:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402204875313643520,"km_value":402204875313643.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-692569149936756736,"description":"Unknown IO ID 44"} 
[2026-09-07 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931303424001,"power":27343,"unknown_177":206,"unknown_83":41728,"ignition":19,"odometer":null,"unknown_44":-692569149936756736}} 
[2026-09-07 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:48:50] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:48:50] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:49:21] local.INFO: TCP Data received {"connection_id":176544,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a07c711970012cf67f00070b5e200002009e2d..."} 
[2026-09-07 20:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c711970012cf67f00070b5e200002009e2d..."} 
[2026-09-07 20:49:21] local.INFO: Processing buffer {"connection_id":176544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c711970012cf67f00070b5e200002009e2d..."} 
[2026-09-07 20:49:21] local.INFO: Packet analysis {"connection_id":176544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:49:21] local.INFO: Extracted packet for processing {"connection_id":176544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:49:21] local.INFO: GPS Element Parsed {"raw_longitude":754351872,"raw_latitude":118185504,"longitude_deg":75.4351872,"latitude_deg":11.8185504,"altitude":2,"angle":158,"satellites":45,"speed":30,"hex_longitude":"2cf67f00","hex_latitude":"070b5e20","is_valid_coordinates":true} 
[2026-09-07 20:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931307264001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-688558131520800768,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402205313400307712,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 20:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794182000,"timestamp_ms":1788794182000,"timestamp_seconds":1788794182,"priority":1,"record_length":96,"hex_timestamp":"000001a07c711970"} 
[2026-09-07 20:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 20:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:49: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-07 20:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931307264001,"66":27376,"44":-688558131520800768,"83":41728,"24":30,"16":402205313400307712},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-09-07 20:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931307264001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-688558131520800768,"description":"Unknown IO ID 44"} 
[2026-09-07 20:49:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402205313400307712,"km_value":402205313400307.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:49:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457931307264001,"power":27376,"unknown_44":-688558131520800768,"unknown_83":41728,"ignition":30,"odometer":null}} 
[2026-09-07 20:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":176544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:49:21] local.INFO: GPS data processed {"connection_id":176544,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:49:21] local.INFO: Acknowledgment sent {"connection_id":176544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:49:43] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:43] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:43] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:49:49] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:49] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:49:49] local.INFO: IMEI packet received {"connection_id":176547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":176547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:49:49] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07c714850012cf68e80070b3dd8000200962e..."} 
[2026-09-07 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c714850012cf68e80070b3dd8000200962e..."} 
[2026-09-07 20:49:49] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c714850012cf68e80070b3dd8000200962e..."} 
[2026-09-07 20:49:49] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:49:49] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":754355840,"raw_latitude":118177240,"longitude_deg":75.435584,"latitude_deg":11.817724,"altitude":2,"angle":150,"satellites":46,"speed":31,"hex_longitude":"2cf68e80","hex_latitude":"070b3dd8","is_valid_coordinates":true} 
[2026-09-07 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931310592001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402205755781939200,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-684828588081537024,"note":"Value kept but may cause issues"} 
[2026-09-07 20:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794194000,"timestamp_ms":1788794194000,"timestamp_seconds":1788794194,"priority":1,"record_length":96,"hex_timestamp":"000001a07c714850"} 
[2026-09-07 20:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:49:49] 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-07 20:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931310592001,"66":27332,"13":206,"83":41728,"24":31,"16":402205755781939200,"44":-684828588081537024},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-07 20:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931310592001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:49:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 20:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402205755781939200,"km_value":402205755781939.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:49:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-684828588081537024,"description":"Unknown IO ID 44"} 
[2026-09-07 20:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931310592001,"power":27332,"unknown_13":206,"unknown_83":41728,"ignition":31,"odometer":null,"unknown_44":-684828588081537024}} 
[2026-09-07 20:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:49:49] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:49:49] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:50:21] local.INFO: TCP Data received {"connection_id":176547,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a07c718ab8012cf6a380070b20480003008d2c..."} 
[2026-09-07 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c718ab8012cf6a380070b20480003008d2c..."} 
[2026-09-07 20:50:21] local.INFO: Processing buffer {"connection_id":176547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c718ab8012cf6a380070b20480003008d2c..."} 
[2026-09-07 20:50:21] local.INFO: Packet analysis {"connection_id":176547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:21] local.INFO: Extracted packet for processing {"connection_id":176547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":754361216,"raw_latitude":118169672,"longitude_deg":75.4361216,"latitude_deg":11.8169672,"altitude":3,"angle":141,"satellites":44,"speed":26,"hex_longitude":"2cf6a380","hex_latitude":"070b2048","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931313664001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402206202458537984,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-680465725944637440,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794211000,"timestamp_ms":1788794211000,"timestamp_seconds":1788794211,"priority":1,"record_length":96,"hex_timestamp":"000001a07c718ab8"} 
[2026-09-07 20: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-07 20:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 20:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:21] 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-07 20:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931313664001,"66":27376,"13":206,"83":41728,"24":26,"16":402206202458537984,"44":-680465725944637440},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-07 20:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931313664001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:50:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 20:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402206202458537984,"km_value":402206202458538.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-680465725944637440,"description":"Unknown IO ID 44"} 
[2026-09-07 20:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931313664001,"power":27376,"unknown_13":206,"unknown_83":41728,"ignition":26,"odometer":null,"unknown_44":-680465725944637440}} 
[2026-09-07 20:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":176547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:50:21] local.INFO: GPS data processed {"connection_id":176547,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:50:21] local.INFO: Acknowledgment sent {"connection_id":176547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:50:47] local.INFO: TCP Data received {"connection_id":174029,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:50:47] local.INFO: Processing buffer {"connection_id":174029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:50:47] local.INFO: IMEI packet received {"connection_id":174029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":174029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:50:49] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:49] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:49] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:50:54] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:54] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:50:54] local.INFO: IMEI packet received {"connection_id":175127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":175127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:50:54] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c71c168012cf6bb40070b03f80003008d2c..."} 
[2026-09-07 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c71c168012cf6bb40070b03f80003008d2c..."} 
[2026-09-07 20:50:54] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c71c168012cf6bb40070b03f80003008d2c..."} 
[2026-09-07 20:50:54] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:54] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":754367296,"raw_latitude":118162424,"longitude_deg":75.4367296,"latitude_deg":11.8162424,"altitude":3,"angle":141,"satellites":44,"speed":25,"hex_longitude":"2cf6bb40","hex_latitude":"070b03f8","is_valid_coordinates":true} 
[2026-09-07 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-07 20:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931318016001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402206657725071360,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-674554751435651072,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788794225000,"timestamp_ms":1788794225000,"timestamp_seconds":1788794225,"priority":1,"record_length":96,"hex_timestamp":"000001a07c71c168"} 
[2026-09-07 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-07 20:50: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-07 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 20:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 20:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:55] local.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-07 20:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931318016001,"66":27365,"13":206,"83":41728,"24":25,"16":402206657725071360,"44":-674554751435651072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-09-07 20:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931318016001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:50:55] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-09-07 20:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402206657725071360,"km_value":402206657725071.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-674554751435651072,"description":"Unknown IO ID 44"} 
[2026-09-07 20:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931318016001,"power":27365,"unknown_13":206,"unknown_83":41728,"ignition":25,"odometer":null,"unknown_44":-674554751435651072}} 
[2026-09-07 20:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:50:55] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:50:55] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:50:59] local.INFO: TCP Data received {"connection_id":175127,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c71f818012cf6d240070ae7600004008f2b..."} 
[2026-09-07 20:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c71f818012cf6d240070ae7600004008f2b..."} 
[2026-09-07 20:50:59] local.INFO: Processing buffer {"connection_id":175127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c71f818012cf6d240070ae7600004008f2b..."} 
[2026-09-07 20:50:59] local.INFO: Packet analysis {"connection_id":175127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:59] local.INFO: Extracted packet for processing {"connection_id":175127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c71"} 
[2026-09-07 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":754373184,"raw_latitude":118155104,"longitude_deg":75.4373184,"latitude_deg":11.8155104,"altitude":4,"angle":143,"satellites":43,"speed":28,"hex_longitude":"2cf6d240","hex_latitude":"070ae760","is_valid_coordinates":true} 
[2026-09-07 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931321600001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402207108696637440,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-667869720740628480,"note":"Value kept but may cause issues"} 
[2026-09-07 20:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788794239000,"timestamp_ms":1788794239000,"timestamp_seconds":1788794239,"priority":1,"record_length":96,"hex_timestamp":"000001a07c71f818"} 
[2026-09-07 20:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 20:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931321600001,"66":27517,"12":206,"83":41728,"24":28,"16":402207108696637440,"44":-667869720740628480},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931321600001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:50:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402207108696637440,"km_value":402207108696637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-667869720740628480,"description":"Unknown IO ID 44"} 
[2026-09-07 20:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931321600001,"power":27517,"unknown_12":206,"unknown_83":41728,"ignition":28,"odometer":null,"unknown_44":-667869720740628480}} 
[2026-09-07 20:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":175127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:50:59] local.INFO: GPS data processed {"connection_id":175127,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:50:59] local.INFO: Acknowledgment sent {"connection_id":175127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:51:43] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:43] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:43] local.INFO: IMEI packet received {"connection_id":174030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":174030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:51:49] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:49] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:51:49] local.INFO: IMEI packet received {"connection_id":174030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":174030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:51:49] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c722ae0012cf6e6c0070acb10000500912e..."} 
[2026-09-07 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c722ae0012cf6e6c0070acb10000500912e..."} 
[2026-09-07 20:51:49] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c722ae0012cf6e6c0070acb10000500912e..."} 
[2026-09-07 20:51:49] local.INFO: Packet analysis {"connection_id":174030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:51:49] local.INFO: Extracted packet for processing {"connection_id":174030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":754378432,"raw_latitude":118147856,"longitude_deg":75.4378432,"latitude_deg":11.8147856,"altitude":5,"angle":145,"satellites":46,"speed":27,"hex_longitude":"2cf6e6c0","hex_latitude":"070acb10","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931325184001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402207542488334336,"note":"Value kept but may cause issues"} 
[2026-09-07 20:51:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-661395796278157312,"note":"Value kept but may cause issues"} 
[2026-09-07 20:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794252000,"timestamp_ms":1788794252000,"timestamp_seconds":1788794252,"priority":1,"record_length":96,"hex_timestamp":"000001a07c722ae0"} 
[2026-09-07 20: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-07 20:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 20:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931325184001,"66":27484,"12":206,"83":41728,"24":27,"16":402207542488334336,"44":-661395796278157312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931325184001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:51:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402207542488334336,"km_value":402207542488334.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:51:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-661395796278157312,"description":"Unknown IO ID 44"} 
[2026-09-07 20:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931325184001,"power":27484,"unknown_12":206,"unknown_83":41728,"ignition":27,"odometer":null,"unknown_44":-661395796278157312}} 
[2026-09-07 20:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":174030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:51:49] local.INFO: GPS data processed {"connection_id":174030,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:51:49] local.INFO: Acknowledgment sent {"connection_id":174030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:52:20] local.INFO: TCP Data received {"connection_id":174030,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c726578012cf6fac0070aadb00006008f2e..."} 
[2026-09-07 20:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c726578012cf6fac0070aadb00006008f2e..."} 
[2026-09-07 20:52:20] local.INFO: Processing buffer {"connection_id":174030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c726578012cf6fac0070aadb00006008f2e..."} 
[2026-09-07 20:52:20] local.INFO: Packet analysis {"connection_id":174030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:52:20] local.INFO: Extracted packet for processing {"connection_id":174030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:52:20] local.INFO: GPS Element Parsed {"raw_longitude":754383552,"raw_latitude":118140336,"longitude_deg":75.4383552,"latitude_deg":11.8140336,"altitude":6,"angle":143,"satellites":46,"speed":19,"hex_longitude":"2cf6fac0","hex_latitude":"070aadb0","is_valid_coordinates":true} 
[2026-09-07 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931328512001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402207980574998528,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-655625559257444352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794267000,"timestamp_ms":1788794267000,"timestamp_seconds":1788794267,"priority":1,"record_length":96,"hex_timestamp":"000001a07c726578"} 
[2026-09-07 20:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20: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-07 20:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 20:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931328512001,"66":27463,"12":206,"83":41728,"24":19,"16":402207980574998528,"44":-655625559257444352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931328512001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:52:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402207980574998528,"km_value":402207980574998.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-655625559257444352,"description":"Unknown IO ID 44"} 
[2026-09-07 20:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931328512001,"power":27463,"unknown_12":206,"unknown_83":41728,"ignition":19,"odometer":null,"unknown_44":-655625559257444352}} 
[2026-09-07 20:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":174030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:52:20] local.INFO: GPS data processed {"connection_id":174030,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:52:20] local.INFO: Acknowledgment sent {"connection_id":174030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:52:44] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:44] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:44] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:52:49] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:49] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:52:49] local.INFO: IMEI packet received {"connection_id":174031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:52:49] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c72a010012cf706c0070a9d600006007f2e..."} 
[2026-09-07 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c72a010012cf706c0070a9d600006007f2e..."} 
[2026-09-07 20:52:49] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c72a010012cf706c0070a9d600006007f2e..."} 
[2026-09-07 20:52:49] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:52:49] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":754386624,"raw_latitude":118136160,"longitude_deg":75.4386624,"latitude_deg":11.813616,"altitude":6,"angle":127,"satellites":46,"speed":8,"hex_longitude":"2cf706c0","hex_latitude":"070a9d60","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931332352001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208229683101696,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-649996059725156352,"note":"Value kept but may cause issues"} 
[2026-09-07 20:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794282000,"timestamp_ms":1788794282000,"timestamp_seconds":1788794282,"priority":1,"record_length":96,"hex_timestamp":"000001a07c72a010"} 
[2026-09-07 20: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-07 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 20:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931332352001,"66":27789,"12":206,"83":41728,"24":8,"16":402208229683101696,"44":-649996059725156352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931332352001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:52:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208229683101696,"km_value":402208229683101.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:52:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-649996059725156352,"description":"Unknown IO ID 44"} 
[2026-09-07 20:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931332352001,"power":27789,"unknown_12":206,"unknown_83":41728,"ignition":8,"odometer":null,"unknown_44":-649996059725156352}} 
[2026-09-07 20:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:52:49] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:52:49] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:53:20] local.INFO: TCP Data received {"connection_id":174031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c72a3f8012cf70740070a9ce0000600832e..."} 
[2026-09-07 20:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c72a3f8012cf70740070a9ce0000600832e..."} 
[2026-09-07 20:53:20] local.INFO: Processing buffer {"connection_id":174031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c72a3f8012cf70740070a9ce0000600832e..."} 
[2026-09-07 20:53:20] local.INFO: Packet analysis {"connection_id":174031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:53:20] local.INFO: Extracted packet for processing {"connection_id":174031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:53:20] local.INFO: GPS Element Parsed {"raw_longitude":754386752,"raw_latitude":118136032,"longitude_deg":75.4386752,"latitude_deg":11.8136032,"altitude":6,"angle":131,"satellites":46,"speed":7,"hex_longitude":"2cf70740","hex_latitude":"070a9ce0","is_valid_coordinates":true} 
[2026-09-07 20:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336192001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646618360005697536,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794283000,"timestamp_ms":1788794283000,"timestamp_seconds":1788794283,"priority":1,"record_length":96,"hex_timestamp":"000001a07c72a3f8"} 
[2026-09-07 20: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-07 20:53: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-07 20: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 20:53:20] 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-07 20: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-07 20: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-07 20:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336192001,"66":27767,"12":206,"83":41728,"24":7,"16":402208238273036288,"44":-646618360005697536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336192001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:53:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646618360005697536,"description":"Unknown IO ID 44"} 
[2026-09-07 20:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336192001,"power":27767,"unknown_12":206,"unknown_83":41728,"ignition":7,"odometer":null,"unknown_44":-646618360005697536}} 
[2026-09-07 20:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":174031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:53:20] local.INFO: GPS data processed {"connection_id":174031,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:53:20] local.INFO: Acknowledgment sent {"connection_id":174031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:53:44] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:53:44] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:44] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:53:49] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:49] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:53:49] local.INFO: IMEI packet received {"connection_id":175128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:53:50] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c72a7e0012cf707c0070a9c70000600902d..."} 
[2026-09-07 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c72a7e0012cf707c0070a9c70000600902d..."} 
[2026-09-07 20:53:50] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c72a7e0012cf707c0070a9c70000600902d..."} 
[2026-09-07 20:53:50] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:53:50] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c72"} 
[2026-09-07 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":754386880,"raw_latitude":118135920,"longitude_deg":75.438688,"latitude_deg":11.813592,"altitude":6,"angle":144,"satellites":45,"speed":5,"hex_longitude":"2cf707c0","hex_latitude":"070a9c70","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336448001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646477622517374976,"note":"Value kept but may cause issues"} 
[2026-09-07 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788794284000,"timestamp_ms":1788794284000,"timestamp_seconds":1788794284,"priority":1,"record_length":96,"hex_timestamp":"000001a07c72a7e0"} 
[2026-09-07 20: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-07 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336448001,"66":27767,"12":206,"83":41728,"24":5,"16":402208238273036288,"44":-646477622517374976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336448001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:53:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646477622517374976,"description":"Unknown IO ID 44"} 
[2026-09-07 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336448001,"power":27767,"unknown_12":206,"unknown_83":41728,"ignition":5,"odometer":null,"unknown_44":-646477622517374976}} 
[2026-09-07 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:53:50] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:53:50] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:54:21] local.INFO: TCP Data received {"connection_id":175128,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:21] local.INFO: Processing buffer {"connection_id":175128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:21] local.INFO: Packet analysis {"connection_id":175128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:54:21] local.INFO: Extracted packet for processing {"connection_id":175128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:54:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:54:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":175128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:54:21] local.INFO: GPS data processed {"connection_id":175128,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:54:21] local.INFO: Acknowledgment sent {"connection_id":175128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:54:43] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:43] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:43] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:54:49] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:49] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:54:49] local.INFO: IMEI packet received {"connection_id":174032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":174032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:54:49] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:49] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:54:49] local.INFO: Packet analysis {"connection_id":174032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:54:49] local.INFO: Extracted packet for processing {"connection_id":174032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:54:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":174032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:54:50] local.INFO: GPS data processed {"connection_id":174032,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:54:50] local.INFO: Acknowledgment sent {"connection_id":174032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:55:20] local.INFO: TCP Data received {"connection_id":174032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:20] local.INFO: Processing buffer {"connection_id":174032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:20] local.INFO: Packet analysis {"connection_id":174032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:20] local.INFO: Extracted packet for processing {"connection_id":174032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:55:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":174032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:55:20] local.INFO: GPS data processed {"connection_id":174032,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:55:20] local.INFO: Acknowledgment sent {"connection_id":174032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:55:49] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:49] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:49] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:55:54] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:54] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:55:54] local.INFO: IMEI packet received {"connection_id":173792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":173792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:55:54] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:54] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:54] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:54] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:54] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 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-07 20:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 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-07 20:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 20:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:54] 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-07 20:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:55:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:55:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:55:54] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:55:54] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:55:59] local.INFO: TCP Data received {"connection_id":173792,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:59] local.INFO: Processing buffer {"connection_id":173792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:55:59] local.INFO: Packet analysis {"connection_id":173792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:59] local.INFO: Extracted packet for processing {"connection_id":173792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20:55: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-07 20:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:55: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-07 20:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:55:59] 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-07 20:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:55:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":173792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:55:59] local.INFO: GPS data processed {"connection_id":173792,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:55:59] local.INFO: Acknowledgment sent {"connection_id":173792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:56:21] local.INFO: TCP Data received {"connection_id":173793,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:21] local.INFO: Processing buffer {"connection_id":173793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:21] local.INFO: IMEI packet received {"connection_id":173793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":173793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:56:44] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:44] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:44] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:56:46] local.INFO: TCP Data received {"connection_id":174034,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:46] local.INFO: Processing buffer {"connection_id":174034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 20:56:46] local.INFO: IMEI packet received {"connection_id":174034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 20:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":174034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:56:49] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:49] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:56:49] local.INFO: IMEI packet received {"connection_id":174033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":174033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:56:49] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:56:49] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:56:49] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:56:49] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:56:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:56: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-07 20:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:56:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:56:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:56:49] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:56:49] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:57:21] local.INFO: TCP Data received {"connection_id":174033,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:21] local.INFO: Processing buffer {"connection_id":174033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:21] local.INFO: Packet analysis {"connection_id":174033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:57:21] local.INFO: Extracted packet for processing {"connection_id":174033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:57:21] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:57: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-07 20:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:57:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:57:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":174033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:57:21] local.INFO: GPS data processed {"connection_id":174033,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:57:21] local.INFO: Acknowledgment sent {"connection_id":174033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:57:44] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:44] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:44] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:57:49] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:49] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:57:49] local.INFO: IMEI packet received {"connection_id":173794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":173794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:57:49] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:49] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:57:49] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:57:49] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:57: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-07 20:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:57:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:57:49] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:57:49] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:58:20] local.INFO: TCP Data received {"connection_id":173794,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:58:20] local.INFO: Processing buffer {"connection_id":173794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c774778012cf71100070a8f300008009b2f..."} 
[2026-09-07 20:58:20] local.INFO: Packet analysis {"connection_id":173794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:58:20] local.INFO: Extracted packet for processing {"connection_id":173794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c77"} 
[2026-09-07 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931336704001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-646336885029048320,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794587000,"timestamp_ms":1788794587000,"timestamp_seconds":1788794587,"priority":1,"record_length":96,"hex_timestamp":"000001a07c774778"} 
[2026-09-07 20: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-07 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-09-07 20:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 20: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-07 20: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-07 20:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931336704001,"66":25615,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-646336885029048320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931336704001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:58:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-646336885029048320,"description":"Unknown IO ID 44"} 
[2026-09-07 20:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931336704001,"power":25615,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-646336885029048320}} 
[2026-09-07 20:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":173794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:58:20] local.INFO: GPS data processed {"connection_id":173794,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:58:20] local.INFO: Acknowledgment sent {"connection_id":173794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:58:44] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:44] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:44] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:58:46] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:46] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:46] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:58:49] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:49] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:58:49] local.INFO: IMEI packet received {"connection_id":175129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":175129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:58:49] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:49] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:49] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:58:49] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 20: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-07 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 20:58:49] 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-07 20: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-07 20: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-07 20:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58: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-07 20:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:58:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 20:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 20:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:58:49] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:58:49] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:58:54] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:54] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:58:54] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:58:54] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 20:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 20:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 20:58:54] 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-07 20:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:58:54] 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-07 20:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:58:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 20:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 20:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:58:54] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:58:54] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:59:25] local.INFO: TCP Data received {"connection_id":175129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:25] local.INFO: Processing buffer {"connection_id":175129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:25] local.INFO: Packet analysis {"connection_id":175129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:59:25] local.INFO: Extracted packet for processing {"connection_id":175129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:59:25] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20: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-07 20:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 20: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-07 20:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 20:59: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-07 20: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-07 20: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-07 20:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:59:25] 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-07 20:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:59:25] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 20:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 20:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":175129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:59:25] local.INFO: GPS data processed {"connection_id":175129,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:59:25] local.INFO: Acknowledgment sent {"connection_id":175129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 20:59:43] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:43] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:43] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 20:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 20:59:49] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:49] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 20:59:49] local.INFO: IMEI packet received {"connection_id":174035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":174035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 20:59:49] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:49] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 20:59:49] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:59:49] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 20:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 20:59:49] 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-07 20:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 20:59:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 20:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 20:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 20:59:49] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-07 20:59:49] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:00:20] local.INFO: TCP Data received {"connection_id":174035,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:20] local.INFO: Processing buffer {"connection_id":174035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:20] local.INFO: Packet analysis {"connection_id":174035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:20] local.INFO: Extracted packet for processing {"connection_id":174035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21: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-07 21:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21: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-07 21: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-07 21: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-07 21:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:00:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":174035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:00:20] local.INFO: GPS data processed {"connection_id":174035,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:00:20] local.INFO: Acknowledgment sent {"connection_id":174035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:00:49] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:49] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:49] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:00:54] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:54] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:00:54] local.INFO: IMEI packet received {"connection_id":175131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":175131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:00:54] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:54] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:54] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:54] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 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-07 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 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-07 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:00:54] 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-07 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-07 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-07 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:54] 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-07 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:00:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:00:54] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:00:54] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:00:59] local.INFO: TCP Data received {"connection_id":175131,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:59] local.INFO: Processing buffer {"connection_id":175131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:00:59] local.INFO: Packet analysis {"connection_id":175131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:59] local.INFO: Extracted packet for processing {"connection_id":175131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:00:59] 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-07 21:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:00:59] 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-07 21:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:00:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:00:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:00:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":175131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:00:59] local.INFO: GPS data processed {"connection_id":175131,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:00:59] local.INFO: Acknowledgment sent {"connection_id":175131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:01:44] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:44] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:44] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:01:49] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:49] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:01:49] local.INFO: IMEI packet received {"connection_id":176552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":176552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:01:49] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:01:49] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:01:49] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:01:49] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21: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-07 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:01:49] 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-07 21: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-07 21: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-07 21:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:01: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-07 21:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:01:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:01:49] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:01:49] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:02:11] local.INFO: TCP Data received {"connection_id":175132,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:02:11] local.INFO: Processing buffer {"connection_id":175132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:02:11] local.INFO: IMEI packet received {"connection_id":175132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":175132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:02:21] local.INFO: TCP Data received {"connection_id":176552,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:21] local.INFO: Processing buffer {"connection_id":176552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:21] local.INFO: Packet analysis {"connection_id":176552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:02:21] local.INFO: Extracted packet for processing {"connection_id":176552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:02: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-07 21:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:02: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-07 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":176552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:02:21] local.INFO: GPS data processed {"connection_id":176552,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:02:21] local.INFO: Acknowledgment sent {"connection_id":176552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:02:33] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:33] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:33] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:02:34] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:34] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:34] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:02:38] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:38] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:02:38] local.INFO: IMEI packet received {"connection_id":173797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":173797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:02:39] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 21:02:39] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-07 21:02:39] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 21:02:39] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-07 21:02:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:02:39] 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-07 21:02:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 21:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 21:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 21:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 21:02:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 21:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 21:02:39] local.ERROR: GPS data processing failed {"connection_id":173797,"error":"No valid data to process"} 
[2026-09-07 21:02:39] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 21:02:44] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:44] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:44] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:02:49] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:49] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:02:49] local.INFO: IMEI packet received {"connection_id":174036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":174036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:02:49] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:49] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:02:49] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:02:49] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21: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-07 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:02:49] 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-07 21: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-07 21: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-07 21:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:02: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-07 21:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:02:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:02:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:02:49] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:02:49] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:03:09] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 21:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 21:03:09] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-07 21:03:09] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 21:03:09] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-07 21:03:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 21:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:03:09] 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-07 21:03:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-07 21:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 21:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-07 21:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-07 21:03:09] local.WARNING: DEBUG: No valid data to process  
[2026-09-07 21:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-07 21:03:09] local.ERROR: GPS data processing failed {"connection_id":173797,"error":"No valid data to process"} 
[2026-09-07 21:03:09] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-07 21:03:20] local.INFO: TCP Data received {"connection_id":174036,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:03:20] local.INFO: Processing buffer {"connection_id":174036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c7bdf40012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:03:20] local.INFO: Packet analysis {"connection_id":174036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:03:20] local.INFO: Extracted packet for processing {"connection_id":174036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c7b"} 
[2026-09-07 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931414272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788794888000,"timestamp_ms":1788794888000,"timestamp_seconds":1788794888,"priority":1,"record_length":96,"hex_timestamp":"000001a07c7bdf40"} 
[2026-09-07 21:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-09-07 21:03: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-07 21:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931414272001,"66":25060,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931414272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:03:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931414272001,"power":25060,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":174036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:03:20] local.INFO: GPS data processed {"connection_id":174036,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:03:20] local.INFO: Acknowledgment sent {"connection_id":174036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:03:40] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07c808a900100000000000000000000000000..."} 
[2026-09-07 21:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c808a900100000000000000000000000000..."} 
[2026-09-07 21:03:40] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c808a900100000000000000000000000000..."} 
[2026-09-07 21:03:40] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:40] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 21:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788795194000,"timestamp_ms":1788795194000,"timestamp_seconds":1788795194,"priority":1,"record_length":96,"hex_timestamp":"000001a07c808a90"} 
[2026-09-07 21:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:03:40] 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-07 21:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 21:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:03:40] local.INFO: GPS data processed {"connection_id":173797,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:03:40] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:03:44] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:44] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:44] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:03:47] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:47] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:47] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:03:49] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:49] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:03:49] local.INFO: IMEI packet received {"connection_id":175134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":175134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:03:50] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:50] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:50] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:50] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:50] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21: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-07 21:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03:50] 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-07 21:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:03:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:03:50] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:03:50] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:03:54] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:54] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:03:54] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:54] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 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-07 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 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-07 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:03: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-07 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:03:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:03:54] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:03:54] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:04:11] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07c80dc980100000000000000000000000000..."} 
[2026-09-07 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c80dc980100000000000000000000000000..."} 
[2026-09-07 21:04:11] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c80dc980100000000000000000000000000..."} 
[2026-09-07 21:04:11] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04:11] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04: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-07 21:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788795215000,"timestamp_ms":1788795215000,"timestamp_seconds":1788795215,"priority":1,"record_length":96,"hex_timestamp":"000001a07c80dc98"} 
[2026-09-07 21:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:04:11] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-07 21:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:04:11] local.INFO: GPS data processed {"connection_id":173797,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:04:11] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:04:25] local.INFO: TCP Data received {"connection_id":175134,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:25] local.INFO: Processing buffer {"connection_id":175134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:25] local.INFO: Packet analysis {"connection_id":175134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04:25] local.INFO: Extracted packet for processing {"connection_id":175134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21: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-07 21:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:04:25] 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-07 21:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:04:25] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:04:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":175134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:04:25] local.INFO: GPS data processed {"connection_id":175134,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:04:25] local.INFO: Acknowledgment sent {"connection_id":175134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:04:42] local.INFO: TCP Data received {"connection_id":173797,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a07c812ea00100000000000000000000000000..."} 
[2026-09-07 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c812ea00100000000000000000000000000..."} 
[2026-09-07 21:04:42] local.INFO: Processing buffer {"connection_id":173797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c812ea00100000000000000000000000000..."} 
[2026-09-07 21:04:42] local.INFO: Packet analysis {"connection_id":173797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c81"} 
[2026-09-07 21:04:42] local.INFO: Extracted packet for processing {"connection_id":173797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c81"} 
[2026-09-07 21:04: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-07 21:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,114,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1788795236000,"timestamp_ms":1788795236000,"timestamp_seconds":1788795236,"priority":1,"record_length":96,"hex_timestamp":"000001a07c812ea0"} 
[2026-09-07 21:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:04:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 21:04:42] 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-07 21:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":173797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":173797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":173797,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:04:42] local.INFO: GPS data processed {"connection_id":173797,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:04:42] local.INFO: Acknowledgment sent {"connection_id":173797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:04:43] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:43] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:43] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:04:49] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:49] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:04:49] local.INFO: IMEI packet received {"connection_id":174037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":174037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:04:49] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:49] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:04:49] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04:49] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:04: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-07 21:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:04:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:04:49] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:04:49] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:05:20] local.INFO: TCP Data received {"connection_id":174037,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:20] local.INFO: Processing buffer {"connection_id":174037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:20] local.INFO: Packet analysis {"connection_id":174037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:20] local.INFO: Extracted packet for processing {"connection_id":174037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21: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-07 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:05:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":174037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:05:20] local.INFO: GPS data processed {"connection_id":174037,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:05:20] local.INFO: Acknowledgment sent {"connection_id":174037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:05:28] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:28] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:28] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:05:33] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:33] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:05:33] local.INFO: IMEI packet received {"connection_id":175136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":175136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:05:34] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8276c00100000000000000000000000000..."} 
[2026-09-07 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8276c00100000000000000000000000000..."} 
[2026-09-07 21:05:34] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8276c00100000000000000000000000000..."} 
[2026-09-07 21:05:34] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c82"} 
[2026-09-07 21:05:34] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c82"} 
[2026-09-07 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788795320000,"timestamp_ms":1788795320000,"timestamp_seconds":1788795320,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8276c0"} 
[2026-09-07 21:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-07 21:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:05:34] local.INFO: GPS data processed {"connection_id":175136,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:05:34] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:05:49] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:49] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:49] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:05:54] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:54] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:05:54] local.INFO: IMEI packet received {"connection_id":174038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":174038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:05:54] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:54] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:54] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:54] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:54] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21: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-07 21:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05: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-07 21:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:05:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:05:55] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:05:55] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:05:59] local.INFO: TCP Data received {"connection_id":174038,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:59] local.INFO: Processing buffer {"connection_id":174038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:05:59] local.INFO: Packet analysis {"connection_id":174038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:59] local.INFO: Extracted packet for processing {"connection_id":174038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:05: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-07 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:05: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-07 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:05:59] 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-07 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:05:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":174038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:05:59] local.INFO: GPS data processed {"connection_id":174038,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:05:59] local.INFO: Acknowledgment sent {"connection_id":174038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:06:05] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c82c8c80100000000000000000000000000..."} 
[2026-09-07 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c82c8c80100000000000000000000000000..."} 
[2026-09-07 21:06:05] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c82c8c80100000000000000000000000000..."} 
[2026-09-07 21:06:05] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c82"} 
[2026-09-07 21:06:05] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c82"} 
[2026-09-07 21:06:05] 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-07 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:06:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788795341000,"timestamp_ms":1788795341000,"timestamp_seconds":1788795341,"priority":1,"record_length":96,"hex_timestamp":"000001a07c82c8c8"} 
[2026-09-07 21:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-09-07 21:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:06:05] local.INFO: GPS data processed {"connection_id":175136,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:06:05] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:06:36] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c831ad00100000000000000000000000000..."} 
[2026-09-07 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c831ad00100000000000000000000000000..."} 
[2026-09-07 21:06:36] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c831ad00100000000000000000000000000..."} 
[2026-09-07 21:06:36] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:06:36] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-07 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:06:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1788795362000,"timestamp_ms":1788795362000,"timestamp_seconds":1788795362,"priority":1,"record_length":96,"hex_timestamp":"000001a07c831ad0"} 
[2026-09-07 21:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:06:36] local.INFO: GPS data processed {"connection_id":175136,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:06:36] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:06:44] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:44] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:44] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:06:49] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:49] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:06:49] local.INFO: IMEI packet received {"connection_id":173800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":173800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:06:49] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:06:49] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:06:49] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:06:49] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:06: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-07 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:06:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:06:49] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:06:49] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:07:13] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c836cd80100000000000000000000000000..."} 
[2026-09-07 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c836cd80100000000000000000000000000..."} 
[2026-09-07 21:07:13] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c836cd80100000000000000000000000000..."} 
[2026-09-07 21:07:13] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:07:13] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:07: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-07 21:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788795383000,"timestamp_ms":1788795383000,"timestamp_seconds":1788795383,"priority":1,"record_length":96,"hex_timestamp":"000001a07c836cd8"} 
[2026-09-07 21:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 21:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:07:13] local.INFO: GPS data processed {"connection_id":175136,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:07:13] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:07:20] local.INFO: TCP Data received {"connection_id":173800,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:07:20] local.INFO: Processing buffer {"connection_id":173800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c807708012cf71100070a8f300008009b2f..."} 
[2026-09-07 21:07:20] local.INFO: Packet analysis {"connection_id":173800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:07:20] local.INFO: Extracted packet for processing {"connection_id":173800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c80"} 
[2026-09-07 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":47,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931491328001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795189000,"timestamp_ms":1788795189000,"timestamp_seconds":1788795189,"priority":1,"record_length":96,"hex_timestamp":"000001a07c807708"} 
[2026-09-07 21: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-07 21:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-07 21:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931491328001,"66":25441,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931491328001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:07:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931491328001,"power":25441,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":173800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:07:20] local.INFO: GPS data processed {"connection_id":173800,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:07:20] local.INFO: Acknowledgment sent {"connection_id":173800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:07:44] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:07:44] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:44] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:07:46] local.INFO: TCP Data received {"connection_id":173801,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:07:46] local.INFO: Processing buffer {"connection_id":173801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:07:46] local.INFO: IMEI packet received {"connection_id":173801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":173801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:07:49] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:49] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:07:49] local.INFO: IMEI packet received {"connection_id":176553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":176553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:07:49] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c840530012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c840530012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:07:49] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c840530012cf71100070a8f300008009b2d..."} 
[2026-09-07 21:07:49] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:07:49] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":754389248,"raw_latitude":118132528,"longitude_deg":75.4389248,"latitude_deg":11.8132528,"altitude":8,"angle":155,"satellites":45,"speed":0,"hex_longitude":"2cf71100","hex_latitude":"070a8f30","is_valid_coordinates":true} 
[2026-09-07 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 21:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931568384001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795422000,"timestamp_ms":1788795422000,"timestamp_seconds":1788795422,"priority":1,"record_length":96,"hex_timestamp":"000001a07c840530"} 
[2026-09-07 21: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-07 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21: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-07 21:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:07:49] 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-07 21:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931568384001,"66":25397,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931568384001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:07:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931568384001,"power":25397,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:07:49] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:07:49] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:07:51] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c83bee00100000000000000000000000000..."} 
[2026-09-07 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c83bee00100000000000000000000000000..."} 
[2026-09-07 21:07:51] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c83bee00100000000000000000000000000..."} 
[2026-09-07 21:07:51] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:07:51] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c83"} 
[2026-09-07 21:07: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-07 21: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-07 21:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129596502103293952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:07:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788795404000,"timestamp_ms":1788795404000,"timestamp_seconds":1788795404,"priority":1,"record_length":96,"hex_timestamp":"000001a07c83bee0"} 
[2026-09-07 21: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-07 21:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-07 21:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-07 21:07:51] local.INFO: GPS data processed {"connection_id":175136,"processed":0,"errors":0,"total":1} 
[2026-09-07 21:07:51] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:08:20] local.INFO: TCP Data received {"connection_id":176553,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8418b8012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8418b8012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:20] local.INFO: Processing buffer {"connection_id":176553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8418b8012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:20] local.INFO: Packet analysis {"connection_id":176553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:20] local.INFO: Extracted packet for processing {"connection_id":176553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:20] local.INFO: GPS Element Parsed {"raw_longitude":754390080,"raw_latitude":118131864,"longitude_deg":75.439008,"latitude_deg":11.8131864,"altitude":8,"angle":141,"satellites":47,"speed":0,"hex_longitude":"2cf71440","hex_latitude":"070a8c98","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931628032001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-643733241495343104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795427000,"timestamp_ms":1788795427000,"timestamp_seconds":1788795427,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8418b8"} 
[2026-09-07 21: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-07 21:08: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-07 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 21:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931628032001,"66":27343,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-643733241495343104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931628032001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:08:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-643733241495343104,"description":"Unknown IO ID 44"} 
[2026-09-07 21:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931628032001,"power":27343,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-643733241495343104}} 
[2026-09-07 21:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":176553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:08:20] local.INFO: GPS data processed {"connection_id":176553,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:08:20] local.INFO: Acknowledgment sent {"connection_id":176553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:08:23] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c84dc08012d7fd88005c6ebe80000013407..."} 
[2026-09-07 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c84dc08012d7fd88005c6ebe80000013407..."} 
[2026-09-07 21:08:23] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c84dc08012d7fd88005c6ebe80000013407..."} 
[2026-09-07 21:08:23] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:23] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":763353216,"raw_latitude":96922600,"longitude_deg":76.3353216,"latitude_deg":9.69226,"altitude":0,"angle":308,"satellites":7,"speed":35,"hex_longitude":"2d7fd880","hex_latitude":"05c6ebe8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931641344001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129598997479292928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214646337388531712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788795477000,"timestamp_ms":1788795477000,"timestamp_seconds":1788795477,"priority":1,"record_length":96,"hex_timestamp":"000001a07c84dc08"} 
[2026-09-07 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-07 21:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 21:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931641344001,"66":12493,"125":206,"85":12288,"24":35,"16":129598997479292928,"45":9214646337388531712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-09-07 21:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931641344001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:08:23] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-07 21:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129598997479292928,"km_value":129598997479292.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214646337388531712,"description":"Unknown IO ID 45"} 
[2026-09-07 21:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931641344001,"power":12493,"unknown_125":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9214646337388531712}} 
[2026-09-07 21:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:08:23] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:08:23] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:08:43] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:43] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:43] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:08:45] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:45] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:45] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:08:49] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:49] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:08:49] local.INFO: IMEI packet received {"connection_id":173802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":173802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:08:50] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c846ac0012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c846ac0012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:50] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c846ac0012cf71440070a8c980008008d2f..."} 
[2026-09-07 21:08:50] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:50] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":754390080,"raw_latitude":118131864,"longitude_deg":75.439008,"latitude_deg":11.8131864,"altitude":8,"angle":141,"satellites":47,"speed":0,"hex_longitude":"2cf71440","hex_latitude":"070a8c98","is_valid_coordinates":true} 
[2026-09-07 21:08: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-07 21:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931629312001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208238273036288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-642818447821203456,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788795448000,"timestamp_ms":1788795448000,"timestamp_seconds":1788795448,"priority":1,"record_length":96,"hex_timestamp":"000001a07c846ac0"} 
[2026-09-07 21:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:08:50] 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-07 21:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931629312001,"66":27267,"12":206,"83":41728,"24":0,"16":402208238273036288,"44":-642818447821203456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931629312001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:08:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208238273036288,"km_value":402208238273036.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-642818447821203456,"description":"Unknown IO ID 44"} 
[2026-09-07 21:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931629312001,"power":27267,"unknown_12":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-642818447821203456}} 
[2026-09-07 21:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:08:50] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:08:50] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:08:54] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c84f378012d7fc4c005c6f8080000012807..."} 
[2026-09-07 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c84f378012d7fc4c005c6f8080000012807..."} 
[2026-09-07 21:08:54] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c84f378012d7fc4c005c6f8080000012807..."} 
[2026-09-07 21:08:54] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:54] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":763348160,"raw_latitude":96925704,"longitude_deg":76.334816,"latitude_deg":9.6925704,"altitude":0,"angle":296,"satellites":7,"speed":35,"hex_longitude":"2d7fc4c0","hex_latitude":"05c6f808","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931642112001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129599280947134464,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212253800086890496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788795483000,"timestamp_ms":1788795483000,"timestamp_seconds":1788795483,"priority":1,"record_length":96,"hex_timestamp":"000001a07c84f378"} 
[2026-09-07 21: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-07 21:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 21:08:54] 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-07 21: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-07 21: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-07 21:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931642112001,"66":12385,"125":206,"85":12288,"24":35,"16":129599280947134464,"45":9212253800086890496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-09-07 21:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931642112001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:08:54] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-07 21:08:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129599280947134464,"km_value":129599280947134.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212253800086890496,"description":"Unknown IO ID 45"} 
[2026-09-07 21:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931642112001,"power":12385,"unknown_125":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9212253800086890496}} 
[2026-09-07 21:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:08:54] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:08:54] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:09:21] local.INFO: TCP Data received {"connection_id":173802,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c84bcc8012cf714c0070a8bc0000c00912f..."} 
[2026-09-07 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c84bcc8012cf714c0070a8bc0000c00912f..."} 
[2026-09-07 21:09:21] local.INFO: Processing buffer {"connection_id":173802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c84bcc8012cf714c0070a8bc0000c00912f..."} 
[2026-09-07 21:09:21] local.INFO: Packet analysis {"connection_id":173802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:09:21] local.INFO: Extracted packet for processing {"connection_id":173802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c84"} 
[2026-09-07 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":754390208,"raw_latitude":118131648,"longitude_deg":75.4390208,"latitude_deg":11.8131648,"altitude":12,"angle":145,"satellites":47,"speed":3,"hex_longitude":"2cf714c0","hex_latitude":"070a8bc0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931634688001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208251157938176,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-642818447821203456,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788795469000,"timestamp_ms":1788795469000,"timestamp_seconds":1788795469,"priority":1,"record_length":96,"hex_timestamp":"000001a07c84bcc8"} 
[2026-09-07 21: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-07 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:09: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-07 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931634688001,"66":27234,"12":206,"83":41728,"24":3,"16":402208251157938176,"44":-642818447821203456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-09-07 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931634688001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:09:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:09:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208251157938176,"km_value":402208251157938.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-642818447821203456,"description":"Unknown IO ID 44"} 
[2026-09-07 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931634688001,"power":27234,"unknown_12":206,"unknown_83":41728,"ignition":3,"odometer":null,"unknown_44":-642818447821203456}} 
[2026-09-07 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":173802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:09:21] local.INFO: GPS data processed {"connection_id":173802,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:09:21] local.INFO: Acknowledgment sent {"connection_id":173802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:09:26] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c851a88012d7fa44005c708400000012b08..."} 
[2026-09-07 21:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c851a88012d7fa44005c708400000012b08..."} 
[2026-09-07 21:09:26] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c851a88012d7fa44005c708400000012b08..."} 
[2026-09-07 21:09:26] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:26] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:26] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":96929856,"longitude_deg":76.333984,"latitude_deg":9.6929856,"altitude":0,"angle":299,"satellites":8,"speed":27,"hex_longitude":"2d7fa440","hex_latitude":"05c70840","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931643648001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129599727623733248,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206694669297649664,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788795493000,"timestamp_ms":1788795493000,"timestamp_seconds":1788795493,"priority":1,"record_length":96,"hex_timestamp":"000001a07c851a88"} 
[2026-09-07 21: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-07 21:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:09:26] 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-07 21: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-07 21: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-07 21:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931643648001,"66":12439,"125":206,"85":12288,"24":27,"16":129599727623733248,"45":9206694669297649664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-09-07 21:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931643648001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:09:26] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-09-07 21:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129599727623733248,"km_value":129599727623733.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206694669297649664,"description":"Unknown IO ID 45"} 
[2026-09-07 21:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931643648001,"power":12439,"unknown_125":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9206694669297649664}} 
[2026-09-07 21:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:09:26] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:09:26] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:09:43] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:43] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:43] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:09:44] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:44] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:44] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:09:48] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:48] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:09:48] local.INFO: IMEI packet received {"connection_id":175137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":175137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:09:49] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c850318012cf72940070a6f48000d008b2d..."} 
[2026-09-07 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c850318012cf72940070a6f48000d008b2d..."} 
[2026-09-07 21:09:49] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c850318012cf72940070a6f48000d008b2d..."} 
[2026-09-07 21:09:49] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:49] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":754395456,"raw_latitude":118124360,"longitude_deg":75.4395456,"latitude_deg":11.812436,"altitude":13,"angle":139,"satellites":45,"speed":32,"hex_longitude":"2cf72940","hex_latitude":"070a6f48","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931640064001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402208684949635072,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-642677710332903424,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795487000,"timestamp_ms":1788795487000,"timestamp_seconds":1788795487,"priority":1,"record_length":96,"hex_timestamp":"000001a07c850318"} 
[2026-09-07 21: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-07 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:09:49] 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-07 21:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931640064001,"66":27300,"31":206,"83":41728,"24":32,"16":402208684949635072,"44":-642677710332903424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-07 21:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931640064001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:09:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 21:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402208684949635072,"km_value":402208684949635.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:09:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-642677710332903424,"description":"Unknown IO ID 44"} 
[2026-09-07 21:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931640064001,"power":27300,"unknown_31":206,"unknown_83":41728,"ignition":32,"odometer":null,"unknown_44":-642677710332903424}} 
[2026-09-07 21:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:09:49] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:09:49] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:09:56] local.INFO: TCP Data received {"connection_id":175136,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8539c8012d7f998005c70f900000013a08..."} 
[2026-09-07 21:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8539c8012d7f998005c70f900000013a08..."} 
[2026-09-07 21:09:56] local.INFO: Processing buffer {"connection_id":175136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8539c8012d7f998005c70f900000013a08..."} 
[2026-09-07 21:09:56] local.INFO: Packet analysis {"connection_id":175136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:56] local.INFO: Extracted packet for processing {"connection_id":175136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763337088,"raw_latitude":96931728,"longitude_deg":76.3337088,"latitude_deg":9.6931728,"altitude":0,"angle":314,"satellites":8,"speed":8,"hex_longitude":"2d7f9980","hex_latitude":"05c70f90","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931646208001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129599886537523200,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732555616256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788795501000,"timestamp_ms":1788795501000,"timestamp_seconds":1788795501,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8539c8"} 
[2026-09-07 21: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-07 21:09:56] 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-07 21: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-07 21:09:56] 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-07 21: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-07 21: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-07 21:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931646208001,"66":12472,"88":206,"85":12288,"24":8,"16":129599886537523200,"45":9197546732555616256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931646208001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:09:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129599886537523200,"km_value":129599886537523.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732555616256,"description":"Unknown IO ID 45"} 
[2026-09-07 21:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931646208001,"power":12472,"unknown_88":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9197546732555616256}} 
[2026-09-07 21:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":175136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:09:57] local.INFO: GPS data processed {"connection_id":175136,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:09:57] local.INFO: Acknowledgment sent {"connection_id":175136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:10:13] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:13] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:13] local.INFO: IMEI packet received {"connection_id":176555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":176555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:10:14] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:14] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:14] local.INFO: IMEI packet received {"connection_id":176555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":176555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:10:19] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:19] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:10:19] local.INFO: IMEI packet received {"connection_id":176555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":176555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:10:20] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c86a128012d7eaac005c75e00000001220a..."} 
[2026-09-07 21:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c86a128012d7eaac005c75e00000001220a..."} 
[2026-09-07 21:10:20] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c86a128012d7eaac005c75e00000001220a..."} 
[2026-09-07 21:10:20] local.INFO: Packet analysis {"connection_id":176555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:20] local.INFO: Extracted packet for processing {"connection_id":176555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":96951808,"longitude_deg":76.3275968,"latitude_deg":9.6951808,"altitude":0,"angle":290,"satellites":10,"speed":30,"hex_longitude":"2d7eaac0","hex_latitude":"05c75e00","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931668480001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129603000388812800,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136537031358171136,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795593000,"timestamp_ms":1788795593000,"timestamp_seconds":1788795593,"priority":1,"record_length":96,"hex_timestamp":"000001a07c86a128"} 
[2026-09-07 21: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-07 21:10:20] 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-07 21: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-09-07 21:10:20] 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-07 21: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-07 21: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-07 21:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931668480001,"66":12200,"88":206,"85":12288,"24":30,"16":129603000388812800,"45":9136537031358171136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931668480001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:10:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129603000388812800,"km_value":129603000388812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136537031358171136,"description":"Unknown IO ID 45"} 
[2026-09-07 21:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931668480001,"power":12200,"unknown_88":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9136537031358171136}} 
[2026-09-07 21:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":176555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:10:20] local.INFO: GPS data processed {"connection_id":176555,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:10:20] local.INFO: Acknowledgment sent {"connection_id":176555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:10:22] local.INFO: TCP Data received {"connection_id":175137,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c852a28012cf74140070a5338000d008b2c..."} 
[2026-09-07 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c852a28012cf74140070a5338000d008b2c..."} 
[2026-09-07 21:10:22] local.INFO: Processing buffer {"connection_id":175137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c852a28012cf74140070a5338000d008b2c..."} 
[2026-09-07 21:10:22] local.INFO: Packet analysis {"connection_id":175137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:10:22] local.INFO: Extracted packet for processing {"connection_id":175137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c85"} 
[2026-09-07 21:10:22] local.INFO: GPS Element Parsed {"raw_longitude":754401600,"raw_latitude":118117176,"longitude_deg":75.44016,"latitude_deg":11.8117176,"altitude":13,"angle":139,"satellites":44,"speed":38,"hex_longitude":"2cf74140","hex_latitude":"070a5338","is_valid_coordinates":true} 
[2026-09-07 21:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931644672001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402209140216168448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-636907473312200704,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788795497000,"timestamp_ms":1788795497000,"timestamp_seconds":1788795497,"priority":1,"record_length":96,"hex_timestamp":"000001a07c852a28"} 
[2026-09-07 21:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:10:22] 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-07 21:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931644672001,"66":27300,"31":206,"83":41728,"24":38,"16":402209140216168448,"44":-636907473312200704},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-07 21:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931644672001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:10:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 21:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402209140216168448,"km_value":402209140216168.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-636907473312200704,"description":"Unknown IO ID 44"} 
[2026-09-07 21:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931644672001,"power":27300,"unknown_31":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-636907473312200704}} 
[2026-09-07 21:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":175137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:10:22] local.INFO: GPS data processed {"connection_id":175137,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:10:22] local.INFO: Acknowledgment sent {"connection_id":175137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:10:23] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c86bc80012d7e930005c763c0000001150a..."} 
[2026-09-07 21:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c86bc80012d7e930005c763c0000001150a..."} 
[2026-09-07 21:10:23] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c86bc80012d7e930005c763c0000001150a..."} 
[2026-09-07 21:10:23] local.INFO: Packet analysis {"connection_id":176555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:23] local.INFO: Extracted packet for processing {"connection_id":176555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763269888,"raw_latitude":96953280,"longitude_deg":76.3269888,"latitude_deg":9.695328,"altitude":0,"angle":277,"satellites":10,"speed":31,"hex_longitude":"2d7e9300","hex_latitude":"05c763c0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931671808001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129603301036523520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725871927296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788795600000,"timestamp_ms":1788795600000,"timestamp_seconds":1788795600,"priority":1,"record_length":96,"hex_timestamp":"000001a07c86bc80"} 
[2026-09-07 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-07 21:10: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-07 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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-09-07 21:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931671808001,"66":12189,"88":206,"85":12288,"24":31,"16":129603301036523520,"45":9127318725871927296},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931671808001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:10:23] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129603301036523520,"km_value":129603301036523.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725871927296,"description":"Unknown IO ID 45"} 
[2026-09-07 21:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931671808001,"power":12189,"unknown_88":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9127318725871927296}} 
[2026-09-07 21:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":176555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:10:23] local.INFO: GPS data processed {"connection_id":176555,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:10:23] local.INFO: Acknowledgment sent {"connection_id":176555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:10:43] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:43] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:43] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:10:49] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:49] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:10:49] local.INFO: IMEI packet received {"connection_id":173804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":173804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:10:49] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c866690012cf84340070920e0000800992c..."} 
[2026-09-07 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c866690012cf84340070920e0000800992c..."} 
[2026-09-07 21:10:49] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c866690012cf84340070920e0000800992c..."} 
[2026-09-07 21:10:49] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:49] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:49] local.INFO: GPS Element Parsed {"raw_longitude":754467648,"raw_latitude":118038752,"longitude_deg":75.4467648,"latitude_deg":11.8038752,"altitude":8,"angle":153,"satellites":44,"speed":55,"hex_longitude":"2cf84340","hex_latitude":"070920e0","is_valid_coordinates":true} 
[2026-09-07 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931666944001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402214070838624256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-560909229621006336,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795578000,"timestamp_ms":1788795578000,"timestamp_seconds":1788795578,"priority":1,"record_length":96,"hex_timestamp":"000001a07c866690"} 
[2026-09-07 21:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:10:49] 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-07 21:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931666944001,"66":27267,"31":206,"83":41728,"24":55,"16":402214070838624256,"44":-560909229621006336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-07 21:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931666944001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:10:49] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 21:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402214070838624256,"km_value":402214070838624.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-560909229621006336,"description":"Unknown IO ID 44"} 
[2026-09-07 21:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931666944001,"power":27267,"unknown_31":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-560909229621006336}} 
[2026-09-07 21:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:10:49] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:10:49] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:10:55] local.INFO: TCP Data received {"connection_id":176555,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c86eb60012d7e700005c76800000001120a..."} 
[2026-09-07 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c86eb60012d7e700005c76800000001120a..."} 
[2026-09-07 21:10:55] local.INFO: Processing buffer {"connection_id":176555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c86eb60012d7e700005c76800000001120a..."} 
[2026-09-07 21:10:55] local.INFO: Packet analysis {"connection_id":176555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:55] local.INFO: Extracted packet for processing {"connection_id":176555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763260928,"raw_latitude":96954368,"longitude_deg":76.3260928,"latitude_deg":9.6954368,"altitude":0,"angle":274,"satellites":10,"speed":32,"hex_longitude":"2d7e7000","hex_latitude":"05c76800","is_valid_coordinates":true} 
[2026-09-07 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-07 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931673600001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129603730533253120,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120633695175426048,"note":"Value kept but may cause issues"} 
[2026-09-07 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788795612000,"timestamp_ms":1788795612000,"timestamp_seconds":1788795612,"priority":1,"record_length":96,"hex_timestamp":"000001a07c86eb60"} 
[2026-09-07 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-07 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-07 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931673600001,"66":12298,"88":206,"85":12288,"24":32,"16":129603730533253120,"45":9120633695175426048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931673600001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:10:55] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129603730533253120,"km_value":129603730533253.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120633695175426048,"description":"Unknown IO ID 45"} 
[2026-09-07 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931673600001,"power":12298,"unknown_88":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9120633695175426048}} 
[2026-09-07 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":176555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:10:55] local.INFO: GPS data processed {"connection_id":176555,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:10:55] local.INFO: Acknowledgment sent {"connection_id":176555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:11:13] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:13] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:13] local.INFO: IMEI packet received {"connection_id":175138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":175138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:11:18] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:18] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:11:18] local.INFO: IMEI packet received {"connection_id":175138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":175138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:11:19] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c873980012d7e520005c76cb00000011a0a..."} 
[2026-09-07 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c873980012d7e520005c76cb00000011a0a..."} 
[2026-09-07 21:11:19] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c873980012d7e520005c76cb00000011a0a..."} 
[2026-09-07 21:11:19] local.INFO: Packet analysis {"connection_id":175138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:19] local.INFO: Extracted packet for processing {"connection_id":175138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":96955568,"longitude_deg":76.3253248,"latitude_deg":9.6955568,"altitude":0,"angle":282,"satellites":10,"speed":0,"hex_longitude":"2d7e5200","hex_latitude":"05c76cb0","is_valid_coordinates":true} 
[2026-09-07 21:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931676672001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129604108490375168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110782070990831616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788795632000,"timestamp_ms":1788795632000,"timestamp_seconds":1788795632,"priority":1,"record_length":96,"hex_timestamp":"000001a07c873980"} 
[2026-09-07 21:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:11:19] 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-07 21:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":416355985100112168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902552592896,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8972826047375310628,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832561,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460566490284238,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3530822107858468865,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2253844481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1230504142,"corrected_to":0} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3355520382,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":9,"raw_value":6473924465000452,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1886519296,"corrected_to":0} 
[2026-09-07 21:11:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3342903296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,88,85,24,241,157,16,113,160,188,45,99,10,66,161,192,94,110,128,1,240,191,227,112,124,199,4,205,19,51,237,32,9,239,49,2,204,5],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1230504142,"validated":0},{"io_id":204,"original":1886519296,"validated":0}]} 
[2026-09-07 21:11:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":301309137780736,"timestamp_seconds":301309137780.736,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931676672001,"66":11950,"88":206,"85":12288,"24":0,"16":129604108490375168,"45":9110782070990831616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931676672001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:11:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129604108490375168,"km_value":129604108490375.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110782070990831616,"description":"Unknown IO ID 45"} 
[2026-09-07 21:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931676672001,"power":11950,"unknown_88":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9110782070990831616}} 
[2026-09-07 21:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":175138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:11:19] local.INFO: GPS data processed {"connection_id":175138,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:11:19] local.INFO: Acknowledgment sent {"connection_id":175138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:11:22] local.INFO: TCP Data received {"connection_id":173804,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c867a18012cf84bc007090918000800a52f..."} 
[2026-09-07 21:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c867a18012cf84bc007090918000800a52f..."} 
[2026-09-07 21:11:22] local.INFO: Processing buffer {"connection_id":173804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c867a18012cf84bc007090918000800a52f..."} 
[2026-09-07 21:11:22] local.INFO: Packet analysis {"connection_id":173804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:11:22] local.INFO: Extracted packet for processing {"connection_id":173804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c86"} 
[2026-09-07 21:11:22] local.INFO: GPS Element Parsed {"raw_longitude":754469824,"raw_latitude":118032664,"longitude_deg":75.4469824,"latitude_deg":11.8032664,"altitude":8,"angle":165,"satellites":47,"speed":47,"hex_longitude":"2cf84bc0","hex_latitude":"07090918","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931667968001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402214384371236864,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-557531529901711360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788795583000,"timestamp_ms":1788795583000,"timestamp_seconds":1788795583,"priority":1,"record_length":96,"hex_timestamp":"000001a07c867a18"} 
[2026-09-07 21: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-07 21:11: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-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:22] 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-07 21:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931667968001,"66":27180,"31":206,"83":41728,"24":47,"16":402214384371236864,"44":-557531529901711360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-09-07 21:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931667968001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:11:22] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-09-07 21:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402214384371236864,"km_value":402214384371236.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-557531529901711360,"description":"Unknown IO ID 44"} 
[2026-09-07 21:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931667968001,"power":27180,"unknown_31":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-557531529901711360}} 
[2026-09-07 21:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":173804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:11:22] local.INFO: GPS data processed {"connection_id":173804,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:11:22] local.INFO: Acknowledgment sent {"connection_id":173804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:11:49] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:49] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:49] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:11:50] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:50] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:50] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:11:51] local.INFO: TCP Data received {"connection_id":175138,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c878b88012d7e520005c76c880000011a0b..."} 
[2026-09-07 21:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c878b88012d7e520005c76c880000011a0b..."} 
[2026-09-07 21:11:51] local.INFO: Processing buffer {"connection_id":175138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c878b88012d7e520005c76c880000011a0b..."} 
[2026-09-07 21:11:51] local.INFO: Packet analysis {"connection_id":175138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:51] local.INFO: Extracted packet for processing {"connection_id":175138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":96955528,"longitude_deg":76.3253248,"latitude_deg":9.6955528,"altitude":0,"angle":282,"satellites":11,"speed":0,"hex_longitude":"2d7e5200","hex_latitude":"05c76c88","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931681792001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129604125670244352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102337821689819136,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788795653000,"timestamp_ms":1788795653000,"timestamp_seconds":1788795653,"priority":1,"record_length":96,"hex_timestamp":"000001a07c878b88"} 
[2026-09-07 21: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-07 21:11:51] 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-07 21: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 21:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931681792001,"66":12069,"88":206,"85":12288,"24":0,"16":129604125670244352,"45":9102337821689819136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931681792001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:11:51] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129604125670244352,"km_value":129604125670244.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102337821689819136,"description":"Unknown IO ID 45"} 
[2026-09-07 21:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931681792001,"power":12069,"unknown_88":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9102337821689819136}} 
[2026-09-07 21:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":175138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:11:51] local.INFO: GPS data processed {"connection_id":175138,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:11:51] local.INFO: Acknowledgment sent {"connection_id":175138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:11:54] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:54] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:11:54] local.INFO: IMEI packet received {"connection_id":176557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":176557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:11:54] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c87a2f8012cf92d800707b128000b008f2e..."} 
[2026-09-07 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c87a2f8012cf92d800707b128000b008f2e..."} 
[2026-09-07 21:11:54] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c87a2f8012cf92d800707b128000b008f2e..."} 
[2026-09-07 21:11:54] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:54] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":754527616,"raw_latitude":117944616,"longitude_deg":75.4527616,"latitude_deg":11.7944616,"altitude":11,"angle":143,"satellites":46,"speed":60,"hex_longitude":"2cf92d80","hex_latitude":"0707b128","is_valid_coordinates":true} 
[2026-09-07 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-07 21:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931687168001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402219486792384512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-497506991140411392,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788795659000,"timestamp_ms":1788795659000,"timestamp_seconds":1788795659,"priority":1,"record_length":96,"hex_timestamp":"000001a07c87a2f8"} 
[2026-09-07 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-07 21:11: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-07 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:54] 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-07 21:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931687168001,"66":27397,"85":206,"83":41728,"24":60,"16":402219486792384512,"44":-497506991140411392},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 21:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931687168001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:11:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 21:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402219486792384512,"km_value":402219486792384.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-497506991140411392,"description":"Unknown IO ID 44"} 
[2026-09-07 21:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931687168001,"power":27397,"unknown_85":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-497506991140411392}} 
[2026-09-07 21:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:11:54] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:11:54] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:11:56] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c87ba68012cf9428007079430000900902e..."} 
[2026-09-07 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c87ba68012cf9428007079430000900902e..."} 
[2026-09-07 21:11:56] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c87ba68012cf9428007079430000900902e..."} 
[2026-09-07 21:11:56] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:56] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":754532992,"raw_latitude":117937200,"longitude_deg":75.4532992,"latitude_deg":11.79372,"altitude":9,"angle":144,"satellites":46,"speed":60,"hex_longitude":"2cf94280","hex_latitude":"07079430","is_valid_coordinates":true} 
[2026-09-07 21:11: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-07 21:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931688704001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402219929174016000,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-491596016631339008,"note":"Value kept but may cause issues"} 
[2026-09-07 21:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788795665000,"timestamp_ms":1788795665000,"timestamp_seconds":1788795665,"priority":1,"record_length":96,"hex_timestamp":"000001a07c87ba68"} 
[2026-09-07 21:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:11: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-07 21:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:11:56] 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-07 21:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931688704001,"66":27321,"85":206,"83":41728,"24":60,"16":402219929174016000,"44":-491596016631339008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 21:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931688704001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 21:11:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402219929174016000,"km_value":402219929174016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-491596016631339008,"description":"Unknown IO ID 44"} 
[2026-09-07 21:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931688704001,"power":27321,"unknown_85":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-491596016631339008}} 
[2026-09-07 21:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:11:56] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:11:56] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:12:13] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:12:13] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:13] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:12:18] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:18] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:12:18] local.INFO: IMEI packet received {"connection_id":173806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":173806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:12:18] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c87a6e0012d7e518005c76cf8000001280c..."} 
[2026-09-07 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c87a6e0012d7e518005c76cf8000001280c..."} 
[2026-09-07 21:12:18] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c87a6e0012d7e518005c76cf8000001280c..."} 
[2026-09-07 21:12:18] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:18] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763253120,"raw_latitude":96955640,"longitude_deg":76.325312,"latitude_deg":9.695564,"altitude":0,"angle":296,"satellites":12,"speed":7,"hex_longitude":"2d7e5180","hex_latitude":"05c76cf8","is_valid_coordinates":true} 
[2026-09-07 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931687168001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129604142850113536,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102337821689808896,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788795660000,"timestamp_ms":1788795660000,"timestamp_seconds":1788795660,"priority":1,"record_length":96,"hex_timestamp":"000001a07c87a6e0"} 
[2026-09-07 21:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:12:18] 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-07 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 21:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931687168001,"66":12613,"88":206,"85":12288,"24":7,"16":129604142850113536,"45":9102337821689808896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,45]} 
[2026-09-07 21:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931687168001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:12:18] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 21:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129604142850113536,"km_value":129604142850113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102337821689808896,"description":"Unknown IO ID 45"} 
[2026-09-07 21:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931687168001,"power":12613,"unknown_88":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":9102337821689808896}} 
[2026-09-07 21:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:12:18] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:12:18] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:12:27] local.INFO: TCP Data received {"connection_id":176557,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c87d1d8012cf9554007077680000900972e..."} 
[2026-09-07 21:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c87d1d8012cf9554007077680000900972e..."} 
[2026-09-07 21:12:27] local.INFO: Processing buffer {"connection_id":176557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c87d1d8012cf9554007077680000900972e..."} 
[2026-09-07 21:12:27] local.INFO: Packet analysis {"connection_id":176557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:27] local.INFO: Extracted packet for processing {"connection_id":176557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:27] local.INFO: GPS Element Parsed {"raw_longitude":754537792,"raw_latitude":117929600,"longitude_deg":75.4537792,"latitude_deg":11.79296,"altitude":9,"angle":151,"satellites":46,"speed":58,"hex_longitude":"2cf95540","hex_latitude":"07077680","is_valid_coordinates":true} 
[2026-09-07 21:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931690240001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402220358670745600,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-485685042122313728,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788795671000,"timestamp_ms":1788795671000,"timestamp_seconds":1788795671,"priority":1,"record_length":96,"hex_timestamp":"000001a07c87d1d8"} 
[2026-09-07 21:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:12:27] 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-07 21:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931690240001,"66":27289,"85":206,"83":41728,"24":58,"16":402220358670745600,"44":-485685042122313728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 21:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931690240001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 21:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402220358670745600,"km_value":402220358670745.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-485685042122313728,"description":"Unknown IO ID 44"} 
[2026-09-07 21:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931690240001,"power":27289,"unknown_85":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-485685042122313728}} 
[2026-09-07 21:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":176557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:12:27] local.INFO: GPS data processed {"connection_id":176557,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:12:27] local.INFO: Acknowledgment sent {"connection_id":176557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:12:43] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:12:43] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:43] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:12:49] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:49] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:12:49] local.INFO: IMEI packet received {"connection_id":174040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":174040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:12:49] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c87ed30012cf964c0070753600007009e2e..."} 
[2026-09-07 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c87ed30012cf964c0070753600007009e2e..."} 
[2026-09-07 21:12:49] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c87ed30012cf964c0070753600007009e2e..."} 
[2026-09-07 21:12:49] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:49] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c87"} 
[2026-09-07 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":754541760,"raw_latitude":117920608,"longitude_deg":75.454176,"latitude_deg":11.7920608,"altitude":7,"angle":158,"satellites":46,"speed":56,"hex_longitude":"2cf964c0","hex_latitude":"07075360","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931691776001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402220835412115456,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-480407386310934528,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795678000,"timestamp_ms":1788795678000,"timestamp_seconds":1788795678,"priority":1,"record_length":96,"hex_timestamp":"000001a07c87ed30"} 
[2026-09-07 21: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-07 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:12:49] 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-07 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931691776001,"66":27300,"85":206,"83":41728,"24":56,"16":402220835412115456,"44":-480407386310934528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-09-07 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931691776001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:12:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-07 21:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402220835412115456,"km_value":402220835412115.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-480407386310934528,"description":"Unknown IO ID 44"} 
[2026-09-07 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931691776001,"power":27300,"unknown_85":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-480407386310934528}} 
[2026-09-07 21:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:12:49] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:12:49] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:12:50] local.INFO: TCP Data received {"connection_id":173806,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c890a58012d7d5f0005c7ab08000001150d..."} 
[2026-09-07 21:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c890a58012d7d5f0005c7ab08000001150d..."} 
[2026-09-07 21:12:50] local.INFO: Processing buffer {"connection_id":173806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c890a58012d7d5f0005c7ab08000001150d..."} 
[2026-09-07 21:12:50] local.INFO: Packet analysis {"connection_id":173806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:12:50] local.INFO: Extracted packet for processing {"connection_id":173806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763191040,"raw_latitude":96971528,"longitude_deg":76.319104,"latitude_deg":9.6971528,"altitude":0,"angle":277,"satellites":13,"speed":0,"hex_longitude":"2d7d5f00","hex_latitude":"05c7ab08","is_valid_coordinates":true} 
[2026-09-07 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-07 21:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931707136001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129607239521533952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034502352306640896,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-07 21:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788795751000,"timestamp_ms":1788795751000,"timestamp_seconds":1788795751,"priority":1,"record_length":96,"hex_timestamp":"000001a07c890a58"} 
[2026-09-07 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-07 21:12: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-07 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":416448515875537185,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902871360000,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8973453112600526343,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":13,"raw_value":11821949022502916,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832569,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3550244762950435022,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2287636481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2468347904,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1230635214,"corrected_to":0} 
[2026-09-07 21:12:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1939079168,"corrected_to":0} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3348037632,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.WARNING: Large IO value detected {"io_id":115,"raw_value":-7782220156096217087,"note":"Value kept but may cause issues"} 
[2026-09-07 21:12:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,200,85,24,241,157,16,117,160,153,45,64,165,13,10,66,116,121,192,152,90,1,240,42,227,124,199,4,113,205,47,59,226,239,49,2,204,5,115],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":200,"original":206,"validated":0},{"io_id":205,"original":1230635214,"validated":0},{"io_id":204,"original":1939079168,"validated":0}]} 
[2026-09-07 21:12:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":304620555993088,"timestamp_seconds":304620555993.088,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 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-07 21:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931707136001,"66":11852,"200":0,"85":12288,"24":0,"16":129607239521533952,"45":9034502352306640896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-09-07 21:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931707136001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-09-07 21:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129607239521533952,"km_value":129607239521533.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034502352306640896,"description":"Unknown IO ID 45"} 
[2026-09-07 21:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931707136001,"power":11852,"gsm_signal":0,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9034502352306640896}} 
[2026-09-07 21:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":173806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:12:50] local.INFO: GPS data processed {"connection_id":173806,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:12:50] local.INFO: Acknowledgment sent {"connection_id":173806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:13:11] local.INFO: TCP Data received {"connection_id":175139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:13:11] local.INFO: Processing buffer {"connection_id":175139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:13:11] local.INFO: IMEI packet received {"connection_id":175139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":175139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:13:13] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:13] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:13] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:13:14] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:14] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:14] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:13:15] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:15] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:15] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:13:16] local.INFO: TCP Data received {"connection_id":175140,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175140,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:16] local.INFO: Processing buffer {"connection_id":175140,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:13:16] local.INFO: IMEI packet received {"connection_id":175140,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":175140,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:13:20] local.INFO: TCP Data received {"connection_id":174040,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c88f6d0012cfa88400706a598000d00602e..."} 
[2026-09-07 21:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c88f6d0012cfa88400706a598000d00602e..."} 
[2026-09-07 21:13:20] local.INFO: Processing buffer {"connection_id":174040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c88f6d0012cfa88400706a598000d00602e..."} 
[2026-09-07 21:13:20] local.INFO: Packet analysis {"connection_id":174040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c88"} 
[2026-09-07 21:13:20] local.INFO: Extracted packet for processing {"connection_id":174040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c88"} 
[2026-09-07 21:13:20] local.INFO: GPS Element Parsed {"raw_longitude":754616384,"raw_latitude":117876120,"longitude_deg":75.4616384,"latitude_deg":11.787612,"altitude":13,"angle":96,"satellites":46,"speed":54,"hex_longitude":"2cfa8840","hex_latitude":"0706a598","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931709184001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402225478271762432,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-404549880100841472,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795746000,"timestamp_ms":1788795746000,"timestamp_seconds":1788795746,"priority":1,"record_length":96,"hex_timestamp":"000001a07c88f6d0"} 
[2026-09-07 21: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-07 21:13: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-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931709184001,"66":27332,"83":41728,"24":54,"16":402225478271762432,"44":-404549880100841472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-07 21:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931709184001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402225478271762432,"km_value":402225478271762.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-404549880100841472,"description":"Unknown IO ID 44"} 
[2026-09-07 21:13:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457931709184001,"power":27332,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-404549880100841472}} 
[2026-09-07 21:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":174040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:13:21] local.INFO: GPS data processed {"connection_id":174040,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:13:21] local.INFO: Acknowledgment sent {"connection_id":174040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:13:44] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:13:44] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:44] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:13:48] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:48] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:13:48] local.INFO: IMEI packet received {"connection_id":176558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":176558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:13:49] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c891228012cfaae400706a1a8000e00602e..."} 
[2026-09-07 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c891228012cfaae400706a1a8000e00602e..."} 
[2026-09-07 21:13:49] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c891228012cfaae400706a1a8000e00602e..."} 
[2026-09-07 21:13:49] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:13:49] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":754626112,"raw_latitude":117875112,"longitude_deg":75.4626112,"latitude_deg":11.7875112,"altitude":14,"angle":96,"satellites":46,"speed":55,"hex_longitude":"2cfaae40","hex_latitude":"0706a1a8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931710976001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402225942128230400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-393994568474454016,"note":"Value kept but may cause issues"} 
[2026-09-07 21:13:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795753000,"timestamp_ms":1788795753000,"timestamp_seconds":1788795753,"priority":1,"record_length":96,"hex_timestamp":"000001a07c891228"} 
[2026-09-07 21: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-07 21:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:13:49] 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-07 21:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931710976001,"66":27321,"83":41728,"24":55,"16":402225942128230400,"44":-393994568474454016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-07 21:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931710976001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402225942128230400,"km_value":402225942128230.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:13:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-393994568474454016,"description":"Unknown IO ID 44"} 
[2026-09-07 21:13:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457931710976001,"power":27321,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-393994568474454016}} 
[2026-09-07 21:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:13:49] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:13:49] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:14:20] local.INFO: TCP Data received {"connection_id":176558,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c892d80012cfad60007069da0000d005f2e..."} 
[2026-09-07 21:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c892d80012cfad60007069da0000d005f2e..."} 
[2026-09-07 21:14:20] local.INFO: Processing buffer {"connection_id":176558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c892d80012cfad60007069da0000d005f2e..."} 
[2026-09-07 21:14:20] local.INFO: Packet analysis {"connection_id":176558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:14:20] local.INFO: Extracted packet for processing {"connection_id":176558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c89"} 
[2026-09-07 21:14:20] local.INFO: GPS Element Parsed {"raw_longitude":754636288,"raw_latitude":117874080,"longitude_deg":75.4636288,"latitude_deg":11.787408,"altitude":13,"angle":95,"satellites":46,"speed":59,"hex_longitude":"2cfad600","hex_latitude":"07069da0","is_valid_coordinates":true} 
[2026-09-07 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931712768001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402226427459534848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-383298519359707136,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 21:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795760000,"timestamp_ms":1788795760000,"timestamp_seconds":1788795760,"priority":1,"record_length":96,"hex_timestamp":"000001a07c892d80"} 
[2026-09-07 21:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:14: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-07 21:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931712768001,"66":27397,"83":41728,"24":59,"16":402226427459534848,"44":-383298519359707136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-09-07 21:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931712768001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-09-07 21:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402226427459534848,"km_value":402226427459534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-383298519359707136,"description":"Unknown IO ID 44"} 
[2026-09-07 21:14:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457931712768001,"power":27397,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-383298519359707136}} 
[2026-09-07 21:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":176558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:14:20] local.INFO: GPS data processed {"connection_id":176558,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:14:20] local.INFO: Acknowledgment sent {"connection_id":176558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:14:44] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:44] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:44] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:14:47] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:47] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:14:47] local.INFO: IMEI packet received {"connection_id":173808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":173808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:14:48] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8a5278012cfc778007066c00000d006d2c..."} 
[2026-09-07 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8a5278012cfc778007066c00000d006d2c..."} 
[2026-09-07 21:14:48] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8a5278012cfc778007066c00000d006d2c..."} 
[2026-09-07 21:14:48] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:14:48] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:14:48] local.INFO: GPS Element Parsed {"raw_longitude":754743168,"raw_latitude":117861376,"longitude_deg":75.4743168,"latitude_deg":11.7861376,"altitude":13,"angle":109,"satellites":44,"speed":50,"hex_longitude":"2cfc7780","hex_latitude":"07066c00","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931731968001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402231547060551680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-264093866725599232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788795835000,"timestamp_ms":1788795835000,"timestamp_seconds":1788795835,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8a5278"} 
[2026-09-07 21: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-07 21:14: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-07 21:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:14: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-07 21:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931731968001,"66":27376,"213":206,"94":10240,"24":50,"16":402231547060551680,"44":-264093866725599232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931731968001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:14:48] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:14:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402231547060551680,"km_value":402231547060551.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-264093866725599232,"description":"Unknown IO ID 44"} 
[2026-09-07 21:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931731968001,"power":27376,"unknown_213":206,"unknown_94":10240,"ignition":50,"odometer":null,"unknown_44":-264093866725599232}} 
[2026-09-07 21:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:14:48] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:14:48] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:15:19] local.INFO: TCP Data received {"connection_id":173808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8a6dd0012cfc988007065e68000c00742c..."} 
[2026-09-07 21:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8a6dd0012cfc988007065e68000c00742c..."} 
[2026-09-07 21:15:19] local.INFO: Processing buffer {"connection_id":173808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8a6dd0012cfc988007065e68000c00742c..."} 
[2026-09-07 21:15:19] local.INFO: Packet analysis {"connection_id":173808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:15:19] local.INFO: Extracted packet for processing {"connection_id":173808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:15:19] local.INFO: GPS Element Parsed {"raw_longitude":754751616,"raw_latitude":117857896,"longitude_deg":75.4751616,"latitude_deg":11.7857896,"altitude":12,"angle":116,"satellites":44,"speed":52,"hex_longitude":"2cfc9880","hex_latitude":"07065e68","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931733760001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402231980852248576,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-254594086262276096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788795842000,"timestamp_ms":1788795842000,"timestamp_seconds":1788795842,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8a6dd0"} 
[2026-09-07 21: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-07 21:15: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-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:15: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-07 21:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931733760001,"66":27343,"213":206,"94":10240,"24":52,"16":402231980852248576,"44":-254594086262276096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931733760001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:15:19] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:15:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402231980852248576,"km_value":402231980852248.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-254594086262276096,"description":"Unknown IO ID 44"} 
[2026-09-07 21:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931733760001,"power":27343,"unknown_213":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-254594086262276096}} 
[2026-09-07 21:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":173808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:15:19] local.INFO: GPS data processed {"connection_id":173808,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:15:19] local.INFO: Acknowledgment sent {"connection_id":173808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:15:44] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: IMEI packet received {"connection_id":174042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":174042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:15:44] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:44] local.INFO: IMEI packet received {"connection_id":174042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":174042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:15:49] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:49] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:15:49] local.INFO: IMEI packet received {"connection_id":174042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":174042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:15:49] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8a8928012cfcb98007064cd0000b00792d..."} 
[2026-09-07 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8a8928012cfcb98007064cd0000b00792d..."} 
[2026-09-07 21:15:49] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8a8928012cfcb98007064cd0000b00792d..."} 
[2026-09-07 21:15:49] local.INFO: Packet analysis {"connection_id":174042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:15:49] local.INFO: Extracted packet for processing {"connection_id":174042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8a"} 
[2026-09-07 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":754760064,"raw_latitude":117853392,"longitude_deg":75.4760064,"latitude_deg":11.7853392,"altitude":11,"angle":121,"satellites":45,"speed":54,"hex_longitude":"2cfcb980","hex_latitude":"07064cd0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931735552001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402232436118781952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-245305412031715328,"note":"Value kept but may cause issues"} 
[2026-09-07 21:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795849000,"timestamp_ms":1788795849000,"timestamp_seconds":1788795849,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8a8928"} 
[2026-09-07 21: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-07 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:15:49] 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-07 21:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931735552001,"66":27343,"213":206,"94":10240,"24":54,"16":402232436118781952,"44":-245305412031715328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931735552001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:15:49] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:15:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402232436118781952,"km_value":402232436118781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-245305412031715328,"description":"Unknown IO ID 44"} 
[2026-09-07 21:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931735552001,"power":27343,"unknown_213":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-245305412031715328}} 
[2026-09-07 21:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":174042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:15:49] local.INFO: GPS data processed {"connection_id":174042,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:15:49] local.INFO: Acknowledgment sent {"connection_id":174042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:16:20] local.INFO: TCP Data received {"connection_id":174042,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8bb9d8012cfded4007054800000d00832d..."} 
[2026-09-07 21:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8bb9d8012cfded4007054800000d00832d..."} 
[2026-09-07 21:16:20] local.INFO: Processing buffer {"connection_id":174042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8bb9d8012cfded4007054800000d00832d..."} 
[2026-09-07 21:16:20] local.INFO: Packet analysis {"connection_id":174042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:20] local.INFO: Extracted packet for processing {"connection_id":174042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:20] local.INFO: GPS Element Parsed {"raw_longitude":754838848,"raw_latitude":117786624,"longitude_deg":75.4838848,"latitude_deg":11.7786624,"altitude":13,"angle":131,"satellites":45,"speed":51,"hex_longitude":"2cfded40","hex_latitude":"07054800","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931755520001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402237388216074240,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-156992638105442304,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788795927000,"timestamp_ms":1788795927000,"timestamp_seconds":1788795927,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8bb9d8"} 
[2026-09-07 21: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-07 21:16: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-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931755520001,"66":27397,"213":206,"94":10240,"24":51,"16":402237388216074240,"44":-156992638105442304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931755520001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:16:20] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:16:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402237388216074240,"km_value":402237388216074.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-156992638105442304,"description":"Unknown IO ID 44"} 
[2026-09-07 21:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931755520001,"power":27397,"unknown_213":206,"unknown_94":10240,"ignition":51,"odometer":null,"unknown_44":-156992638105442304}} 
[2026-09-07 21:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":174042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:16:20] local.INFO: GPS data processed {"connection_id":174042,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:16:20] local.INFO: Acknowledgment sent {"connection_id":174042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:16:43] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:43] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:43] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:16:47] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:47] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:47] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:16:49] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:49] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:16:49] local.INFO: IMEI packet received {"connection_id":175142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":175142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:16:49] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8bd530012cfe088007053050000c00832d..."} 
[2026-09-07 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8bd530012cfe088007053050000c00832d..."} 
[2026-09-07 21:16:49] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8bd530012cfe088007053050000c00832d..."} 
[2026-09-07 21:16:49] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:49] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":754845824,"raw_latitude":117780560,"longitude_deg":75.4845824,"latitude_deg":11.778056,"altitude":12,"angle":131,"satellites":45,"speed":52,"hex_longitude":"2cfe0880","hex_latitude":"07053050","is_valid_coordinates":true} 
[2026-09-07 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931757312001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402237826302738432,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-149392813735804928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788795934000,"timestamp_ms":1788795934000,"timestamp_seconds":1788795934,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8bd530"} 
[2026-09-07 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:49] 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-07 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931757312001,"66":27463,"213":206,"94":10240,"24":52,"16":402237826302738432,"44":-149392813735804928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931757312001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:16:49] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:16:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402237826302738432,"km_value":402237826302738.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:16:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-149392813735804928,"description":"Unknown IO ID 44"} 
[2026-09-07 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931757312001,"power":27463,"unknown_213":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-149392813735804928}} 
[2026-09-07 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:16:49] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:16:49] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:16:54] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8bf088012cfe2440070517e0000a00842c..."} 
[2026-09-07 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8bf088012cfe2440070517e0000a00842c..."} 
[2026-09-07 21:16:54] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8bf088012cfe2440070517e0000a00842c..."} 
[2026-09-07 21:16:54] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:54] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8b"} 
[2026-09-07 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":754852928,"raw_latitude":117774304,"longitude_deg":75.4852928,"latitude_deg":11.7774304,"altitude":10,"angle":132,"satellites":44,"speed":53,"hex_longitude":"2cfe2440","hex_latitude":"070517e0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931759104001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402238281569271808,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-141722620621991936,"note":"Value kept but may cause issues"} 
[2026-09-07 21:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788795941000,"timestamp_ms":1788795941000,"timestamp_seconds":1788795941,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8bf088"} 
[2026-09-07 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-07 21:16: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-07 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 21:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:16:54] 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-07 21:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931759104001,"66":27397,"213":206,"94":10240,"24":53,"16":402238281569271808,"44":-141722620621991936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931759104001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:16:54] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:16:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402238281569271808,"km_value":402238281569271.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-141722620621991936,"description":"Unknown IO ID 44"} 
[2026-09-07 21:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931759104001,"power":27397,"unknown_213":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-141722620621991936}} 
[2026-09-07 21:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:16:54] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:16:54] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:17:26] local.INFO: TCP Data received {"connection_id":175142,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8c0be0012cfe40400704fff0000900822c..."} 
[2026-09-07 21:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8c0be0012cfe40400704fff0000900822c..."} 
[2026-09-07 21:17:26] local.INFO: Processing buffer {"connection_id":175142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8c0be0012cfe40400704fff0000900822c..."} 
[2026-09-07 21:17:26] local.INFO: Packet analysis {"connection_id":175142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:17:26] local.INFO: Extracted packet for processing {"connection_id":175142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:17:26] local.INFO: GPS Element Parsed {"raw_longitude":754860096,"raw_latitude":117768176,"longitude_deg":75.4860096,"latitude_deg":11.7768176,"altitude":9,"angle":130,"satellites":44,"speed":54,"hex_longitude":"2cfe4040","hex_latitude":"0704fff0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931760896001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402238732540837888,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-133911690019872768,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788795948000,"timestamp_ms":1788795948000,"timestamp_seconds":1788795948,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8c0be0"} 
[2026-09-07 21: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-07 21:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:17: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-07 21:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931760896001,"66":27376,"213":206,"94":10240,"24":54,"16":402238732540837888,"44":-133911690019872768},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931760896001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:17:26] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:17:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402238732540837888,"km_value":402238732540837.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-133911690019872768,"description":"Unknown IO ID 44"} 
[2026-09-07 21:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931760896001,"power":27376,"unknown_213":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-133911690019872768}} 
[2026-09-07 21:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":175142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:17:26] local.INFO: GPS data processed {"connection_id":175142,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:17:26] local.INFO: Acknowledgment sent {"connection_id":175142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:17:43] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:43] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:43] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:17:49] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:49] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:17:49] local.INFO: IMEI packet received {"connection_id":173811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":173811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:17:50] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8c2738012cfe5d000704e8e00009007e2c..."} 
[2026-09-07 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8c2738012cfe5d000704e8e00009007e2c..."} 
[2026-09-07 21:17:50] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8c2738012cfe5d000704e8e00009007e2c..."} 
[2026-09-07 21:17:50] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:17:50] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":754867456,"raw_latitude":117762272,"longitude_deg":75.4867456,"latitude_deg":11.7762272,"altitude":9,"angle":126,"satellites":44,"speed":53,"hex_longitude":"2cfe5d00","hex_latitude":"0704e8e0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931762688001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402239187807371264,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-126030390673543168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788795955000,"timestamp_ms":1788795955000,"timestamp_seconds":1788795955,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8c2738"} 
[2026-09-07 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-07 21:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:17:50] 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-07 21:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931762688001,"66":27397,"213":206,"94":10240,"24":53,"16":402239187807371264,"44":-126030390673543168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931762688001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:17:50] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:17:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402239187807371264,"km_value":402239187807371.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-126030390673543168,"description":"Unknown IO ID 44"} 
[2026-09-07 21:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931762688001,"power":27397,"unknown_213":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-126030390673543168}} 
[2026-09-07 21:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:17:50] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:17:50] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:18:18] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:18:18] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:18:18] local.INFO: IMEI packet received {"connection_id":174045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":174045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:18:21] local.INFO: TCP Data received {"connection_id":173811,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8c4290012cfe7a000704d3680009007f2c..."} 
[2026-09-07 21:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8c4290012cfe7a000704d3680009007f2c..."} 
[2026-09-07 21:18:21] local.INFO: Processing buffer {"connection_id":173811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8c4290012cfe7a000704d3680009007f2c..."} 
[2026-09-07 21:18:21] local.INFO: Packet analysis {"connection_id":173811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:21] local.INFO: Extracted packet for processing {"connection_id":173811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:21] local.INFO: GPS Element Parsed {"raw_longitude":754874880,"raw_latitude":117756776,"longitude_deg":75.487488,"latitude_deg":11.7756776,"altitude":9,"angle":127,"satellites":44,"speed":52,"hex_longitude":"2cfe7a00","hex_latitude":"0704d368","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931764480001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402239625894035456,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-117937985094623232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788795962000,"timestamp_ms":1788795962000,"timestamp_seconds":1788795962,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8c4290"} 
[2026-09-07 21: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-07 21:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18: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-07 21:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931764480001,"66":27321,"213":206,"94":10240,"24":52,"16":402239625894035456,"44":-117937985094623232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-09-07 21:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931764480001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:18:21] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-09-07 21:18:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402239625894035456,"km_value":402239625894035.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-117937985094623232,"description":"Unknown IO ID 44"} 
[2026-09-07 21:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931764480001,"power":27321,"unknown_213":206,"unknown_94":10240,"ignition":52,"odometer":null,"unknown_44":-117937985094623232}} 
[2026-09-07 21:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":173811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:18:21] local.INFO: GPS data processed {"connection_id":173811,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:18:21] local.INFO: Acknowledgment sent {"connection_id":173811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:18:25] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8d7728012d7d270005cb1410000300ac15..."} 
[2026-09-07 21:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8d7728012d7d270005cb1410000300ac15..."} 
[2026-09-07 21:18:25] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8d7728012d7d270005cb1410000300ac15..."} 
[2026-09-07 21:18:25] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8d"} 
[2026-09-07 21:18:25] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8d"} 
[2026-09-07 21:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":97195024,"longitude_deg":76.3176704,"latitude_deg":9.7195024,"altitude":3,"angle":172,"satellites":21,"speed":10,"hex_longitude":"2d7d2700","hex_latitude":"05cb1410","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931785984001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129618608299966464,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106434970580992,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788796041000,"timestamp_ms":1788796041000,"timestamp_seconds":1788796041,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8d7728"} 
[2026-09-07 21: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-07 21:18:25] 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-07 21: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 21:18:25] 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-07 21: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-07 21: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-07 21:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931785984001,"66":12156,"131":206,"85":15104,"24":10,"16":129618608299966464,"45":9018106434970580992},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 21:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931785984001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:18:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 21:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129618608299966464,"km_value":129618608299966.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106434970580992,"description":"Unknown IO ID 45"} 
[2026-09-07 21:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931785984001,"power":12156,"unknown_131":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9018106434970580992}} 
[2026-09-07 21:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:18:25] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:18:25] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:18:46] local.INFO: TCP Data received {"connection_id":175144,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:18:46] local.INFO: Processing buffer {"connection_id":175144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:18:46] local.INFO: IMEI packet received {"connection_id":175144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":175144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:18:47] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:47] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:47] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:18:49] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:49] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:49] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:18:54] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:54] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:18:54] local.INFO: IMEI packet received {"connection_id":175143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":175143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:18:55] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8c5de8012cfe97c00704bd480008007e2a..."} 
[2026-09-07 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8c5de8012cfe97c00704bd480008007e2a..."} 
[2026-09-07 21:18:55] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8c5de8012cfe97c00704bd480008007e2a..."} 
[2026-09-07 21:18:55] local.INFO: Packet analysis {"connection_id":175143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:55] local.INFO: Extracted packet for processing {"connection_id":175143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":754882496,"raw_latitude":117751112,"longitude_deg":75.4882496,"latitude_deg":11.7751112,"altitude":8,"angle":126,"satellites":42,"speed":54,"hex_longitude":"2cfe97c0","hex_latitude":"0704bd48","is_valid_coordinates":true} 
[2026-09-07 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-07 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931766272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402240081160568832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-109775210771421184,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788795969000,"timestamp_ms":1788795969000,"timestamp_seconds":1788795969,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8c5de8"} 
[2026-09-07 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-07 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18:55] 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-07 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931766272001,"66":27365,"212":206,"94":10240,"24":54,"16":402240081160568832,"44":-109775210771421184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-07 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931766272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:18:55] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 21:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402240081160568832,"km_value":402240081160568.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-109775210771421184,"description":"Unknown IO ID 44"} 
[2026-09-07 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931766272001,"power":27365,"unknown_212":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_44":-109775210771421184}} 
[2026-09-07 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":175143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:18:55] local.INFO: GPS data processed {"connection_id":175143,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:18:55] local.INFO: Acknowledgment sent {"connection_id":175143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:18:56] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8c7940012cfeb6800704a6780006007f2a..."} 
[2026-09-07 21:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8c7940012cfeb6800704a6780006007f2a..."} 
[2026-09-07 21:18:56] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8c7940012cfeb6800704a6780006007f2a..."} 
[2026-09-07 21:18:56] local.INFO: Packet analysis {"connection_id":175143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:56] local.INFO: Extracted packet for processing {"connection_id":175143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8c"} 
[2026-09-07 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":754890368,"raw_latitude":117745272,"longitude_deg":75.4890368,"latitude_deg":11.7745272,"altitude":6,"angle":127,"satellites":42,"speed":55,"hex_longitude":"2cfeb680","hex_latitude":"0704a678","is_valid_coordinates":true} 
[2026-09-07 21:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931768064001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402240549312004096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-101401330215729152,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788795976000,"timestamp_ms":1788795976000,"timestamp_seconds":1788795976,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8c7940"} 
[2026-09-07 21:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":175143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:18:56] 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-07 21:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931768064001,"66":27267,"212":206,"94":10240,"24":55,"16":402240549312004096,"44":-101401330215729152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-09-07 21:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931768064001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:18:56] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-09-07 21:18:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402240549312004096,"km_value":402240549312004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:18:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-101401330215729152,"description":"Unknown IO ID 44"} 
[2026-09-07 21:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931768064001,"power":27267,"unknown_212":206,"unknown_94":10240,"ignition":55,"odometer":null,"unknown_44":-101401330215729152}} 
[2026-09-07 21:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":175143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:18:56] local.INFO: GPS data processed {"connection_id":175143,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:18:56] local.INFO: Acknowledgment sent {"connection_id":175143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:18:57] local.INFO: TCP Data received {"connection_id":174045,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8d7ef8012d7d26c005cb1130000300ba15..."} 
[2026-09-07 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8d7ef8012d7d26c005cb1130000300ba15..."} 
[2026-09-07 21:18:57] local.INFO: Processing buffer {"connection_id":174045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8d7ef8012d7d26c005cb1130000300ba15..."} 
[2026-09-07 21:18:57] local.INFO: Packet analysis {"connection_id":174045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8d"} 
[2026-09-07 21:18:57] local.INFO: Extracted packet for processing {"connection_id":174045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8d"} 
[2026-09-07 21:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":97194288,"longitude_deg":76.317664,"latitude_deg":9.7194288,"altitude":3,"angle":186,"satellites":21,"speed":17,"hex_longitude":"2d7d26c0","hex_latitude":"05cb1130","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931786496001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129618646954672128,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803714633728,"note":"Value kept but may cause issues"} 
[2026-09-07 21:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788796043000,"timestamp_ms":1788796043000,"timestamp_seconds":1788796043,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8d7ef8"} 
[2026-09-07 21: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-07 21:18: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-07 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 21:18:57] 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-07 21: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-07 21: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-07 21:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":174045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":174045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":174045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931786496001,"66":11711,"131":206,"85":15104,"24":17,"16":129618646954672128,"45":9018176803714633728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-09-07 21:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931786496001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:18:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-09-07 21:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129618646954672128,"km_value":129618646954672.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803714633728,"description":"Unknown IO ID 45"} 
[2026-09-07 21:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931786496001,"power":11711,"unknown_131":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9018176803714633728}} 
[2026-09-07 21:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":174045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:18:57] local.INFO: GPS data processed {"connection_id":174045,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:18:57] local.INFO: Acknowledgment sent {"connection_id":174045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:19:13] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:13] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:13] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:19:17] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:17] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:17] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:19:17] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:18] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:19:18] local.INFO: IMEI packet received {"connection_id":173812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":173812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:19:18] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8f0980012d7ca54005caa2880006011917..."} 
[2026-09-07 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8f0980012d7ca54005caa2880006011917..."} 
[2026-09-07 21:19:18] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8f0980012d7ca54005caa2880006011917..."} 
[2026-09-07 21:19:18] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:18] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763143488,"raw_latitude":97165960,"longitude_deg":76.3143488,"latitude_deg":9.716596,"altitude":6,"angle":281,"satellites":23,"speed":9,"hex_longitude":"2d7ca540","hex_latitude":"05caa288","is_valid_coordinates":true} 
[2026-09-07 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931809536001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129621322719297536,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8989114512361668608,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796144000,"timestamp_ms":1788796144000,"timestamp_seconds":1788796144,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8f0980"} 
[2026-09-07 21:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 21:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931809536001,"66":12624,"159":206,"85":15104,"24":9,"16":129621322719297536,"45":8989114512361668608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931809536001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:19:18] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129621322719297536,"km_value":129621322719297.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8989114512361668608,"description":"Unknown IO ID 45"} 
[2026-09-07 21:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931809536001,"power":12624,"unknown_159":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8989114512361668608}} 
[2026-09-07 21:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:19:18] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:19:18] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:19:19] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8f1538012d7ca10005caa4300006012617..."} 
[2026-09-07 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8f1538012d7ca10005caa4300006012617..."} 
[2026-09-07 21:19:19] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8f1538012d7ca10005caa4300006012617..."} 
[2026-09-07 21:19:19] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:19] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":763142400,"raw_latitude":97166384,"longitude_deg":76.31424,"latitude_deg":9.7166384,"altitude":6,"angle":294,"satellites":23,"speed":18,"hex_longitude":"2d7ca100","hex_latitude":"05caa430","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931812864001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129621378553872384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981655425478985728,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796147000,"timestamp_ms":1788796147000,"timestamp_seconds":1788796147,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8f1538"} 
[2026-09-07 21: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-07 21:19:19] 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-07 21: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-07 21:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931812864001,"66":12232,"159":206,"85":15104,"24":18,"16":129621378553872384,"45":8981655425478985728},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931812864001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:19:19] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129621378553872384,"km_value":129621378553872.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981655425478985728,"description":"Unknown IO ID 45"} 
[2026-09-07 21:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931812864001,"power":12232,"unknown_159":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8981655425478985728}} 
[2026-09-07 21:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:19:19] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:19:19] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:19:27] local.INFO: TCP Data received {"connection_id":175143,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8e7510012cffec4007040878000e006f2c..."} 
[2026-09-07 21:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8e7510012cffec4007040878000e006f2c..."} 
[2026-09-07 21:19:27] local.INFO: Processing buffer {"connection_id":175143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8e7510012cffec4007040878000e006f2c..."} 
[2026-09-07 21:19:27] local.INFO: Packet analysis {"connection_id":175143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:19:27] local.INFO: Extracted packet for processing {"connection_id":175143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:19:27] local.INFO: GPS Element Parsed {"raw_longitude":754969664,"raw_latitude":117704824,"longitude_deg":75.4969664,"latitude_deg":11.7704824,"altitude":14,"angle":111,"satellites":44,"speed":44,"hex_longitude":"2cffec40","hex_latitude":"07040878","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931801088001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402244852869234688,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-14988512376627200,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788796106000,"timestamp_ms":1788796106000,"timestamp_seconds":1788796106,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8e7510"} 
[2026-09-07 21: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-07 21:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:19:27] 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-07 21:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931801088001,"66":27213,"89":206,"94":10240,"24":44,"16":402244852869234688,"44":-14988512376627200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-07 21:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931801088001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:19:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 21:19:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402244852869234688,"km_value":402244852869234.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:19:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-14988512376627200,"description":"Unknown IO ID 44"} 
[2026-09-07 21:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931801088001,"power":27213,"unknown_89":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-14988512376627200}} 
[2026-09-07 21:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":175143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:19:27] local.INFO: GPS data processed {"connection_id":175143,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:19:27] local.INFO: Acknowledgment sent {"connection_id":175143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:19:49] local.INFO: TCP Data received {"connection_id":173812,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8f3478012d7c900005caaaa00006011718..."} 
[2026-09-07 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8f3478012d7c900005caaaa00006011718..."} 
[2026-09-07 21:19:49] local.INFO: Processing buffer {"connection_id":173812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8f3478012d7c900005caaaa00006011718..."} 
[2026-09-07 21:19:49] local.INFO: Packet analysis {"connection_id":173812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:49] local.INFO: Extracted packet for processing {"connection_id":173812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":763138048,"raw_latitude":97168032,"longitude_deg":76.3138048,"latitude_deg":9.7168032,"altitude":6,"angle":279,"satellites":24,"speed":24,"hex_longitude":"2d7c9000","hex_latitude":"05caaaa0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931813632001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129621601892171776,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980459156828073984,"note":"Value kept but may cause issues"} 
[2026-09-07 21:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796155000,"timestamp_ms":1788796155000,"timestamp_seconds":1788796155,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8f3478"} 
[2026-09-07 21: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-07 21:19:49] 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-07 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 21:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931813632001,"66":12232,"159":206,"85":15104,"24":24,"16":129621601892171776,"45":8980459156828073984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931813632001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:19:49] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129621601892171776,"km_value":129621601892171.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980459156828073984,"description":"Unknown IO ID 45"} 
[2026-09-07 21:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931813632001,"power":12232,"unknown_159":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8980459156828073984}} 
[2026-09-07 21:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":173812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:19:50] local.INFO: GPS data processed {"connection_id":173812,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:19:50] local.INFO: Acknowledgment sent {"connection_id":173812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:19:54] local.INFO: TCP Data received {"connection_id":174046,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:54] local.INFO: Processing buffer {"connection_id":174046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:54] local.INFO: IMEI packet received {"connection_id":174046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":174046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:19:55] local.INFO: TCP Data received {"connection_id":174046,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:55] local.INFO: Processing buffer {"connection_id":174046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:55] local.INFO: IMEI packet received {"connection_id":174046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":174046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:19:59] local.INFO: TCP Data received {"connection_id":174046,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:59] local.INFO: Processing buffer {"connection_id":174046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:19:59] local.INFO: IMEI packet received {"connection_id":174046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":174046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:20:00] local.INFO: TCP Data received {"connection_id":174046,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8e9450012d000d800703fc18000e006f2b..."} 
[2026-09-07 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8e9450012d000d800703fc18000e006f2b..."} 
[2026-09-07 21:20:00] local.INFO: Processing buffer {"connection_id":174046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8e9450012d000d800703fc18000e006f2b..."} 
[2026-09-07 21:20:00] local.INFO: Packet analysis {"connection_id":174046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:20:00] local.INFO: Extracted packet for processing {"connection_id":174046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":754978176,"raw_latitude":117701656,"longitude_deg":75.4978176,"latitude_deg":11.7701656,"altitude":14,"angle":111,"satellites":43,"speed":44,"hex_longitude":"2d000d80","hex_latitude":"0703fc18","is_valid_coordinates":true} 
[2026-09-07 21:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931803136001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402245286660931584,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5559100657600512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788796114000,"timestamp_ms":1788796114000,"timestamp_seconds":1788796114,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8e9450"} 
[2026-09-07 21:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 21:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 21:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":174046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":174046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":174046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:20:00] 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-07 21:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931803136001,"66":27332,"89":206,"94":10240,"24":44,"16":402245286660931584,"44":-5559100657600512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,44]} 
[2026-09-07 21:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931803136001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:20:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 21:20:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402245286660931584,"km_value":402245286660931.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5559100657600512,"description":"Unknown IO ID 44"} 
[2026-09-07 21:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931803136001,"power":27332,"unknown_89":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-5559100657600512}} 
[2026-09-07 21:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":174046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:20:00] local.INFO: GPS data processed {"connection_id":174046,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:20:00] local.INFO: Acknowledgment sent {"connection_id":174046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:20:01] local.INFO: TCP Data received {"connection_id":174046,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8eb390012d002f800703ef90000e006f2c..."} 
[2026-09-07 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8eb390012d002f800703ef90000e006f2c..."} 
[2026-09-07 21:20:01] local.INFO: Processing buffer {"connection_id":174046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8eb390012d002f800703ef90000e006f2c..."} 
[2026-09-07 21:20:01] local.INFO: Packet analysis {"connection_id":174046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:20:01] local.INFO: Extracted packet for processing {"connection_id":174046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8e"} 
[2026-09-07 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":754986880,"raw_latitude":117698448,"longitude_deg":75.498688,"latitude_deg":11.7698448,"altitude":14,"angle":111,"satellites":44,"speed":46,"hex_longitude":"2d002f80","hex_latitude":"0703ef90","is_valid_coordinates":true} 
[2026-09-07 21:20: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-07 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931805184001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402245724747595776,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799942317217792,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788796122000,"timestamp_ms":1788796122000,"timestamp_seconds":1788796122,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8eb390"} 
[2026-09-07 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:20: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-07 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":174046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":174046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":174046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:20:01] 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-07 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931805184001,"66":27365,"89":206,"94":10240,"24":46,"16":402245724747595776,"45":3799942317217792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-09-07 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931805184001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:20:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-09-07 21:20:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402245724747595776,"km_value":402245724747595.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799942317217792,"description":"Unknown IO ID 45"} 
[2026-09-07 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931805184001,"power":27365,"unknown_89":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_45":3799942317217792}} 
[2026-09-07 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":174046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:20:01] local.INFO: GPS data processed {"connection_id":174046,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:20:01] local.INFO: Acknowledgment sent {"connection_id":174046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:20:13] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:20:13] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:13] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:20:18] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:18] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:20:18] local.INFO: IMEI packet received {"connection_id":175145,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":175145,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:20:19] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c900768012d7c250005cabe88000a00f818..."} 
[2026-09-07 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c900768012d7c250005cabe88000a00f818..."} 
[2026-09-07 21:20:19] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c900768012d7c250005cabe88000a00f818..."} 
[2026-09-07 21:20:19] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:20:19] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763110656,"raw_latitude":97173128,"longitude_deg":76.3110656,"latitude_deg":9.7173128,"altitude":10,"angle":248,"satellites":24,"speed":6,"hex_longitude":"2d7c2500","hex_latitude":"05cabe88","is_valid_coordinates":true} 
[2026-09-07 21:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931825152001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129622976281706496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954704196460623872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796209000,"timestamp_ms":1788796209000,"timestamp_seconds":1788796209,"priority":1,"record_length":96,"hex_timestamp":"000001a07c900768"} 
[2026-09-07 21:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:20:19] 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-07 21:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931825152001,"66":12374,"159":206,"85":15104,"24":6,"16":129622976281706496,"45":8954704196460623872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931825152001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:20:19] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129622976281706496,"km_value":129622976281706.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954704196460623872,"description":"Unknown IO ID 45"} 
[2026-09-07 21:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931825152001,"power":12374,"unknown_159":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8954704196460623872}} 
[2026-09-07 21:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:20:19] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:20:19] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:20:50] local.INFO: TCP Data received {"connection_id":175145,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c900f38012d7c23c005cabe68000a010d18..."} 
[2026-09-07 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c900f38012d7c23c005cabe68000a010d18..."} 
[2026-09-07 21:20:50] local.INFO: Processing buffer {"connection_id":175145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c900f38012d7c23c005cabe68000a010d18..."} 
[2026-09-07 21:20:50] local.INFO: Packet analysis {"connection_id":175145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:20:50] local.INFO: Extracted packet for processing {"connection_id":175145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":763110336,"raw_latitude":97173096,"longitude_deg":76.3110336,"latitude_deg":9.7173096,"altitude":10,"angle":269,"satellites":24,"speed":8,"hex_longitude":"2d7c23c0","hex_latitude":"05cabe68","is_valid_coordinates":true} 
[2026-09-07 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931829504001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129622993461575680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945556259717679104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796211000,"timestamp_ms":1788796211000,"timestamp_seconds":1788796211,"priority":1,"record_length":96,"hex_timestamp":"000001a07c900f38"} 
[2026-09-07 21:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:20: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-07 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 21:20: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-07 21:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175145,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931829504001,"66":12298,"159":206,"85":15104,"24":8,"16":129622993461575680,"45":8945556259717679104},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931829504001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:20:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129622993461575680,"km_value":129622993461575.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945556259717679104,"description":"Unknown IO ID 45"} 
[2026-09-07 21:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931829504001,"power":12298,"unknown_159":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8945556259717679104}} 
[2026-09-07 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":175145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:20:50] local.INFO: GPS data processed {"connection_id":175145,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:20:50] local.INFO: Acknowledgment sent {"connection_id":175145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:20:59] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:20:59] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:20:59] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:21:00] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:00] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:00] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:04] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:04] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:04] local.INFO: IMEI packet received {"connection_id":173813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":173813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:05] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c8ffbb0012d01ad40070361e0000b00792a..."} 
[2026-09-07 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c8ffbb0012d01ad40070361e0000b00792a..."} 
[2026-09-07 21:21:05] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c8ffbb0012d01ad40070361e0000b00792a..."} 
[2026-09-07 21:21:05] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:21:05] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c8f"} 
[2026-09-07 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":755084608,"raw_latitude":117662176,"longitude_deg":75.5084608,"latitude_deg":11.7662176,"altitude":11,"angle":121,"satellites":42,"speed":48,"hex_longitude":"2d01ad40","hex_latitude":"070361e0","is_valid_coordinates":true} 
[2026-09-07 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931826944001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402250689729789952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":111745595876728832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788796206000,"timestamp_ms":1788796206000,"timestamp_seconds":1788796206,"priority":1,"record_length":96,"hex_timestamp":"000001a07c8ffbb0"} 
[2026-09-07 21:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:05] 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-07 21:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931826944001,"66":27321,"79":206,"94":11008,"24":48,"16":402250689729789952,"45":111745595876728832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-07 21:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931826944001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:21:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 21:21:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402250689729789952,"km_value":402250689729789.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":111745595876728832,"description":"Unknown IO ID 45"} 
[2026-09-07 21:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931826944001,"power":27321,"unknown_79":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":111745595876728832}} 
[2026-09-07 21:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:21:05] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:21:05] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:21:13] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:21:13] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:13] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:13] local.INFO: TCP Data received {"connection_id":173813,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c901af0012d01ca4007034cc0000c008228..."} 
[2026-09-07 21:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c901af0012d01ca4007034cc0000c008228..."} 
[2026-09-07 21:21:13] local.INFO: Processing buffer {"connection_id":173813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c901af0012d01ca4007034cc0000c008228..."} 
[2026-09-07 21:21:13] local.INFO: Packet analysis {"connection_id":173813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:13] local.INFO: Extracted packet for processing {"connection_id":173813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755092032,"raw_latitude":117656768,"longitude_deg":75.5092032,"latitude_deg":11.7656768,"altitude":12,"angle":130,"satellites":40,"speed":43,"hex_longitude":"2d01ca40","hex_latitude":"07034cc0","is_valid_coordinates":true} 
[2026-09-07 21:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931828736001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402251127816454144,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":120823163874566144,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1788796214000,"timestamp_ms":1788796214000,"timestamp_seconds":1788796214,"priority":1,"record_length":96,"hex_timestamp":"000001a07c901af0"} 
[2026-09-07 21:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":173813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":173813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931828736001,"66":27321,"154":206,"94":10240,"24":43,"16":402251127816454144,"45":120823163874566144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-09-07 21:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931828736001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:21:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-07 21:21:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402251127816454144,"km_value":402251127816454.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":120823163874566144,"description":"Unknown IO ID 45"} 
[2026-09-07 21:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931828736001,"power":27321,"unknown_154":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_45":120823163874566144}} 
[2026-09-07 21:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":173813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:21:13] local.INFO: GPS data processed {"connection_id":173813,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:21:13] local.INFO: Acknowledgment sent {"connection_id":173813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:21:16] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:16] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:21:16] local.INFO: IMEI packet received {"connection_id":174047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":174047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:17] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9022c0012d7c1cc005cabf300009011918..."} 
[2026-09-07 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9022c0012d7c1cc005cabf300009011918..."} 
[2026-09-07 21:21:17] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9022c0012d7c1cc005cabf300009011918..."} 
[2026-09-07 21:21:17] local.INFO: Packet analysis {"connection_id":174047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:17] local.INFO: Extracted packet for processing {"connection_id":174047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:17] local.INFO: GPS Element Parsed {"raw_longitude":763108544,"raw_latitude":97173296,"longitude_deg":76.3108544,"latitude_deg":9.7173296,"altitude":9,"angle":281,"satellites":24,"speed":13,"hex_longitude":"2d7c1cc0","hex_latitude":"05cabf30","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931830016001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129623079360921600,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204415996782592,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788796216000,"timestamp_ms":1788796216000,"timestamp_seconds":1788796216,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9022c0"} 
[2026-09-07 21: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-07 21:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436852359680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8975544761673677923,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245098168526,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":8,"raw_value":80807507907313664,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":22,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":417346232760336649,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2410772481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3072327688,"corrected_to":0} 
[2026-09-07 21:21:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812215502,"corrected_to":0} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2415996284,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3221605045,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2196504576,"corrected_to":0} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3400859648,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-1945555039024054271,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,159,85,24,241,157,16,131,160,7,45,190,10,66,197,128,188,8,22,193,64,1,240,97,227,124,202,4,113,205,19,173,78,208,239,48,2,204,5,130],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":202,"original":3072327688,"validated":0},{"io_id":205,"original":2812215502,"validated":0},{"io_id":204,"original":2196504576,"validated":0}]} 
[2026-09-07 21:21:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720871812086890496,"timestamp_seconds":720871812086890.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931830016001,"66":11341,"159":206,"85":15104,"24":13,"16":129623079360921600,"45":8945204415996782592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931830016001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:21:17] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129623079360921600,"km_value":129623079360921.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204415996782592,"description":"Unknown IO ID 45"} 
[2026-09-07 21:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931830016001,"power":11341,"unknown_159":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8945204415996782592}} 
[2026-09-07 21:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":174047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:21:17] local.INFO: GPS data processed {"connection_id":174047,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:21:17] local.INFO: Acknowledgment sent {"connection_id":174047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:21:44] local.INFO: TCP Data received {"connection_id":176563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:44] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:44] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:21:45] local.INFO: TCP Data received {"connection_id":176563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:45] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:45] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:48] local.INFO: TCP Data received {"connection_id":174047,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c912878012d7bb04005cae1980008010018..."} 
[2026-09-07 21:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c912878012d7bb04005cae1980008010018..."} 
[2026-09-07 21:21:48] local.INFO: Processing buffer {"connection_id":174047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c912878012d7bb04005cae1980008010018..."} 
[2026-09-07 21:21:48] local.INFO: Packet analysis {"connection_id":174047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:21:48] local.INFO: Extracted packet for processing {"connection_id":174047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:21:48] local.INFO: GPS Element Parsed {"raw_longitude":763080768,"raw_latitude":97182104,"longitude_deg":76.3080768,"latitude_deg":9.7182104,"altitude":8,"angle":256,"satellites":24,"speed":13,"hex_longitude":"2d7bb040","hex_latitude":"05cae198","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931846912001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129624548239736832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914805118514419712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788796283000,"timestamp_ms":1788796283000,"timestamp_seconds":1788796283,"priority":1,"record_length":96,"hex_timestamp":"000001a07c912878"} 
[2026-09-07 21: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-07 21:21:48] 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-07 21: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 21:21:48] 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-07 21: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-07 21: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-07 21:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931846912001,"66":12015,"161":206,"85":15104,"24":13,"16":129624548239736832,"45":8914805118514419712},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931846912001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:21:48] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:21:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129624548239736832,"km_value":129624548239736.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914805118514419712,"description":"Unknown IO ID 45"} 
[2026-09-07 21:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931846912001,"power":12015,"unknown_161":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8914805118514419712}} 
[2026-09-07 21:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":174047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:21:48] local.INFO: GPS data processed {"connection_id":174047,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:21:48] local.INFO: Acknowledgment sent {"connection_id":174047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:21:49] local.INFO: TCP Data received {"connection_id":176563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:49] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:21:49] local.INFO: IMEI packet received {"connection_id":176563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":176563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:21:50] local.INFO: TCP Data received {"connection_id":176563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c903a30012d01e300070333f0000d008c2a..."} 
[2026-09-07 21:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c903a30012d01e300070333f0000d008c2a..."} 
[2026-09-07 21:21:50] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c903a30012d01e300070333f0000d008c2a..."} 
[2026-09-07 21:21:50] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:50] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:21:50] local.INFO: GPS Element Parsed {"raw_longitude":755098368,"raw_latitude":117650416,"longitude_deg":75.5098368,"latitude_deg":11.7650416,"altitude":13,"angle":140,"satellites":42,"speed":44,"hex_longitude":"2d01e300","hex_latitude":"070333f0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931830784001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402251561608151040,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":128985938197790720,"note":"Value kept but may cause issues"} 
[2026-09-07 21:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796222000,"timestamp_ms":1788796222000,"timestamp_seconds":1788796222,"priority":1,"record_length":96,"hex_timestamp":"000001a07c903a30"} 
[2026-09-07 21: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-07 21:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:21:50] 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-07 21:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931830784001,"66":27321,"154":206,"94":10240,"24":44,"16":402251561608151040,"45":128985938197790720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-09-07 21:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931830784001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:21:50] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-07 21:21:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402251561608151040,"km_value":402251561608151.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":128985938197790720,"description":"Unknown IO ID 45"} 
[2026-09-07 21:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931830784001,"power":27321,"unknown_154":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":128985938197790720}} 
[2026-09-07 21:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:21:50] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:21:50] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:22:10] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:10] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:10] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:22:13] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:22:13] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:13] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:22:17] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:17] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:22:17] local.INFO: IMEI packet received {"connection_id":175146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":175146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:22:18] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9147b8012d7ba28005cadfe80007010d17..."} 
[2026-09-07 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9147b8012d7ba28005cadfe80007010d17..."} 
[2026-09-07 21:22:18] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9147b8012d7ba28005cadfe80007010d17..."} 
[2026-09-07 21:22:18] local.INFO: Packet analysis {"connection_id":175146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:18] local.INFO: Extracted packet for processing {"connection_id":175146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763077248,"raw_latitude":97181672,"longitude_deg":76.3077248,"latitude_deg":9.7181672,"altitude":7,"angle":269,"satellites":23,"speed":18,"hex_longitude":"2d7ba280","hex_latitude":"05cadfe8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931848448001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129624720038428672,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912694056189007872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796291000,"timestamp_ms":1788796291000,"timestamp_seconds":1788796291,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9147b8"} 
[2026-09-07 21: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-07 21:22:18] 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-07 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 21:22:18] 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-07 21: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-07 21: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-07 21:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931848448001,"66":12015,"161":206,"85":15104,"24":18,"16":129624720038428672,"45":8912694056189007872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931848448001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:22:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129624720038428672,"km_value":129624720038428.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912694056189007872,"description":"Unknown IO ID 45"} 
[2026-09-07 21:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931848448001,"power":12015,"unknown_161":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8912694056189007872}} 
[2026-09-07 21:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":175146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:22:18] local.INFO: GPS data processed {"connection_id":175146,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:22:18] local.INFO: Acknowledgment sent {"connection_id":175146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:22:21] local.INFO: TCP Data received {"connection_id":176563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c905970012d01f780070316d8000f00952b..."} 
[2026-09-07 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c905970012d01f780070316d8000f00952b..."} 
[2026-09-07 21:22:21] local.INFO: Processing buffer {"connection_id":176563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c905970012d01f780070316d8000f00952b..."} 
[2026-09-07 21:22:21] local.INFO: Packet analysis {"connection_id":176563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:22:21] local.INFO: Extracted packet for processing {"connection_id":176563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c90"} 
[2026-09-07 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":755103616,"raw_latitude":117642968,"longitude_deg":75.5103616,"latitude_deg":11.7642968,"altitude":15,"angle":149,"satellites":43,"speed":45,"hex_longitude":"2d01f780","hex_latitude":"070316d8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931832832001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402251999694815232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":135952443869753344,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788796230000,"timestamp_ms":1788796230000,"timestamp_seconds":1788796230,"priority":1,"record_length":96,"hex_timestamp":"000001a07c905970"} 
[2026-09-07 21: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-07 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:22: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-07 21:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931832832001,"66":27321,"154":206,"94":10240,"24":45,"16":402251999694815232,"45":135952443869753344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,94,24,16,45]} 
[2026-09-07 21:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931832832001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:22:21] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-09-07 21:22:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-09-07 21:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402251999694815232,"km_value":402251999694815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":135952443869753344,"description":"Unknown IO ID 45"} 
[2026-09-07 21:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931832832001,"power":27321,"unknown_154":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_45":135952443869753344}} 
[2026-09-07 21:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":176563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:22:21] local.INFO: GPS data processed {"connection_id":176563,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:22:21] local.INFO: Acknowledgment sent {"connection_id":176563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:22:44] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:44] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:44] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:22:48] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:48] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:22:48] local.INFO: IMEI packet received {"connection_id":176565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":176565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:22:48] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c918e08012d027b0007019910000900a22c..."} 
[2026-09-07 21:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c918e08012d027b0007019910000900a22c..."} 
[2026-09-07 21:22:48] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c918e08012d027b0007019910000900a22c..."} 
[2026-09-07 21:22:48] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:48] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:48] local.INFO: GPS Element Parsed {"raw_longitude":755137280,"raw_latitude":117545232,"longitude_deg":75.513728,"latitude_deg":11.7545232,"altitude":9,"angle":162,"satellites":44,"speed":54,"hex_longitude":"2d027b00","hex_latitude":"07019910","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931853312001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402257007626682368,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":175358940584679424,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796309000,"timestamp_ms":1788796309000,"timestamp_seconds":1788796309,"priority":1,"record_length":96,"hex_timestamp":"000001a07c918e08"} 
[2026-09-07 21: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-07 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:22:49] 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-07 21:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931853312001,"66":27376,"79":206,"94":11008,"24":54,"16":402257007626682368,"45":175358940584679424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931853312001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402257007626682368,"km_value":402257007626682.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":175358940584679424,"description":"Unknown IO ID 45"} 
[2026-09-07 21:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931853312001,"power":27376,"unknown_79":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":175358940584679424}} 
[2026-09-07 21:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:22:49] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:22:49] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:22:49] local.INFO: TCP Data received {"connection_id":175146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c916ec8012d7b8f0005cadef80005010118..."} 
[2026-09-07 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c916ec8012d7b8f0005cadef80005010118..."} 
[2026-09-07 21:22:49] local.INFO: Processing buffer {"connection_id":175146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c916ec8012d7b8f0005cadef80005010118..."} 
[2026-09-07 21:22:49] local.INFO: Packet analysis {"connection_id":175146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:49] local.INFO: Extracted packet for processing {"connection_id":175146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763072256,"raw_latitude":97181432,"longitude_deg":76.3072256,"latitude_deg":9.7181432,"altitude":5,"angle":257,"satellites":24,"speed":20,"hex_longitude":"2d7b8f00","hex_latitude":"05cadef8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931850496001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129624956261629952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908823775259125760,"note":"Value kept but may cause issues"} 
[2026-09-07 21:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796301000,"timestamp_ms":1788796301000,"timestamp_seconds":1788796301,"priority":1,"record_length":96,"hex_timestamp":"000001a07c916ec8"} 
[2026-09-07 21: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-07 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-09-07 21:22:49] 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-07 21: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-07 21: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-07 21:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931850496001,"66":12156,"161":206,"85":15104,"24":20,"16":129624956261629952,"45":8908823775259125760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931850496001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129624956261629952,"km_value":129624956261629.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908823775259125760,"description":"Unknown IO ID 45"} 
[2026-09-07 21:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931850496001,"power":12156,"unknown_161":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8908823775259125760}} 
[2026-09-07 21:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":175146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:22:49] local.INFO: GPS data processed {"connection_id":175146,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:22:49] local.INFO: Acknowledgment sent {"connection_id":175146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:23:13] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:23:13] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:13] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:23:19] local.INFO: TCP Data received {"connection_id":176565,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c91a960012d02864007017668000b00a12c..."} 
[2026-09-07 21:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c91a960012d02864007017668000b00a12c..."} 
[2026-09-07 21:23:19] local.INFO: Processing buffer {"connection_id":176565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c91a960012d02864007017668000b00a12c..."} 
[2026-09-07 21:23:19] local.INFO: Packet analysis {"connection_id":176565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:19] local.INFO: Extracted packet for processing {"connection_id":176565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:19] local.INFO: GPS Element Parsed {"raw_longitude":755140160,"raw_latitude":117536360,"longitude_deg":75.514016,"latitude_deg":11.753636,"altitude":11,"angle":161,"satellites":44,"speed":52,"hex_longitude":"2d028640","hex_latitude":"07017668","is_valid_coordinates":true} 
[2026-09-07 21:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931855104001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402257458598248448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":178736640302845952,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796316000,"timestamp_ms":1788796316000,"timestamp_seconds":1788796316,"priority":1,"record_length":96,"hex_timestamp":"000001a07c91a960"} 
[2026-09-07 21:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:23: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-07 21:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931855104001,"66":27321,"79":206,"94":11008,"24":52,"16":402257458598248448,"45":178736640302845952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-07 21:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931855104001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:23:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 21:23:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402257458598248448,"km_value":402257458598248.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":178736640302845952,"description":"Unknown IO ID 45"} 
[2026-09-07 21:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931855104001,"power":27321,"unknown_79":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":178736640302845952}} 
[2026-09-07 21:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":176565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:23:19] local.INFO: GPS data processed {"connection_id":176565,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:23:19] local.INFO: Acknowledgment sent {"connection_id":176565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:23:26] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:26] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:23:26] local.INFO: IMEI packet received {"connection_id":175148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":175148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:23:29] local.INFO: TCP Data received {"connection_id":175148,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c91b130012d7b6c4005cad7e80009010017..."} 
[2026-09-07 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c91b130012d7b6c4005cad7e80009010017..."} 
[2026-09-07 21:23:29] local.INFO: Processing buffer {"connection_id":175148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c91b130012d7b6c4005cad7e80009010017..."} 
[2026-09-07 21:23:29] local.INFO: Packet analysis {"connection_id":175148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:29] local.INFO: Extracted packet for processing {"connection_id":175148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763063360,"raw_latitude":97179624,"longitude_deg":76.306336,"latitude_deg":9.7179624,"altitude":9,"angle":256,"satellites":23,"speed":5,"hex_longitude":"2d7b6c40","hex_latitude":"05cad7e8","is_valid_coordinates":true} 
[2026-09-07 21:23: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-07 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931853056001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129625390053326848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903335013213206528,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788796318000,"timestamp_ms":1788796318000,"timestamp_seconds":1788796318,"priority":1,"record_length":96,"hex_timestamp":"000001a07c91b130"} 
[2026-09-07 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:23:29] 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-07 21:23: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":124,"data_length":795,"current_offset":136} 
[2026-09-07 21:23:29] 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-07 21:23: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-07 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931853056001,"66":11776,"161":206,"85":15104,"24":5,"16":129625390053326848,"45":8903335013213206528},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931853056001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:23:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129625390053326848,"km_value":129625390053326.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903335013213206528,"description":"Unknown IO ID 45"} 
[2026-09-07 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931853056001,"power":11776,"unknown_161":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8903335013213206528}} 
[2026-09-07 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":175148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:23:29] local.INFO: GPS data processed {"connection_id":175148,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:23:29] local.INFO: Acknowledgment sent {"connection_id":175148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:23:43] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:43] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:43] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:23:45] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:45] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:45] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:23:49] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:49] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:23:49] local.INFO: IMEI packet received {"connection_id":173814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":173814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:23:49] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c91c4b8012d02928007015448000b009e2b..."} 
[2026-09-07 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c91c4b8012d02928007015448000b009e2b..."} 
[2026-09-07 21:23:49] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c91c4b8012d02928007015448000b009e2b..."} 
[2026-09-07 21:23:49] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:49] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c91"} 
[2026-09-07 21:23:49] local.INFO: GPS Element Parsed {"raw_longitude":755143296,"raw_latitude":117527624,"longitude_deg":75.5143296,"latitude_deg":11.7527624,"altitude":11,"angle":158,"satellites":43,"speed":52,"hex_longitude":"2d029280","hex_latitude":"07015448","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931856896001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402257905274847232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":181903233788569600,"note":"Value kept but may cause issues"} 
[2026-09-07 21:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796323000,"timestamp_ms":1788796323000,"timestamp_seconds":1788796323,"priority":1,"record_length":96,"hex_timestamp":"000001a07c91c4b8"} 
[2026-09-07 21: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-07 21:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:23:49] 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-07 21:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931856896001,"66":27332,"79":206,"94":11008,"24":52,"16":402257905274847232,"45":181903233788569600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-09-07 21:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931856896001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:23:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 21:23:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402257905274847232,"km_value":402257905274847.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":181903233788569600,"description":"Unknown IO ID 45"} 
[2026-09-07 21:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931856896001,"power":27332,"unknown_79":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":181903233788569600}} 
[2026-09-07 21:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:23:49] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:23:49] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:24:11] local.INFO: TCP Data received {"connection_id":174048,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:24:11] local.INFO: Processing buffer {"connection_id":174048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:24:11] local.INFO: IMEI packet received {"connection_id":174048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":174048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:24:14] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:24:14] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:14] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:24:18] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:18] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:24:18] local.INFO: IMEI packet received {"connection_id":173815,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":173815,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:24:19] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c934b58012d7ab50005cadde80008013718..."} 
[2026-09-07 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c934b58012d7ab50005cadde80008013718..."} 
[2026-09-07 21:24:19] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c934b58012d7ab50005cadde80008013718..."} 
[2026-09-07 21:24:19] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:19] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763016448,"raw_latitude":97181160,"longitude_deg":76.3016448,"latitude_deg":9.718116,"altitude":8,"angle":311,"satellites":24,"speed":10,"hex_longitude":"2d7ab500","hex_latitude":"05cadde8","is_valid_coordinates":true} 
[2026-09-07 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931884032001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129627666385993728,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8842114205778534400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796423000,"timestamp_ms":1788796423000,"timestamp_seconds":1788796423,"priority":1,"record_length":96,"hex_timestamp":"000001a07c934b58"} 
[2026-09-07 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:24:19] 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-07 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 21:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931884032001,"66":11210,"92":206,"85":15104,"24":10,"16":129627666385993728,"45":8842114205778534400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-09-07 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931884032001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:24:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-07 21:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129627666385993728,"km_value":129627666385993.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8842114205778534400,"description":"Unknown IO ID 45"} 
[2026-09-07 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931884032001,"power":11210,"unknown_92":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8842114205778534400}} 
[2026-09-07 21:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:24:20] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:24:20] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:24:21] local.INFO: TCP Data received {"connection_id":173814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9308f0012d03180006ffb080000d009f2b..."} 
[2026-09-07 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9308f0012d03180006ffb080000d009f2b..."} 
[2026-09-07 21:24:21] local.INFO: Processing buffer {"connection_id":173814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9308f0012d03180006ffb080000d009f2b..."} 
[2026-09-07 21:24:21] local.INFO: Packet analysis {"connection_id":173814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:21] local.INFO: Extracted packet for processing {"connection_id":173814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":755177472,"raw_latitude":117420160,"longitude_deg":75.5177472,"latitude_deg":11.742016,"altitude":13,"angle":159,"satellites":43,"speed":59,"hex_longitude":"2d031800","hex_latitude":"06ffb080","is_valid_coordinates":true} 
[2026-09-07 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931878400001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402263368473247744,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":219831986872768512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788796406000,"timestamp_ms":1788796406000,"timestamp_seconds":1788796406,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9308f0"} 
[2026-09-07 21:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24: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-07 21:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931878400001,"66":27332,"111":206,"94":11008,"24":59,"16":402263368473247744,"45":219831986872768512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-07 21:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931878400001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:24:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:24:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402263368473247744,"km_value":402263368473247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":219831986872768512,"description":"Unknown IO ID 45"} 
[2026-09-07 21:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931878400001,"power":27332,"unknown_111":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":219831986872768512}} 
[2026-09-07 21:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":173814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:24:21] local.INFO: GPS data processed {"connection_id":173814,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:24:21] local.INFO: Acknowledgment sent {"connection_id":173814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:24:46] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:46] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:46] local.INFO: IMEI packet received {"connection_id":174049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":174049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:24:49] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:49] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:49] local.INFO: IMEI packet received {"connection_id":174049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:24:52] local.INFO: TCP Data received {"connection_id":173815,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c934f40012d7ab44005cadeb00007014818..."} 
[2026-09-07 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c934f40012d7ab44005cadeb00007014818..."} 
[2026-09-07 21:24:52] local.INFO: Processing buffer {"connection_id":173815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c934f40012d7ab44005cadeb00007014818..."} 
[2026-09-07 21:24:52] local.INFO: Packet analysis {"connection_id":173815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:52] local.INFO: Extracted packet for processing {"connection_id":173815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":763016256,"raw_latitude":97181360,"longitude_deg":76.3016256,"latitude_deg":9.718136,"altitude":7,"angle":328,"satellites":24,"speed":10,"hex_longitude":"2d7ab440","hex_latitude":"05cadeb0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931884288001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129627674975928320,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841973468290213888,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788796424000,"timestamp_ms":1788796424000,"timestamp_seconds":1788796424,"priority":1,"record_length":96,"hex_timestamp":"000001a07c934f40"} 
[2026-09-07 21: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-07 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 21:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":173815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":173815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":173815,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931884288001,"66":11210,"92":206,"85":15104,"24":10,"16":129627674975928320,"45":8841973468290213888},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-09-07 21:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931884288001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:24:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-07 21:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129627674975928320,"km_value":129627674975928.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841973468290213888,"description":"Unknown IO ID 45"} 
[2026-09-07 21:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931884288001,"power":11210,"unknown_92":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8841973468290213888}} 
[2026-09-07 21:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":173815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:24:52] local.INFO: GPS data processed {"connection_id":173815,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:24:52] local.INFO: Acknowledgment sent {"connection_id":173815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:24:52] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:52] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:24:52] local.INFO: IMEI packet received {"connection_id":174049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":174049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:24:53] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c932448012d0328c006ff8bd0000b00972a..."} 
[2026-09-07 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c932448012d0328c006ff8bd0000b00972a..."} 
[2026-09-07 21:24:53] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c932448012d0328c006ff8bd0000b00972a..."} 
[2026-09-07 21:24:53] local.INFO: Packet analysis {"connection_id":174049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:53] local.INFO: Extracted packet for processing {"connection_id":174049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:53] local.INFO: GPS Element Parsed {"raw_longitude":755181760,"raw_latitude":117410768,"longitude_deg":75.518176,"latitude_deg":11.7410768,"altitude":11,"angle":151,"satellites":42,"speed":58,"hex_longitude":"2d0328c0","hex_latitude":"06ff8bd0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931879936001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402263866689454080,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":222928211614400512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788796413000,"timestamp_ms":1788796413000,"timestamp_seconds":1788796413,"priority":1,"record_length":96,"hex_timestamp":"000001a07c932448"} 
[2026-09-07 21: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-07 21:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24:53] 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-07 21:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931879936001,"66":27397,"111":206,"94":11008,"24":58,"16":402263866689454080,"45":222928211614400512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-07 21:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931879936001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:24:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:24:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402263866689454080,"km_value":402263866689454.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":222928211614400512,"description":"Unknown IO ID 45"} 
[2026-09-07 21:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931879936001,"power":27397,"unknown_111":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":222928211614400512}} 
[2026-09-07 21:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":174049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:24:53] local.INFO: GPS data processed {"connection_id":174049,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:24:53] local.INFO: Acknowledgment sent {"connection_id":174049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:24:54] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c933fa0012d033ec006ff69980008008f2b..."} 
[2026-09-07 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c933fa0012d033ec006ff69980008008f2b..."} 
[2026-09-07 21:24:54] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c933fa0012d033ec006ff69980008008f2b..."} 
[2026-09-07 21:24:54] local.INFO: Packet analysis {"connection_id":174049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:54] local.INFO: Extracted packet for processing {"connection_id":174049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":755187392,"raw_latitude":117402008,"longitude_deg":75.5187392,"latitude_deg":11.7402008,"altitude":8,"angle":143,"satellites":43,"speed":59,"hex_longitude":"2d033ec0","hex_latitude":"06ff6998","is_valid_coordinates":true} 
[2026-09-07 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-07 21:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931881728001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402264369200627712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":227642917471899648,"note":"Value kept but may cause issues"} 
[2026-09-07 21:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788796420000,"timestamp_ms":1788796420000,"timestamp_seconds":1788796420,"priority":1,"record_length":96,"hex_timestamp":"000001a07c933fa0"} 
[2026-09-07 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-07 21:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:24:54] 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-07 21:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931881728001,"66":27332,"111":206,"94":11008,"24":59,"16":402264369200627712,"45":227642917471899648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-09-07 21:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931881728001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:24:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:24:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402264369200627712,"km_value":402264369200627.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":227642917471899648,"description":"Unknown IO ID 45"} 
[2026-09-07 21:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931881728001,"power":27332,"unknown_111":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":227642917471899648}} 
[2026-09-07 21:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":174049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:24:54] local.INFO: GPS data processed {"connection_id":174049,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:24:54] local.INFO: Acknowledgment sent {"connection_id":174049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:25:13] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:13] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:13] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:25:18] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:18] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:25:18] local.INFO: IMEI packet received {"connection_id":176566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":176566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:25:19] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c935328012d7ab40005cadfb80007016219..."} 
[2026-09-07 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c935328012d7ab40005cadfb80007016219..."} 
[2026-09-07 21:25:19] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c935328012d7ab40005cadfb80007016219..."} 
[2026-09-07 21:25:19] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:19] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763016192,"raw_latitude":97181624,"longitude_deg":76.3016192,"latitude_deg":9.7181624,"altitude":7,"angle":354,"satellites":25,"speed":11,"hex_longitude":"2d7ab400","hex_latitude":"05cadfb8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931884544001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129627687860830208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8841762362057732096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796425000,"timestamp_ms":1788796425000,"timestamp_seconds":1788796425,"priority":1,"record_length":96,"hex_timestamp":"000001a07c935328"} 
[2026-09-07 21: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-07 21:25:19] 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-07 21: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":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-07 21:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931884544001,"66":12613,"92":206,"85":15104,"24":11,"16":129627687860830208,"45":8841762362057732096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-09-07 21:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931884544001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:25:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-09-07 21:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129627687860830208,"km_value":129627687860830.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8841762362057732096,"description":"Unknown IO ID 45"} 
[2026-09-07 21:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931884544001,"power":12613,"unknown_92":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8841762362057732096}} 
[2026-09-07 21:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:25:19] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:25:19] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:25:25] local.INFO: TCP Data received {"connection_id":174049,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c935af8012d03588006ff4b20000700882a..."} 
[2026-09-07 21:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c935af8012d03588006ff4b20000700882a..."} 
[2026-09-07 21:25:25] local.INFO: Processing buffer {"connection_id":174049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c935af8012d03588006ff4b20000700882a..."} 
[2026-09-07 21:25:25] local.INFO: Packet analysis {"connection_id":174049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:25] local.INFO: Extracted packet for processing {"connection_id":174049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:25] local.INFO: GPS Element Parsed {"raw_longitude":755193984,"raw_latitude":117394208,"longitude_deg":75.5193984,"latitude_deg":11.7394208,"altitude":7,"angle":136,"satellites":42,"speed":56,"hex_longitude":"2d035880","hex_latitude":"06ff4b20","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931883520001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402264858826899456,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233835366957291520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788796427000,"timestamp_ms":1788796427000,"timestamp_seconds":1788796427,"priority":1,"record_length":96,"hex_timestamp":"000001a07c935af8"} 
[2026-09-07 21: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-07 21:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25:25] 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-07 21:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931883520001,"66":27397,"110":206,"94":11008,"24":56,"16":402264858826899456,"45":233835366957291520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,94,24,16,45]} 
[2026-09-07 21:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931883520001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:25:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 21:25:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402264858826899456,"km_value":402264858826899.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":233835366957291520,"description":"Unknown IO ID 45"} 
[2026-09-07 21:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931883520001,"power":27397,"unknown_110":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":233835366957291520}} 
[2026-09-07 21:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":174049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:25:25] local.INFO: GPS data processed {"connection_id":174049,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:25:25] local.INFO: Acknowledgment sent {"connection_id":174049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:25:49] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:25:49] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:25:49] local.INFO: IMEI packet received {"connection_id":173816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:25:50] local.INFO: TCP Data received {"connection_id":176566,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c94f520012d7a8d4005cbf880000101411a..."} 
[2026-09-07 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c94f520012d7a8d4005cbf880000101411a..."} 
[2026-09-07 21:25:50] local.INFO: Processing buffer {"connection_id":176566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c94f520012d7a8d4005cbf880000101411a..."} 
[2026-09-07 21:25:50] local.INFO: Packet analysis {"connection_id":176566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:25:50] local.INFO: Extracted packet for processing {"connection_id":176566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763006272,"raw_latitude":97253504,"longitude_deg":76.3006272,"latitude_deg":9.7253504,"altitude":1,"angle":321,"satellites":26,"speed":14,"hex_longitude":"2d7a8d40","hex_latitude":"05cbf880","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931911936001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129631364352835584,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8831066312961124352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796532000,"timestamp_ms":1788796532000,"timestamp_seconds":1788796532,"priority":1,"record_length":96,"hex_timestamp":"000001a07c94f520"} 
[2026-09-07 21: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-07 21:25:50] 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-07 21: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 21:25:50] 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-07 21: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-07 21: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-07 21:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931911936001,"66":12026,"91":206,"85":15104,"24":14,"16":129631364352835584,"45":8831066312961124352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931911936001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129631364352835584,"km_value":129631364352835.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8831066312961124352,"description":"Unknown IO ID 45"} 
[2026-09-07 21:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931911936001,"power":12026,"unknown_91":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8831066312961124352}} 
[2026-09-07 21:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":176566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:25:50] local.INFO: GPS data processed {"connection_id":176566,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:25:50] local.INFO: Acknowledgment sent {"connection_id":176566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:25:50] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c937650012d0375c006ff31180008008029..."} 
[2026-09-07 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c937650012d0375c006ff31180008008029..."} 
[2026-09-07 21:25:50] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c937650012d0375c006ff31180008008029..."} 
[2026-09-07 21:25:50] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:50] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:50] local.INFO: GPS Element Parsed {"raw_longitude":755201472,"raw_latitude":117387544,"longitude_deg":75.5201472,"latitude_deg":11.7387544,"altitude":8,"angle":128,"satellites":41,"speed":57,"hex_longitude":"2d0375c0","hex_latitude":"06ff3118","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931885312001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402265339863236608,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":241083347605594112,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796434000,"timestamp_ms":1788796434000,"timestamp_seconds":1788796434,"priority":1,"record_length":96,"hex_timestamp":"000001a07c937650"} 
[2026-09-07 21: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-07 21:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25:50] 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-07 21:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931885312001,"66":27397,"110":206,"94":11008,"24":57,"16":402265339863236608,"45":241083347605594112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,94,24,16,45]} 
[2026-09-07 21:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931885312001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402265339863236608,"km_value":402265339863236.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":241083347605594112,"description":"Unknown IO ID 45"} 
[2026-09-07 21:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931885312001,"power":27397,"unknown_110":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":241083347605594112}} 
[2026-09-07 21:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:25:50] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:25:50] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:25:51] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9391a8012d03974006ff1b60000a00762a..."} 
[2026-09-07 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9391a8012d03974006ff1b60000a00762a..."} 
[2026-09-07 21:25:51] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9391a8012d03974006ff1b60000a00762a..."} 
[2026-09-07 21:25:51] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:51] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c93"} 
[2026-09-07 21:25:51] local.INFO: GPS Element Parsed {"raw_longitude":755210048,"raw_latitude":117381984,"longitude_deg":75.5210048,"latitude_deg":11.7381984,"altitude":10,"angle":118,"satellites":42,"speed":58,"hex_longitude":"2d039740","hex_latitude":"06ff1b60","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931887104001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402265829489508352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249316490672674816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788796441000,"timestamp_ms":1788796441000,"timestamp_seconds":1788796441,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9391a8"} 
[2026-09-07 21: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-07 21:25: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-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:25: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-07 21:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931887104001,"66":27343,"110":206,"94":11008,"24":58,"16":402265829489508352,"45":249316490672674816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,94,24,16,45]} 
[2026-09-07 21:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931887104001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:25:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 21:25:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402265829489508352,"km_value":402265829489508.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":249316490672674816,"description":"Unknown IO ID 45"} 
[2026-09-07 21:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931887104001,"power":27343,"unknown_110":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":249316490672674816}} 
[2026-09-07 21:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:25:51] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:25:51] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:26:16] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:16] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:16] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:26:18] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:26:18] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:18] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:26:20] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:20] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:26:20] local.INFO: IMEI packet received {"connection_id":175150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":175150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:26:20] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c94f908012d7a8cc005cbf9f00002015b1a..."} 
[2026-09-07 21:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c94f908012d7a8cc005cbf9f00002015b1a..."} 
[2026-09-07 21:26:20] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c94f908012d7a8cc005cbf9f00002015b1a..."} 
[2026-09-07 21:26:20] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:20] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763006144,"raw_latitude":97253872,"longitude_deg":76.3006144,"latitude_deg":9.7253872,"altitude":2,"angle":347,"satellites":26,"speed":16,"hex_longitude":"2d7a8cc0","hex_latitude":"05cbf9f0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931912192001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129631381532704768,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830784837984485376,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788796533000,"timestamp_ms":1788796533000,"timestamp_seconds":1788796533,"priority":1,"record_length":96,"hex_timestamp":"000001a07c94f908"} 
[2026-09-07 21: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-07 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-09-07 21:26:20] 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-07 21: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-07 21: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-07 21:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931912192001,"66":12385,"91":206,"85":15104,"24":16,"16":129631381532704768,"45":8830784837984485376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931912192001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:26:20] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129631381532704768,"km_value":129631381532704.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830784837984485376,"description":"Unknown IO ID 45"} 
[2026-09-07 21:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931912192001,"power":12385,"unknown_91":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8830784837984485376}} 
[2026-09-07 21:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:26:20] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:26:20] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:26:22] local.INFO: TCP Data received {"connection_id":173816,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c94f138012d0572c006feb5d0001700712b..."} 
[2026-09-07 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c94f138012d0572c006feb5d0001700712b..."} 
[2026-09-07 21:26:22] local.INFO: Processing buffer {"connection_id":173816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c94f138012d0572c006feb5d0001700712b..."} 
[2026-09-07 21:26:22] local.INFO: Packet analysis {"connection_id":173816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:22] local.INFO: Extracted packet for processing {"connection_id":173816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":755331776,"raw_latitude":117355984,"longitude_deg":75.5331776,"latitude_deg":11.7355984,"altitude":23,"angle":113,"satellites":43,"speed":55,"hex_longitude":"2d0572c0","hex_latitude":"06feb5d0","is_valid_coordinates":true} 
[2026-09-07 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931910144001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402271769429278720,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":382735629626191872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788796531000,"timestamp_ms":1788796531000,"timestamp_seconds":1788796531,"priority":1,"record_length":96,"hex_timestamp":"000001a07c94f138"} 
[2026-09-07 21:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:26:22] 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-07 21:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931910144001,"66":27300,"208":206,"94":11008,"24":55,"16":402271769429278720,"45":382735629626191872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931910144001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:26:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:26:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402271769429278720,"km_value":402271769429278.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":382735629626191872,"description":"Unknown IO ID 45"} 
[2026-09-07 21:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931910144001,"power":27300,"unknown_208":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":382735629626191872}} 
[2026-09-07 21:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":173816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:26:22] local.INFO: GPS data processed {"connection_id":173816,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:26:22] local.INFO: Acknowledgment sent {"connection_id":173816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:26:23] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c94fcf0012d7a8cc005cbfba8000201671a..."} 
[2026-09-07 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c94fcf0012d7a8cc005cbfba8000201671a..."} 
[2026-09-07 21:26:23] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c94fcf0012d7a8cc005cbfba8000201671a..."} 
[2026-09-07 21:26:23] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:23] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c94"} 
[2026-09-07 21:26:23] local.INFO: GPS Element Parsed {"raw_longitude":763006144,"raw_latitude":97254312,"longitude_deg":76.3006144,"latitude_deg":9.7254312,"altitude":2,"angle":359,"satellites":26,"speed":18,"hex_longitude":"2d7a8cc0","hex_latitude":"05cbfba8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931912448001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129631403007541248,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830644100496224256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788796534000,"timestamp_ms":1788796534000,"timestamp_seconds":1788796534,"priority":1,"record_length":96,"hex_timestamp":"000001a07c94fcf0"} 
[2026-09-07 21: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-07 21:26: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-07 21: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":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:26: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-07 21: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-07 21: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-07 21:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931912448001,"66":12385,"91":206,"85":15104,"24":18,"16":129631403007541248,"45":8830644100496224256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931912448001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:26:23] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:26:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129631403007541248,"km_value":129631403007541.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830644100496224256,"description":"Unknown IO ID 45"} 
[2026-09-07 21:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931912448001,"power":12385,"unknown_91":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8830644100496224256}} 
[2026-09-07 21:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:26:23] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:26:23] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:26:43] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:43] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:43] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:26:46] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:46] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:46] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:26:49] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:49] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:26:49] local.INFO: IMEI packet received {"connection_id":176567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":176567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:26:51] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:26:51] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:26:51] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:26:51] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755340672,"raw_latitude":117351272,"longitude_deg":75.5340672,"latitude_deg":11.7351272,"altitude":23,"angle":124,"satellites":43,"speed":58,"hex_longitude":"2d059580","hex_latitude":"06fea368","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931911936001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402272250465615872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392587253810319360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788796538000,"timestamp_ms":1788796538000,"timestamp_seconds":1788796538,"priority":1,"record_length":96,"hex_timestamp":"000001a07c950c90"} 
[2026-09-07 21: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-07 21:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:26: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-07 21:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931911936001,"66":27289,"208":206,"94":11008,"24":58,"16":402272250465615872,"45":392587253810319360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931911936001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:26:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:26:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402272250465615872,"km_value":402272250465615.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":392587253810319360,"description":"Unknown IO ID 45"} 
[2026-09-07 21:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931911936001,"power":27289,"unknown_208":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":392587253810319360}} 
[2026-09-07 21:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:26:51] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:26:51] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:26:54] local.INFO: TCP Data received {"connection_id":175150,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9533a0012d7a8a8005cc20500001016119..."} 
[2026-09-07 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9533a0012d7a8a8005cc20500001016119..."} 
[2026-09-07 21:26:54] local.INFO: Processing buffer {"connection_id":175150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9533a0012d7a8a8005cc20500001016119..."} 
[2026-09-07 21:26:54] local.INFO: Packet analysis {"connection_id":175150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:26:54] local.INFO: Extracted packet for processing {"connection_id":175150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763005568,"raw_latitude":97263696,"longitude_deg":76.3005568,"latitude_deg":9.7263696,"altitude":1,"angle":353,"satellites":25,"speed":27,"hex_longitude":"2d7a8a80","hex_latitude":"05cc2050","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931912704001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129631862569041920,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830644100496336896,"note":"Value kept but may cause issues"} 
[2026-09-07 21:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788796548000,"timestamp_ms":1788796548000,"timestamp_seconds":1788796548,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9533a0"} 
[2026-09-07 21: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-07 21:26: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-07 21: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:26: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-07 21: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-07 21: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-07 21:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931912704001,"66":12135,"91":206,"85":15104,"24":27,"16":129631862569041920,"45":8830644100496336896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931912704001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:26:54] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129631862569041920,"km_value":129631862569041.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830644100496336896,"description":"Unknown IO ID 45"} 
[2026-09-07 21:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931912704001,"power":12135,"unknown_91":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8830644100496336896}} 
[2026-09-07 21:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":175150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:26:54] local.INFO: GPS data processed {"connection_id":175150,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:26:54] local.INFO: Acknowledgment sent {"connection_id":175150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:27:13] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:13] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:13] local.INFO: IMEI packet received {"connection_id":173817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":173817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:27:17] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:17] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:27:17] local.INFO: IMEI packet received {"connection_id":173817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":173817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:27:18] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c956e38012d7a84c005cc42a80002015c1a..."} 
[2026-09-07 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c956e38012d7a84c005cc42a80002015c1a..."} 
[2026-09-07 21:27:18] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c956e38012d7a84c005cc42a80002015c1a..."} 
[2026-09-07 21:27:18] local.INFO: Packet analysis {"connection_id":173817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:27:18] local.INFO: Extracted packet for processing {"connection_id":173817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763004096,"raw_latitude":97272488,"longitude_deg":76.3004096,"latitude_deg":9.7272488,"altitude":2,"angle":348,"satellites":26,"speed":22,"hex_longitude":"2d7a84c0","hex_latitude":"05cc42a8","is_valid_coordinates":true} 
[2026-09-07 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931916288001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129632296360738816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8830010781801140224,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796563000,"timestamp_ms":1788796563000,"timestamp_seconds":1788796563,"priority":1,"record_length":96,"hex_timestamp":"000001a07c956e38"} 
[2026-09-07 21:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:27:18] 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-07 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-07 21:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931916288001,"66":12330,"91":206,"85":15104,"24":22,"16":129632296360738816,"45":8830010781801140224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931916288001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:27:18] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129632296360738816,"km_value":129632296360738.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8830010781801140224,"description":"Unknown IO ID 45"} 
[2026-09-07 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931916288001,"power":12330,"unknown_91":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8830010781801140224}} 
[2026-09-07 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":173817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:27:18] local.INFO: GPS data processed {"connection_id":173817,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:27:18] local.INFO: Acknowledgment sent {"connection_id":173817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:27:29] local.INFO: TCP Data received {"connection_id":176567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:27:29] local.INFO: Processing buffer {"connection_id":176567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c950c90012d05958006fea3680017007c2b..."} 
[2026-09-07 21:27:29] local.INFO: Packet analysis {"connection_id":176567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:27:29] local.INFO: Extracted packet for processing {"connection_id":176567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":755340672,"raw_latitude":117351272,"longitude_deg":75.5340672,"latitude_deg":11.7351272,"altitude":23,"angle":124,"satellites":43,"speed":58,"hex_longitude":"2d059580","hex_latitude":"06fea368","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931913728001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402272250465615872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":402368509249808384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788796538000,"timestamp_ms":1788796538000,"timestamp_seconds":1788796538,"priority":1,"record_length":96,"hex_timestamp":"000001a07c950c90"} 
[2026-09-07 21: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-07 21:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 21:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:27:29] 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-07 21:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931913728001,"66":27289,"208":206,"94":11008,"24":58,"16":402272250465615872,"45":402368509249808384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931913728001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:27:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:27:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402272250465615872,"km_value":402272250465615.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":402368509249808384,"description":"Unknown IO ID 45"} 
[2026-09-07 21:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931913728001,"power":27289,"unknown_208":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":402368509249808384}} 
[2026-09-07 21:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":176567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:27:29] local.INFO: GPS data processed {"connection_id":176567,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:27:29] local.INFO: Acknowledgment sent {"connection_id":176567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:27:43] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:27:43] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:27:43] local.INFO: IMEI packet received {"connection_id":174051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":174051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:27:49] local.INFO: TCP Data received {"connection_id":173817,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c96a6b8012d7a948005cc63080006004d19..."} 
[2026-09-07 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c96a6b8012d7a948005cc63080006004d19..."} 
[2026-09-07 21:27:49] local.INFO: Processing buffer {"connection_id":173817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c96a6b8012d7a948005cc63080006004d19..."} 
[2026-09-07 21:27:49] local.INFO: Packet analysis {"connection_id":173817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c96"} 
[2026-09-07 21:27:49] local.INFO: Extracted packet for processing {"connection_id":173817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c96"} 
[2026-09-07 21:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763008128,"raw_latitude":97280776,"longitude_deg":76.3008128,"latitude_deg":9.7280776,"altitude":6,"angle":77,"satellites":25,"speed":12,"hex_longitude":"2d7a9480","hex_latitude":"05cc6308","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931940096001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129632841821585408,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832121844130789376,"note":"Value kept but may cause issues"} 
[2026-09-07 21:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796643000,"timestamp_ms":1788796643000,"timestamp_seconds":1788796643,"priority":1,"record_length":96,"hex_timestamp":"000001a07c96a6b8"} 
[2026-09-07 21: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-07 21:27:49] 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-07 21: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-09-07 21:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931940096001,"66":12385,"91":206,"85":15104,"24":12,"16":129632841821585408,"45":8832121844130789376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931940096001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:27:49] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129632841821585408,"km_value":129632841821585.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832121844130789376,"description":"Unknown IO ID 45"} 
[2026-09-07 21:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931940096001,"power":12385,"unknown_91":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8832121844130789376}} 
[2026-09-07 21:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":173817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:27:49] local.INFO: GPS data processed {"connection_id":173817,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:27:49] local.INFO: Acknowledgment sent {"connection_id":173817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:28:02] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:02] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:02] local.INFO: IMEI packet received {"connection_id":174051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":174051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:28:06] local.INFO: TCP Data received {"connection_id":174051,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9527e8012d05b54006fe8a68001800842b..."} 
[2026-09-07 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9527e8012d05b54006fe8a68001800842b..."} 
[2026-09-07 21:28:06] local.INFO: Processing buffer {"connection_id":174051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9527e8012d05b54006fe8a68001800842b..."} 
[2026-09-07 21:28:06] local.INFO: Packet analysis {"connection_id":174051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:28:06] local.INFO: Extracted packet for processing {"connection_id":174051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":755348800,"raw_latitude":117344872,"longitude_deg":75.53488,"latitude_deg":11.7344872,"altitude":24,"angle":132,"satellites":43,"speed":59,"hex_longitude":"2d05b540","hex_latitude":"06fe8a68","is_valid_coordinates":true} 
[2026-09-07 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931913728001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402272748681822208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":402368509249808384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1788796545000,"timestamp_ms":1788796545000,"timestamp_seconds":1788796545,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9527e8"} 
[2026-09-07 21:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 21:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":174051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":174051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":174051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931913728001,"66":27115,"208":206,"94":11008,"24":59,"16":402272748681822208,"45":402368509249808384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931913728001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:28:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:28:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402272748681822208,"km_value":402272748681822.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":402368509249808384,"description":"Unknown IO ID 45"} 
[2026-09-07 21:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931913728001,"power":27115,"unknown_208":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":402368509249808384}} 
[2026-09-07 21:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":174051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:28:06] local.INFO: GPS data processed {"connection_id":174051,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:28:06] local.INFO: Acknowledgment sent {"connection_id":174051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:28:13] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:13] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:13] local.INFO: IMEI packet received {"connection_id":174052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":174052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:28:18] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:18] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:28:18] local.INFO: IMEI packet received {"connection_id":174052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":174052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:28:19] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c96d980012d7aab8005cc65700007005a19..."} 
[2026-09-07 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c96d980012d7aab8005cc65700007005a19..."} 
[2026-09-07 21:28:19] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c96d980012d7aab8005cc65700007005a19..."} 
[2026-09-07 21:28:19] local.INFO: Packet analysis {"connection_id":174052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c96"} 
[2026-09-07 21:28:19] local.INFO: Extracted packet for processing {"connection_id":174052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c96"} 
[2026-09-07 21:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763014016,"raw_latitude":97281392,"longitude_deg":76.3014016,"latitude_deg":9.7281392,"altitude":7,"angle":90,"satellites":25,"speed":20,"hex_longitude":"2d7aab80","hex_latitude":"05cc6570","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931940608001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129633120994459648,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832825531572619264,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796656000,"timestamp_ms":1788796656000,"timestamp_seconds":1788796656,"priority":1,"record_length":96,"hex_timestamp":"000001a07c96d980"} 
[2026-09-07 21: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-07 21:28:19] 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-07 21: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:28:19] 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-07 21: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-07 21: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-07 21:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931940608001,"66":12287,"91":206,"85":15104,"24":20,"16":129633120994459648,"45":8832825531572619264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931940608001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:28:19] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129633120994459648,"km_value":129633120994459.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832825531572619264,"description":"Unknown IO ID 45"} 
[2026-09-07 21:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931940608001,"power":12287,"unknown_91":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8832825531572619264}} 
[2026-09-07 21:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":174052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:28:19] local.INFO: GPS data processed {"connection_id":174052,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:28:19] local.INFO: Acknowledgment sent {"connection_id":174052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:28:50] local.INFO: TCP Data received {"connection_id":174052,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c97d768012d7accc005cc8c28000301361a..."} 
[2026-09-07 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c97d768012d7accc005cc8c28000301361a..."} 
[2026-09-07 21:28:50] local.INFO: Processing buffer {"connection_id":174052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c97d768012d7accc005cc8c28000301361a..."} 
[2026-09-07 21:28:50] local.INFO: Packet analysis {"connection_id":174052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c97"} 
[2026-09-07 21:28:50] local.INFO: Extracted packet for processing {"connection_id":174052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c97"} 
[2026-09-07 21:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763022528,"raw_latitude":97291304,"longitude_deg":76.3022528,"latitude_deg":9.7291304,"altitude":3,"angle":310,"satellites":26,"speed":9,"hex_longitude":"2d7accc0","hex_latitude":"05cc8c28","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931960320001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129633958513082368,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605247768576,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796721000,"timestamp_ms":1788796721000,"timestamp_seconds":1788796721,"priority":1,"record_length":96,"hex_timestamp":"000001a07c97d768"} 
[2026-09-07 21: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-07 21:28: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-07 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":417829261962051603,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":141,"raw_value":864691128455135233,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8977709425190861518,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":26,"raw_value":1407374884208644,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491121390354638,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":3,"raw_value":310062379696128,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2538516481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2366504960,"corrected_to":0} 
[2026-09-07 21:28:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 21:28:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3429765120,"note":"Value kept but may cause issues"} 
[2026-09-07 21:28:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,75,85,24,241,157,16,141,160,207,45,138,2,26,10,66,199,128,136,3,156,64,1,240,168,227,124,204,4,113,205,8,206,239,48,5],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":204,"original":2366504960,"validated":0},{"io_id":205,"original":2823487694,"validated":0}]} 
[2026-09-07 21:28:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216530235062616064,"timestamp_seconds":216530235062616.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931960320001,"66":12298,"75":206,"85":15104,"24":9,"16":129633958513082368,"45":8848869605247768576},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931960320001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:28:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129633958513082368,"km_value":129633958513082.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605247768576,"description":"Unknown IO ID 45"} 
[2026-09-07 21:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931960320001,"power":12298,"unknown_75":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848869605247768576}} 
[2026-09-07 21:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":174052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:28:50] local.INFO: GPS data processed {"connection_id":174052,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:28:50] local.INFO: Acknowledgment sent {"connection_id":174052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:28:53] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:53] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:53] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:28:54] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:54] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:28:54] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:13] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:13] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:13] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:29:17] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:17] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:17] local.INFO: IMEI packet received {"connection_id":176569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":176569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:17] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.106.6.41","data_length":1348,"data_hex":"000000000000030f8e0a000001a07c954340012d05cf8006fe6d680019008d2b..."} 
[2026-09-07 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a07c954340012d05cf8006fe6d680019008d2b..."} 
[2026-09-07 21:29:17] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a07c954340012d05cf8006fe6d680019008d2b..."} 
[2026-09-07 21:29:17] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:17] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":755355520,"raw_latitude":117337448,"longitude_deg":75.535552,"latitude_deg":11.7337448,"altitude":25,"angle":141,"satellites":43,"speed":54,"hex_longitude":"2d05cf80","hex_latitude":"06fe6d68","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931915520001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402273229718159360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":411305339758733312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788796552000,"timestamp_ms":1788796552000,"timestamp_seconds":1788796552,"priority":1,"record_length":96,"hex_timestamp":"000001a07c954340"} 
[2026-09-07 21: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-07 21:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29: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-07 21:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931915520001,"66":27234,"208":206,"94":11008,"24":54,"16":402273229718159360,"45":411305339758733312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931915520001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:29:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402273229718159360,"km_value":402273229718159.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":411305339758733312,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931915520001,"power":27234,"unknown_208":206,"unknown_94":11008,"ignition":54,"odometer":null,"unknown_45":411305339758733312}} 
[2026-09-07 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:18] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:18] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:29:18] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:18] local.INFO: Incomplete packet, waiting for more data {"connection_id":176569,"needed":795,"available":553} 
[2026-09-07 21:29:18] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:18] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:29:18] local.INFO: IMEI packet received {"connection_id":176570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":176570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:18] local.INFO: TCP Data received {"connection_id":176569,"ip":"42.106.6.41","data_length":1037,"data_hex":"000000000001a07c94ba88012d052c8006fec7c0001500622a00330000000a00..."} 
[2026-09-07 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176569,"packet_length":1037,"packet_hex":"000000000001a07c94ba88012d052c8006fec7c0001500622a00330000000a00..."} 
[2026-09-07 21:29:18] local.INFO: Processing buffer {"connection_id":176569,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a07c955e98012d05e50006fe50c00019008f2c..."} 
[2026-09-07 21:29:18] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:18] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":755361024,"raw_latitude":117330112,"longitude_deg":75.5361024,"latitude_deg":11.7330112,"altitude":25,"angle":143,"satellites":44,"speed":49,"hex_longitude":"2d05e500","hex_latitude":"06fe50c0","is_valid_coordinates":true} 
[2026-09-07 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931917312001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402273667804823552,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":418694057895487488,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796559000,"timestamp_ms":1788796559000,"timestamp_seconds":1788796559,"priority":1,"record_length":96,"hex_timestamp":"000001a07c955e98"} 
[2026-09-07 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931917312001,"66":27332,"208":206,"94":11008,"24":49,"16":402273667804823552,"45":418694057895487488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931917312001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402273667804823552,"km_value":402273667804823.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":418694057895487488,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931917312001,"power":27332,"unknown_208":206,"unknown_94":11008,"ignition":49,"odometer":null,"unknown_45":418694057895487488}} 
[2026-09-07 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:18] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:18] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:29:18] local.INFO: Packet analysis {"connection_id":176569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:18] local.INFO: Extracted packet for processing {"connection_id":176569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":755366656,"raw_latitude":117322528,"longitude_deg":75.5366656,"latitude_deg":11.7322528,"altitude":26,"angle":142,"satellites":42,"speed":45,"hex_longitude":"2d05fb00","hex_latitude":"06fe3320","is_valid_coordinates":true} 
[2026-09-07 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931919104001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402274123071356928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":424745769892888576,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796567000,"timestamp_ms":1788796567000,"timestamp_seconds":1788796567,"priority":1,"record_length":96,"hex_timestamp":"000001a07c957dd8"} 
[2026-09-07 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931919104001,"66":27332,"208":206,"94":11008,"24":45,"16":402274123071356928,"45":424745769892888576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931919104001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402274123071356928,"km_value":402274123071356.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":424745769892888576,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931919104001,"power":27332,"unknown_208":206,"unknown_94":11008,"ignition":45,"odometer":null,"unknown_45":424745769892888576}} 
[2026-09-07 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":176569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:18] local.INFO: GPS data processed {"connection_id":176569,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:18] local.INFO: Acknowledgment sent {"connection_id":176569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:29:19] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c97db50012d7acc0005cc8ca8000301231a..."} 
[2026-09-07 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c97db50012d7acc0005cc8ca8000301231a..."} 
[2026-09-07 21:29:19] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c97db50012d7acc0005cc8ca8000301231a..."} 
[2026-09-07 21:29:19] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c97"} 
[2026-09-07 21:29:19] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c97"} 
[2026-09-07 21:29:19] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":97291432,"longitude_deg":76.3022336,"latitude_deg":9.7291432,"altitude":3,"angle":291,"satellites":26,"speed":10,"hex_longitude":"2d7acc00","hex_latitude":"05cc8ca8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931960576001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129633971397984256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499015288832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796722000,"timestamp_ms":1788796722000,"timestamp_seconds":1788796722,"priority":1,"record_length":96,"hex_timestamp":"000001a07c97db50"} 
[2026-09-07 21: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-07 21:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436617478656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":141,"raw_value":1008806316530991105,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8977713720158157518,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470568,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":3,"raw_value":97981879298293760,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":26,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491121390354638,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2543636481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2366832640,"corrected_to":0} 
[2026-09-07 21:29:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3429804032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":417829880437342209,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,75,85,24,241,157,16,141,160,211,45,128,139,3,26,10,66,207,138,2,199,1,240,227,124,204,4,113,205,5,78,206,144,239,64],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":2366832640,"validated":0},{"io_id":205,"original":2823487694,"validated":0}]} 
[2026-09-07 21:29:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216513742388133888,"timestamp_seconds":216513742388133.88,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931960576001,"66":12298,"75":206,"85":15104,"24":10,"16":129633971397984256,"45":8848658499015288832},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931960576001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129633971397984256,"km_value":129633971397984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499015288832,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931960576001,"power":12298,"unknown_75":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848658499015288832}} 
[2026-09-07 21:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:19] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:19] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:29:41] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:41] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:41] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:29:42] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:42] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:42] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:43] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:43] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:43] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:46] local.INFO: TCP Data received {"connection_id":176571,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:29:46] local.INFO: Processing buffer {"connection_id":176571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:29:46] local.INFO: IMEI packet received {"connection_id":176571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":176571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:29:49] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:49] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:29:49] local.INFO: IMEI packet received {"connection_id":173818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":173818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:29:49] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c959d18012d06124006fe1590001a008d2b..."} 
[2026-09-07 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c959d18012d06124006fe1590001a008d2b..."} 
[2026-09-07 21:29:49] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c959d18012d06124006fe1590001a008d2b..."} 
[2026-09-07 21:29:49] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:49] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c95"} 
[2026-09-07 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":755372608,"raw_latitude":117314960,"longitude_deg":75.5372608,"latitude_deg":11.731496,"altitude":26,"angle":141,"satellites":43,"speed":50,"hex_longitude":"2d061240","hex_latitude":"06fe1590","is_valid_coordinates":true} 
[2026-09-07 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931921152001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402274586927824896,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":430938219378581504,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796575000,"timestamp_ms":1788796575000,"timestamp_seconds":1788796575,"priority":1,"record_length":96,"hex_timestamp":"000001a07c959d18"} 
[2026-09-07 21:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:29:49] 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-07 21:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931921152001,"66":27267,"208":206,"94":11008,"24":50,"16":402274586927824896,"45":430938219378581504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-09-07 21:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931921152001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:49] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-09-07 21:29:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402274586927824896,"km_value":402274586927824.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":430938219378581504,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931921152001,"power":27267,"unknown_208":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":430938219378581504}} 
[2026-09-07 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:50] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:50] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:29:50] local.INFO: TCP Data received {"connection_id":176570,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98c1c8012d7aa10005ccc7380001014d19..."} 
[2026-09-07 21:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98c1c8012d7aa10005ccc7380001014d19..."} 
[2026-09-07 21:29:50] local.INFO: Processing buffer {"connection_id":176570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98c1c8012d7aa10005ccc7380001014d19..."} 
[2026-09-07 21:29:50] local.INFO: Packet analysis {"connection_id":176570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:29:50] local.INFO: Extracted packet for processing {"connection_id":176570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763011328,"raw_latitude":97306424,"longitude_deg":76.3011328,"latitude_deg":9.7306424,"altitude":1,"angle":333,"satellites":25,"speed":14,"hex_longitude":"2d7aa100","hex_latitude":"05ccc738","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931975424001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635015075037184,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836695812508784640,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796781000,"timestamp_ms":1788796781000,"timestamp_seconds":1788796781,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98c1c8"} 
[2026-09-07 21: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-07 21:29: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-07 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436701364736,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":142,"raw_value":1801439850948198401,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8978065907476429489,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3096224744472580,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245109440718,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":64,"raw_value":417912446888509767,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":87285830267174912,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2559764481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2384330752,"corrected_to":0} 
[2026-09-07 21:29:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 21:29:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3434727424,"note":"Value kept but may cause issues"} 
[2026-09-07 21:29:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,75,85,24,241,157,16,142,160,174,45,192,26,10,66,170,191,166,64,1,240,124,227,204,4,113,205,17,135,175,128,239,48,2,5],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":204,"original":2384330752,"validated":0},{"io_id":205,"original":2823487694,"validated":0}]} 
[2026-09-07 21:29:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":382737421565952,"timestamp_seconds":382737421565.952,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931975424001,"66":11721,"75":206,"85":15104,"24":14,"16":129635015075037184,"45":8836695812508784640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931975424001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:29:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635015075037184,"km_value":129635015075037.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836695812508784640,"description":"Unknown IO ID 45"} 
[2026-09-07 21:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931975424001,"power":11721,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836695812508784640}} 
[2026-09-07 21:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":176570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:29:50] local.INFO: GPS data processed {"connection_id":176570,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:29:50] local.INFO: Acknowledgment sent {"connection_id":176570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:30:13] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:13] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:13] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:30:18] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:18] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:30:18] local.INFO: IMEI packet received {"connection_id":175151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":175151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:30:19] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98cd80012d7a9f4005cccb30000101591a..."} 
[2026-09-07 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98cd80012d7a9f4005cccb30000101591a..."} 
[2026-09-07 21:30:19] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98cd80012d7a9f4005cccb30000101591a..."} 
[2026-09-07 21:30:19] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:19] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":97307440,"longitude_deg":76.301088,"latitude_deg":9.730744,"altitude":1,"angle":345,"satellites":26,"speed":14,"hex_longitude":"2d7a9f40","hex_latitude":"05cccb30","is_valid_coordinates":true} 
[2026-09-07 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931975936001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635070909612032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836343968788068352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796784000,"timestamp_ms":1788796784000,"timestamp_seconds":1788796784,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98cd80"} 
[2026-09-07 21:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 21:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931975936001,"66":12211,"75":206,"85":15104,"24":14,"16":129635070909612032,"45":8836343968788068352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931975936001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:30:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635070909612032,"km_value":129635070909612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836343968788068352,"description":"Unknown IO ID 45"} 
[2026-09-07 21:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931975936001,"power":12211,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836343968788068352}} 
[2026-09-07 21:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:30:19] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:30:19] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:30:22] local.INFO: TCP Data received {"connection_id":173818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c985850012d06a04006fd6f100015008d23..."} 
[2026-09-07 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c985850012d06a04006fd6f100015008d23..."} 
[2026-09-07 21:30:22] local.INFO: Processing buffer {"connection_id":173818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c985850012d06a04006fd6f100015008d23..."} 
[2026-09-07 21:30:22] local.INFO: Packet analysis {"connection_id":173818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:22] local.INFO: Extracted packet for processing {"connection_id":173818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:22] local.INFO: GPS Element Parsed {"raw_longitude":755408960,"raw_latitude":117272336,"longitude_deg":75.540896,"latitude_deg":11.7272336,"altitude":21,"angle":141,"satellites":35,"speed":34,"hex_longitude":"2d06a040","hex_latitude":"06fd6f10","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931966464001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402277297052188672,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":471118772293027840,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788796754000,"timestamp_ms":1788796754000,"timestamp_seconds":1788796754,"priority":1,"record_length":96,"hex_timestamp":"000001a07c985850"} 
[2026-09-07 21: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-07 21:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:30:22] 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-07 21:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931966464001,"66":27397,"232":206,"94":11008,"24":34,"16":402277297052188672,"45":471118772293027840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931966464001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:30:22] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:30:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402277297052188672,"km_value":402277297052188.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":471118772293027840,"description":"Unknown IO ID 45"} 
[2026-09-07 21:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931966464001,"power":27397,"unknown_232":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":471118772293027840}} 
[2026-09-07 21:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":173818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:30:22] local.INFO: GPS data processed {"connection_id":173818,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:30:22] local.INFO: Acknowledgment sent {"connection_id":173818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:30:44] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:44] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:44] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:30:45] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:45] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:45] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:30:46] local.INFO: TCP Data received {"connection_id":175153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:30:46] local.INFO: Processing buffer {"connection_id":175153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:30:46] local.INFO: IMEI packet received {"connection_id":175153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":175153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:30:49] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:49] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:30:49] local.INFO: IMEI packet received {"connection_id":175152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":175152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:30:49] local.INFO: TCP Data received {"connection_id":175151,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98d550012d7a9f0005ccce08000101651a..."} 
[2026-09-07 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98d550012d7a9f0005ccce08000101651a..."} 
[2026-09-07 21:30:49] local.INFO: Processing buffer {"connection_id":175151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98d550012d7a9f0005ccce08000101651a..."} 
[2026-09-07 21:30:49] local.INFO: Packet analysis {"connection_id":175151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:49] local.INFO: Extracted packet for processing {"connection_id":175151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763010816,"raw_latitude":97308168,"longitude_deg":76.3010816,"latitude_deg":9.7308168,"altitude":1,"angle":357,"satellites":26,"speed":14,"hex_longitude":"2d7a9f00","hex_latitude":"05ccce08","is_valid_coordinates":true} 
[2026-09-07 21:30: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-07 21:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931976704001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635105269350400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387579084800,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796786000,"timestamp_ms":1788796786000,"timestamp_seconds":1788796786,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98d550"} 
[2026-09-07 21:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:30: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-07 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-09-07 21:30:49] 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-07 21:30: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-07 21:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931976704001,"66":12113,"75":206,"85":15104,"24":14,"16":129635105269350400,"45":8835851387579084800},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931976704001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:30:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635105269350400,"km_value":129635105269350.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387579084800,"description":"Unknown IO ID 45"} 
[2026-09-07 21:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931976704001,"power":12113,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8835851387579084800}} 
[2026-09-07 21:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":175151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:30:49] local.INFO: GPS data processed {"connection_id":175151,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:30:49] local.INFO: Acknowledgment sent {"connection_id":175151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:30:50] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c988348012d06b7c006fd51880013008d29..."} 
[2026-09-07 21:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c988348012d06b7c006fd51880013008d29..."} 
[2026-09-07 21:30:50] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c988348012d06b7c006fd51880013008d29..."} 
[2026-09-07 21:30:50] local.INFO: Packet analysis {"connection_id":175152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:50] local.INFO: Extracted packet for processing {"connection_id":175152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:30:50] local.INFO: GPS Element Parsed {"raw_longitude":755414976,"raw_latitude":117264776,"longitude_deg":75.5414976,"latitude_deg":11.7264776,"altitude":19,"angle":141,"satellites":41,"speed":36,"hex_longitude":"2d06b7c0","hex_latitude":"06fd5188","is_valid_coordinates":true} 
[2026-09-07 21:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931969024001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402277765203623936,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":477451959267168256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796765000,"timestamp_ms":1788796765000,"timestamp_seconds":1788796765,"priority":1,"record_length":96,"hex_timestamp":"000001a07c988348"} 
[2026-09-07 21:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:30:50] 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-07 21:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931969024001,"66":27267,"232":206,"94":11008,"24":36,"16":402277765203623936,"45":477451959267168256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931969024001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:30:50] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:30:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402277765203623936,"km_value":402277765203623.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":477451959267168256,"description":"Unknown IO ID 45"} 
[2026-09-07 21:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931969024001,"power":27267,"unknown_232":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":477451959267168256}} 
[2026-09-07 21:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":175152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:30:50] local.INFO: GPS data processed {"connection_id":175152,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:30:50] local.INFO: Acknowledgment sent {"connection_id":175152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:31:13] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:13] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:13] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:31:18] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:18] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:31:18] local.INFO: IMEI packet received {"connection_id":176572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":176572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:31:19] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98dd20012d7a9f4005ccd0f80001000c1a..."} 
[2026-09-07 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98dd20012d7a9f4005ccd0f80001000c1a..."} 
[2026-09-07 21:31:19] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98dd20012d7a9f4005ccd0f80001000c1a..."} 
[2026-09-07 21:31:19] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:19] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":97308920,"longitude_deg":76.301088,"latitude_deg":9.730892,"altitude":1,"angle":12,"satellites":26,"speed":14,"hex_longitude":"2d7a9f40","hex_latitude":"05ccd0f8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931977216001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635139629088768,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835781018835093504,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796788000,"timestamp_ms":1788796788000,"timestamp_seconds":1788796788,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98dd20"} 
[2026-09-07 21: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-07 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-07 21:31:19] 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-07 21: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-07 21: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-07 21:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931977216001,"66":12069,"75":206,"85":15104,"24":14,"16":129635139629088768,"45":8835781018835093504},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931977216001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:31:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635139629088768,"km_value":129635139629088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835781018835093504,"description":"Unknown IO ID 45"} 
[2026-09-07 21:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931977216001,"power":12069,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8835781018835093504}} 
[2026-09-07 21:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:31:19] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:31:19] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:31:21] local.INFO: TCP Data received {"connection_id":175152,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98aa58012d06cf8006fd34400010008d27..."} 
[2026-09-07 21:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98aa58012d06cf8006fd34400010008d27..."} 
[2026-09-07 21:31:21] local.INFO: Processing buffer {"connection_id":175152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98aa58012d06cf8006fd34400010008d27..."} 
[2026-09-07 21:31:21] local.INFO: Packet analysis {"connection_id":175152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:21] local.INFO: Extracted packet for processing {"connection_id":175152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:21] local.INFO: GPS Element Parsed {"raw_longitude":755421056,"raw_latitude":117257280,"longitude_deg":75.5421056,"latitude_deg":11.725728,"altitude":16,"angle":141,"satellites":39,"speed":36,"hex_longitude":"2d06cf80","hex_latitude":"06fd3440","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931971840001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402278229060091904,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":484066621217933312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788796775000,"timestamp_ms":1788796775000,"timestamp_seconds":1788796775,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98aa58"} 
[2026-09-07 21: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-07 21:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:31: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-07 21:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931971840001,"66":27463,"232":206,"94":11008,"24":36,"16":402278229060091904,"45":484066621217933312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931971840001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:31:21] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:31:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402278229060091904,"km_value":402278229060091.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":484066621217933312,"description":"Unknown IO ID 45"} 
[2026-09-07 21:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931971840001,"power":27463,"unknown_232":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":484066621217933312}} 
[2026-09-07 21:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":175152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:31:21] local.INFO: GPS data processed {"connection_id":175152,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:31:21] local.INFO: Acknowledgment sent {"connection_id":175152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:31:43] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:43] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:43] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:31:49] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:49] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:31:49] local.INFO: IMEI packet received {"connection_id":176573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":176573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:31:50] local.INFO: TCP Data received {"connection_id":176572,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98f0a8012d7aa08005ccd828000201661a..."} 
[2026-09-07 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98f0a8012d7aa08005ccd828000201661a..."} 
[2026-09-07 21:31:50] local.INFO: Processing buffer {"connection_id":176572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98f0a8012d7aa08005ccd828000201661a..."} 
[2026-09-07 21:31:50] local.INFO: Packet analysis {"connection_id":176572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:50] local.INFO: Extracted packet for processing {"connection_id":176572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":763011200,"raw_latitude":97310760,"longitude_deg":76.30112,"latitude_deg":9.731076,"altitude":2,"angle":358,"satellites":26,"speed":12,"hex_longitude":"2d7aa080","hex_latitude":"05ccd828","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931977728001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635234118369280,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387579463680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796793000,"timestamp_ms":1788796793000,"timestamp_seconds":1788796793,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98f0a8"} 
[2026-09-07 21: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-07 21:31: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-07 21: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-09-07 21:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931977728001,"66":12156,"75":206,"85":15104,"24":12,"16":129635234118369280,"45":8835851387579463680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931977728001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635234118369280,"km_value":129635234118369.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387579463680,"description":"Unknown IO ID 45"} 
[2026-09-07 21:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931977728001,"power":12156,"unknown_75":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8835851387579463680}} 
[2026-09-07 21:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":176572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:31:50] local.INFO: GPS data processed {"connection_id":176572,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:31:50] local.INFO: Acknowledgment sent {"connection_id":176572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:31:50] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c98d938012d06e6c006fd17b0000e008d28..."} 
[2026-09-07 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c98d938012d06e6c006fd17b0000e008d28..."} 
[2026-09-07 21:31:50] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c98d938012d06e6c006fd17b0000e008d28..."} 
[2026-09-07 21:31:50] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:50] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c98"} 
[2026-09-07 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":755427008,"raw_latitude":117249968,"longitude_deg":75.5427008,"latitude_deg":11.7249968,"altitude":14,"angle":141,"satellites":40,"speed":23,"hex_longitude":"2d06e6c0","hex_latitude":"06fd17b0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931974400001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402278684326625280,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":490751651912892416,"note":"Value kept but may cause issues"} 
[2026-09-07 21:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796787000,"timestamp_ms":1788796787000,"timestamp_seconds":1788796787,"priority":1,"record_length":96,"hex_timestamp":"000001a07c98d938"} 
[2026-09-07 21: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-07 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 21:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:31:50] 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-07 21:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931974400001,"66":27365,"232":206,"94":11008,"24":23,"16":402278684326625280,"45":490751651912892416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931974400001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402278684326625280,"km_value":402278684326625.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":490751651912892416,"description":"Unknown IO ID 45"} 
[2026-09-07 21:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931974400001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":490751651912892416}} 
[2026-09-07 21:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:31:50] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:31:50] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:32:12] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:12] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:12] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:32:13] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:13] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:13] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:32:14] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:14] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:14] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:32:17] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:18] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:32:18] local.INFO: IMEI packet received {"connection_id":174055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":174055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:32:18] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9ae4a8012d7aa34005ccf3d8000700131e..."} 
[2026-09-07 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9ae4a8012d7aa34005ccf3d8000700131e..."} 
[2026-09-07 21:32:18] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9ae4a8012d7aa34005ccf3d8000700131e..."} 
[2026-09-07 21:32:18] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:32:18] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97317848,"longitude_deg":76.3011904,"latitude_deg":9.7317848,"altitude":7,"angle":19,"satellites":30,"speed":5,"hex_longitude":"2d7aa340","hex_latitude":"05ccf3d8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932011008001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635590600654848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836766181255919616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788796921000,"timestamp_ms":1788796921000,"timestamp_seconds":1788796921,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9ae4a8"} 
[2026-09-07 21: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-07 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-07 21:32:18] 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-07 21: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-07 21: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-07 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932011008001,"66":12048,"75":206,"85":15104,"24":5,"16":129635590600654848,"45":8836766181255919616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932011008001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:32:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635590600654848,"km_value":129635590600654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836766181255919616,"description":"Unknown IO ID 45"} 
[2026-09-07 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932011008001,"power":12048,"unknown_75":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8836766181255919616}} 
[2026-09-07 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:32:18] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:32:18] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:32:22] local.INFO: TCP Data received {"connection_id":176573,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c992b40012d06f18006fd0ac8000e00892b..."} 
[2026-09-07 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c992b40012d06f18006fd0ac8000e00892b..."} 
[2026-09-07 21:32:22] local.INFO: Processing buffer {"connection_id":176573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c992b40012d06f18006fd0ac8000e00892b..."} 
[2026-09-07 21:32:22] local.INFO: Packet analysis {"connection_id":176573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:32:22] local.INFO: Extracted packet for processing {"connection_id":176573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755429760,"raw_latitude":117246664,"longitude_deg":75.542976,"latitude_deg":11.7246664,"altitude":14,"angle":137,"satellites":43,"speed":3,"hex_longitude":"2d06f180","hex_latitude":"06fd0ac8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931977472001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402278890485055488,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":497295945119543296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788796808000,"timestamp_ms":1788796808000,"timestamp_seconds":1788796808,"priority":1,"record_length":96,"hex_timestamp":"000001a07c992b40"} 
[2026-09-07 21: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-07 21:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:32:22] 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-07 21:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931977472001,"66":27365,"232":206,"94":11008,"24":3,"16":402278890485055488,"45":497295945119543296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931977472001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:32:22] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402278890485055488,"km_value":402278890485055.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":497295945119543296,"description":"Unknown IO ID 45"} 
[2026-09-07 21:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931977472001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":497295945119543296}} 
[2026-09-07 21:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":176573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:32:22] local.INFO: GPS data processed {"connection_id":176573,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:32:22] local.INFO: Acknowledgment sent {"connection_id":176573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:32:43] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:43] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:43] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:32:48] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:48] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:32:48] local.INFO: IMEI packet received {"connection_id":175154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":175154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:32:49] local.INFO: TCP Data received {"connection_id":174055,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9ae890012d7aa3c005ccf468000700031e..."} 
[2026-09-07 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9ae890012d7aa3c005ccf468000700031e..."} 
[2026-09-07 21:32:49] local.INFO: Processing buffer {"connection_id":174055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9ae890012d7aa3c005ccf468000700031e..."} 
[2026-09-07 21:32:49] local.INFO: Packet analysis {"connection_id":174055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:32:49] local.INFO: Extracted packet for processing {"connection_id":174055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97317992,"longitude_deg":76.3012032,"latitude_deg":9.7317992,"altitude":7,"angle":3,"satellites":30,"speed":5,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf468","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932011776001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635599190589440,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488591872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796922000,"timestamp_ms":1788796922000,"timestamp_seconds":1788796922,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9ae890"} 
[2026-09-07 21: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-07 21:32:49] 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-07 21: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6319956765891166184,"corrected_to":0} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3706824232651456512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505577706684416,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2595092481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2395209728,"corrected_to":0} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632173733914699,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3682290829617001442,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182169580077312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624936,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":224,"raw_value":1407426876145664,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,75,85,24,241,157,16,142,160,216,45,128,7,30,10,66,213,192,240,6,205,1,245,227,124,204,4,113,5,170,161,40,239,47,2,69,224],"length":583,"final_offset":713,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-6319956765891166184,"validated":0},{"io_id":204,"original":2395209728,"validated":0}]} 
[2026-09-07 21:32:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504424177835769856,"timestamp_seconds":504424177835769.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932011776001,"66":12048,"75":206,"85":15104,"24":5,"16":129635599190589440,"45":8836977287488591872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932011776001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635599190589440,"km_value":129635599190589.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488591872,"description":"Unknown IO ID 45"} 
[2026-09-07 21:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932011776001,"power":12048,"unknown_75":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8836977287488591872}} 
[2026-09-07 21:32:49] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c997d48012d06f60006fd0550001000882a..."} 
[2026-09-07 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c997d48012d06f60006fd0550001000882a..."} 
[2026-09-07 21:32:49] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c997d48012d06f60006fd0550001000882a..."} 
[2026-09-07 21:32:49] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:32:49] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":174055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:32:49] local.INFO: GPS data processed {"connection_id":174055,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":755430912,"raw_latitude":117245264,"longitude_deg":75.5430912,"latitude_deg":11.7245264,"altitude":16,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d06f600","hex_latitude":"06fd0550","is_valid_coordinates":true} 
[2026-09-07 21:32:49] local.INFO: Acknowledgment sent {"connection_id":174055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21: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-07 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931982848001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402278984974336000,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":500321801118337024,"note":"Value kept but may cause issues"} 
[2026-09-07 21:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796829000,"timestamp_ms":1788796829000,"timestamp_seconds":1788796829,"priority":1,"record_length":96,"hex_timestamp":"000001a07c997d48"} 
[2026-09-07 21: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-07 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:32:49] 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-07 21:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931982848001,"66":27376,"232":206,"94":11008,"24":0,"16":402278984974336000,"45":500321801118337024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931982848001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402278984974336000,"km_value":402278984974336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":500321801118337024,"description":"Unknown IO ID 45"} 
[2026-09-07 21:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931982848001,"power":27376,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":500321801118337024}} 
[2026-09-07 21:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:32:49] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:32:49] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:33:12] local.INFO: TCP Data received {"connection_id":173819,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:12] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:12] local.INFO: IMEI packet received {"connection_id":173819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":173819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:33:18] local.INFO: TCP Data received {"connection_id":173819,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:18] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:33:18] local.INFO: IMEI packet received {"connection_id":173819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":173819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:33:19] local.INFO: TCP Data received {"connection_id":173819,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9af060012d7aa34005ccf5600008015c1e..."} 
[2026-09-07 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9af060012d7aa34005ccf5600008015c1e..."} 
[2026-09-07 21:33:19] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9af060012d7aa34005ccf5600008015c1e..."} 
[2026-09-07 21:33:19] local.INFO: Packet analysis {"connection_id":173819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:19] local.INFO: Extracted packet for processing {"connection_id":173819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97318240,"longitude_deg":76.3011904,"latitude_deg":9.731824,"altitude":8,"angle":348,"satellites":30,"speed":3,"hex_longitude":"2d7aa340","hex_latitude":"05ccf560","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932012032001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635612075491328,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837118024976984064,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796924000,"timestamp_ms":1788796924000,"timestamp_seconds":1788796924,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9af060"} 
[2026-09-07 21: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-07 21:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287299072,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-3706824232651456512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505577707536384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2597140481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2395340800,"corrected_to":0} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633762871814219,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010606848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6319956765891166184,"corrected_to":0} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3681085764872956386,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":173,"raw_value":4160826746,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182169580077312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194858496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84858795603643621,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.WARNING: Large IO value detected {"io_id":224,"raw_value":1407426926477312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,75,85,24,241,157,16,142,160,228,45,64,243,7,30,10,66,216,128,213,192,1,240,164,227,124,204,4,113,205,5,173,161,184,239,46,2,69,8,224],"length":583,"final_offset":713,"validated_count":40,"validation_warnings":[{"io_id":204,"original":2395340800,"validated":0},{"io_id":205,"original":-6319956765891166184,"validated":0}]} 
[2026-09-07 21:33:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504406585649725440,"timestamp_seconds":504406585649725.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932012032001,"66":11950,"75":206,"85":15104,"24":3,"16":129635612075491328,"45":8837118024976984064},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932012032001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:33:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635612075491328,"km_value":129635612075491.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837118024976984064,"description":"Unknown IO ID 45"} 
[2026-09-07 21:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932012032001,"power":11950,"unknown_75":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8837118024976984064}} 
[2026-09-07 21:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":173819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:33:19] local.INFO: GPS data processed {"connection_id":173819,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:33:19] local.INFO: Acknowledgment sent {"connection_id":173819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:33:20] local.INFO: TCP Data received {"connection_id":175154,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c99cf50012d06fc0006fcfe200010008f2a..."} 
[2026-09-07 21:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c99cf50012d06fc0006fcfe200010008f2a..."} 
[2026-09-07 21:33:20] local.INFO: Processing buffer {"connection_id":175154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c99cf50012d06fc0006fcfe200010008f2a..."} 
[2026-09-07 21:33:20] local.INFO: Packet analysis {"connection_id":175154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:33:20] local.INFO: Extracted packet for processing {"connection_id":175154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c99"} 
[2026-09-07 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":755432448,"raw_latitude":117243424,"longitude_deg":75.5432448,"latitude_deg":11.7243424,"altitude":16,"angle":143,"satellites":42,"speed":0,"hex_longitude":"2d06fc00","hex_latitude":"06fcfe20","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931988224001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279100938452992,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":501588438513176576,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788796850000,"timestamp_ms":1788796850000,"timestamp_seconds":1788796850,"priority":1,"record_length":96,"hex_timestamp":"000001a07c99cf50"} 
[2026-09-07 21: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-07 21:33: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-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931988224001,"66":27463,"232":206,"94":11008,"24":0,"16":402279100938452992,"45":501588438513176576},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931988224001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:33:20] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:33:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279100938452992,"km_value":402279100938453.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":501588438513176576,"description":"Unknown IO ID 45"} 
[2026-09-07 21:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931988224001,"power":27463,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":501588438513176576}} 
[2026-09-07 21:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":175154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:33:20] local.INFO: GPS data processed {"connection_id":175154,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:33:20] local.INFO: Acknowledgment sent {"connection_id":175154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:33:49] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:49] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:49] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:33:50] local.INFO: TCP Data received {"connection_id":173819,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9af448012d7aa34005ccf5c8000800021e..."} 
[2026-09-07 21:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9af448012d7aa34005ccf5c8000800021e..."} 
[2026-09-07 21:33:50] local.INFO: Processing buffer {"connection_id":173819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9af448012d7aa34005ccf5c8000800021e..."} 
[2026-09-07 21:33:50] local.INFO: Packet analysis {"connection_id":173819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:50] local.INFO: Extracted packet for processing {"connection_id":173819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97318344,"longitude_deg":76.3011904,"latitude_deg":9.7318344,"altitude":8,"angle":2,"satellites":30,"speed":4,"hex_longitude":"2d7aa340","hex_latitude":"05ccf5c8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932012544001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635616370458624,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488692224,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796925000,"timestamp_ms":1788796925000,"timestamp_seconds":1788796925,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9af448"} 
[2026-09-07 21: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-07 21:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 21:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932012544001,"66":11634,"75":206,"85":15104,"24":4,"16":129635616370458624,"45":8836977287488692224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932012544001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:33:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635616370458624,"km_value":129635616370458.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488692224,"description":"Unknown IO ID 45"} 
[2026-09-07 21:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932012544001,"power":11634,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8836977287488692224}} 
[2026-09-07 21:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":173819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:33:50] local.INFO: GPS data processed {"connection_id":173819,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:33:50] local.INFO: Acknowledgment sent {"connection_id":173819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:33:58] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:58] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:33:58] local.INFO: IMEI packet received {"connection_id":174057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":174057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:33:59] local.INFO: TCP Data received {"connection_id":174057,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9a2158012d06ffc006fcf9a0000f008b2a..."} 
[2026-09-07 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9a2158012d06ffc006fcf9a0000f008b2a..."} 
[2026-09-07 21:33:59] local.INFO: Processing buffer {"connection_id":174057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9a2158012d06ffc006fcf9a0000f008b2a..."} 
[2026-09-07 21:33:59] local.INFO: Packet analysis {"connection_id":174057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:59] local.INFO: Extracted packet for processing {"connection_id":174057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":755433408,"raw_latitude":117242272,"longitude_deg":75.5433408,"latitude_deg":11.7242272,"altitude":15,"angle":139,"satellites":42,"speed":4,"hex_longitude":"2d06ffc0","hex_latitude":"06fcf9a0","is_valid_coordinates":true} 
[2026-09-07 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931993600001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279178247864320,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503277288372969472,"note":"Value kept but may cause issues"} 
[2026-09-07 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788796871000,"timestamp_ms":1788796871000,"timestamp_seconds":1788796871,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9a2158"} 
[2026-09-07 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:33:59] 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-07 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931993600001,"66":27365,"232":206,"94":11008,"24":4,"16":402279178247864320,"45":503277288372969472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931993600001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:33:59] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:33:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279178247864320,"km_value":402279178247864.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":503277288372969472,"description":"Unknown IO ID 45"} 
[2026-09-07 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931993600001,"power":27365,"unknown_232":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":503277288372969472}} 
[2026-09-07 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":174057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:33:59] local.INFO: GPS data processed {"connection_id":174057,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:33:59] local.INFO: Acknowledgment sent {"connection_id":174057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:34:12] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:12] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:12] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:34:18] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:18] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:34:18] local.INFO: IMEI packet received {"connection_id":175156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":175156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:34:19] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9b0000012d7aa34005ccf710000900181e..."} 
[2026-09-07 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9b0000012d7aa34005ccf710000900181e..."} 
[2026-09-07 21:34:19] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9b0000012d7aa34005ccf710000900181e..."} 
[2026-09-07 21:34:19] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:34:19] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97318672,"longitude_deg":76.3011904,"latitude_deg":9.7318672,"altitude":9,"angle":24,"satellites":30,"speed":4,"hex_longitude":"2d7aa340","hex_latitude":"05ccf710","is_valid_coordinates":true} 
[2026-09-07 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932012800001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635633550327808,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488718848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788796928000,"timestamp_ms":1788796928000,"timestamp_seconds":1788796928,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9b0000"} 
[2026-09-07 21:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-09-07 21:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932012800001,"66":11765,"75":206,"85":15104,"24":4,"16":129635633550327808,"45":8836977287488718848},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932012800001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:34:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635633550327808,"km_value":129635633550327.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488718848,"description":"Unknown IO ID 45"} 
[2026-09-07 21:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932012800001,"power":11765,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8836977287488718848}} 
[2026-09-07 21:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:34:19] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:34:19] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:34:44] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:44] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:44] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:34:49] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:49] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:34:49] local.INFO: IMEI packet received {"connection_id":174058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:34:50] local.INFO: TCP Data received {"connection_id":175156,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9b07d0012d7aa3c005ccf7c80009002e1e..."} 
[2026-09-07 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9b07d0012d7aa3c005ccf7c80009002e1e..."} 
[2026-09-07 21:34:50] local.INFO: Processing buffer {"connection_id":175156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9b07d0012d7aa3c005ccf7c80009002e1e..."} 
[2026-09-07 21:34:50] local.INFO: Packet analysis {"connection_id":175156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:34:50] local.INFO: Extracted packet for processing {"connection_id":175156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":763012032,"raw_latitude":97318856,"longitude_deg":76.3012032,"latitude_deg":9.7318856,"altitude":9,"angle":46,"satellites":30,"speed":2,"hex_longitude":"2d7aa3c0","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932013568001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635642140262400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488802816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796930000,"timestamp_ms":1788796930000,"timestamp_seconds":1788796930,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9b07d0"} 
[2026-09-07 21: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-07 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-09-07 21:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932013568001,"66":11602,"75":206,"85":15104,"24":2,"16":129635642140262400,"45":8836977287488802816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932013568001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635642140262400,"km_value":129635642140262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488802816,"description":"Unknown IO ID 45"} 
[2026-09-07 21:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932013568001,"power":11602,"unknown_75":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836977287488802816}} 
[2026-09-07 21:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":175156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:34:50] local.INFO: GPS data processed {"connection_id":175156,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:34:50] local.INFO: Acknowledgment sent {"connection_id":175156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:34:50] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9a7360012d07044006fcf4e8000f008a2b..."} 
[2026-09-07 21:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9a7360012d07044006fcf4e8000f008a2b..."} 
[2026-09-07 21:34:50] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9a7360012d07044006fcf4e8000f008a2b..."} 
[2026-09-07 21:34:50] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:34:50] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":755434560,"raw_latitude":117241064,"longitude_deg":75.543456,"latitude_deg":11.7241064,"altitude":15,"angle":138,"satellites":43,"speed":7,"hex_longitude":"2d070440","hex_latitude":"06fcf4e8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457931998976001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279259852242944,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":504332819535339520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788796892000,"timestamp_ms":1788796892000,"timestamp_seconds":1788796892,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9a7360"} 
[2026-09-07 21: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-07 21:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:34:50] 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-07 21:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457931998976001,"66":27343,"232":206,"94":11008,"24":7,"16":402279259852242944,"45":504332819535339520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457931998976001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279259852242944,"km_value":402279259852242.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":504332819535339520,"description":"Unknown IO ID 45"} 
[2026-09-07 21:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457931998976001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":504332819535339520}} 
[2026-09-07 21:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:34:50] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:34:50] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:13] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:35:13] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:13] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:35:17] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:35:17] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:35:17] local.INFO: IMEI packet received {"connection_id":174059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":174059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:35:18] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9d3280012d7aa34005ccf888000900731d..."} 
[2026-09-07 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9d3280012d7aa34005ccf888000900731d..."} 
[2026-09-07 21:35:18] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9d3280012d7aa34005ccf888000900731d..."} 
[2026-09-07 21:35:18] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:18] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97319048,"longitude_deg":76.3011904,"latitude_deg":9.7319048,"altitude":9,"angle":115,"satellites":29,"speed":2,"hex_longitude":"2d7aa340","hex_latitude":"05ccf888","is_valid_coordinates":true} 
[2026-09-07 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932049408001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635732334575616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836766181256388608,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788797072000,"timestamp_ms":1788797072000,"timestamp_seconds":1788797072,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9d3280"} 
[2026-09-07 21:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:35:18] 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-07 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":63488,"corrected_to":0} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":142,"raw_value":4261412864,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57887410315220283,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":-639511108417675776,"corrected_to":0} 
[2026-09-07 21:35:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2823487694,"corrected_to":0} 
[2026-09-07 21:35:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":590110,"corrected_to":0} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3438751744,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.WARNING: Large IO value detected {"io_id":155,"raw_value":7599825666030370821,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,75,85,24,241,157,16,143,160,3,45,192,247,9,31,10,66,142,177,30,95,1,240,116,227,124,204,4,113,205,191,163,200,239,47,2,5,155],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":247,"original":63488,"validated":0},{"io_id":204,"original":-639511108417675776,"validated":0},{"io_id":205,"original":2823487694,"validated":0},{"io_id":200,"original":590110,"validated":0}]} 
[2026-09-07 21:35:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648627322546683904,"timestamp_seconds":648627322546683.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932049408001,"66":13450,"75":206,"85":15104,"24":2,"16":129635732334575616,"45":8836766181256388608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932049408001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:18] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635732334575616,"km_value":129635732334575.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836766181256388608,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932049408001,"power":13450,"unknown_75":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8836766181256388608}} 
[2026-09-07 21:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:18] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:18] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:21] local.INFO: TCP Data received {"connection_id":174058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9ac568012d070bc006fced68000f008c2a..."} 
[2026-09-07 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9ac568012d070bc006fced68000f008c2a..."} 
[2026-09-07 21:35:21] local.INFO: Processing buffer {"connection_id":174058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9ac568012d070bc006fced68000f008c2a..."} 
[2026-09-07 21:35:21] local.INFO: Packet analysis {"connection_id":174058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:35:21] local.INFO: Extracted packet for processing {"connection_id":174058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9a"} 
[2026-09-07 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":755436480,"raw_latitude":117239144,"longitude_deg":75.543648,"latitude_deg":11.7239144,"altitude":15,"angle":140,"satellites":42,"speed":0,"hex_longitude":"2d070bc0","hex_latitude":"06fced68","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932004352001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279392996229120,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":505599456930228224,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788796913000,"timestamp_ms":1788796913000,"timestamp_seconds":1788796913,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9ac568"} 
[2026-09-07 21: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-07 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35: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-07 21:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932004352001,"66":27343,"232":206,"94":11008,"24":0,"16":402279392996229120,"45":505599456930228224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932004352001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:21] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:35:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279392996229120,"km_value":402279392996229.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":505599456930228224,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932004352001,"power":27343,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":505599456930228224}} 
[2026-09-07 21:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":174058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:21] local.INFO: GPS data processed {"connection_id":174058,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:21] local.INFO: Acknowledgment sent {"connection_id":174058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:23] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9d80a0012d7aa34005ccf870000900771e..."} 
[2026-09-07 21:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9d80a0012d7aa34005ccf870000900771e..."} 
[2026-09-07 21:35:23] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9d80a0012d7aa34005ccf870000900771e..."} 
[2026-09-07 21:35:23] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:23] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763011904,"raw_latitude":97319024,"longitude_deg":76.3011904,"latitude_deg":9.7319024,"altitude":9,"angle":119,"satellites":30,"speed":0,"hex_longitude":"2d7aa340","hex_latitude":"05ccf870","is_valid_coordinates":true} 
[2026-09-07 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-07 21:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932050432001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635745219477504,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488899072,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788797092000,"timestamp_ms":1788797092000,"timestamp_seconds":1788797092,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9d80a0"} 
[2026-09-07 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-07 21:35: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-07 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932050432001,"66":13406,"75":206,"85":15104,"24":0,"16":129635745219477504,"45":8836977287488899072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932050432001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635745219477504,"km_value":129635745219477.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488899072,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932050432001,"power":13406,"unknown_75":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8836977287488899072}} 
[2026-09-07 21:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:23] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:23] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:44] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:44] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:44] local.INFO: IMEI packet received {"connection_id":175157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":175157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:35:47] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:47] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:47] local.INFO: IMEI packet received {"connection_id":175157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":175157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:35:48] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:48] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:35:48] local.INFO: IMEI packet received {"connection_id":175157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":175157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:35:49] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9b1770012d070ec006fceb500011008c2a..."} 
[2026-09-07 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9b1770012d070ec006fceb500011008c2a..."} 
[2026-09-07 21:35:49] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9b1770012d070ec006fceb500011008c2a..."} 
[2026-09-07 21:35:49] local.INFO: Packet analysis {"connection_id":175157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:35:49] local.INFO: Extracted packet for processing {"connection_id":175157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":755437248,"raw_latitude":117238608,"longitude_deg":75.5437248,"latitude_deg":11.7238608,"altitude":17,"angle":140,"satellites":42,"speed":3,"hex_longitude":"2d070ec0","hex_latitude":"06fceb50","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932009728001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279440240869376,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":507710519255066624,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788796934000,"timestamp_ms":1788796934000,"timestamp_seconds":1788796934,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9b1770"} 
[2026-09-07 21: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-07 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35:49] 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-07 21:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932009728001,"66":27397,"232":206,"94":11008,"24":3,"16":402279440240869376,"45":507710519255066624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932009728001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:49] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:35:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279440240869376,"km_value":402279440240869.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":507710519255066624,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932009728001,"power":27397,"unknown_232":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":507710519255066624}} 
[2026-09-07 21:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":175157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:49] local.INFO: GPS data processed {"connection_id":175157,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:49] local.INFO: Acknowledgment sent {"connection_id":175157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:51] local.INFO: TCP Data received {"connection_id":173821,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:35:51] local.INFO: Processing buffer {"connection_id":173821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:35:51] local.INFO: IMEI packet received {"connection_id":173821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":173821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:35:54] local.INFO: TCP Data received {"connection_id":174059,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9d9bf8012d7aa40005ccf7c8000800961f..."} 
[2026-09-07 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9d9bf8012d7aa40005ccf7c8000800961f..."} 
[2026-09-07 21:35:54] local.INFO: Processing buffer {"connection_id":174059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9d9bf8012d7aa40005ccf7c8000800961f..."} 
[2026-09-07 21:35:54] local.INFO: Packet analysis {"connection_id":174059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:54] local.INFO: Extracted packet for processing {"connection_id":174059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763012096,"raw_latitude":97318856,"longitude_deg":76.3012096,"latitude_deg":9.7318856,"altitude":8,"angle":150,"satellites":31,"speed":4,"hex_longitude":"2d7aa400","hex_latitude":"05ccf7c8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932055552001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635753809412096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836977287488892928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788797099000,"timestamp_ms":1788797099000,"timestamp_seconds":1788797099,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9d9bf8"} 
[2026-09-07 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-07 21:35: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-07 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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932055552001,"66":13341,"75":206,"85":15104,"24":4,"16":129635753809412096,"45":8836977287488892928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932055552001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635753809412096,"km_value":129635753809412.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836977287488892928,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932055552001,"power":13341,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8836977287488892928}} 
[2026-09-07 21:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:54] local.INFO: GPS data processed {"connection_id":174059,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:54] local.INFO: Acknowledgment sent {"connection_id":174059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:35:54] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9b6978012d0715c006fce2d80011008c29..."} 
[2026-09-07 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9b6978012d0715c006fce2d80011008c29..."} 
[2026-09-07 21:35:54] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9b6978012d0715c006fce2d80011008c29..."} 
[2026-09-07 21:35:54] local.INFO: Packet analysis {"connection_id":175157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:35:54] local.INFO: Extracted packet for processing {"connection_id":175157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755439040,"raw_latitude":117236440,"longitude_deg":75.543904,"latitude_deg":11.723644,"altitude":17,"angle":140,"satellites":41,"speed":0,"hex_longitude":"2d0715c0","hex_latitude":"06fce2d8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932015104001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279581974790144,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":508554944185061376,"note":"Value kept but may cause issues"} 
[2026-09-07 21:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788796955000,"timestamp_ms":1788796955000,"timestamp_seconds":1788796955,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9b6978"} 
[2026-09-07 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-07 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:35:54] 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-07 21:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932015104001,"66":27332,"232":206,"94":11008,"24":0,"16":402279581974790144,"45":508554944185061376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932015104001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279581974790144,"km_value":402279581974790.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":508554944185061376,"description":"Unknown IO ID 45"} 
[2026-09-07 21:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932015104001,"power":27332,"unknown_232":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":508554944185061376}} 
[2026-09-07 21:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":175157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:35:54] local.INFO: GPS data processed {"connection_id":175157,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:35:54] local.INFO: Acknowledgment sent {"connection_id":175157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:18] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:18] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:18] local.INFO: IMEI packet received {"connection_id":174060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":174060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:36:23] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:23] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:36:23] local.INFO: IMEI packet received {"connection_id":174060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":174060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:36:24] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9d9fe0012d7aa44005ccf768000800a41f..."} 
[2026-09-07 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9d9fe0012d7aa44005ccf768000800a41f..."} 
[2026-09-07 21:36:24] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9d9fe0012d7aa44005ccf768000800a41f..."} 
[2026-09-07 21:36:24] local.INFO: Packet analysis {"connection_id":174060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:24] local.INFO: Extracted packet for processing {"connection_id":174060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763012160,"raw_latitude":97318760,"longitude_deg":76.301216,"latitude_deg":9.731876,"altitude":8,"angle":164,"satellites":31,"speed":4,"hex_longitude":"2d7aa440","hex_latitude":"05ccf768","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932057344001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635758104379392,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188393721382912,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788797100000,"timestamp_ms":1788797100000,"timestamp_seconds":1788797100,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9d9fe0"} 
[2026-09-07 21: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-07 21:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:24] 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-07 21: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-07 21: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-07 21:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932057344001,"66":13341,"75":206,"85":15104,"24":4,"16":129635758104379392,"45":8837188393721382912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932057344001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635758104379392,"km_value":129635758104379.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188393721382912,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932057344001,"power":13341,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8837188393721382912}} 
[2026-09-07 21:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":174060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:24] local.INFO: GPS data processed {"connection_id":174060,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:24] local.INFO: Acknowledgment sent {"connection_id":174060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:25] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9da7b0012d7aa44005ccf668000800c31f..."} 
[2026-09-07 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9da7b0012d7aa44005ccf668000800c31f..."} 
[2026-09-07 21:36:25] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9da7b0012d7aa44005ccf668000800c31f..."} 
[2026-09-07 21:36:25] local.INFO: Packet analysis {"connection_id":174060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:25] local.INFO: Extracted packet for processing {"connection_id":174060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763012160,"raw_latitude":97318504,"longitude_deg":76.301216,"latitude_deg":9.7318504,"altitude":8,"angle":195,"satellites":31,"speed":4,"hex_longitude":"2d7aa440","hex_latitude":"05ccf668","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932057600001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635775284248576,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837258762465536000,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788797102000,"timestamp_ms":1788797102000,"timestamp_seconds":1788797102,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9da7b0"} 
[2026-09-07 21: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-07 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:25] 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-07 21: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-07 21: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-07 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932057600001,"66":13472,"75":206,"85":15104,"24":4,"16":129635775284248576,"45":8837258762465536000},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932057600001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635775284248576,"km_value":129635775284248.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837258762465536000,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932057600001,"power":13472,"unknown_75":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8837258762465536000}} 
[2026-09-07 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:25] local.INFO: GPS data processed {"connection_id":174060,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:25] local.INFO: Acknowledgment sent {"connection_id":174060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:26] local.INFO: TCP Data received {"connection_id":175157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9bbb80012d071cc006fcda100010008829..."} 
[2026-09-07 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9bbb80012d071cc006fcda100010008829..."} 
[2026-09-07 21:36:26] local.INFO: Processing buffer {"connection_id":175157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9bbb80012d071cc006fcda100010008829..."} 
[2026-09-07 21:36:26] local.INFO: Packet analysis {"connection_id":175157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:36:26] local.INFO: Extracted packet for processing {"connection_id":175157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9b"} 
[2026-09-07 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":755440832,"raw_latitude":117234192,"longitude_deg":75.5440832,"latitude_deg":11.7234192,"altitude":16,"angle":136,"satellites":41,"speed":5,"hex_longitude":"2d071cc0","hex_latitude":"06fcda10","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932020480001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402279719413743616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":510525269021480960,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788796976000,"timestamp_ms":1788796976000,"timestamp_seconds":1788796976,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9bbb80"} 
[2026-09-07 21: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-07 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36: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-07 21:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932020480001,"66":27321,"232":206,"94":11008,"24":5,"16":402279719413743616,"45":510525269021480960},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-09-07 21:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932020480001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:26] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 21:36:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402279719413743616,"km_value":402279719413743.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":510525269021480960,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932020480001,"power":27321,"unknown_232":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":510525269021480960}} 
[2026-09-07 21:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":175157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:26] local.INFO: GPS data processed {"connection_id":175157,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:26] local.INFO: Acknowledgment sent {"connection_id":175157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:43] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:43] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:43] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:36:55] local.INFO: TCP Data received {"connection_id":174060,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9db368012d7aa40005ccf500000800d11f..."} 
[2026-09-07 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9db368012d7aa40005ccf500000800d11f..."} 
[2026-09-07 21:36:55] local.INFO: Processing buffer {"connection_id":174060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9db368012d7aa40005ccf500000800d11f..."} 
[2026-09-07 21:36:55] local.INFO: Packet analysis {"connection_id":174060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:55] local.INFO: Extracted packet for processing {"connection_id":174060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763012096,"raw_latitude":97318144,"longitude_deg":76.3012096,"latitude_deg":9.7318144,"altitude":8,"angle":209,"satellites":31,"speed":6,"hex_longitude":"2d7aa400","hex_latitude":"05ccf500","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932058112001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635792464117760,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837258762465470464,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788797105000,"timestamp_ms":1788797105000,"timestamp_seconds":1788797105,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9db368"} 
[2026-09-07 21: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-07 21:36: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-07 21: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:55] 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-07 21: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-07 21: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-07 21:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932058112001,"66":13276,"75":206,"85":15104,"24":6,"16":129635792464117760,"45":8837258762465470464},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932058112001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:55] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635792464117760,"km_value":129635792464117.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837258762465470464,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932058112001,"power":13276,"unknown_75":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8837258762465470464}} 
[2026-09-07 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":174060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:56] local.INFO: GPS data processed {"connection_id":174060,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:56] local.INFO: Acknowledgment sent {"connection_id":174060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:56] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:56] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:56] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:36:57] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:57] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:36:57] local.INFO: IMEI packet received {"connection_id":175158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":175158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:36:58] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9e76b8012d07cc8006fc0aa00011008429..."} 
[2026-09-07 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9e76b8012d07cc8006fc0aa00011008429..."} 
[2026-09-07 21:36:58] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9e76b8012d07cc8006fc0aa00011008429..."} 
[2026-09-07 21:36:58] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:36:58] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":755485824,"raw_latitude":117181088,"longitude_deg":75.5485824,"latitude_deg":11.7181088,"altitude":17,"angle":132,"satellites":41,"speed":12,"hex_longitude":"2d07cc80","hex_latitude":"06fc0aa0","is_valid_coordinates":true} 
[2026-09-07 21:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932070656001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402283078078169088,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561120396071272448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788797155000,"timestamp_ms":1788797155000,"timestamp_seconds":1788797155,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9e76b8"} 
[2026-09-07 21:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36:58] 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-07 21:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932070656001,"66":27300,"169":206,"94":11008,"24":12,"16":402283078078169088,"45":561120396071272448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-07 21:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932070656001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 21:36:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402283078078169088,"km_value":402283078078169.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":561120396071272448,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932070656001,"power":27300,"unknown_169":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":561120396071272448}} 
[2026-09-07 21:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:58] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:58] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:36:59] local.INFO: TCP Data received {"connection_id":175158,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9e8270012d07cf8006fc07b80011008f2b..."} 
[2026-09-07 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9e8270012d07cf8006fc07b80011008f2b..."} 
[2026-09-07 21:36:59] local.INFO: Processing buffer {"connection_id":175158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9e8270012d07cf8006fc07b80011008f2b..."} 
[2026-09-07 21:36:59] local.INFO: Packet analysis {"connection_id":175158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:36:59] local.INFO: Extracted packet for processing {"connection_id":175158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":755486592,"raw_latitude":117180344,"longitude_deg":75.5486592,"latitude_deg":11.7180344,"altitude":17,"angle":143,"satellites":43,"speed":16,"hex_longitude":"2d07cf80","hex_latitude":"06fc07b8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932071680001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402283125322809344,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561964821001183232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788797158000,"timestamp_ms":1788797158000,"timestamp_seconds":1788797158,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9e8270"} 
[2026-09-07 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-07 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:36:59] 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-07 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932071680001,"66":27300,"169":206,"94":11008,"24":16,"16":402283125322809344,"45":561964821001183232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-07 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932071680001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:36:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 21:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402283125322809344,"km_value":402283125322809.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":561964821001183232,"description":"Unknown IO ID 45"} 
[2026-09-07 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932071680001,"power":27300,"unknown_169":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":561964821001183232}} 
[2026-09-07 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":175158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:36:59] local.INFO: GPS data processed {"connection_id":175158,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:36:59] local.INFO: Acknowledgment sent {"connection_id":175158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:37:13] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:13] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:13] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:37:18] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:18] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:37:18] local.INFO: IMEI packet received {"connection_id":175159,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":175159,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:37:19] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9dbf20012d7aa2c005ccf2b8000800c41f..."} 
[2026-09-07 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9dbf20012d7aa2c005ccf2b8000800c41f..."} 
[2026-09-07 21:37:19] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9dbf20012d7aa2c005ccf2b8000800c41f..."} 
[2026-09-07 21:37:19] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:37:19] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:37:19] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":97317560,"longitude_deg":76.3011776,"latitude_deg":9.731756,"altitude":8,"angle":196,"satellites":31,"speed":10,"hex_longitude":"2d7aa2c0","hex_latitude":"05ccf2b8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932058880001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635822528888832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837188393721200640,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788797108000,"timestamp_ms":1788797108000,"timestamp_seconds":1788797108,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9dbf20"} 
[2026-09-07 21: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-07 21:37:19] 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-07 21: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-07 21:37:19] 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-07 21: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-07 21: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-07 21:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932058880001,"66":13352,"75":206,"85":15104,"24":10,"16":129635822528888832,"45":8837188393721200640},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932058880001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:37:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635822528888832,"km_value":129635822528888.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837188393721200640,"description":"Unknown IO ID 45"} 
[2026-09-07 21:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932058880001,"power":13352,"unknown_75":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8837188393721200640}} 
[2026-09-07 21:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:37:19] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:37:19] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:37:43] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:43] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:43] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:37:46] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:46] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:46] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:37:49] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:49] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:37:49] local.INFO: IMEI packet received {"connection_id":176576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":176576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:37:49] local.INFO: TCP Data received {"connection_id":175159,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9dcad8012d7aa28005ccef08000800b41f..."} 
[2026-09-07 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9dcad8012d7aa28005ccef08000800b41f..."} 
[2026-09-07 21:37:49] local.INFO: Processing buffer {"connection_id":175159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9dcad8012d7aa28005ccef08000800b41f..."} 
[2026-09-07 21:37:49] local.INFO: Packet analysis {"connection_id":175159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:37:49] local.INFO: Extracted packet for processing {"connection_id":175159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9d"} 
[2026-09-07 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":763011712,"raw_latitude":97316616,"longitude_deg":76.3011712,"latitude_deg":9.7316616,"altitude":8,"angle":180,"satellites":31,"speed":14,"hex_longitude":"2d7aa280","hex_latitude":"05ccef08","is_valid_coordinates":true} 
[2026-09-07 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932059648001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129635869773529088,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836836550000162816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797111000,"timestamp_ms":1788797111000,"timestamp_seconds":1788797111,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9dcad8"} 
[2026-09-07 21:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:37: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-07 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-07 21:37:49] 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-07 21:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175159,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932059648001,"66":13243,"75":206,"85":15104,"24":14,"16":129635869773529088,"45":8836836550000162816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932059648001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:37:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:37:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129635869773529088,"km_value":129635869773529.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836836550000162816,"description":"Unknown IO ID 45"} 
[2026-09-07 21:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932059648001,"power":13243,"unknown_75":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8836836550000162816}} 
[2026-09-07 21:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":175159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:37:49] local.INFO: GPS data processed {"connection_id":175159,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:37:49] local.INFO: Acknowledgment sent {"connection_id":175159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:37:50] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9ead68012d07e64006fbece0000e008b29..."} 
[2026-09-07 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9ead68012d07e64006fbece0000e008b29..."} 
[2026-09-07 21:37:50] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9ead68012d07e64006fbece0000e008b29..."} 
[2026-09-07 21:37:50] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:37:50] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":755492416,"raw_latitude":117173472,"longitude_deg":75.5492416,"latitude_deg":11.7173472,"altitude":14,"angle":139,"satellites":41,"speed":37,"hex_longitude":"2d07e640","hex_latitude":"06fbece0","is_valid_coordinates":true} 
[2026-09-07 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932072448001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402283559114506240,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":562809245931124736,"note":"Value kept but may cause issues"} 
[2026-09-07 21:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797169000,"timestamp_ms":1788797169000,"timestamp_seconds":1788797169,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9ead68"} 
[2026-09-07 21:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:37:50] 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-07 21:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932072448001,"66":27289,"169":206,"94":11008,"24":37,"16":402283559114506240,"45":562809245931124736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-07 21:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932072448001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:37:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 21:37:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402283559114506240,"km_value":402283559114506.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":562809245931124736,"description":"Unknown IO ID 45"} 
[2026-09-07 21:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932072448001,"power":27289,"unknown_169":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":562809245931124736}} 
[2026-09-07 21:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:37:50] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:37:50] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:38:11] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:11] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:11] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:38:12] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:12] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:12] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:38:15] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:15] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:38:15] local.INFO: IMEI packet received {"connection_id":173822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":173822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:38:15] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca03020012d7aa00005ccdea0000300a923..."} 
[2026-09-07 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca03020012d7aa00005ccdea0000300a923..."} 
[2026-09-07 21:38:15] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca03020012d7aa00005ccdea0000300a923..."} 
[2026-09-07 21:38:15] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:15] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":97312416,"longitude_deg":76.3011072,"latitude_deg":9.7312416,"altitude":3,"angle":169,"satellites":35,"speed":7,"hex_longitude":"2d7aa000","hex_latitude":"05ccdea0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932100352001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129636080226926592,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062493812936704,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788797268000,"timestamp_ms":1788797268000,"timestamp_seconds":1788797268,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca03020"} 
[2026-09-07 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-07 21:38: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-07 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 21:38:15] 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-07 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-07 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-07 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932100352001,"66":12515,"75":206,"85":15104,"24":7,"16":129636080226926592,"45":8836062493812936704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932100352001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:38:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129636080226926592,"km_value":129636080226926.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062493812936704,"description":"Unknown IO ID 45"} 
[2026-09-07 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932100352001,"power":12515,"unknown_75":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8836062493812936704}} 
[2026-09-07 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:38:15] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:38:15] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:38:30] local.INFO: TCP Data received {"connection_id":176576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07c9ed860012d07fe4006fbcfd8000b008f28..."} 
[2026-09-07 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07c9ed860012d07fe4006fbcfd8000b008f28..."} 
[2026-09-07 21:38:30] local.INFO: Processing buffer {"connection_id":176576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07c9ed860012d07fe4006fbcfd8000b008f28..."} 
[2026-09-07 21:38:30] local.INFO: Packet analysis {"connection_id":176576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:38:30] local.INFO: Extracted packet for processing {"connection_id":176576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07c9e"} 
[2026-09-07 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":755498560,"raw_latitude":117166040,"longitude_deg":75.549856,"latitude_deg":11.716604,"altitude":11,"angle":143,"satellites":40,"speed":34,"hex_longitude":"2d07fe40","hex_latitude":"06fbcfd8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932075264001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402284022970974208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":569212801649532928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788797180000,"timestamp_ms":1788797180000,"timestamp_seconds":1788797180,"priority":1,"record_length":96,"hex_timestamp":"000001a07c9ed860"} 
[2026-09-07 21: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-07 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 21: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 21:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:38:30] 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-07 21:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932075264001,"66":27267,"169":206,"94":11008,"24":34,"16":402284022970974208,"45":569212801649532928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-09-07 21:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932075264001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:38:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 21:38:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402284022970974208,"km_value":402284022970974.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":569212801649532928,"description":"Unknown IO ID 45"} 
[2026-09-07 21:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932075264001,"power":27267,"unknown_169":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":569212801649532928}} 
[2026-09-07 21:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":176576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:38:30] local.INFO: GPS data processed {"connection_id":176576,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:38:30] local.INFO: Acknowledgment sent {"connection_id":176576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:38:46] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:46] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:46] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:38:46] local.INFO: TCP Data received {"connection_id":173822,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca0e3d0012d7ab10005ccba00000800b822..."} 
[2026-09-07 21:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca0e3d0012d7ab10005ccba00000800b822..."} 
[2026-09-07 21:38:46] local.INFO: Processing buffer {"connection_id":173822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca0e3d0012d7ab10005ccba00000800b822..."} 
[2026-09-07 21:38:46] local.INFO: Packet analysis {"connection_id":173822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:46] local.INFO: Extracted packet for processing {"connection_id":173822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:46] local.INFO: GPS Element Parsed {"raw_longitude":763015424,"raw_latitude":97303040,"longitude_deg":76.3015424,"latitude_deg":9.730304,"altitude":8,"angle":184,"satellites":34,"speed":9,"hex_longitude":"2d7ab100","hex_latitude":"05ccba00","is_valid_coordinates":true} 
[2026-09-07 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-07 21:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932112128001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129636677227380736,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840777199670464512,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788797314000,"timestamp_ms":1788797314000,"timestamp_seconds":1788797314,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca0e3d0"} 
[2026-09-07 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-07 21:38: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-07 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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-07 21:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932112128001,"66":11656,"75":206,"85":15104,"24":9,"16":129636677227380736,"45":8840777199670464512},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,85,24,16,45]} 
[2026-09-07 21:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932112128001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:38:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 21:38:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129636677227380736,"km_value":129636677227380.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840777199670464512,"description":"Unknown IO ID 45"} 
[2026-09-07 21:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932112128001,"power":11656,"unknown_75":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8840777199670464512}} 
[2026-09-07 21:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":173822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:38:47] local.INFO: GPS data processed {"connection_id":173822,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:38:47] local.INFO: Acknowledgment sent {"connection_id":173822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:38:49] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:49] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:49] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:38:54] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:54] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:38:54] local.INFO: IMEI packet received {"connection_id":176577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":176577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:38:55] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca02468012d0849c006fa6f38000f00bb2b..."} 
[2026-09-07 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca02468012d0849c006fa6f38000f00bb2b..."} 
[2026-09-07 21:38:55] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca02468012d0849c006fa6f38000f00bb2b..."} 
[2026-09-07 21:38:55] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:55] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:38:55] local.INFO: GPS Element Parsed {"raw_longitude":755517888,"raw_latitude":117075768,"longitude_deg":75.5517888,"latitude_deg":11.7075768,"altitude":15,"angle":187,"satellites":43,"speed":51,"hex_longitude":"2d0849c0","hex_latitude":"06fa6f38","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932098048001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402288579931275264,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598063986739677184,"note":"Value kept but may cause issues"} 
[2026-09-07 21:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788797265000,"timestamp_ms":1788797265000,"timestamp_seconds":1788797265,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca02468"} 
[2026-09-07 21: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-07 21:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:38:55] 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-07 21:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932098048001,"66":27300,"171":206,"94":11008,"24":51,"16":402288579931275264,"45":598063986739677184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-07 21:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932098048001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:38:55] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 21:38:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402288579931275264,"km_value":402288579931275.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":598063986739677184,"description":"Unknown IO ID 45"} 
[2026-09-07 21:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932098048001,"power":27300,"unknown_171":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":598063986739677184}} 
[2026-09-07 21:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:38:55] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:38:55] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:39:10] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:10] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:10] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:39:12] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:12] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:12] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:39:13] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:39:13] local.INFO: TCP Data received {"connection_id":175160,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: Processing buffer {"connection_id":175160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:39:13] local.INFO: IMEI packet received {"connection_id":175160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":175160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:39:26] local.INFO: TCP Data received {"connection_id":176577,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca043a8012d0843c006fa4890000f00be2b..."} 
[2026-09-07 21:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca043a8012d0843c006fa4890000f00be2b..."} 
[2026-09-07 21:39:26] local.INFO: Processing buffer {"connection_id":176577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca043a8012d0843c006fa4890000f00be2b..."} 
[2026-09-07 21:39:26] local.INFO: Packet analysis {"connection_id":176577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:39:26] local.INFO: Extracted packet for processing {"connection_id":176577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:39:26] local.INFO: GPS Element Parsed {"raw_longitude":755516352,"raw_latitude":117065872,"longitude_deg":75.5516352,"latitude_deg":11.7065872,"altitude":15,"angle":190,"satellites":43,"speed":50,"hex_longitude":"2d0843c0","hex_latitude":"06fa4890","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932099840001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402289065262579712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":597219561807230976,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788797273000,"timestamp_ms":1788797273000,"timestamp_seconds":1788797273,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca043a8"} 
[2026-09-07 21: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-07 21:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:39: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-07 21:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932099840001,"66":26941,"171":206,"94":11008,"24":50,"16":402289065262579712,"45":597219561807230976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,94,24,16,45]} 
[2026-09-07 21:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932099840001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:39:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-09-07 21:39:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-07 21:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402289065262579712,"km_value":402289065262579.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":597219561807230976,"description":"Unknown IO ID 45"} 
[2026-09-07 21:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932099840001,"power":26941,"unknown_171":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":597219561807230976}} 
[2026-09-07 21:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":176577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:39:26] local.INFO: GPS data processed {"connection_id":176577,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:39:26] local.INFO: Acknowledgment sent {"connection_id":176577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:39:43] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:43] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:43] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:39:48] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:48] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:39:48] local.INFO: IMEI packet received {"connection_id":173824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:39:48] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca05f00012d083c0006fa2630000f00c22c..."} 
[2026-09-07 21:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca05f00012d083c0006fa2630000f00c22c..."} 
[2026-09-07 21:39:48] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca05f00012d083c0006fa2630000f00c22c..."} 
[2026-09-07 21:39:48] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:39:48] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":755514368,"raw_latitude":117057072,"longitude_deg":75.5514368,"latitude_deg":11.7057072,"altitude":15,"angle":194,"satellites":44,"speed":50,"hex_longitude":"2d083c00","hex_latitude":"06fa2630","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932101888001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402289503349243904,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595530711944433664,"note":"Value kept but may cause issues"} 
[2026-09-07 21:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788797280000,"timestamp_ms":1788797280000,"timestamp_seconds":1788797280,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca05f00"} 
[2026-09-07 21: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-07 21:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-09-07 21:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:39: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-07 21:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932101888001,"66":27376,"33":206,"80":6400,"24":50,"16":402289503349243904,"45":595530711944433664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-09-07 21:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932101888001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:39:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 21:39:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402289503349243904,"km_value":402289503349243.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":595530711944433664,"description":"Unknown IO ID 45"} 
[2026-09-07 21:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932101888001,"power":27376,"unknown_33":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":595530711944433664}} 
[2026-09-07 21:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:39:49] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:39:49] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:40:20] local.INFO: TCP Data received {"connection_id":173824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca07e40012d08314006fa0018001000c229..."} 
[2026-09-07 21:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca07e40012d08314006fa0018001000c229..."} 
[2026-09-07 21:40:20] local.INFO: Processing buffer {"connection_id":173824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca07e40012d08314006fa0018001000c229..."} 
[2026-09-07 21:40:20] local.INFO: Packet analysis {"connection_id":173824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:40:20] local.INFO: Extracted packet for processing {"connection_id":173824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca0"} 
[2026-09-07 21:40:20] local.INFO: GPS Element Parsed {"raw_longitude":755511616,"raw_latitude":117047320,"longitude_deg":75.5511616,"latitude_deg":11.704732,"altitude":16,"angle":194,"satellites":41,"speed":49,"hex_longitude":"2d083140","hex_latitude":"06fa0018","is_valid_coordinates":true} 
[2026-09-07 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932103680001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402289992975515648,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593349280872673280,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788797288000,"timestamp_ms":1788797288000,"timestamp_seconds":1788797288,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca07e40"} 
[2026-09-07 21:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:40: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-07 21:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932103680001,"66":27365,"33":206,"80":6400,"24":49,"16":402289992975515648,"45":593349280872673280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-09-07 21:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932103680001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:40:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 21:40:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402289992975515648,"km_value":402289992975515.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":593349280872673280,"description":"Unknown IO ID 45"} 
[2026-09-07 21:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932103680001,"power":27365,"unknown_33":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":593349280872673280}} 
[2026-09-07 21:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":173824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:40:20] local.INFO: GPS data processed {"connection_id":173824,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:40:20] local.INFO: Acknowledgment sent {"connection_id":173824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:40:43] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:43] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:43] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:40:44] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:44] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:44] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:40:49] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:49] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:40:49] local.INFO: IMEI packet received {"connection_id":176578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":176578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:40:50] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca1ce30012d07b34006f87710001700c329..."} 
[2026-09-07 21:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca1ce30012d07b34006f87710001700c329..."} 
[2026-09-07 21:40:50] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca1ce30012d07b34006f87710001700c329..."} 
[2026-09-07 21:40:50] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca1"} 
[2026-09-07 21:40:50] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca1"} 
[2026-09-07 21:40:50] local.INFO: GPS Element Parsed {"raw_longitude":755479360,"raw_latitude":116946704,"longitude_deg":75.547936,"latitude_deg":11.6946704,"altitude":23,"angle":195,"satellites":41,"speed":47,"hex_longitude":"2d07b340","hex_latitude":"06f87710","is_valid_coordinates":true} 
[2026-09-07 21:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932125696001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402295108281565184,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557813065037012992,"note":"Value kept but may cause issues"} 
[2026-09-07 21:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797374000,"timestamp_ms":1788797374000,"timestamp_seconds":1788797374,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca1ce30"} 
[2026-09-07 21:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:40:50] 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-07 21:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932125696001,"66":27343,"41":206,"80":6400,"24":47,"16":402295108281565184,"45":557813065037012992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-07 21:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932125696001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:40:50] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-07 21:40:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402295108281565184,"km_value":402295108281565.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":557813065037012992,"description":"Unknown IO ID 45"} 
[2026-09-07 21:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932125696001,"power":27343,"unknown_41":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":557813065037012992}} 
[2026-09-07 21:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:40:50] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:40:50] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:41:21] local.INFO: TCP Data received {"connection_id":176578,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca1ed70012d07a90006f852a0001700c22a..."} 
[2026-09-07 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca1ed70012d07a90006f852a0001700c22a..."} 
[2026-09-07 21:41:21] local.INFO: Processing buffer {"connection_id":176578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca1ed70012d07a90006f852a0001700c22a..."} 
[2026-09-07 21:41:21] local.INFO: Packet analysis {"connection_id":176578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca1"} 
[2026-09-07 21:41:21] local.INFO: Extracted packet for processing {"connection_id":176578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca1"} 
[2026-09-07 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":755476736,"raw_latitude":116937376,"longitude_deg":75.5476736,"latitude_deg":11.6937376,"altitude":23,"angle":194,"satellites":42,"speed":49,"hex_longitude":"2d07a900","hex_latitude":"06f852a0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932127744001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402295576433000448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554857577779236864,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788797382000,"timestamp_ms":1788797382000,"timestamp_seconds":1788797382,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca1ed70"} 
[2026-09-07 21: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-07 21:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41: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-07 21:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932127744001,"66":27343,"41":206,"80":6400,"24":49,"16":402295576433000448,"45":554857577779236864},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-09-07 21:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932127744001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:41:21] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-09-07 21:41:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402295576433000448,"km_value":402295576433000.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":554857577779236864,"description":"Unknown IO ID 45"} 
[2026-09-07 21:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932127744001,"power":27343,"unknown_41":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":554857577779236864}} 
[2026-09-07 21:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":176578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:41:21] local.INFO: GPS data processed {"connection_id":176578,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:41:21] local.INFO: Acknowledgment sent {"connection_id":176578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:41:26] local.INFO: TCP Data received {"connection_id":174061,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:26] local.INFO: Processing buffer {"connection_id":174061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:26] local.INFO: IMEI packet received {"connection_id":174061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":174061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:41:46] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:46] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:46] local.INFO: IMEI packet received {"connection_id":174062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":174062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:41:53] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:53] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:53] local.INFO: IMEI packet received {"connection_id":174062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":174062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:41:54] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:54] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:41:54] local.INFO: IMEI packet received {"connection_id":174062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":174062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:41:55] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca31e20012d07678006f6e598001800952b..."} 
[2026-09-07 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca31e20012d07678006f6e598001800952b..."} 
[2026-09-07 21:41:55] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca31e20012d07678006f6e598001800952b..."} 
[2026-09-07 21:41:55] local.INFO: Packet analysis {"connection_id":174062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:41:55] local.INFO: Extracted packet for processing {"connection_id":174062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":755459968,"raw_latitude":116843928,"longitude_deg":75.5459968,"latitude_deg":11.6843928,"altitude":24,"angle":149,"satellites":43,"speed":48,"hex_longitude":"2d076780","hex_latitude":"06f6e598","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932147968001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402300305191993344,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":529595198595100672,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788797460000,"timestamp_ms":1788797460000,"timestamp_seconds":1788797460,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca31e20"} 
[2026-09-07 21: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-07 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41:55] 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-07 21:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932147968001,"66":27343,"42":206,"80":6400,"24":48,"16":402300305191993344,"45":529595198595100672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 21:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932147968001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:41:55] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 21:41:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402300305191993344,"km_value":402300305191993.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":529595198595100672,"description":"Unknown IO ID 45"} 
[2026-09-07 21:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932147968001,"power":27343,"unknown_42":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":529595198595100672}} 
[2026-09-07 21:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":174062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:41:55] local.INFO: GPS data processed {"connection_id":174062,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:41:55] local.INFO: Acknowledgment sent {"connection_id":174062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:41:56] local.INFO: TCP Data received {"connection_id":174063,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:56] local.INFO: Processing buffer {"connection_id":174063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:41:56] local.INFO: IMEI packet received {"connection_id":174063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":174063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:41:56] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca33d60012d077f0006f6c6c80016008c2b..."} 
[2026-09-07 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca33d60012d077f0006f6c6c80016008c2b..."} 
[2026-09-07 21:41:56] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca33d60012d077f0006f6c6c80016008c2b..."} 
[2026-09-07 21:41:56] local.INFO: Packet analysis {"connection_id":174062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:41:56] local.INFO: Extracted packet for processing {"connection_id":174062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755465984,"raw_latitude":116836040,"longitude_deg":75.5465984,"latitude_deg":11.683604,"altitude":22,"angle":140,"satellites":43,"speed":49,"hex_longitude":"2d077f00","hex_latitude":"06f6c6c8","is_valid_coordinates":true} 
[2026-09-07 21:41: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-07 21:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932149760001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402300781933363200,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533535848267094016,"note":"Value kept but may cause issues"} 
[2026-09-07 21:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788797468000,"timestamp_ms":1788797468000,"timestamp_seconds":1788797468,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca33d60"} 
[2026-09-07 21:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:41: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-07 21:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:41:56] 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-07 21:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932149760001,"66":27267,"42":206,"80":6400,"24":49,"16":402300781933363200,"45":533535848267094016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 21:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932149760001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:41:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 21:41:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402300781933363200,"km_value":402300781933363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":533535848267094016,"description":"Unknown IO ID 45"} 
[2026-09-07 21:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932149760001,"power":27267,"unknown_42":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":533535848267094016}} 
[2026-09-07 21:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":174062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:41:56] local.INFO: GPS data processed {"connection_id":174062,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:41:56] local.INFO: Acknowledgment sent {"connection_id":174062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:42:28] local.INFO: TCP Data received {"connection_id":174062,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca358b8012d0795c006f6ab900013008c2b..."} 
[2026-09-07 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca358b8012d0795c006f6ab900013008c2b..."} 
[2026-09-07 21:42:28] local.INFO: Processing buffer {"connection_id":174062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca358b8012d0795c006f6ab900013008c2b..."} 
[2026-09-07 21:42:28] local.INFO: Packet analysis {"connection_id":174062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:42:28] local.INFO: Extracted packet for processing {"connection_id":174062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":755471808,"raw_latitude":116829072,"longitude_deg":75.5471808,"latitude_deg":11.6829072,"altitude":19,"angle":140,"satellites":43,"speed":52,"hex_longitude":"2d0795c0","hex_latitude":"06f6ab90","is_valid_coordinates":true} 
[2026-09-07 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932151808001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402301215725060096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":540150510217775104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788797475000,"timestamp_ms":1788797475000,"timestamp_seconds":1788797475,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca358b8"} 
[2026-09-07 21:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:42:28] 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-07 21:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932151808001,"66":27267,"42":206,"80":6400,"24":52,"16":402301215725060096,"45":540150510217775104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 21:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932151808001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:42:28] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 21:42:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402301215725060096,"km_value":402301215725060.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":540150510217775104,"description":"Unknown IO ID 45"} 
[2026-09-07 21:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932151808001,"power":27267,"unknown_42":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":540150510217775104}} 
[2026-09-07 21:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":174062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:42:28] local.INFO: GPS data processed {"connection_id":174062,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:42:28] local.INFO: Acknowledgment sent {"connection_id":174062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:42:44] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:44] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:44] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:42:49] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:49] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:42:49] local.INFO: IMEI packet received {"connection_id":173825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":173825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:42:49] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca37410012d07ad0006f68fe80011008c2b..."} 
[2026-09-07 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca37410012d07ad0006f68fe80011008c2b..."} 
[2026-09-07 21:42:49] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca37410012d07ad0006f68fe80011008c2b..."} 
[2026-09-07 21:42:49] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:42:49] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:42:49] local.INFO: GPS Element Parsed {"raw_longitude":755477760,"raw_latitude":116821992,"longitude_deg":75.547776,"latitude_deg":11.6821992,"altitude":17,"angle":140,"satellites":43,"speed":51,"hex_longitude":"2d07ad00","hex_latitude":"06f68fe8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932153600001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402301662401658880,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":546554065936158720,"note":"Value kept but may cause issues"} 
[2026-09-07 21:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797482000,"timestamp_ms":1788797482000,"timestamp_seconds":1788797482,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca37410"} 
[2026-09-07 21: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-07 21:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:42:49] 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-07 21:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932153600001,"66":27213,"42":206,"80":6400,"24":51,"16":402301662401658880,"45":546554065936158720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 21:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932153600001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:42:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 21:42:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402301662401658880,"km_value":402301662401658.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":546554065936158720,"description":"Unknown IO ID 45"} 
[2026-09-07 21:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932153600001,"power":27213,"unknown_42":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":546554065936158720}} 
[2026-09-07 21:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:42:49] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:42:49] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:43:20] local.INFO: TCP Data received {"connection_id":173825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca38f68012d07c30006f674d8000f008c2a..."} 
[2026-09-07 21:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca38f68012d07c30006f674d8000f008c2a..."} 
[2026-09-07 21:43:20] local.INFO: Processing buffer {"connection_id":173825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca38f68012d07c30006f674d8000f008c2a..."} 
[2026-09-07 21:43:20] local.INFO: Packet analysis {"connection_id":173825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:43:20] local.INFO: Extracted packet for processing {"connection_id":173825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca3"} 
[2026-09-07 21:43:20] local.INFO: GPS Element Parsed {"raw_longitude":755483392,"raw_latitude":116815064,"longitude_deg":75.5483392,"latitude_deg":11.6815064,"altitude":15,"angle":140,"satellites":42,"speed":49,"hex_longitude":"2d07c300","hex_latitude":"06f674d8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932155392001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402302091898388480,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":553098359142868992,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788797489000,"timestamp_ms":1788797489000,"timestamp_seconds":1788797489,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca38f68"} 
[2026-09-07 21: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-07 21:43: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-07 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 21:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932155392001,"66":27267,"42":206,"80":6400,"24":49,"16":402302091898388480,"45":553098359142868992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-09-07 21:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932155392001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:43:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-07 21:43:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402302091898388480,"km_value":402302091898388.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":553098359142868992,"description":"Unknown IO ID 45"} 
[2026-09-07 21:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932155392001,"power":27267,"unknown_42":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":553098359142868992}} 
[2026-09-07 21:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":173825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:43:21] local.INFO: GPS data processed {"connection_id":173825,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:43:21] local.INFO: Acknowledgment sent {"connection_id":173825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:43:40] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:40] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:40] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:43:44] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:44] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:44] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:43:49] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:49] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:43:49] local.INFO: IMEI packet received {"connection_id":175164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":175164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:43:49] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca4eb10012d08b20006f54840000d00a02c..."} 
[2026-09-07 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca4eb10012d08b20006f54840000d00a02c..."} 
[2026-09-07 21:43:49] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca4eb10012d08b20006f54840000d00a02c..."} 
[2026-09-07 21:43:49] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:43:49] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":755544576,"raw_latitude":116738112,"longitude_deg":75.5544576,"latitude_deg":11.6738112,"altitude":13,"angle":160,"satellites":44,"speed":20,"hex_longitude":"2d08b200","hex_latitude":"06f54840","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932178944001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402306833542283264,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625085584415764480,"note":"Value kept but may cause issues"} 
[2026-09-07 21:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797578000,"timestamp_ms":1788797578000,"timestamp_seconds":1788797578,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca4eb10"} 
[2026-09-07 21: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-07 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 21:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:43:49] 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-07 21:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932178944001,"66":27234,"12":206,"80":6400,"24":20,"16":402306833542283264,"45":625085584415764480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 21:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932178944001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:43:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:43:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402306833542283264,"km_value":402306833542283.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":625085584415764480,"description":"Unknown IO ID 45"} 
[2026-09-07 21:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932178944001,"power":27234,"unknown_12":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":625085584415764480}} 
[2026-09-07 21:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:43:49] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:43:49] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:44:20] local.INFO: TCP Data received {"connection_id":175164,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca4eef8012d08b2c006f54650000d00ad2c..."} 
[2026-09-07 21:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca4eef8012d08b2c006f54650000d00ad2c..."} 
[2026-09-07 21:44:20] local.INFO: Processing buffer {"connection_id":175164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca4eef8012d08b2c006f54650000d00ad2c..."} 
[2026-09-07 21:44:20] local.INFO: Packet analysis {"connection_id":175164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:20] local.INFO: Extracted packet for processing {"connection_id":175164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755544768,"raw_latitude":116737616,"longitude_deg":75.5544768,"latitude_deg":11.6737616,"altitude":13,"angle":173,"satellites":44,"speed":19,"hex_longitude":"2d08b2c0","hex_latitude":"06f54650","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932179968001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402306859312087040,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626563328042876928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788797579000,"timestamp_ms":1788797579000,"timestamp_seconds":1788797579,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca4eef8"} 
[2026-09-07 21: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-07 21:44: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-07 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932179968001,"66":27267,"12":206,"80":6400,"24":19,"16":402306859312087040,"45":626563328042876928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 21:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932179968001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:44:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:44:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402306859312087040,"km_value":402306859312087.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":626563328042876928,"description":"Unknown IO ID 45"} 
[2026-09-07 21:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932179968001,"power":27267,"unknown_12":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":626563328042876928}} 
[2026-09-07 21:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":175164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:44:20] local.INFO: GPS data processed {"connection_id":175164,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:44:20] local.INFO: Acknowledgment sent {"connection_id":175164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:44:23] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: IMEI packet received {"connection_id":176583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:44:23] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:23] local.INFO: IMEI packet received {"connection_id":176583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":176583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:44:28] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:28] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:44:28] local.INFO: IMEI packet received {"connection_id":176583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":176583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:44:29] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.109.136.8","data_length":1340,"data_hex":"000000000000030f8e0a000001a07ca5fc80012d7b344005cadf880003006223..."} 
[2026-09-07 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a07ca5fc80012d7b344005cadf880003006223..."} 
[2026-09-07 21:44:29] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a07ca5fc80012d7b344005cadf880003006223..."} 
[2026-09-07 21:44:29] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:44:29] local.INFO: Extracted packet for processing {"connection_id":176583,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":97181576,"longitude_deg":76.3049024,"latitude_deg":9.7181576,"altitude":3,"angle":98,"satellites":35,"speed":27,"hex_longitude":"2d7b3440","hex_latitude":"05cadf88","is_valid_coordinates":true} 
[2026-09-07 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932194048001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129645271456940032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867869166147395584,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788797648000,"timestamp_ms":1788797648000,"timestamp_seconds":1788797648,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca5fc80"} 
[2026-09-07 21:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:44: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-07 21:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-07 21:44:29] 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-07 21:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":176583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":176583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":176583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932194048001,"66":12189,"91":206,"85":15104,"24":27,"16":129645271456940032,"45":8867869166147395584},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932194048001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:44:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129645271456940032,"km_value":129645271456940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867869166147395584,"description":"Unknown IO ID 45"} 
[2026-09-07 21:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932194048001,"power":12189,"unknown_91":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8867869166147395584}} 
[2026-09-07 21:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":176583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:44:29] local.INFO: GPS data processed {"connection_id":176583,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:44:29] local.INFO: Acknowledgment sent {"connection_id":176583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:44:29] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:44:29] local.INFO: Incomplete packet, waiting for more data {"connection_id":176583,"needed":795,"available":545} 
[2026-09-07 21:44:30] local.INFO: TCP Data received {"connection_id":176583,"ip":"42.109.136.8","data_length":250,"data_hex":"e3001001cc964d00000000000001a07ca52990012d7ab7c005cadd0000060076..."} 
[2026-09-07 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176583,"packet_length":250,"packet_hex":"e3001001cc964d00000000000001a07ca52990012d7ab7c005cadd0000060076..."} 
[2026-09-07 21:44:30] local.INFO: Processing buffer {"connection_id":176583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca5fc80012d7b344005cadf880003006223..."} 
[2026-09-07 21:44:30] local.INFO: Packet analysis {"connection_id":176583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:44:30] local.INFO: Extracted packet for processing {"connection_id":176583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":97181576,"longitude_deg":76.3049024,"latitude_deg":9.7181576,"altitude":3,"angle":98,"satellites":35,"speed":27,"hex_longitude":"2d7b3440","hex_latitude":"05cadf88","is_valid_coordinates":true} 
[2026-09-07 21:44: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-07 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932197888001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129645271456940032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159076751360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788797648000,"timestamp_ms":1788797648000,"timestamp_seconds":1788797648,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca5fc80"} 
[2026-09-07 21:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-07 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:44: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-07 21:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932197888001,"66":12189,"91":206,"85":15104,"24":27,"16":129645271456940032,"45":8877791159076751360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932197888001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:44:30] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129645271456940032,"km_value":129645271456940.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159076751360,"description":"Unknown IO ID 45"} 
[2026-09-07 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932197888001,"power":12189,"unknown_91":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8877791159076751360}} 
[2026-09-07 21:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":176583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:44:30] local.INFO: GPS data processed {"connection_id":176583,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:44:30] local.INFO: Acknowledgment sent {"connection_id":176583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:44:44] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:44] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:44] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:44:45] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:45] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:45] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:44:49] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:49] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:44:49] local.INFO: IMEI packet received {"connection_id":173826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":173826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:44:49] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca4f6c8012d08b38006f54258000d00a02c..."} 
[2026-09-07 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca4f6c8012d08b38006f54258000d00a02c..."} 
[2026-09-07 21:44:49] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca4f6c8012d08b38006f54258000d00a02c..."} 
[2026-09-07 21:44:49] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:49] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":755544960,"raw_latitude":116736600,"longitude_deg":75.554496,"latitude_deg":11.67366,"altitude":13,"angle":160,"satellites":44,"speed":21,"hex_longitude":"2d08b380","hex_latitude":"06f54258","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932180224001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402306906556727296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626774434275282944,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797581000,"timestamp_ms":1788797581000,"timestamp_seconds":1788797581,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca4f6c8"} 
[2026-09-07 21: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-07 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:49] 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-07 21:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932180224001,"66":27397,"12":206,"80":6400,"24":21,"16":402306906556727296,"45":626774434275282944},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 21:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932180224001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:44:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:44:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402306906556727296,"km_value":402306906556727.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":626774434275282944,"description":"Unknown IO ID 45"} 
[2026-09-07 21:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932180224001,"power":27397,"unknown_12":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":626774434275282944}} 
[2026-09-07 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:44:49] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:44:49] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:44:59] local.INFO: TCP Data received {"connection_id":173826,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca4fe98012d08b58006f53ea8000d008f2c..."} 
[2026-09-07 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca4fe98012d08b58006f53ea8000d008f2c..."} 
[2026-09-07 21:44:59] local.INFO: Processing buffer {"connection_id":173826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca4fe98012d08b58006f53ea8000d008f2c..."} 
[2026-09-07 21:44:59] local.INFO: Packet analysis {"connection_id":173826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:59] local.INFO: Extracted packet for processing {"connection_id":173826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca4"} 
[2026-09-07 21:44:59] local.INFO: GPS Element Parsed {"raw_longitude":755545472,"raw_latitude":116735656,"longitude_deg":75.5545472,"latitude_deg":11.6735656,"altitude":13,"angle":143,"satellites":44,"speed":21,"hex_longitude":"2d08b580","hex_latitude":"06f53ea8","is_valid_coordinates":true} 
[2026-09-07 21:44: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-07 21:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932180736001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402306962391302144,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626985540507555840,"note":"Value kept but may cause issues"} 
[2026-09-07 21:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788797583000,"timestamp_ms":1788797583000,"timestamp_seconds":1788797583,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca4fe98"} 
[2026-09-07 21:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:44: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-07 21:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:44:59] 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-07 21:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932180736001,"66":27332,"12":206,"80":6400,"24":21,"16":402306962391302144,"45":626985540507555840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 21:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932180736001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:44:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:44:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402306962391302144,"km_value":402306962391302.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":626985540507555840,"description":"Unknown IO ID 45"} 
[2026-09-07 21:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932180736001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":626985540507555840}} 
[2026-09-07 21:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":173826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:44:59] local.INFO: GPS data processed {"connection_id":173826,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:44:59] local.INFO: Acknowledgment sent {"connection_id":173826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:45:10] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:10] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:10] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:45:12] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:12] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:12] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:45:13] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:13] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:13] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:45:15] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:15] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:45:15] local.INFO: IMEI packet received {"connection_id":176584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":176584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:45:16] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca62f48012d7b588005cad8a80005006123..."} 
[2026-09-07 21:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca62f48012d7b588005cad8a80005006123..."} 
[2026-09-07 21:45:16] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca62f48012d7b588005cad8a80005006123..."} 
[2026-09-07 21:45:16] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca6"} 
[2026-09-07 21:45:16] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca6"} 
[2026-09-07 21:45:16] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":97179816,"longitude_deg":76.3058304,"latitude_deg":9.7179816,"altitude":5,"angle":97,"satellites":35,"speed":27,"hex_longitude":"2d7b5880","hex_latitude":"05cad8a8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932197888001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129645722428506112,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159076751360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788797661000,"timestamp_ms":1788797661000,"timestamp_seconds":1788797661,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca62f48"} 
[2026-09-07 21: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-07 21:45: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-07 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-07 21:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932197888001,"66":12211,"91":206,"85":15104,"24":27,"16":129645722428506112,"45":8877791159076751360},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,45]} 
[2026-09-07 21:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932197888001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:45:16] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-09-07 21:45:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129645722428506112,"km_value":129645722428506.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159076751360,"description":"Unknown IO ID 45"} 
[2026-09-07 21:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932197888001,"power":12211,"unknown_91":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8877791159076751360}} 
[2026-09-07 21:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:45:16] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:45:16] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:45:43] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:43] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:43] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:45:44] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:44] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:44] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:45:47] local.INFO: TCP Data received {"connection_id":176584,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca70620012d7bd78005cacc880004005c22..."} 
[2026-09-07 21:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca70620012d7bd78005cacc880004005c22..."} 
[2026-09-07 21:45:47] local.INFO: Processing buffer {"connection_id":176584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca70620012d7bd78005cacc880004005c22..."} 
[2026-09-07 21:45:47] local.INFO: Packet analysis {"connection_id":176584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:45:47] local.INFO: Extracted packet for processing {"connection_id":176584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763090816,"raw_latitude":97176712,"longitude_deg":76.3090816,"latitude_deg":9.7176712,"altitude":4,"angle":92,"satellites":34,"speed":24,"hex_longitude":"2d7bd780","hex_latitude":"05cacc88","is_valid_coordinates":true} 
[2026-09-07 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932214528001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129647410350653440,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921841992930799616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788797716000,"timestamp_ms":1788797716000,"timestamp_seconds":1788797716,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca70620"} 
[2026-09-07 21:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 21:45:47] 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-07 21:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932214528001,"66":12287,"161":206,"85":15104,"24":24,"16":129647410350653440,"45":8921841992930799616},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932214528001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:45:47] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129647410350653440,"km_value":129647410350653.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921841992930799616,"description":"Unknown IO ID 45"} 
[2026-09-07 21:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932214528001,"power":12287,"unknown_161":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8921841992930799616}} 
[2026-09-07 21:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":176584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:45:47] local.INFO: GPS data processed {"connection_id":176584,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:45:47] local.INFO: Acknowledgment sent {"connection_id":176584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:45:49] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:49] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:45:49] local.INFO: IMEI packet received {"connection_id":176585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":176585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:45:50] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca53160012d08cc4006f520e8000e008e2c..."} 
[2026-09-07 21:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca53160012d08cc4006f520e8000e008e2c..."} 
[2026-09-07 21:45:50] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca53160012d08cc4006f520e8000e008e2c..."} 
[2026-09-07 21:45:50] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:45:50] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca5"} 
[2026-09-07 21:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755551296,"raw_latitude":116728040,"longitude_deg":75.5551296,"latitude_deg":11.672804,"altitude":14,"angle":142,"satellites":44,"speed":31,"hex_longitude":"2d08cc40","hex_latitude":"06f520e8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932181248001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402307421952802816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627548490460735488,"note":"Value kept but may cause issues"} 
[2026-09-07 21:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797596000,"timestamp_ms":1788797596000,"timestamp_seconds":1788797596,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca53160"} 
[2026-09-07 21: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-07 21:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:45:50] 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-07 21:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932181248001,"66":27332,"12":206,"80":6400,"24":31,"16":402307421952802816,"45":627548490460735488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-09-07 21:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932181248001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:45:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 21:45:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402307421952802816,"km_value":402307421952802.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":627548490460735488,"description":"Unknown IO ID 45"} 
[2026-09-07 21:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932181248001,"power":27332,"unknown_12":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":627548490460735488}} 
[2026-09-07 21:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:45:50] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:45:50] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:46:13] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:13] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:13] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:46:16] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:16] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:46:16] local.INFO: IMEI packet received {"connection_id":173828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":173828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:46:17] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca71d90012d7be6c005caca900003006b22..."} 
[2026-09-07 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca71d90012d7be6c005caca900003006b22..."} 
[2026-09-07 21:46:17] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca71d90012d7be6c005caca900003006b22..."} 
[2026-09-07 21:46:17] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:46:17] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763094720,"raw_latitude":97176208,"longitude_deg":76.309472,"latitude_deg":9.7176208,"altitude":3,"angle":107,"satellites":34,"speed":27,"hex_longitude":"2d7be6c0","hex_latitude":"05caca90","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932215296001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129647595034247168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923741949023520768,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788797722000,"timestamp_ms":1788797722000,"timestamp_seconds":1788797722,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca71d90"} 
[2026-09-07 21: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-07 21:46: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-07 21: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-07 21:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932215296001,"66":12645,"161":206,"85":15104,"24":27,"16":129647595034247168,"45":8923741949023520768},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-09-07 21:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932215296001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:46:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-09-07 21:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129647595034247168,"km_value":129647595034247.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923741949023520768,"description":"Unknown IO ID 45"} 
[2026-09-07 21:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932215296001,"power":12645,"unknown_161":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8923741949023520768}} 
[2026-09-07 21:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:46:17] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:46:17] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:46:20] local.INFO: TCP Data received {"connection_id":176585,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca6fe50012d09790006f40128000f00a22b..."} 
[2026-09-07 21:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca6fe50012d09790006f40128000f00a22b..."} 
[2026-09-07 21:46:20] local.INFO: Processing buffer {"connection_id":176585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca6fe50012d09790006f40128000f00a22b..."} 
[2026-09-07 21:46:20] local.INFO: Packet analysis {"connection_id":176585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca6"} 
[2026-09-07 21:46:20] local.INFO: Extracted packet for processing {"connection_id":176585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca6"} 
[2026-09-07 21:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755595520,"raw_latitude":116654376,"longitude_deg":75.559552,"latitude_deg":11.6654376,"altitude":15,"angle":162,"satellites":43,"speed":41,"hex_longitude":"2d097900","hex_latitude":"06f40128","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932212736001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402311656790556672,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":679621361133740032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788797714000,"timestamp_ms":1788797714000,"timestamp_seconds":1788797714,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca6fe50"} 
[2026-09-07 21: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-07 21:46: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-07 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932212736001,"66":27321,"81":206,"80":6400,"24":41,"16":402311656790556672,"45":679621361133740032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-07 21:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932212736001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 21:46:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402311656790556672,"km_value":402311656790556.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":679621361133740032,"description":"Unknown IO ID 45"} 
[2026-09-07 21:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932212736001,"power":27321,"unknown_81":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":679621361133740032}} 
[2026-09-07 21:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":176585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:46:20] local.INFO: GPS data processed {"connection_id":176585,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:46:20] local.INFO: Acknowledgment sent {"connection_id":176585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:46:48] local.INFO: TCP Data received {"connection_id":173828,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca82b18012d7c6c8005cab6200009007422..."} 
[2026-09-07 21:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca82b18012d7c6c8005cab6200009007422..."} 
[2026-09-07 21:46:48] local.INFO: Processing buffer {"connection_id":173828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca82b18012d7c6c8005cab6200009007422..."} 
[2026-09-07 21:46:48] local.INFO: Packet analysis {"connection_id":173828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:46:48] local.INFO: Extracted packet for processing {"connection_id":173828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:46:48] local.INFO: GPS Element Parsed {"raw_longitude":763128960,"raw_latitude":97170976,"longitude_deg":76.312896,"latitude_deg":9.7170976,"altitude":9,"angle":116,"satellites":34,"speed":22,"hex_longitude":"2d7c6c80","hex_latitude":"05cab620","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932233984001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129649287251361792,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964415083156836352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788797791000,"timestamp_ms":1788797791000,"timestamp_seconds":1788797791,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca82b18"} 
[2026-09-07 21: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-07 21:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-07 21:46: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-07 21: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-07 21: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-07 21:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932233984001,"66":12602,"160":206,"85":15104,"24":22,"16":129649287251361792,"45":8964415083156836352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-09-07 21:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932233984001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:46:48] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 21:46:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129649287251361792,"km_value":129649287251361.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964415083156836352,"description":"Unknown IO ID 45"} 
[2026-09-07 21:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932233984001,"power":12602,"unknown_160":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8964415083156836352}} 
[2026-09-07 21:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":173828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:46:48] local.INFO: GPS data processed {"connection_id":173828,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:46:48] local.INFO: Acknowledgment sent {"connection_id":173828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:46:50] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:50] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:50] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:46:52] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:52] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:46:52] local.INFO: IMEI packet received {"connection_id":174066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":174066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:46:52] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.41","data_length":405,"data_hex":"00000000000001898e05000001a07ca72178012d0983c006f3e000001100a62a..."} 
[2026-09-07 21:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":405,"packet_hex":"00000000000001898e05000001a07ca72178012d0983c006f3e000001100a62a..."} 
[2026-09-07 21:46:52] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":405,"buffer_hex":"00000000000001898e05000001a07ca72178012d0983c006f3e000001100a62a..."} 
[2026-09-07 21:46:52] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e05000001a07ca7"} 
[2026-09-07 21:46:52] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e05000001a07ca7"} 
[2026-09-07 21:46:52] local.INFO: GPS Element Parsed {"raw_longitude":755598272,"raw_latitude":116645888,"longitude_deg":75.5598272,"latitude_deg":11.6645888,"altitude":17,"angle":166,"satellites":42,"speed":35,"hex_longitude":"2d0983c0","hex_latitude":"06f3e000","is_valid_coordinates":true} 
[2026-09-07 21: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":405,"current_offset":40} 
[2026-09-07 21:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932214784001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402312086287286272,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682576848386861056,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788797723000,"timestamp_ms":1788797723000,"timestamp_seconds":1788797723,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca72178"} 
[2026-09-07 21:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":185,"data_length":405,"current_offset":136} 
[2026-09-07 21:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:46:52] 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-07 21:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:46:52] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-09-07 21:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:52] 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-07 21:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932214784001,"66":27343,"81":206,"80":6400,"24":35,"16":402312086287286272,"45":682576848386861056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-07 21:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932214784001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 21:46:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402312086287286272,"km_value":402312086287286.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":682576848386861056,"description":"Unknown IO ID 45"} 
[2026-09-07 21:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932214784001,"power":27343,"unknown_81":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":682576848386861056}} 
[2026-09-07 21:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:46:52] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:46:52] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:46:54] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca74c70012d098dc006f3be48001400a72b..."} 
[2026-09-07 21:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca74c70012d098dc006f3be48001400a72b..."} 
[2026-09-07 21:46:54] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca74c70012d098dc006f3be48001400a72b..."} 
[2026-09-07 21:46:54] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:46:54] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755600832,"raw_latitude":116637256,"longitude_deg":75.5600832,"latitude_deg":11.6637256,"altitude":20,"angle":167,"satellites":43,"speed":21,"hex_longitude":"2d098dc0","hex_latitude":"06f3be48","is_valid_coordinates":true} 
[2026-09-07 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-07 21:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932217088001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402312524373950464,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685602704384327680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788797734000,"timestamp_ms":1788797734000,"timestamp_seconds":1788797734,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca74c70"} 
[2026-09-07 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-07 21:46: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-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:46:54] 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-07 21:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932217088001,"66":27376,"81":206,"80":6400,"24":21,"16":402312524373950464,"45":685602704384327680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-07 21:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932217088001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 21:46:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402312524373950464,"km_value":402312524373950.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":685602704384327680,"description":"Unknown IO ID 45"} 
[2026-09-07 21:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932217088001,"power":27376,"unknown_81":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":685602704384327680}} 
[2026-09-07 21:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:46:54] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:46:54] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:47:12] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:47:12] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:12] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:47:18] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:18] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:47:18] local.INFO: IMEI packet received {"connection_id":173829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":173829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:47:19] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca85228012d7c808005caab60000a006521..."} 
[2026-09-07 21:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca85228012d7c808005caab60000a006521..."} 
[2026-09-07 21:47:19] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca85228012d7c808005caab60000a006521..."} 
[2026-09-07 21:47:19] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:47:19] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763134080,"raw_latitude":97168224,"longitude_deg":76.313408,"latitude_deg":9.7168224,"altitude":10,"angle":101,"satellites":33,"speed":21,"hex_longitude":"2d7c8080","hex_latitude":"05caab60","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932234496001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129649566424236032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965681720551940096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788797801000,"timestamp_ms":1788797801000,"timestamp_seconds":1788797801,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca85228"} 
[2026-09-07 21: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-07 21:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-07 21:47:19] 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-07 21: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-07 21: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-07 21:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932234496001,"66":12374,"160":206,"85":15104,"24":21,"16":129649566424236032,"45":8965681720551940096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,45]} 
[2026-09-07 21:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932234496001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:47:19] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 21:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129649566424236032,"km_value":129649566424236.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965681720551940096,"description":"Unknown IO ID 45"} 
[2026-09-07 21:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932234496001,"power":12374,"unknown_160":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8965681720551940096}} 
[2026-09-07 21:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:47:19] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:47:19] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:47:21] local.INFO: TCP Data received {"connection_id":174065,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:21] local.INFO: Processing buffer {"connection_id":174065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:21] local.INFO: IMEI packet received {"connection_id":174065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":174065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:47:25] local.INFO: TCP Data received {"connection_id":174066,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca78af0012d0993c006f39b90001600a82c..."} 
[2026-09-07 21:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca78af0012d0993c006f39b90001600a82c..."} 
[2026-09-07 21:47:25] local.INFO: Processing buffer {"connection_id":174066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca78af0012d0993c006f39b90001600a82c..."} 
[2026-09-07 21:47:25] local.INFO: Packet analysis {"connection_id":174066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:25] local.INFO: Extracted packet for processing {"connection_id":174066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:25] local.INFO: GPS Element Parsed {"raw_longitude":755602368,"raw_latitude":116628368,"longitude_deg":75.5602368,"latitude_deg":11.6628368,"altitude":22,"angle":168,"satellites":44,"speed":24,"hex_longitude":"2d0993c0","hex_latitude":"06f39b90","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932219904001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402312958165647360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688417454149224448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788797750000,"timestamp_ms":1788797750000,"timestamp_seconds":1788797750,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca78af0"} 
[2026-09-07 21: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-07 21:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:25] 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-07 21:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932219904001,"66":27300,"81":206,"80":6400,"24":24,"16":402312958165647360,"45":688417454149224448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-07 21:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932219904001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 21:47:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402312958165647360,"km_value":402312958165647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":688417454149224448,"description":"Unknown IO ID 45"} 
[2026-09-07 21:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932219904001,"power":27300,"unknown_81":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":688417454149224448}} 
[2026-09-07 21:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":174066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:47:25] local.INFO: GPS data processed {"connection_id":174066,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:47:25] local.INFO: Acknowledgment sent {"connection_id":174066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:47:43] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:43] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:43] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:47:44] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:44] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:44] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:47:45] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:45] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:45] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:47:47] local.INFO: TCP Data received {"connection_id":174067,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:47] local.INFO: Processing buffer {"connection_id":174067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:47:47] local.INFO: IMEI packet received {"connection_id":174067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":174067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:47:49] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:49] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:47:49] local.INFO: IMEI packet received {"connection_id":176586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":176586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:47:50] local.INFO: TCP Data received {"connection_id":173829,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca905d8012d7ce50005cab0600008003e23..."} 
[2026-09-07 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca905d8012d7ce50005cab0600008003e23..."} 
[2026-09-07 21:47:50] local.INFO: Processing buffer {"connection_id":173829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca905d8012d7ce50005cab0600008003e23..."} 
[2026-09-07 21:47:50] local.INFO: Packet analysis {"connection_id":173829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:47:50] local.INFO: Extracted packet for processing {"connection_id":173829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:47:50] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":97169504,"longitude_deg":76.3159808,"latitude_deg":9.7169504,"altitude":8,"angle":62,"satellites":35,"speed":24,"hex_longitude":"2d7ce500","hex_latitude":"05cab060","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932248064001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129650867799326720,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997980974128865280,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797847000,"timestamp_ms":1788797847000,"timestamp_seconds":1788797847,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca905d8"} 
[2026-09-07 21: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-07 21: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-07 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 21:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932248064001,"66":12102,"159":206,"85":15104,"24":24,"16":129650867799326720,"45":8997980974128865280},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932248064001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129650867799326720,"km_value":129650867799326.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997980974128865280,"description":"Unknown IO ID 45"} 
[2026-09-07 21:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932248064001,"power":12102,"unknown_159":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8997980974128865280}} 
[2026-09-07 21:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":173829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:47:50] local.INFO: GPS data processed {"connection_id":173829,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:47:50] local.INFO: Acknowledgment sent {"connection_id":173829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:47:50] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca7b9d0012d099a0006f37968001500ae2c..."} 
[2026-09-07 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca7b9d0012d099a0006f37968001500ae2c..."} 
[2026-09-07 21:47:50] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca7b9d0012d099a0006f37968001500ae2c..."} 
[2026-09-07 21:47:50] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:50] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:50] local.INFO: GPS Element Parsed {"raw_longitude":755603968,"raw_latitude":116619624,"longitude_deg":75.5603968,"latitude_deg":11.6619624,"altitude":21,"angle":174,"satellites":44,"speed":31,"hex_longitude":"2d099a00","hex_latitude":"06f37968","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932224000001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402313391957344256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690106304007213056,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797762000,"timestamp_ms":1788797762000,"timestamp_seconds":1788797762,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca7b9d0"} 
[2026-09-07 21: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-07 21:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:50] 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-07 21:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932224000001,"66":27245,"81":206,"80":6400,"24":31,"16":402313391957344256,"45":690106304007213056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-09-07 21:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932224000001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402313391957344256,"km_value":402313391957344.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":690106304007213056,"description":"Unknown IO ID 45"} 
[2026-09-07 21:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932224000001,"power":27245,"unknown_81":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":690106304007213056}} 
[2026-09-07 21:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:47:50] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:47:50] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:47:54] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca7e8b0012d099dc006f354e0001500af26..."} 
[2026-09-07 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca7e8b0012d099dc006f354e0001500af26..."} 
[2026-09-07 21:47:54] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca7e8b0012d099dc006f354e0001500af26..."} 
[2026-09-07 21:47:54] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:54] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca7"} 
[2026-09-07 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":755604928,"raw_latitude":116610272,"longitude_deg":75.5604928,"latitude_deg":11.6610272,"altitude":21,"angle":175,"satellites":38,"speed":31,"hex_longitude":"2d099dc0","hex_latitude":"06f354e0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932227072001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402313847223877632,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":691865522609416192,"note":"Value kept but may cause issues"} 
[2026-09-07 21:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788797774000,"timestamp_ms":1788797774000,"timestamp_seconds":1788797774,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca7e8b0"} 
[2026-09-07 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-07 21:47:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 21:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:47:54] 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-07 21:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932227072001,"66":27365,"82":206,"80":6400,"24":31,"16":402313847223877632,"45":691865522609416192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-07 21:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932227072001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:47:54] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 21:47:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402313847223877632,"km_value":402313847223877.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":691865522609416192,"description":"Unknown IO ID 45"} 
[2026-09-07 21:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932227072001,"power":27365,"unknown_82":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":691865522609416192}} 
[2026-09-07 21:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:47:54] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:47:54] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:48:12] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:12] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:12] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:48:18] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:18] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:48:18] local.INFO: IMEI packet received {"connection_id":174068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":174068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:48:19] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca92130012d7cf70005cab6f00009004a23..."} 
[2026-09-07 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca92130012d7cf70005cab6f00009004a23..."} 
[2026-09-07 21:48:19] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca92130012d7cf70005cab6f00009004a23..."} 
[2026-09-07 21:48:19] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:48:19] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:48:19] local.INFO: GPS Element Parsed {"raw_longitude":763164416,"raw_latitude":97171184,"longitude_deg":76.3164416,"latitude_deg":9.7171184,"altitude":9,"angle":74,"satellites":35,"speed":27,"hex_longitude":"2d7cf700","hex_latitude":"05cab6f0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932248832001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129651108317495296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455245197312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788797854000,"timestamp_ms":1788797854000,"timestamp_seconds":1788797854,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca92130"} 
[2026-09-07 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-07 21:48: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-07 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-09-07 21:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932248832001,"66":11928,"159":206,"85":15104,"24":27,"16":129651108317495296,"45":8999599455245197312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932248832001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:48:19] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129651108317495296,"km_value":129651108317495.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455245197312,"description":"Unknown IO ID 45"} 
[2026-09-07 21:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932248832001,"power":11928,"unknown_159":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8999599455245197312}} 
[2026-09-07 21:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:48:19] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:48:19] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:48:26] local.INFO: TCP Data received {"connection_id":176586,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca81790012d09a2c006f33490001500a327..."} 
[2026-09-07 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca81790012d09a2c006f33490001500a327..."} 
[2026-09-07 21:48:26] local.INFO: Processing buffer {"connection_id":176586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca81790012d09a2c006f33490001500a327..."} 
[2026-09-07 21:48:26] local.INFO: Packet analysis {"connection_id":176586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:48:26] local.INFO: Extracted packet for processing {"connection_id":176586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":755606208,"raw_latitude":116602000,"longitude_deg":75.5606208,"latitude_deg":11.6602,"altitude":21,"angle":163,"satellites":39,"speed":21,"hex_longitude":"2d09a2c0","hex_latitude":"06f33490","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932230144001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402314255245770752,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":692921053769687040,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788797786000,"timestamp_ms":1788797786000,"timestamp_seconds":1788797786,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca81790"} 
[2026-09-07 21: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-07 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:48: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-07 21:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932230144001,"66":27213,"82":206,"80":6400,"24":21,"16":402314255245770752,"45":692921053769687040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-07 21:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932230144001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:48:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 21:48:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402314255245770752,"km_value":402314255245770.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":692921053769687040,"description":"Unknown IO ID 45"} 
[2026-09-07 21:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932230144001,"power":27213,"unknown_82":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":692921053769687040}} 
[2026-09-07 21:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":176586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:48:26] local.INFO: GPS data processed {"connection_id":176586,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:48:26] local.INFO: Acknowledgment sent {"connection_id":176586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:48:44] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:44] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:44] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:48:49] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:49] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:48:49] local.INFO: IMEI packet received {"connection_id":175166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":175166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:48:50] local.INFO: TCP Data received {"connection_id":174068,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca938a0012d7d064005cab9a80009005823..."} 
[2026-09-07 21:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca938a0012d7d064005cab9a80009005823..."} 
[2026-09-07 21:48:50] local.INFO: Processing buffer {"connection_id":174068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca938a0012d7d064005cab9a80009005823..."} 
[2026-09-07 21:48:50] local.INFO: Packet analysis {"connection_id":174068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:48:50] local.INFO: Extracted packet for processing {"connection_id":174068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763168320,"raw_latitude":97171880,"longitude_deg":76.316832,"latitude_deg":9.717188,"altitude":9,"angle":88,"satellites":35,"speed":23,"hex_longitude":"2d7d0640","hex_latitude":"05cab9a8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932250624001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129651297296056320,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004666004826419200,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797860000,"timestamp_ms":1788797860000,"timestamp_seconds":1788797860,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca938a0"} 
[2026-09-07 21: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-07 21:48: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-07 21: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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-09-07 21:48:50] 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-07 21: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-07 21: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-07 21:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932250624001,"66":12298,"159":206,"85":15104,"24":23,"16":129651297296056320,"45":9004666004826419200},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932250624001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129651297296056320,"km_value":129651297296056.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004666004826419200,"description":"Unknown IO ID 45"} 
[2026-09-07 21:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932250624001,"power":12298,"unknown_159":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9004666004826419200}} 
[2026-09-07 21:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":174068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:48:50] local.INFO: GPS data processed {"connection_id":174068,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:48:50] local.INFO: Acknowledgment sent {"connection_id":174068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:48:50] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:48:50] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:48:50] local.INFO: Packet analysis {"connection_id":175166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:48:50] local.INFO: Extracted packet for processing {"connection_id":175166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755608000,"raw_latitude":116592816,"longitude_deg":75.5608,"latitude_deg":11.6592816,"altitude":21,"angle":175,"satellites":40,"speed":27,"hex_longitude":"2d09a9c0","hex_latitude":"06f310b0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932233216001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402314710512304128,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694328428651122688,"note":"Value kept but may cause issues"} 
[2026-09-07 21:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788797800000,"timestamp_ms":1788797800000,"timestamp_seconds":1788797800,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca84e40"} 
[2026-09-07 21: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-07 21:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 21:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:48:50] 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-07 21:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932233216001,"66":27343,"82":206,"80":6400,"24":27,"16":402314710512304128,"45":694328428651122688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-07 21:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932233216001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402314710512304128,"km_value":402314710512304.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":694328428651122688,"description":"Unknown IO ID 45"} 
[2026-09-07 21:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932233216001,"power":27343,"unknown_82":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":694328428651122688}} 
[2026-09-07 21:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":175166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":780999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:48:50] local.INFO: GPS data processed {"connection_id":175166,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:48:50] local.INFO: Acknowledgment sent {"connection_id":175166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:49:12] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:12] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:12] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:49:17] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:17] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:17] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:49:22] local.INFO: TCP Data received {"connection_id":175166,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:49:22] local.INFO: Processing buffer {"connection_id":175166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca84e40012d09a9c006f310b0001500af28..."} 
[2026-09-07 21:49:22] local.INFO: Packet analysis {"connection_id":175166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:49:22] local.INFO: Extracted packet for processing {"connection_id":175166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755608000,"raw_latitude":116592816,"longitude_deg":75.5608,"latitude_deg":11.6592816,"altitude":21,"angle":175,"satellites":40,"speed":27,"hex_longitude":"2d09a9c0","hex_latitude":"06f310b0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932236800001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402314710512304128,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696298753485746176,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788797800000,"timestamp_ms":1788797800000,"timestamp_seconds":1788797800,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca84e40"} 
[2026-09-07 21: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-07 21:49: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-07 21:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:49:22] 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-07 21:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932236800001,"66":27343,"82":206,"80":6400,"24":27,"16":402314710512304128,"45":696298753485746176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-07 21:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932236800001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:49:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 21:49:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402314710512304128,"km_value":402314710512304.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":696298753485746176,"description":"Unknown IO ID 45"} 
[2026-09-07 21:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932236800001,"power":27343,"unknown_82":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":696298753485746176}} 
[2026-09-07 21:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":175166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:49:22] local.INFO: GPS data processed {"connection_id":175166,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:49:22] local.INFO: Acknowledgment sent {"connection_id":175166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:49:28] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:28] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:49:28] local.INFO: IMEI packet received {"connection_id":174070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":174070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:49:29] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca986c0012d7d1ec005cab9e00007005123..."} 
[2026-09-07 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca986c0012d7d1ec005cab9e00007005123..."} 
[2026-09-07 21:49:29] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca986c0012d7d1ec005cab9e00007005123..."} 
[2026-09-07 21:49:29] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:49:29] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":97171936,"longitude_deg":76.3174592,"latitude_deg":9.7171936,"altitude":7,"angle":81,"satellites":35,"speed":6,"hex_longitude":"2d7d1ec0","hex_latitude":"05cab9e0","is_valid_coordinates":true} 
[2026-09-07 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932252160001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129651593648799744,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008958498221434880,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788797880000,"timestamp_ms":1788797880000,"timestamp_seconds":1788797880,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca986c0"} 
[2026-09-07 21:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436885914112,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186060,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":8982674407385038034,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3394026152457601230,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-7277816997830721535,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3399899136,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":8,"raw_value":16926981878710272,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2834452481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2839543816,"corrected_to":0} 
[2026-09-07 21:49:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812215502,"corrected_to":0} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3221605031,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807271,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2627796992,"corrected_to":0} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":192,"raw_value":417326235392606282,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.WARNING: Large IO value detected {"io_id":34,"raw_value":6473924465000452,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,159,85,24,241,157,16,160,33,45,182,9,35,10,66,156,5,176,8,250,64,1,240,124,227,202,4,113,205,22,238,218,168,239,46,2,204,192,34],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":202,"original":2839543816,"validated":0},{"io_id":205,"original":2812215502,"validated":0},{"io_id":204,"original":2627796992,"validated":0}]} 
[2026-09-07 21:49:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648615253689958400,"timestamp_seconds":648615253689958.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932252160001,"66":11700,"159":206,"85":15104,"24":6,"16":129651593648799744,"45":9008958498221434880},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932252160001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:49:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129651593648799744,"km_value":129651593648799.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008958498221434880,"description":"Unknown IO ID 45"} 
[2026-09-07 21:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932252160001,"power":11700,"unknown_159":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9008958498221434880}} 
[2026-09-07 21:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:49:29] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:49:29] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:49:30] local.INFO: TCP Data received {"connection_id":174070,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca99a48012d7d208005cabb280007001823..."} 
[2026-09-07 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca99a48012d7d208005cabb280007001823..."} 
[2026-09-07 21:49:30] local.INFO: Processing buffer {"connection_id":174070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca99a48012d7d208005cabb280007001823..."} 
[2026-09-07 21:49:30] local.INFO: Packet analysis {"connection_id":174070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:49:30] local.INFO: Extracted packet for processing {"connection_id":174070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca9"} 
[2026-09-07 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":97172264,"longitude_deg":76.317504,"latitude_deg":9.7172264,"altitude":7,"angle":24,"satellites":35,"speed":7,"hex_longitude":"2d7d2080","hex_latitude":"05cabb28","is_valid_coordinates":true} 
[2026-09-07 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932257280001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129651623713570816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015854635150860288,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788797885000,"timestamp_ms":1788797885000,"timestamp_seconds":1788797885,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca99a48"} 
[2026-09-07 21:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 21:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":174070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":174070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":174070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932257280001,"66":12504,"159":206,"85":15104,"24":7,"16":129651623713570816,"45":9015854635150860288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,45]} 
[2026-09-07 21:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932257280001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:49:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 21:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129651623713570816,"km_value":129651623713570.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015854635150860288,"description":"Unknown IO ID 45"} 
[2026-09-07 21:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932257280001,"power":12504,"unknown_159":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9015854635150860288}} 
[2026-09-07 21:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":174070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:49:30] local.INFO: GPS data processed {"connection_id":174070,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:49:30] local.INFO: Acknowledgment sent {"connection_id":174070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:49:44] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:44] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:44] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:49:49] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:49] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:49:49] local.INFO: IMEI packet received {"connection_id":174071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":174071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:49:49] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ca87550012d09ab8006f2ec48001400ae29..."} 
[2026-09-07 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ca87550012d09ab8006f2ec48001400ae29..."} 
[2026-09-07 21:49:49] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ca87550012d09ab8006f2ec48001400ae29..."} 
[2026-09-07 21:49:49] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:49:49] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ca8"} 
[2026-09-07 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":755608448,"raw_latitude":116583496,"longitude_deg":75.5608448,"latitude_deg":11.6583496,"altitude":20,"angle":174,"satellites":41,"speed":45,"hex_longitude":"2d09ab80","hex_latitude":"06f2ec48","is_valid_coordinates":true} 
[2026-09-07 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932236800001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402315161483870208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":696298753485746176,"note":"Value kept but may cause issues"} 
[2026-09-07 21:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797810000,"timestamp_ms":1788797810000,"timestamp_seconds":1788797810,"priority":1,"record_length":96,"hex_timestamp":"000001a07ca87550"} 
[2026-09-07 21:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:49:49] 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-07 21:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932236800001,"66":27332,"82":206,"80":6400,"24":45,"16":402315161483870208,"45":696298753485746176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-09-07 21:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932236800001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:49:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 21:49:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402315161483870208,"km_value":402315161483870.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":696298753485746176,"description":"Unknown IO ID 45"} 
[2026-09-07 21:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932236800001,"power":27332,"unknown_82":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":696298753485746176}} 
[2026-09-07 21:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:49:49] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:49:49] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:50:17] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:17] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:17] local.INFO: IMEI packet received {"connection_id":176587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":176587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:50:20] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:20] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:50:20] local.INFO: IMEI packet received {"connection_id":176587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":176587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:50:21] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caafdc0012d7d4d8005cc4cb0000c000923..."} 
[2026-09-07 21:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caafdc0012d7d4d8005cc4cb0000c000923..."} 
[2026-09-07 21:50:21] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caafdc0012d7d4d8005cc4cb0000c000923..."} 
[2026-09-07 21:50:21] local.INFO: Packet analysis {"connection_id":176587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:21] local.INFO: Extracted packet for processing {"connection_id":176587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":763186560,"raw_latitude":97275056,"longitude_deg":76.318656,"latitude_deg":9.7275056,"altitude":12,"angle":9,"satellites":35,"speed":57,"hex_longitude":"2d7d4d80","hex_latitude":"05cc4cb0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932280064001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129656644530339840,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027254371731597312,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788797976000,"timestamp_ms":1788797976000,"timestamp_seconds":1788797976,"priority":1,"record_length":96,"hex_timestamp":"000001a07caafdc0"} 
[2026-09-07 21: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-07 21:50: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-07 21: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 21:50:21] 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-07 21: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-07 21: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-07 21:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932280064001,"66":12341,"130":206,"85":15104,"24":57,"16":129656644530339840,"45":9027254371731597312},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 21:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932280064001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:50:21] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 21:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129656644530339840,"km_value":129656644530339.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027254371731597312,"description":"Unknown IO ID 45"} 
[2026-09-07 21:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932280064001,"power":12341,"unknown_130":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9027254371731597312}} 
[2026-09-07 21:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":176587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:50:21] local.INFO: GPS data processed {"connection_id":176587,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:50:21] local.INFO: Acknowledgment sent {"connection_id":176587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:50:23] local.INFO: TCP Data received {"connection_id":174071,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caacee0012d0a094006f1aab8001200942b..."} 
[2026-09-07 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caacee0012d0a094006f1aab8001200942b..."} 
[2026-09-07 21:50:23] local.INFO: Processing buffer {"connection_id":174071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caacee0012d0a094006f1aab8001200942b..."} 
[2026-09-07 21:50:23] local.INFO: Packet analysis {"connection_id":174071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:23] local.INFO: Extracted packet for processing {"connection_id":174071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":755632448,"raw_latitude":116501176,"longitude_deg":75.5632448,"latitude_deg":11.6501176,"altitude":18,"angle":148,"satellites":43,"speed":17,"hex_longitude":"2d0a0940","hex_latitude":"06f1aab8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932276224001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402319357666918400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720716707692724224,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788797964000,"timestamp_ms":1788797964000,"timestamp_seconds":1788797964,"priority":1,"record_length":96,"hex_timestamp":"000001a07caacee0"} 
[2026-09-07 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-07 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 21:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:50: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-07 21:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932276224001,"66":26560,"113":206,"80":6400,"24":17,"16":402319357666918400,"45":720716707692724224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932276224001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402319357666918400,"km_value":402319357666918.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":720716707692724224,"description":"Unknown IO ID 45"} 
[2026-09-07 21:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932276224001,"power":26560,"unknown_113":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":720716707692724224}} 
[2026-09-07 21:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":174071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:50:23] local.INFO: GPS data processed {"connection_id":174071,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:50:23] local.INFO: Acknowledgment sent {"connection_id":174071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:50:23] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab1918012d7d51c005cc72c0000a000422..."} 
[2026-09-07 21:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab1918012d7d51c005cc72c0000a000422..."} 
[2026-09-07 21:50:23] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab1918012d7d51c005cc72c0000a000422..."} 
[2026-09-07 21:50:23] local.INFO: Packet analysis {"connection_id":176587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:50:23] local.INFO: Extracted packet for processing {"connection_id":176587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763187648,"raw_latitude":97284800,"longitude_deg":76.3187648,"latitude_deg":9.72848,"altitude":10,"angle":4,"satellites":34,"speed":52,"hex_longitude":"2d7d51c0","hex_latitude":"05cc72c0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932281856001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129657121271709696,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029013590338482176,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788797983000,"timestamp_ms":1788797983000,"timestamp_seconds":1788797983,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab1918"} 
[2026-09-07 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-07 21: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-07 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 21:50: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-07 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-07 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-07 21:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932281856001,"66":12232,"130":206,"85":15104,"24":52,"16":129657121271709696,"45":9029013590338482176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 21:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932281856001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129657121271709696,"km_value":129657121271709.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029013590338482176,"description":"Unknown IO ID 45"} 
[2026-09-07 21:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932281856001,"power":12232,"unknown_130":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9029013590338482176}} 
[2026-09-07 21:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":176587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:50:23] local.INFO: GPS data processed {"connection_id":176587,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:50:23] local.INFO: Acknowledgment sent {"connection_id":176587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:50:44] local.INFO: TCP Data received {"connection_id":175168,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:44] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:44] local.INFO: IMEI packet received {"connection_id":175168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":175168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:50:48] local.INFO: TCP Data received {"connection_id":175168,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:48] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:50:48] local.INFO: IMEI packet received {"connection_id":175168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":175168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:50:49] local.INFO: TCP Data received {"connection_id":175168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caae650012d0a10c006f1a120001200872b..."} 
[2026-09-07 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caae650012d0a10c006f1a120001200872b..."} 
[2026-09-07 21:50:49] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caae650012d0a10c006f1a120001200872b..."} 
[2026-09-07 21:50:49] local.INFO: Packet analysis {"connection_id":175168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:49] local.INFO: Extracted packet for processing {"connection_id":175168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caa"} 
[2026-09-07 21:50:49] local.INFO: GPS Element Parsed {"raw_longitude":755634368,"raw_latitude":116498720,"longitude_deg":75.5634368,"latitude_deg":11.649872,"altitude":18,"angle":135,"satellites":43,"speed":24,"hex_longitude":"2d0a10c0","hex_latitude":"06f1a120","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932278784001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402319507990773760,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":723179613738153984,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797970000,"timestamp_ms":1788797970000,"timestamp_seconds":1788797970,"priority":1,"record_length":96,"hex_timestamp":"000001a07caae650"} 
[2026-09-07 21: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-07 21:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-09-07 21:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:50:49] 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-07 21:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932278784001,"66":27463,"113":206,"80":6400,"24":24,"16":402319507990773760,"45":723179613738153984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 21:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932278784001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:50:49] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 21:50:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402319507990773760,"km_value":402319507990773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":723179613738153984,"description":"Unknown IO ID 45"} 
[2026-09-07 21:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932278784001,"power":27463,"unknown_113":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":723179613738153984}} 
[2026-09-07 21:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":175168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:50:49] local.INFO: GPS data processed {"connection_id":175168,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:50:49] local.INFO: Acknowledgment sent {"connection_id":175168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:50:55] local.INFO: TCP Data received {"connection_id":176587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab3470012d7d53c005cc9690000b000124..."} 
[2026-09-07 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab3470012d7d53c005cc9690000b000124..."} 
[2026-09-07 21:50:55] local.INFO: Processing buffer {"connection_id":176587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab3470012d7d53c005cc9690000b000124..."} 
[2026-09-07 21:50:55] local.INFO: Packet analysis {"connection_id":176587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:50:55] local.INFO: Extracted packet for processing {"connection_id":176587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763188160,"raw_latitude":97293968,"longitude_deg":76.318816,"latitude_deg":9.7293968,"altitude":11,"angle":1,"satellites":36,"speed":53,"hex_longitude":"2d7d53c0","hex_latitude":"05cc9690","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932283648001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129657567948308480,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030209858991996928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788797990000,"timestamp_ms":1788797990000,"timestamp_seconds":1788797990,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab3470"} 
[2026-09-07 21: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-07 21:50: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-07 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 21:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932283648001,"66":12385,"130":206,"85":15104,"24":53,"16":129657567948308480,"45":9030209858991996928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 21:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932283648001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:50:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 21:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129657567948308480,"km_value":129657567948308.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030209858991996928,"description":"Unknown IO ID 45"} 
[2026-09-07 21:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932283648001,"power":12385,"unknown_130":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9030209858991996928}} 
[2026-09-07 21:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":176587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:50:55] local.INFO: GPS data processed {"connection_id":176587,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:50:55] local.INFO: Acknowledgment sent {"connection_id":176587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:51:13] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:13] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:13] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:51:14] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:14] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:51:14] local.INFO: IMEI packet received {"connection_id":174072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":174072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:51:15] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab4fc8012d7d540005ccbb38000b016624..."} 
[2026-09-07 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab4fc8012d7d540005ccbb38000b016624..."} 
[2026-09-07 21:51:15] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab4fc8012d7d540005ccbb38000b016624..."} 
[2026-09-07 21:51:15] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:15] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":97303352,"longitude_deg":76.3188224,"latitude_deg":9.7303352,"altitude":11,"angle":358,"satellites":36,"speed":54,"hex_longitude":"2d7d5400","hex_latitude":"05ccbb38","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932285440001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129658023214841856,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030772808947765248,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1788797997000,"timestamp_ms":1788797997000,"timestamp_seconds":1788797997,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab4fc8"} 
[2026-09-07 21: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-07 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-07 21:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932285440001,"66":11721,"130":206,"85":15104,"24":54,"16":129658023214841856,"45":9030772808947765248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 21:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932285440001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:51:15] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 21:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129658023214841856,"km_value":129658023214841.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030772808947765248,"description":"Unknown IO ID 45"} 
[2026-09-07 21:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932285440001,"power":11721,"unknown_130":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9030772808947765248}} 
[2026-09-07 21:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:51:15] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:51:15] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:51:18] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab6b20012d7d528005cce080000a016524..."} 
[2026-09-07 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab6b20012d7d528005cce080000a016524..."} 
[2026-09-07 21:51:18] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab6b20012d7d528005cce080000a016524..."} 
[2026-09-07 21:51:18] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:18] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97312896,"longitude_deg":76.318784,"latitude_deg":9.7312896,"altitude":10,"angle":357,"satellites":36,"speed":54,"hex_longitude":"2d7d5280","hex_latitude":"05cce080","is_valid_coordinates":true} 
[2026-09-07 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932287232001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129658487071309824,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030843177694345216,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788798004000,"timestamp_ms":1788798004000,"timestamp_seconds":1788798004,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab6b20"} 
[2026-09-07 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932287232001,"66":11547,"130":206,"85":15104,"24":54,"16":129658487071309824,"45":9030843177694345216},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-09-07 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932287232001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:51:18] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 21:51:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129658487071309824,"km_value":129658487071309.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030843177694345216,"description":"Unknown IO ID 45"} 
[2026-09-07 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932287232001,"power":11547,"unknown_130":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9030843177694345216}} 
[2026-09-07 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:51:18] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:51:18] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:51:19] local.INFO: TCP Data received {"connection_id":175168,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab1530012d0a294006f18dc80013007b2c..."} 
[2026-09-07 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab1530012d0a294006f18dc80013007b2c..."} 
[2026-09-07 21:51:19] local.INFO: Processing buffer {"connection_id":175168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab1530012d0a294006f18dc80013007b2c..."} 
[2026-09-07 21:51:19] local.INFO: Packet analysis {"connection_id":175168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:19] local.INFO: Extracted packet for processing {"connection_id":175168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:19] local.INFO: GPS Element Parsed {"raw_longitude":755640640,"raw_latitude":116493768,"longitude_deg":75.564064,"latitude_deg":11.6493768,"altitude":19,"angle":123,"satellites":44,"speed":27,"hex_longitude":"2d0a2940","hex_latitude":"06f18dc8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932280320001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402319890242863104,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":725290676062855168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788797982000,"timestamp_ms":1788797982000,"timestamp_seconds":1788797982,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab1530"} 
[2026-09-07 21: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-07 21:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 21:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:51: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-07 21:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932280320001,"66":27376,"113":206,"80":6400,"24":27,"16":402319890242863104,"45":725290676062855168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-09-07 21:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932280320001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:51:19] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-09-07 21:51:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402319890242863104,"km_value":402319890242863.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":725290676062855168,"description":"Unknown IO ID 45"} 
[2026-09-07 21:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932280320001,"power":27376,"unknown_113":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":725290676062855168}} 
[2026-09-07 21:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":175168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:51:19] local.INFO: GPS data processed {"connection_id":175168,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:51:19] local.INFO: Acknowledgment sent {"connection_id":175168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:51:43] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:43] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:43] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:51:49] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:49] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:51:49] local.INFO: IMEI packet received {"connection_id":175169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":175169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:51:49] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab47f8012d0a48c006f179600014007b27..."} 
[2026-09-07 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab47f8012d0a48c006f179600014007b27..."} 
[2026-09-07 21:51:49] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab47f8012d0a48c006f179600014007b27..."} 
[2026-09-07 21:51:49] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:49] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:51:49] local.INFO: GPS Element Parsed {"raw_longitude":755648704,"raw_latitude":116488544,"longitude_deg":75.5648704,"latitude_deg":11.6488544,"altitude":20,"angle":123,"satellites":39,"speed":31,"hex_longitude":"2d0a48c0","hex_latitude":"06f17960","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932283392001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402320349804363776,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":732186812990998528,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788797995000,"timestamp_ms":1788797995000,"timestamp_seconds":1788797995,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab47f8"} 
[2026-09-07 21: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-07 21:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:51:49] 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-07 21:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932283392001,"66":27267,"111":206,"80":6400,"24":31,"16":402320349804363776,"45":732186812990998528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932283392001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:51:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:51:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402320349804363776,"km_value":402320349804363.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":732186812990998528,"description":"Unknown IO ID 45"} 
[2026-09-07 21:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932283392001,"power":27267,"unknown_111":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":732186812990998528}} 
[2026-09-07 21:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:51:49] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:51:49] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:51:50] local.INFO: TCP Data received {"connection_id":174072,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cacaf58012d7d468005ce6e08000e000324..."} 
[2026-09-07 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cacaf58012d7d468005ce6e08000e000324..."} 
[2026-09-07 21:51:50] local.INFO: Processing buffer {"connection_id":174072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cacaf58012d7d468005ce6e08000e000324..."} 
[2026-09-07 21:51:50] local.INFO: Packet analysis {"connection_id":174072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:51:50] local.INFO: Extracted packet for processing {"connection_id":174072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":97414664,"longitude_deg":76.3184768,"latitude_deg":9.7414664,"altitude":14,"angle":3,"satellites":36,"speed":53,"hex_longitude":"2d7d4680","hex_latitude":"05ce6e08","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932308480001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129663434873634816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946837274624,"note":"Value kept but may cause issues"} 
[2026-09-07 21:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798087000,"timestamp_ms":1788798087000,"timestamp_seconds":1788798087,"priority":1,"record_length":96,"hex_timestamp":"000001a07cacaf58"} 
[2026-09-07 21: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-07 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-07 21:51: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-07 21: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-07 21: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-07 21:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932308480001,"66":11950,"235":206,"85":15104,"24":53,"16":129663434873634816,"45":9026409946837274624},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-07 21:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932308480001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:51:50] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-07 21:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129663434873634816,"km_value":129663434873634.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946837274624,"description":"Unknown IO ID 45"} 
[2026-09-07 21:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932308480001,"power":11950,"unknown_235":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9026409946837274624}} 
[2026-09-07 21:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":174072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:51:50] local.INFO: GPS data processed {"connection_id":174072,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:51:50] local.INFO: Acknowledgment sent {"connection_id":174072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:09] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:09] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:09] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:52:13] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:13] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:13] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:52:15] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:15] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:52:15] local.INFO: IMEI packet received {"connection_id":173832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":173832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:52:16] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caccab0012d7d48c005ce91e00010000224..."} 
[2026-09-07 21:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caccab0012d7d48c005ce91e00010000224..."} 
[2026-09-07 21:52:16] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caccab0012d7d48c005ce91e00010000224..."} 
[2026-09-07 21:52:16] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:52:16] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":97423840,"longitude_deg":76.3185344,"latitude_deg":9.742384,"altitude":16,"angle":2,"satellites":36,"speed":47,"hex_longitude":"2d7d48c0","hex_latitude":"05ce91e0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932310272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129663877255266304,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265537247232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788798094000,"timestamp_ms":1788798094000,"timestamp_seconds":1788798094,"priority":1,"record_length":96,"hex_timestamp":"000001a07caccab0"} 
[2026-09-07 21: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-07 21:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932310272001,"66":11721,"235":206,"85":15104,"24":47,"16":129663877255266304,"45":9027043265537247232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-07 21:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932310272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:16] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-07 21:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129663877255266304,"km_value":129663877255266.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265537247232,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932310272001,"power":11721,"unknown_235":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9027043265537247232}} 
[2026-09-07 21:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:16] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:16] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:18] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cacf1c0012d7d4a0005ceb5a00011000024..."} 
[2026-09-07 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cacf1c0012d7d4a0005ceb5a00011000024..."} 
[2026-09-07 21:52:18] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cacf1c0012d7d4a0005ceb5a00011000024..."} 
[2026-09-07 21:52:18] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:52:18] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cac"} 
[2026-09-07 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97432992,"longitude_deg":76.3185664,"latitude_deg":9.7432992,"altitude":17,"angle":0,"satellites":36,"speed":25,"hex_longitude":"2d7d4a00","hex_latitude":"05ceb5a0","is_valid_coordinates":true} 
[2026-09-07 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932312064001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129664323931865088,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584237195264,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788798104000,"timestamp_ms":1788798104000,"timestamp_seconds":1788798104,"priority":1,"record_length":96,"hex_timestamp":"000001a07cacf1c0"} 
[2026-09-07 21:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932312064001,"66":11754,"235":206,"85":15104,"24":25,"16":129664323931865088,"45":9027676584237195264},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-07 21:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932312064001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-07 21:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129664323931865088,"km_value":129664323931865.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584237195264,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932312064001,"power":11754,"unknown_235":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9027676584237195264}} 
[2026-09-07 21:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:18] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:18] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:20] local.INFO: TCP Data received {"connection_id":175169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cab8290012d0a664006f165180016007726..."} 
[2026-09-07 21:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cab8290012d0a664006f165180016007726..."} 
[2026-09-07 21:52:20] local.INFO: Processing buffer {"connection_id":175169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cab8290012d0a664006f165180016007726..."} 
[2026-09-07 21:52:20] local.INFO: Packet analysis {"connection_id":175169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:20] local.INFO: Extracted packet for processing {"connection_id":175169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:20] local.INFO: GPS Element Parsed {"raw_longitude":755656256,"raw_latitude":116483352,"longitude_deg":75.5656256,"latitude_deg":11.6483352,"altitude":22,"angle":119,"satellites":38,"speed":15,"hex_longitude":"2d0a6640","hex_latitude":"06f16518","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932286720001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402320787891027968,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":741053274756046848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788798010000,"timestamp_ms":1788798010000,"timestamp_seconds":1788798010,"priority":1,"record_length":96,"hex_timestamp":"000001a07cab8290"} 
[2026-09-07 21: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-07 21: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-07 21:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932286720001,"66":27267,"111":206,"80":6400,"24":15,"16":402320787891027968,"45":741053274756046848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932286720001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:20] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:52:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402320787891027968,"km_value":402320787891027.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":741053274756046848,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932286720001,"power":27267,"unknown_111":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":741053274756046848}} 
[2026-09-07 21:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":175169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:20] local.INFO: GPS data processed {"connection_id":175169,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:20] local.INFO: Acknowledgment sent {"connection_id":175169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:49] local.INFO: TCP Data received {"connection_id":173833,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:49] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:49] local.INFO: IMEI packet received {"connection_id":173833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":173833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:52:49] local.INFO: TCP Data received {"connection_id":173832,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cad18d0012d7d4a0005ceda900011016724..."} 
[2026-09-07 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cad18d0012d7d4a0005ceda900011016724..."} 
[2026-09-07 21:52:49] local.INFO: Processing buffer {"connection_id":173832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cad18d0012d7d4a0005ceda900011016724..."} 
[2026-09-07 21:52:49] local.INFO: Packet analysis {"connection_id":173832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cad"} 
[2026-09-07 21:52:49] local.INFO: Extracted packet for processing {"connection_id":173832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cad"} 
[2026-09-07 21:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97442448,"longitude_deg":76.3185664,"latitude_deg":9.7442448,"altitude":17,"angle":359,"satellites":36,"speed":47,"hex_longitude":"2d7d4a00","hex_latitude":"05ceda90","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932314624001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129664783493365760,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427960426496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798114000,"timestamp_ms":1788798114000,"timestamp_seconds":1788798114,"priority":1,"record_length":96,"hex_timestamp":"000001a07cad18d0"} 
[2026-09-07 21: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-07 21: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-07 21: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932314624001,"66":11852,"235":206,"85":15104,"24":47,"16":129664783493365760,"45":9028028427960426496},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-07 21:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932314624001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:49] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-07 21:52:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129664783493365760,"km_value":129664783493365.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427960426496,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932314624001,"power":11852,"unknown_235":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9028028427960426496}} 
[2026-09-07 21:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":173832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:49] local.INFO: GPS data processed {"connection_id":173832,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:49] local.INFO: Acknowledgment sent {"connection_id":173832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:54] local.INFO: TCP Data received {"connection_id":173833,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:54] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:52:54] local.INFO: IMEI packet received {"connection_id":173833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":173833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:52:54] local.INFO: TCP Data received {"connection_id":173833,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cabc4f8012d0a85c006f15180001700762a..."} 
[2026-09-07 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cabc4f8012d0a85c006f15180001700762a..."} 
[2026-09-07 21:52:54] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cabc4f8012d0a85c006f15180001700762a..."} 
[2026-09-07 21:52:54] local.INFO: Packet analysis {"connection_id":173833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:54] local.INFO: Extracted packet for processing {"connection_id":173833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":116478336,"longitude_deg":75.566432,"latitude_deg":11.6478336,"altitude":23,"angle":118,"satellites":42,"speed":21,"hex_longitude":"2d0a85c0","hex_latitude":"06f15180","is_valid_coordinates":true} 
[2026-09-07 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-07 21:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932290560001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402321238862594048,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749356786567682048,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788798027000,"timestamp_ms":1788798027000,"timestamp_seconds":1788798027,"priority":1,"record_length":96,"hex_timestamp":"000001a07cabc4f8"} 
[2026-09-07 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-07 21:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:54] 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-07 21:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932290560001,"66":27234,"111":206,"80":6400,"24":21,"16":402321238862594048,"45":749356786567682048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932290560001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:52:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402321238862594048,"km_value":402321238862594.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":749356786567682048,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932290560001,"power":27234,"unknown_111":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":749356786567682048}} 
[2026-09-07 21:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":173833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:54] local.INFO: GPS data processed {"connection_id":173833,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:54] local.INFO: Acknowledgment sent {"connection_id":173833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:52:59] local.INFO: TCP Data received {"connection_id":173833,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cabf3d8012d0a9bc006f14570001400682b..."} 
[2026-09-07 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cabf3d8012d0a9bc006f14570001400682b..."} 
[2026-09-07 21:52:59] local.INFO: Processing buffer {"connection_id":173833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cabf3d8012d0a9bc006f14570001400682b..."} 
[2026-09-07 21:52:59] local.INFO: Packet analysis {"connection_id":173833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:59] local.INFO: Extracted packet for processing {"connection_id":173833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":755669952,"raw_latitude":116475248,"longitude_deg":75.5669952,"latitude_deg":11.6475248,"altitude":20,"angle":104,"satellites":43,"speed":16,"hex_longitude":"2d0a9bc0","hex_latitude":"06f14570","is_valid_coordinates":true} 
[2026-09-07 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932294912001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402321548100239360,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758223248332783616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788798039000,"timestamp_ms":1788798039000,"timestamp_seconds":1788798039,"priority":1,"record_length":96,"hex_timestamp":"000001a07cabf3d8"} 
[2026-09-07 21:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 21:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:52:59] 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-07 21:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932294912001,"66":27245,"111":206,"80":6400,"24":16,"16":402321548100239360,"45":758223248332783616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932294912001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:52:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:52:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402321548100239360,"km_value":402321548100239.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":758223248332783616,"description":"Unknown IO ID 45"} 
[2026-09-07 21:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932294912001,"power":27245,"unknown_111":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":758223248332783616}} 
[2026-09-07 21:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":173833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:52:59] local.INFO: GPS data processed {"connection_id":173833,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:52:59] local.INFO: Acknowledgment sent {"connection_id":173833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:53:06] local.INFO: TCP Data received {"connection_id":173834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:53:06] local.INFO: Processing buffer {"connection_id":173834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:53:06] local.INFO: IMEI packet received {"connection_id":173834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":173834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:53:11] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:11] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:11] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:53:13] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:53:13] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:13] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:53:18] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:18] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:53:18] local.INFO: IMEI packet received {"connection_id":173835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":173835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:53:19] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cad3428012d7d4a4005cf00b0000e016623..."} 
[2026-09-07 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cad3428012d7d4a4005cf00b0000e016623..."} 
[2026-09-07 21:53:19] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cad3428012d7d4a4005cf00b0000e016623..."} 
[2026-09-07 21:53:19] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cad"} 
[2026-09-07 21:53:19] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cad"} 
[2026-09-07 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97452208,"longitude_deg":76.3185728,"latitude_deg":9.7452208,"altitude":14,"angle":358,"satellites":35,"speed":61,"hex_longitude":"2d7d4a40","hex_latitude":"05cf00b0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932317184001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129665255939768320,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427962847232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798121000,"timestamp_ms":1788798121000,"timestamp_seconds":1788798121,"priority":1,"record_length":96,"hex_timestamp":"000001a07cad3428"} 
[2026-09-07 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-07 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 21:53:19] 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-07 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-07 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-07 21:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932317184001,"66":12004,"235":206,"85":15104,"24":61,"16":129665255939768320,"45":9028028427962847232},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-09-07 21:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932317184001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:53:19] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-09-07 21:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129665255939768320,"km_value":129665255939768.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427962847232,"description":"Unknown IO ID 45"} 
[2026-09-07 21:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932317184001,"power":12004,"unknown_235":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9028028427962847232}} 
[2026-09-07 21:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:53:19] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:53:19] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:53:43] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:43] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:43] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:53:44] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:44] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:44] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:53:49] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:49] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:53:49] local.INFO: IMEI packet received {"connection_id":175170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":175170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:53:49] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cabfba8012d0a9f0006f14518001400592b..."} 
[2026-09-07 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cabfba8012d0a9f0006f14518001400592b..."} 
[2026-09-07 21:53:49] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cabfba8012d0a9f0006f14518001400592b..."} 
[2026-09-07 21:53:49] local.INFO: Packet analysis {"connection_id":175170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:53:49] local.INFO: Extracted packet for processing {"connection_id":175170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cab"} 
[2026-09-07 21:53:49] local.INFO: GPS Element Parsed {"raw_longitude":755670784,"raw_latitude":116475160,"longitude_deg":75.5670784,"latitude_deg":11.647516,"altitude":20,"angle":89,"satellites":43,"speed":15,"hex_longitude":"2d0a9f00","hex_latitude":"06f14518","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932297984001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402321586754945024,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764415697819627520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798041000,"timestamp_ms":1788798041000,"timestamp_seconds":1788798041,"priority":1,"record_length":96,"hex_timestamp":"000001a07cabfba8"} 
[2026-09-07 21: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-07 21:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 21:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:53:49] 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-07 21:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932297984001,"66":26778,"111":206,"80":6400,"24":15,"16":402321586754945024,"45":764415697819627520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932297984001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:53:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:53:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402321586754945024,"km_value":402321586754945.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":764415697819627520,"description":"Unknown IO ID 45"} 
[2026-09-07 21:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932297984001,"power":26778,"unknown_111":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":764415697819627520}} 
[2026-09-07 21:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":175170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:53:49] local.INFO: GPS data processed {"connection_id":175170,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:53:49] local.INFO: Acknowledgment sent {"connection_id":175170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:53:50] local.INFO: TCP Data received {"connection_id":173835,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cae68c0012d7d4a0005d03aa8000c016224..."} 
[2026-09-07 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cae68c0012d7d4a0005d03aa8000c016224..."} 
[2026-09-07 21:53:50] local.INFO: Processing buffer {"connection_id":173835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cae68c0012d7d4a0005d03aa8000c016224..."} 
[2026-09-07 21:53:50] local.INFO: Packet analysis {"connection_id":173835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:53:50] local.INFO: Extracted packet for processing {"connection_id":173835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97532584,"longitude_deg":76.3185664,"latitude_deg":9.7532584,"altitude":12,"angle":354,"satellites":36,"speed":28,"hex_longitude":"2d7d4a00","hex_latitude":"05d03aa8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932338176001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129669160065040384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796729499648,"note":"Value kept but may cause issues"} 
[2026-09-07 21:53:50] 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-07 21:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798200000,"timestamp_ms":1788798200000,"timestamp_seconds":1788798200,"priority":1,"record_length":96,"hex_timestamp":"000001a07cae68c0"} 
[2026-09-07 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-07 21:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 21:53:50] 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-07 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-07 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-07 21:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932338176001,"66":12189,"198":206,"85":15104,"24":28,"16":129669160065040384,"45":9028098796729499648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932338176001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:53:50] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129669160065040384,"km_value":129669160065040.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796729499648,"description":"Unknown IO ID 45"} 
[2026-09-07 21:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932338176001,"power":12189,"unknown_198":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9028098796729499648}} 
[2026-09-07 21:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":173835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:53:50] local.INFO: GPS data processed {"connection_id":173835,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:53:50] local.INFO: Acknowledgment sent {"connection_id":173835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:54:18] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:18] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:18] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:54:19] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:19] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:54:19] local.INFO: IMEI packet received {"connection_id":174074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":174074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:54:20] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cae9b88012d7d46c005d05e40000d016224..."} 
[2026-09-07 21:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cae9b88012d7d46c005d05e40000d016224..."} 
[2026-09-07 21:54:20] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cae9b88012d7d46c005d05e40000d016224..."} 
[2026-09-07 21:54:20] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:20] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:20] local.INFO: GPS Element Parsed {"raw_longitude":763184832,"raw_latitude":97541696,"longitude_deg":76.3184832,"latitude_deg":9.7541696,"altitude":13,"angle":354,"satellites":36,"speed":32,"hex_longitude":"2d7d46c0","hex_latitude":"05d05e40","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932339200001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129669602446671872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427985922048,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:20] 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-07 21:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788798213000,"timestamp_ms":1788798213000,"timestamp_seconds":1788798213,"priority":1,"record_length":96,"hex_timestamp":"000001a07cae9b88"} 
[2026-09-07 21: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-07 21: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-07 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-09-07 21:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932339200001,"66":12232,"198":206,"85":15104,"24":32,"16":129669602446671872,"45":9028028427985922048},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932339200001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:54:20] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129669602446671872,"km_value":129669602446671.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427985922048,"description":"Unknown IO ID 45"} 
[2026-09-07 21:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932339200001,"power":12232,"unknown_198":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9028028427985922048}} 
[2026-09-07 21:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:54:20] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:54:20] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:54:21] local.INFO: TCP Data received {"connection_id":175170,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cae8030012d0b118006f0ed20001000aa29..."} 
[2026-09-07 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cae8030012d0b118006f0ed20001000aa29..."} 
[2026-09-07 21:54:21] local.INFO: Processing buffer {"connection_id":175170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cae8030012d0b118006f0ed20001000aa29..."} 
[2026-09-07 21:54:21] local.INFO: Packet analysis {"connection_id":175170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:21] local.INFO: Extracted packet for processing {"connection_id":175170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755700096,"raw_latitude":116452640,"longitude_deg":75.5700096,"latitude_deg":11.645264,"altitude":16,"angle":170,"satellites":41,"speed":5,"hex_longitude":"2d0b1180","hex_latitude":"06f0ed20","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932340224001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402323394936176640,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797348270089066496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798206000,"timestamp_ms":1788798206000,"timestamp_seconds":1788798206,"priority":1,"record_length":96,"hex_timestamp":"000001a07cae8030"} 
[2026-09-07 21: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-07 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 21:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:54: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-07 21:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932340224001,"66":27213,"111":206,"80":6400,"24":5,"16":402323394936176640,"45":797348270089066496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932340224001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:54:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:54:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402323394936176640,"km_value":402323394936176.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797348270089066496,"description":"Unknown IO ID 45"} 
[2026-09-07 21:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932340224001,"power":27213,"unknown_111":206,"unknown_80":6400,"ignition":5,"odometer":null,"unknown_45":797348270089066496}} 
[2026-09-07 21:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":175170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:54:21] local.INFO: GPS data processed {"connection_id":175170,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:54:21] local.INFO: Acknowledgment sent {"connection_id":175170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:54:23] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caec298012d7d438005d081c8000d016324..."} 
[2026-09-07 21:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caec298012d7d438005d081c8000d016324..."} 
[2026-09-07 21:54:23] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caec298012d7d438005d081c8000d016324..."} 
[2026-09-07 21:54:23] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:23] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:23] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97550792,"longitude_deg":76.3184,"latitude_deg":9.7550792,"altitude":13,"angle":355,"satellites":36,"speed":37,"hex_longitude":"2d7d4380","hex_latitude":"05d081c8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932342528001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129670049123270656,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634313945088,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:23] 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-07 21:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788798223000,"timestamp_ms":1788798223000,"timestamp_seconds":1788798223,"priority":1,"record_length":96,"hex_timestamp":"000001a07caec298"} 
[2026-09-07 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-07 21:54: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-07 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 21:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932342528001,"66":12037,"198":206,"85":15104,"24":37,"16":129670049123270656,"45":9027113634313945088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932342528001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:54:23] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:54:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129670049123270656,"km_value":129670049123270.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634313945088,"description":"Unknown IO ID 45"} 
[2026-09-07 21:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932342528001,"power":12037,"unknown_198":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9027113634313945088}} 
[2026-09-07 21:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:54:23] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:54:23] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:54:44] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:44] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:44] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:54:49] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:49] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:54:49] local.INFO: IMEI packet received {"connection_id":175171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":175171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:54:50] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cae8be8012d0b11c006f0eb200010009a2b..."} 
[2026-09-07 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cae8be8012d0b11c006f0eb200010009a2b..."} 
[2026-09-07 21:54:50] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cae8be8012d0b11c006f0eb200010009a2b..."} 
[2026-09-07 21:54:50] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:50] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755700160,"raw_latitude":116452128,"longitude_deg":75.570016,"latitude_deg":11.6452128,"altitude":16,"angle":154,"satellites":43,"speed":6,"hex_longitude":"2d0b11c0","hex_latitude":"06f0eb20","is_valid_coordinates":true} 
[2026-09-07 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932340736001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402323420705980416,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797559376321519616,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798209000,"timestamp_ms":1788798209000,"timestamp_seconds":1788798209,"priority":1,"record_length":96,"hex_timestamp":"000001a07cae8be8"} 
[2026-09-07 21:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 21:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:54:50] 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-07 21:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932340736001,"66":27365,"111":206,"80":6400,"24":6,"16":402323420705980416,"45":797559376321519616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932340736001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:54:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:54:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402323420705980416,"km_value":402323420705980.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797559376321519616,"description":"Unknown IO ID 45"} 
[2026-09-07 21:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932340736001,"power":27365,"unknown_111":206,"unknown_80":6400,"ignition":6,"odometer":null,"unknown_45":797559376321519616}} 
[2026-09-07 21:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:54:50] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:54:50] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:54:55] local.INFO: TCP Data received {"connection_id":174074,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caef178012d7d400005d0a4a0000e016423..."} 
[2026-09-07 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caef178012d7d400005d0a4a0000e016423..."} 
[2026-09-07 21:54:55] local.INFO: Processing buffer {"connection_id":174074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caef178012d7d400005d0a4a0000e016423..."} 
[2026-09-07 21:54:55] local.INFO: Packet analysis {"connection_id":174074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:55] local.INFO: Extracted packet for processing {"connection_id":174074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97559712,"longitude_deg":76.3183104,"latitude_deg":9.7559712,"altitude":14,"angle":356,"satellites":35,"speed":33,"hex_longitude":"2d7d4000","hex_latitude":"05d0a4a0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932345088001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129670482914967552,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840641964032,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] 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-07 21:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788798235000,"timestamp_ms":1788798235000,"timestamp_seconds":1788798235,"priority":1,"record_length":96,"hex_timestamp":"000001a07caef178"} 
[2026-09-07 21: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-07 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2923796481,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8630586622095327256,"corrected_to":0} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221606444,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182203939815680,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257847,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2906587136,"corrected_to":0} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3448367531650095836,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:54:55] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,198,85,24,241,157,16,174,160,155,45,192,94,13,36,10,66,173,104,58,12,89,64,1,240,180,227,124,208,4,113,205,7,61,72,239,46,2,204,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8630586622095327256,"validated":0},{"io_id":204,"original":2906587136,"validated":0}]} 
[2026-09-07 21:54:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937139203742171136,"timestamp_seconds":937139203742171.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-07 21: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-07 21:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932345088001,"66":12178,"198":206,"85":15104,"24":33,"16":129670482914967552,"45":9026198840641964032},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932345088001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:54:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129670482914967552,"km_value":129670482914967.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840641964032,"description":"Unknown IO ID 45"} 
[2026-09-07 21:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932345088001,"power":12178,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9026198840641964032}} 
[2026-09-07 21:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":174074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:54:55] local.INFO: GPS data processed {"connection_id":174074,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:54:55] local.INFO: Acknowledgment sent {"connection_id":174074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:55:09] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:09] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:09] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:55:13] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:13] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:13] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:55:16] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:16] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:55:16] local.INFO: IMEI packet received {"connection_id":174075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":174075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:55:17] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf1c70012d7d3e0005d0ca28000d016424..."} 
[2026-09-07 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf1c70012d7d3e0005d0ca28000d016424..."} 
[2026-09-07 21:55:17] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf1c70012d7d3e0005d0ca28000d016424..."} 
[2026-09-07 21:55:17] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:55:17] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97569320,"longitude_deg":76.3182592,"latitude_deg":9.756932,"altitude":13,"angle":356,"satellites":36,"speed":31,"hex_longitude":"2d7d3e00","hex_latitude":"05d0ca28","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932348160001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129670946771435520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678225760256,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:17] 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-07 21:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1788798246000,"timestamp_ms":1788798246000,"timestamp_seconds":1788798246,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf1c70"} 
[2026-09-07 21: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-07 21:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-09-07 21:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932348160001,"66":12472,"198":206,"85":15104,"24":31,"16":129670946771435520,"45":9025213678225760256},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932348160001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:55:17] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129670946771435520,"km_value":129670946771435.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678225760256,"description":"Unknown IO ID 45"} 
[2026-09-07 21:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932348160001,"power":12472,"unknown_198":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025213678225760256}} 
[2026-09-07 21:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:55:17] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:55:17] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:55:27] local.INFO: TCP Data received {"connection_id":175171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cae97a0012d0b130006f0e8e8001100892b..."} 
[2026-09-07 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cae97a0012d0b130006f0e8e8001100892b..."} 
[2026-09-07 21:55:27] local.INFO: Processing buffer {"connection_id":175171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cae97a0012d0b130006f0e8e8001100892b..."} 
[2026-09-07 21:55:27] local.INFO: Packet analysis {"connection_id":175171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:55:27] local.INFO: Extracted packet for processing {"connection_id":175171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":116451560,"longitude_deg":75.570048,"latitude_deg":11.645156,"altitude":17,"angle":137,"satellites":43,"speed":9,"hex_longitude":"2d0b1300","hex_latitude":"06f0e8e8","is_valid_coordinates":true} 
[2026-09-07 21:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932341504001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402323450770751488,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797629745065566208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788798212000,"timestamp_ms":1788798212000,"timestamp_seconds":1788798212,"priority":1,"record_length":96,"hex_timestamp":"000001a07cae97a0"} 
[2026-09-07 21:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:55:27] 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-07 21:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932341504001,"66":26810,"111":206,"80":6400,"24":9,"16":402323450770751488,"45":797629745065566208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-09-07 21:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932341504001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:55:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-07 21:55:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402323450770751488,"km_value":402323450770751.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":797629745065566208,"description":"Unknown IO ID 45"} 
[2026-09-07 21:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932341504001,"power":26810,"unknown_111":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":797629745065566208}} 
[2026-09-07 21:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":175171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:55:27] local.INFO: GPS data processed {"connection_id":175171,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:55:27] local.INFO: Acknowledgment sent {"connection_id":175171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:55:43] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:43] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:43] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:55:44] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:44] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:44] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:55:48] local.INFO: TCP Data received {"connection_id":174075,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf4768012d7d3bc005d0ed58000c016524..."} 
[2026-09-07 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf4768012d7d3bc005d0ed58000c016524..."} 
[2026-09-07 21:55:48] local.INFO: Processing buffer {"connection_id":174075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf4768012d7d3bc005d0ed58000c016524..."} 
[2026-09-07 21:55:48] local.INFO: Packet analysis {"connection_id":174075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:55:48] local.INFO: Extracted packet for processing {"connection_id":174075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763182016,"raw_latitude":97578328,"longitude_deg":76.3182016,"latitude_deg":9.7578328,"altitude":12,"angle":357,"satellites":36,"speed":33,"hex_longitude":"2d7d3bc0","hex_latitude":"05d0ed58","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932350976001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129671384858099712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728274798592,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55: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-07 21:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788798257000,"timestamp_ms":1788798257000,"timestamp_seconds":1788798257,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf4768"} 
[2026-09-07 21: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-07 21:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-09-07 21:55:48] 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-07 21: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-07 21: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-07 21:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":174075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":174075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932350976001,"66":12374,"198":206,"85":15104,"24":33,"16":129671384858099712,"45":9024650728274798592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-09-07 21:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932350976001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:55:48] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-09-07 21:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129671384858099712,"km_value":129671384858099.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728274798592,"description":"Unknown IO ID 45"} 
[2026-09-07 21:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932350976001,"power":12374,"unknown_198":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9024650728274798592}} 
[2026-09-07 21:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":174075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:55:48] local.INFO: GPS data processed {"connection_id":174075,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:55:48] local.INFO: Acknowledgment sent {"connection_id":174075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:55:49] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:49] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:55:49] local.INFO: IMEI packet received {"connection_id":173836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:55:50] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caee9a8012d0b220006f0d5e0001300902b..."} 
[2026-09-07 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caee9a8012d0b220006f0d5e0001300902b..."} 
[2026-09-07 21:55:50] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caee9a8012d0b220006f0d5e0001300902b..."} 
[2026-09-07 21:55:50] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:55:50] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cae"} 
[2026-09-07 21:55:50] local.INFO: GPS Element Parsed {"raw_longitude":755704320,"raw_latitude":116446688,"longitude_deg":75.570432,"latitude_deg":11.6446688,"altitude":19,"angle":144,"satellites":43,"speed":18,"hex_longitude":"2d0b2200","hex_latitude":"06f0d5e0","is_valid_coordinates":true} 
[2026-09-07 21:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932342272001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402323751418462208,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981588786309120,"note":"Value kept but may cause issues"} 
[2026-09-07 21:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798233000,"timestamp_ms":1788798233000,"timestamp_seconds":1788798233,"priority":1,"record_length":96,"hex_timestamp":"000001a07caee9a8"} 
[2026-09-07 21:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-09-07 21:55:50] 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-07 21:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:55:50] 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-07 21:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932342272001,"66":27245,"5":206,"80":6400,"24":18,"16":402323751418462208,"45":797981588786309120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-07 21:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932342272001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:55:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 21:55:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402323751418462208,"km_value":402323751418462.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981588786309120,"description":"Unknown IO ID 45"} 
[2026-09-07 21:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932342272001,"power":27245,"unknown_5":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":797981588786309120}} 
[2026-09-07 21:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:55:50] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:55:50] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:56:14] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:14] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:14] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:56:21] local.INFO: TCP Data received {"connection_id":173836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf3bb0012d0b33c006f0bc18001100952b..."} 
[2026-09-07 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf3bb0012d0b33c006f0bc18001100952b..."} 
[2026-09-07 21:56:21] local.INFO: Processing buffer {"connection_id":173836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf3bb0012d0b33c006f0bc18001100952b..."} 
[2026-09-07 21:56:21] local.INFO: Packet analysis {"connection_id":173836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:21] local.INFO: Extracted packet for processing {"connection_id":173836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":755708864,"raw_latitude":116440088,"longitude_deg":75.5708864,"latitude_deg":11.6440088,"altitude":17,"angle":149,"satellites":43,"speed":15,"hex_longitude":"2d0b33c0","hex_latitude":"06f0bc18","is_valid_coordinates":true} 
[2026-09-07 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932347648001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402324137965518848,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802203713435721728,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798254000,"timestamp_ms":1788798254000,"timestamp_seconds":1788798254,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf3bb0"} 
[2026-09-07 21:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 21:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56: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-07 21:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932347648001,"66":27267,"5":206,"80":6400,"24":15,"16":402324137965518848,"45":802203713435721728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-07 21:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932347648001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402324137965518848,"km_value":402324137965518.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":802203713435721728,"description":"Unknown IO ID 45"} 
[2026-09-07 21:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932347648001,"power":27267,"unknown_5":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":802203713435721728}} 
[2026-09-07 21:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:56:21] local.INFO: GPS data processed {"connection_id":173836,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:56:21] local.INFO: Acknowledgment sent {"connection_id":173836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:56:26] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:26] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:56:26] local.INFO: IMEI packet received {"connection_id":173838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":173838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:56:28] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf6e78012d7d390005d110e8000b016424..."} 
[2026-09-07 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf6e78012d7d390005d110e8000b016424..."} 
[2026-09-07 21:56:28] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf6e78012d7d390005d110e8000b016424..."} 
[2026-09-07 21:56:28] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:28] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97587432,"longitude_deg":76.3181312,"latitude_deg":9.7587432,"altitude":11,"angle":356,"satellites":36,"speed":39,"hex_longitude":"2d7d3900","hex_latitude":"05d110e8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932353792001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129671827239731200,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024017409579505664,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:28] 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-07 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788798267000,"timestamp_ms":1788798267000,"timestamp_seconds":1788798267,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf6e78"} 
[2026-09-07 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-07 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-07 21:56: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-07 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-07 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-07 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932353792001,"66":11569,"197":206,"85":15104,"24":39,"16":129671827239731200,"45":9024017409579505664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-07 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932353792001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:56:28] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 21:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129671827239731200,"km_value":129671827239731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024017409579505664,"description":"Unknown IO ID 45"} 
[2026-09-07 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932353792001,"power":11569,"unknown_197":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9024017409579505664}} 
[2026-09-07 21:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:56:28] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:56:28] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:56:29] local.INFO: TCP Data received {"connection_id":173838,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf91a0012d7d374005d13398000a016324..."} 
[2026-09-07 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf91a0012d7d374005d13398000a016324..."} 
[2026-09-07 21:56:29] local.INFO: Processing buffer {"connection_id":173838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf91a0012d7d374005d13398000a016324..."} 
[2026-09-07 21:56:29] local.INFO: Packet analysis {"connection_id":173838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:29] local.INFO: Extracted packet for processing {"connection_id":173838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97596312,"longitude_deg":76.3180864,"latitude_deg":9.7596312,"altitude":10,"angle":355,"satellites":36,"speed":38,"hex_longitude":"2d7d3740","hex_latitude":"05d13398","is_valid_coordinates":true} 
[2026-09-07 21:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932356352001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129672261031428096,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353395881984,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:29] 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-07 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788798276000,"timestamp_ms":1788798276000,"timestamp_seconds":1788798276,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf91a0"} 
[2026-09-07 21:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-07 21:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 21:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":173838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":173838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":173838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932356352001,"66":12232,"197":206,"85":15104,"24":38,"16":129672261031428096,"45":9023243353395881984},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-09-07 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932356352001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:56:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-09-07 21:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129672261031428096,"km_value":129672261031428.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353395881984,"description":"Unknown IO ID 45"} 
[2026-09-07 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932356352001,"power":12232,"unknown_197":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023243353395881984}} 
[2026-09-07 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":173838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:56:29] local.INFO: GPS data processed {"connection_id":173838,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:56:29] local.INFO: Acknowledgment sent {"connection_id":173838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:56:49] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:49] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:49] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:56:54] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:54] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:56:54] local.INFO: IMEI packet received {"connection_id":175172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":175172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:56:55] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf6e78012d0b440006f09d280010009b29..."} 
[2026-09-07 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf6e78012d0b440006f09d280010009b29..."} 
[2026-09-07 21:56:55] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf6e78012d0b440006f09d280010009b29..."} 
[2026-09-07 21:56:55] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:55] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755713024,"raw_latitude":116432168,"longitude_deg":75.5713024,"latitude_deg":11.6432168,"altitude":16,"angle":155,"satellites":41,"speed":31,"hex_longitude":"2d0b4400","hex_latitude":"06f09d28","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932353024001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402324571757215744,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807199894270646272,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788798267000,"timestamp_ms":1788798267000,"timestamp_seconds":1788798267,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf6e78"} 
[2026-09-07 21: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-07 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56:55] 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-07 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932353024001,"66":27300,"5":206,"80":6400,"24":31,"16":402324571757215744,"45":807199894270646272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-07 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932353024001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:56:55] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 21:56:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402324571757215744,"km_value":402324571757215.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":807199894270646272,"description":"Unknown IO ID 45"} 
[2026-09-07 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932353024001,"power":27300,"unknown_5":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":807199894270646272}} 
[2026-09-07 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:56:55] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:56:55] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:56:57] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07caf9970012d0b51c006f07c28000f009f2b..."} 
[2026-09-07 21:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07caf9970012d0b51c006f07c28000f009f2b..."} 
[2026-09-07 21:56:57] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07caf9970012d0b51c006f07c28000f009f2b..."} 
[2026-09-07 21:56:57] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:57] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07caf"} 
[2026-09-07 21:56:57] local.INFO: GPS Element Parsed {"raw_longitude":755716544,"raw_latitude":116423720,"longitude_deg":75.5716544,"latitude_deg":11.642372,"altitude":15,"angle":159,"satellites":43,"speed":34,"hex_longitude":"2d0b51c0","hex_latitude":"06f07c28","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932356352001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402325014138847232,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811773862640166912,"note":"Value kept but may cause issues"} 
[2026-09-07 21:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1788798278000,"timestamp_ms":1788798278000,"timestamp_seconds":1788798278,"priority":1,"record_length":96,"hex_timestamp":"000001a07caf9970"} 
[2026-09-07 21: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-07 21:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:56:57] 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-07 21:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932356352001,"66":27332,"5":206,"80":6400,"24":34,"16":402325014138847232,"45":811773862640166912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,80,24,16,45]} 
[2026-09-07 21:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932356352001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:56:57] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-09-07 21:56:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402325014138847232,"km_value":402325014138847.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":811773862640166912,"description":"Unknown IO ID 45"} 
[2026-09-07 21:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932356352001,"power":27332,"unknown_5":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":811773862640166912}} 
[2026-09-07 21:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:56:57] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:56:57] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:57:11] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:11] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:11] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:57:13] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:13] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:13] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:57:18] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:18] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:57:18] local.INFO: IMEI packet received {"connection_id":175173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":175173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:57:19] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb17dd0012d7d378005d28b00000a001424..."} 
[2026-09-07 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb17dd0012d7d378005d28b00000a001424..."} 
[2026-09-07 21:57:19] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb17dd0012d7d378005d28b00000a001424..."} 
[2026-09-07 21:57:19] local.INFO: Packet analysis {"connection_id":175173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:19] local.INFO: Extracted packet for processing {"connection_id":175173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97684224,"longitude_deg":76.3180928,"latitude_deg":9.7684224,"altitude":10,"angle":20,"satellites":36,"speed":6,"hex_longitude":"2d7d3780","hex_latitude":"05d28b00","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932387840001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129676568883625984,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665978312704,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798402000,"timestamp_ms":1788798402000,"timestamp_seconds":1788798402,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb17dd0"} 
[2026-09-07 21: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-07 21: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-07 21: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":41,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-07 21:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1843,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932387840001,"66":11656,"117":206,"85":15104,"24":6,"16":129676568883625984,"45":9022539665978312704},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-07 21:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932387840001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:57:19] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 21:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129676568883625984,"km_value":129676568883625.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665978312704,"description":"Unknown IO ID 45"} 
[2026-09-07 21:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932387840001,"power":11656,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022539665978312704}} 
[2026-09-07 21:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":175173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:57:19] local.INFO: GPS data processed {"connection_id":175173,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:57:19] local.INFO: Acknowledgment sent {"connection_id":175173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:57:29] local.INFO: TCP Data received {"connection_id":175172,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb14338012d0bbc0006eefb580010009e2b..."} 
[2026-09-07 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb14338012d0bbc0006eefb580010009e2b..."} 
[2026-09-07 21:57:29] local.INFO: Processing buffer {"connection_id":175172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb14338012d0bbc0006eefb580010009e2b..."} 
[2026-09-07 21:57:29] local.INFO: Packet analysis {"connection_id":175172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:29] local.INFO: Extracted packet for processing {"connection_id":175172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:29] local.INFO: GPS Element Parsed {"raw_longitude":755743744,"raw_latitude":116325208,"longitude_deg":75.5743744,"latitude_deg":11.6325208,"altitude":16,"angle":158,"satellites":43,"speed":34,"hex_longitude":"2d0bbc00","hex_latitude":"06eefb58","is_valid_coordinates":true} 
[2026-09-07 21:57: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-07 21:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932384512001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402329970531106816,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841750947634667520,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788798387000,"timestamp_ms":1788798387000,"timestamp_seconds":1788798387,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb14338"} 
[2026-09-07 21:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:57: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 21:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:57: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-07 21:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":175172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":175172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:29] 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-07 21:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932384512001,"66":27376,"155":206,"80":6400,"24":34,"16":402329970531106816,"45":841750947634667520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932384512001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:57:29] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:57:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402329970531106816,"km_value":402329970531106.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":841750947634667520,"description":"Unknown IO ID 45"} 
[2026-09-07 21:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932384512001,"power":27376,"unknown_155":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":841750947634667520}} 
[2026-09-07 21:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":175172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:57:29] local.INFO: GPS data processed {"connection_id":175172,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:57:29] local.INFO: Acknowledgment sent {"connection_id":175172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:57:46] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:46] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:46] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:57:47] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:47] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:47] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:57:48] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:48] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:57:48] local.INFO: IMEI packet received {"connection_id":176589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":176589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:57:50] local.INFO: TCP Data received {"connection_id":175173,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb1a4e0012d7d3b0005d29460000a000424..."} 
[2026-09-07 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb1a4e0012d7d3b0005d29460000a000424..."} 
[2026-09-07 21:57:50] local.INFO: Processing buffer {"connection_id":175173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb1a4e0012d7d3b0005d29460000a000424..."} 
[2026-09-07 21:57:50] local.INFO: Packet analysis {"connection_id":175173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:50] local.INFO: Extracted packet for processing {"connection_id":175173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97686624,"longitude_deg":76.3181824,"latitude_deg":9.7686624,"altitude":10,"angle":4,"satellites":36,"speed":10,"hex_longitude":"2d7d3b00","hex_latitude":"05d29460","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932390912001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129676697732644864,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140955594752,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798412000,"timestamp_ms":1788798412000,"timestamp_seconds":1788798412,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb1a4e0"} 
[2026-09-07 21: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-07 21:57: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-07 21: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-09-07 21:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932390912001,"66":12156,"117":206,"85":15104,"24":10,"16":129676697732644864,"45":9022821140955594752},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932390912001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129676697732644864,"km_value":129676697732644.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140955594752,"description":"Unknown IO ID 45"} 
[2026-09-07 21:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932390912001,"power":12156,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9022821140955594752}} 
[2026-09-07 21:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:57:50] local.INFO: GPS data processed {"connection_id":175173,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:57:50] local.INFO: Acknowledgment sent {"connection_id":175173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:57:50] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb16e30012d0bc98006eed8f80010009e29..."} 
[2026-09-07 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb16e30012d0bc98006eed8f80010009e29..."} 
[2026-09-07 21:57:50] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb16e30012d0bc98006eed8f80010009e29..."} 
[2026-09-07 21:57:50] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:50] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755747200,"raw_latitude":116316408,"longitude_deg":75.57472,"latitude_deg":11.6316408,"altitude":16,"angle":158,"satellites":41,"speed":33,"hex_longitude":"2d0bc980","hex_latitude":"06eed8f8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932387072001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402330430092607488,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845550859818063872,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798398000,"timestamp_ms":1788798398000,"timestamp_seconds":1788798398,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb16e30"} 
[2026-09-07 21: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-07 21:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 21:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:50] 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-07 21:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932387072001,"66":27365,"155":206,"80":6400,"24":33,"16":402330430092607488,"45":845550859818063872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932387072001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402330430092607488,"km_value":402330430092607.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":845550859818063872,"description":"Unknown IO ID 45"} 
[2026-09-07 21:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932387072001,"power":27365,"unknown_155":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":845550859818063872}} 
[2026-09-07 21:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:57:50] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:57:50] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:57:58] local.INFO: TCP Data received {"connection_id":176589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb19928012d0bd80006eeb9080012009b2a..."} 
[2026-09-07 21:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb19928012d0bd80006eeb9080012009b2a..."} 
[2026-09-07 21:57:58] local.INFO: Processing buffer {"connection_id":176589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb19928012d0bd80006eeb9080012009b2a..."} 
[2026-09-07 21:57:58] local.INFO: Packet analysis {"connection_id":176589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:58] local.INFO: Extracted packet for processing {"connection_id":176589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:57:58] local.INFO: GPS Element Parsed {"raw_longitude":755750912,"raw_latitude":116308232,"longitude_deg":75.5750912,"latitude_deg":11.6308232,"altitude":18,"angle":155,"satellites":42,"speed":31,"hex_longitude":"2d0bd800","hex_latitude":"06eeb908","is_valid_coordinates":true} 
[2026-09-07 21:57: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-07 21:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932389888001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402330863884304384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849350772001404928,"note":"Value kept but may cause issues"} 
[2026-09-07 21:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788798409000,"timestamp_ms":1788798409000,"timestamp_seconds":1788798409,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb19928"} 
[2026-09-07 21:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:57: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-07 21:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:57:58] 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-07 21:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932389888001,"66":27267,"155":206,"80":6400,"24":31,"16":402330863884304384,"45":849350772001404928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932389888001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:57:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:57:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402330863884304384,"km_value":402330863884304.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":849350772001404928,"description":"Unknown IO ID 45"} 
[2026-09-07 21:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932389888001,"power":27267,"unknown_155":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":849350772001404928}} 
[2026-09-07 21:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":176589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:57:58] local.INFO: GPS data processed {"connection_id":176589,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:57:58] local.INFO: Acknowledgment sent {"connection_id":176589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:58:13] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:13] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:13] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:58:18] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:18] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:58:18] local.INFO: IMEI packet received {"connection_id":175174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":175174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:58:19] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb1b480012d7d3b0005d298c0000a016124..."} 
[2026-09-07 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb1b480012d7d3b0005d298c0000a016124..."} 
[2026-09-07 21:58:19] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb1b480012d7d3b0005d298c0000a016124..."} 
[2026-09-07 21:58:19] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:58:19] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97687744,"longitude_deg":76.3181824,"latitude_deg":9.7687744,"altitude":10,"angle":353,"satellites":36,"speed":11,"hex_longitude":"2d7d3b00","hex_latitude":"05d298c0","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932393472001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129676753567219712,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303374696448,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798416000,"timestamp_ms":1788798416000,"timestamp_seconds":1788798416,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb1b480"} 
[2026-09-07 21: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-07 21:58: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-07 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-09-07 21:58:19] 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-07 21: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-07 21: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-07 21:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932393472001,"66":12232,"117":206,"85":15104,"24":11,"16":129676753567219712,"45":9023806303374696448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-07 21:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932393472001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:58:19] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 21:58:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129676753567219712,"km_value":129676753567219.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303374696448,"description":"Unknown IO ID 45"} 
[2026-09-07 21:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932393472001,"power":12232,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9023806303374696448}} 
[2026-09-07 21:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:58:19] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:58:19] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:58:43] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:43] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:43] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:58:46] local.INFO: TCP Data received {"connection_id":173840,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:58:46] local.INFO: Processing buffer {"connection_id":173840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 21:58:46] local.INFO: IMEI packet received {"connection_id":173840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 21:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":173840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:58:49] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:49] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:58:49] local.INFO: IMEI packet received {"connection_id":174077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":174077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:58:51] local.INFO: TCP Data received {"connection_id":175174,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb31fc8012d7d778005d28fd8000d005924..."} 
[2026-09-07 21:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb31fc8012d7d778005d28fd8000d005924..."} 
[2026-09-07 21:58:51] local.INFO: Processing buffer {"connection_id":175174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb31fc8012d7d778005d28fd8000d005924..."} 
[2026-09-07 21:58:51] local.INFO: Packet analysis {"connection_id":175174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:58:51] local.INFO: Extracted packet for processing {"connection_id":175174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763197312,"raw_latitude":97685464,"longitude_deg":76.3197312,"latitude_deg":9.7685464,"altitude":13,"angle":89,"satellites":36,"speed":44,"hex_longitude":"2d7d7780","hex_latitude":"05d28fd8","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932415744001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129678810856554496,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646629556224,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788798509000,"timestamp_ms":1788798509000,"timestamp_seconds":1788798509,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb31fc8"} 
[2026-09-07 21: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-07 21:58: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-07 21: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-07 21:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932415744001,"66":12515,"117":206,"85":15104,"24":44,"16":129678810856554496,"45":9029787646629556224},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-07 21:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932415744001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:58:51] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 21:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129678810856554496,"km_value":129678810856554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646629556224,"description":"Unknown IO ID 45"} 
[2026-09-07 21:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932415744001,"power":12515,"unknown_117":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9029787646629556224}} 
[2026-09-07 21:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":175174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:58:51] local.INFO: GPS data processed {"connection_id":175174,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:58:51] local.INFO: Acknowledgment sent {"connection_id":175174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:58:54] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb1d3c0012d0be84006ee97100013009e2a..."} 
[2026-09-07 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb1d3c0012d0be84006ee97100013009e2a..."} 
[2026-09-07 21:58:54] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb1d3c0012d0be84006ee97100013009e2a..."} 
[2026-09-07 21:58:54] local.INFO: Packet analysis {"connection_id":174077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:58:54] local.INFO: Extracted packet for processing {"connection_id":174077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755755072,"raw_latitude":116299536,"longitude_deg":75.5755072,"latitude_deg":11.6299536,"altitude":19,"angle":158,"satellites":42,"speed":20,"hex_longitude":"2d0be840","hex_latitude":"06ee9710","is_valid_coordinates":true} 
[2026-09-07 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-07 21:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932392704001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402331327740772352,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853432159161616384,"note":"Value kept but may cause issues"} 
[2026-09-07 21:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788798424000,"timestamp_ms":1788798424000,"timestamp_seconds":1788798424,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb1d3c0"} 
[2026-09-07 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-07 21:58: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-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 21:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 21:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:58:54] 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-07 21:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932392704001,"66":27300,"155":206,"80":6400,"24":20,"16":402331327740772352,"45":853432159161616384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932392704001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:58:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:58:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402331327740772352,"km_value":402331327740772.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":853432159161616384,"description":"Unknown IO ID 45"} 
[2026-09-07 21:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932392704001,"power":27300,"unknown_155":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":853432159161616384}} 
[2026-09-07 21:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":174077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:58:54] local.INFO: GPS data processed {"connection_id":174077,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:58:54] local.INFO: Acknowledgment sent {"connection_id":174077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:59:18] local.INFO: TCP Data received {"connection_id":176590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:18] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:18] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 21:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:59:23] local.INFO: TCP Data received {"connection_id":176590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:23] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 21:59:23] local.INFO: IMEI packet received {"connection_id":176590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 21:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":176590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:59:24] local.INFO: TCP Data received {"connection_id":176590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb33f08012d7d9b0005d28ef8000b005921..."} 
[2026-09-07 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb33f08012d7d9b0005d28ef8000b005921..."} 
[2026-09-07 21:59:24] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb33f08012d7d9b0005d28ef8000b005921..."} 
[2026-09-07 21:59:24] local.INFO: Packet analysis {"connection_id":176590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:59:24] local.INFO: Extracted packet for processing {"connection_id":176590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763206400,"raw_latitude":97685240,"longitude_deg":76.32064,"latitude_deg":9.768524,"altitude":11,"angle":89,"satellites":33,"speed":42,"hex_longitude":"2d7d9b00","hex_latitude":"05d28ef8","is_valid_coordinates":true} 
[2026-09-07 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-07 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932418304001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129679244648251392,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9040835539465394176,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788798517000,"timestamp_ms":1788798517000,"timestamp_seconds":1788798517,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb33f08"} 
[2026-09-07 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-07 21:59: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-07 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-07 21:59:24] 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-07 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-07 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-07 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932418304001,"66":12504,"117":206,"85":15104,"24":42,"16":129679244648251392,"45":9040835539465394176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932418304001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129679244648251392,"km_value":129679244648251.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9040835539465394176,"description":"Unknown IO ID 45"} 
[2026-09-07 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932418304001,"power":12504,"unknown_117":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9040835539465394176}} 
[2026-09-07 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:59:24] local.INFO: GPS data processed {"connection_id":176590,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:59:24] local.INFO: Acknowledgment sent {"connection_id":176590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:59:24] local.INFO: TCP Data received {"connection_id":176590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb36230012d7dc00005d290a00009005724..."} 
[2026-09-07 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb36230012d7dc00005d290a00009005724..."} 
[2026-09-07 21:59:24] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb36230012d7dc00005d290a00009005724..."} 
[2026-09-07 21:59:24] local.INFO: Packet analysis {"connection_id":176590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:59:24] local.INFO: Extracted packet for processing {"connection_id":176590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb3"} 
[2026-09-07 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763215872,"raw_latitude":97685664,"longitude_deg":76.3215872,"latitude_deg":9.7685664,"altitude":9,"angle":87,"satellites":36,"speed":43,"hex_longitude":"2d7dc000","hex_latitude":"05d290a0","is_valid_coordinates":true} 
[2026-09-07 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-07 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932420352001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129679695619817472,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050827901138565120,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788798526000,"timestamp_ms":1788798526000,"timestamp_seconds":1788798526,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb36230"} 
[2026-09-07 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-07 21:59: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-07 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-07 21:59: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-07 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-07 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-07 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932420352001,"66":12200,"115":206,"85":15104,"24":43,"16":129679695619817472,"45":9050827901138565120},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-09-07 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932420352001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129679695619817472,"km_value":129679695619817.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050827901138565120,"description":"Unknown IO ID 45"} 
[2026-09-07 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932420352001,"power":12200,"unknown_115":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9050827901138565120}} 
[2026-09-07 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":176590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:59:24] local.INFO: GPS data processed {"connection_id":176590,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:59:24] local.INFO: Acknowledgment sent {"connection_id":176590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:59:26] local.INFO: TCP Data received {"connection_id":174077,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb1e360012d0bea0006ee9000001400aa2b..."} 
[2026-09-07 21:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb1e360012d0bea0006ee9000001400aa2b..."} 
[2026-09-07 21:59:26] local.INFO: Processing buffer {"connection_id":174077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb1e360012d0bea0006ee9000001400aa2b..."} 
[2026-09-07 21:59:26] local.INFO: Packet analysis {"connection_id":174077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:59:26] local.INFO: Extracted packet for processing {"connection_id":174077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb1"} 
[2026-09-07 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":755755520,"raw_latitude":116297728,"longitude_deg":75.575552,"latitude_deg":11.6297728,"altitude":20,"angle":170,"satellites":43,"speed":17,"hex_longitude":"2d0bea00","hex_latitude":"06ee9000","is_valid_coordinates":true} 
[2026-09-07 21:59: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-07 21:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932396544001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402331417935085568,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858006127530938368,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788798428000,"timestamp_ms":1788798428000,"timestamp_seconds":1788798428,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb1e360"} 
[2026-09-07 21:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 21:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 21:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21:59: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-07 21:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 21:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:59: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-07 21:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932396544001,"66":27365,"155":206,"80":6400,"24":17,"16":402331417935085568,"45":858006127530938368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932396544001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:59:26] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:59:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402331417935085568,"km_value":402331417935085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":858006127530938368,"description":"Unknown IO ID 45"} 
[2026-09-07 21:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932396544001,"power":27365,"unknown_155":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":858006127530938368}} 
[2026-09-07 21:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":174077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:59:26] local.INFO: GPS data processed {"connection_id":174077,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:59:26] local.INFO: Acknowledgment sent {"connection_id":174077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:59:49] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:49] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:49] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 21:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 21:59:54] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:54] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 21:59:54] local.INFO: IMEI packet received {"connection_id":173841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 21:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":173841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 21:59:55] local.INFO: TCP Data received {"connection_id":176590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb45848012d7e604005d303200009004624..."} 
[2026-09-07 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb45848012d7e604005d303200009004624..."} 
[2026-09-07 21:59:55] local.INFO: Processing buffer {"connection_id":176590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb45848012d7e604005d303200009004624..."} 
[2026-09-07 21:59:55] local.INFO: Packet analysis {"connection_id":176590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 21:59:55] local.INFO: Extracted packet for processing {"connection_id":176590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763256896,"raw_latitude":97714976,"longitude_deg":76.3256896,"latitude_deg":9.7714976,"altitude":9,"angle":70,"satellites":36,"speed":23,"hex_longitude":"2d7e6040","hex_latitude":"05d30320","is_valid_coordinates":true} 
[2026-09-07 21: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-07 21:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932438528001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129682530298232832,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105715521604710400,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:55] 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-07 21:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788798589000,"timestamp_ms":1788798589000,"timestamp_seconds":1788798589,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb45848"} 
[2026-09-07 21: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-07 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":53,"data_length":795,"current_offset":136} 
[2026-09-07 21:59: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-07 21: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-07 21: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-07 21:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 21:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 21:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 21:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 21:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932438528001,"66":11721,"116":206,"85":15104,"24":23,"16":129682530298232832,"45":9105715521604710400},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 21:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 21:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 21:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932438528001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:59:55] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 21:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 21:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129682530298232832,"km_value":129682530298232.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105715521604710400,"description":"Unknown IO ID 45"} 
[2026-09-07 21:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932438528001,"power":11721,"unknown_116":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9105715521604710400}} 
[2026-09-07 21:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":176590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:59:55] local.INFO: GPS data processed {"connection_id":176590,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:59:55] local.INFO: Acknowledgment sent {"connection_id":176590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 21:59:56] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb20688012d0bee0006ee81f0001500962a..."} 
[2026-09-07 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb20688012d0bee0006ee81f0001500962a..."} 
[2026-09-07 21:59:56] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb20688012d0bee0006ee81f0001500962a..."} 
[2026-09-07 21:59:56] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb2"} 
[2026-09-07 21:59:56] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb2"} 
[2026-09-07 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":755756544,"raw_latitude":116294128,"longitude_deg":75.5756544,"latitude_deg":11.6294128,"altitude":21,"angle":150,"satellites":42,"speed":19,"hex_longitude":"2d0bee00","hex_latitude":"06ee81f0","is_valid_coordinates":true} 
[2026-09-07 21:59: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-07 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932397568001,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402331602618679296,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858498708739719168,"note":"Value kept but may cause issues"} 
[2026-09-07 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788798437000,"timestamp_ms":1788798437000,"timestamp_seconds":1788798437,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb20688"} 
[2026-09-07 21: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-07 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 21:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 21: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-07 21: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-07 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 21:59:56] 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-07 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932397568001,"66":27463,"155":206,"80":6400,"24":19,"16":402331602618679296,"45":858498708739719168},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-09-07 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932397568001,"description":"Unknown IO ID 0"} 
[2026-09-07 21:59:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-09-07 21:59:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402331602618679296,"km_value":402331602618679.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":858498708739719168,"description":"Unknown IO ID 45"} 
[2026-09-07 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932397568001,"power":27463,"unknown_155":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":858498708739719168}} 
[2026-09-07 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 21:59:56] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-07 21:59:56] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:00:05] local.INFO: TCP Data received {"connection_id":173841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb24508012d0bff8006ee6520001500812b..."} 
[2026-09-07 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb24508012d0bff8006ee6520001500812b..."} 
[2026-09-07 22:00:05] local.INFO: Processing buffer {"connection_id":173841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb24508012d0bff8006ee6520001500812b..."} 
[2026-09-07 22:00:05] local.INFO: Packet analysis {"connection_id":173841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb2"} 
[2026-09-07 22:00:05] local.INFO: Extracted packet for processing {"connection_id":173841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb2"} 
[2026-09-07 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":755761024,"raw_latitude":116286752,"longitude_deg":75.5761024,"latitude_deg":11.6286752,"altitude":21,"angle":129,"satellites":43,"speed":19,"hex_longitude":"2d0bff80","hex_latitude":"06ee6520","is_valid_coordinates":true} 
[2026-09-07 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932399872001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402332019230507008,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":859624608645640192,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788798453000,"timestamp_ms":1788798453000,"timestamp_seconds":1788798453,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb24508"} 
[2026-09-07 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":173841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":173841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:05] 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-07 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932399872001,"66":27463,"156":206,"80":6400,"24":19,"16":402332019230507008,"45":859624608645640192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-09-07 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932399872001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-09-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402332019230507008,"km_value":402332019230507.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":859624608645640192,"description":"Unknown IO ID 45"} 
[2026-09-07 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932399872001,"power":27463,"unknown_156":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":859624608645640192}} 
[2026-09-07 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":173841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:00:05] local.INFO: GPS data processed {"connection_id":173841,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:00:05] local.INFO: Acknowledgment sent {"connection_id":173841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:00:10] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:10] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:10] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:00:13] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:13] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:13] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:00:17] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:17] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:00:17] local.INFO: IMEI packet received {"connection_id":174078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":174078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:00:18] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb46400012d7e650005d304c8000a003123..."} 
[2026-09-07 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb46400012d7e650005d304c8000a003123..."} 
[2026-09-07 22:00:18] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb46400012d7e650005d304c8000a003123..."} 
[2026-09-07 22:00:18] local.INFO: Packet analysis {"connection_id":174078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:18] local.INFO: Extracted packet for processing {"connection_id":174078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763258112,"raw_latitude":97715400,"longitude_deg":76.3258112,"latitude_deg":9.77154,"altitude":10,"angle":49,"satellites":35,"speed":11,"hex_longitude":"2d7e6500","hex_latitude":"05d304c8","is_valid_coordinates":true} 
[2026-09-07 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-07 22:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932438784001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129682594722742272,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106348840302354432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:18] 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-07 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788798592000,"timestamp_ms":1788798592000,"timestamp_seconds":1788798592,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb46400"} 
[2026-09-07 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-07 22:00: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-07 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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-09-07 22:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932438784001,"66":11569,"116":206,"85":15104,"24":11,"16":129682594722742272,"45":9106348840302354432},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 22:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932438784001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:00:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 22:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129682594722742272,"km_value":129682594722742.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106348840302354432,"description":"Unknown IO ID 45"} 
[2026-09-07 22:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932438784001,"power":11569,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9106348840302354432}} 
[2026-09-07 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":174078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:00:18] local.INFO: GPS data processed {"connection_id":174078,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:00:18] local.INFO: Acknowledgment sent {"connection_id":174078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:00:44] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:44] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:44] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:00:46] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:46] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:00:46] local.INFO: IMEI packet received {"connection_id":176591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":176591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:00:47] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb43138012d0c694006ed9d78000e00ad29..."} 
[2026-09-07 22:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb43138012d0c694006ed9d78000e00ad29..."} 
[2026-09-07 22:00:47] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb43138012d0c694006ed9d78000e00ad29..."} 
[2026-09-07 22:00:47] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:47] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":755788096,"raw_latitude":116235640,"longitude_deg":75.5788096,"latitude_deg":11.623564,"altitude":14,"angle":173,"satellites":41,"speed":24,"hex_longitude":"2d0c6940","hex_latitude":"06ed9d78","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932432128001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402334875383758848,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892346074675650560,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788798579000,"timestamp_ms":1788798579000,"timestamp_seconds":1788798579,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb43138"} 
[2026-09-07 22: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-07 22:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:47] 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-07 22:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932432128001,"66":27343,"240":206,"80":6400,"24":24,"16":402334875383758848,"45":892346074675650560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932432128001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:00:47] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:00:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402334875383758848,"km_value":402334875383758.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":892346074675650560,"description":"Unknown IO ID 45"} 
[2026-09-07 22:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932432128001,"power":27343,"unknown_240":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":892346074675650560}} 
[2026-09-07 22:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:00:47] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:00:47] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:00:49] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb46bd0012d0c6a0006ed78d0000d00b728..."} 
[2026-09-07 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb46bd0012d0c6a0006ed78d0000d00b728..."} 
[2026-09-07 22:00:49] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb46bd0012d0c6a0006ed78d0000d00b728..."} 
[2026-09-07 22:00:49] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:49] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":755788288,"raw_latitude":116226256,"longitude_deg":75.5788288,"latitude_deg":11.6226256,"altitude":13,"angle":183,"satellites":40,"speed":26,"hex_longitude":"2d0c6a00","hex_latitude":"06ed78d0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932436224001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402335330650292224,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894316399510255616,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798594000,"timestamp_ms":1788798594000,"timestamp_seconds":1788798594,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb46bd0"} 
[2026-09-07 22: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-07 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:00:49] 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-07 22:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932436224001,"66":27484,"240":206,"80":6400,"24":26,"16":402335330650292224,"45":894316399510255616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932436224001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:00:49] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:00:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402335330650292224,"km_value":402335330650292.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":894316399510255616,"description":"Unknown IO ID 45"} 
[2026-09-07 22:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932436224001,"power":27484,"unknown_240":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":894316399510255616}} 
[2026-09-07 22:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:00:49] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:00:49] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:00:50] local.INFO: TCP Data received {"connection_id":174078,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb467e8012d7e658005d30590000b001123..."} 
[2026-09-07 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb467e8012d7e658005d30590000b001123..."} 
[2026-09-07 22:00:50] local.INFO: Processing buffer {"connection_id":174078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb467e8012d7e658005d30590000b001123..."} 
[2026-09-07 22:00:50] local.INFO: Packet analysis {"connection_id":174078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:50] local.INFO: Extracted packet for processing {"connection_id":174078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:00:50] local.INFO: GPS Element Parsed {"raw_longitude":763258240,"raw_latitude":97715600,"longitude_deg":76.325824,"latitude_deg":9.77156,"altitude":11,"angle":17,"satellites":35,"speed":10,"hex_longitude":"2d7e6580","hex_latitude":"05d30590","is_valid_coordinates":true} 
[2026-09-07 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-07 22:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932439552001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129682603312676864,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107685846441838592,"note":"Value kept but may cause issues"} 
[2026-09-07 22:00:50] 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-07 22:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798593000,"timestamp_ms":1788798593000,"timestamp_seconds":1788798593,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb467e8"} 
[2026-09-07 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-07 22:00: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-07 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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-07 22:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932439552001,"66":11678,"116":206,"85":15104,"24":10,"16":129682603312676864,"45":9107685846441838592},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-09-07 22:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932439552001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:00:50] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-09-07 22:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129682603312676864,"km_value":129682603312676.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107685846441838592,"description":"Unknown IO ID 45"} 
[2026-09-07 22:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932439552001,"power":11678,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9107685846441838592}} 
[2026-09-07 22:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":174078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:00:50] local.INFO: GPS data processed {"connection_id":174078,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:00:50] local.INFO: Acknowledgment sent {"connection_id":174078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:01:12] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:12] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:12] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:01:18] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:18] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:01:18] local.INFO: IMEI packet received {"connection_id":175175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":175175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:01:19] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb55630012d7e30c005d355b0000800b723..."} 
[2026-09-07 22:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb55630012d7e30c005d355b0000800b723..."} 
[2026-09-07 22:01:19] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb55630012d7e30c005d355b0000800b723..."} 
[2026-09-07 22:01:19] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:01:19] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736112,"longitude_deg":76.3244736,"latitude_deg":9.7736112,"altitude":8,"angle":183,"satellites":35,"speed":8,"hex_longitude":"2d7e30c0","hex_latitude":"05d355b0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932455168001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684149500903424,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658229760,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:19] 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-07 22:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798654000,"timestamp_ms":1788798654000,"timestamp_seconds":1788798654,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb55630"} 
[2026-09-07 22: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-07 22:01: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-07 22: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 22:01:19] 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-07 22: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-07 22: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-07 22:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932455168001,"66":12319,"109":206,"85":15104,"24":8,"16":129684149500903424,"45":9093049147658229760},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932455168001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:01:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684149500903424,"km_value":129684149500903.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658229760,"description":"Unknown IO ID 45"} 
[2026-09-07 22:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932455168001,"power":12319,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9093049147658229760}} 
[2026-09-07 22:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:01:19] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:01:19] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:01:20] local.INFO: TCP Data received {"connection_id":176591,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb4a280012d0c658006ed5490000d00bc2b..."} 
[2026-09-07 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb4a280012d0c658006ed5490000d00bc2b..."} 
[2026-09-07 22:01:20] local.INFO: Processing buffer {"connection_id":176591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb4a280012d0c658006ed5490000d00bc2b..."} 
[2026-09-07 22:01:20] local.INFO: Packet analysis {"connection_id":176591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:01:20] local.INFO: Extracted packet for processing {"connection_id":176591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":755787136,"raw_latitude":116216976,"longitude_deg":75.5787136,"latitude_deg":11.6216976,"altitude":13,"angle":188,"satellites":43,"speed":25,"hex_longitude":"2d0c6580","hex_latitude":"06ed5490","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932440064001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402335785916825600,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894527505740386304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788798608000,"timestamp_ms":1788798608000,"timestamp_seconds":1788798608,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb4a280"} 
[2026-09-07 22: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-07 22:01: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-07 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-07 22:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932440064001,"66":27104,"240":206,"80":6400,"24":25,"16":402335785916825600,"45":894527505740386304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932440064001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:01:20] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:01:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402335785916825600,"km_value":402335785916825.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":894527505740386304,"description":"Unknown IO ID 45"} 
[2026-09-07 22:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932440064001,"power":27104,"unknown_240":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":894527505740386304}} 
[2026-09-07 22:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":176591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:01:20] local.INFO: GPS data processed {"connection_id":176591,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:01:20] local.INFO: Acknowledgment sent {"connection_id":176591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:01:44] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:44] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:44] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:01:49] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:49] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:01:49] local.INFO: IMEI packet received {"connection_id":176593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":176593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:01:49] local.INFO: TCP Data received {"connection_id":175175,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb55a18012d7e310005d354e8000800a923..."} 
[2026-09-07 22:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb55a18012d7e310005d354e8000800a923..."} 
[2026-09-07 22:01:49] local.INFO: Processing buffer {"connection_id":175175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb55a18012d7e310005d354e8000800a923..."} 
[2026-09-07 22:01:49] local.INFO: Packet analysis {"connection_id":175175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:01:49] local.INFO: Extracted packet for processing {"connection_id":175175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:01:49] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97735912,"longitude_deg":76.32448,"latitude_deg":9.7735912,"altitude":8,"angle":169,"satellites":35,"speed":8,"hex_longitude":"2d7e3100","hex_latitude":"05d354e8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932455424001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684158090838016,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914009088,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798655000,"timestamp_ms":1788798655000,"timestamp_seconds":1788798655,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb55a18"} 
[2026-09-07 22: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-07 22:01: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-07 22: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-07 22:01:49] 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-07 22: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-07 22: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-07 22:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932455424001,"66":11852,"109":206,"85":15104,"24":8,"16":129684158090838016,"45":9092978778914009088},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932455424001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:01:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684158090838016,"km_value":129684158090838.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914009088,"description":"Unknown IO ID 45"} 
[2026-09-07 22:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932455424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092978778914009088}} 
[2026-09-07 22:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":175175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:01:49] local.INFO: GPS data processed {"connection_id":175175,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:01:49] local.INFO: Acknowledgment sent {"connection_id":175175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:01:50] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb4d930012d0c608006ed3190000c00ba2a..."} 
[2026-09-07 22:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb4d930012d0c608006ed3190000c00ba2a..."} 
[2026-09-07 22:01:50] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb4d930012d0c608006ed3190000c00ba2a..."} 
[2026-09-07 22:01:50] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:01:50] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb4"} 
[2026-09-07 22:01:50] local.INFO: GPS Element Parsed {"raw_longitude":755785856,"raw_latitude":116208016,"longitude_deg":75.5785856,"latitude_deg":11.6208016,"altitude":12,"angle":186,"satellites":42,"speed":25,"hex_longitude":"2d0c6080","hex_latitude":"06ed3190","is_valid_coordinates":true} 
[2026-09-07 22:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932443648001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402336224003489792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893260868342812672,"note":"Value kept but may cause issues"} 
[2026-09-07 22:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798622000,"timestamp_ms":1788798622000,"timestamp_seconds":1788798622,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb4d930"} 
[2026-09-07 22:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 22:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:01:50] 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-07 22:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932443648001,"66":27376,"240":206,"80":6400,"24":25,"16":402336224003489792,"45":893260868342812672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932443648001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:01:50] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:01:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402336224003489792,"km_value":402336224003489.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":893260868342812672,"description":"Unknown IO ID 45"} 
[2026-09-07 22:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932443648001,"power":27376,"unknown_240":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":893260868342812672}} 
[2026-09-07 22:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:01:50] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:01:50] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:02:13] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:13] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:13] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:02:18] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:18] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:02:18] local.INFO: IMEI packet received {"connection_id":174079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":174079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:02:19] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb55e00012d7e310005d354180007009a23..."} 
[2026-09-07 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb55e00012d7e310005d354180007009a23..."} 
[2026-09-07 22:02:19] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb55e00012d7e310005d354180007009a23..."} 
[2026-09-07 22:02:19] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:19] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:19] local.INFO: GPS Element Parsed {"raw_longitude":763244800,"raw_latitude":97735704,"longitude_deg":76.32448,"latitude_deg":9.7735704,"altitude":7,"angle":154,"satellites":35,"speed":9,"hex_longitude":"2d7e3100","hex_latitude":"05d35418","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932455680001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684166680772608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658135552,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:19] 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-07 22:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798656000,"timestamp_ms":1788798656000,"timestamp_seconds":1788798656,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb55e00"} 
[2026-09-07 22: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-07 22:02: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-07 22: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 22:02:19] 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-07 22: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-07 22: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-07 22:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932455680001,"66":11852,"109":206,"85":15104,"24":9,"16":129684166680772608,"45":9093049147658135552},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932455680001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:02:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684166680772608,"km_value":129684166680772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658135552,"description":"Unknown IO ID 45"} 
[2026-09-07 22:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932455680001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9093049147658135552}} 
[2026-09-07 22:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:02:19] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:02:19] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:02:21] local.INFO: TCP Data received {"connection_id":176593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb52368012d0c5b0006ed0e88000d00bc29..."} 
[2026-09-07 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb52368012d0c5b0006ed0e88000d00bc29..."} 
[2026-09-07 22:02:21] local.INFO: Processing buffer {"connection_id":176593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb52368012d0c5b0006ed0e88000d00bc29..."} 
[2026-09-07 22:02:21] local.INFO: Packet analysis {"connection_id":176593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:21] local.INFO: Extracted packet for processing {"connection_id":176593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":755784448,"raw_latitude":116199048,"longitude_deg":75.5784448,"latitude_deg":11.6199048,"altitude":13,"angle":188,"satellites":41,"speed":15,"hex_longitude":"2d0c5b00","hex_latitude":"06ed0e88","is_valid_coordinates":true} 
[2026-09-07 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932447232001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402336666385121280,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891853493456965632,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798641000,"timestamp_ms":1788798641000,"timestamp_seconds":1788798641,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb52368"} 
[2026-09-07 22:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:02: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-07 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932447232001,"66":27343,"240":206,"80":6400,"24":15,"16":402336666385121280,"45":891853493456965632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932447232001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:02:21] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:02:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402336666385121280,"km_value":402336666385121.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":891853493456965632,"description":"Unknown IO ID 45"} 
[2026-09-07 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932447232001,"power":27343,"unknown_240":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":891853493456965632}} 
[2026-09-07 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":176593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:02:21] local.INFO: GPS data processed {"connection_id":176593,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:02:21] local.INFO: Acknowledgment sent {"connection_id":176593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:02:44] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:44] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:44] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:02:48] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:48] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:02:48] local.INFO: IMEI packet received {"connection_id":176595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":176595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:02:49] local.INFO: TCP Data received {"connection_id":174079,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb57570012d7e34c005d34ec00005008423..."} 
[2026-09-07 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb57570012d7e34c005d34ec00005008423..."} 
[2026-09-07 22:02:49] local.INFO: Processing buffer {"connection_id":174079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb57570012d7e34c005d34ec00005008423..."} 
[2026-09-07 22:02:49] local.INFO: Packet analysis {"connection_id":174079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:49] local.INFO: Extracted packet for processing {"connection_id":174079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734336,"longitude_deg":76.324576,"latitude_deg":9.7734336,"altitude":5,"angle":132,"satellites":35,"speed":10,"hex_longitude":"2d7e34c0","hex_latitude":"05d34ec0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932455936001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684248285151232,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093049147658082304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798662000,"timestamp_ms":1788798662000,"timestamp_seconds":1788798662,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb57570"} 
[2026-09-07 22: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-07 22:02: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-07 22: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-09-07 22:02:49] 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-07 22: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-07 22: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-07 22:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932455936001,"66":12363,"109":206,"85":15104,"24":10,"16":129684248285151232,"45":9093049147658082304},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932455936001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684248285151232,"km_value":129684248285151.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093049147658082304,"description":"Unknown IO ID 45"} 
[2026-09-07 22:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932455936001,"power":12363,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9093049147658082304}} 
[2026-09-07 22:02:49] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb53ad8012d0c59c006ed06e0000d00ca29..."} 
[2026-09-07 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb53ad8012d0c59c006ed06e0000d00ca29..."} 
[2026-09-07 22:02:49] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb53ad8012d0c59c006ed06e0000d00ca29..."} 
[2026-09-07 22:02:49] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:49] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":755784128,"raw_latitude":116197088,"longitude_deg":75.5784128,"latitude_deg":11.6197088,"altitude":13,"angle":202,"satellites":41,"speed":12,"hex_longitude":"2d0c59c0","hex_latitude":"06ed06e0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932452096001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402336760874401792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890305381082761216,"note":"Value kept but may cause issues"} 
[2026-09-07 22:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798647000,"timestamp_ms":1788798647000,"timestamp_seconds":1788798647,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb53ad8"} 
[2026-09-07 22: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-07 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:02:49] 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-07 22:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932452096001,"66":27300,"240":206,"80":6400,"24":12,"16":402336760874401792,"45":890305381082761216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932452096001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402336760874401792,"km_value":402336760874401.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":890305381082761216,"description":"Unknown IO ID 45"} 
[2026-09-07 22:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932452096001,"power":27300,"unknown_240":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":890305381082761216}} 
[2026-09-07 22:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:02:49] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:02:49] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":174079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:02:49] local.INFO: GPS data processed {"connection_id":174079,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:02:49] local.INFO: Acknowledgment sent {"connection_id":174079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:03:13] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:03:13] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:13] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:03:18] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:18] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:03:18] local.INFO: IMEI packet received {"connection_id":174081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":174081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:03:19] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb57958012d7e358005d34e300005007422..."} 
[2026-09-07 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb57958012d7e358005d34e300005007422..."} 
[2026-09-07 22:03:19] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb57958012d7e358005d34e300005007422..."} 
[2026-09-07 22:03:19] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:19] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734192,"longitude_deg":76.3245952,"latitude_deg":9.7734192,"altitude":5,"angle":116,"satellites":34,"speed":10,"hex_longitude":"2d7e3580","hex_latitude":"05d34e30","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932457472001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684261170053120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820397056,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:19] 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-07 22:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798663000,"timestamp_ms":1788798663000,"timestamp_seconds":1788798663,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb57958"} 
[2026-09-07 22: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-07 22:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-07 22:03:19] 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-07 22: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-07 22: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-07 22:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932457472001,"66":12232,"109":206,"85":15104,"24":10,"16":129684261170053120,"45":9094104678820397056},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932457472001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:03:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684261170053120,"km_value":129684261170053.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820397056,"description":"Unknown IO ID 45"} 
[2026-09-07 22:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932457472001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094104678820397056}} 
[2026-09-07 22:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:03:19] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:03:19] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:03:20] local.INFO: TCP Data received {"connection_id":176595,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb53ec0012d0c594006ed05d8000d00d929..."} 
[2026-09-07 22:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb53ec0012d0c594006ed05d8000d00d929..."} 
[2026-09-07 22:03:20] local.INFO: Processing buffer {"connection_id":176595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb53ec0012d0c594006ed05d8000d00d929..."} 
[2026-09-07 22:03:20] local.INFO: Packet analysis {"connection_id":176595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:20] local.INFO: Extracted packet for processing {"connection_id":176595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755784000,"raw_latitude":116196824,"longitude_deg":75.5784,"latitude_deg":11.6196824,"altitude":13,"angle":217,"satellites":41,"speed":12,"hex_longitude":"2d0c5940","hex_latitude":"06ed05d8","is_valid_coordinates":true} 
[2026-09-07 22:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932453632001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402336778054270976,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889953537361371136,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788798648000,"timestamp_ms":1788798648000,"timestamp_seconds":1788798648,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb53ec0"} 
[2026-09-07 22:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:03: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-07 22:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932453632001,"66":27300,"240":206,"80":6400,"24":12,"16":402336778054270976,"45":889953537361371136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932453632001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:03:20] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:03:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402336778054270976,"km_value":402336778054271.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":889953537361371136,"description":"Unknown IO ID 45"} 
[2026-09-07 22:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932453632001,"power":27300,"unknown_240":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":889953537361371136}} 
[2026-09-07 22:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":176595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:03:20] local.INFO: GPS data processed {"connection_id":176595,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:03:20] local.INFO: Acknowledgment sent {"connection_id":176595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:03:44] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:44] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:44] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:03:45] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:45] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:45] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:03:49] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:49] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:03:49] local.INFO: IMEI packet received {"connection_id":176596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":176596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:03:50] local.INFO: TCP Data received {"connection_id":174081,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb57d40012d7e364005d34de80005006722..."} 
[2026-09-07 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb57d40012d7e364005d34de80005006722..."} 
[2026-09-07 22:03:50] local.INFO: Processing buffer {"connection_id":174081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb57d40012d7e364005d34de80005006722..."} 
[2026-09-07 22:03:50] local.INFO: Packet analysis {"connection_id":174081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:50] local.INFO: Extracted packet for processing {"connection_id":174081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:03:50] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734120,"longitude_deg":76.3246144,"latitude_deg":9.773412,"altitude":5,"angle":103,"satellites":34,"speed":10,"hex_longitude":"2d7e3640","hex_latitude":"05d34de8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932457728001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684274054955008,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052893184,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798664000,"timestamp_ms":1788798664000,"timestamp_seconds":1788798664,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb57d40"} 
[2026-09-07 22: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-07 22:03: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-07 22:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 22:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932457728001,"66":12232,"109":206,"85":15104,"24":10,"16":129684274054955008,"45":9094315785052893184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932457728001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:03:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684274054955008,"km_value":129684274054955.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052893184,"description":"Unknown IO ID 45"} 
[2026-09-07 22:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932457728001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094315785052893184}} 
[2026-09-07 22:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":174081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:03:50] local.INFO: GPS data processed {"connection_id":174081,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:03:50] local.INFO: Acknowledgment sent {"connection_id":174081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:03:51] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb703e0012d0c464006ec6be0001600b82a..."} 
[2026-09-07 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb703e0012d0c464006ec6be0001600b82a..."} 
[2026-09-07 22:03:51] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb703e0012d0c464006ec6be0001600b82a..."} 
[2026-09-07 22:03:51] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:03:51] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755779136,"raw_latitude":116157408,"longitude_deg":75.5779136,"latitude_deg":11.6157408,"altitude":22,"angle":184,"satellites":42,"speed":14,"hex_longitude":"2d0c4640","hex_latitude":"06ec6be0","is_valid_coordinates":true} 
[2026-09-07 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932478208001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402338758034194432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885027725260445696,"note":"Value kept but may cause issues"} 
[2026-09-07 22:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788798764000,"timestamp_ms":1788798764000,"timestamp_seconds":1788798764,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb703e0"} 
[2026-09-07 22:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:03: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-07 22:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:03: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-07 22:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932478208001,"66":27343,"241":206,"80":6400,"24":14,"16":402338758034194432,"45":885027725260445696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 22:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932478208001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:03:51] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 22:03:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402338758034194432,"km_value":402338758034194.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":885027725260445696,"description":"Unknown IO ID 45"} 
[2026-09-07 22:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932478208001,"power":27343,"unknown_241":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":885027725260445696}} 
[2026-09-07 22:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:03:51] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:03:51] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:04:06] local.INFO: TCP Data received {"connection_id":176597,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:04:06] local.INFO: Processing buffer {"connection_id":176597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:04:06] local.INFO: IMEI packet received {"connection_id":176597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":176597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:04:13] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:13] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:13] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:04:16] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:16] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:16] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:04:17] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:17] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:04:17] local.INFO: IMEI packet received {"connection_id":176598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":176598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:04:18] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb58128012d7e378005d34dd00005005a23..."} 
[2026-09-07 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb58128012d7e378005d34dd00005005a23..."} 
[2026-09-07 22:04:18] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb58128012d7e378005d34dd00005005a23..."} 
[2026-09-07 22:04:18] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:04:18] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734096,"longitude_deg":76.3246464,"latitude_deg":9.7734096,"altitude":5,"angle":90,"satellites":35,"speed":9,"hex_longitude":"2d7e3780","hex_latitude":"05d34dd0","is_valid_coordinates":true} 
[2026-09-07 22:04: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-07 22:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932457984001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684286939856896,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285407744,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788798665000,"timestamp_ms":1788798665000,"timestamp_seconds":1788798665,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb58128"} 
[2026-09-07 22:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:04: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-07 22:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:04: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-07 22:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932457984001,"66":11950,"109":206,"85":15104,"24":9,"16":129684286939856896,"45":9094526891285407744},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932457984001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:04:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684286939856896,"km_value":129684286939856.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285407744,"description":"Unknown IO ID 45"} 
[2026-09-07 22:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932457984001,"power":11950,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094526891285407744}} 
[2026-09-07 22:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:04:18] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:04:18] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:04:23] local.INFO: TCP Data received {"connection_id":176596,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb71380012d0c468006ec6630001700ad2a..."} 
[2026-09-07 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb71380012d0c468006ec6630001700ad2a..."} 
[2026-09-07 22:04:23] local.INFO: Processing buffer {"connection_id":176596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb71380012d0c468006ec6630001700ad2a..."} 
[2026-09-07 22:04:23] local.INFO: Packet analysis {"connection_id":176596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:04:23] local.INFO: Extracted packet for processing {"connection_id":176596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116155952,"longitude_deg":75.57792,"latitude_deg":11.6155952,"altitude":23,"angle":173,"satellites":42,"speed":14,"hex_longitude":"2d0c4680","hex_latitude":"06ec6630","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932483584001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402338826753671168,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884464775305355264,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788798768000,"timestamp_ms":1788798768000,"timestamp_seconds":1788798768,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb71380"} 
[2026-09-07 22: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-07 22:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:04: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-07 22:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932483584001,"66":27300,"241":206,"80":6400,"24":14,"16":402338826753671168,"45":884464775305355264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 22:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932483584001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:04:23] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 22:04:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402338826753671168,"km_value":402338826753671.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":884464775305355264,"description":"Unknown IO ID 45"} 
[2026-09-07 22:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932483584001,"power":27300,"unknown_241":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":884464775305355264}} 
[2026-09-07 22:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":176596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:04:23] local.INFO: GPS data processed {"connection_id":176596,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:04:23] local.INFO: Acknowledgment sent {"connection_id":176596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:04:44] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:44] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:44] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:04:49] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:49] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:04:49] local.INFO: IMEI packet received {"connection_id":175176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":175176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:04:49] local.INFO: TCP Data received {"connection_id":176598,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb58510012d7e388005d34df80004004c23..."} 
[2026-09-07 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb58510012d7e388005d34df80004004c23..."} 
[2026-09-07 22:04:49] local.INFO: Processing buffer {"connection_id":176598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb58510012d7e388005d34df80004004c23..."} 
[2026-09-07 22:04:49] local.INFO: Packet analysis {"connection_id":176598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:04:49] local.INFO: Extracted packet for processing {"connection_id":176598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97734136,"longitude_deg":76.324672,"latitude_deg":9.7734136,"altitude":4,"angle":76,"satellites":35,"speed":9,"hex_longitude":"2d7e3880","hex_latitude":"05d34df8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932458240001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684299824758784,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006289920,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798666000,"timestamp_ms":1788798666000,"timestamp_seconds":1788798666,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb58510"} 
[2026-09-07 22: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-07 22:04: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-07 22: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932458240001,"66":11950,"109":206,"85":15104,"24":9,"16":129684299824758784,"45":9094878735006289920},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932458240001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:04:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684299824758784,"km_value":129684299824758.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006289920,"description":"Unknown IO ID 45"} 
[2026-09-07 22:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932458240001,"power":11950,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9094878735006289920}} 
[2026-09-07 22:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":176598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:04:49] local.INFO: GPS data processed {"connection_id":176598,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:04:49] local.INFO: Acknowledgment sent {"connection_id":176598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:04:50] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb74648012d0c4b8006ec5120001800a02b..."} 
[2026-09-07 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb74648012d0c4b8006ec5120001800a02b..."} 
[2026-09-07 22:04:50] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb74648012d0c4b8006ec5120001800a02b..."} 
[2026-09-07 22:04:50] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:04:50] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":116150560,"longitude_deg":75.578048,"latitude_deg":11.615056,"altitude":24,"angle":160,"satellites":43,"speed":15,"hex_longitude":"2d0c4b80","hex_latitude":"06ec5120","is_valid_coordinates":true} 
[2026-09-07 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932484608001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402339097336610816,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144049160192,"note":"Value kept but may cause issues"} 
[2026-09-07 22:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798781000,"timestamp_ms":1788798781000,"timestamp_seconds":1788798781,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb74648"} 
[2026-09-07 22:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:04:50] 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-07 22:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932484608001,"66":27463,"241":206,"80":6400,"24":15,"16":402339097336610816,"45":884535144049160192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 22:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932484608001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:04:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 22:04:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402339097336610816,"km_value":402339097336610.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144049160192,"description":"Unknown IO ID 45"} 
[2026-09-07 22:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932484608001,"power":27463,"unknown_241":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":884535144049160192}} 
[2026-09-07 22:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:04:50] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:04:50] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:05:12] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:12] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:12] local.INFO: IMEI packet received {"connection_id":174082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":174082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:05:18] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:18] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:05:18] local.INFO: IMEI packet received {"connection_id":174082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":174082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:05:19] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb5d330012d7e364005d34ef80005004623..."} 
[2026-09-07 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb5d330012d7e364005d34ef80005004623..."} 
[2026-09-07 22:05:19] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb5d330012d7e364005d34ef80005004623..."} 
[2026-09-07 22:05:19] local.INFO: Packet analysis {"connection_id":174082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:05:19] local.INFO: Extracted packet for processing {"connection_id":174082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb5"} 
[2026-09-07 22:05:19] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734392,"longitude_deg":76.3246144,"latitude_deg":9.7734392,"altitude":5,"angle":70,"satellites":35,"speed":0,"hex_longitude":"2d7e3640","hex_latitude":"05d34ef8","is_valid_coordinates":true} 
[2026-09-07 22:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932458496001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684368544235520,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209983010816,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:19] 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-07 22:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798686000,"timestamp_ms":1788798686000,"timestamp_seconds":1788798686,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb5d330"} 
[2026-09-07 22:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:05: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-07 22:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932458496001,"66":11624,"109":206,"85":15104,"24":0,"16":129684368544235520,"45":9095160209983010816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932458496001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:05:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684368544235520,"km_value":129684368544235.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209983010816,"description":"Unknown IO ID 45"} 
[2026-09-07 22:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932458496001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209983010816}} 
[2026-09-07 22:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":174082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:05:19] local.INFO: GPS data processed {"connection_id":174082,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:05:19] local.INFO: Acknowledgment sent {"connection_id":174082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:05:21] local.INFO: TCP Data received {"connection_id":175176,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb75db8012d0c500006ec4828001a00952b..."} 
[2026-09-07 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb75db8012d0c500006ec4828001a00952b..."} 
[2026-09-07 22:05:21] local.INFO: Processing buffer {"connection_id":175176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb75db8012d0c500006ec4828001a00952b..."} 
[2026-09-07 22:05:21] local.INFO: Packet analysis {"connection_id":175176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:05:21] local.INFO: Extracted packet for processing {"connection_id":175176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":755781632,"raw_latitude":116148264,"longitude_deg":75.5781632,"latitude_deg":11.6148264,"altitude":26,"angle":149,"satellites":43,"speed":17,"hex_longitude":"2d0c5000","hex_latitude":"06ec4828","is_valid_coordinates":true} 
[2026-09-07 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932487936001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402339221890662400,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942518931333120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798787000,"timestamp_ms":1788798787000,"timestamp_seconds":1788798787,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb75db8"} 
[2026-09-07 22:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 22:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:05: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-07 22:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932487936001,"66":27267,"241":206,"80":6400,"24":17,"16":402339221890662400,"45":885942518931333120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 22:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932487936001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:05:21] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 22:05:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402339221890662400,"km_value":402339221890662.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942518931333120,"description":"Unknown IO ID 45"} 
[2026-09-07 22:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932487936001,"power":27267,"unknown_241":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":885942518931333120}} 
[2026-09-07 22:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":175176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:05:21] local.INFO: GPS data processed {"connection_id":175176,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:05:21] local.INFO: Acknowledgment sent {"connection_id":175176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:05:43] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:43] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:43] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:05:49] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:49] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:05:49] local.INFO: IMEI packet received {"connection_id":175178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":175178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:05:49] local.INFO: TCP Data received {"connection_id":174082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb62538012d7e360005d34e180005004624..."} 
[2026-09-07 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb62538012d7e360005d34e180005004624..."} 
[2026-09-07 22:05:49] local.INFO: Processing buffer {"connection_id":174082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb62538012d7e360005d34e180005004624..."} 
[2026-09-07 22:05:49] local.INFO: Packet analysis {"connection_id":174082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb6"} 
[2026-09-07 22:05:49] local.INFO: Extracted packet for processing {"connection_id":174082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb6"} 
[2026-09-07 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734168,"longitude_deg":76.324608,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":36,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932463616001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285477376,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798707000,"timestamp_ms":1788798707000,"timestamp_seconds":1788798707,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb62538"} 
[2026-09-07 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-07 22:05: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-07 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 22:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932463616001,"66":11917,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094526891285477376},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932463616001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:05:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285477376,"description":"Unknown IO ID 45"} 
[2026-09-07 22:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932463616001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285477376}} 
[2026-09-07 22:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":174082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:05:49] local.INFO: GPS data processed {"connection_id":174082,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:05:49] local.INFO: Acknowledgment sent {"connection_id":174082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:05:50] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb7abd8012d0c5c4006ec2d90001a00a02b..."} 
[2026-09-07 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb7abd8012d0c5c4006ec2d90001a00a02b..."} 
[2026-09-07 22:05:50] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb7abd8012d0c5c4006ec2d90001a00a02b..."} 
[2026-09-07 22:05:50] local.INFO: Packet analysis {"connection_id":175178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:05:50] local.INFO: Extracted packet for processing {"connection_id":175178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:05:50] local.INFO: GPS Element Parsed {"raw_longitude":755784768,"raw_latitude":116141456,"longitude_deg":75.5784768,"latitude_deg":11.6141456,"altitude":26,"angle":160,"satellites":43,"speed":14,"hex_longitude":"2d0c5c40","hex_latitude":"06ec2d90","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932489472001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402339586962882560,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156325943296,"note":"Value kept but may cause issues"} 
[2026-09-07 22:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798807000,"timestamp_ms":1788798807000,"timestamp_seconds":1788798807,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb7abd8"} 
[2026-09-07 22: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-07 22:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:05:50] 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-07 22:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932489472001,"66":27365,"241":206,"80":6400,"24":14,"16":402339586962882560,"45":887209156325943296},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-09-07 22:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932489472001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:05:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-09-07 22:05:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402339586962882560,"km_value":402339586962882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156325943296,"description":"Unknown IO ID 45"} 
[2026-09-07 22:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932489472001,"power":27365,"unknown_241":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":887209156325943296}} 
[2026-09-07 22:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":175178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:05:50] local.INFO: GPS data processed {"connection_id":175178,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:05:50] local.INFO: Acknowledgment sent {"connection_id":175178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:06:18] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:18] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:18] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:06:21] local.INFO: TCP Data received {"connection_id":175178,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb7f610012d0c65c006ec0a20001600a92b..."} 
[2026-09-07 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb7f610012d0c65c006ec0a20001600a92b..."} 
[2026-09-07 22:06:21] local.INFO: Processing buffer {"connection_id":175178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb7f610012d0c65c006ec0a20001600a92b..."} 
[2026-09-07 22:06:21] local.INFO: Packet analysis {"connection_id":175178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:06:21] local.INFO: Extracted packet for processing {"connection_id":175178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb7"} 
[2026-09-07 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755787200,"raw_latitude":116132384,"longitude_deg":75.57872,"latitude_deg":11.6132384,"altitude":22,"angle":169,"satellites":43,"speed":25,"hex_longitude":"2d0c65c0","hex_latitude":"06ec0a20","is_valid_coordinates":true} 
[2026-09-07 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932494592001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402340042229415936,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890657224788905984,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798826000,"timestamp_ms":1788798826000,"timestamp_seconds":1788798826,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb7f610"} 
[2026-09-07 22:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22: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-07 22:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932494592001,"66":27321,"238":206,"80":6400,"24":25,"16":402340042229415936,"45":890657224788905984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-09-07 22:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932494592001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402340042229415936,"km_value":402340042229415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":890657224788905984,"description":"Unknown IO ID 45"} 
[2026-09-07 22:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932494592001,"power":27321,"unknown_238":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":890657224788905984}} 
[2026-09-07 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":175178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:06:21] local.INFO: GPS data processed {"connection_id":175178,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:06:21] local.INFO: Acknowledgment sent {"connection_id":175178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:06:23] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:23] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:06:23] local.INFO: IMEI packet received {"connection_id":175180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":175180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:06:24] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9ab90012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9ab90012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:24] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9ab90012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:24] local.INFO: Packet analysis {"connection_id":175180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:24] local.INFO: Extracted packet for processing {"connection_id":175180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734168,"longitude_deg":76.324608,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":34,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932522752001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541242368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788798938000,"timestamp_ms":1788798938000,"timestamp_seconds":1788798938,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9ab90"} 
[2026-09-07 22: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-07 22:06: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-07 22: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-07 22:06: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-07 22: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-07 22: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-07 22:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":175180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932522752001,"66":13678,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094456522541242368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932522752001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:06:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541242368,"description":"Unknown IO ID 45"} 
[2026-09-07 22:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932522752001,"power":13678,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541242368}} 
[2026-09-07 22:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":175180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:06:24] local.INFO: GPS data processed {"connection_id":175180,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:06:24] local.INFO: Acknowledgment sent {"connection_id":175180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:06:28] local.INFO: TCP Data received {"connection_id":175180,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:28] local.INFO: Processing buffer {"connection_id":175180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:06:28] local.INFO: Packet analysis {"connection_id":175180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:28] local.INFO: Extracted packet for processing {"connection_id":175180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734168,"longitude_deg":76.324608,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":34,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-07 22:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932528128001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541242368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788798949000,"timestamp_ms":1788798949000,"timestamp_seconds":1788798949,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9d688"} 
[2026-09-07 22: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-07 22:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 22: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-07 22:06:28] 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-07 22: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-07 22: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-07 22:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":175180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":175180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932528128001,"66":13993,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094456522541242368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932528128001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:06:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541242368,"description":"Unknown IO ID 45"} 
[2026-09-07 22:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932528128001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541242368}} 
[2026-09-07 22:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":175180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:06:28] local.INFO: GPS data processed {"connection_id":175180,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:06:28] local.INFO: Acknowledgment sent {"connection_id":175180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:06:43] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:43] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:43] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:06:48] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:48] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:06:48] local.INFO: IMEI packet received {"connection_id":174083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":174083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:06:49] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9c300012d0cffc006eb3e400012008725..."} 
[2026-09-07 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9c300012d0cffc006eb3e400012008725..."} 
[2026-09-07 22:06:49] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9c300012d0cffc006eb3e400012008725..."} 
[2026-09-07 22:06:49] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:49] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755826624,"raw_latitude":116080192,"longitude_deg":75.5826624,"latitude_deg":11.6080192,"altitude":18,"angle":135,"satellites":37,"speed":21,"hex_longitude":"2d0cffc0","hex_latitude":"06eb3e40","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932526336001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402343439548547072,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":928515609142034432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798944000,"timestamp_ms":1788798944000,"timestamp_seconds":1788798944,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9c300"} 
[2026-09-07 22: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-07 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:06:49] 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-07 22:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932526336001,"66":27321,"84":206,"80":6400,"24":21,"16":402343439548547072,"45":928515609142034432},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 22:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932526336001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:06:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 22:06:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402343439548547072,"km_value":402343439548547.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":928515609142034432,"description":"Unknown IO ID 45"} 
[2026-09-07 22:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932526336001,"power":27321,"unknown_84":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":928515609142034432}} 
[2026-09-07 22:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:06:49] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:06:49] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:07:13] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:13] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:13] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:07:18] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:18] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:07:18] local.INFO: IMEI packet received {"connection_id":174084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":174084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:07:19] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:07:19] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9d688012d7e360005d34e180005004622..."} 
[2026-09-07 22:07:19] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:19] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734168,"longitude_deg":76.324608,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":34,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932530944001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541242368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:19] 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-07 22:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798949000,"timestamp_ms":1788798949000,"timestamp_seconds":1788798949,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9d688"} 
[2026-09-07 22: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-07 22:07: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-07 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 22:07:19] 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-07 22: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-07 22: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-07 22:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:07:19] 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-07 22:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932530944001,"66":13993,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094456522541242368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932530944001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:07:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:07:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541242368,"description":"Unknown IO ID 45"} 
[2026-09-07 22:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932530944001,"power":13993,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541242368}} 
[2026-09-07 22:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:07:19] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:07:19] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:07:21] local.INFO: TCP Data received {"connection_id":174083,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9cad0012d0d024006eb3b280012009429..."} 
[2026-09-07 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9cad0012d0d024006eb3b280012009429..."} 
[2026-09-07 22:07:21] local.INFO: Processing buffer {"connection_id":174083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9cad0012d0d024006eb3b280012009429..."} 
[2026-09-07 22:07:21] local.INFO: Packet analysis {"connection_id":174083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:21] local.INFO: Extracted packet for processing {"connection_id":174083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755827264,"raw_latitude":116079400,"longitude_deg":75.5827264,"latitude_deg":11.60794,"altitude":18,"angle":148,"satellites":41,"speed":18,"hex_longitude":"2d0d0240","hex_latitude":"06eb3b28","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932529664001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402343486793187328,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936678383465414656,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798946000,"timestamp_ms":1788798946000,"timestamp_seconds":1788798946,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9cad0"} 
[2026-09-07 22: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-07 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:07: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-07 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932529664001,"66":27321,"84":206,"80":6400,"24":18,"16":402343486793187328,"45":936678383465414656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932529664001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:07:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 22:07:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402343486793187328,"km_value":402343486793187.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":936678383465414656,"description":"Unknown IO ID 45"} 
[2026-09-07 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932529664001,"power":27321,"unknown_84":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":936678383465414656}} 
[2026-09-07 22:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":174083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:07:21] local.INFO: GPS data processed {"connection_id":174083,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:07:21] local.INFO: Acknowledgment sent {"connection_id":174083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:07:43] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:43] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:43] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:07:48] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:48] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:07:48] local.INFO: IMEI packet received {"connection_id":173843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":173843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:07:49] local.INFO: TCP Data received {"connection_id":174084,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:07:49] local.INFO: Processing buffer {"connection_id":174084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:07:49] local.INFO: Packet analysis {"connection_id":174084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:07:49] local.INFO: Extracted packet for processing {"connection_id":174084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:07: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-07 22:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932530944001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541242368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22: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-07 22:07: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-07 22: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-07 22:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22: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-07 22:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:07:49] 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-07 22:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932530944001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094456522541242368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932530944001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541242368,"description":"Unknown IO ID 45"} 
[2026-09-07 22:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932530944001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541242368}} 
[2026-09-07 22:07:49] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9da70012d0d070006eb3450001100862a..."} 
[2026-09-07 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9da70012d0d070006eb3450001100862a..."} 
[2026-09-07 22:07:49] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9da70012d0d070006eb3450001100862a..."} 
[2026-09-07 22:07:49] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:49] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":755828480,"raw_latitude":116077648,"longitude_deg":75.582848,"latitude_deg":11.6077648,"altitude":17,"angle":134,"satellites":42,"speed":24,"hex_longitude":"2d0d0700","hex_latitude":"06eb3450","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932530176001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402343589872402432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":937382070906988544,"note":"Value kept but may cause issues"} 
[2026-09-07 22:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798950000,"timestamp_ms":1788798950000,"timestamp_seconds":1788798950,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9da70"} 
[2026-09-07 22: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-07 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22: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-07 22:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:07:49] 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-07 22:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932530176001,"66":27310,"84":206,"80":6400,"24":24,"16":402343589872402432,"45":937382070906988544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 22:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932530176001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402343589872402432,"km_value":402343589872402.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":937382070906988544,"description":"Unknown IO ID 45"} 
[2026-09-07 22:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932530176001,"power":27310,"unknown_84":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":937382070906988544}} 
[2026-09-07 22:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:07:49] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:07:49] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":174084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:07:49] local.INFO: GPS data processed {"connection_id":174084,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:07:49] local.INFO: Acknowledgment sent {"connection_id":174084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:08:13] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:13] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:13] local.INFO: IMEI packet received {"connection_id":175182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":175182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:08:18] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:18] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:08:18] local.INFO: IMEI packet received {"connection_id":175182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":175182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:08:18] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:18] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:18] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:08:18] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:08: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-07 22:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:08: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-07 22:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:08:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:08:19] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:08:19] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:08:21] local.INFO: TCP Data received {"connection_id":173843,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cb9e240012d0d0b4006eb31480011007729..."} 
[2026-09-07 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cb9e240012d0d0b4006eb31480011007729..."} 
[2026-09-07 22:08:21] local.INFO: Processing buffer {"connection_id":173843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cb9e240012d0d0b4006eb31480011007729..."} 
[2026-09-07 22:08:21] local.INFO: Packet analysis {"connection_id":173843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:08:21] local.INFO: Extracted packet for processing {"connection_id":173843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cb9"} 
[2026-09-07 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":755829568,"raw_latitude":116076872,"longitude_deg":75.5829568,"latitude_deg":11.6076872,"altitude":17,"angle":119,"satellites":41,"speed":27,"hex_longitude":"2d0d0b40","hex_latitude":"06eb3148","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932531200001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402343654296911872,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938719077045915648,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788798952000,"timestamp_ms":1788798952000,"timestamp_seconds":1788798952,"priority":1,"record_length":96,"hex_timestamp":"000001a07cb9e240"} 
[2026-09-07 22: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-07 22:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08: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-07 22:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932531200001,"66":27234,"84":206,"80":6400,"24":27,"16":402343654296911872,"45":938719077045915648},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-09-07 22:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932531200001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:08:21] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-09-07 22:08:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402343654296911872,"km_value":402343654296911.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":938719077045915648,"description":"Unknown IO ID 45"} 
[2026-09-07 22:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932531200001,"power":27234,"unknown_84":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":938719077045915648}} 
[2026-09-07 22:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":173843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:08:21] local.INFO: GPS data processed {"connection_id":173843,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:08:21] local.INFO: Acknowledgment sent {"connection_id":173843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:08:49] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:49] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:49] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:08:49] local.INFO: TCP Data received {"connection_id":175182,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:49] local.INFO: Processing buffer {"connection_id":175182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:08:49] local.INFO: Packet analysis {"connection_id":175182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:08:49] local.INFO: Extracted packet for processing {"connection_id":175182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:08: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-07 22:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:08:49] 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-07 22:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:08:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":175182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:08:49] local.INFO: GPS data processed {"connection_id":175182,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:08:49] local.INFO: Acknowledgment sent {"connection_id":175182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:08:53] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:53] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:08:53] local.INFO: IMEI packet received {"connection_id":175183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":175183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:08:53] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbb70b0012d0de24006ead620001f007b2a..."} 
[2026-09-07 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbb70b0012d0de24006ead620001f007b2a..."} 
[2026-09-07 22:08:53] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbb70b0012d0de24006ead620001f007b2a..."} 
[2026-09-07 22:08:53] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:08:53] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:08:53] local.INFO: GPS Element Parsed {"raw_longitude":755884608,"raw_latitude":116053536,"longitude_deg":75.5884608,"latitude_deg":11.6053536,"altitude":31,"angle":123,"satellites":42,"speed":21,"hex_longitude":"2d0de240","hex_latitude":"06ead620","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932557312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402346527630032896,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":999306565776842752,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788799054000,"timestamp_ms":1788799054000,"timestamp_seconds":1788799054,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbb70b0"} 
[2026-09-07 22: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-07 22:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08:53] 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-07 22:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932557312001,"66":27180,"2":206,"80":6400,"24":21,"16":402346527630032896,"45":999306565776842752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-09-07 22:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932557312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:08:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402346527630032896,"km_value":402346527630032.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":999306565776842752,"description":"Unknown IO ID 45"} 
[2026-09-07 22:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932557312001,"power":27180,"power_alt":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":999306565776842752}} 
[2026-09-07 22:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:08:53] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:08:53] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:08:55] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbba760012d0e014006eac4c0001b007827..."} 
[2026-09-07 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbba760012d0e014006eac4c0001b007827..."} 
[2026-09-07 22:08:55] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbba760012d0e014006eac4c0001b007827..."} 
[2026-09-07 22:08:55] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:08:55] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:08:55] local.INFO: GPS Element Parsed {"raw_longitude":755892544,"raw_latitude":116049088,"longitude_deg":75.5892544,"latitude_deg":11.6049088,"altitude":27,"angle":120,"satellites":39,"speed":25,"hex_longitude":"2d0e0140","hex_latitude":"06eac4c0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932557824001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402346961421729792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1000432465683554304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788799068000,"timestamp_ms":1788799068000,"timestamp_seconds":1788799068,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbba760"} 
[2026-09-07 22: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-07 22:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 22:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:08:55] 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-07 22:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932557824001,"66":27321,"34":206,"80":6400,"24":25,"16":402346961421729792,"45":1000432465683554304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-09-07 22:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932557824001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:08:55] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 22:08:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402346961421729792,"km_value":402346961421729.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1000432465683554304,"description":"Unknown IO ID 45"} 
[2026-09-07 22:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932557824001,"power":27321,"unknown_34":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1000432465683554304}} 
[2026-09-07 22:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:08:55] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:08:55] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:09:12] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:12] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:12] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:09:18] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:18] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:09:18] local.INFO: IMEI packet received {"connection_id":175185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":175185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:09:19] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:19] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:19] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:09:19] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:19] 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-07 22:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:09: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-07 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:09:19] 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-07 22:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:09:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:09:19] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:09:19] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:09:27] local.INFO: TCP Data received {"connection_id":175183,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbbe1f8012d0e1e0006eab168001e008327..."} 
[2026-09-07 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbbe1f8012d0e1e0006eab168001e008327..."} 
[2026-09-07 22:09:27] local.INFO: Processing buffer {"connection_id":175183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbbe1f8012d0e1e0006eab168001e008327..."} 
[2026-09-07 22:09:27] local.INFO: Packet analysis {"connection_id":175183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:09:27] local.INFO: Extracted packet for processing {"connection_id":175183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbb"} 
[2026-09-07 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":755899904,"raw_latitude":116044136,"longitude_deg":75.5899904,"latitude_deg":11.6044136,"altitude":30,"angle":131,"satellites":39,"speed":19,"hex_longitude":"2d0e1e00","hex_latitude":"06eab168","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932561408001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402347386623492096,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158189960445952,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788799083000,"timestamp_ms":1788799083000,"timestamp_seconds":1788799083,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbbe1f8"} 
[2026-09-07 22: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-07 22:09: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-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:09:27] 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-07 22:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932561408001,"66":27343,"34":206,"80":6400,"24":19,"16":402347386623492096,"45":1009158189960445952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-09-07 22:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932561408001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:09:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 22:09:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402347386623492096,"km_value":402347386623492.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158189960445952,"description":"Unknown IO ID 45"} 
[2026-09-07 22:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932561408001,"power":27343,"unknown_34":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1009158189960445952}} 
[2026-09-07 22:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":175183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:09:27] local.INFO: GPS data processed {"connection_id":175183,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:09:27] local.INFO: Acknowledgment sent {"connection_id":175183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:09:51] local.INFO: TCP Data received {"connection_id":175186,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:09:51] local.INFO: Processing buffer {"connection_id":175186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:09:51] local.INFO: IMEI packet received {"connection_id":175186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":175186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:09:52] local.INFO: TCP Data received {"connection_id":175185,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:52] local.INFO: Processing buffer {"connection_id":175185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:09:52] local.INFO: Packet analysis {"connection_id":175185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:09:52] local.INFO: Extracted packet for processing {"connection_id":175185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:09: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-07 22:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:09:52] 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-07 22:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22: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-07 22: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-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:09:52] 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-07 22: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-07 22: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-07 22:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:09:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":175185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:09:52] local.INFO: GPS data processed {"connection_id":175185,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:09:52] local.INFO: Acknowledgment sent {"connection_id":175185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:09:58] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:09:58] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:09:58] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:10:07] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:07] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:07] local.INFO: IMEI packet received {"connection_id":174085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":174085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:10:08] local.INFO: TCP Data received {"connection_id":174085,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbc10d8012d0e310006ea9df8001f008f28..."} 
[2026-09-07 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbc10d8012d0e310006ea9df8001f008f28..."} 
[2026-09-07 22:10:08] local.INFO: Processing buffer {"connection_id":174085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbc10d8012d0e310006ea9df8001f008f28..."} 
[2026-09-07 22:10:08] local.INFO: Packet analysis {"connection_id":174085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:10:08] local.INFO: Extracted packet for processing {"connection_id":174085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":116039160,"longitude_deg":75.5904768,"latitude_deg":11.603916,"altitude":31,"angle":143,"satellites":40,"speed":21,"hex_longitude":"2d0e3100","hex_latitude":"06ea9df8","is_valid_coordinates":true} 
[2026-09-07 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932565248001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402347721630941184,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1017250595539609600,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1788799095000,"timestamp_ms":1788799095000,"timestamp_seconds":1788799095,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbc10d8"} 
[2026-09-07 22:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":174085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":174085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":174085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932565248001,"66":27213,"34":206,"80":6400,"24":21,"16":402347721630941184,"45":1017250595539609600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-09-07 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932565248001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:10:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 22:10:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402347721630941184,"km_value":402347721630941.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1017250595539609600,"description":"Unknown IO ID 45"} 
[2026-09-07 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932565248001,"power":27213,"unknown_34":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1017250595539609600}} 
[2026-09-07 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":174085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:10:08] local.INFO: GPS data processed {"connection_id":174085,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:10:08] local.INFO: Acknowledgment sent {"connection_id":174085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:10:12] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:12] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:12] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:10:18] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:18] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:10:18] local.INFO: IMEI packet received {"connection_id":173844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":173844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:10:19] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:19] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:19] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:10:19] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:19] 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-07 22:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22: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-07 22:10: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-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:10:19] 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-07 22: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-07 22: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-07 22:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:10:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:10:19] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:10:19] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:10:50] local.INFO: TCP Data received {"connection_id":173844,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:50] local.INFO: Processing buffer {"connection_id":173844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cba0d38012d7e35c005d34e080005004621..."} 
[2026-09-07 22:10:50] local.INFO: Packet analysis {"connection_id":173844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:10:50] local.INFO: Extracted packet for processing {"connection_id":173844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cba"} 
[2026-09-07 22:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734152,"longitude_deg":76.3246016,"latitude_deg":9.7734152,"altitude":5,"angle":70,"satellites":33,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e08","is_valid_coordinates":true} 
[2026-09-07 22:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788798963000,"timestamp_ms":1788798963000,"timestamp_seconds":1788798963,"priority":1,"record_length":96,"hex_timestamp":"000001a07cba0d38"} 
[2026-09-07 22: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-07 22:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":13363,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:10:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":173844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:10:50] local.INFO: GPS data processed {"connection_id":173844,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:10:50] local.INFO: Acknowledgment sent {"connection_id":173844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:10:53] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:53] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:53] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:10:54] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:54] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:54] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:10:59] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:59] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:10:59] local.INFO: IMEI packet received {"connection_id":176600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":176600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:11:01] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbc5728012d0e458006ea81a0001c00922b..."} 
[2026-09-07 22:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbc5728012d0e458006ea81a0001c00922b..."} 
[2026-09-07 22:11:01] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbc5728012d0e458006ea81a0001c00922b..."} 
[2026-09-07 22:11:01] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:01] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:01] local.INFO: GPS Element Parsed {"raw_longitude":755910016,"raw_latitude":116031904,"longitude_deg":75.5910016,"latitude_deg":11.6031904,"altitude":28,"angle":146,"satellites":43,"speed":22,"hex_longitude":"2d0e4580","hex_latitude":"06ea81a0","is_valid_coordinates":true} 
[2026-09-07 22:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932568320001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402348151127670784,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620095838208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788799113000,"timestamp_ms":1788799113000,"timestamp_seconds":1788799113,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbc5728"} 
[2026-09-07 22:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:01] 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-07 22:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932568320001,"66":27332,"34":206,"80":6400,"24":22,"16":402348151127670784,"45":1022598620095838208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-09-07 22:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932568320001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:11:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-09-07 22:11:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402348151127670784,"km_value":402348151127670.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620095838208,"description":"Unknown IO ID 45"} 
[2026-09-07 22:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932568320001,"power":27332,"unknown_34":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":1022598620095838208}} 
[2026-09-07 22:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:11:01] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:11:01] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:11:04] local.INFO: TCP Data received {"connection_id":176600,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbc9990012d0e594006ea6448001900932b..."} 
[2026-09-07 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbc9990012d0e594006ea6448001900932b..."} 
[2026-09-07 22:11:04] local.INFO: Processing buffer {"connection_id":176600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbc9990012d0e594006ea6448001900932b..."} 
[2026-09-07 22:11:04] local.INFO: Packet analysis {"connection_id":176600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:04] local.INFO: Extracted packet for processing {"connection_id":176600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":755915072,"raw_latitude":116024392,"longitude_deg":75.5915072,"latitude_deg":11.6024392,"altitude":25,"angle":147,"satellites":43,"speed":23,"hex_longitude":"2d0e5940","hex_latitude":"06ea6448","is_valid_coordinates":true} 
[2026-09-07 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932572928001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402348589214334976,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1028368857116549120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1788799130000,"timestamp_ms":1788799130000,"timestamp_seconds":1788799130,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbc9990"} 
[2026-09-07 22:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":176600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":176600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932572928001,"66":26865,"167":206,"80":6400,"24":23,"16":402348589214334976,"45":1028368857116549120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-09-07 22:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932572928001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402348589214334976,"km_value":402348589214335.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1028368857116549120,"description":"Unknown IO ID 45"} 
[2026-09-07 22:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932572928001,"power":26865,"unknown_167":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1028368857116549120}} 
[2026-09-07 22:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":176600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:11:04] local.INFO: GPS data processed {"connection_id":176600,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:11:04] local.INFO: Acknowledgment sent {"connection_id":176600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:11:13] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:13] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:13] local.INFO: IMEI packet received {"connection_id":175187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":175187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:11:18] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:18] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:11:18] local.INFO: IMEI packet received {"connection_id":175187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":175187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:11:19] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:19] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:19] local.INFO: Packet analysis {"connection_id":175187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:11:19] local.INFO: Extracted packet for processing {"connection_id":175187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:19] 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-07 22:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22: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-07 22:11: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-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:11:19] 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-07 22: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-07 22: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-07 22:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":175187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":175187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":175187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:11:19] 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-07 22:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:11:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":175187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:11:19] local.INFO: GPS data processed {"connection_id":175187,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:11:19] local.INFO: Acknowledgment sent {"connection_id":175187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:11:44] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:44] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:44] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:11:45] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:45] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:45] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:11:49] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:49] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:11:49] local.INFO: IMEI packet received {"connection_id":176601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":176601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:11:49] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbcd810012d0e6d0006ea47800016009428..."} 
[2026-09-07 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbcd810012d0e6d0006ea47800016009428..."} 
[2026-09-07 22:11:49] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbcd810012d0e6d0006ea47800016009428..."} 
[2026-09-07 22:11:49] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:49] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbc"} 
[2026-09-07 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":755920128,"raw_latitude":116017024,"longitude_deg":75.5920128,"latitude_deg":11.6017024,"altitude":22,"angle":148,"satellites":40,"speed":17,"hex_longitude":"2d0e6d00","hex_latitude":"06ea4780","is_valid_coordinates":true} 
[2026-09-07 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932577280001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402349018711064576,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1033927987904661504,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799146000,"timestamp_ms":1788799146000,"timestamp_seconds":1788799146,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbcd810"} 
[2026-09-07 22:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-09-07 22:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:11:49] 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-07 22:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932577280001,"66":27245,"167":206,"80":6400,"24":17,"16":402349018711064576,"45":1033927987904661504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-09-07 22:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932577280001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:11:49] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 22:11:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402349018711064576,"km_value":402349018711064.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1033927987904661504,"description":"Unknown IO ID 45"} 
[2026-09-07 22:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932577280001,"power":27245,"unknown_167":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1033927987904661504}} 
[2026-09-07 22:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:11:50] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:11:50] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:11:50] local.INFO: TCP Data received {"connection_id":175187,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:50] local.INFO: Processing buffer {"connection_id":175187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:11:50] local.INFO: Packet analysis {"connection_id":175187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:11:50] local.INFO: Extracted packet for processing {"connection_id":175187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:11:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22: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-07 22:11: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-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:11:50] 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-07 22:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:11:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":175187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:11:50] local.INFO: GPS data processed {"connection_id":175187,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:11:50] local.INFO: Acknowledgment sent {"connection_id":175187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:12:17] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:17] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:17] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:12:21] local.INFO: TCP Data received {"connection_id":176601,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbd2630012d0e81c006ea29d00016009325..."} 
[2026-09-07 22:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbd2630012d0e81c006ea29d00016009325..."} 
[2026-09-07 22:12:21] local.INFO: Processing buffer {"connection_id":176601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbd2630012d0e81c006ea29d00016009325..."} 
[2026-09-07 22:12:21] local.INFO: Packet analysis {"connection_id":176601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbd"} 
[2026-09-07 22:12:21] local.INFO: Extracted packet for processing {"connection_id":176601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbd"} 
[2026-09-07 22:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755925440,"raw_latitude":116009424,"longitude_deg":75.592544,"latitude_deg":11.6009424,"altitude":22,"angle":147,"satellites":37,"speed":17,"hex_longitude":"2d0e81c0","hex_latitude":"06ea29d0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932581376001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402349469682630656,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039487118692810752,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799166000,"timestamp_ms":1788799166000,"timestamp_seconds":1788799166,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbd2630"} 
[2026-09-07 22: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-07 22:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:12: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-07 22:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932581376001,"66":27343,"167":206,"80":6400,"24":17,"16":402349469682630656,"45":1039487118692810752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-09-07 22:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932581376001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:12:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-09-07 22:12:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402349469682630656,"km_value":402349469682630.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039487118692810752,"description":"Unknown IO ID 45"} 
[2026-09-07 22:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932581376001,"power":27343,"unknown_167":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":1039487118692810752}} 
[2026-09-07 22:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":176601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:12:21] local.INFO: GPS data processed {"connection_id":176601,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:12:21] local.INFO: Acknowledgment sent {"connection_id":176601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:12:23] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:23] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:12:23] local.INFO: IMEI packet received {"connection_id":174087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":174087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:12:23] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:23] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:23] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:12:23] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:12:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 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-07 22:12: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-07 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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:12:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:12:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:12:24] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:12:24] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:12:28] local.INFO: TCP Data received {"connection_id":174087,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:28] local.INFO: Processing buffer {"connection_id":174087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:12:28] local.INFO: Packet analysis {"connection_id":174087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:12:28] local.INFO: Extracted packet for processing {"connection_id":174087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22: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-07 22:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:12:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":174087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:12:28] local.INFO: GPS data processed {"connection_id":174087,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:12:28] local.INFO: Acknowledgment sent {"connection_id":174087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:12:42] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:42] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:42] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:12:43] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:43] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:43] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:12:45] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:45] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:45] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:12:49] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:49] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:12:49] local.INFO: IMEI packet received {"connection_id":175188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":175188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:12:50] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbf3d58012d0ecc8006e91ba0000b00e526..."} 
[2026-09-07 22:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbf3d58012d0ecc8006e91ba0000b00e526..."} 
[2026-09-07 22:12:50] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbf3d58012d0ecc8006e91ba0000b00e526..."} 
[2026-09-07 22:12:50] local.INFO: Packet analysis {"connection_id":175188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:12:50] local.INFO: Extracted packet for processing {"connection_id":175188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:12:50] local.INFO: GPS Element Parsed {"raw_longitude":755944576,"raw_latitude":115940256,"longitude_deg":75.5944576,"latitude_deg":11.5940256,"altitude":11,"angle":229,"satellites":38,"speed":19,"hex_longitude":"2d0ecc80","hex_latitude":"06e91ba0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932621056001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402353214894112768,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067142035135154176,"note":"Value kept but may cause issues"} 
[2026-09-07 22:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799303000,"timestamp_ms":1788799303000,"timestamp_seconds":1788799303,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbf3d58"} 
[2026-09-07 22: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-07 22:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:12:50] 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-07 22:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932621056001,"66":27245,"240":206,"80":6400,"24":19,"16":402353214894112768,"45":1067142035135154176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932621056001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:12:50] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:12:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402353214894112768,"km_value":402353214894112.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067142035135154176,"description":"Unknown IO ID 45"} 
[2026-09-07 22:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932621056001,"power":27245,"unknown_240":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1067142035135154176}} 
[2026-09-07 22:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":175188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:12:50] local.INFO: GPS data processed {"connection_id":175188,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:12:50] local.INFO: Acknowledgment sent {"connection_id":175188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:13:13] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:13] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:13] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:13:17] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:17] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:13:17] local.INFO: IMEI packet received {"connection_id":176603,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":176603,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:13:18] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:18] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:18] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:13:18] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:13: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-07 22:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:13: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-07 22:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:13:18] 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-07 22:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:13:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:13:18] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:13:18] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:13:21] local.INFO: TCP Data received {"connection_id":175188,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbf4cf8012d0ec74006e915c8000a00d927..."} 
[2026-09-07 22:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbf4cf8012d0ec74006e915c8000a00d927..."} 
[2026-09-07 22:13:21] local.INFO: Processing buffer {"connection_id":175188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbf4cf8012d0ec74006e915c8000a00d927..."} 
[2026-09-07 22:13:21] local.INFO: Packet analysis {"connection_id":175188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:13:21] local.INFO: Extracted packet for processing {"connection_id":175188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755943232,"raw_latitude":115938760,"longitude_deg":75.5943232,"latitude_deg":11.593876,"altitude":10,"angle":217,"satellites":39,"speed":21,"hex_longitude":"2d0ec740","hex_latitude":"06e915c8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932621568001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402353313678360576,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066367978949025792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799307000,"timestamp_ms":1788799307000,"timestamp_seconds":1788799307,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbf4cf8"} 
[2026-09-07 22: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-07 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:13: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-07 22:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932621568001,"66":27321,"240":206,"80":6400,"24":21,"16":402353313678360576,"45":1066367978949025792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932621568001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:13:21] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:13:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402353313678360576,"km_value":402353313678360.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066367978949025792,"description":"Unknown IO ID 45"} 
[2026-09-07 22:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932621568001,"power":27321,"unknown_240":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1066367978949025792}} 
[2026-09-07 22:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":175188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:13:21] local.INFO: GPS data processed {"connection_id":175188,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:13:21] local.INFO: Acknowledgment sent {"connection_id":175188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:13:43] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:43] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:43] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:13:45] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:45] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:45] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:13:49] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:49] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:13:49] local.INFO: IMEI packet received {"connection_id":174088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":174088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:13:49] local.INFO: TCP Data received {"connection_id":176603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:49] local.INFO: Processing buffer {"connection_id":176603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:13:49] local.INFO: Packet analysis {"connection_id":176603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:13:49] local.INFO: Extracted packet for processing {"connection_id":176603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22: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-07 22:13: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-07 22: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:13:49] 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-07 22: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-07 22: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-07 22:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176603,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:13:49] 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-07 22:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":176603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:13:49] local.INFO: GPS data processed {"connection_id":176603,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:13:49] local.INFO: Acknowledgment sent {"connection_id":176603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:13:49] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbf6850012d0ebfc006e90b48000b00ce28..."} 
[2026-09-07 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbf6850012d0ebfc006e90b48000b00ce28..."} 
[2026-09-07 22:13:49] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbf6850012d0ebfc006e90b48000b00ce28..."} 
[2026-09-07 22:13:49] local.INFO: Packet analysis {"connection_id":174088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:13:49] local.INFO: Extracted packet for processing {"connection_id":174088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbf"} 
[2026-09-07 22:13:49] local.INFO: GPS Element Parsed {"raw_longitude":755941312,"raw_latitude":115936072,"longitude_deg":75.5941312,"latitude_deg":11.5936072,"altitude":11,"angle":206,"satellites":40,"speed":18,"hex_longitude":"2d0ebfc0","hex_latitude":"06e90b48","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932622592001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402353472592150528,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064890235320911872,"note":"Value kept but may cause issues"} 
[2026-09-07 22:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799314000,"timestamp_ms":1788799314000,"timestamp_seconds":1788799314,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbf6850"} 
[2026-09-07 22: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-07 22:13: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-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:13:49] 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-07 22:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932622592001,"66":27365,"240":206,"80":6400,"24":18,"16":402353472592150528,"45":1064890235320911872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-09-07 22:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932622592001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402353472592150528,"km_value":402353472592150.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064890235320911872,"description":"Unknown IO ID 45"} 
[2026-09-07 22:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932622592001,"power":27365,"unknown_240":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1064890235320911872}} 
[2026-09-07 22:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":174088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:13:49] local.INFO: GPS data processed {"connection_id":174088,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:13:49] local.INFO: Acknowledgment sent {"connection_id":174088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:14:13] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:13] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:13] local.INFO: IMEI packet received {"connection_id":175190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":175190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:14:18] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:18] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:14:18] local.INFO: IMEI packet received {"connection_id":175190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":175190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:14:18] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:18] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:18] local.INFO: Packet analysis {"connection_id":175190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:14:18] local.INFO: Extracted packet for processing {"connection_id":175190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:14:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22: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-07 22:14: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-07 22: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-07 22: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-07 22: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-07 22: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-07 22:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:14:18] 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-07 22:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:14:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":175190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:14:19] local.INFO: GPS data processed {"connection_id":175190,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:14:19] local.INFO: Acknowledgment sent {"connection_id":175190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:14:21] local.INFO: TCP Data received {"connection_id":174088,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc0bc28012d0e864006e87430000b00bd2b..."} 
[2026-09-07 22:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc0bc28012d0e864006e87430000b00bd2b..."} 
[2026-09-07 22:14:21] local.INFO: Processing buffer {"connection_id":174088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc0bc28012d0e864006e87430000b00bd2b..."} 
[2026-09-07 22:14:21] local.INFO: Packet analysis {"connection_id":174088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:14:21] local.INFO: Extracted packet for processing {"connection_id":174088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:14:21] local.INFO: GPS Element Parsed {"raw_longitude":755926592,"raw_latitude":115897392,"longitude_deg":75.5926592,"latitude_deg":11.5897392,"altitude":11,"angle":189,"satellites":43,"speed":10,"hex_longitude":"2d0e8640","hex_latitude":"06e87430","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932644096001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402355512701616128,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048072105452843008,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799401000,"timestamp_ms":1788799401000,"timestamp_seconds":1788799401,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc0bc28"} 
[2026-09-07 22: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-07 22:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:14: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-07 22:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932644096001,"66":27365,"176":206,"80":6400,"24":10,"16":402355512701616128,"45":1048072105452843008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-07 22:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932644096001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:14:21] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 22:14:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402355512701616128,"km_value":402355512701616.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048072105452843008,"description":"Unknown IO ID 45"} 
[2026-09-07 22:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932644096001,"power":27365,"unknown_176":206,"unknown_80":6400,"ignition":10,"odometer":null,"unknown_45":1048072105452843008}} 
[2026-09-07 22:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":174088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:14:21] local.INFO: GPS data processed {"connection_id":174088,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:14:21] local.INFO: Acknowledgment sent {"connection_id":174088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:14:48] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:48] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:48] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:14:50] local.INFO: TCP Data received {"connection_id":175190,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:50] local.INFO: Processing buffer {"connection_id":175190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:14:50] local.INFO: Packet analysis {"connection_id":175190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:14:50] local.INFO: Extracted packet for processing {"connection_id":175190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:14: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-07 22:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:14:50] 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-07 22:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:14:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":175190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:14:50] local.INFO: GPS data processed {"connection_id":175190,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:14:50] local.INFO: Acknowledgment sent {"connection_id":175190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:14:53] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:53] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:14:53] local.INFO: IMEI packet received {"connection_id":175191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":175191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:14:55] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc0c7e0012d0e864006e87130000c00ae2a..."} 
[2026-09-07 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc0c7e0012d0e864006e87130000c00ae2a..."} 
[2026-09-07 22:14:55] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc0c7e0012d0e864006e87130000c00ae2a..."} 
[2026-09-07 22:14:55] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:14:55] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":755926592,"raw_latitude":115896624,"longitude_deg":75.5926592,"latitude_deg":11.5896624,"altitude":12,"angle":174,"satellites":42,"speed":11,"hex_longitude":"2d0e8640","hex_latitude":"06e87130","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932646656001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402355547061354496,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046594361824129024,"note":"Value kept but may cause issues"} 
[2026-09-07 22:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788799404000,"timestamp_ms":1788799404000,"timestamp_seconds":1788799404,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc0c7e0"} 
[2026-09-07 22: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-07 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:14:55] 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-07 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932646656001,"66":27376,"176":206,"80":6400,"24":11,"16":402355547061354496,"45":1046594361824129024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-07 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932646656001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:14:55] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 22:14:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402355547061354496,"km_value":402355547061354.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046594361824129024,"description":"Unknown IO ID 45"} 
[2026-09-07 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932646656001,"power":27376,"unknown_176":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1046594361824129024}} 
[2026-09-07 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:14:55] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:14:55] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:15:13] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:13] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:13] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:15:18] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:18] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:15:18] local.INFO: IMEI packet received {"connection_id":174090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":174090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:15:18] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:18] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:18] local.INFO: Packet analysis {"connection_id":174090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:15:18] local.INFO: Extracted packet for processing {"connection_id":174090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:15:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:15: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-07 22:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:15: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-07 22:15: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-07 22:15: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-07 22:15: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-07 22:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":174090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":174090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":174090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:15:19] 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-07 22:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:15:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":174090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:15:19] local.INFO: GPS data processed {"connection_id":174090,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:15:19] local.INFO: Acknowledgment sent {"connection_id":174090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:15:21] local.INFO: TCP Data received {"connection_id":173845,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:21] local.INFO: Processing buffer {"connection_id":173845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:21] local.INFO: IMEI packet received {"connection_id":173845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":173845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:15:27] local.INFO: TCP Data received {"connection_id":175191,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc0e720012d0e878006e86608000d00ba2a..."} 
[2026-09-07 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc0e720012d0e878006e86608000d00ba2a..."} 
[2026-09-07 22:15:27] local.INFO: Processing buffer {"connection_id":175191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc0e720012d0e878006e86608000d00ba2a..."} 
[2026-09-07 22:15:27] local.INFO: Packet analysis {"connection_id":175191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:15:27] local.INFO: Extracted packet for processing {"connection_id":175191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc0"} 
[2026-09-07 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":755926912,"raw_latitude":115893768,"longitude_deg":75.5926912,"latitude_deg":11.5893768,"altitude":13,"angle":186,"satellites":42,"speed":16,"hex_longitude":"2d0e8780","hex_latitude":"06e86608","is_valid_coordinates":true} 
[2026-09-07 22:15: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-07 22:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932647424001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402355688795275264,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046594361823932416,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788799412000,"timestamp_ms":1788799412000,"timestamp_seconds":1788799412,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc0e720"} 
[2026-09-07 22:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:15: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-07 22:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":175191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":175191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:15:27] 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-07 22:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932647424001,"66":27234,"176":206,"80":6400,"24":16,"16":402355688795275264,"45":1046594361823932416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-07 22:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932647424001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:15:27] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 22:15:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402355688795275264,"km_value":402355688795275.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046594361823932416,"description":"Unknown IO ID 45"} 
[2026-09-07 22:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932647424001,"power":27234,"unknown_176":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":1046594361823932416}} 
[2026-09-07 22:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":175191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:15:27] local.INFO: GPS data processed {"connection_id":175191,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:15:27] local.INFO: Acknowledgment sent {"connection_id":175191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:15:44] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:44] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:44] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:15:46] local.INFO: TCP Data received {"connection_id":174091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:46] local.INFO: Processing buffer {"connection_id":174091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:15:46] local.INFO: IMEI packet received {"connection_id":174091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":174091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:15:49] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:49] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:15:49] local.INFO: IMEI packet received {"connection_id":173846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":173846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:15:50] local.INFO: TCP Data received {"connection_id":174090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:50] local.INFO: Processing buffer {"connection_id":174090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cbe7238012d7e380005d34e180005004626..."} 
[2026-09-07 22:15:50] local.INFO: Packet analysis {"connection_id":174090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:15:50] local.INFO: Extracted packet for processing {"connection_id":174090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cbe"} 
[2026-09-07 22:15:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932534528001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797060608,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799251000,"timestamp_ms":1788799251000,"timestamp_seconds":1788799251,"priority":1,"record_length":96,"hex_timestamp":"000001a07cbe7238"} 
[2026-09-07 22:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:15: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-07 22:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-09-07 22:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:15:50] 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-07 22:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932534528001,"66":2253,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9094386153797060608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932534528001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797060608,"description":"Unknown IO ID 45"} 
[2026-09-07 22:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932534528001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797060608}} 
[2026-09-07 22:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":174090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:15:50] local.INFO: GPS data processed {"connection_id":174090,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:15:50] local.INFO: Acknowledgment sent {"connection_id":174090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:15:50] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc12988012d0e804006e842b0000a00b929..."} 
[2026-09-07 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc12988012d0e804006e842b0000a00b929..."} 
[2026-09-07 22:15:50] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc12988012d0e804006e842b0000a00b929..."} 
[2026-09-07 22:15:50] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:15:50] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:15:50] local.INFO: GPS Element Parsed {"raw_longitude":755925056,"raw_latitude":115884720,"longitude_deg":75.5925056,"latitude_deg":11.588472,"altitude":10,"angle":185,"satellites":41,"speed":23,"hex_longitude":"2d0e8040","hex_latitude":"06e842b0","is_valid_coordinates":true} 
[2026-09-07 22:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932649472001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402356135471874048,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046946205544089600,"note":"Value kept but may cause issues"} 
[2026-09-07 22:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799429000,"timestamp_ms":1788799429000,"timestamp_seconds":1788799429,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc12988"} 
[2026-09-07 22:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:15:50] 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-07 22:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932649472001,"66":27332,"176":206,"80":6400,"24":23,"16":402356135471874048,"45":1046946205544089600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-09-07 22:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932649472001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402356135471874048,"km_value":402356135471874.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046946205544089600,"description":"Unknown IO ID 45"} 
[2026-09-07 22:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932649472001,"power":27332,"unknown_176":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1046946205544089600}} 
[2026-09-07 22:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:15:50] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:15:50] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:16:12] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:12] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:12] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:16:17] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:17] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:16:17] local.INFO: IMEI packet received {"connection_id":173847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":173847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:16:18] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:18] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:18] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:16:18] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:16:18] 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-07 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:16:18] 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-07 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:16:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:16:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:16:18] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:16:18] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:16:21] local.INFO: TCP Data received {"connection_id":173846,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc16420012d0e7fc006e81ff0000900b22b..."} 
[2026-09-07 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc16420012d0e7fc006e81ff0000900b22b..."} 
[2026-09-07 22:16:21] local.INFO: Processing buffer {"connection_id":173846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc16420012d0e7fc006e81ff0000900b22b..."} 
[2026-09-07 22:16:21] local.INFO: Packet analysis {"connection_id":173846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:16:21] local.INFO: Extracted packet for processing {"connection_id":173846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":755924928,"raw_latitude":115875824,"longitude_deg":75.5924928,"latitude_deg":11.5875824,"altitude":9,"angle":178,"satellites":43,"speed":23,"hex_longitude":"2d0e7fc0","hex_latitude":"06e81ff0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932653824001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402356569263570944,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044905511960621056,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799444000,"timestamp_ms":1788799444000,"timestamp_seconds":1788799444,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc16420"} 
[2026-09-07 22: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-07 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:16: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-07 22:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932653824001,"66":27332,"178":206,"80":6400,"24":23,"16":402356569263570944,"45":1044905511960621056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-09-07 22:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932653824001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:16:21] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 22:16:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402356569263570944,"km_value":402356569263570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044905511960621056,"description":"Unknown IO ID 45"} 
[2026-09-07 22:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932653824001,"power":27332,"unknown_178":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1044905511960621056}} 
[2026-09-07 22:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":173846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:16:21] local.INFO: GPS data processed {"connection_id":173846,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:16:21] local.INFO: Acknowledgment sent {"connection_id":173846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:16:49] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:16:49] local.INFO: TCP Data received {"connection_id":173847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:49] local.INFO: Processing buffer {"connection_id":173847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:16:49] local.INFO: Packet analysis {"connection_id":173847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:16:49] local.INFO: Extracted packet for processing {"connection_id":173847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22: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-07 22:16:49] 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-07 22: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:16:49] 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-07 22:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:16:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":173847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:16:49] local.INFO: GPS data processed {"connection_id":173847,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:16:49] local.INFO: Acknowledgment sent {"connection_id":173847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:16:49] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:49] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:16:57] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:57] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:16:57] local.INFO: IMEI packet received {"connection_id":174093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":174093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:17:05] local.INFO: TCP Data received {"connection_id":174093,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc19eb8012d0e834006e7fc68000800ab28..."} 
[2026-09-07 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc19eb8012d0e834006e7fc68000800ab28..."} 
[2026-09-07 22:17:05] local.INFO: Processing buffer {"connection_id":174093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc19eb8012d0e834006e7fc68000800ab28..."} 
[2026-09-07 22:17:05] local.INFO: Packet analysis {"connection_id":174093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:17:05] local.INFO: Extracted packet for processing {"connection_id":174093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc1"} 
[2026-09-07 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":755925824,"raw_latitude":115866728,"longitude_deg":75.5925824,"latitude_deg":11.5866728,"altitude":8,"angle":171,"satellites":40,"speed":26,"hex_longitude":"2d0e8340","hex_latitude":"06e7fc68","is_valid_coordinates":true} 
[2026-09-07 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932657664001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402357011645202432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044764774469988352,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1788799459000,"timestamp_ms":1788799459000,"timestamp_seconds":1788799459,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc19eb8"} 
[2026-09-07 22:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":174093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":174093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:17:05] 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-07 22:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932657664001,"66":27343,"178":206,"80":6400,"24":26,"16":402357011645202432,"45":1044764774469988352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-09-07 22:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932657664001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:17:05] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-09-07 22:17:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402357011645202432,"km_value":402357011645202.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044764774469988352,"description":"Unknown IO ID 45"} 
[2026-09-07 22:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932657664001,"power":27343,"unknown_178":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":1044764774469988352}} 
[2026-09-07 22:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":174093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:17:05] local.INFO: GPS data processed {"connection_id":174093,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:17:05] local.INFO: Acknowledgment sent {"connection_id":174093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:17:12] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:12] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:12] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:17:17] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:17] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:17:17] local.INFO: IMEI packet received {"connection_id":175192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":175192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:17:18] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:18] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:18] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:18] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22: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-07 22:17:18] 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-07 22: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:17:18] 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-07 22:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:17:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:17:18] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:17:18] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:17:44] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:44] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:44] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:17:49] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:49] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:17:49] local.INFO: IMEI packet received {"connection_id":176604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":176604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:17:49] local.INFO: TCP Data received {"connection_id":175192,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:49] local.INFO: Processing buffer {"connection_id":175192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:17:49] local.INFO: Packet analysis {"connection_id":175192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:49] local.INFO: Extracted packet for processing {"connection_id":175192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22: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-07 22:17:49] 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-07 22: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:17:49] 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-07 22:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:17:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:17:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":175192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:17:49] local.INFO: GPS data processed {"connection_id":175192,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:17:49] local.INFO: Acknowledgment sent {"connection_id":175192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:17:50] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc3b5e0012d0f010006e73228001000852a..."} 
[2026-09-07 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc3b5e0012d0f010006e73228001000852a..."} 
[2026-09-07 22:17:50] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc3b5e0012d0f010006e73228001000852a..."} 
[2026-09-07 22:17:50] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:50] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:17:50] local.INFO: GPS Element Parsed {"raw_longitude":755958016,"raw_latitude":115814952,"longitude_deg":75.5958016,"latitude_deg":11.5814952,"altitude":16,"angle":133,"satellites":42,"speed":31,"hex_longitude":"2d0f0100","hex_latitude":"06e73228","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932693248001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402360022417276928,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1073404853336442880,"note":"Value kept but may cause issues"} 
[2026-09-07 22:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799596000,"timestamp_ms":1788799596000,"timestamp_seconds":1788799596,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc3b5e0"} 
[2026-09-07 22: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-07 22:17: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-07 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:17:50] 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-07 22:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932693248001,"66":27343,"166":206,"80":6400,"24":31,"16":402360022417276928,"45":1073404853336442880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-09-07 22:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932693248001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:17:50] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-07 22:17:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402360022417276928,"km_value":402360022417276.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1073404853336442880,"description":"Unknown IO ID 45"} 
[2026-09-07 22:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932693248001,"power":27343,"unknown_166":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1073404853336442880}} 
[2026-09-07 22:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:17:50] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:17:50] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:18:12] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:12] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:12] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:18:18] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:18] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:18:18] local.INFO: IMEI packet received {"connection_id":173848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":173848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:18:19] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:19] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:19] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:19] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:19] 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-07 22:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22: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-07 22:18:19] 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-07 22: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:18:19] 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-07 22:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:18:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:18:19] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:18:19] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:18:21] local.INFO: TCP Data received {"connection_id":176604,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc3e4c0012d0f1b8006e717f8001200852c..."} 
[2026-09-07 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc3e4c0012d0f1b8006e717f8001200852c..."} 
[2026-09-07 22:18:21] local.INFO: Processing buffer {"connection_id":176604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc3e4c0012d0f1b8006e717f8001200852c..."} 
[2026-09-07 22:18:21] local.INFO: Packet analysis {"connection_id":176604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:21] local.INFO: Extracted packet for processing {"connection_id":176604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":755964800,"raw_latitude":115808248,"longitude_deg":75.59648,"latitude_deg":11.5808248,"altitude":18,"angle":133,"satellites":44,"speed":31,"hex_longitude":"2d0f1b80","hex_latitude":"06e717f8","is_valid_coordinates":true} 
[2026-09-07 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932696576001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402360477683810304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1081145415194257408,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799608000,"timestamp_ms":1788799608000,"timestamp_seconds":1788799608,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc3e4c0"} 
[2026-09-07 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:18: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-07 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932696576001,"66":27321,"166":206,"80":6400,"24":31,"16":402360477683810304,"45":1081145415194257408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-09-07 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932696576001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-09-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402360477683810304,"km_value":402360477683810.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1081145415194257408,"description":"Unknown IO ID 45"} 
[2026-09-07 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932696576001,"power":27321,"unknown_166":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":1081145415194257408}} 
[2026-09-07 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":176604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:18:21] local.INFO: GPS data processed {"connection_id":176604,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:18:21] local.INFO: Acknowledgment sent {"connection_id":176604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:18:43] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:43] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:43] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:18:49] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:49] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:18:49] local.INFO: IMEI packet received {"connection_id":173849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":173849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:18:50] local.INFO: TCP Data received {"connection_id":173848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:50] local.INFO: Processing buffer {"connection_id":173848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:18:50] local.INFO: Packet analysis {"connection_id":173848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:50] local.INFO: Extracted packet for processing {"connection_id":173848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:18:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22: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-07 22:18:50] 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-07 22: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:18:50] 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-07 22:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":173848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:18:50] local.INFO: GPS data processed {"connection_id":173848,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:18:50] local.INFO: Acknowledgment sent {"connection_id":173848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:18:50] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc40fb8012d0f36c006e70040001200832c..."} 
[2026-09-07 22:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc40fb8012d0f36c006e70040001200832c..."} 
[2026-09-07 22:18:50] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc40fb8012d0f36c006e70040001200832c..."} 
[2026-09-07 22:18:50] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:18:50] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:18:50] local.INFO: GPS Element Parsed {"raw_longitude":755971776,"raw_latitude":115802176,"longitude_deg":75.5971776,"latitude_deg":11.5802176,"altitude":18,"angle":131,"satellites":44,"speed":33,"hex_longitude":"2d0f36c0","hex_latitude":"06e70040","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932699648001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402360920065441792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1088604502075373568,"note":"Value kept but may cause issues"} 
[2026-09-07 22:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799619000,"timestamp_ms":1788799619000,"timestamp_seconds":1788799619,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc40fb8"} 
[2026-09-07 22: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-07 22:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:18:50] 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-07 22:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932699648001,"66":27332,"74":206,"80":6400,"24":33,"16":402360920065441792,"45":1088604502075373568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-07 22:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932699648001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402360920065441792,"km_value":402360920065441.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1088604502075373568,"description":"Unknown IO ID 45"} 
[2026-09-07 22:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932699648001,"power":27332,"unknown_74":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":1088604502075373568}} 
[2026-09-07 22:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:18:50] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:18:50] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:19:17] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:17] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:17] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:19:21] local.INFO: TCP Data received {"connection_id":173849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc43ab0012d0f518006e6e928001000822a..."} 
[2026-09-07 22:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc43ab0012d0f518006e6e928001000822a..."} 
[2026-09-07 22:19:21] local.INFO: Processing buffer {"connection_id":173849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc43ab0012d0f518006e6e928001000822a..."} 
[2026-09-07 22:19:21] local.INFO: Packet analysis {"connection_id":173849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:19:21] local.INFO: Extracted packet for processing {"connection_id":173849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":755978624,"raw_latitude":115796264,"longitude_deg":75.5978624,"latitude_deg":11.5796264,"altitude":16,"angle":130,"satellites":42,"speed":27,"hex_longitude":"2d0f5180","hex_latitude":"06e6e928","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932702464001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402361353857138688,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1096274695189184512,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799630000,"timestamp_ms":1788799630000,"timestamp_seconds":1788799630,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc43ab0"} 
[2026-09-07 22: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-07 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:19: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-07 22:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932702464001,"66":27376,"74":206,"80":6400,"24":27,"16":402361353857138688,"45":1096274695189184512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-07 22:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932702464001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:19:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 22:19:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402361353857138688,"km_value":402361353857138.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1096274695189184512,"description":"Unknown IO ID 45"} 
[2026-09-07 22:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932702464001,"power":27376,"unknown_74":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":1096274695189184512}} 
[2026-09-07 22:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":173849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:19:21] local.INFO: GPS data processed {"connection_id":173849,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:19:21] local.INFO: Acknowledgment sent {"connection_id":173849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:19:22] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:22] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:19:22] local.INFO: IMEI packet received {"connection_id":174094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":174094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:19:23] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:23] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:23] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:19:23] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 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-07 22: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-07 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":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:19:23] 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-07 22:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:19:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:19:23] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:19:23] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:19:43] local.INFO: TCP Data received {"connection_id":176605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:43] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:43] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:19:49] local.INFO: TCP Data received {"connection_id":176605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:49] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:19:49] local.INFO: IMEI packet received {"connection_id":176605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":176605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:19:51] local.INFO: TCP Data received {"connection_id":176605,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc47548012d0f6e8006e6d420000d007c2c..."} 
[2026-09-07 22:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc47548012d0f6e8006e6d420000d007c2c..."} 
[2026-09-07 22:19:51] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc47548012d0f6e8006e6d420000d007c2c..."} 
[2026-09-07 22:19:51] local.INFO: Packet analysis {"connection_id":176605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:19:51] local.INFO: Extracted packet for processing {"connection_id":176605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc4"} 
[2026-09-07 22:19:51] local.INFO: GPS Element Parsed {"raw_longitude":755986048,"raw_latitude":115790880,"longitude_deg":75.5986048,"latitude_deg":11.579088,"altitude":13,"angle":124,"satellites":44,"speed":30,"hex_longitude":"2d0f6e80","hex_latitude":"06e6d420","is_valid_coordinates":true} 
[2026-09-07 22:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932705280001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402361791943802880,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1103804150814681088,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788799645000,"timestamp_ms":1788799645000,"timestamp_seconds":1788799645,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc47548"} 
[2026-09-07 22:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:19: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-07 22:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":176605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":176605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":176605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:19: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-07 22:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932705280001,"66":27365,"74":206,"80":6400,"24":30,"16":402361791943802880,"45":1103804150814681088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-09-07 22:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932705280001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:19:51] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-09-07 22:19:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402361791943802880,"km_value":402361791943802.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1103804150814681088,"description":"Unknown IO ID 45"} 
[2026-09-07 22:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932705280001,"power":27365,"unknown_74":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1103804150814681088}} 
[2026-09-07 22:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":176605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:19:51] local.INFO: GPS data processed {"connection_id":176605,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:19:51] local.INFO: Acknowledgment sent {"connection_id":176605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:19:54] local.INFO: TCP Data received {"connection_id":174094,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:54] local.INFO: Processing buffer {"connection_id":174094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:19:54] local.INFO: Packet analysis {"connection_id":174094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:19:54] local.INFO: Extracted packet for processing {"connection_id":174094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 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-07 22: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-07 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":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:19:54] 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-07 22:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:19:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":174094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:19:54] local.INFO: GPS data processed {"connection_id":174094,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:19:54] local.INFO: Acknowledgment sent {"connection_id":174094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:12] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:12] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:12] local.INFO: IMEI packet received {"connection_id":176606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":176606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:20:18] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:18] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:20:18] local.INFO: IMEI packet received {"connection_id":176606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":176606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:20:18] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:18] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:18] local.INFO: Packet analysis {"connection_id":176606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:18] local.INFO: Extracted packet for processing {"connection_id":176606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 22:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:20:18] 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-07 22:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:18] 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-07 22:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:20:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":176606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:19] local.INFO: GPS data processed {"connection_id":176606,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:19] local.INFO: Acknowledgment sent {"connection_id":176606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:22] local.INFO: TCP Data received {"connection_id":176605,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc63e50012d10bfc006e5a7880011009a29..."} 
[2026-09-07 22:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc63e50012d10bfc006e5a7880011009a29..."} 
[2026-09-07 22:20:22] local.INFO: Processing buffer {"connection_id":176605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc63e50012d10bfc006e5a7880011009a29..."} 
[2026-09-07 22:20:22] local.INFO: Packet analysis {"connection_id":176605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:22] local.INFO: Extracted packet for processing {"connection_id":176605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756072384,"raw_latitude":115713928,"longitude_deg":75.6072384,"latitude_deg":11.5713928,"altitude":17,"angle":154,"satellites":41,"speed":38,"hex_longitude":"2d10bfc0","hex_latitude":"06e5a788","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932736512001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402367555789914112,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202179655156199424,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788799762000,"timestamp_ms":1788799762000,"timestamp_seconds":1788799762,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc63e50"} 
[2026-09-07 22: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-07 22:20: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-07 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":176605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":176605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":176605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:22] 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-07 22:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932736512001,"66":27267,"246":206,"80":6400,"24":38,"16":402367555789914112,"45":1202179655156199424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-07 22:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932736512001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402367555789914112,"km_value":402367555789914.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202179655156199424,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932736512001,"power":27267,"main_input_voltage":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1202179655156199424}} 
[2026-09-07 22:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":176605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:22] local.INFO: GPS data processed {"connection_id":176605,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:22] local.INFO: Acknowledgment sent {"connection_id":176605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:23] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:23] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:23] local.INFO: Packet analysis {"connection_id":176606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:23] local.INFO: Extracted packet for processing {"connection_id":176606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 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-07 22: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-07 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":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:23] 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-07 22:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":176606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:23] local.INFO: GPS data processed {"connection_id":176606,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:23] local.INFO: Acknowledgment sent {"connection_id":176606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:43] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:43] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:43] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:20:48] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:20:48] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:20:48] local.INFO: IMEI packet received {"connection_id":175194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":175194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:20:49] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc66178012d10cc0006e587f0001200a62b..."} 
[2026-09-07 22:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc66178012d10cc0006e587f0001200a62b..."} 
[2026-09-07 22:20:49] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc66178012d10cc0006e587f0001200a62b..."} 
[2026-09-07 22:20:49] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:49] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756075520,"raw_latitude":115705840,"longitude_deg":75.607552,"latitude_deg":11.570584,"altitude":18,"angle":166,"satellites":43,"speed":38,"hex_longitude":"2d10cc00","hex_latitude":"06e587f0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932739072001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402367976696709120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1206894361013880832,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799771000,"timestamp_ms":1788799771000,"timestamp_seconds":1788799771,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc66178"} 
[2026-09-07 22: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-07 22:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:49] 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-07 22:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932739072001,"66":27267,"246":206,"80":6400,"24":38,"16":402367976696709120,"45":1206894361013880832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-07 22:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932739072001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402367976696709120,"km_value":402367976696709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1206894361013880832,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932739072001,"power":27267,"main_input_voltage":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1206894361013880832}} 
[2026-09-07 22:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:49] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:49] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:54] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc67500012d10cec006e57530001200b12b..."} 
[2026-09-07 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc67500012d10cec006e57530001200b12b..."} 
[2026-09-07 22:20:54] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc67500012d10cec006e57530001200b12b..."} 
[2026-09-07 22:20:54] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:54] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756076224,"raw_latitude":115701040,"longitude_deg":75.6076224,"latitude_deg":11.570104,"altitude":18,"angle":177,"satellites":43,"speed":39,"hex_longitude":"2d10cec0","hex_latitude":"06e57530","is_valid_coordinates":true} 
[2026-09-07 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-07 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932741376001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402368208624943104,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210342429476515840,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788799776000,"timestamp_ms":1788799776000,"timestamp_seconds":1788799776,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc67500"} 
[2026-09-07 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-07 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:20:54] 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-07 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932741376001,"66":27343,"246":206,"80":6400,"24":39,"16":402368208624943104,"45":1210342429476515840},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932741376001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-09-07 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402368208624943104,"km_value":402368208624943.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210342429476515840,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932741376001,"power":27343,"main_input_voltage":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":1210342429476515840}} 
[2026-09-07 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:54] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:54] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:20:54] local.INFO: TCP Data received {"connection_id":176606,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:54] local.INFO: Processing buffer {"connection_id":176606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc30a00012d7e380005d34e180005004628..."} 
[2026-09-07 22:20:54] local.INFO: Packet analysis {"connection_id":176606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:54] local.INFO: Extracted packet for processing {"connection_id":176606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc3"} 
[2026-09-07 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932608256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788799552000,"timestamp_ms":1788799552000,"timestamp_seconds":1788799552,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc30a00"} 
[2026-09-07 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-07 22: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-07 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":205,"data_length":795,"current_offset":136} 
[2026-09-07 22:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:20:54] 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-07 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932608256001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932608256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932608256001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":176606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:20:54] local.INFO: GPS data processed {"connection_id":176606,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:20:54] local.INFO: Acknowledgment sent {"connection_id":176606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:21:12] local.INFO: TCP Data received {"connection_id":176607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:12] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:12] local.INFO: IMEI packet received {"connection_id":176607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":176607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:21:16] local.INFO: TCP Data received {"connection_id":175195,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:16] local.INFO: Processing buffer {"connection_id":175195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:16] local.INFO: IMEI packet received {"connection_id":175195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":175195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:21:18] local.INFO: TCP Data received {"connection_id":176607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:18] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:21:18] local.INFO: IMEI packet received {"connection_id":176607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":176607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:21:18] local.INFO: TCP Data received {"connection_id":176607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:18] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:18] local.INFO: Packet analysis {"connection_id":176607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:21:18] local.INFO: Extracted packet for processing {"connection_id":176607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 22: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-07 22:21:18] 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-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:21:18] 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-07 22:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:21:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":176607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:21:19] local.INFO: GPS data processed {"connection_id":176607,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:21:19] local.INFO: Acknowledgment sent {"connection_id":176607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:21:26] local.INFO: TCP Data received {"connection_id":175194,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc69828012d10cec006e55220001200b427..."} 
[2026-09-07 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc69828012d10cec006e55220001200b427..."} 
[2026-09-07 22:21:26] local.INFO: Processing buffer {"connection_id":175194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc69828012d10cec006e55220001200b427..."} 
[2026-09-07 22:21:26] local.INFO: Packet analysis {"connection_id":175194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:26] local.INFO: Extracted packet for processing {"connection_id":175194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756076224,"raw_latitude":115692064,"longitude_deg":75.6076224,"latitude_deg":11.5692064,"altitude":18,"angle":180,"satellites":39,"speed":40,"hex_longitude":"2d10cec0","hex_latitude":"06e55220","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932742656001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402368646711607296,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211116485661241344,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788799785000,"timestamp_ms":1788799785000,"timestamp_seconds":1788799785,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc69828"} 
[2026-09-07 22: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-07 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21: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-07 22:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932742656001,"66":27267,"110":206,"81":20480,"24":40,"16":402368646711607296,"45":1211116485661241344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932742656001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:21:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402368646711607296,"km_value":402368646711607.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211116485661241344,"description":"Unknown IO ID 45"} 
[2026-09-07 22:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932742656001,"power":27267,"unknown_110":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1211116485661241344}} 
[2026-09-07 22:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":175194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:21:26] local.INFO: GPS data processed {"connection_id":175194,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:21:26] local.INFO: Acknowledgment sent {"connection_id":175194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:21:45] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:45] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:45] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:21:46] local.INFO: TCP Data received {"connection_id":174097,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:46] local.INFO: Processing buffer {"connection_id":174097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:21:46] local.INFO: IMEI packet received {"connection_id":174097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":174097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:21:49] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:49] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:49] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:21:50] local.INFO: TCP Data received {"connection_id":176607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:50] local.INFO: Processing buffer {"connection_id":176607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:21:50] local.INFO: Packet analysis {"connection_id":176607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:21:50] local.INFO: Extracted packet for processing {"connection_id":176607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:21:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 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-07 22:21:50] 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-07 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:21:50] 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-07 22:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:21:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":176607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:21:50] local.INFO: GPS data processed {"connection_id":176607,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:21:50] local.INFO: Acknowledgment sent {"connection_id":176607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:21:54] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:54] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:21:54] local.INFO: IMEI packet received {"connection_id":174096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":174096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:21:55] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc6bb50012d10cf8006e52ee0001300ad2a..."} 
[2026-09-07 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc6bb50012d10cf8006e52ee0001300ad2a..."} 
[2026-09-07 22:21:55] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc6bb50012d10cf8006e52ee0001300ad2a..."} 
[2026-09-07 22:21:55] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:55] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756076416,"raw_latitude":115683040,"longitude_deg":75.6076416,"latitude_deg":11.568304,"altitude":19,"angle":173,"satellites":42,"speed":39,"hex_longitude":"2d10cf80","hex_latitude":"06e52ee0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932744960001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402369084798271488,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211116485658943488,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788799794000,"timestamp_ms":1788799794000,"timestamp_seconds":1788799794,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc6bb50"} 
[2026-09-07 22: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-07 22:21: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-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21:55] 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-07 22:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932744960001,"66":27332,"110":206,"81":20480,"24":39,"16":402369084798271488,"45":1211116485658943488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932744960001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402369084798271488,"km_value":402369084798271.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211116485658943488,"description":"Unknown IO ID 45"} 
[2026-09-07 22:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932744960001,"power":27332,"unknown_110":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1211116485658943488}} 
[2026-09-07 22:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:21:55] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:21:55] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:21:55] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc6da90012d10d60006e51288001300a12a..."} 
[2026-09-07 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc6da90012d10d60006e51288001300a12a..."} 
[2026-09-07 22:21:55] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc6da90012d10d60006e51288001300a12a..."} 
[2026-09-07 22:21:55] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:55] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756078080,"raw_latitude":115675784,"longitude_deg":75.607808,"latitude_deg":11.5675784,"altitude":19,"angle":161,"satellites":42,"speed":34,"hex_longitude":"2d10d600","hex_latitude":"06e51288","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932747264001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402369445575524352,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211327591889166336,"note":"Value kept but may cause issues"} 
[2026-09-07 22:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788799802000,"timestamp_ms":1788799802000,"timestamp_seconds":1788799802,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc6da90"} 
[2026-09-07 22: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-07 22:21: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-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:21:55] 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-07 22:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932747264001,"66":27310,"110":206,"81":20480,"24":34,"16":402369445575524352,"45":1211327591889166336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932747264001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402369445575524352,"km_value":402369445575524.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211327591889166336,"description":"Unknown IO ID 45"} 
[2026-09-07 22:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932747264001,"power":27310,"unknown_110":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1211327591889166336}} 
[2026-09-07 22:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:21:55] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:21:55] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:22:13] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:13] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:13] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:22:18] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:18] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:22:18] local.INFO: IMEI packet received {"connection_id":176608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":176608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:22:19] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:19] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:19] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:19] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:19] 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-07 22:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 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-07 22:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:22:19] 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-07 22:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:22:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:22:19] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:22:19] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:22:28] local.INFO: TCP Data received {"connection_id":174096,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc6f9d0012d10e14006e4faa00012009529..."} 
[2026-09-07 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc6f9d0012d10e14006e4faa00012009529..."} 
[2026-09-07 22:22:28] local.INFO: Processing buffer {"connection_id":174096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc6f9d0012d10e14006e4faa00012009529..."} 
[2026-09-07 22:22:28] local.INFO: Packet analysis {"connection_id":174096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:22:28] local.INFO: Extracted packet for processing {"connection_id":174096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc6"} 
[2026-09-07 22:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756080960,"raw_latitude":115669664,"longitude_deg":75.608096,"latitude_deg":11.5669664,"altitude":18,"angle":149,"satellites":41,"speed":34,"hex_longitude":"2d10e140","hex_latitude":"06e4faa0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932749312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402369771993038848,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213157179235928064,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1788799810000,"timestamp_ms":1788799810000,"timestamp_seconds":1788799810,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc6f9d0"} 
[2026-09-07 22: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-07 22:22: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-07 22:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":174096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":174096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22:28] 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-07 22:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932749312001,"66":27365,"110":206,"81":20480,"24":34,"16":402369771993038848,"45":1213157179235928064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932749312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:22:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:22:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402369771993038848,"km_value":402369771993038.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213157179235928064,"description":"Unknown IO ID 45"} 
[2026-09-07 22:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932749312001,"power":27365,"unknown_110":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1213157179235928064}} 
[2026-09-07 22:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":174096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:22:28] local.INFO: GPS data processed {"connection_id":174096,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:22:28] local.INFO: Acknowledgment sent {"connection_id":174096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:22:45] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:45] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:45] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:22:50] local.INFO: TCP Data received {"connection_id":176608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:50] local.INFO: Processing buffer {"connection_id":176608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:22:50] local.INFO: Packet analysis {"connection_id":176608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:50] local.INFO: Extracted packet for processing {"connection_id":176608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 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-07 22:22:50] 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-07 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:22:50] 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-07 22:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:22:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":176608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:22:50] local.INFO: GPS data processed {"connection_id":176608,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:22:50] local.INFO: Acknowledgment sent {"connection_id":176608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:22:50] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:50] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:22:50] local.INFO: IMEI packet received {"connection_id":175196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":175196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:22:51] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc720e0012d10f58006e4da200010009327..."} 
[2026-09-07 22:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc720e0012d10f58006e4da200010009327..."} 
[2026-09-07 22:22:51] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc720e0012d10f58006e4da200010009327..."} 
[2026-09-07 22:22:51] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:51] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756086144,"raw_latitude":115661344,"longitude_deg":75.6086144,"latitude_deg":11.5661344,"altitude":16,"angle":147,"satellites":39,"speed":41,"hex_longitude":"2d10f580","hex_latitude":"06e4da20","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932751360001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402370244439441408,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1216323772722356224,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788799820000,"timestamp_ms":1788799820000,"timestamp_seconds":1788799820,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc720e0"} 
[2026-09-07 22: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-07 22:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:22:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22: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-07 22:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932751360001,"66":27169,"110":206,"81":20480,"24":41,"16":402370244439441408,"45":1216323772722356224},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932751360001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:22:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:22:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402370244439441408,"km_value":402370244439441.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1216323772722356224,"description":"Unknown IO ID 45"} 
[2026-09-07 22:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932751360001,"power":27169,"unknown_110":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1216323772722356224}} 
[2026-09-07 22:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:22:51] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:22:51] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:22:54] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc74408012d11068006e4bbb00011009a27..."} 
[2026-09-07 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc74408012d11068006e4bbb00011009a27..."} 
[2026-09-07 22:22:54] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc74408012d11068006e4bbb00011009a27..."} 
[2026-09-07 22:22:54] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:54] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":756090496,"raw_latitude":115653552,"longitude_deg":75.6090496,"latitude_deg":11.5653552,"altitude":17,"angle":154,"satellites":39,"speed":38,"hex_longitude":"2d110680","hex_latitude":"06e4bbb0","is_valid_coordinates":true} 
[2026-09-07 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-07 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932753920001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402370673936171008,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222023640998617088,"note":"Value kept but may cause issues"} 
[2026-09-07 22:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788799829000,"timestamp_ms":1788799829000,"timestamp_seconds":1788799829,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc74408"} 
[2026-09-07 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-07 22:22: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-07 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 22:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:22:54] 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-07 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932753920001,"66":27300,"112":206,"81":20480,"24":38,"16":402370673936171008,"45":1222023640998617088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932753920001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:22:54] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 22:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402370673936171008,"km_value":402370673936171.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222023640998617088,"description":"Unknown IO ID 45"} 
[2026-09-07 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932753920001,"power":27300,"unknown_112":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1222023640998617088}} 
[2026-09-07 22:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:22:54] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:22:54] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:23:12] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:12] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:12] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:23:17] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:17] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:23:17] local.INFO: IMEI packet received {"connection_id":174099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":174099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:23:18] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:18] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:18] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:18] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 22: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-07 22:23:18] 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-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:23:18] 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-07 22:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:23:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:23:18] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:23:18] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:23:26] local.INFO: TCP Data received {"connection_id":175196,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc76b18012d11138006e498b8001100a02b..."} 
[2026-09-07 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc76b18012d11138006e498b8001100a02b..."} 
[2026-09-07 22:23:26] local.INFO: Processing buffer {"connection_id":175196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc76b18012d11138006e498b8001100a02b..."} 
[2026-09-07 22:23:26] local.INFO: Packet analysis {"connection_id":175196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:26] local.INFO: Extracted packet for processing {"connection_id":175196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756093824,"raw_latitude":115644600,"longitude_deg":75.6093824,"latitude_deg":11.56446,"altitude":17,"angle":160,"satellites":43,"speed":39,"hex_longitude":"2d111380","hex_latitude":"06e498b8","is_valid_coordinates":true} 
[2026-09-07 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932756224001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402371137792638976,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1226808715600703488,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788799839000,"timestamp_ms":1788799839000,"timestamp_seconds":1788799839,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc76b18"} 
[2026-09-07 22:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:23: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-07 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:23: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-07 22:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932756224001,"66":27365,"112":206,"81":20480,"24":39,"16":402371137792638976,"45":1226808715600703488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-09-07 22:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932756224001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:23:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-09-07 22:23:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402371137792638976,"km_value":402371137792639.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1226808715600703488,"description":"Unknown IO ID 45"} 
[2026-09-07 22:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932756224001,"power":27365,"unknown_112":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1226808715600703488}} 
[2026-09-07 22:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":175196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:23:26] local.INFO: GPS data processed {"connection_id":175196,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:23:26] local.INFO: Acknowledgment sent {"connection_id":175196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:23:43] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:43] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:43] local.INFO: IMEI packet received {"connection_id":176609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":176609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:23:47] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:47] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:23:47] local.INFO: IMEI packet received {"connection_id":176609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":176609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:23:48] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc93bf0012d11704006e31c30001600a52a..."} 
[2026-09-07 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc93bf0012d11704006e31c30001600a52a..."} 
[2026-09-07 22:23:48] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc93bf0012d11704006e31c30001600a52a..."} 
[2026-09-07 22:23:48] local.INFO: Packet analysis {"connection_id":176609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:23:48] local.INFO: Extracted packet for processing {"connection_id":176609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756117568,"raw_latitude":115547184,"longitude_deg":75.6117568,"latitude_deg":11.5547184,"altitude":22,"angle":165,"satellites":42,"speed":35,"hex_longitude":"2d117040","hex_latitude":"06e31c30","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932786432001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402376046940258304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1254534000781737984,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788799958000,"timestamp_ms":1788799958000,"timestamp_seconds":1788799958,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc93bf0"} 
[2026-09-07 22: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-07 22:23: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-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":176609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:23: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-07 22:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932786432001,"66":27376,"110":206,"81":20480,"24":35,"16":402376046940258304,"45":1254534000781737984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,81,24,16,45]} 
[2026-09-07 22:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932786432001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:23:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-09-07 22:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402376046940258304,"km_value":402376046940258.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1254534000781737984,"description":"Unknown IO ID 45"} 
[2026-09-07 22:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932786432001,"power":27376,"unknown_110":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1254534000781737984}} 
[2026-09-07 22:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":176609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:23:48] local.INFO: GPS data processed {"connection_id":176609,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:23:48] local.INFO: Acknowledgment sent {"connection_id":176609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:23:49] local.INFO: TCP Data received {"connection_id":174099,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:49] local.INFO: Processing buffer {"connection_id":174099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:23:49] local.INFO: Packet analysis {"connection_id":174099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:49] local.INFO: Extracted packet for processing {"connection_id":174099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 22: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-07 22:23:49] 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-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:23:49] 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-07 22:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:23:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:23:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:23:49] local.INFO: GPS data processed {"connection_id":174099,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:23:49] local.INFO: Acknowledgment sent {"connection_id":174099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:24:12] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:12] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:12] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:24:18] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:18] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:24:18] local.INFO: IMEI packet received {"connection_id":176610,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":176610,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:24:19] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:19] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:19] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:24:19] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:19] 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-07 22:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 22: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-07 22:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:24:19] 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-07 22:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:24:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:24:19] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:24:19] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:24:23] local.INFO: TCP Data received {"connection_id":176609,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc966e8012d117c8006e2f8b80013009f28..."} 
[2026-09-07 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc966e8012d117c8006e2f8b80013009f28..."} 
[2026-09-07 22:24:23] local.INFO: Processing buffer {"connection_id":176609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc966e8012d117c8006e2f8b80013009f28..."} 
[2026-09-07 22:24:23] local.INFO: Packet analysis {"connection_id":176609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:24:23] local.INFO: Extracted packet for processing {"connection_id":176609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756120704,"raw_latitude":115538104,"longitude_deg":75.6120704,"latitude_deg":11.5538104,"altitude":19,"angle":159,"satellites":40,"speed":32,"hex_longitude":"2d117c80","hex_latitude":"06e2f8b8","is_valid_coordinates":true} 
[2026-09-07 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-07 22:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932789248001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402376510796726272,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1256574694360625152,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788799969000,"timestamp_ms":1788799969000,"timestamp_seconds":1788799969,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc966e8"} 
[2026-09-07 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-07 22:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":176609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":176609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:24: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-07 22:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932789248001,"66":27332,"108":206,"81":20480,"24":32,"16":402376510796726272,"45":1256574694360625152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 22:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932789248001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:24:23] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 22:24:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402376510796726272,"km_value":402376510796726.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1256574694360625152,"description":"Unknown IO ID 45"} 
[2026-09-07 22:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932789248001,"power":27332,"unknown_108":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1256574694360625152}} 
[2026-09-07 22:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":176609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:24:23] local.INFO: GPS data processed {"connection_id":176609,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:24:23] local.INFO: Acknowledgment sent {"connection_id":176609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:24:43] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:43] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:43] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:24:49] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:49] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:24:49] local.INFO: IMEI packet received {"connection_id":174100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":174100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:24:50] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc991e0012d11880006e2d4c0001100a52a..."} 
[2026-09-07 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc991e0012d11880006e2d4c0001100a52a..."} 
[2026-09-07 22:24:50] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc991e0012d11880006e2d4c0001100a52a..."} 
[2026-09-07 22:24:50] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:24:50] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756123648,"raw_latitude":115528896,"longitude_deg":75.6123648,"latitude_deg":11.5528896,"altitude":17,"angle":165,"satellites":42,"speed":37,"hex_longitude":"2d118800","hex_latitude":"06e2d4c0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932792064001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402376978948161536,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260022762823006208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799980000,"timestamp_ms":1788799980000,"timestamp_seconds":1788799980,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc991e0"} 
[2026-09-07 22: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-07 22:24: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-07 22:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:24:50] 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-07 22:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932792064001,"66":27321,"108":206,"81":20480,"24":37,"16":402376978948161536,"45":1260022762823006208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932792064001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402376978948161536,"km_value":402376978948161.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260022762823006208,"description":"Unknown IO ID 45"} 
[2026-09-07 22:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932792064001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1260022762823006208}} 
[2026-09-07 22:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:24:50] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:24:50] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:24:50] local.INFO: TCP Data received {"connection_id":176610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:50] local.INFO: Processing buffer {"connection_id":176610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:24:50] local.INFO: Packet analysis {"connection_id":176610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:24:50] local.INFO: Extracted packet for processing {"connection_id":176610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 22: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-07 22:24:50] 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-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176610,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:24:50] 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-07 22:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":176610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:24:50] local.INFO: GPS data processed {"connection_id":176610,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:24:50] local.INFO: Acknowledgment sent {"connection_id":176610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:25:17] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:17] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:17] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:25:21] local.INFO: TCP Data received {"connection_id":174100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc9b508012d118d8006e2b0f8000e00af2a..."} 
[2026-09-07 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc9b508012d118d8006e2b0f8000e00af2a..."} 
[2026-09-07 22:25:21] local.INFO: Processing buffer {"connection_id":174100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc9b508012d118d8006e2b0f8000e00af2a..."} 
[2026-09-07 22:25:21] local.INFO: Packet analysis {"connection_id":174100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:25:21] local.INFO: Extracted packet for processing {"connection_id":174100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc9"} 
[2026-09-07 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756125056,"raw_latitude":115519736,"longitude_deg":75.6125056,"latitude_deg":11.5519736,"altitude":14,"angle":175,"satellites":42,"speed":43,"hex_longitude":"2d118d80","hex_latitude":"06e2b0f8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932794880001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402377429919727616,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263259725052821504,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788799989000,"timestamp_ms":1788799989000,"timestamp_seconds":1788799989,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc9b508"} 
[2026-09-07 22: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-07 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25: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-07 22:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932794880001,"66":27321,"108":206,"81":20480,"24":43,"16":402377429919727616,"45":1263259725052821504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-09-07 22:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932794880001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:25:21] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-09-07 22:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402377429919727616,"km_value":402377429919727.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263259725052821504,"description":"Unknown IO ID 45"} 
[2026-09-07 22:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932794880001,"power":27321,"unknown_108":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1263259725052821504}} 
[2026-09-07 22:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":174100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:25:21] local.INFO: GPS data processed {"connection_id":174100,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:25:21] local.INFO: Acknowledgment sent {"connection_id":174100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:25:23] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:23] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:25:23] local.INFO: IMEI packet received {"connection_id":175198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":175198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:25:23] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:23] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:23] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:25:23] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 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-07 22:25: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-07 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":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:25:23] 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-07 22:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:25:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:25:24] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:25:24] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:25:43] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:43] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:43] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:25:49] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:49] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:49] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:25:50] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:50] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:25:50] local.INFO: IMEI packet received {"connection_id":173852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":173852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:25:51] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccb3ba8012d11bb0006e12440000c009f29..."} 
[2026-09-07 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccb3ba8012d11bb0006e12440000c009f29..."} 
[2026-09-07 22:25:51] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccb3ba8012d11bb0006e12440000c009f29..."} 
[2026-09-07 22:25:51] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:25:51] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756136704,"raw_latitude":115418176,"longitude_deg":75.6136704,"latitude_deg":11.5418176,"altitude":12,"angle":159,"satellites":41,"speed":40,"hex_longitude":"2d11bb00","hex_latitude":"06e12440","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932820480001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402382463621398528,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1273955774141657088,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788800089000,"timestamp_ms":1788800089000,"timestamp_seconds":1788800089,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccb3ba8"} 
[2026-09-07 22: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-07 22:25: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-07 22:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25: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-07 22:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932820480001,"66":27365,"98":206,"81":20480,"24":40,"16":402382463621398528,"45":1273955774141657088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-07 22:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932820480001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:25:51] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 22:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402382463621398528,"km_value":402382463621398.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1273955774141657088,"description":"Unknown IO ID 45"} 
[2026-09-07 22:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932820480001,"power":27365,"unknown_98":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1273955774141657088}} 
[2026-09-07 22:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:25:51] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:25:51] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:25:54] local.INFO: TCP Data received {"connection_id":175198,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:54] local.INFO: Processing buffer {"connection_id":175198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cc7a1c8012d7e380005d34e180005004627..."} 
[2026-09-07 22:25:54] local.INFO: Packet analysis {"connection_id":175198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:25:54] local.INFO: Extracted packet for processing {"connection_id":175198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cc7"} 
[2026-09-07 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 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-07 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932685312001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788799853000,"timestamp_ms":1788799853000,"timestamp_seconds":1788799853,"priority":1,"record_length":96,"hex_timestamp":"000001a07cc7a1c8"} 
[2026-09-07 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-07 22:25: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-07 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":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:25:54] 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-07 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932685312001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932685312001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932685312001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:25:54] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccb62b8012d11c5c006e0fdd0000b00a72a..."} 
[2026-09-07 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccb62b8012d11c5c006e0fdd0000b00a72a..."} 
[2026-09-07 22:25:54] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccb62b8012d11c5c006e0fdd0000b00a72a..."} 
[2026-09-07 22:25:54] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:25:54] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756139456,"raw_latitude":115408336,"longitude_deg":75.6139456,"latitude_deg":11.5408336,"altitude":11,"angle":167,"satellites":42,"speed":41,"hex_longitude":"2d11c5c0","hex_latitude":"06e0fdd0","is_valid_coordinates":true} 
[2026-09-07 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-07 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932822784001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402382957542637568,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1277614948836720640,"note":"Value kept but may cause issues"} 
[2026-09-07 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800099000,"timestamp_ms":1788800099000,"timestamp_seconds":1788800099,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccb62b8"} 
[2026-09-07 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-07 22:25: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-07 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:25:54] 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-07 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932822784001,"66":27365,"98":206,"81":20480,"24":41,"16":402382957542637568,"45":1277614948836720640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-07 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932822784001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402382957542637568,"km_value":402382957542637.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1277614948836720640,"description":"Unknown IO ID 45"} 
[2026-09-07 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932822784001,"power":27365,"unknown_98":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1277614948836720640}} 
[2026-09-07 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":175198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:25:54] local.INFO: GPS data processed {"connection_id":175198,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:25:54] local.INFO: Acknowledgment sent {"connection_id":175198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:25:54] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:25:54] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:26:13] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:13] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:13] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:26:17] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:17] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:26:17] local.INFO: IMEI packet received {"connection_id":173854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":173854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:26:18] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:18] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:18] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:26:18] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:26:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:26:18] 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-07 22:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:26:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:26:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:26:18] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:26:18] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:26:26] local.INFO: TCP Data received {"connection_id":173852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccb85e0012d11ca8006e0d9c8000c00ad2b..."} 
[2026-09-07 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccb85e0012d11ca8006e0d9c8000c00ad2b..."} 
[2026-09-07 22:26:26] local.INFO: Processing buffer {"connection_id":173852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccb85e0012d11ca8006e0d9c8000c00ad2b..."} 
[2026-09-07 22:26:26] local.INFO: Packet analysis {"connection_id":173852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:26:26] local.INFO: Extracted packet for processing {"connection_id":173852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756140672,"raw_latitude":115399112,"longitude_deg":75.6140672,"latitude_deg":11.5399112,"altitude":12,"angle":173,"satellites":43,"speed":40,"hex_longitude":"2d11ca80","hex_latitude":"06e0d9c8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932825344001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402383408514203648,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1280640804833841152,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788800108000,"timestamp_ms":1788800108000,"timestamp_seconds":1788800108,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccb85e0"} 
[2026-09-07 22: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-07 22: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-07 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":173852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":173852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:26: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-07 22:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932825344001,"66":27300,"98":206,"81":20480,"24":40,"16":402383408514203648,"45":1280640804833841152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-09-07 22:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932825344001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:26:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-09-07 22:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402383408514203648,"km_value":402383408514203.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1280640804833841152,"description":"Unknown IO ID 45"} 
[2026-09-07 22:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932825344001,"power":27300,"unknown_98":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1280640804833841152}} 
[2026-09-07 22:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":173852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:26:26] local.INFO: GPS data processed {"connection_id":173852,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:26:26] local.INFO: Acknowledgment sent {"connection_id":173852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:26:43] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:43] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:43] local.INFO: IMEI packet received {"connection_id":175199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":175199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:26:48] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:48] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:26:48] local.INFO: IMEI packet received {"connection_id":175199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":175199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:26:48] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccba908012d11ce4006e0b638000d00ae29..."} 
[2026-09-07 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccba908012d11ce4006e0b638000d00ae29..."} 
[2026-09-07 22:26:48] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccba908012d11ce4006e0b638000d00ae29..."} 
[2026-09-07 22:26:48] local.INFO: Packet analysis {"connection_id":175199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:26:48] local.INFO: Extracted packet for processing {"connection_id":175199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756141632,"raw_latitude":115390008,"longitude_deg":75.6141632,"latitude_deg":11.5390008,"altitude":13,"angle":174,"satellites":41,"speed":40,"hex_longitude":"2d11ce40","hex_latitude":"06e0b638","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932827648001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402383855190802432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1281977810970855424,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788800117000,"timestamp_ms":1788800117000,"timestamp_seconds":1788800117,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccba908"} 
[2026-09-07 22: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-07 22:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:26: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-07 22:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932827648001,"66":27169,"232":206,"81":20480,"24":40,"16":402383855190802432,"45":1281977810970855424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 22:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932827648001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:26:48] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 22:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402383855190802432,"km_value":402383855190802.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1281977810970855424,"description":"Unknown IO ID 45"} 
[2026-09-07 22:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932827648001,"power":27169,"unknown_232":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1281977810970855424}} 
[2026-09-07 22:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":175199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:26:48] local.INFO: GPS data processed {"connection_id":175199,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:26:48] local.INFO: Acknowledgment sent {"connection_id":175199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:26:49] local.INFO: TCP Data received {"connection_id":173854,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:49] local.INFO: Processing buffer {"connection_id":173854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:26:49] local.INFO: Packet analysis {"connection_id":173854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:26:49] local.INFO: Extracted packet for processing {"connection_id":173854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:26:49] 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-07 22:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:26:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":173854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:26:49] local.INFO: GPS data processed {"connection_id":173854,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:26:49] local.INFO: Acknowledgment sent {"connection_id":173854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:27:11] local.INFO: TCP Data received {"connection_id":173855,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:27:11] local.INFO: Processing buffer {"connection_id":173855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:27:11] local.INFO: IMEI packet received {"connection_id":173855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":173855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:27:12] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:12] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:12] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:27:17] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:17] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:27:17] local.INFO: IMEI packet received {"connection_id":176611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":176611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:27:18] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:18] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:18] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:27:18] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:27:18] 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-07 22:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:27:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:27:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:27:18] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:27:18] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:27:23] local.INFO: TCP Data received {"connection_id":175199,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccbcc30012d11d28006e093a0000e00a928..."} 
[2026-09-07 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccbcc30012d11d28006e093a0000e00a928..."} 
[2026-09-07 22:27:23] local.INFO: Processing buffer {"connection_id":175199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccbcc30012d11d28006e093a0000e00a928..."} 
[2026-09-07 22:27:23] local.INFO: Packet analysis {"connection_id":175199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:27:23] local.INFO: Extracted packet for processing {"connection_id":175199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756142720,"raw_latitude":115381152,"longitude_deg":75.614272,"latitude_deg":11.5381152,"altitude":14,"angle":169,"satellites":40,"speed":39,"hex_longitude":"2d11d280","hex_latitude":"06e093a0","is_valid_coordinates":true} 
[2026-09-07 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-07 22:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932829952001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402384284687532032,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283033342131189760,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788800126000,"timestamp_ms":1788800126000,"timestamp_seconds":1788800126,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccbcc30"} 
[2026-09-07 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-07 22:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-07 22:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:27: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-07 22:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932829952001,"66":27213,"232":206,"81":20480,"24":39,"16":402384284687532032,"45":1283033342131189760},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 22:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932829952001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:27:23] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 22:27:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402384284687532032,"km_value":402384284687532.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283033342131189760,"description":"Unknown IO ID 45"} 
[2026-09-07 22:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932829952001,"power":27213,"unknown_232":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1283033342131189760}} 
[2026-09-07 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":175199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:27:23] local.INFO: GPS data processed {"connection_id":175199,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:27:23] local.INFO: Acknowledgment sent {"connection_id":175199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:27:43] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:43] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:43] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:27:49] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:49] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:27:49] local.INFO: IMEI packet received {"connection_id":175200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":175200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:27:49] local.INFO: TCP Data received {"connection_id":176611,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:49] local.INFO: Processing buffer {"connection_id":176611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:27:49] local.INFO: Packet analysis {"connection_id":176611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:27:49] local.INFO: Extracted packet for processing {"connection_id":176611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:27:49] 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-07 22:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:27:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:27:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":176611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:27:49] local.INFO: GPS data processed {"connection_id":176611,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:27:49] local.INFO: Acknowledgment sent {"connection_id":176611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:27:52] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccbef58012d11da0006e07190000f00a42a..."} 
[2026-09-07 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccbef58012d11da0006e07190000f00a42a..."} 
[2026-09-07 22:27:52] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccbef58012d11da0006e07190000f00a42a..."} 
[2026-09-07 22:27:52] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:27:52] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccb"} 
[2026-09-07 22:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756144640,"raw_latitude":115372432,"longitude_deg":75.614464,"latitude_deg":11.5372432,"altitude":15,"angle":164,"satellites":42,"speed":41,"hex_longitude":"2d11da00","hex_latitude":"06e07190","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932832256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402384718479228928,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1284229610779942912,"note":"Value kept but may cause issues"} 
[2026-09-07 22:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788800135000,"timestamp_ms":1788800135000,"timestamp_seconds":1788800135,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccbef58"} 
[2026-09-07 22: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-07 22:27: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-07 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:27:52] 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-07 22:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932832256001,"66":27267,"232":206,"81":20480,"24":41,"16":402384718479228928,"45":1284229610779942912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-09-07 22:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932832256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:27:52] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-09-07 22:27:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402384718479228928,"km_value":402384718479228.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1284229610779942912,"description":"Unknown IO ID 45"} 
[2026-09-07 22:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932832256001,"power":27267,"unknown_232":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1284229610779942912}} 
[2026-09-07 22:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:27:52] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:27:52] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:28:13] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:13] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:13] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:28:18] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:18] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:28:18] local.INFO: IMEI packet received {"connection_id":176612,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":176612,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:28:19] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:19] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:19] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:28:19] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:28:19] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:19] 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-07 22:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:28:19] 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-07 22:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:28:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:28:19] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:28:19] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:28:40] local.INFO: TCP Data received {"connection_id":175200,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccd6658012d12358006dee718001100a62c..."} 
[2026-09-07 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccd6658012d12358006dee718001100a62c..."} 
[2026-09-07 22:28:40] local.INFO: Processing buffer {"connection_id":175200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccd6658012d12358006dee718001100a62c..."} 
[2026-09-07 22:28:40] local.INFO: Packet analysis {"connection_id":175200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:28:40] local.INFO: Extracted packet for processing {"connection_id":175200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756168064,"raw_latitude":115271448,"longitude_deg":75.6168064,"latitude_deg":11.5271448,"altitude":17,"angle":166,"satellites":44,"speed":44,"hex_longitude":"2d123580","hex_latitude":"06dee718","is_valid_coordinates":true} 
[2026-09-07 22:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932857088001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402389747885932544,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309914202378944512,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1788800231000,"timestamp_ms":1788800231000,"timestamp_seconds":1788800231,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccd6658"} 
[2026-09-07 22:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":175200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":175200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932857088001,"66":27289,"231":206,"81":20480,"24":44,"16":402389747885932544,"45":1309914202378944512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 22:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932857088001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:28:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 22:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402389747885932544,"km_value":402389747885932.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309914202378944512,"description":"Unknown IO ID 45"} 
[2026-09-07 22:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932857088001,"power":27289,"unknown_231":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1309914202378944512}} 
[2026-09-07 22:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":175200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:28:40] local.INFO: GPS data processed {"connection_id":175200,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:28:40] local.INFO: Acknowledgment sent {"connection_id":175200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:28:43] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:43] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:43] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:28:49] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:49] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:28:49] local.INFO: IMEI packet received {"connection_id":176613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":176613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:28:49] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccd8980012d12400006dec218001000a12c..."} 
[2026-09-07 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccd8980012d12400006dec218001000a12c..."} 
[2026-09-07 22:28:49] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccd8980012d12400006dec218001000a12c..."} 
[2026-09-07 22:28:49] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:28:49] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756170752,"raw_latitude":115261976,"longitude_deg":75.6170752,"latitude_deg":11.5261976,"altitude":16,"angle":161,"satellites":44,"speed":42,"hex_longitude":"2d124000","hex_latitude":"06dec218","is_valid_coordinates":true} 
[2026-09-07 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932859136001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402390224627302400,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1312095633446213632,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800240000,"timestamp_ms":1788800240000,"timestamp_seconds":1788800240,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccd8980"} 
[2026-09-07 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:28: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-07 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:28:49] 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-07 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932859136001,"66":27343,"231":206,"81":20480,"24":42,"16":402390224627302400,"45":1312095633446213632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932859136001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:28:49] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 22:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402390224627302400,"km_value":402390224627302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1312095633446213632,"description":"Unknown IO ID 45"} 
[2026-09-07 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932859136001,"power":27343,"unknown_231":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1312095633446213632}} 
[2026-09-07 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:28:49] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:28:49] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:28:50] local.INFO: TCP Data received {"connection_id":176612,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:50] local.INFO: Processing buffer {"connection_id":176612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:28:50] local.INFO: Packet analysis {"connection_id":176612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:28:50] local.INFO: Extracted packet for processing {"connection_id":176612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:28:50] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176612,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:28:50] 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-07 22:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:28:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":176612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:28:50] local.INFO: GPS data processed {"connection_id":176612,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:28:50] local.INFO: Acknowledgment sent {"connection_id":176612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:29:12] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:12] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:12] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:29:18] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:18] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:29:18] local.INFO: IMEI packet received {"connection_id":173857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":173857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:29:20] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:20] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:20] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:29:20] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:20] 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-07 22:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:29: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-07 22:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:29:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:29:20] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:29:20] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:29:21] local.INFO: TCP Data received {"connection_id":176613,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccdb478012d124ac006de9f98000f00a22b..."} 
[2026-09-07 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccdb478012d124ac006de9f98000f00a22b..."} 
[2026-09-07 22:29:21] local.INFO: Processing buffer {"connection_id":176613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccdb478012d124ac006de9f98000f00a22b..."} 
[2026-09-07 22:29:21] local.INFO: Packet analysis {"connection_id":176613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:29:21] local.INFO: Extracted packet for processing {"connection_id":176613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756173504,"raw_latitude":115253144,"longitude_deg":75.6173504,"latitude_deg":11.5253144,"altitude":15,"angle":162,"satellites":43,"speed":24,"hex_longitude":"2d124ac0","hex_latitude":"06de9f98","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932861440001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402390671303901184,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1315051120699250688,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788800251000,"timestamp_ms":1788800251000,"timestamp_seconds":1788800251,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccdb478"} 
[2026-09-07 22: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-07 22:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29: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-07 22:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932861440001,"66":27365,"231":206,"81":20480,"24":24,"16":402390671303901184,"45":1315051120699250688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 22:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932861440001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:29:21] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 22:29:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402390671303901184,"km_value":402390671303901.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1315051120699250688,"description":"Unknown IO ID 45"} 
[2026-09-07 22:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932861440001,"power":27365,"unknown_231":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":1315051120699250688}} 
[2026-09-07 22:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":176613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:29:21] local.INFO: GPS data processed {"connection_id":176613,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:29:21] local.INFO: Acknowledgment sent {"connection_id":176613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:29:49] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:49] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:49] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:29:51] local.INFO: TCP Data received {"connection_id":173857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:51] local.INFO: Processing buffer {"connection_id":173857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:29:51] local.INFO: Packet analysis {"connection_id":173857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:29:51] local.INFO: Extracted packet for processing {"connection_id":173857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:51] 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-07 22:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22: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-07 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":173857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":173857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":173857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:29:51] 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-07 22:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:29:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":173857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:29:51] local.INFO: GPS data processed {"connection_id":173857,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:29:51] local.INFO: Acknowledgment sent {"connection_id":173857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:29:52] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:52] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:29:52] local.INFO: IMEI packet received {"connection_id":174101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":174101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:29:53] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccdfac8012d12564006de7d50000f00a22c..."} 
[2026-09-07 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccdfac8012d12564006de7d50000f00a22c..."} 
[2026-09-07 22:29:53] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccdfac8012d12564006de7d50000f00a22c..."} 
[2026-09-07 22:29:53] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:29:53] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccd"} 
[2026-09-07 22:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756176448,"raw_latitude":115244368,"longitude_deg":75.6176448,"latitude_deg":11.5244368,"altitude":15,"angle":162,"satellites":44,"speed":21,"hex_longitude":"2d125640","hex_latitude":"06de7d50","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932864256001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402391122275467264,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1318076976696629248,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788800269000,"timestamp_ms":1788800269000,"timestamp_seconds":1788800269,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccdfac8"} 
[2026-09-07 22: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-07 22:29: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-07 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29:53] 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-07 22:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932864256001,"66":27310,"231":206,"81":20480,"24":21,"16":402391122275467264,"45":1318076976696629248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 22:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932864256001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:29:53] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 22:29:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402391122275467264,"km_value":402391122275467.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1318076976696629248,"description":"Unknown IO ID 45"} 
[2026-09-07 22:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932864256001,"power":27310,"unknown_231":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":1318076976696629248}} 
[2026-09-07 22:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:29:53] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:29:53] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:29:54] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cce29a8012d125e0006de5b60000f00a82c..."} 
[2026-09-07 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cce29a8012d125e0006de5b60000f00a82c..."} 
[2026-09-07 22:29:54] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cce29a8012d125e0006de5b60000f00a82c..."} 
[2026-09-07 22:29:54] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cce"} 
[2026-09-07 22:29:54] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cce"} 
[2026-09-07 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756178432,"raw_latitude":115235680,"longitude_deg":75.6178432,"latitude_deg":11.523568,"altitude":15,"angle":168,"satellites":44,"speed":34,"hex_longitude":"2d125e00","hex_latitude":"06de5b60","is_valid_coordinates":true} 
[2026-09-07 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-07 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932868864001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402391551772196864,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1321313938926555136,"note":"Value kept but may cause issues"} 
[2026-09-07 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800281000,"timestamp_ms":1788800281000,"timestamp_seconds":1788800281,"priority":1,"record_length":96,"hex_timestamp":"000001a07cce29a8"} 
[2026-09-07 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-07 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:29:54] 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-07 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932868864001,"66":27234,"231":206,"81":20480,"24":34,"16":402391551772196864,"45":1321313938926555136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932868864001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:29:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 22:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402391551772196864,"km_value":402391551772196.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1321313938926555136,"description":"Unknown IO ID 45"} 
[2026-09-07 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932868864001,"power":27234,"unknown_231":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1321313938926555136}} 
[2026-09-07 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:29:54] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:29:54] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:30:12] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:12] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:12] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-07 22:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:30:17] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:17] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-07 22:30:17] local.INFO: IMEI packet received {"connection_id":176614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-07 22:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":176614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:30:18] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:18] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:18] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:30:18] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:30:18] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:30:18] 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-07 22:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:30:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:30:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:30:18] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:30:18] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:30:27] local.INFO: TCP Data received {"connection_id":174101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cce54a0012d1264c006de3748001000aa2a..."} 
[2026-09-07 22:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cce54a0012d1264c006de3748001000aa2a..."} 
[2026-09-07 22:30:27] local.INFO: Processing buffer {"connection_id":174101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cce54a0012d1264c006de3748001000aa2a..."} 
[2026-09-07 22:30:27] local.INFO: Packet analysis {"connection_id":174101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cce"} 
[2026-09-07 22:30:27] local.INFO: Extracted packet for processing {"connection_id":174101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cce"} 
[2026-09-07 22:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756180160,"raw_latitude":115226440,"longitude_deg":75.618016,"latitude_deg":11.522644,"altitude":16,"angle":170,"satellites":42,"speed":31,"hex_longitude":"2d1264c0","hex_latitude":"06de3748","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932871936001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402392011333697536,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1323495369993838592,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788800292000,"timestamp_ms":1788800292000,"timestamp_seconds":1788800292,"priority":1,"record_length":96,"hex_timestamp":"000001a07cce54a0"} 
[2026-09-07 22: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-07 22:30: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-07 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:30:27] 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-07 22:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932871936001,"66":27300,"162":206,"81":20480,"24":31,"16":402392011333697536,"45":1323495369993838592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,81,24,16,45]} 
[2026-09-07 22:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932871936001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:30:27] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-09-07 22:30:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402392011333697536,"km_value":402392011333697.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1323495369993838592,"description":"Unknown IO ID 45"} 
[2026-09-07 22:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932871936001,"power":27300,"unknown_162":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1323495369993838592}} 
[2026-09-07 22:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":174101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:30:27] local.INFO: GPS data processed {"connection_id":174101,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:30:27] local.INFO: Acknowledgment sent {"connection_id":174101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:30:44] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:44] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:44] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:30:45] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:45] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:30:45] local.INFO: IMEI packet received {"connection_id":173859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":173859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:30:46] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccfdb40012d12ec4006dcc4a0001200932c..."} 
[2026-09-07 22:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccfdb40012d12ec4006dcc4a0001200932c..."} 
[2026-09-07 22:30:46] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccfdb40012d12ec4006dcc4a0001200932c..."} 
[2026-09-07 22:30:46] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccf"} 
[2026-09-07 22:30:46] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccf"} 
[2026-09-07 22:30:46] local.INFO: GPS Element Parsed {"raw_longitude":756214848,"raw_latitude":115131552,"longitude_deg":75.6214848,"latitude_deg":11.5131552,"altitude":18,"angle":147,"satellites":44,"speed":43,"hex_longitude":"2d12ec40","hex_latitude":"06dcc4a0","is_valid_coordinates":true} 
[2026-09-07 22:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932898048001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402396963430989824,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1358116792104687616,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1788800392000,"timestamp_ms":1788800392000,"timestamp_seconds":1788800392,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccfdb40"} 
[2026-09-07 22:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:30: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-07 22:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:30: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-07 22:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932898048001,"66":27300,"67":206,"81":20480,"24":43,"16":402396963430989824,"45":1358116792104687616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-09-07 22:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932898048001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:30:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-09-07 22:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402396963430989824,"km_value":402396963430989.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1358116792104687616,"description":"Unknown IO ID 45"} 
[2026-09-07 22:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932898048001,"power":27300,"unknown_67":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1358116792104687616}} 
[2026-09-07 22:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:30:46] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:30:46] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:30:49] local.INFO: TCP Data received {"connection_id":176614,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:49] local.INFO: Processing buffer {"connection_id":176614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccc3990012d7e380005d34e180005004625..."} 
[2026-09-07 22:30:49] local.INFO: Packet analysis {"connection_id":176614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:30:49] local.INFO: Extracted packet for processing {"connection_id":176614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccc"} 
[2026-09-07 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734168,"longitude_deg":76.3246592,"latitude_deg":9.7734168,"altitude":5,"angle":70,"satellites":37,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-09-07 22:30: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-07 22:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932762368001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":129684390019072000,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494663680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800154000,"timestamp_ms":1788800154000,"timestamp_seconds":1788800154,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccc3990"} 
[2026-09-07 22:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-07 22:30: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":183,"data_length":795,"current_offset":136} 
[2026-09-07 22:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:30: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-07 22:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-07 22:30:49] 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-07 22:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-07 22:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-07 22:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932762368001,"66":2231,"109":206,"85":15104,"24":0,"16":129684390019072000,"45":9095019472494663680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-09-07 22:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-07 22:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-07 22:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932762368001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:30:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-09-07 22:30:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-07 22:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":129684390019072000,"km_value":129684390019072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494663680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932762368001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494663680}} 
[2026-09-07 22:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":176614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:30:49] local.INFO: GPS data processed {"connection_id":176614,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:30:49] local.INFO: Acknowledgment sent {"connection_id":176614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:31:18] local.INFO: TCP Data received {"connection_id":173859,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07ccffa80012d12ff4006dca6f8000f00932b..."} 
[2026-09-07 22:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ccffa80012d12ff4006dca6f8000f00932b..."} 
[2026-09-07 22:31:18] local.INFO: Processing buffer {"connection_id":173859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ccffa80012d12ff4006dca6f8000f00932b..."} 
[2026-09-07 22:31:18] local.INFO: Packet analysis {"connection_id":173859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ccf"} 
[2026-09-07 22:31:18] local.INFO: Extracted packet for processing {"connection_id":173859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ccf"} 
[2026-09-07 22:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756219712,"raw_latitude":115123960,"longitude_deg":75.6219712,"latitude_deg":11.512396,"altitude":15,"angle":147,"satellites":43,"speed":46,"hex_longitude":"2d12ff40","hex_latitude":"06dca6f8","is_valid_coordinates":true} 
[2026-09-07 22:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932900352001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402397397222686720,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1363535185404272640,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788800400000,"timestamp_ms":1788800400000,"timestamp_seconds":1788800400,"priority":1,"record_length":96,"hex_timestamp":"000001a07ccffa80"} 
[2026-09-07 22:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932900352001,"66":27343,"65":206,"81":20480,"24":46,"16":402397397222686720,"45":1363535185404272640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-07 22:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932900352001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:31:18] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 22:31:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402397397222686720,"km_value":402397397222686.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1363535185404272640,"description":"Unknown IO ID 45"} 
[2026-09-07 22:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932900352001,"power":27343,"unknown_65":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1363535185404272640}} 
[2026-09-07 22:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":173859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:31:18] local.INFO: GPS data processed {"connection_id":173859,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:31:18] local.INFO: Acknowledgment sent {"connection_id":173859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:31:42] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:42] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:42] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:31:43] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:43] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:43] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:31:49] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:49] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:31:49] local.INFO: IMEI packet received {"connection_id":174102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":174102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:31:49] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd019c0012d13124006dc8920000d00902a..."} 
[2026-09-07 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd019c0012d13124006dc8920000d00902a..."} 
[2026-09-07 22:31:49] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd019c0012d13124006dc8920000d00902a..."} 
[2026-09-07 22:31:49] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:31:49] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756224576,"raw_latitude":115116320,"longitude_deg":75.6224576,"latitude_deg":11.511632,"altitude":13,"angle":144,"satellites":42,"speed":41,"hex_longitude":"2d131240","hex_latitude":"06dc8920","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932902400001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402397835309350912,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1368883209959831552,"note":"Value kept but may cause issues"} 
[2026-09-07 22:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800408000,"timestamp_ms":1788800408000,"timestamp_seconds":1788800408,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd019c0"} 
[2026-09-07 22: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-07 22:31: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-07 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:31:49] 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-07 22:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932902400001,"66":27332,"65":206,"81":20480,"24":41,"16":402397835309350912,"45":1368883209959831552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-07 22:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932902400001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:31:49] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 22:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402397835309350912,"km_value":402397835309350.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1368883209959831552,"description":"Unknown IO ID 45"} 
[2026-09-07 22:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932902400001,"power":27332,"unknown_65":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1368883209959831552}} 
[2026-09-07 22:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:31:49] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:31:49] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:32:20] local.INFO: TCP Data received {"connection_id":174102,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd03ce8012d1325c006dc6a80000e009628..."} 
[2026-09-07 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd03ce8012d1325c006dc6a80000e009628..."} 
[2026-09-07 22:32:20] local.INFO: Processing buffer {"connection_id":174102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd03ce8012d1325c006dc6a80000e009628..."} 
[2026-09-07 22:32:20] local.INFO: Packet analysis {"connection_id":174102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:32:20] local.INFO: Extracted packet for processing {"connection_id":174102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756229568,"raw_latitude":115108480,"longitude_deg":75.6229568,"latitude_deg":11.510848,"altitude":14,"angle":150,"satellites":40,"speed":40,"hex_longitude":"2d1325c0","hex_latitude":"06dc6a80","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932904448001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402398281985949696,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1374231234515378176,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788800417000,"timestamp_ms":1788800417000,"timestamp_seconds":1788800417,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd03ce8"} 
[2026-09-07 22: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-07 22:32: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-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932904448001,"66":27343,"65":206,"81":20480,"24":40,"16":402398281985949696,"45":1374231234515378176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-07 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932904448001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:32:20] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 22:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402398281985949696,"km_value":402398281985949.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1374231234515378176,"description":"Unknown IO ID 45"} 
[2026-09-07 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932904448001,"power":27343,"unknown_65":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1374231234515378176}} 
[2026-09-07 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":174102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:32:20] local.INFO: GPS data processed {"connection_id":174102,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:32:20] local.INFO: Acknowledgment sent {"connection_id":174102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:32:43] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:43] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:43] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:32:45] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:45] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:45] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:32:46] local.INFO: TCP Data received {"connection_id":175203,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:32:46] local.INFO: Processing buffer {"connection_id":175203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:32:46] local.INFO: IMEI packet received {"connection_id":175203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":175203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:32:49] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:49] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:32:49] local.INFO: IMEI packet received {"connection_id":176615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":176615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:32:50] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd063f8012d13374006dc4868000d009c2a..."} 
[2026-09-07 22:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd063f8012d13374006dc4868000d009c2a..."} 
[2026-09-07 22:32:50] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd063f8012d13374006dc4868000d009c2a..."} 
[2026-09-07 22:32:50] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:32:50] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd0"} 
[2026-09-07 22:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756234048,"raw_latitude":115099752,"longitude_deg":75.6234048,"latitude_deg":11.5099752,"altitude":13,"angle":156,"satellites":42,"speed":38,"hex_longitude":"2d133740","hex_latitude":"06dc4868","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932906752001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402398758727319552,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1379719996559228928,"note":"Value kept but may cause issues"} 
[2026-09-07 22:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788800427000,"timestamp_ms":1788800427000,"timestamp_seconds":1788800427,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd063f8"} 
[2026-09-07 22: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-07 22:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:32:50] 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-07 22:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932906752001,"66":27343,"65":206,"81":20480,"24":38,"16":402398758727319552,"45":1379719996559228928},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-09-07 22:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932906752001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:32:50] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-09-07 22:32:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402398758727319552,"km_value":402398758727319.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1379719996559228928,"description":"Unknown IO ID 45"} 
[2026-09-07 22:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932906752001,"power":27343,"unknown_65":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1379719996559228928}} 
[2026-09-07 22:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:32:50] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:32:50] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:33:21] local.INFO: TCP Data received {"connection_id":176615,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd24858012d13aec006dad668000f00b228..."} 
[2026-09-07 22:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd24858012d13aec006dad668000f00b228..."} 
[2026-09-07 22:33:21] local.INFO: Processing buffer {"connection_id":176615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd24858012d13aec006dad668000f00b228..."} 
[2026-09-07 22:33:21] local.INFO: Packet analysis {"connection_id":176615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:33:21] local.INFO: Extracted packet for processing {"connection_id":176615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756264640,"raw_latitude":115005032,"longitude_deg":75.626464,"latitude_deg":11.5005032,"altitude":15,"angle":178,"satellites":40,"speed":32,"hex_longitude":"2d13aec0","hex_latitude":"06dad668","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932937984001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402403633515200512,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418352437088718848,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788800551000,"timestamp_ms":1788800551000,"timestamp_seconds":1788800551,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd24858"} 
[2026-09-07 22: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-07 22:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:33: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-07 22:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932937984001,"66":27267,"152":206,"81":20480,"24":32,"16":402403633515200512,"45":1418352437088718848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 22:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932937984001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:33:21] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 22:33:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402403633515200512,"km_value":402403633515200.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418352437088718848,"description":"Unknown IO ID 45"} 
[2026-09-07 22:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932937984001,"power":27267,"unknown_152":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1418352437088718848}} 
[2026-09-07 22:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":176615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:33:21] local.INFO: GPS data processed {"connection_id":176615,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:33:21] local.INFO: Acknowledgment sent {"connection_id":176615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:33:42] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:42] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:42] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:33:43] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:43] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:43] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:33:49] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:49] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:33:49] local.INFO: IMEI packet received {"connection_id":174103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":174103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:33:49] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:33:49] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:33:49] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:33:49] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756265536,"raw_latitude":114995832,"longitude_deg":75.6265536,"latitude_deg":11.4995832,"altitude":15,"angle":165,"satellites":39,"speed":34,"hex_longitude":"2d13b240","hex_latitude":"06dab278","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932941056001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402404080191799296,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418282068342106112,"note":"Value kept but may cause issues"} 
[2026-09-07 22:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800562000,"timestamp_ms":1788800562000,"timestamp_seconds":1788800562,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd27350"} 
[2026-09-07 22: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-07 22:33: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-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:33:49] 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-07 22:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932941056001,"66":27300,"152":206,"81":20480,"24":34,"16":402404080191799296,"45":1418282068342106112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 22:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932941056001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:33:49] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 22:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402404080191799296,"km_value":402404080191799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418282068342106112,"description":"Unknown IO ID 45"} 
[2026-09-07 22:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932941056001,"power":27300,"unknown_152":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1418282068342106112}} 
[2026-09-07 22:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:33:49] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:33:49] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:34:20] local.INFO: TCP Data received {"connection_id":174103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:34:20] local.INFO: Processing buffer {"connection_id":174103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd27350012d13b24006dab278000f00a527..."} 
[2026-09-07 22:34:20] local.INFO: Packet analysis {"connection_id":174103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:34:20] local.INFO: Extracted packet for processing {"connection_id":174103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756265536,"raw_latitude":114995832,"longitude_deg":75.6265536,"latitude_deg":11.4995832,"altitude":15,"angle":165,"satellites":39,"speed":34,"hex_longitude":"2d13b240","hex_latitude":"06dab278","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932943872001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402404080191799296,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419267230758238208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788800562000,"timestamp_ms":1788800562000,"timestamp_seconds":1788800562,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd27350"} 
[2026-09-07 22: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-07 22:34: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-07 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932943872001,"66":27300,"152":206,"81":20480,"24":34,"16":402404080191799296,"45":1419267230758238208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-09-07 22:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932943872001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:34:20] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-09-07 22:34:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402404080191799296,"km_value":402404080191799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419267230758238208,"description":"Unknown IO ID 45"} 
[2026-09-07 22:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932943872001,"power":27300,"unknown_152":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1419267230758238208}} 
[2026-09-07 22:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":174103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:34:21] local.INFO: GPS data processed {"connection_id":174103,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:34:21] local.INFO: Acknowledgment sent {"connection_id":174103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:34:43] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:43] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:43] local.INFO: IMEI packet received {"connection_id":174104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":174104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:34:49] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:49] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:34:49] local.INFO: IMEI packet received {"connection_id":174104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":174104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:34:49] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd29e48012d13be4006da8f18000d009f28..."} 
[2026-09-07 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd29e48012d13be4006da8f18000d009f28..."} 
[2026-09-07 22:34:49] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd29e48012d13be4006da8f18000d009f28..."} 
[2026-09-07 22:34:49] local.INFO: Packet analysis {"connection_id":174104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:34:49] local.INFO: Extracted packet for processing {"connection_id":174104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756268608,"raw_latitude":114986776,"longitude_deg":75.6268608,"latitude_deg":11.4986776,"altitude":13,"angle":159,"satellites":40,"speed":35,"hex_longitude":"2d13be40","hex_latitude":"06da8f18","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932943872001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402404544048267264,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419267230758238208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800573000,"timestamp_ms":1788800573000,"timestamp_seconds":1788800573,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd29e48"} 
[2026-09-07 22: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-07 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:34:49] 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-07 22:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932943872001,"66":27234,"88":206,"81":20480,"24":35,"16":402404544048267264,"45":1419267230758238208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932943872001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:34:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:34:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402404544048267264,"km_value":402404544048267.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419267230758238208,"description":"Unknown IO ID 45"} 
[2026-09-07 22:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932943872001,"power":27234,"unknown_88":206,"unknown_81":20480,"ignition":35,"odometer":null,"unknown_45":1419267230758238208}} 
[2026-09-07 22:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":174104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:34:49] local.INFO: GPS data processed {"connection_id":174104,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:34:49] local.INFO: Acknowledgment sent {"connection_id":174104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:35:20] local.INFO: TCP Data received {"connection_id":174104,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd2c940012d13cac006da6c08000c00a228..."} 
[2026-09-07 22:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd2c940012d13cac006da6c08000c00a228..."} 
[2026-09-07 22:35:20] local.INFO: Processing buffer {"connection_id":174104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd2c940012d13cac006da6c08000c00a228..."} 
[2026-09-07 22:35:20] local.INFO: Packet analysis {"connection_id":174104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:20] local.INFO: Extracted packet for processing {"connection_id":174104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756271808,"raw_latitude":114977800,"longitude_deg":75.6271808,"latitude_deg":11.49778,"altitude":12,"angle":162,"satellites":40,"speed":33,"hex_longitude":"2d13cac0","hex_latitude":"06da6c08","is_valid_coordinates":true} 
[2026-09-07 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-07 22:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932946688001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402405003609767936,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422644930476447744,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788800584000,"timestamp_ms":1788800584000,"timestamp_seconds":1788800584,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd2c940"} 
[2026-09-07 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-07 22:35: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-07 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932946688001,"66":27463,"88":206,"81":20480,"24":33,"16":402405003609767936,"45":1422644930476447744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932946688001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:35:20] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402405003609767936,"km_value":402405003609767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422644930476447744,"description":"Unknown IO ID 45"} 
[2026-09-07 22:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932946688001,"power":27463,"unknown_88":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1422644930476447744}} 
[2026-09-07 22:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":174104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:35:20] local.INFO: GPS data processed {"connection_id":174104,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:35:20] local.INFO: Acknowledgment sent {"connection_id":174104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:35:43] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:43] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:43] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:35:47] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:47] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:47] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:35:48] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:48] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:35:48] local.INFO: IMEI packet received {"connection_id":174105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":174105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:35:49] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:49] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:49] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:49] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756273792,"raw_latitude":114968776,"longitude_deg":75.6273792,"latitude_deg":11.4968776,"altitude":14,"angle":173,"satellites":40,"speed":31,"hex_longitude":"2d13d280","hex_latitude":"06da48c8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932949504001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402405454581334016,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426163367683033088,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800595000,"timestamp_ms":1788800595000,"timestamp_seconds":1788800595,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd2f438"} 
[2026-09-07 22: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-07 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 22:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:49] 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-07 22:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932949504001,"66":27300,"88":206,"81":20480,"24":31,"16":402405454581334016,"45":1426163367683033088},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932949504001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:35:49] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:35:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402405454581334016,"km_value":402405454581334.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426163367683033088,"description":"Unknown IO ID 45"} 
[2026-09-07 22:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932949504001,"power":27300,"unknown_88":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1426163367683033088}} 
[2026-09-07 22:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:35:49] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:35:49] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:35:54] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:54] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd2f438012d13d28006da48c8000e00ad28..."} 
[2026-09-07 22:35:54] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:54] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd2"} 
[2026-09-07 22:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756273792,"raw_latitude":114968776,"longitude_deg":75.6273792,"latitude_deg":11.4968776,"altitude":14,"angle":173,"satellites":40,"speed":31,"hex_longitude":"2d13d280","hex_latitude":"06da48c8","is_valid_coordinates":true} 
[2026-09-07 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-07 22:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932952320001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402405454581334016,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428344798750230528,"note":"Value kept but may cause issues"} 
[2026-09-07 22:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800595000,"timestamp_ms":1788800595000,"timestamp_seconds":1788800595,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd2f438"} 
[2026-09-07 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-07 22:35: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-07 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:35:54] 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-07 22:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932952320001,"66":27300,"88":206,"81":20480,"24":31,"16":402405454581334016,"45":1428344798750230528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932952320001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:35:54] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402405454581334016,"km_value":402405454581334.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428344798750230528,"description":"Unknown IO ID 45"} 
[2026-09-07 22:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932952320001,"power":27300,"unknown_88":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1428344798750230528}} 
[2026-09-07 22:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:35:54] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:35:54] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:36:25] local.INFO: TCP Data received {"connection_id":174105,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd33e70012d13d3c006da2598000c00b628..."} 
[2026-09-07 22:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd33e70012d13d3c006da2598000c00b628..."} 
[2026-09-07 22:36:25] local.INFO: Processing buffer {"connection_id":174105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd33e70012d13d3c006da2598000c00b628..."} 
[2026-09-07 22:36:25] local.INFO: Packet analysis {"connection_id":174105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd3"} 
[2026-09-07 22:36:25] local.INFO: Extracted packet for processing {"connection_id":174105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd3"} 
[2026-09-07 22:36:25] local.INFO: GPS Element Parsed {"raw_longitude":756274112,"raw_latitude":114959768,"longitude_deg":75.6274112,"latitude_deg":11.4959768,"altitude":12,"angle":182,"satellites":40,"speed":11,"hex_longitude":"2d13d3c0","hex_latitude":"06da2598","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932952320001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402405892667998208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428344798750230528,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788800614000,"timestamp_ms":1788800614000,"timestamp_seconds":1788800614,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd33e70"} 
[2026-09-07 22: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-07 22:36: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-07 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:36:25] 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-07 22:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932952320001,"66":27376,"88":206,"81":20480,"24":11,"16":402405892667998208,"45":1428344798750230528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932952320001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:36:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402405892667998208,"km_value":402405892667998.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428344798750230528,"description":"Unknown IO ID 45"} 
[2026-09-07 22:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932952320001,"power":27376,"unknown_88":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1428344798750230528}} 
[2026-09-07 22:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":174105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:36:25] local.INFO: GPS data processed {"connection_id":174105,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:36:25] local.INFO: Acknowledgment sent {"connection_id":174105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:36:43] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:43] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:43] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:36:49] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:49] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:36:49] local.INFO: IMEI packet received {"connection_id":175205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":175205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:36:50] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd38c90012d13d44006da1038000d00b127..."} 
[2026-09-07 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd38c90012d13d44006da1038000d00b127..."} 
[2026-09-07 22:36:50] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd38c90012d13d44006da1038000d00b127..."} 
[2026-09-07 22:36:50] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd3"} 
[2026-09-07 22:36:50] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd3"} 
[2026-09-07 22:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756274240,"raw_latitude":114954296,"longitude_deg":75.627424,"latitude_deg":11.4954296,"altitude":13,"angle":177,"satellites":39,"speed":14,"hex_longitude":"2d13d440","hex_latitude":"06da1038","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932957184001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402406158955970560,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428696642468812800,"note":"Value kept but may cause issues"} 
[2026-09-07 22:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788800634000,"timestamp_ms":1788800634000,"timestamp_seconds":1788800634,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd38c90"} 
[2026-09-07 22: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-07 22:36: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-07 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:36:50] 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-07 22:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932957184001,"66":27365,"88":206,"81":20480,"24":14,"16":402406158955970560,"45":1428696642468812800},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-09-07 22:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932957184001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:36:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-09-07 22:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402406158955970560,"km_value":402406158955970.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428696642468812800,"description":"Unknown IO ID 45"} 
[2026-09-07 22:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932957184001,"power":27365,"unknown_88":206,"unknown_81":20480,"ignition":14,"odometer":null,"unknown_45":1428696642468812800}} 
[2026-09-07 22:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:36:50] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:36:50] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:37:22] local.INFO: TCP Data received {"connection_id":175205,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:22] local.INFO: Processing buffer {"connection_id":175205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:22] local.INFO: Packet analysis {"connection_id":175205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:22] local.INFO: Extracted packet for processing {"connection_id":175205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756297792,"raw_latitude":114863552,"longitude_deg":75.6297792,"latitude_deg":11.4863552,"altitude":17,"angle":154,"satellites":39,"speed":20,"hex_longitude":"2d143040","hex_latitude":"06d8adc0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932994048001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402410836175355904,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450370215653050368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788800779000,"timestamp_ms":1788800779000,"timestamp_seconds":1788800779,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd5c2f8"} 
[2026-09-07 22: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-07 22: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-07 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:22] 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-07 22:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932994048001,"66":27310,"184":206,"81":20480,"24":20,"16":402410836175355904,"45":1450370215653050368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-07 22:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932994048001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:37:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 22:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402410836175355904,"km_value":402410836175355.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450370215653050368,"description":"Unknown IO ID 45"} 
[2026-09-07 22:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932994048001,"power":27310,"unknown_184":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":1450370215653050368}} 
[2026-09-07 22:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":175205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:37:22] local.INFO: GPS data processed {"connection_id":175205,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:37:22] local.INFO: Acknowledgment sent {"connection_id":175205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:37:49] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:49] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:49] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:37:50] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:50] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:37:50] local.INFO: IMEI packet received {"connection_id":176618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":176618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:37:52] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:52] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd5c2f8012d14304006d8adc00011009a27..."} 
[2026-09-07 22:37:52] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:52] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756297792,"raw_latitude":114863552,"longitude_deg":75.6297792,"latitude_deg":11.4863552,"altitude":17,"angle":154,"satellites":39,"speed":20,"hex_longitude":"2d143040","hex_latitude":"06d8adc0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932999424001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402410836175355904,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1454733077789917184,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788800779000,"timestamp_ms":1788800779000,"timestamp_seconds":1788800779,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd5c2f8"} 
[2026-09-07 22: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-07 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:52] 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-07 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932999424001,"66":27310,"184":206,"81":20480,"24":20,"16":402410836175355904,"45":1454733077789917184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-07 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932999424001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:37:52] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 22:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402410836175355904,"km_value":402410836175355.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1454733077789917184,"description":"Unknown IO ID 45"} 
[2026-09-07 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932999424001,"power":27310,"unknown_184":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":1454733077789917184}} 
[2026-09-07 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:37:52] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:37:52] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:37:54] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd5f9a8012d143f0006d88d080011009c28..."} 
[2026-09-07 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd5f9a8012d143f0006d88d080011009c28..."} 
[2026-09-07 22:37:54] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd5f9a8012d143f0006d88d080011009c28..."} 
[2026-09-07 22:37:54] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:54] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd5"} 
[2026-09-07 22:37:54] local.INFO: GPS Element Parsed {"raw_longitude":756301568,"raw_latitude":114855176,"longitude_deg":75.6301568,"latitude_deg":11.4855176,"altitude":17,"angle":156,"satellites":40,"speed":28,"hex_longitude":"2d143f00","hex_latitude":"06d88d08","is_valid_coordinates":true} 
[2026-09-07 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-07 22:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457932999424001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402411278556987392,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1454733077789917184,"note":"Value kept but may cause issues"} 
[2026-09-07 22:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800793000,"timestamp_ms":1788800793000,"timestamp_seconds":1788800793,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd5f9a8"} 
[2026-09-07 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-07 22: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-07 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:37:54] 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-07 22:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457932999424001,"66":27343,"184":206,"81":20480,"24":28,"16":402411278556987392,"45":1454733077789917184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-07 22:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457932999424001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:37:54] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 22:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402411278556987392,"km_value":402411278556987.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1454733077789917184,"description":"Unknown IO ID 45"} 
[2026-09-07 22:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457932999424001,"power":27343,"unknown_184":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1454733077789917184}} 
[2026-09-07 22:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:37:54] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:37:54] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:38:16] local.INFO: TCP Data received {"connection_id":174107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:16] local.INFO: Processing buffer {"connection_id":174107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:16] local.INFO: IMEI packet received {"connection_id":174107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":174107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:38:26] local.INFO: TCP Data received {"connection_id":176618,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd62c70012d144e0006d86ba80011009a27..."} 
[2026-09-07 22:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd62c70012d144e0006d86ba80011009a27..."} 
[2026-09-07 22:38:26] local.INFO: Processing buffer {"connection_id":176618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd62c70012d144e0006d86ba80011009a27..."} 
[2026-09-07 22:38:26] local.INFO: Packet analysis {"connection_id":176618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:26] local.INFO: Extracted packet for processing {"connection_id":176618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:26] local.INFO: GPS Element Parsed {"raw_longitude":756305408,"raw_latitude":114846632,"longitude_deg":75.6305408,"latitude_deg":11.4846632,"altitude":17,"angle":154,"satellites":39,"speed":28,"hex_longitude":"2d144e00","hex_latitude":"06d86ba8","is_valid_coordinates":true} 
[2026-09-07 22:38: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-07 22:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933003008001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402411733823520768,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1458884833694255104,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788800806000,"timestamp_ms":1788800806000,"timestamp_seconds":1788800806,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd62c70"} 
[2026-09-07 22:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:38: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-07 22:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:38: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-07 22:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38: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-07 22:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933003008001,"66":27321,"184":206,"81":20480,"24":28,"16":402411733823520768,"45":1458884833694255104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,81,24,16,45]} 
[2026-09-07 22:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933003008001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:38:26] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-09-07 22:38:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402411733823520768,"km_value":402411733823520.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1458884833694255104,"description":"Unknown IO ID 45"} 
[2026-09-07 22:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933003008001,"power":27321,"unknown_184":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1458884833694255104}} 
[2026-09-07 22:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":176618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:38:26] local.INFO: GPS data processed {"connection_id":176618,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:38:26] local.INFO: Acknowledgment sent {"connection_id":176618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:38:44] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:44] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:44] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:38:49] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:49] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:38:49] local.INFO: IMEI packet received {"connection_id":174108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":174108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:38:49] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd65f38012d14608006d84b800011009129..."} 
[2026-09-07 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd65f38012d14608006d84b800011009129..."} 
[2026-09-07 22:38:49] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd65f38012d14608006d84b800011009129..."} 
[2026-09-07 22:38:49] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:49] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756310144,"raw_latitude":114838400,"longitude_deg":75.6310144,"latitude_deg":11.48384,"altitude":17,"angle":145,"satellites":41,"speed":28,"hex_longitude":"2d146080","hex_latitude":"06d84b80","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933006336001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402412189090054144,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1463106958342727680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800819000,"timestamp_ms":1788800819000,"timestamp_seconds":1788800819,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd65f38"} 
[2026-09-07 22: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-07 22:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38:49] 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-07 22:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933006336001,"66":27245,"46":206,"81":20480,"24":28,"16":402412189090054144,"45":1463106958342727680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933006336001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:38:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:38:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402412189090054144,"km_value":402412189090054.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1463106958342727680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933006336001,"power":27245,"unknown_46":206,"unknown_81":20480,"ignition":28,"odometer":null,"unknown_45":1463106958342727680}} 
[2026-09-07 22:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:38:49] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:38:49] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:38:51] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd69200012d14794006d82e78000f008728..."} 
[2026-09-07 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd69200012d14794006d82e78000f008728..."} 
[2026-09-07 22:38:51] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd69200012d14794006d82e78000f008728..."} 
[2026-09-07 22:38:51] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:51] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756316480,"raw_latitude":114830968,"longitude_deg":75.631648,"latitude_deg":11.4830968,"altitude":15,"angle":135,"satellites":40,"speed":32,"hex_longitude":"2d147940","hex_latitude":"06d82e78","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933009664001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402412661536456704,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1468314245409767424,"note":"Value kept but may cause issues"} 
[2026-09-07 22:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788800832000,"timestamp_ms":1788800832000,"timestamp_seconds":1788800832,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd69200"} 
[2026-09-07 22: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-07 22:38: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-07 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:38: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-07 22:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933009664001,"66":27321,"46":206,"81":20480,"24":32,"16":402412661536456704,"45":1468314245409767424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933009664001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:38:51] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402412661536456704,"km_value":402412661536456.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1468314245409767424,"description":"Unknown IO ID 45"} 
[2026-09-07 22:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933009664001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1468314245409767424}} 
[2026-09-07 22:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:38:51] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:38:51] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:38:51] local.INFO: TCP Data received {"connection_id":175206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:51] local.INFO: Processing buffer {"connection_id":175206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:38:51] local.INFO: IMEI packet received {"connection_id":175206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":175206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:39:22] local.INFO: TCP Data received {"connection_id":174108,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd6c0e0012d14930006d813a8000e008728..."} 
[2026-09-07 22:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd6c0e0012d14930006d813a8000e008728..."} 
[2026-09-07 22:39:22] local.INFO: Processing buffer {"connection_id":174108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd6c0e0012d14930006d813a8000e008728..."} 
[2026-09-07 22:39:22] local.INFO: Packet analysis {"connection_id":174108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:39:22] local.INFO: Extracted packet for processing {"connection_id":174108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756323072,"raw_latitude":114824104,"longitude_deg":75.6323072,"latitude_deg":11.4824104,"altitude":14,"angle":135,"satellites":40,"speed":31,"hex_longitude":"2d149300","hex_latitude":"06d813a8","is_valid_coordinates":true} 
[2026-09-07 22:39: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-07 22:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933012992001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402413121097957376,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1475280751081453568,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788800844000,"timestamp_ms":1788800844000,"timestamp_seconds":1788800844,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd6c0e0"} 
[2026-09-07 22:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:39: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-07 22:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:39: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-07 22:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":174108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":174108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:22] 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-07 22:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933012992001,"66":27332,"46":206,"81":20480,"24":31,"16":402413121097957376,"45":1475280751081453568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933012992001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:39:22] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:39:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402413121097957376,"km_value":402413121097957.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1475280751081453568,"description":"Unknown IO ID 45"} 
[2026-09-07 22:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933012992001,"power":27332,"unknown_46":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1475280751081453568}} 
[2026-09-07 22:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":174108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:39:22] local.INFO: GPS data processed {"connection_id":174108,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:39:22] local.INFO: Acknowledgment sent {"connection_id":174108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:39:41] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:41] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:41] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:39:44] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:44] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:44] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:39:49] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:49] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:39:49] local.INFO: IMEI packet received {"connection_id":175207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":175207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:39:50] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd6efc0012d14ad4006d7f8b8000d008626..."} 
[2026-09-07 22:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd6efc0012d14ad4006d7f8b8000d008626..."} 
[2026-09-07 22:39:50] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd6efc0012d14ad4006d7f8b8000d008626..."} 
[2026-09-07 22:39:50] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:39:50] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd6"} 
[2026-09-07 22:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756329792,"raw_latitude":114817208,"longitude_deg":75.6329792,"latitude_deg":11.4817208,"altitude":13,"angle":134,"satellites":38,"speed":31,"hex_longitude":"2d14ad40","hex_latitude":"06d7f8b8","is_valid_coordinates":true} 
[2026-09-07 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-07 22:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933016064001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402413580659458048,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1482528731729995776,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788800856000,"timestamp_ms":1788800856000,"timestamp_seconds":1788800856,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd6efc0"} 
[2026-09-07 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-07 22:39: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-07 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:50] 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-07 22:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933016064001,"66":27300,"46":206,"81":20480,"24":31,"16":402413580659458048,"45":1482528731729995776},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933016064001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:39:50] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:39:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402413580659458048,"km_value":402413580659458.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1482528731729995776,"description":"Unknown IO ID 45"} 
[2026-09-07 22:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933016064001,"power":27300,"unknown_46":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1482528731729995776}} 
[2026-09-07 22:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:39:50] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:39:50] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:39:54] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd71ea0012d14c6c006d7df38000c008724..."} 
[2026-09-07 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd71ea0012d14c6c006d7df38000c008724..."} 
[2026-09-07 22:39:54] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd71ea0012d14c6c006d7df38000c008724..."} 
[2026-09-07 22:39:54] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd7"} 
[2026-09-07 22:39:54] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd7"} 
[2026-09-07 22:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756336320,"raw_latitude":114810680,"longitude_deg":75.633632,"latitude_deg":11.481068,"altitude":12,"angle":135,"satellites":36,"speed":31,"hex_longitude":"2d14c6c0","hex_latitude":"06d7df38","is_valid_coordinates":true} 
[2026-09-07 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-07 22:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933019136001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402414023041089536,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1489917449866885120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800868000,"timestamp_ms":1788800868000,"timestamp_seconds":1788800868,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd71ea0"} 
[2026-09-07 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-07 22:39: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-07 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:39:54] 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-07 22:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933019136001,"66":27332,"46":206,"81":20480,"24":31,"16":402414023041089536,"45":1489917449866885120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933019136001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:39:54] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402414023041089536,"km_value":402414023041089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1489917449866885120,"description":"Unknown IO ID 45"} 
[2026-09-07 22:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933019136001,"power":27332,"unknown_46":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1489917449866885120}} 
[2026-09-07 22:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:39:54] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:39:54] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:40:25] local.INFO: TCP Data received {"connection_id":175207,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd74d80012d14df4006d7c608000c008826..."} 
[2026-09-07 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd74d80012d14df4006d7c608000c008826..."} 
[2026-09-07 22:40:25] local.INFO: Processing buffer {"connection_id":175207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd74d80012d14df4006d7c608000c008826..."} 
[2026-09-07 22:40:25] local.INFO: Packet analysis {"connection_id":175207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd7"} 
[2026-09-07 22:40:25] local.INFO: Extracted packet for processing {"connection_id":175207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd7"} 
[2026-09-07 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756342592,"raw_latitude":114804232,"longitude_deg":75.6342592,"latitude_deg":11.4804232,"altitude":12,"angle":136,"satellites":38,"speed":29,"hex_longitude":"2d14df40","hex_latitude":"06d7c608","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933022208001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402414456832786432,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1497095061771335680,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788800880000,"timestamp_ms":1788800880000,"timestamp_seconds":1788800880,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd74d80"} 
[2026-09-07 22: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-07 22:40: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-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:25] 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-07 22:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933022208001,"66":27321,"46":206,"81":20480,"24":29,"16":402414456832786432,"45":1497095061771335680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933022208001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:40:25] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:40:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402414456832786432,"km_value":402414456832786.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1497095061771335680,"description":"Unknown IO ID 45"} 
[2026-09-07 22:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933022208001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1497095061771335680}} 
[2026-09-07 22:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":175207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:40:25] local.INFO: GPS data processed {"connection_id":175207,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:40:25] local.INFO: Acknowledgment sent {"connection_id":175207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:40:43] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:40:43] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:43] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:40:45] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:45] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:45] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:40:48] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:48] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:40:48] local.INFO: IMEI packet received {"connection_id":173861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":173861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:40:49] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd8eb90012d15ad4006d6f5a8000f00c428..."} 
[2026-09-07 22:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd8eb90012d15ad4006d6f5a8000f00c428..."} 
[2026-09-07 22:40:49] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd8eb90012d15ad4006d6f5a8000f00c428..."} 
[2026-09-07 22:40:49] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:40:49] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756395328,"raw_latitude":114750888,"longitude_deg":75.6395328,"latitude_deg":11.4750888,"altitude":15,"angle":196,"satellites":40,"speed":12,"hex_longitude":"2d15ad40","hex_latitude":"06d6f5a8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933052160001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402418073195249664,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1562045412632080384,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800986000,"timestamp_ms":1788800986000,"timestamp_seconds":1788800986,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd8eb90"} 
[2026-09-07 22: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-07 22:40: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-07 22:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:49] 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-07 22:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933052160001,"66":27245,"46":206,"81":20480,"24":12,"16":402418073195249664,"45":1562045412632080384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933052160001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:40:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402418073195249664,"km_value":402418073195249.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1562045412632080384,"description":"Unknown IO ID 45"} 
[2026-09-07 22:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933052160001,"power":27245,"unknown_46":206,"unknown_81":20480,"ignition":12,"odometer":null,"unknown_45":1562045412632080384}} 
[2026-09-07 22:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:40:49] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:40:49] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:40:54] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd8f360012d15ac8006d6f398000f00d127..."} 
[2026-09-07 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd8f360012d15ac8006d6f398000f00d127..."} 
[2026-09-07 22:40:54] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd8f360012d15ac8006d6f398000f00d127..."} 
[2026-09-07 22:40:54] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:40:54] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756395136,"raw_latitude":114750360,"longitude_deg":75.6395136,"latitude_deg":11.475036,"altitude":15,"angle":209,"satellites":39,"speed":13,"hex_longitude":"2d15ac80","hex_latitude":"06d6f398","is_valid_coordinates":true} 
[2026-09-07 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-07 22:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933052416001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402418103260020736,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561975043887835136,"note":"Value kept but may cause issues"} 
[2026-09-07 22:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788800988000,"timestamp_ms":1788800988000,"timestamp_seconds":1788800988,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd8f360"} 
[2026-09-07 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-07 22:40: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-07 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:40:54] 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-07 22:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933052416001,"66":27267,"46":206,"81":20480,"24":13,"16":402418103260020736,"45":1561975043887835136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933052416001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:40:54] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402418103260020736,"km_value":402418103260020.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561975043887835136,"description":"Unknown IO ID 45"} 
[2026-09-07 22:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933052416001,"power":27267,"unknown_46":206,"unknown_81":20480,"ignition":13,"odometer":null,"unknown_45":1561975043887835136}} 
[2026-09-07 22:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:40:54] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:40:54] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:41:25] local.INFO: TCP Data received {"connection_id":173861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd8fb30012d15ab8006d6f138000f00c127..."} 
[2026-09-07 22:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd8fb30012d15ab8006d6f138000f00c127..."} 
[2026-09-07 22:41:25] local.INFO: Processing buffer {"connection_id":173861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd8fb30012d15ab8006d6f138000f00c127..."} 
[2026-09-07 22:41:25] local.INFO: Packet analysis {"connection_id":173861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:41:25] local.INFO: Extracted packet for processing {"connection_id":173861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd8"} 
[2026-09-07 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":756394880,"raw_latitude":114749752,"longitude_deg":75.639488,"latitude_deg":11.4749752,"altitude":15,"angle":193,"satellites":39,"speed":11,"hex_longitude":"2d15ab80","hex_latitude":"06d6f138","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933052928001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402418133324791808,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561763937655166976,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788800990000,"timestamp_ms":1788800990000,"timestamp_seconds":1788800990,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd8fb30"} 
[2026-09-07 22: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-07 22:41: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-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:41:25] 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-07 22:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933052928001,"66":27343,"46":206,"81":20480,"24":11,"16":402418133324791808,"45":1561763937655166976},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933052928001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:41:25] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402418133324791808,"km_value":402418133324791.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561763937655166976,"description":"Unknown IO ID 45"} 
[2026-09-07 22:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933052928001,"power":27343,"unknown_46":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":1561763937655166976}} 
[2026-09-07 22:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":173861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:41:25] local.INFO: GPS data processed {"connection_id":173861,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:41:25] local.INFO: Acknowledgment sent {"connection_id":173861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:41:43] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:43] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:43] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:41:49] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:49] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:41:49] local.INFO: IMEI packet received {"connection_id":175209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":175209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:41:49] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cd90300012d15ab4006d6ef90000f00ac25..."} 
[2026-09-07 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cd90300012d15ab4006d6ef90000f00ac25..."} 
[2026-09-07 22:41:49] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cd90300012d15ab4006d6ef90000f00ac25..."} 
[2026-09-07 22:41:49] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cd9"} 
[2026-09-07 22:41:49] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cd9"} 
[2026-09-07 22:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756394816,"raw_latitude":114749328,"longitude_deg":75.6394816,"latitude_deg":11.4749328,"altitude":15,"angle":172,"satellites":37,"speed":10,"hex_longitude":"2d15ab40","hex_latitude":"06d6ef90","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933053440001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402418154799628288,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561482462678300672,"note":"Value kept but may cause issues"} 
[2026-09-07 22:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788800992000,"timestamp_ms":1788800992000,"timestamp_seconds":1788800992,"priority":1,"record_length":96,"hex_timestamp":"000001a07cd90300"} 
[2026-09-07 22: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-07 22:41: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-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:41:49] 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-07 22:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933053440001,"66":27321,"46":206,"81":20480,"24":10,"16":402418154799628288,"45":1561482462678300672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 22:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933053440001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:41:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 22:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402418154799628288,"km_value":402418154799628.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561482462678300672,"description":"Unknown IO ID 45"} 
[2026-09-07 22:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933053440001,"power":27321,"unknown_46":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1561482462678300672}} 
[2026-09-07 22:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:41:50] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:41:50] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:42:21] local.INFO: TCP Data received {"connection_id":175209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cda5ac0012d163c0006d678180017007629..."} 
[2026-09-07 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cda5ac0012d163c0006d678180017007629..."} 
[2026-09-07 22:42:21] local.INFO: Processing buffer {"connection_id":175209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cda5ac0012d163c0006d678180017007629..."} 
[2026-09-07 22:42:21] local.INFO: Packet analysis {"connection_id":175209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cda"} 
[2026-09-07 22:42:21] local.INFO: Extracted packet for processing {"connection_id":175209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cda"} 
[2026-09-07 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756431872,"raw_latitude":114718744,"longitude_deg":75.6431872,"latitude_deg":11.4718744,"altitude":23,"angle":118,"satellites":41,"speed":26,"hex_longitude":"2d163c00","hex_latitude":"06d67818","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933074944001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402420542801444864,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1598426053364207616,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788801080000,"timestamp_ms":1788801080000,"timestamp_seconds":1788801080,"priority":1,"record_length":96,"hex_timestamp":"000001a07cda5ac0"} 
[2026-09-07 22: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-07 22:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:42: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-07 22:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933074944001,"66":27321,"44":206,"81":20480,"24":26,"16":402420542801444864,"45":1598426053364207616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 22:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933074944001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 22:42:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402420542801444864,"km_value":402420542801444.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1598426053364207616,"description":"Unknown IO ID 45"} 
[2026-09-07 22:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933074944001,"power":27321,"unknown_44":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1598426053364207616}} 
[2026-09-07 22:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":175209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:42:21] local.INFO: GPS data processed {"connection_id":175209,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:42:21] local.INFO: Acknowledgment sent {"connection_id":175209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:42:43] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:43] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:43] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:42:49] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:49] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:42:49] local.INFO: IMEI packet received {"connection_id":176620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":176620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:42:50] local.INFO: TCP Data received {"connection_id":176620,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a07cda6678012d16438006d675300016006929..."} 
[2026-09-07 22:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cda6678012d16438006d675300016006929..."} 
[2026-09-07 22:42:50] local.INFO: Processing buffer {"connection_id":176620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cda6678012d16438006d675300016006929..."} 
[2026-09-07 22:42:50] local.INFO: Packet analysis {"connection_id":176620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cda"} 
[2026-09-07 22:42:50] local.INFO: Extracted packet for processing {"connection_id":176620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cda"} 
[2026-09-07 22:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756433792,"raw_latitude":114718000,"longitude_deg":75.6433792,"latitude_deg":11.4718,"altitude":22,"angle":105,"satellites":41,"speed":26,"hex_longitude":"2d164380","hex_latitude":"06d67530","is_valid_coordinates":true} 
[2026-09-07 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933076480001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402420641585692672,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1602155596805052416,"note":"Value kept but may cause issues"} 
[2026-09-07 22:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788801083000,"timestamp_ms":1788801083000,"timestamp_seconds":1788801083,"priority":1,"record_length":96,"hex_timestamp":"000001a07cda6678"} 
[2026-09-07 22:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:42:50] 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-07 22:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933076480001,"66":27332,"44":206,"81":20480,"24":26,"16":402420641585692672,"45":1602155596805052416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 22:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933076480001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 22:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402420641585692672,"km_value":402420641585692.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1602155596805052416,"description":"Unknown IO ID 45"} 
[2026-09-07 22:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933076480001,"power":27332,"unknown_44":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":1602155596805052416}} 
[2026-09-07 22:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":176620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:42:50] local.INFO: GPS data processed {"connection_id":176620,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:42:50] local.INFO: Acknowledgment sent {"connection_id":176620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:43:38] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:38] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:38] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:43:43] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:43] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:43:43] local.INFO: IMEI packet received {"connection_id":173863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":173863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:43:44] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdb7bd0012d171b8006d65b40000b006927..."} 
[2026-09-07 22:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdb7bd0012d171b8006d65b40000b006927..."} 
[2026-09-07 22:43:44] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdb7bd0012d171b8006d65b40000b006927..."} 
[2026-09-07 22:43:44] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:43:44] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756489088,"raw_latitude":114711360,"longitude_deg":75.6489088,"latitude_deg":11.471136,"altitude":11,"angle":105,"satellites":39,"speed":31,"hex_longitude":"2d171b80","hex_latitude":"06d65b40","is_valid_coordinates":true} 
[2026-09-07 22:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933092352001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402423291580514304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654791417448607744,"note":"Value kept but may cause issues"} 
[2026-09-07 22:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1788801154000,"timestamp_ms":1788801154000,"timestamp_seconds":1788801154,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdb7bd0"} 
[2026-09-07 22:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 22:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933092352001,"66":27234,"160":206,"81":20480,"24":31,"16":402423291580514304,"45":1654791417448607744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 22:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933092352001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:43:44] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 22:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402423291580514304,"km_value":402423291580514.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654791417448607744,"description":"Unknown IO ID 45"} 
[2026-09-07 22:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933092352001,"power":27234,"unknown_160":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1654791417448607744}} 
[2026-09-07 22:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:43:44] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:43:44] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:43:56] local.INFO: TCP Data received {"connection_id":176622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:43:56] local.INFO: Processing buffer {"connection_id":176622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:43:56] local.INFO: IMEI packet received {"connection_id":176622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":176622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:44:16] local.INFO: TCP Data received {"connection_id":173863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdbaab0012d173f0006d650f0000b006b28..."} 
[2026-09-07 22:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdbaab0012d173f0006d650f0000b006b28..."} 
[2026-09-07 22:44:16] local.INFO: Processing buffer {"connection_id":173863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdbaab0012d173f0006d650f0000b006b28..."} 
[2026-09-07 22:44:16] local.INFO: Packet analysis {"connection_id":173863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:44:16] local.INFO: Extracted packet for processing {"connection_id":173863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756498176,"raw_latitude":114708720,"longitude_deg":75.6498176,"latitude_deg":11.470872,"altitude":11,"angle":107,"satellites":40,"speed":32,"hex_longitude":"2d173f00","hex_latitude":"06d650f0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933095424001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402423742552080384,"note":"Value kept but may cause issues"} 
[2026-09-07 22:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1665065254097993728,"note":"Value kept but may cause issues"} 
[2026-09-07 22:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1788801166000,"timestamp_ms":1788801166000,"timestamp_seconds":1788801166,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdbaab0"} 
[2026-09-07 22: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-07 22:44: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-07 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":173863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":173863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:44: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-07 22:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933095424001,"66":27343,"160":206,"81":20480,"24":32,"16":402423742552080384,"45":1665065254097993728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 22:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933095424001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:44:16] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 22:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402423742552080384,"km_value":402423742552080.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1665065254097993728,"description":"Unknown IO ID 45"} 
[2026-09-07 22:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933095424001,"power":27343,"unknown_160":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1665065254097993728}} 
[2026-09-07 22:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":173863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:44:16] local.INFO: GPS data processed {"connection_id":173863,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:44:16] local.INFO: Acknowledgment sent {"connection_id":173863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:44:54] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:54] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:54] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:44:59] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:59] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:44:59] local.INFO: IMEI packet received {"connection_id":175210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":175210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:45:00] local.INFO: TCP Data received {"connection_id":175210,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdbd5a8012d17614006d647a8000b00682a..."} 
[2026-09-07 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdbd5a8012d17614006d647a8000b00682a..."} 
[2026-09-07 22:45:00] local.INFO: Processing buffer {"connection_id":175210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdbd5a8012d17614006d647a8000b00682a..."} 
[2026-09-07 22:45:00] local.INFO: Packet analysis {"connection_id":175210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:45:00] local.INFO: Extracted packet for processing {"connection_id":175210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdb"} 
[2026-09-07 22:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756506944,"raw_latitude":114706344,"longitude_deg":75.6506944,"latitude_deg":11.4706344,"altitude":11,"angle":104,"satellites":42,"speed":32,"hex_longitude":"2d176140","hex_latitude":"06d647a8","is_valid_coordinates":true} 
[2026-09-07 22:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933098496001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402424176343777280,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1675057615770546176,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1788801177000,"timestamp_ms":1788801177000,"timestamp_seconds":1788801177,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdbd5a8"} 
[2026-09-07 22:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 22:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":175210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":175210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:45:00] 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-07 22:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933098496001,"66":27376,"160":206,"81":20480,"24":32,"16":402424176343777280,"45":1675057615770546176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-09-07 22:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933098496001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:45:00] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-09-07 22:45:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402424176343777280,"km_value":402424176343777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1675057615770546176,"description":"Unknown IO ID 45"} 
[2026-09-07 22:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933098496001,"power":27376,"unknown_160":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":1675057615770546176}} 
[2026-09-07 22:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":175210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:45:00] local.INFO: GPS data processed {"connection_id":175210,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:45:00] local.INFO: Acknowledgment sent {"connection_id":175210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:45:43] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:43] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:43] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:45:45] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:45] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:45] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:45:51] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:51] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:45:51] local.INFO: IMEI packet received {"connection_id":176623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":176623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:45:52] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdd4ca8012d189bc006d61c100009007029..."} 
[2026-09-07 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdd4ca8012d189bc006d61c100009007029..."} 
[2026-09-07 22:45:52] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdd4ca8012d189bc006d61c100009007029..."} 
[2026-09-07 22:45:52] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:45:52] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756587456,"raw_latitude":114695184,"longitude_deg":75.6587456,"latitude_deg":11.4695184,"altitude":9,"angle":112,"satellites":41,"speed":36,"hex_longitude":"2d189bc0","hex_latitude":"06d61c10","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933124608001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402428123418722304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768507308035366912,"note":"Value kept but may cause issues"} 
[2026-09-07 22:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788801273000,"timestamp_ms":1788801273000,"timestamp_seconds":1788801273,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdd4ca8"} 
[2026-09-07 22: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-07 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:45:52] 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-07 22:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933124608001,"66":27234,"159":206,"81":20480,"24":36,"16":402428123418722304,"45":1768507308035366912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 22:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933124608001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:45:52] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 22:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402428123418722304,"km_value":402428123418722.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768507308035366912,"description":"Unknown IO ID 45"} 
[2026-09-07 22:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933124608001,"power":27234,"unknown_159":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1768507308035366912}} 
[2026-09-07 22:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:45:52] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:45:52] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:46:27] local.INFO: TCP Data received {"connection_id":176623,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdd77a0012d18bdc006d60a48000b007928..."} 
[2026-09-07 22:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdd77a0012d18bdc006d60a48000b007928..."} 
[2026-09-07 22:46:27] local.INFO: Processing buffer {"connection_id":176623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdd77a0012d18bdc006d60a48000b007928..."} 
[2026-09-07 22:46:27] local.INFO: Packet analysis {"connection_id":176623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:46:27] local.INFO: Extracted packet for processing {"connection_id":176623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":114690632,"longitude_deg":75.659616,"latitude_deg":11.4690632,"altitude":11,"angle":121,"satellites":40,"speed":36,"hex_longitude":"2d18bdc0","hex_latitude":"06d60a48","is_valid_coordinates":true} 
[2026-09-07 22:46: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-07 22:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933125888001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402428595865124864,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773222013894922240,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788801284000,"timestamp_ms":1788801284000,"timestamp_seconds":1788801284,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdd77a0"} 
[2026-09-07 22:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:46: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-07 22:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:46: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-07 22:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:46:27] 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-07 22:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933125888001,"66":27267,"159":206,"81":20480,"24":36,"16":402428595865124864,"45":1773222013894922240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 22:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933125888001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:46:27] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 22:46:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402428595865124864,"km_value":402428595865124.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773222013894922240,"description":"Unknown IO ID 45"} 
[2026-09-07 22:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933125888001,"power":27267,"unknown_159":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1773222013894922240}} 
[2026-09-07 22:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":176623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:46:27] local.INFO: GPS data processed {"connection_id":176623,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:46:27] local.INFO: Acknowledgment sent {"connection_id":176623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:46:42] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:42] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:42] local.INFO: IMEI packet received {"connection_id":174110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":174110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:46:43] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:43] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:43] local.INFO: IMEI packet received {"connection_id":174110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":174110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:46:49] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:49] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:46:49] local.INFO: IMEI packet received {"connection_id":174110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":174110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:46:50] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdd8b28012d18cf0006d601f8000b006d27..."} 
[2026-09-07 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdd8b28012d18cf0006d601f8000b006d27..."} 
[2026-09-07 22:46:50] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdd8b28012d18cf0006d601f8000b006d27..."} 
[2026-09-07 22:46:50] local.INFO: Packet analysis {"connection_id":174110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:46:50] local.INFO: Extracted packet for processing {"connection_id":174110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756600576,"raw_latitude":114688504,"longitude_deg":75.6600576,"latitude_deg":11.4688504,"altitude":11,"angle":109,"satellites":39,"speed":40,"hex_longitude":"2d18cf00","hex_latitude":"06d601f8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933128704001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402428827793358848,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792163101919232,"note":"Value kept but may cause issues"} 
[2026-09-07 22:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788801289000,"timestamp_ms":1788801289000,"timestamp_seconds":1788801289,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdd8b28"} 
[2026-09-07 22: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-07 22:46: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-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:46:50] 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-07 22:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933128704001,"66":27267,"159":206,"81":20480,"24":40,"16":402428827793358848,"45":1782792163101919232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 22:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933128704001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:46:50] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 22:46:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402428827793358848,"km_value":402428827793358.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792163101919232,"description":"Unknown IO ID 45"} 
[2026-09-07 22:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933128704001,"power":27267,"unknown_159":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1782792163101919232}} 
[2026-09-07 22:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":174110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:46:50] local.INFO: GPS data processed {"connection_id":174110,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:46:50] local.INFO: Acknowledgment sent {"connection_id":174110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:47:21] local.INFO: TCP Data received {"connection_id":174110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cddae50012d18f1c006d5f680000c006b29..."} 
[2026-09-07 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cddae50012d18f1c006d5f680000c006b29..."} 
[2026-09-07 22:47:21] local.INFO: Processing buffer {"connection_id":174110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cddae50012d18f1c006d5f680000c006b29..."} 
[2026-09-07 22:47:21] local.INFO: Packet analysis {"connection_id":174110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:47:21] local.INFO: Extracted packet for processing {"connection_id":174110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdd"} 
[2026-09-07 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756609472,"raw_latitude":114685568,"longitude_deg":75.6609472,"latitude_deg":11.4685568,"altitude":12,"angle":107,"satellites":41,"speed":42,"hex_longitude":"2d18f1c0","hex_latitude":"06d5f680","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933129984001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402429274469957632,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787647606449633280,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788801298000,"timestamp_ms":1788801298000,"timestamp_seconds":1788801298,"priority":1,"record_length":96,"hex_timestamp":"000001a07cddae50"} 
[2026-09-07 22: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-07 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:47:21] 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-07 22:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933129984001,"66":27223,"159":206,"81":20480,"24":42,"16":402429274469957632,"45":1787647606449633280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-09-07 22:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933129984001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:47:21] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-09-07 22:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402429274469957632,"km_value":402429274469957.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787647606449633280,"description":"Unknown IO ID 45"} 
[2026-09-07 22:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933129984001,"power":27223,"unknown_159":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":1787647606449633280}} 
[2026-09-07 22:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":174110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:47:21] local.INFO: GPS data processed {"connection_id":174110,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:47:21] local.INFO: Acknowledgment sent {"connection_id":174110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:47:43] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:43] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:43] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:47:47] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:47] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:47] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:47:48] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:48] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:47:48] local.INFO: IMEI packet received {"connection_id":176625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":176625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:47:49] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdf63d0012d1a614006d54ed8000f007529..."} 
[2026-09-07 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdf63d0012d1a614006d54ed8000f007529..."} 
[2026-09-07 22:47:49] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdf63d0012d1a614006d54ed8000f007529..."} 
[2026-09-07 22:47:49] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:47:49] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756703552,"raw_latitude":114642648,"longitude_deg":75.6703552,"latitude_deg":11.4642648,"altitude":15,"angle":117,"satellites":41,"speed":40,"hex_longitude":"2d1a6140","hex_latitude":"06d54ed8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933158656001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402434269516922880,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511872845201408,"note":"Value kept but may cause issues"} 
[2026-09-07 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801410000,"timestamp_ms":1788801410000,"timestamp_seconds":1788801410,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdf63d0"} 
[2026-09-07 22: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-07 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:47: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-07 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933158656001,"66":27343,"244":206,"81":20480,"24":40,"16":402434269516922880,"45":1891511872845201408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-07 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933158656001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:47:49] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 22:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402434269516922880,"km_value":402434269516922.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511872845201408,"description":"Unknown IO ID 45"} 
[2026-09-07 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933158656001,"power":27343,"unknown_244":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1891511872845201408}} 
[2026-09-07 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:47:49] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:47:49] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:48:30] local.INFO: TCP Data received {"connection_id":176625,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdf86f8012d1a81c006d53e38000f007427..."} 
[2026-09-07 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdf86f8012d1a81c006d53e38000f007427..."} 
[2026-09-07 22:48:30] local.INFO: Processing buffer {"connection_id":176625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdf86f8012d1a81c006d53e38000f007427..."} 
[2026-09-07 22:48:30] local.INFO: Packet analysis {"connection_id":176625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:30] local.INFO: Extracted packet for processing {"connection_id":176625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":756711872,"raw_latitude":114638392,"longitude_deg":75.6711872,"latitude_deg":11.4638392,"altitude":15,"angle":116,"satellites":39,"speed":40,"hex_longitude":"2d1a81c0","hex_latitude":"06d53e38","is_valid_coordinates":true} 
[2026-09-07 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933160960001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402434711898554368,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900870915819755520,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1788801419000,"timestamp_ms":1788801419000,"timestamp_seconds":1788801419,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdf86f8"} 
[2026-09-07 22:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 22:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:48: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-07 22:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":176625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":176625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":176625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48:30] 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-07 22:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933160960001,"66":27321,"244":206,"81":20480,"24":40,"16":402434711898554368,"45":1900870915819755520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-07 22:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933160960001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:48:30] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 22:48:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402434711898554368,"km_value":402434711898554.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900870915819755520,"description":"Unknown IO ID 45"} 
[2026-09-07 22:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933160960001,"power":27321,"unknown_244":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1900870915819755520}} 
[2026-09-07 22:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":176625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:48:30] local.INFO: GPS data processed {"connection_id":176625,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:48:30] local.INFO: Acknowledgment sent {"connection_id":176625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:48:43] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:43] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:43] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:48:48] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:48:48] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:48:48] local.INFO: IMEI packet received {"connection_id":173866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":173866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:48:49] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdfaa20012d1aa24006d52e50000f007529..."} 
[2026-09-07 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdfaa20012d1aa24006d52e50000f007529..."} 
[2026-09-07 22:48:49] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdfaa20012d1aa24006d52e50000f007529..."} 
[2026-09-07 22:48:49] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:49] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756720192,"raw_latitude":114634320,"longitude_deg":75.6720192,"latitude_deg":11.463432,"altitude":15,"angle":117,"satellites":41,"speed":40,"hex_longitude":"2d1aa240","hex_latitude":"06d52e50","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933163264001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402435154280185856,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910018852561762304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801428000,"timestamp_ms":1788801428000,"timestamp_seconds":1788801428,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdfaa20"} 
[2026-09-07 22: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-07 22:48: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-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48: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-07 22:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933163264001,"66":27321,"244":206,"81":20480,"24":40,"16":402435154280185856,"45":1910018852561762304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-07 22:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933163264001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:48:49] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 22:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402435154280185856,"km_value":402435154280185.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910018852561762304,"description":"Unknown IO ID 45"} 
[2026-09-07 22:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933163264001,"power":27321,"unknown_244":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1910018852561762304}} 
[2026-09-07 22:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:48:49] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:48:49] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:48:54] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdfcd48012d1ac24006d51d100010007628..."} 
[2026-09-07 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdfcd48012d1ac24006d51d100010007628..."} 
[2026-09-07 22:48:54] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdfcd48012d1ac24006d51d100010007628..."} 
[2026-09-07 22:48:54] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:54] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756728384,"raw_latitude":114629904,"longitude_deg":75.6728384,"latitude_deg":11.4629904,"altitude":16,"angle":118,"satellites":40,"speed":41,"hex_longitude":"2d1ac240","hex_latitude":"06d51d10","is_valid_coordinates":true} 
[2026-09-07 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933165568001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402435596661817344,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919166789303816192,"note":"Value kept but may cause issues"} 
[2026-09-07 22:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788801437000,"timestamp_ms":1788801437000,"timestamp_seconds":1788801437,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdfcd48"} 
[2026-09-07 22:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:48: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-07 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:48:54] 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-07 22:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933165568001,"66":27267,"244":206,"81":20480,"24":41,"16":402435596661817344,"45":1919166789303816192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-07 22:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933165568001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:48:54] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 22:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402435596661817344,"km_value":402435596661817.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919166789303816192,"description":"Unknown IO ID 45"} 
[2026-09-07 22:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933165568001,"power":27267,"unknown_244":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1919166789303816192}} 
[2026-09-07 22:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:48:54] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:48:54] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:49:27] local.INFO: TCP Data received {"connection_id":173866,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cdff070012d1ae48006d50a400010007727..."} 
[2026-09-07 22:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cdff070012d1ae48006d50a400010007727..."} 
[2026-09-07 22:49:27] local.INFO: Processing buffer {"connection_id":173866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cdff070012d1ae48006d50a400010007727..."} 
[2026-09-07 22:49:27] local.INFO: Packet analysis {"connection_id":173866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:49:27] local.INFO: Extracted packet for processing {"connection_id":173866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cdf"} 
[2026-09-07 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756737152,"raw_latitude":114625088,"longitude_deg":75.6737152,"latitude_deg":11.4625088,"altitude":16,"angle":119,"satellites":39,"speed":44,"hex_longitude":"2d1ae480","hex_latitude":"06d50a40","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933167872001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402436077698154496,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928173988557426688,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788801446000,"timestamp_ms":1788801446000,"timestamp_seconds":1788801446,"priority":1,"record_length":96,"hex_timestamp":"000001a07cdff070"} 
[2026-09-07 22: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-07 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":173866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":173866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:49:27] 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-07 22:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933167872001,"66":27365,"244":206,"81":20480,"24":44,"16":402436077698154496,"45":1928173988557426688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-09-07 22:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933167872001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:49:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-09-07 22:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402436077698154496,"km_value":402436077698154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928173988557426688,"description":"Unknown IO ID 45"} 
[2026-09-07 22:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933167872001,"power":27365,"unknown_244":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1928173988557426688}} 
[2026-09-07 22:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":173866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:49:27] local.INFO: GPS data processed {"connection_id":173866,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:49:27] local.INFO: Acknowledgment sent {"connection_id":173866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:49:46] local.INFO: TCP Data received {"connection_id":175212,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:49:46] local.INFO: Processing buffer {"connection_id":175212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:49:46] local.INFO: IMEI packet received {"connection_id":175212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":175212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:49:49] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:49] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:49] local.INFO: IMEI packet received {"connection_id":173867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":173867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:49:53] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:53] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:49:53] local.INFO: IMEI packet received {"connection_id":173867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":173867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:49:53] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce14060012d1bfa8006d457880010008f2a..."} 
[2026-09-07 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce14060012d1bfa8006d457880010008f2a..."} 
[2026-09-07 22:49:54] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce14060012d1bfa8006d457880010008f2a..."} 
[2026-09-07 22:49:54] local.INFO: Packet analysis {"connection_id":173867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:49:54] local.INFO: Extracted packet for processing {"connection_id":173867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756808320,"raw_latitude":114579336,"longitude_deg":75.680832,"latitude_deg":11.4579336,"altitude":16,"angle":143,"satellites":42,"speed":41,"hex_longitude":"2d1bfa80","hex_latitude":"06d45788","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933190144001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402440252406366208,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2012405375326998528,"note":"Value kept but may cause issues"} 
[2026-09-07 22:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788801532000,"timestamp_ms":1788801532000,"timestamp_seconds":1788801532,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce14060"} 
[2026-09-07 22: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-07 22:49: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-07 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 22:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:49:54] 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-07 22:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933190144001,"66":27267,"12":206,"81":20480,"24":41,"16":402440252406366208,"45":2012405375326998528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,81,24,16,45]} 
[2026-09-07 22:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933190144001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:49:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 22:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402440252406366208,"km_value":402440252406366.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2012405375326998528,"description":"Unknown IO ID 45"} 
[2026-09-07 22:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933190144001,"power":27267,"unknown_12":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":2012405375326998528}} 
[2026-09-07 22:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":173867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:49:54] local.INFO: GPS data processed {"connection_id":173867,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:49:54] local.INFO: Acknowledgment sent {"connection_id":173867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:50:25] local.INFO: TCP Data received {"connection_id":173867,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce15000012d1c058006d44c000011008228..."} 
[2026-09-07 22:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce15000012d1c058006d44c000011008228..."} 
[2026-09-07 22:50:25] local.INFO: Processing buffer {"connection_id":173867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce15000012d1c058006d44c000011008228..."} 
[2026-09-07 22:50:25] local.INFO: Packet analysis {"connection_id":173867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:50:25] local.INFO: Extracted packet for processing {"connection_id":173867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756811136,"raw_latitude":114576384,"longitude_deg":75.6811136,"latitude_deg":11.4576384,"altitude":17,"angle":130,"satellites":40,"speed":40,"hex_longitude":"2d1c0580","hex_latitude":"06d44c00","is_valid_coordinates":true} 
[2026-09-07 22:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933192192001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402440449974861824,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2016064550022383616,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788801536000,"timestamp_ms":1788801536000,"timestamp_seconds":1788801536,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce15000"} 
[2026-09-07 22:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:50: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-07 22:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:50:25] 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-07 22:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933192192001,"66":27321,"12":206,"81":20480,"24":40,"16":402440449974861824,"45":2016064550022383616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,81,24,16,45]} 
[2026-09-07 22:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933192192001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:50:25] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 22:50:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402440449974861824,"km_value":402440449974861.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2016064550022383616,"description":"Unknown IO ID 45"} 
[2026-09-07 22:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933192192001,"power":27321,"unknown_12":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2016064550022383616}} 
[2026-09-07 22:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":173867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:50:25] local.INFO: GPS data processed {"connection_id":173867,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:50:25] local.INFO: Acknowledgment sent {"connection_id":173867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:50:44] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:44] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:44] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:50:48] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:48] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:50:48] local.INFO: IMEI packet received {"connection_id":174111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":174111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:50:50] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce17328012d1c240006d436e80010007e29..."} 
[2026-09-07 22:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce17328012d1c240006d436e80010007e29..."} 
[2026-09-07 22:50:50] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce17328012d1c240006d436e80010007e29..."} 
[2026-09-07 22:50:50] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:50:50] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce1"} 
[2026-09-07 22:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756818944,"raw_latitude":114570984,"longitude_deg":75.6818944,"latitude_deg":11.4570984,"altitude":16,"angle":126,"satellites":41,"speed":42,"hex_longitude":"2d1c2400","hex_latitude":"06d436e8","is_valid_coordinates":true} 
[2026-09-07 22:50: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-07 22:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933193216001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402440905241395200,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2019160774765445120,"note":"Value kept but may cause issues"} 
[2026-09-07 22:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788801545000,"timestamp_ms":1788801545000,"timestamp_seconds":1788801545,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce17328"} 
[2026-09-07 22:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:50: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-07 22:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:50:50] 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-07 22:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933193216001,"66":27343,"12":206,"81":20480,"24":42,"16":402440905241395200,"45":2019160774765445120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,81,24,16,45]} 
[2026-09-07 22:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933193216001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:50:50] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-09-07 22:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402440905241395200,"km_value":402440905241395.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2019160774765445120,"description":"Unknown IO ID 45"} 
[2026-09-07 22:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933193216001,"power":27343,"unknown_12":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":2019160774765445120}} 
[2026-09-07 22:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:50:50] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:50:50] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:51:21] local.INFO: TCP Data received {"connection_id":174111,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce29ff0012d1cda0006d35b500015008729..."} 
[2026-09-07 22:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce29ff0012d1cda0006d35b500015008729..."} 
[2026-09-07 22:51:21] local.INFO: Processing buffer {"connection_id":174111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce29ff0012d1cda0006d35b500015008729..."} 
[2026-09-07 22:51:21] local.INFO: Packet analysis {"connection_id":174111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:51:21] local.INFO: Extracted packet for processing {"connection_id":174111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756865536,"raw_latitude":114514768,"longitude_deg":75.6865536,"latitude_deg":11.4514768,"altitude":21,"angle":135,"satellites":41,"speed":36,"hex_longitude":"2d1cda00","hex_latitude":"06d35b50","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933212672001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402444560258564096,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2071796595396349952,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788801622000,"timestamp_ms":1788801622000,"timestamp_seconds":1788801622,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce29ff0"} 
[2026-09-07 22: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-07 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 22:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:51:21] 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-07 22:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933212672001,"66":27213,"81":20480,"24":36,"16":402444560258564096,"45":2071796595396349952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933212672001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:51:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402444560258564096,"km_value":402444560258564.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2071796595396349952,"description":"Unknown IO ID 45"} 
[2026-09-07 22:51:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933212672001,"power":27213,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2071796595396349952}} 
[2026-09-07 22:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":174111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:51:21] local.INFO: GPS data processed {"connection_id":174111,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:51:21] local.INFO: Acknowledgment sent {"connection_id":174111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:51:44] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:44] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:44] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:51:48] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:48] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:51:48] local.INFO: IMEI packet received {"connection_id":173868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":173868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:51:49] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce2c700012d1cf40006d33fb00013008c2a..."} 
[2026-09-07 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce2c700012d1cf40006d33fb00013008c2a..."} 
[2026-09-07 22:51:49] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce2c700012d1cf40006d33fb00013008c2a..."} 
[2026-09-07 22:51:49] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:51:49] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756872192,"raw_latitude":114507696,"longitude_deg":75.6872192,"latitude_deg":11.4507696,"altitude":19,"angle":140,"satellites":42,"speed":40,"hex_longitude":"2d1cf400","hex_latitude":"06d33fb0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933215232001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402445024115032064,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2078974207300685824,"note":"Value kept but may cause issues"} 
[2026-09-07 22:51:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801632000,"timestamp_ms":1788801632000,"timestamp_seconds":1788801632,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce2c700"} 
[2026-09-07 22: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-07 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:51: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-07 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933215232001,"66":27267,"81":20480,"24":40,"16":402445024115032064,"45":2078974207300685824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933215232001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402445024115032064,"km_value":402445024115032.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2078974207300685824,"description":"Unknown IO ID 45"} 
[2026-09-07 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933215232001,"power":27267,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":2078974207300685824}} 
[2026-09-07 22:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:51:49] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:51:49] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:52:20] local.INFO: TCP Data received {"connection_id":173868,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce2ee10012d1d0a8006d321980011009328..."} 
[2026-09-07 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce2ee10012d1d0a8006d321980011009328..."} 
[2026-09-07 22:52:20] local.INFO: Processing buffer {"connection_id":173868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce2ee10012d1d0a8006d321980011009328..."} 
[2026-09-07 22:52:20] local.INFO: Packet analysis {"connection_id":173868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:52:20] local.INFO: Extracted packet for processing {"connection_id":173868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce2"} 
[2026-09-07 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756877952,"raw_latitude":114499992,"longitude_deg":75.6877952,"latitude_deg":11.4499992,"altitude":17,"angle":147,"satellites":40,"speed":36,"hex_longitude":"2d1d0a80","hex_latitude":"06d32198","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933217792001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402445487971500032,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2086292556693352448,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788801642000,"timestamp_ms":1788801642000,"timestamp_seconds":1788801642,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce2ee10"} 
[2026-09-07 22: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-07 22: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-07 22:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 22:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:52:20] 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-07 22:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933217792001,"66":27180,"81":20480,"24":36,"16":402445487971500032,"45":2086292556693352448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933217792001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402445487971500032,"km_value":402445487971500.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2086292556693352448,"description":"Unknown IO ID 45"} 
[2026-09-07 22:52:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933217792001,"power":27180,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2086292556693352448}} 
[2026-09-07 22:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":173868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:52:20] local.INFO: GPS data processed {"connection_id":173868,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:52:20] local.INFO: Acknowledgment sent {"connection_id":173868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:52:43] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:52:43] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:43] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:52:49] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:49] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:52:49] local.INFO: IMEI packet received {"connection_id":174112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":174112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:52:49] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce31520012d1d204006d303a80011009028..."} 
[2026-09-07 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce31520012d1d204006d303a80011009028..."} 
[2026-09-07 22:52:49] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce31520012d1d204006d303a80011009028..."} 
[2026-09-07 22:52:49] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:52:49] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756883520,"raw_latitude":114492328,"longitude_deg":75.688352,"latitude_deg":11.4492328,"altitude":17,"angle":144,"satellites":40,"speed":39,"hex_longitude":"2d1d2040","hex_latitude":"06d303a8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933220352001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402445947533000704,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2092625743667369984,"note":"Value kept but may cause issues"} 
[2026-09-07 22:52:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801652000,"timestamp_ms":1788801652000,"timestamp_seconds":1788801652,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce31520"} 
[2026-09-07 22: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-07 22:52: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-07 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 22:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:52: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-07 22:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933220352001,"66":27343,"81":20480,"24":39,"16":402445947533000704,"45":2092625743667369984},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933220352001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402445947533000704,"km_value":402445947533000.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2092625743667369984,"description":"Unknown IO ID 45"} 
[2026-09-07 22:52:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933220352001,"power":27343,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":2092625743667369984}} 
[2026-09-07 22:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:52:49] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:52:49] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:53:21] local.INFO: TCP Data received {"connection_id":174112,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce33078012d1d2d4006d2ebb00010009e27..."} 
[2026-09-07 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce33078012d1d2d4006d2ebb00010009e27..."} 
[2026-09-07 22:53:21] local.INFO: Processing buffer {"connection_id":174112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce33078012d1d2d4006d2ebb00010009e27..."} 
[2026-09-07 22:53:21] local.INFO: Packet analysis {"connection_id":174112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:53:21] local.INFO: Extracted packet for processing {"connection_id":174112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756886848,"raw_latitude":114486192,"longitude_deg":75.6886848,"latitude_deg":11.4486192,"altitude":16,"angle":158,"satellites":39,"speed":38,"hex_longitude":"2d1d2d40","hex_latitude":"06d2ebb0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933222912001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402446282540449792,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2098747824408864768,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788801659000,"timestamp_ms":1788801659000,"timestamp_seconds":1788801659,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce33078"} 
[2026-09-07 22: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-07 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:53:21] 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-07 22:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933222912001,"66":27332,"81":20480,"24":38,"16":402446282540449792,"45":2098747824408864768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933222912001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:53:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402446282540449792,"km_value":402446282540449.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2098747824408864768,"description":"Unknown IO ID 45"} 
[2026-09-07 22:53:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933222912001,"power":27332,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":2098747824408864768}} 
[2026-09-07 22:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":174112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:53:21] local.INFO: GPS data processed {"connection_id":174112,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:53:21] local.INFO: Acknowledgment sent {"connection_id":174112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:53:43] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:43] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:43] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:53:48] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:48] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:53:48] local.INFO: IMEI packet received {"connection_id":175214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":175214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:53:49] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce35788012d1d3a4006d2c9480013009829..."} 
[2026-09-07 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce35788012d1d3a4006d2c9480013009829..."} 
[2026-09-07 22:53:49] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce35788012d1d3a4006d2c9480013009829..."} 
[2026-09-07 22:53:49] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:53:49] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce3"} 
[2026-09-07 22:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756890176,"raw_latitude":114477384,"longitude_deg":75.6890176,"latitude_deg":11.4477384,"altitude":19,"angle":152,"satellites":41,"speed":36,"hex_longitude":"2d1d3a40","hex_latitude":"06d2c948","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933224704001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402446737806983168,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2102406999104532480,"note":"Value kept but may cause issues"} 
[2026-09-07 22:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801669000,"timestamp_ms":1788801669000,"timestamp_seconds":1788801669,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce35788"} 
[2026-09-07 22: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-07 22:53: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-07 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:53: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-07 22:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933224704001,"66":27267,"18":206,"81":20480,"24":36,"16":402446737806983168,"45":2102406999104532480},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 22:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933224704001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:53:49] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 22:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402446737806983168,"km_value":402446737806983.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2102406999104532480,"description":"Unknown IO ID 45"} 
[2026-09-07 22:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933224704001,"power":27267,"unknown_18":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2102406999104532480}} 
[2026-09-07 22:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:53:49] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:53:49] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:54:21] local.INFO: TCP Data received {"connection_id":175214,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce52c48012d1e19c006d1a9d00016009228..."} 
[2026-09-07 22:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce52c48012d1e19c006d1a9d00016009228..."} 
[2026-09-07 22:54:21] local.INFO: Processing buffer {"connection_id":175214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce52c48012d1e19c006d1a9d00016009228..."} 
[2026-09-07 22:54:21] local.INFO: Packet analysis {"connection_id":175214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:54:21] local.INFO: Extracted packet for processing {"connection_id":175214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756947392,"raw_latitude":114403792,"longitude_deg":75.6947392,"latitude_deg":11.4403792,"altitude":22,"angle":146,"satellites":40,"speed":25,"hex_longitude":"2d1e19c0","hex_latitude":"06d1a9d0","is_valid_coordinates":true} 
[2026-09-07 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-07 22:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933254144001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402451277587415040,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163205594054864896,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788801789000,"timestamp_ms":1788801789000,"timestamp_seconds":1788801789,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce52c48"} 
[2026-09-07 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-07 22:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 22:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 22:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:54:21] 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-07 22:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933254144001,"66":27365,"140":206,"81":20480,"24":25,"16":402451277587415040,"45":2163205594054864896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-07 22:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933254144001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:54:21] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-07 22:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402451277587415040,"km_value":402451277587415.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2163205594054864896,"description":"Unknown IO ID 45"} 
[2026-09-07 22:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933254144001,"power":27365,"unknown_140":206,"unknown_81":20480,"ignition":25,"odometer":null,"unknown_45":2163205594054864896}} 
[2026-09-07 22:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":175214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:54:21] local.INFO: GPS data processed {"connection_id":175214,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:54:21] local.INFO: Acknowledgment sent {"connection_id":175214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:54:54] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:54:54] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:54] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:54:58] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:59] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:54:59] local.INFO: IMEI packet received {"connection_id":175216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":175216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:54:59] local.INFO: TCP Data received {"connection_id":175216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce54f70012d1e24c006d194800018009e25..."} 
[2026-09-07 22:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce54f70012d1e24c006d194800018009e25..."} 
[2026-09-07 22:54:59] local.INFO: Processing buffer {"connection_id":175216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce54f70012d1e24c006d194800018009e25..."} 
[2026-09-07 22:54:59] local.INFO: Packet analysis {"connection_id":175216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:54:59] local.INFO: Extracted packet for processing {"connection_id":175216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756950208,"raw_latitude":114398336,"longitude_deg":75.6950208,"latitude_deg":11.4398336,"altitude":24,"angle":158,"satellites":37,"speed":27,"hex_longitude":"2d1e24c0","hex_latitude":"06d19480","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933257984001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402451573940158464,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2168975831075508224,"note":"Value kept but may cause issues"} 
[2026-09-07 22:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788801798000,"timestamp_ms":1788801798000,"timestamp_seconds":1788801798,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce54f70"} 
[2026-09-07 22: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-07 22: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-07 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:54:59] 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-07 22:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933257984001,"66":27126,"140":206,"81":20480,"24":27,"16":402451573940158464,"45":2168975831075508224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-07 22:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933257984001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:54:59] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-07 22:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402451573940158464,"km_value":402451573940158.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2168975831075508224,"description":"Unknown IO ID 45"} 
[2026-09-07 22:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933257984001,"power":27126,"unknown_140":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2168975831075508224}} 
[2026-09-07 22:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":175216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:54:59] local.INFO: GPS data processed {"connection_id":175216,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:54:59] local.INFO: Acknowledgment sent {"connection_id":175216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:55:14] local.INFO: TCP Data received {"connection_id":175215,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:14] local.INFO: Processing buffer {"connection_id":175215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:14] local.INFO: IMEI packet received {"connection_id":175215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":175215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:55:43] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:55:44] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:44] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:55:46] local.INFO: TCP Data received {"connection_id":176627,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:46] local.INFO: Processing buffer {"connection_id":176627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 22:55:46] local.INFO: IMEI packet received {"connection_id":176627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 22:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":176627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:55:48] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:49] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:55:49] local.INFO: IMEI packet received {"connection_id":173869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":173869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:55:49] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce595c0012d1e328006d173680016009b27..."} 
[2026-09-07 22:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce595c0012d1e328006d173680016009b27..."} 
[2026-09-07 22:55:49] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce595c0012d1e328006d173680016009b27..."} 
[2026-09-07 22:55:49] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:55:49] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756953728,"raw_latitude":114389864,"longitude_deg":75.6953728,"latitude_deg":11.4389864,"altitude":22,"angle":155,"satellites":39,"speed":21,"hex_longitude":"2d1e3280","hex_latitude":"06d17368","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933260288001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402452020616757248,"note":"Value kept but may cause issues"} 
[2026-09-07 22:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172072055817928704,"note":"Value kept but may cause issues"} 
[2026-09-07 22:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788801816000,"timestamp_ms":1788801816000,"timestamp_seconds":1788801816,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce595c0"} 
[2026-09-07 22: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-07 22:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-07 22:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:55: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-07 22:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933260288001,"66":27300,"140":206,"81":20480,"24":21,"16":402452020616757248,"45":2172072055817928704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-09-07 22:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933260288001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:55:49] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-09-07 22:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402452020616757248,"km_value":402452020616757.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172072055817928704,"description":"Unknown IO ID 45"} 
[2026-09-07 22:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933260288001,"power":27300,"unknown_140":206,"unknown_81":20480,"ignition":21,"odometer":null,"unknown_45":2172072055817928704}} 
[2026-09-07 22:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:55:49] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:55:49] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:56:20] local.INFO: TCP Data received {"connection_id":173869,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce5d058012d1e44c006d152e00017009328..."} 
[2026-09-07 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce5d058012d1e44c006d152e00017009328..."} 
[2026-09-07 22:56:20] local.INFO: Processing buffer {"connection_id":173869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce5d058012d1e44c006d152e00017009328..."} 
[2026-09-07 22:56:20] local.INFO: Packet analysis {"connection_id":173869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:56:20] local.INFO: Extracted packet for processing {"connection_id":173869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce5"} 
[2026-09-07 22:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756958400,"raw_latitude":114381536,"longitude_deg":75.69584,"latitude_deg":11.4381536,"altitude":23,"angle":147,"satellites":40,"speed":27,"hex_longitude":"2d1e44c0","hex_latitude":"06d152e0","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933264896001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402452484473225216,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2175942336745531392,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788801831000,"timestamp_ms":1788801831000,"timestamp_seconds":1788801831,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce5d058"} 
[2026-09-07 22: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-07 22:56: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-07 22:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 22:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:56:20] 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-07 22:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933264896001,"66":27332,"141":206,"81":20480,"24":27,"16":402452484473225216,"45":2175942336745531392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-07 22:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933264896001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:56:20] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 22:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402452484473225216,"km_value":402452484473225.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2175942336745531392,"description":"Unknown IO ID 45"} 
[2026-09-07 22:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933264896001,"power":27332,"unknown_141":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2175942336745531392}} 
[2026-09-07 22:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":173869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:56:20] local.INFO: GPS data processed {"connection_id":173869,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:56:20] local.INFO: Acknowledgment sent {"connection_id":173869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:56:43] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:43] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:43] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:56:49] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:49] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:56:49] local.INFO: IMEI packet received {"connection_id":175217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":175217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:56:51] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce60320012d1e5a8006d135400016009129..."} 
[2026-09-07 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce60320012d1e5a8006d135400016009129..."} 
[2026-09-07 22:56:51] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce60320012d1e5a8006d135400016009129..."} 
[2026-09-07 22:56:51] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce6"} 
[2026-09-07 22:56:51] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce6"} 
[2026-09-07 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756963968,"raw_latitude":114373952,"longitude_deg":75.6963968,"latitude_deg":11.4373952,"altitude":22,"angle":145,"satellites":41,"speed":30,"hex_longitude":"2d1e5a80","hex_latitude":"06d13540","is_valid_coordinates":true} 
[2026-09-07 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 22:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933268736001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402452935444791296,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2181079255068368896,"note":"Value kept but may cause issues"} 
[2026-09-07 22:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788801844000,"timestamp_ms":1788801844000,"timestamp_seconds":1788801844,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce60320"} 
[2026-09-07 22:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22: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-07 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 22:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 22:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:56: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-07 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933268736001,"66":27213,"141":206,"81":20480,"24":30,"16":402452935444791296,"45":2181079255068368896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-09-07 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933268736001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:56:51] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-09-07 22:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-09-07 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402452935444791296,"km_value":402452935444791.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2181079255068368896,"description":"Unknown IO ID 45"} 
[2026-09-07 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933268736001,"power":27213,"unknown_141":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":2181079255068368896}} 
[2026-09-07 22:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:56:51] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:56:51] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:57:22] local.INFO: TCP Data received {"connection_id":175217,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce63200012d1e6f4006d118100016009027..."} 
[2026-09-07 22:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce63200012d1e6f4006d118100016009027..."} 
[2026-09-07 22:57:22] local.INFO: Processing buffer {"connection_id":175217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce63200012d1e6f4006d118100016009027..."} 
[2026-09-07 22:57:22] local.INFO: Packet analysis {"connection_id":175217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce6"} 
[2026-09-07 22:57:22] local.INFO: Extracted packet for processing {"connection_id":175217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce6"} 
[2026-09-07 22:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756969280,"raw_latitude":114366480,"longitude_deg":75.696928,"latitude_deg":11.436648,"altitude":22,"angle":144,"satellites":39,"speed":29,"hex_longitude":"2d1e6f40","hex_latitude":"06d11810","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933272064001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402453377826422784,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2187201335809884160,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788801856000,"timestamp_ms":1788801856000,"timestamp_seconds":1788801856,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce63200"} 
[2026-09-07 22: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-07 22:57: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-07 22:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 22:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:22] 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-07 22:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933272064001,"66":27267,"153":206,"81":22528,"24":29,"16":402453377826422784,"45":2187201335809884160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-09-07 22:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933272064001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:57:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-09-07 22:57:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402453377826422784,"km_value":402453377826422.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2187201335809884160,"description":"Unknown IO ID 45"} 
[2026-09-07 22:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933272064001,"power":27267,"unknown_153":206,"unknown_81":22528,"ignition":29,"odometer":null,"unknown_45":2187201335809884160}} 
[2026-09-07 22:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":175217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:57:22] local.INFO: GPS data processed {"connection_id":175217,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:57:22] local.INFO: Acknowledgment sent {"connection_id":175217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:57:49] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:57:49] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:57:49] local.INFO: IMEI packet received {"connection_id":175219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":175219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:57:50] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce85cb0012d1f4ac006cfce280011008f2a..."} 
[2026-09-07 22:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce85cb0012d1f4ac006cfce280011008f2a..."} 
[2026-09-07 22:57:50] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce85cb0012d1f4ac006cfce280011008f2a..."} 
[2026-09-07 22:57:50] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:57:50] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:57:50] local.INFO: GPS Element Parsed {"raw_longitude":757025472,"raw_latitude":114282024,"longitude_deg":75.7025472,"latitude_deg":11.4282024,"altitude":17,"angle":143,"satellites":42,"speed":30,"hex_longitude":"2d1f4ac0","hex_latitude":"06cfce28","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933308416001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402458269794172928,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2249125830664595456,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788801998000,"timestamp_ms":1788801998000,"timestamp_seconds":1788801998,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce85cb0"} 
[2026-09-07 22: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-07 22:57: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-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:50] 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-07 22:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933308416001,"66":27343,"81":22528,"24":30,"16":402458269794172928,"45":2249125830664595456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933308416001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:57:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402458269794172928,"km_value":402458269794172.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2249125830664595456,"description":"Unknown IO ID 45"} 
[2026-09-07 22:57:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933308416001,"power":27343,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2249125830664595456}} 
[2026-09-07 22:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:57:50] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:57:50] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:57:54] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce88b90012d1f614006cfb1280011008a2b..."} 
[2026-09-07 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce88b90012d1f614006cfb1280011008a2b..."} 
[2026-09-07 22:57:54] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce88b90012d1f614006cfb1280011008a2b..."} 
[2026-09-07 22:57:54] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:57:54] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":757031232,"raw_latitude":114274600,"longitude_deg":75.7031232,"latitude_deg":11.42746,"altitude":17,"angle":138,"satellites":43,"speed":28,"hex_longitude":"2d1f6140","hex_latitude":"06cfb128","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933311488001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402458725060706304,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2254825698941085696,"note":"Value kept but may cause issues"} 
[2026-09-07 22:57:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788802010000,"timestamp_ms":1788802010000,"timestamp_seconds":1788802010,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce88b90"} 
[2026-09-07 22: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-07 22:57: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-07 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 22:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:57:54] 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-07 22:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933311488001,"66":27365,"81":22528,"24":28,"16":402458725060706304,"45":2254825698941085696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933311488001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402458725060706304,"km_value":402458725060706.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2254825698941085696,"description":"Unknown IO ID 45"} 
[2026-09-07 22:57:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933311488001,"power":27365,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2254825698941085696}} 
[2026-09-07 22:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:57:54] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:57:54] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:58:25] local.INFO: TCP Data received {"connection_id":175219,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce8aad0012d1f708006cfa2980011007c29..."} 
[2026-09-07 22:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce8aad0012d1f708006cfa2980011007c29..."} 
[2026-09-07 22:58:25] local.INFO: Processing buffer {"connection_id":175219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce8aad0012d1f708006cfa2980011007c29..."} 
[2026-09-07 22:58:25] local.INFO: Packet analysis {"connection_id":175219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:58:25] local.INFO: Extracted packet for processing {"connection_id":175219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:58:25] local.INFO: GPS Element Parsed {"raw_longitude":757035136,"raw_latitude":114270872,"longitude_deg":75.7035136,"latitude_deg":11.4270872,"altitude":17,"angle":124,"satellites":41,"speed":26,"hex_longitude":"2d1f7080","hex_latitude":"06cfa298","is_valid_coordinates":true} 
[2026-09-07 22:58: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-07 22:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933314560001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402458982758744064,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2261158885915174912,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 22:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788802018000,"timestamp_ms":1788802018000,"timestamp_seconds":1788802018,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce8aad0"} 
[2026-09-07 22:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 22:58: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-07 22:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 22:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22:58: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-07 22:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 22:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":175219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":175219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:58:25] 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-07 22:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933314560001,"66":27245,"81":22528,"24":26,"16":402458982758744064,"45":2261158885915174912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-09-07 22:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933314560001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402458982758744064,"km_value":402458982758744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2261158885915174912,"description":"Unknown IO ID 45"} 
[2026-09-07 22:58:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457933314560001,"power":27245,"unknown_81":22528,"ignition":26,"odometer":null,"unknown_45":2261158885915174912}} 
[2026-09-07 22:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":175219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:58:25] local.INFO: GPS data processed {"connection_id":175219,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:58:25] local.INFO: Acknowledgment sent {"connection_id":175219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:58:42] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:42] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:42] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:58:43] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:43] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:43] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:58:48] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:48] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:58:48] local.INFO: IMEI packet received {"connection_id":175220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":175220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:58:50] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce8dd98012d1f914006cf90e80015007329..."} 
[2026-09-07 22:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce8dd98012d1f914006cf90e80015007329..."} 
[2026-09-07 22:58:50] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce8dd98012d1f914006cf90e80015007329..."} 
[2026-09-07 22:58:50] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:58:50] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce8"} 
[2026-09-07 22:58:50] local.INFO: GPS Element Parsed {"raw_longitude":757043520,"raw_latitude":114266344,"longitude_deg":75.704352,"latitude_deg":11.4266344,"altitude":21,"angle":115,"satellites":41,"speed":29,"hex_longitude":"2d1f9140","hex_latitude":"06cf90e8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933316608001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402459438025277440,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2265451379309058048,"note":"Value kept but may cause issues"} 
[2026-09-07 22:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788802031000,"timestamp_ms":1788802031000,"timestamp_seconds":1788802031,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce8dd98"} 
[2026-09-07 22: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-07 22:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 22:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:58:50] 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-07 22:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933316608001,"66":27310,"79":206,"81":22528,"24":29,"16":402459438025277440,"45":2265451379309058048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-07 22:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933316608001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:58:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 22:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402459438025277440,"km_value":402459438025277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2265451379309058048,"description":"Unknown IO ID 45"} 
[2026-09-07 22:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933316608001,"power":27310,"unknown_79":206,"unknown_81":22528,"ignition":29,"odometer":null,"unknown_45":2265451379309058048}} 
[2026-09-07 22:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:58:50] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:58:50] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:59:22] local.INFO: TCP Data received {"connection_id":175220,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ce90c78012d1fb30006cf83080014007129..."} 
[2026-09-07 22:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ce90c78012d1fb30006cf83080014007129..."} 
[2026-09-07 22:59:22] local.INFO: Processing buffer {"connection_id":175220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ce90c78012d1fb30006cf83080014007129..."} 
[2026-09-07 22:59:22] local.INFO: Packet analysis {"connection_id":175220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ce9"} 
[2026-09-07 22:59:22] local.INFO: Extracted packet for processing {"connection_id":175220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ce9"} 
[2026-09-07 22:59:22] local.INFO: GPS Element Parsed {"raw_longitude":757052160,"raw_latitude":114262792,"longitude_deg":75.705216,"latitude_deg":11.4262792,"altitude":20,"angle":113,"satellites":41,"speed":30,"hex_longitude":"2d1fb300","hex_latitude":"06cf8308","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933319936001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402459884701876224,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2274669684795172864,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788802043000,"timestamp_ms":1788802043000,"timestamp_seconds":1788802043,"priority":1,"record_length":96,"hex_timestamp":"000001a07ce90c78"} 
[2026-09-07 22: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-07 22:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 22:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":175220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":175220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:59:22] 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-07 22:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933319936001,"66":27321,"79":206,"81":22528,"24":30,"16":402459884701876224,"45":2274669684795172864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-07 22:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933319936001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:59:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 22:59:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402459884701876224,"km_value":402459884701876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2274669684795172864,"description":"Unknown IO ID 45"} 
[2026-09-07 22:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933319936001,"power":27321,"unknown_79":206,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2274669684795172864}} 
[2026-09-07 22:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":175220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:59:22] local.INFO: GPS data processed {"connection_id":175220,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:59:22] local.INFO: Acknowledgment sent {"connection_id":175220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 22:59:48] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 22:59:48] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:48] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:59:54] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:54] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 22:59:54] local.INFO: IMEI packet received {"connection_id":176628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 22:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":176628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 22:59:55] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cea9700012d20a9c006cefbf8000d005f2b..."} 
[2026-09-07 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cea9700012d20a9c006cefbf8000d005f2b..."} 
[2026-09-07 22:59:55] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cea9700012d20a9c006cefbf8000d005f2b..."} 
[2026-09-07 22:59:55] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 22:59:55] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":757115328,"raw_latitude":114228216,"longitude_deg":75.7115328,"latitude_deg":11.4228216,"altitude":13,"angle":95,"satellites":43,"speed":19,"hex_longitude":"2d20a9c0","hex_latitude":"06cefbf8","is_valid_coordinates":true} 
[2026-09-07 22: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-07 22:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933348352001,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402463359330418688,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352427147101724672,"note":"Value kept but may cause issues"} 
[2026-09-07 22:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 22:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788802144000,"timestamp_ms":1788802144000,"timestamp_seconds":1788802144,"priority":1,"record_length":96,"hex_timestamp":"000001a07cea9700"} 
[2026-09-07 22: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-07 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 22:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 22: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-07 22: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-07 22:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 22:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 22:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 22:59:55] 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-07 22:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 22:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 22:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933348352001,"66":27343,"61":206,"81":22528,"24":19,"16":402463359330418688,"45":2352427147101724672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 22:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 22:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 22:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933348352001,"description":"Unknown IO ID 0"} 
[2026-09-07 22:59:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 22:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 22:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402463359330418688,"km_value":402463359330418.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 22:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352427147101724672,"description":"Unknown IO ID 45"} 
[2026-09-07 22:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933348352001,"power":27343,"unknown_61":206,"unknown_81":22528,"ignition":19,"odometer":null,"unknown_45":2352427147101724672}} 
[2026-09-07 22:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 22:59:55] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-07 22:59:55] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:00:27] local.INFO: TCP Data received {"connection_id":176628,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cea9ae8012d20ab4006cefba0000d006f2a..."} 
[2026-09-07 23:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cea9ae8012d20ab4006cefba0000d006f2a..."} 
[2026-09-07 23:00:27] local.INFO: Processing buffer {"connection_id":176628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cea9ae8012d20ab4006cefba0000d006f2a..."} 
[2026-09-07 23:00:27] local.INFO: Packet analysis {"connection_id":176628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:27] local.INFO: Extracted packet for processing {"connection_id":176628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":757115712,"raw_latitude":114228128,"longitude_deg":75.7115712,"latitude_deg":11.4228128,"altitude":13,"angle":111,"satellites":42,"speed":18,"hex_longitude":"2d20ab40","hex_latitude":"06cefba0","is_valid_coordinates":true} 
[2026-09-07 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933348864001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402463380805255168,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2353623415752751104,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788802145000,"timestamp_ms":1788802145000,"timestamp_seconds":1788802145,"priority":1,"record_length":96,"hex_timestamp":"000001a07cea9ae8"} 
[2026-09-07 23:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":176628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":176628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:27] 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-07 23:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933348864001,"66":27343,"61":206,"81":22528,"24":18,"16":402463380805255168,"45":2353623415752751104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 23:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933348864001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:00:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 23:00:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402463380805255168,"km_value":402463380805255.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2353623415752751104,"description":"Unknown IO ID 45"} 
[2026-09-07 23:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933348864001,"power":27343,"unknown_61":206,"unknown_81":22528,"ignition":18,"odometer":null,"unknown_45":2353623415752751104}} 
[2026-09-07 23:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":176628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:00:27] local.INFO: GPS data processed {"connection_id":176628,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:00:27] local.INFO: Acknowledgment sent {"connection_id":176628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:00:43] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:43] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:43] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:00:44] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:44] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:44] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:00:49] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:49] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:49] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:00:51] local.INFO: TCP Data received {"connection_id":175221,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:00:51] local.INFO: Processing buffer {"connection_id":175221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:00:51] local.INFO: IMEI packet received {"connection_id":175221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":175221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:00:53] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:53] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:00:53] local.INFO: IMEI packet received {"connection_id":173871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":173871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:00:54] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cea9ed0012d20ac8006cefaf0000d007d29..."} 
[2026-09-07 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cea9ed0012d20ac8006cefaf0000d007d29..."} 
[2026-09-07 23:00:54] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cea9ed0012d20ac8006cefaf0000d007d29..."} 
[2026-09-07 23:00:54] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:54] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":757116032,"raw_latitude":114227952,"longitude_deg":75.7116032,"latitude_deg":11.4227952,"altitude":13,"angle":125,"satellites":41,"speed":15,"hex_longitude":"2d20ac80","hex_latitude":"06cefaf0","is_valid_coordinates":true} 
[2026-09-07 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-07 23:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933349120001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402463393690157056,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354045628217794560,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788802146000,"timestamp_ms":1788802146000,"timestamp_seconds":1788802146,"priority":1,"record_length":96,"hex_timestamp":"000001a07cea9ed0"} 
[2026-09-07 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-07 23:00: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-07 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 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-07 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-07 23:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:54] 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-07 23:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933349120001,"66":27332,"61":206,"81":22528,"24":15,"16":402463393690157056,"45":2354045628217794560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 23:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933349120001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:00:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 23:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402463393690157056,"km_value":402463393690157.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354045628217794560,"description":"Unknown IO ID 45"} 
[2026-09-07 23:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933349120001,"power":27332,"unknown_61":206,"unknown_81":22528,"ignition":15,"odometer":null,"unknown_45":2354045628217794560}} 
[2026-09-07 23:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:00:54] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:00:54] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:00:59] local.INFO: TCP Data received {"connection_id":173871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ceaa2b8012d20ad4006cefa30000d008827..."} 
[2026-09-07 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ceaa2b8012d20ad4006cefa30000d008827..."} 
[2026-09-07 23:00:59] local.INFO: Processing buffer {"connection_id":173871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ceaa2b8012d20ad4006cefa30000d008827..."} 
[2026-09-07 23:00:59] local.INFO: Packet analysis {"connection_id":173871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:59] local.INFO: Extracted packet for processing {"connection_id":173871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":757116224,"raw_latitude":114227760,"longitude_deg":75.7116224,"latitude_deg":11.422776,"altitude":13,"angle":136,"satellites":39,"speed":10,"hex_longitude":"2d20ad40","hex_latitude":"06cefa30","is_valid_coordinates":true} 
[2026-09-07 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933349376001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402463410870026240,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354397471938637824,"note":"Value kept but may cause issues"} 
[2026-09-07 23:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788802147000,"timestamp_ms":1788802147000,"timestamp_seconds":1788802147,"priority":1,"record_length":96,"hex_timestamp":"000001a07ceaa2b8"} 
[2026-09-07 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":173871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":173871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:00:59] 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-07 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933349376001,"66":27332,"61":206,"81":22528,"24":10,"16":402463410870026240,"45":2354397471938637824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-09-07 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933349376001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:00:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-09-07 23:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402463410870026240,"km_value":402463410870026.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354397471938637824,"description":"Unknown IO ID 45"} 
[2026-09-07 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933349376001,"power":27332,"unknown_61":206,"unknown_81":22528,"ignition":10,"odometer":null,"unknown_45":2354397471938637824}} 
[2026-09-07 23:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":173871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:00:59] local.INFO: GPS data processed {"connection_id":173871,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:00:59] local.INFO: Acknowledgment sent {"connection_id":173871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:01:43] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:43] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:43] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:01:48] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:48] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:01:48] local.INFO: IMEI packet received {"connection_id":173872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":173872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:01:49] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ceaaa88012d20ae4006cef8a0000d009828..."} 
[2026-09-07 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ceaaa88012d20ae4006cef8a0000d009828..."} 
[2026-09-07 23:01:49] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ceaaa88012d20ae4006cef8a0000d009828..."} 
[2026-09-07 23:01:49] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:01:49] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cea"} 
[2026-09-07 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":757116480,"raw_latitude":114227360,"longitude_deg":75.711648,"latitude_deg":11.422736,"altitude":13,"angle":152,"satellites":40,"speed":9,"hex_longitude":"2d20ae40","hex_latitude":"06cef8a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933349632001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402463432344862720,"note":"Value kept but may cause issues"} 
[2026-09-07 23:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354608578171121664,"note":"Value kept but may cause issues"} 
[2026-09-07 23:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802149000,"timestamp_ms":1788802149000,"timestamp_seconds":1788802149,"priority":1,"record_length":96,"hex_timestamp":"000001a07ceaaa88"} 
[2026-09-07 23: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-07 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:01: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-07 23:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933349632001,"66":27332,"79":206,"81":22528,"24":9,"16":402463432344862720,"45":2354608578171121664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-09-07 23:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933349632001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:01:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-09-07 23:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402463432344862720,"km_value":402463432344862.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354608578171121664,"description":"Unknown IO ID 45"} 
[2026-09-07 23:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933349632001,"power":27332,"unknown_79":206,"unknown_81":22528,"ignition":9,"odometer":null,"unknown_45":2354608578171121664}} 
[2026-09-07 23:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:01:49] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:01:49] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:02:20] local.INFO: TCP Data received {"connection_id":173872,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cecbdc8012d211a8006cdce88000f00962b..."} 
[2026-09-07 23:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cecbdc8012d211a8006cdce88000f00962b..."} 
[2026-09-07 23:02:20] local.INFO: Processing buffer {"connection_id":173872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cecbdc8012d211a8006cdce88000f00962b..."} 
[2026-09-07 23:02:20] local.INFO: Packet analysis {"connection_id":173872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:20] local.INFO: Extracted packet for processing {"connection_id":173872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:20] local.INFO: GPS Element Parsed {"raw_longitude":757144192,"raw_latitude":114151048,"longitude_deg":75.7144192,"latitude_deg":11.4151048,"altitude":15,"angle":150,"satellites":43,"speed":28,"hex_longitude":"2d211a80","hex_latitude":"06cdce88","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933384448001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402467439549349888,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2384726400659832832,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788802285000,"timestamp_ms":1788802285000,"timestamp_seconds":1788802285,"priority":1,"record_length":96,"hex_timestamp":"000001a07cecbdc8"} 
[2026-09-07 23: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-07 23:02: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-07 23: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-07 23:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02:20] 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-07 23:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933384448001,"66":26908,"169":206,"81":22528,"24":28,"16":402467439549349888,"45":2384726400659832832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 23:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933384448001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:02:20] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 23:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402467439549349888,"km_value":402467439549349.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2384726400659832832,"description":"Unknown IO ID 45"} 
[2026-09-07 23:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933384448001,"power":26908,"unknown_169":206,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2384726400659832832}} 
[2026-09-07 23:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":173872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:02:20] local.INFO: GPS data processed {"connection_id":173872,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:02:20] local.INFO: Acknowledgment sent {"connection_id":173872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:02:44] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:02:44] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:44] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:02:48] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:48] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:02:48] local.INFO: IMEI packet received {"connection_id":176629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":176629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:02:49] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cecc598012d211e0006cdc9b8000f008b2b..."} 
[2026-09-07 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cecc598012d211e0006cdc9b8000f008b2b..."} 
[2026-09-07 23:02:49] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cecc598012d211e0006cdc9b8000f008b2b..."} 
[2026-09-07 23:02:49] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:49] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":757145088,"raw_latitude":114149816,"longitude_deg":75.7145088,"latitude_deg":11.4149816,"altitude":15,"angle":139,"satellites":43,"speed":31,"hex_longitude":"2d211e00","hex_latitude":"06cdc9b8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933384960001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402467512563793920,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2385359719357122560,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802287000,"timestamp_ms":1788802287000,"timestamp_seconds":1788802287,"priority":1,"record_length":96,"hex_timestamp":"000001a07cecc598"} 
[2026-09-07 23: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-07 23:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-07 23:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02: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-07 23:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933384960001,"66":27234,"169":206,"81":22528,"24":31,"16":402467512563793920,"45":2385359719357122560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 23:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933384960001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:02:49] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 23:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402467512563793920,"km_value":402467512563793.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2385359719357122560,"description":"Unknown IO ID 45"} 
[2026-09-07 23:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933384960001,"power":27234,"unknown_169":206,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2385359719357122560}} 
[2026-09-07 23:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:02:49] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:02:49] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:02:54] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cecf090012d21398006cdaf28000d00842b..."} 
[2026-09-07 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cecf090012d21398006cdaf28000d00842b..."} 
[2026-09-07 23:02:54] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cecf090012d21398006cdaf28000d00842b..."} 
[2026-09-07 23:02:54] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:54] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cec"} 
[2026-09-07 23:02:54] local.INFO: GPS Element Parsed {"raw_longitude":757152128,"raw_latitude":114143016,"longitude_deg":75.7152128,"latitude_deg":11.4143016,"altitude":13,"angle":132,"satellites":43,"speed":36,"hex_longitude":"2d213980","hex_latitude":"06cdaf28","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933385472001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402467985010196480,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2386344881775294464,"note":"Value kept but may cause issues"} 
[2026-09-07 23:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788802298000,"timestamp_ms":1788802298000,"timestamp_seconds":1788802298,"priority":1,"record_length":96,"hex_timestamp":"000001a07cecf090"} 
[2026-09-07 23: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-07 23:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:02:54] 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-07 23:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933385472001,"66":27397,"169":206,"81":22528,"24":36,"16":402467985010196480,"45":2386344881775294464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,81,24,16,45]} 
[2026-09-07 23:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933385472001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:02:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-09-07 23:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402467985010196480,"km_value":402467985010196.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2386344881775294464,"description":"Unknown IO ID 45"} 
[2026-09-07 23:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933385472001,"power":27397,"unknown_169":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2386344881775294464}} 
[2026-09-07 23:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:02:54] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:02:54] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:03:25] local.INFO: TCP Data received {"connection_id":176629,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ced13b8012d21538006cd9710000d00852a..."} 
[2026-09-07 23:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ced13b8012d21538006cd9710000d00852a..."} 
[2026-09-07 23:03:25] local.INFO: Processing buffer {"connection_id":176629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ced13b8012d21538006cd9710000d00852a..."} 
[2026-09-07 23:03:25] local.INFO: Packet analysis {"connection_id":176629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:03:25] local.INFO: Extracted packet for processing {"connection_id":176629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:03:25] local.INFO: GPS Element Parsed {"raw_longitude":757158784,"raw_latitude":114136848,"longitude_deg":75.7158784,"latitude_deg":11.4136848,"altitude":13,"angle":133,"satellites":42,"speed":42,"hex_longitude":"2d215380","hex_latitude":"06cd9710","is_valid_coordinates":true} 
[2026-09-07 23:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933388288001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402468423096860672,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2394085443633096704,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788802307000,"timestamp_ms":1788802307000,"timestamp_seconds":1788802307,"priority":1,"record_length":96,"hex_timestamp":"000001a07ced13b8"} 
[2026-09-07 23:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:03: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-07 23:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 23:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:03:25] 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-07 23:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933388288001,"66":27332,"181":206,"81":22528,"24":42,"16":402468423096860672,"45":2394085443633096704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933388288001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:03:25] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402468423096860672,"km_value":402468423096860.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2394085443633096704,"description":"Unknown IO ID 45"} 
[2026-09-07 23:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933388288001,"power":27332,"unknown_181":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2394085443633096704}} 
[2026-09-07 23:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":176629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:03:25] local.INFO: GPS data processed {"connection_id":176629,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:03:25] local.INFO: Acknowledgment sent {"connection_id":176629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:03:43] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:43] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:43] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:03:44] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:44] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:44] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:03:48] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:48] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:03:48] local.INFO: IMEI packet received {"connection_id":175222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":175222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:03:49] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ced36e0012d216d8006cd7ae0000c008c2b..."} 
[2026-09-07 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ced36e0012d216d8006cd7ae0000c008c2b..."} 
[2026-09-07 23:03:49] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ced36e0012d216d8006cd7ae0000c008c2b..."} 
[2026-09-07 23:03:49] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:03:49] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:03:49] local.INFO: GPS Element Parsed {"raw_longitude":757165440,"raw_latitude":114129632,"longitude_deg":75.716544,"latitude_deg":11.4129632,"altitude":12,"angle":140,"satellites":43,"speed":42,"hex_longitude":"2d216d80","hex_latitude":"06cd7ae0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933390592001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402468891248295936,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2401403793025994752,"note":"Value kept but may cause issues"} 
[2026-09-07 23:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802316000,"timestamp_ms":1788802316000,"timestamp_seconds":1788802316,"priority":1,"record_length":96,"hex_timestamp":"000001a07ced36e0"} 
[2026-09-07 23: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-07 23:03: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-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:03: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-07 23:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933390592001,"66":27365,"181":206,"81":22528,"24":42,"16":402468891248295936,"45":2401403793025994752},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933390592001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:03:49] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402468891248295936,"km_value":402468891248295.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2401403793025994752,"description":"Unknown IO ID 45"} 
[2026-09-07 23:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933390592001,"power":27365,"unknown_181":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2401403793025994752}} 
[2026-09-07 23:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:03:49] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:03:49] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:04:20] local.INFO: TCP Data received {"connection_id":175222,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ced5a08012d21840006cd5d60000d009129..."} 
[2026-09-07 23:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ced5a08012d21840006cd5d60000d009129..."} 
[2026-09-07 23:04:20] local.INFO: Processing buffer {"connection_id":175222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ced5a08012d21840006cd5d60000d009129..."} 
[2026-09-07 23:04:20] local.INFO: Packet analysis {"connection_id":175222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:04:20] local.INFO: Extracted packet for processing {"connection_id":175222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07ced"} 
[2026-09-07 23:04:20] local.INFO: GPS Element Parsed {"raw_longitude":757171200,"raw_latitude":114122080,"longitude_deg":75.71712,"latitude_deg":11.412208,"altitude":13,"angle":145,"satellites":41,"speed":40,"hex_longitude":"2d218400","hex_latitude":"06cd5d60","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933392896001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402469350809796608,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2408722142418624512,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788802325000,"timestamp_ms":1788802325000,"timestamp_seconds":1788802325,"priority":1,"record_length":96,"hex_timestamp":"000001a07ced5a08"} 
[2026-09-07 23: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-07 23:04: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-07 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:04:20] 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-07 23:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933392896001,"66":27365,"181":206,"81":22528,"24":40,"16":402469350809796608,"45":2408722142418624512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933392896001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:04:20] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402469350809796608,"km_value":402469350809796.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2408722142418624512,"description":"Unknown IO ID 45"} 
[2026-09-07 23:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933392896001,"power":27365,"unknown_181":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2408722142418624512}} 
[2026-09-07 23:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":175222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:04:20] local.INFO: GPS data processed {"connection_id":175222,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:04:20] local.INFO: Acknowledgment sent {"connection_id":175222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:04:43] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:43] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:43] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:04:48] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:48] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:04:48] local.INFO: IMEI packet received {"connection_id":174119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":174119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:04:50] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07ceeffe8012d2223c006cbfdd0000a00942a..."} 
[2026-09-07 23:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07ceeffe8012d2223c006cbfdd0000a00942a..."} 
[2026-09-07 23:04:50] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07ceeffe8012d2223c006cbfdd0000a00942a..."} 
[2026-09-07 23:04:50] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cee"} 
[2026-09-07 23:04:50] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cee"} 
[2026-09-07 23:04:50] local.INFO: GPS Element Parsed {"raw_longitude":757212096,"raw_latitude":114032080,"longitude_deg":75.7212096,"latitude_deg":11.403208,"altitude":10,"angle":148,"satellites":42,"speed":40,"hex_longitude":"2d2223c0","hex_latitude":"06cbfdd0","is_valid_coordinates":true} 
[2026-09-07 23:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933420544001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402474169763102720,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2454884038576236544,"note":"Value kept but may cause issues"} 
[2026-09-07 23:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788802433000,"timestamp_ms":1788802433000,"timestamp_seconds":1788802433,"priority":1,"record_length":96,"hex_timestamp":"000001a07ceeffe8"} 
[2026-09-07 23:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:04:50] 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-07 23:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933420544001,"66":27343,"179":206,"81":22528,"24":40,"16":402474169763102720,"45":2454884038576236544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 23:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933420544001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:04:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 23:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402474169763102720,"km_value":402474169763102.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2454884038576236544,"description":"Unknown IO ID 45"} 
[2026-09-07 23:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933420544001,"power":27343,"unknown_179":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2454884038576236544}} 
[2026-09-07 23:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:04:50] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:04:50] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:05:21] local.INFO: TCP Data received {"connection_id":174119,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:21] local.INFO: Processing buffer {"connection_id":174119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:21] local.INFO: Packet analysis {"connection_id":174119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:05:21] local.INFO: Extracted packet for processing {"connection_id":174119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":757217472,"raw_latitude":114024608,"longitude_deg":75.7217472,"latitude_deg":11.4024608,"altitude":10,"angle":136,"satellites":43,"speed":40,"hex_longitude":"2d2238c0","hex_latitude":"06cbe0a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933422848001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402474616439701504,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460020956899168256,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788802442000,"timestamp_ms":1788802442000,"timestamp_seconds":1788802442,"priority":1,"record_length":96,"hex_timestamp":"000001a07cef2310"} 
[2026-09-07 23: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-07 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:05:21] 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-07 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933422848001,"66":26691,"179":206,"81":22528,"24":40,"16":402474616439701504,"45":2460020956899168256},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933422848001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:05:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 23:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402474616439701504,"km_value":402474616439701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460020956899168256,"description":"Unknown IO ID 45"} 
[2026-09-07 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933422848001,"power":26691,"unknown_179":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2460020956899168256}} 
[2026-09-07 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":174119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:05:21] local.INFO: GPS data processed {"connection_id":174119,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:05:21] local.INFO: Acknowledgment sent {"connection_id":174119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:05:42] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:42] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:42] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:05:43] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:43] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:43] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:05:48] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:48] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:05:48] local.INFO: IMEI packet received {"connection_id":175224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":175224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:05:49] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:49] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cef2310012d2238c006cbe0a0000a00882b..."} 
[2026-09-07 23:05:49] local.INFO: Packet analysis {"connection_id":175224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:05:49] local.INFO: Extracted packet for processing {"connection_id":175224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":757217472,"raw_latitude":114024608,"longitude_deg":75.7217472,"latitude_deg":11.4024608,"altitude":10,"angle":136,"satellites":43,"speed":40,"hex_longitude":"2d2238c0","hex_latitude":"06cbe0a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933425152001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402474616439701504,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2465931931408179200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802442000,"timestamp_ms":1788802442000,"timestamp_seconds":1788802442,"priority":1,"record_length":96,"hex_timestamp":"000001a07cef2310"} 
[2026-09-07 23: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-07 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-07 23:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:05: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-07 23:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933425152001,"66":26691,"179":206,"81":22528,"24":40,"16":402474616439701504,"45":2465931931408179200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 23:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933425152001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:05:49] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 23:05:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402474616439701504,"km_value":402474616439701.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2465931931408179200,"description":"Unknown IO ID 45"} 
[2026-09-07 23:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933425152001,"power":26691,"unknown_179":206,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2465931931408179200}} 
[2026-09-07 23:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":175224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:05:49] local.INFO: GPS data processed {"connection_id":175224,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:05:49] local.INFO: Acknowledgment sent {"connection_id":175224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:06:16] local.INFO: TCP Data received {"connection_id":174121,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:16] local.INFO: Processing buffer {"connection_id":174121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:16] local.INFO: IMEI packet received {"connection_id":174121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":174121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:06:20] local.INFO: TCP Data received {"connection_id":175224,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cef4638012d22534006cbc860000b00802a..."} 
[2026-09-07 23:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cef4638012d22534006cbc860000b00802a..."} 
[2026-09-07 23:06:20] local.INFO: Processing buffer {"connection_id":175224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cef4638012d22534006cbc860000b00802a..."} 
[2026-09-07 23:06:20] local.INFO: Packet analysis {"connection_id":175224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:06:20] local.INFO: Extracted packet for processing {"connection_id":175224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cef"} 
[2026-09-07 23:06:20] local.INFO: GPS Element Parsed {"raw_longitude":757224256,"raw_latitude":114018400,"longitude_deg":75.7224256,"latitude_deg":11.40184,"altitude":11,"angle":128,"satellites":42,"speed":41,"hex_longitude":"2d225340","hex_latitude":"06cbc860","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933425152001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402475058821332992,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2465931931408179200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788802451000,"timestamp_ms":1788802451000,"timestamp_seconds":1788802451,"priority":1,"record_length":96,"hex_timestamp":"000001a07cef4638"} 
[2026-09-07 23: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-07 23:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-09-07 23:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:06:20] 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-07 23:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933425152001,"66":27397,"179":206,"81":22528,"24":41,"16":402475058821332992,"45":2465931931408179200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-09-07 23:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933425152001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:06:20] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-09-07 23:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402475058821332992,"km_value":402475058821333.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2465931931408179200,"description":"Unknown IO ID 45"} 
[2026-09-07 23:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933425152001,"power":27397,"unknown_179":206,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2465931931408179200}} 
[2026-09-07 23:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":175224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:06:20] local.INFO: GPS data processed {"connection_id":175224,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:06:20] local.INFO: Acknowledgment sent {"connection_id":175224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:06:43] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:43] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:43] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:06:44] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:44] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:44] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:06:46] local.INFO: TCP Data received {"connection_id":176630,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:46] local.INFO: Processing buffer {"connection_id":176630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:06:46] local.INFO: IMEI packet received {"connection_id":176630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":176630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:06:48] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:48] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:06:48] local.INFO: IMEI packet received {"connection_id":173873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":173873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:06:49] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf0bd38012d231cc006ca7c000010008e2b..."} 
[2026-09-07 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf0bd38012d231cc006ca7c000010008e2b..."} 
[2026-09-07 23:06:49] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf0bd38012d231cc006ca7c000010008e2b..."} 
[2026-09-07 23:06:49] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:06:49] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":757275840,"raw_latitude":113933312,"longitude_deg":75.727584,"latitude_deg":11.3933312,"altitude":16,"angle":142,"satellites":43,"speed":48,"hex_longitude":"2d231cc0","hex_latitude":"06ca7c00","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933449984001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402479955084050432,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2523845407845001216,"note":"Value kept but may cause issues"} 
[2026-09-07 23:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802547000,"timestamp_ms":1788802547000,"timestamp_seconds":1788802547,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf0bd38"} 
[2026-09-07 23: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-07 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 23:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:06: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-07 23:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933449984001,"66":27343,"47":206,"81":22528,"24":48,"16":402479955084050432,"45":2523845407845001216},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-07 23:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933449984001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:06:49] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 23:06:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402479955084050432,"km_value":402479955084050.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2523845407845001216,"description":"Unknown IO ID 45"} 
[2026-09-07 23:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933449984001,"power":27343,"unknown_47":206,"unknown_81":22528,"ignition":48,"odometer":null,"unknown_45":2523845407845001216}} 
[2026-09-07 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:06:49] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:06:49] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:07:21] local.INFO: TCP Data received {"connection_id":173873,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf0dc78012d23344006ca5ee00011008d2b..."} 
[2026-09-07 23:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf0dc78012d23344006ca5ee00011008d2b..."} 
[2026-09-07 23:07:21] local.INFO: Processing buffer {"connection_id":173873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf0dc78012d23344006ca5ee00011008d2b..."} 
[2026-09-07 23:07:21] local.INFO: Packet analysis {"connection_id":173873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:07:21] local.INFO: Extracted packet for processing {"connection_id":173873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":757281856,"raw_latitude":113925856,"longitude_deg":75.7281856,"latitude_deg":11.3925856,"altitude":17,"angle":141,"satellites":43,"speed":46,"hex_longitude":"2d233440","hex_latitude":"06ca5ee0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933452032001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402480414645551104,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2530108226074836992,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788802555000,"timestamp_ms":1788802555000,"timestamp_seconds":1788802555,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf0dc78"} 
[2026-09-07 23: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-07 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:21] 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-07 23:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933452032001,"66":27365,"47":206,"81":22528,"24":46,"16":402480414645551104,"45":2530108226074836992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-07 23:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933452032001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:07:21] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 23:07:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402480414645551104,"km_value":402480414645551.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2530108226074836992,"description":"Unknown IO ID 45"} 
[2026-09-07 23:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933452032001,"power":27365,"unknown_47":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2530108226074836992}} 
[2026-09-07 23:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":173873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:07:21] local.INFO: GPS data processed {"connection_id":173873,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:07:21] local.INFO: Acknowledgment sent {"connection_id":173873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:07:48] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:48] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:48] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:07:52] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:52] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:07:52] local.INFO: IMEI packet received {"connection_id":176631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":176631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:07:53] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf0f3e8012d23478006ca4be0001000802b..."} 
[2026-09-07 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf0f3e8012d23478006ca4be0001000802b..."} 
[2026-09-07 23:07:53] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf0f3e8012d23478006ca4be0001000802b..."} 
[2026-09-07 23:07:53] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:07:53] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf0"} 
[2026-09-07 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":757286784,"raw_latitude":113920992,"longitude_deg":75.7286784,"latitude_deg":11.3920992,"altitude":16,"angle":128,"satellites":43,"speed":45,"hex_longitude":"2d234780","hex_latitude":"06ca4be0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933454080001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402480749653000192,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2536722888025628672,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788802561000,"timestamp_ms":1788802561000,"timestamp_seconds":1788802561,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf0f3e8"} 
[2026-09-07 23: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-07 23:07: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-07 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:53] 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-07 23:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933454080001,"66":27343,"47":206,"81":22528,"24":45,"16":402480749653000192,"45":2536722888025628672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-07 23:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933454080001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:07:53] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 23:07:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402480749653000192,"km_value":402480749653000.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2536722888025628672,"description":"Unknown IO ID 45"} 
[2026-09-07 23:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933454080001,"power":27343,"unknown_47":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2536722888025628672}} 
[2026-09-07 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:07:53] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:07:53] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:07:54] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf10770012d235ac006ca4020000f00742b..."} 
[2026-09-07 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf10770012d235ac006ca4020000f00742b..."} 
[2026-09-07 23:07:54] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf10770012d235ac006ca4020000f00742b..."} 
[2026-09-07 23:07:54] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf1"} 
[2026-09-07 23:07:54] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf1"} 
[2026-09-07 23:07:54] local.INFO: GPS Element Parsed {"raw_longitude":757291712,"raw_latitude":113917984,"longitude_deg":75.7291712,"latitude_deg":11.3917984,"altitude":15,"angle":116,"satellites":43,"speed":45,"hex_longitude":"2d235ac0","hex_latitude":"06ca4020","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933455616001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402481024530907136,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2542141281326063616,"note":"Value kept but may cause issues"} 
[2026-09-07 23:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788802566000,"timestamp_ms":1788802566000,"timestamp_seconds":1788802566,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf10770"} 
[2026-09-07 23: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-07 23:07: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-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:07:54] 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-07 23:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933455616001,"66":27365,"47":206,"81":22528,"24":45,"16":402481024530907136,"45":2542141281326063616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-07 23:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933455616001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:07:54] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 23:07:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402481024530907136,"km_value":402481024530907.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2542141281326063616,"description":"Unknown IO ID 45"} 
[2026-09-07 23:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933455616001,"power":27365,"unknown_47":206,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2542141281326063616}} 
[2026-09-07 23:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:07:54] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:07:54] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:08:26] local.INFO: TCP Data received {"connection_id":176631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf11af8012d236fc006ca3898001000662a..."} 
[2026-09-07 23:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf11af8012d236fc006ca3898001000662a..."} 
[2026-09-07 23:08:26] local.INFO: Processing buffer {"connection_id":176631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf11af8012d236fc006ca3898001000662a..."} 
[2026-09-07 23:08:26] local.INFO: Packet analysis {"connection_id":176631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf1"} 
[2026-09-07 23:08:26] local.INFO: Extracted packet for processing {"connection_id":176631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf1"} 
[2026-09-07 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":757297088,"raw_latitude":113916056,"longitude_deg":75.7297088,"latitude_deg":11.3916056,"altitude":16,"angle":102,"satellites":42,"speed":44,"hex_longitude":"2d236fc0","hex_latitude":"06ca3898","is_valid_coordinates":true} 
[2026-09-07 23:08: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-07 23:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933456896001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402481295113846784,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2547559674626973696,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788802571000,"timestamp_ms":1788802571000,"timestamp_seconds":1788802571,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf11af8"} 
[2026-09-07 23:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:08: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-07 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:08: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-07 23:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":176631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":176631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:08:26] 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-07 23:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933456896001,"66":27300,"47":206,"81":22528,"24":44,"16":402481295113846784,"45":2547559674626973696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-09-07 23:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933456896001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:08:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-09-07 23:08:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402481295113846784,"km_value":402481295113846.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2547559674626973696,"description":"Unknown IO ID 45"} 
[2026-09-07 23:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933456896001,"power":27300,"unknown_47":206,"unknown_81":22528,"ignition":44,"odometer":null,"unknown_45":2547559674626973696}} 
[2026-09-07 23:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":176631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:08:27] local.INFO: GPS data processed {"connection_id":176631,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:08:27] local.INFO: Acknowledgment sent {"connection_id":176631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:08:43] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:43] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:43] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:08:48] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:48] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:08:48] local.INFO: IMEI packet received {"connection_id":176632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":176632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:08:49] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf29db0012d24408006c94518000e00a92b..."} 
[2026-09-07 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf29db0012d24408006c94518000e00a92b..."} 
[2026-09-07 23:08:49] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf29db0012d24408006c94518000e00a92b..."} 
[2026-09-07 23:08:49] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:08:49] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":757350528,"raw_latitude":113853720,"longitude_deg":75.7350528,"latitude_deg":11.385372,"altitude":14,"angle":169,"satellites":43,"speed":26,"hex_longitude":"2d244080","hex_latitude":"06c94518","is_valid_coordinates":true} 
[2026-09-07 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933478912001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402485693160357888,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2610047119442563072,"note":"Value kept but may cause issues"} 
[2026-09-07 23:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802670000,"timestamp_ms":1788802670000,"timestamp_seconds":1788802670,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf29db0"} 
[2026-09-07 23:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:08: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-07 23:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933478912001,"66":27321,"46":206,"81":22528,"24":26,"16":402485693160357888,"45":2610047119442563072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 23:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933478912001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:08:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 23:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402485693160357888,"km_value":402485693160357.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2610047119442563072,"description":"Unknown IO ID 45"} 
[2026-09-07 23:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933478912001,"power":27321,"unknown_46":206,"unknown_81":22528,"ignition":26,"odometer":null,"unknown_45":2610047119442563072}} 
[2026-09-07 23:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:08:49] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:08:49] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:09:19] local.INFO: TCP Data received {"connection_id":176632,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:19] local.INFO: Processing buffer {"connection_id":176632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:19] local.INFO: Packet analysis {"connection_id":176632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:09:19] local.INFO: Extracted packet for processing {"connection_id":176632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:09:19] local.INFO: GPS Element Parsed {"raw_longitude":757352960,"raw_latitude":113844328,"longitude_deg":75.735296,"latitude_deg":11.3844328,"altitude":18,"angle":158,"satellites":43,"speed":37,"hex_longitude":"2d244a00","hex_latitude":"06c92068","is_valid_coordinates":true} 
[2026-09-07 23:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933483520001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402486161311793152,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2612228550509795328,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788802682000,"timestamp_ms":1788802682000,"timestamp_seconds":1788802682,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf2cc90"} 
[2026-09-07 23:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:09: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-07 23:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:09: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-07 23:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933483520001,"66":26006,"46":206,"81":22528,"24":37,"16":402486161311793152,"45":2612228550509795328},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 23:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933483520001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:09:19] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 23:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402486161311793152,"km_value":402486161311793.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2612228550509795328,"description":"Unknown IO ID 45"} 
[2026-09-07 23:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933483520001,"power":26006,"unknown_46":206,"unknown_81":22528,"ignition":37,"odometer":null,"unknown_45":2612228550509795328}} 
[2026-09-07 23:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":176632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:09:19] local.INFO: GPS data processed {"connection_id":176632,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:09:19] local.INFO: Acknowledgment sent {"connection_id":176632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:09:41] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:41] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:41] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:09:44] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:44] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:44] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:09:48] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:48] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:09:48] local.INFO: IMEI packet received {"connection_id":174123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":174123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:09:49] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:49] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf2cc90012d244a0006c920680012009e2b..."} 
[2026-09-07 23:09:49] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:09:49] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":757352960,"raw_latitude":113844328,"longitude_deg":75.735296,"latitude_deg":11.3844328,"altitude":18,"angle":158,"satellites":43,"speed":37,"hex_longitude":"2d244a00","hex_latitude":"06c92068","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933486592001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402486161311793152,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2614902562786142208,"note":"Value kept but may cause issues"} 
[2026-09-07 23:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802682000,"timestamp_ms":1788802682000,"timestamp_seconds":1788802682,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf2cc90"} 
[2026-09-07 23: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-07 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 23:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:09: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-07 23:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933486592001,"66":26006,"46":206,"81":22528,"24":37,"16":402486161311793152,"45":2614902562786142208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 23:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933486592001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:09:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 23:09:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402486161311793152,"km_value":402486161311793.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2614902562786142208,"description":"Unknown IO ID 45"} 
[2026-09-07 23:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933486592001,"power":26006,"unknown_46":206,"unknown_81":22528,"ignition":37,"odometer":null,"unknown_45":2614902562786142208}} 
[2026-09-07 23:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:09:49] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:09:49] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:10:20] local.INFO: TCP Data received {"connection_id":174123,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf2e7e8012d24574006c907a0001400922b..."} 
[2026-09-07 23:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf2e7e8012d24574006c907a0001400922b..."} 
[2026-09-07 23:10:20] local.INFO: Processing buffer {"connection_id":174123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf2e7e8012d24574006c907a0001400922b..."} 
[2026-09-07 23:10:20] local.INFO: Packet analysis {"connection_id":174123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:10:20] local.INFO: Extracted packet for processing {"connection_id":174123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf2"} 
[2026-09-07 23:10:20] local.INFO: GPS Element Parsed {"raw_longitude":757356352,"raw_latitude":113837984,"longitude_deg":75.7356352,"latitude_deg":11.3837984,"altitude":20,"angle":146,"satellites":43,"speed":42,"hex_longitude":"2d245740","hex_latitude":"06c907a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933486592001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402486509204144128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2614902562786142208,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788802689000,"timestamp_ms":1788802689000,"timestamp_seconds":1788802689,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf2e7e8"} 
[2026-09-07 23: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-07 23:10: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-07 23: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-07 23:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:10:20] 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-07 23:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933486592001,"66":27300,"46":206,"81":22528,"24":42,"16":402486509204144128,"45":2614902562786142208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-09-07 23:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933486592001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:10:20] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-09-07 23:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402486509204144128,"km_value":402486509204144.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2614902562786142208,"description":"Unknown IO ID 45"} 
[2026-09-07 23:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933486592001,"power":27300,"unknown_46":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2614902562786142208}} 
[2026-09-07 23:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":174123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:10:20] local.INFO: GPS data processed {"connection_id":174123,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:10:20] local.INFO: Acknowledgment sent {"connection_id":174123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:10:43] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:43] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:43] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:10:44] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:44] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:44] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:10:48] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:48] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:10:48] local.INFO: IMEI packet received {"connection_id":173874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":173874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:10:50] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf43008012d24f18006c798b8001200af2b..."} 
[2026-09-07 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf43008012d24f18006c798b8001200af2b..."} 
[2026-09-07 23:10:50] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf43008012d24f18006c798b8001200af2b..."} 
[2026-09-07 23:10:50] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:10:50] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":757395840,"raw_latitude":113744056,"longitude_deg":75.739584,"latitude_deg":11.3744056,"altitude":18,"angle":175,"satellites":43,"speed":46,"hex_longitude":"2d24f180","hex_latitude":"06c798b8","is_valid_coordinates":true} 
[2026-09-07 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933507840001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402491521430978560,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2660923721455065088,"note":"Value kept but may cause issues"} 
[2026-09-07 23:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788802773000,"timestamp_ms":1788802773000,"timestamp_seconds":1788802773,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf43008"} 
[2026-09-07 23:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:10:50] 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-07 23:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933507840001,"66":27267,"78":206,"81":22528,"24":46,"16":402491521430978560,"45":2660923721455065088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933507840001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:10:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402491521430978560,"km_value":402491521430978.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2660923721455065088,"description":"Unknown IO ID 45"} 
[2026-09-07 23:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933507840001,"power":27267,"unknown_78":206,"unknown_81":22528,"ignition":46,"odometer":null,"unknown_45":2660923721455065088}} 
[2026-09-07 23:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:10:50] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:10:50] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:11:21] local.INFO: TCP Data received {"connection_id":173874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf44f48012d24f58006c77598001400ad2b..."} 
[2026-09-07 23:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf44f48012d24f58006c77598001400ad2b..."} 
[2026-09-07 23:11:21] local.INFO: Processing buffer {"connection_id":173874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf44f48012d24f58006c77598001400ad2b..."} 
[2026-09-07 23:11:21] local.INFO: Packet analysis {"connection_id":173874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:11:21] local.INFO: Extracted packet for processing {"connection_id":173874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:11:21] local.INFO: GPS Element Parsed {"raw_longitude":757396864,"raw_latitude":113735064,"longitude_deg":75.7396864,"latitude_deg":11.3735064,"altitude":20,"angle":173,"satellites":43,"speed":43,"hex_longitude":"2d24f580","hex_latitude":"06c77598","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933509888001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402491959517642752,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2662049621359507456,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788802781000,"timestamp_ms":1788802781000,"timestamp_seconds":1788802781,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf44f48"} 
[2026-09-07 23: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-07 23:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:11:21] 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-07 23:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933509888001,"66":27397,"78":206,"81":22528,"24":43,"16":402491959517642752,"45":2662049621359507456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933509888001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:11:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402491959517642752,"km_value":402491959517642.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2662049621359507456,"description":"Unknown IO ID 45"} 
[2026-09-07 23:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933509888001,"power":27397,"unknown_78":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2662049621359507456}} 
[2026-09-07 23:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":173874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:11:21] local.INFO: GPS data processed {"connection_id":173874,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:11:21] local.INFO: Acknowledgment sent {"connection_id":173874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:11:51] local.INFO: TCP Data received {"connection_id":176635,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:11:51] local.INFO: Processing buffer {"connection_id":176635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:11:51] local.INFO: IMEI packet received {"connection_id":176635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":176635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:11:53] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:11:53] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:53] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:11:58] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:58] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:11:58] local.INFO: IMEI packet received {"connection_id":176636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":176636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:11:59] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf47270012d24fb8006c75000001400a62c..."} 
[2026-09-07 23:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf47270012d24fb8006c75000001400a62c..."} 
[2026-09-07 23:11:59] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf47270012d24fb8006c75000001400a62c..."} 
[2026-09-07 23:11:59] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:11:59] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:11:59] local.INFO: GPS Element Parsed {"raw_longitude":757398400,"raw_latitude":113725440,"longitude_deg":75.73984,"latitude_deg":11.372544,"altitude":20,"angle":166,"satellites":44,"speed":43,"hex_longitude":"2d24fb80","hex_latitude":"06c75000","is_valid_coordinates":true} 
[2026-09-07 23:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933511936001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402492431964045312,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2663175521264048128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788802790000,"timestamp_ms":1788802790000,"timestamp_seconds":1788802790,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf47270"} 
[2026-09-07 23:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:11: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-07 23:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-07 23:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:11:59] 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-07 23:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933511936001,"66":27321,"78":206,"81":22528,"24":43,"16":402492431964045312,"45":2663175521264048128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933511936001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-09-07 23:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402492431964045312,"km_value":402492431964045.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2663175521264048128,"description":"Unknown IO ID 45"} 
[2026-09-07 23:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933511936001,"power":27321,"unknown_78":206,"unknown_81":22528,"ignition":43,"odometer":null,"unknown_45":2663175521264048128}} 
[2026-09-07 23:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:11:59] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:11:59] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:12:02] local.INFO: TCP Data received {"connection_id":176636,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf491b0012d2506c006c72e100015009b2c..."} 
[2026-09-07 23:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf491b0012d2506c006c72e100015009b2c..."} 
[2026-09-07 23:12:02] local.INFO: Processing buffer {"connection_id":176636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf491b0012d2506c006c72e100015009b2c..."} 
[2026-09-07 23:12:02] local.INFO: Packet analysis {"connection_id":176636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:12:02] local.INFO: Extracted packet for processing {"connection_id":176636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf4"} 
[2026-09-07 23:12:02] local.INFO: GPS Element Parsed {"raw_longitude":757401280,"raw_latitude":113716752,"longitude_deg":75.740128,"latitude_deg":11.3716752,"altitude":21,"angle":155,"satellites":44,"speed":47,"hex_longitude":"2d2506c0","hex_latitude":"06c72e10","is_valid_coordinates":true} 
[2026-09-07 23:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933514240001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402492878640644096,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2664864371121848320,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1788802798000,"timestamp_ms":1788802798000,"timestamp_seconds":1788802798,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf491b0"} 
[2026-09-07 23:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":176636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":176636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":176636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:12:02] 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-07 23:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933514240001,"66":27234,"87":206,"81":20992,"24":47,"16":402492878640644096,"45":2664864371121848320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,81,24,16,45]} 
[2026-09-07 23:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933514240001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-07 23:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402492878640644096,"km_value":402492878640644.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2664864371121848320,"description":"Unknown IO ID 45"} 
[2026-09-07 23:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933514240001,"power":27234,"unknown_87":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2664864371121848320}} 
[2026-09-07 23:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":176636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:12:02] local.INFO: GPS data processed {"connection_id":176636,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:12:02] local.INFO: Acknowledgment sent {"connection_id":176636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:12:43] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:12:43] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:43] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:12:48] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:48] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:12:48] local.INFO: IMEI packet received {"connection_id":175226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":175226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:12:49] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf5ddb8012d25cd0006c5d3f8001000912b..."} 
[2026-09-07 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf5ddb8012d25cd0006c5d3f8001000912b..."} 
[2026-09-07 23:12:49] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf5ddb8012d25cd0006c5d3f8001000912b..."} 
[2026-09-07 23:12:49] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf5"} 
[2026-09-07 23:12:49] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf5"} 
[2026-09-07 23:12:49] local.INFO: GPS Element Parsed {"raw_longitude":757452032,"raw_latitude":113628152,"longitude_deg":75.7452032,"latitude_deg":11.3628152,"altitude":16,"angle":145,"satellites":43,"speed":42,"hex_longitude":"2d25cd00","hex_latitude":"06c5d3f8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933535744001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402497804968132608,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2717570560488112128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802883000,"timestamp_ms":1788802883000,"timestamp_seconds":1788802883,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf5ddb8"} 
[2026-09-07 23: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-07 23:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:12: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-07 23:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933535744001,"66":27332,"217":206,"81":20992,"24":42,"16":402497804968132608,"45":2717570560488112128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,81,24,16,45]} 
[2026-09-07 23:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933535744001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:12:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-09-07 23:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402497804968132608,"km_value":402497804968132.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2717570560488112128,"description":"Unknown IO ID 45"} 
[2026-09-07 23:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933535744001,"power":27332,"unknown_217":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2717570560488112128}} 
[2026-09-07 23:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:12:49] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:12:49] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:13:20] local.INFO: TCP Data received {"connection_id":175226,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf604c8012d25e20006c5b3b80012008f2b..."} 
[2026-09-07 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf604c8012d25e20006c5b3b80012008f2b..."} 
[2026-09-07 23:13:20] local.INFO: Processing buffer {"connection_id":175226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf604c8012d25e20006c5b3b80012008f2b..."} 
[2026-09-07 23:13:20] local.INFO: Packet analysis {"connection_id":175226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf6"} 
[2026-09-07 23:13:20] local.INFO: Extracted packet for processing {"connection_id":175226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf6"} 
[2026-09-07 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":757457408,"raw_latitude":113619896,"longitude_deg":75.7457408,"latitude_deg":11.3619896,"altitude":18,"angle":143,"satellites":43,"speed":38,"hex_longitude":"2d25e200","hex_latitude":"06c5b3b8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933538048001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402498281709502464,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2723833378717825024,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788802893000,"timestamp_ms":1788802893000,"timestamp_seconds":1788802893,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf604c8"} 
[2026-09-07 23: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-07 23:13: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-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:13:20] 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-07 23:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933538048001,"66":27245,"135":206,"81":20992,"24":38,"16":402498281709502464,"45":2723833378717825024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-07 23:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933538048001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:13:20] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 23:13:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402498281709502464,"km_value":402498281709502.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2723833378717825024,"description":"Unknown IO ID 45"} 
[2026-09-07 23:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933538048001,"power":27245,"unknown_135":206,"unknown_81":20992,"ignition":38,"odometer":null,"unknown_45":2723833378717825024}} 
[2026-09-07 23:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":175226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:13:20] local.INFO: GPS data processed {"connection_id":175226,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:13:20] local.INFO: Acknowledgment sent {"connection_id":175226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:13:42] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:42] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:42] local.INFO: IMEI packet received {"connection_id":173875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":173875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:13:43] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:43] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:43] local.INFO: IMEI packet received {"connection_id":173875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":173875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:13:48] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:48] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:13:48] local.INFO: IMEI packet received {"connection_id":173875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":173875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:13:49] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf62bd8012d25f8c006c598b00015008c2c..."} 
[2026-09-07 23:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf62bd8012d25f8c006c598b00015008c2c..."} 
[2026-09-07 23:13:49] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf62bd8012d25f8c006c598b00015008c2c..."} 
[2026-09-07 23:13:49] local.INFO: Packet analysis {"connection_id":173875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf6"} 
[2026-09-07 23:13:49] local.INFO: Extracted packet for processing {"connection_id":173875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf6"} 
[2026-09-07 23:13:49] local.INFO: GPS Element Parsed {"raw_longitude":757463232,"raw_latitude":113612976,"longitude_deg":75.7463232,"latitude_deg":11.3612976,"altitude":21,"angle":140,"satellites":44,"speed":34,"hex_longitude":"2d25f8c0","hex_latitude":"06c598b0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933540608001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402498715501199360,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2729744353226635264,"note":"Value kept but may cause issues"} 
[2026-09-07 23:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788802903000,"timestamp_ms":1788802903000,"timestamp_seconds":1788802903,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf62bd8"} 
[2026-09-07 23: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-07 23:13: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-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:13: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-07 23:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933540608001,"66":27332,"135":206,"81":20992,"24":34,"16":402498715501199360,"45":2729744353226635264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-09-07 23:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933540608001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:13:49] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-09-07 23:13:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402498715501199360,"km_value":402498715501199.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2729744353226635264,"description":"Unknown IO ID 45"} 
[2026-09-07 23:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933540608001,"power":27332,"unknown_135":206,"unknown_81":20992,"ignition":34,"odometer":null,"unknown_45":2729744353226635264}} 
[2026-09-07 23:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":173875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:13:49] local.INFO: GPS data processed {"connection_id":173875,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:13:49] local.INFO: Acknowledgment sent {"connection_id":173875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:14:25] local.INFO: TCP Data received {"connection_id":173875,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf7aaa8012d26f4c006c457b80010009b2b..."} 
[2026-09-07 23:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf7aaa8012d26f4c006c457b80010009b2b..."} 
[2026-09-07 23:14:25] local.INFO: Processing buffer {"connection_id":173875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf7aaa8012d26f4c006c457b80010009b2b..."} 
[2026-09-07 23:14:25] local.INFO: Packet analysis {"connection_id":173875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:14:25] local.INFO: Extracted packet for processing {"connection_id":173875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:14:25] local.INFO: GPS Element Parsed {"raw_longitude":757527744,"raw_latitude":113530808,"longitude_deg":75.7527744,"latitude_deg":11.3530808,"altitude":16,"angle":155,"satellites":43,"speed":45,"hex_longitude":"2d26f4c0","hex_latitude":"06c457b8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933566208001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402503774972674048,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2802927847150692352,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788803001000,"timestamp_ms":1788803001000,"timestamp_seconds":1788803001,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf7aaa8"} 
[2026-09-07 23: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-07 23:14: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-07 23:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":173875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":173875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":173875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:14:25] 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-07 23:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933566208001,"66":27376,"231":206,"81":20992,"24":45,"16":402503774972674048,"45":2802927847150692352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 23:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933566208001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:14:25] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 23:14:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402503774972674048,"km_value":402503774972674.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2802927847150692352,"description":"Unknown IO ID 45"} 
[2026-09-07 23:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933566208001,"power":27376,"unknown_231":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2802927847150692352}} 
[2026-09-07 23:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":173875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:14:25] local.INFO: GPS data processed {"connection_id":173875,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:14:25] local.INFO: Acknowledgment sent {"connection_id":173875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:14:43] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:14:43] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:43] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:14:48] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:48] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:14:48] local.INFO: IMEI packet received {"connection_id":174124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":174124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:14:49] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf7c9e8012d2703c006c437f00010009b2b..."} 
[2026-09-07 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf7c9e8012d2703c006c437f00010009b2b..."} 
[2026-09-07 23:14:49] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf7c9e8012d2703c006c437f00010009b2b..."} 
[2026-09-07 23:14:49] local.INFO: Packet analysis {"connection_id":174124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:14:49] local.INFO: Extracted packet for processing {"connection_id":174124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":757531584,"raw_latitude":113522672,"longitude_deg":75.7531584,"latitude_deg":11.3522672,"altitude":16,"angle":155,"satellites":43,"speed":44,"hex_longitude":"2d2703c0","hex_latitude":"06c437f0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933568256001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402504208764370944,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2807079603055081472,"note":"Value kept but may cause issues"} 
[2026-09-07 23:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803009000,"timestamp_ms":1788803009000,"timestamp_seconds":1788803009,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf7c9e8"} 
[2026-09-07 23: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-07 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:14: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-07 23:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933568256001,"66":27300,"231":206,"81":20992,"24":44,"16":402504208764370944,"45":2807079603055081472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 23:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933568256001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:14:49] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 23:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402504208764370944,"km_value":402504208764370.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2807079603055081472,"description":"Unknown IO ID 45"} 
[2026-09-07 23:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933568256001,"power":27300,"unknown_231":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2807079603055081472}} 
[2026-09-07 23:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":174124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:14:49] local.INFO: GPS data processed {"connection_id":174124,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:14:49] local.INFO: Acknowledgment sent {"connection_id":174124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:15:20] local.INFO: TCP Data received {"connection_id":174124,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf7ed10012d27148006c414b00011009b2c..."} 
[2026-09-07 23:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf7ed10012d27148006c414b00011009b2c..."} 
[2026-09-07 23:15:20] local.INFO: Processing buffer {"connection_id":174124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf7ed10012d27148006c414b00011009b2c..."} 
[2026-09-07 23:15:20] local.INFO: Packet analysis {"connection_id":174124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:15:20] local.INFO: Extracted packet for processing {"connection_id":174124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf7"} 
[2026-09-07 23:15:20] local.INFO: GPS Element Parsed {"raw_longitude":757535872,"raw_latitude":113513648,"longitude_deg":75.7535872,"latitude_deg":11.3513648,"altitude":17,"angle":155,"satellites":44,"speed":44,"hex_longitude":"2d271480","hex_latitude":"06c414b0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933570304001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402504694095675392,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2811301727703658496,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788803018000,"timestamp_ms":1788803018000,"timestamp_seconds":1788803018,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf7ed10"} 
[2026-09-07 23: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-07 23:15: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-07 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:15:20] 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-07 23:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933570304001,"66":27332,"231":206,"81":20992,"24":44,"16":402504694095675392,"45":2811301727703658496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 23:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933570304001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:15:20] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 23:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402504694095675392,"km_value":402504694095675.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2811301727703658496,"description":"Unknown IO ID 45"} 
[2026-09-07 23:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933570304001,"power":27332,"unknown_231":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2811301727703658496}} 
[2026-09-07 23:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":174124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:15:20] local.INFO: GPS data processed {"connection_id":174124,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:15:20] local.INFO: Acknowledgment sent {"connection_id":174124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:15:43] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:43] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:43] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:15:48] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:48] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:15:48] local.INFO: IMEI packet received {"connection_id":176638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":176638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:15:49] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf81038012d2724c006c3f1580013009b2c..."} 
[2026-09-07 23:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf81038012d2724c006c3f1580013009b2c..."} 
[2026-09-07 23:15:49] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf81038012d2724c006c3f1580013009b2c..."} 
[2026-09-07 23:15:49] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf8"} 
[2026-09-07 23:15:49] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf8"} 
[2026-09-07 23:15:49] local.INFO: GPS Element Parsed {"raw_longitude":757540032,"raw_latitude":113504600,"longitude_deg":75.7540032,"latitude_deg":11.35046,"altitude":19,"angle":155,"satellites":44,"speed":43,"hex_longitude":"2d2724c0","hex_latitude":"06c3f158","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933572608001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402505175132012544,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2816016433561251840,"note":"Value kept but may cause issues"} 
[2026-09-07 23:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803027000,"timestamp_ms":1788803027000,"timestamp_seconds":1788803027,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf81038"} 
[2026-09-07 23: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-07 23:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:15: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-07 23:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933572608001,"66":27213,"231":206,"81":20992,"24":43,"16":402505175132012544,"45":2816016433561251840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-09-07 23:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933572608001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:15:49] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-09-07 23:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402505175132012544,"km_value":402505175132012.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2816016433561251840,"description":"Unknown IO ID 45"} 
[2026-09-07 23:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933572608001,"power":27213,"unknown_231":206,"unknown_81":20992,"ignition":43,"odometer":null,"unknown_45":2816016433561251840}} 
[2026-09-07 23:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:15:49] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:15:49] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:16:19] local.INFO: TCP Data received {"connection_id":176638,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf97f68012d27d10006c27920000e009b2c..."} 
[2026-09-07 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf97f68012d27d10006c27920000e009b2c..."} 
[2026-09-07 23:16:19] local.INFO: Processing buffer {"connection_id":176638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf97f68012d27d10006c27920000e009b2c..."} 
[2026-09-07 23:16:19] local.INFO: Packet analysis {"connection_id":176638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:16:19] local.INFO: Extracted packet for processing {"connection_id":176638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:16:19] local.INFO: GPS Element Parsed {"raw_longitude":757584128,"raw_latitude":113408288,"longitude_deg":75.7584128,"latitude_deg":11.3408288,"altitude":14,"angle":155,"satellites":44,"speed":42,"hex_longitude":"2d27d100","hex_latitude":"06c27920","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933596672001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402510294733029376,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2865133816972591104,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788803121000,"timestamp_ms":1788803121000,"timestamp_seconds":1788803121,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf97f68"} 
[2026-09-07 23: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-07 23:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":176638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":176638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:16: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-07 23:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933596672001,"66":27245,"181":206,"81":20992,"24":42,"16":402510294733029376,"45":2865133816972591104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933596672001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:16:19] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402510294733029376,"km_value":402510294733029.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2865133816972591104,"description":"Unknown IO ID 45"} 
[2026-09-07 23:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933596672001,"power":27245,"unknown_181":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":2865133816972591104}} 
[2026-09-07 23:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":176638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:16:19] local.INFO: GPS data processed {"connection_id":176638,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:16:19] local.INFO: Acknowledgment sent {"connection_id":176638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:16:45] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:45] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:45] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:16:48] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:48] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:48] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:16:53] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:53] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:16:53] local.INFO: IMEI packet received {"connection_id":174127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":174127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:16:55] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf9a290012d27e10006c25850000e009a2c..."} 
[2026-09-07 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf9a290012d27e10006c25850000e009a2c..."} 
[2026-09-07 23:16:55] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf9a290012d27e10006c25850000e009a2c..."} 
[2026-09-07 23:16:55] local.INFO: Packet analysis {"connection_id":174127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:16:55] local.INFO: Extracted packet for processing {"connection_id":174127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":757588224,"raw_latitude":113399888,"longitude_deg":75.7588224,"latitude_deg":11.3399888,"altitude":14,"angle":154,"satellites":44,"speed":37,"hex_longitude":"2d27e100","hex_latitude":"06c25850","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933598976001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402510745704595456,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2869074466644238336,"note":"Value kept but may cause issues"} 
[2026-09-07 23:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788803130000,"timestamp_ms":1788803130000,"timestamp_seconds":1788803130,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf9a290"} 
[2026-09-07 23: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-07 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:16:55] 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-07 23:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933598976001,"66":27104,"181":206,"81":20992,"24":37,"16":402510745704595456,"45":2869074466644238336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933598976001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:16:55] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:16:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402510745704595456,"km_value":402510745704595.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2869074466644238336,"description":"Unknown IO ID 45"} 
[2026-09-07 23:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933598976001,"power":27104,"unknown_181":206,"unknown_81":20992,"ignition":37,"odometer":null,"unknown_45":2869074466644238336}} 
[2026-09-07 23:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":174127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:16:55] local.INFO: GPS data processed {"connection_id":174127,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:16:55] local.INFO: Acknowledgment sent {"connection_id":174127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:17:26] local.INFO: TCP Data received {"connection_id":174126,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:26] local.INFO: Processing buffer {"connection_id":174126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:26] local.INFO: IMEI packet received {"connection_id":174126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":174126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:17:34] local.INFO: TCP Data received {"connection_id":174127,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf9c9a0012d27f10006c23698000e00982b..."} 
[2026-09-07 23:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf9c9a0012d27f10006c23698000e00982b..."} 
[2026-09-07 23:17:34] local.INFO: Processing buffer {"connection_id":174127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf9c9a0012d27f10006c23698000e00982b..."} 
[2026-09-07 23:17:34] local.INFO: Packet analysis {"connection_id":174127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:17:34] local.INFO: Extracted packet for processing {"connection_id":174127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:17:34] local.INFO: GPS Element Parsed {"raw_longitude":757592320,"raw_latitude":113391256,"longitude_deg":75.759232,"latitude_deg":11.3391256,"altitude":14,"angle":152,"satellites":43,"speed":37,"hex_longitude":"2d27f100","hex_latitude":"06c23698","is_valid_coordinates":true} 
[2026-09-07 23:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933601280001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402511205266096128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2873578066269458432,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1788803140000,"timestamp_ms":1788803140000,"timestamp_seconds":1788803140,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf9c9a0"} 
[2026-09-07 23:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-07 23:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":174127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":174127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":174127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:17:34] 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-07 23:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933601280001,"66":27321,"181":206,"81":20992,"24":37,"16":402511205266096128,"45":2873578066269458432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933601280001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:17:34] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402511205266096128,"km_value":402511205266096.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2873578066269458432,"description":"Unknown IO ID 45"} 
[2026-09-07 23:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933601280001,"power":27321,"unknown_181":206,"unknown_81":20992,"ignition":37,"odometer":null,"unknown_45":2873578066269458432}} 
[2026-09-07 23:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":174127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:17:34] local.INFO: GPS data processed {"connection_id":174127,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:17:34] local.INFO: Acknowledgment sent {"connection_id":174127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:17:43] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:43] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:43] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:17:46] local.INFO: TCP Data received {"connection_id":174128,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:46] local.INFO: Processing buffer {"connection_id":174128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:17:46] local.INFO: IMEI packet received {"connection_id":174128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":174128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:17:46] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:46] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:17:46] local.INFO: IMEI packet received {"connection_id":176639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":176639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:17:47] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cf9e4f8012d27fdc006c221d8000e008a2c..."} 
[2026-09-07 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cf9e4f8012d27fdc006c221d8000e008a2c..."} 
[2026-09-07 23:17:47] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cf9e4f8012d27fdc006c221d8000e008a2c..."} 
[2026-09-07 23:17:47] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:17:47] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cf9"} 
[2026-09-07 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":757595584,"raw_latitude":113385944,"longitude_deg":75.7595584,"latitude_deg":11.3385944,"altitude":14,"angle":138,"satellites":44,"speed":36,"hex_longitude":"2d27fdc0","hex_latitude":"06c221d8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933603840001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402511510208774144,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2878081665894619136,"note":"Value kept but may cause issues"} 
[2026-09-07 23:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788803147000,"timestamp_ms":1788803147000,"timestamp_seconds":1788803147,"priority":1,"record_length":96,"hex_timestamp":"000001a07cf9e4f8"} 
[2026-09-07 23: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-07 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:17:47] 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-07 23:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933603840001,"66":27310,"181":206,"81":20992,"24":36,"16":402511510208774144,"45":2878081665894619136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933603840001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:17:47] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402511510208774144,"km_value":402511510208774.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2878081665894619136,"description":"Unknown IO ID 45"} 
[2026-09-07 23:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933603840001,"power":27310,"unknown_181":206,"unknown_81":20992,"ignition":36,"odometer":null,"unknown_45":2878081665894619136}} 
[2026-09-07 23:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:17:47] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:17:47] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:18:18] local.INFO: TCP Data received {"connection_id":176639,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfa0c08012d2815c006c204700010008d2c..."} 
[2026-09-07 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfa0c08012d2815c006c204700010008d2c..."} 
[2026-09-07 23:18:18] local.INFO: Processing buffer {"connection_id":176639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfa0c08012d2815c006c204700010008d2c..."} 
[2026-09-07 23:18:18] local.INFO: Packet analysis {"connection_id":176639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfa"} 
[2026-09-07 23:18:18] local.INFO: Extracted packet for processing {"connection_id":176639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfa"} 
[2026-09-07 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":757601728,"raw_latitude":113378416,"longitude_deg":75.7601728,"latitude_deg":11.3378416,"altitude":16,"angle":141,"satellites":44,"speed":38,"hex_longitude":"2d2815c0","hex_latitude":"06c20470","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933605632001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402511974065242112,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2881670471846320128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788803157000,"timestamp_ms":1788803157000,"timestamp_seconds":1788803157,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfa0c08"} 
[2026-09-07 23: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-07 23:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 23:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":176639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":176639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":176639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:18:18] 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-07 23:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933605632001,"66":27213,"181":206,"81":20992,"24":38,"16":402511974065242112,"45":2881670471846320128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-09-07 23:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933605632001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:18:18] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-09-07 23:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402511974065242112,"km_value":402511974065242.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2881670471846320128,"description":"Unknown IO ID 45"} 
[2026-09-07 23:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933605632001,"power":27213,"unknown_181":206,"unknown_81":20992,"ignition":38,"odometer":null,"unknown_45":2881670471846320128}} 
[2026-09-07 23:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":176639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:18:18] local.INFO: GPS data processed {"connection_id":176639,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:18:18] local.INFO: Acknowledgment sent {"connection_id":176639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:18:41] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:41] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:41] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:18:44] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:44] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:44] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:18:52] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:52] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:18:52] local.INFO: IMEI packet received {"connection_id":174129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":174129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:18:53] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfb9a78012d2930c006c0e0d8001000862b..."} 
[2026-09-07 23:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfb9a78012d2930c006c0e0d8001000862b..."} 
[2026-09-07 23:18:53] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfb9a78012d2930c006c0e0d8001000862b..."} 
[2026-09-07 23:18:53] local.INFO: Packet analysis {"connection_id":174129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:18:53] local.INFO: Extracted packet for processing {"connection_id":174129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:18:53] local.INFO: GPS Element Parsed {"raw_longitude":757674176,"raw_latitude":113303768,"longitude_deg":75.7674176,"latitude_deg":11.3303768,"altitude":16,"angle":134,"satellites":43,"speed":46,"hex_longitude":"2d2930c0","hex_latitude":"06c0e0d8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933632256001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402516973407174656,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960976046515240960,"note":"Value kept but may cause issues"} 
[2026-09-07 23:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788803259000,"timestamp_ms":1788803259000,"timestamp_seconds":1788803259,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfb9a78"} 
[2026-09-07 23: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-07 23:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-09-07 23:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:18:53] 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-07 23:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933632256001,"66":27234,"33":206,"81":20992,"24":46,"16":402516973407174656,"45":2960976046515240960},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-07 23:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933632256001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:18:53] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 23:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402516973407174656,"km_value":402516973407174.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960976046515240960,"description":"Unknown IO ID 45"} 
[2026-09-07 23:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933632256001,"power":27234,"unknown_33":206,"unknown_81":20992,"ignition":46,"odometer":null,"unknown_45":2960976046515240960}} 
[2026-09-07 23:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":174129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:18:53] local.INFO: GPS data processed {"connection_id":174129,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:18:53] local.INFO: Acknowledgment sent {"connection_id":174129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:19:24] local.INFO: TCP Data received {"connection_id":174129,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfbb9b8012d294b0006c0c5b8000e00872b..."} 
[2026-09-07 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfbb9b8012d294b0006c0c5b8000e00872b..."} 
[2026-09-07 23:19:24] local.INFO: Processing buffer {"connection_id":174129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfbb9b8012d294b0006c0c5b8000e00872b..."} 
[2026-09-07 23:19:24] local.INFO: Packet analysis {"connection_id":174129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:19:24] local.INFO: Extracted packet for processing {"connection_id":174129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:19:24] local.INFO: GPS Element Parsed {"raw_longitude":757680896,"raw_latitude":113296824,"longitude_deg":75.7680896,"latitude_deg":11.3296824,"altitude":14,"angle":135,"satellites":43,"speed":47,"hex_longitude":"2d294b00","hex_latitude":"06c0c5b8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933634304001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402517437263642624,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2968083289675454464,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788803267000,"timestamp_ms":1788803267000,"timestamp_seconds":1788803267,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfbb9b8"} 
[2026-09-07 23: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-07 23: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-07 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":174129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":174129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":174129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:19:24] 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-07 23:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933634304001,"66":27245,"33":206,"81":20992,"24":47,"16":402517437263642624,"45":2968083289675454464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-07 23:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933634304001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:19:24] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 23:19:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402517437263642624,"km_value":402517437263642.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2968083289675454464,"description":"Unknown IO ID 45"} 
[2026-09-07 23:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933634304001,"power":27245,"unknown_33":206,"unknown_81":20992,"ignition":47,"odometer":null,"unknown_45":2968083289675454464}} 
[2026-09-07 23:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":174129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:19:24] local.INFO: GPS data processed {"connection_id":174129,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:19:24] local.INFO: Acknowledgment sent {"connection_id":174129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:19:43] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:43] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:43] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:19:46] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:46] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:46] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:19:48] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:48] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:19:48] local.INFO: IMEI packet received {"connection_id":173876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":173876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:19:49] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfbd8f8012d2965c006c0abd0000d00852b..."} 
[2026-09-07 23:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfbd8f8012d2965c006c0abd0000d00852b..."} 
[2026-09-07 23:19:49] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfbd8f8012d2965c006c0abd0000d00852b..."} 
[2026-09-07 23:19:49] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:19:49] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:19:49] local.INFO: GPS Element Parsed {"raw_longitude":757687744,"raw_latitude":113290192,"longitude_deg":75.7687744,"latitude_deg":11.3290192,"altitude":13,"angle":133,"satellites":43,"speed":45,"hex_longitude":"2d2965c0","hex_latitude":"06c0abd0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933636352001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402517896825143296,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2975472007812331520,"note":"Value kept but may cause issues"} 
[2026-09-07 23:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803275000,"timestamp_ms":1788803275000,"timestamp_seconds":1788803275,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfbd8f8"} 
[2026-09-07 23: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-07 23:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:19: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-07 23:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933636352001,"66":27332,"33":206,"81":20992,"24":45,"16":402517896825143296,"45":2975472007812331520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-07 23:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933636352001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:19:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 23:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402517896825143296,"km_value":402517896825143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2975472007812331520,"description":"Unknown IO ID 45"} 
[2026-09-07 23:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933636352001,"power":27332,"unknown_33":206,"unknown_81":20992,"ignition":45,"odometer":null,"unknown_45":2975472007812331520}} 
[2026-09-07 23:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:19:49] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:19:49] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:20:20] local.INFO: TCP Data received {"connection_id":173876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfbf838012d29810006c094e0000c00822b..."} 
[2026-09-07 23:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfbf838012d29810006c094e0000c00822b..."} 
[2026-09-07 23:20:20] local.INFO: Processing buffer {"connection_id":173876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfbf838012d29810006c094e0000c00822b..."} 
[2026-09-07 23:20:20] local.INFO: Packet analysis {"connection_id":173876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:20:20] local.INFO: Extracted packet for processing {"connection_id":173876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfb"} 
[2026-09-07 23:20:20] local.INFO: GPS Element Parsed {"raw_longitude":757694720,"raw_latitude":113284320,"longitude_deg":75.769472,"latitude_deg":11.328432,"altitude":12,"angle":130,"satellites":43,"speed":44,"hex_longitude":"2d298100","hex_latitude":"06c094e0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933638400001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402518330616840192,"note":"Value kept but may cause issues"} 
[2026-09-07 23:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2983001463437643776,"note":"Value kept but may cause issues"} 
[2026-09-07 23:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788803283000,"timestamp_ms":1788803283000,"timestamp_seconds":1788803283,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfbf838"} 
[2026-09-07 23: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-07 23:20: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-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:20:20] 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-07 23:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933638400001,"66":27300,"33":206,"81":20992,"24":44,"16":402518330616840192,"45":2983001463437643776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,81,24,16,45]} 
[2026-09-07 23:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933638400001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:20:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-09-07 23:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402518330616840192,"km_value":402518330616840.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2983001463437643776,"description":"Unknown IO ID 45"} 
[2026-09-07 23:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933638400001,"power":27300,"unknown_33":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":2983001463437643776}} 
[2026-09-07 23:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":173876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:20:20] local.INFO: GPS data processed {"connection_id":173876,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:20:20] local.INFO: Acknowledgment sent {"connection_id":173876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:20:43] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:20:43] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:43] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:20:49] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:49] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:20:49] local.INFO: IMEI packet received {"connection_id":175229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":175229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:21:11] local.INFO: TCP Data received {"connection_id":175229,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfd86a8012d2a790006bf52b00013008e2b..."} 
[2026-09-07 23:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfd86a8012d2a790006bf52b00013008e2b..."} 
[2026-09-07 23:21:11] local.INFO: Processing buffer {"connection_id":175229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfd86a8012d2a790006bf52b00013008e2b..."} 
[2026-09-07 23:21:11] local.INFO: Packet analysis {"connection_id":175229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:21:11] local.INFO: Extracted packet for processing {"connection_id":175229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:21:11] local.INFO: GPS Element Parsed {"raw_longitude":757758208,"raw_latitude":113201840,"longitude_deg":75.7758208,"latitude_deg":11.320184,"altitude":19,"angle":142,"satellites":43,"speed":36,"hex_longitude":"2d2a7900","hex_latitude":"06bf52b0","is_valid_coordinates":true} 
[2026-09-07 23:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933664000001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402523355728576512,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3054073895036397568,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1788803385000,"timestamp_ms":1788803385000,"timestamp_seconds":1788803385,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfd86a8"} 
[2026-09-07 23:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":175229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":175229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 23:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933664000001,"66":27234,"73":206,"81":20992,"24":36,"16":402523355728576512,"45":3054073895036397568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-09-07 23:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933664000001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:21:11] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-09-07 23:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402523355728576512,"km_value":402523355728576.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3054073895036397568,"description":"Unknown IO ID 45"} 
[2026-09-07 23:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933664000001,"power":27234,"unknown_73":206,"unknown_81":20992,"ignition":36,"odometer":null,"unknown_45":3054073895036397568}} 
[2026-09-07 23:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":175229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:21:11] local.INFO: GPS data processed {"connection_id":175229,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:21:11] local.INFO: Acknowledgment sent {"connection_id":175229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:21:48] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:48] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:48] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:21:53] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:53] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:21:53] local.INFO: IMEI packet received {"connection_id":174130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":174130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:21:55] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfdadb8012d2a8f0006bf36380011008d2b..."} 
[2026-09-07 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfdadb8012d2a8f0006bf36380011008d2b..."} 
[2026-09-07 23:21:55] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfdadb8012d2a8f0006bf36380011008d2b..."} 
[2026-09-07 23:21:55] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:21:55] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":757763840,"raw_latitude":113194552,"longitude_deg":75.776384,"latitude_deg":11.3194552,"altitude":17,"angle":141,"satellites":43,"speed":37,"hex_longitude":"2d2a8f00","hex_latitude":"06bf3638","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933666560001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402523798110208000,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3060477450754633728,"note":"Value kept but may cause issues"} 
[2026-09-07 23:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1788803395000,"timestamp_ms":1788803395000,"timestamp_seconds":1788803395,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfdadb8"} 
[2026-09-07 23: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-07 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:21:55] 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-07 23:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933666560001,"66":27376,"75":206,"81":20992,"24":37,"16":402523798110208000,"45":3060477450754633728},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-07 23:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933666560001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:21:55] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 23:21:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402523798110208000,"km_value":402523798110208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3060477450754633728,"description":"Unknown IO ID 45"} 
[2026-09-07 23:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933666560001,"power":27376,"unknown_75":206,"unknown_81":20992,"ignition":37,"odometer":null,"unknown_45":3060477450754633728}} 
[2026-09-07 23:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:21:55] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:21:55] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:22:27] local.INFO: TCP Data received {"connection_id":174130,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfdd4c8012d2aa78006bf1888000f008b2b..."} 
[2026-09-07 23:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfdd4c8012d2aa78006bf1888000f008b2b..."} 
[2026-09-07 23:22:27] local.INFO: Processing buffer {"connection_id":174130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfdd4c8012d2aa78006bf1888000f008b2b..."} 
[2026-09-07 23:22:27] local.INFO: Packet analysis {"connection_id":174130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:22:27] local.INFO: Extracted packet for processing {"connection_id":174130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:22:27] local.INFO: GPS Element Parsed {"raw_longitude":757770112,"raw_latitude":113186952,"longitude_deg":75.7770112,"latitude_deg":11.3186952,"altitude":15,"angle":139,"satellites":43,"speed":39,"hex_longitude":"2d2aa780","hex_latitude":"06bf1888","is_valid_coordinates":true} 
[2026-09-07 23:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933669120001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402524274851577856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3066669900240402432,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1788803405000,"timestamp_ms":1788803405000,"timestamp_seconds":1788803405,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfdd4c8"} 
[2026-09-07 23:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":174130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":174130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:22:27] 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-07 23:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933669120001,"66":27234,"75":206,"81":20992,"24":39,"16":402524274851577856,"45":3066669900240402432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-07 23:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933669120001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:22:27] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 23:22:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402524274851577856,"km_value":402524274851577.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3066669900240402432,"description":"Unknown IO ID 45"} 
[2026-09-07 23:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933669120001,"power":27234,"unknown_75":206,"unknown_81":20992,"ignition":39,"odometer":null,"unknown_45":3066669900240402432}} 
[2026-09-07 23:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":174130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:22:27] local.INFO: GPS data processed {"connection_id":174130,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:22:27] local.INFO: Acknowledgment sent {"connection_id":174130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:22:41] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:41] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:41] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:22:43] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:43] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:43] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:22:48] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:48] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:22:48] local.INFO: IMEI packet received {"connection_id":176641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":176641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:22:49] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfdfbd8012d2abf8006befbd8000e008d2b..."} 
[2026-09-07 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfdfbd8012d2abf8006befbd8000e008d2b..."} 
[2026-09-07 23:22:49] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfdfbd8012d2abf8006befbd8000e008d2b..."} 
[2026-09-07 23:22:49] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:22:49] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfd"} 
[2026-09-07 23:22:49] local.INFO: GPS Element Parsed {"raw_longitude":757776256,"raw_latitude":113179608,"longitude_deg":75.7776256,"latitude_deg":11.3179608,"altitude":14,"angle":141,"satellites":43,"speed":35,"hex_longitude":"2d2abf80","hex_latitude":"06befbd8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933671680001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402524734413078528,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3073566037167867904,"note":"Value kept but may cause issues"} 
[2026-09-07 23:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803415000,"timestamp_ms":1788803415000,"timestamp_seconds":1788803415,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfdfbd8"} 
[2026-09-07 23: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-07 23:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:22: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-07 23:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933671680001,"66":27300,"75":206,"81":20992,"24":35,"16":402524734413078528,"45":3073566037167867904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-07 23:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933671680001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:22:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 23:22:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402524734413078528,"km_value":402524734413078.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3073566037167867904,"description":"Unknown IO ID 45"} 
[2026-09-07 23:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933671680001,"power":27300,"unknown_75":206,"unknown_81":20992,"ignition":35,"odometer":null,"unknown_45":3073566037167867904}} 
[2026-09-07 23:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:22:49] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:22:49] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:23:21] local.INFO: TCP Data received {"connection_id":173878,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:21] local.INFO: Processing buffer {"connection_id":173878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:21] local.INFO: IMEI packet received {"connection_id":173878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":173878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:23:21] local.INFO: TCP Data received {"connection_id":176641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07cfe26d0012d2ad7c006bedfb0000e008c2b..."} 
[2026-09-07 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07cfe26d0012d2ad7c006bedfb0000e008c2b..."} 
[2026-09-07 23:23:21] local.INFO: Processing buffer {"connection_id":176641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07cfe26d0012d2ad7c006bedfb0000e008c2b..."} 
[2026-09-07 23:23:21] local.INFO: Packet analysis {"connection_id":176641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07cfe"} 
[2026-09-07 23:23:21] local.INFO: Extracted packet for processing {"connection_id":176641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07cfe"} 
[2026-09-07 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":757782464,"raw_latitude":113172400,"longitude_deg":75.7782464,"latitude_deg":11.31724,"altitude":14,"angle":140,"satellites":43,"speed":31,"hex_longitude":"2d2ad7c0","hex_latitude":"06bedfb0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933674240001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402525189679611904,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3080321436607043584,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788803426000,"timestamp_ms":1788803426000,"timestamp_seconds":1788803426,"priority":1,"record_length":96,"hex_timestamp":"000001a07cfe26d0"} 
[2026-09-07 23: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-07 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:23:21] 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-07 23:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933674240001,"66":27343,"75":206,"81":20992,"24":31,"16":402525189679611904,"45":3080321436607043584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-09-07 23:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933674240001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:23:21] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-09-07 23:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402525189679611904,"km_value":402525189679611.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3080321436607043584,"description":"Unknown IO ID 45"} 
[2026-09-07 23:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933674240001,"power":27343,"unknown_75":206,"unknown_81":20992,"ignition":31,"odometer":null,"unknown_45":3080321436607043584}} 
[2026-09-07 23:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":176641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:23:21] local.INFO: GPS data processed {"connection_id":176641,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:23:21] local.INFO: Acknowledgment sent {"connection_id":176641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:23:43] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:43] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:43] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:23:44] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:44] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:44] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:23:46] local.INFO: TCP Data received {"connection_id":173879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:46] local.INFO: Processing buffer {"connection_id":173879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:23:46] local.INFO: IMEI packet received {"connection_id":173879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":173879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:23:48] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:48] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:23:48] local.INFO: IMEI packet received {"connection_id":174131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":174131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:23:49] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d00a388012d2c2ac006bd56780014007d2a..."} 
[2026-09-07 23:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d00a388012d2c2ac006bd56780014007d2a..."} 
[2026-09-07 23:23:49] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d00a388012d2c2ac006bd56780014007d2a..."} 
[2026-09-07 23:23:49] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:23:49] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:23:49] local.INFO: GPS Element Parsed {"raw_longitude":757869248,"raw_latitude":113071736,"longitude_deg":75.7869248,"latitude_deg":11.3071736,"altitude":20,"angle":125,"satellites":42,"speed":39,"hex_longitude":"2d2c2ac0","hex_latitude":"06bd5678","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933716224001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402529531891548160,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3174122972569675776,"note":"Value kept but may cause issues"} 
[2026-09-07 23:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803589000,"timestamp_ms":1788803589000,"timestamp_seconds":1788803589,"priority":1,"record_length":96,"hex_timestamp":"000001a07d00a388"} 
[2026-09-07 23: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-07 23:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:23: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-07 23:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933716224001,"66":27300,"124":206,"81":20992,"24":39,"16":402529531891548160,"45":3174122972569675776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-07 23:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933716224001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:23:49] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-07 23:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402529531891548160,"km_value":402529531891548.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3174122972569675776,"description":"Unknown IO ID 45"} 
[2026-09-07 23:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933716224001,"power":27300,"unknown_124":206,"unknown_81":20992,"ignition":39,"odometer":null,"unknown_45":3174122972569675776}} 
[2026-09-07 23:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:23:49] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:23:49] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:24:21] local.INFO: TCP Data received {"connection_id":174131,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d00c6b0012d2c46c006bd3f400014008628..."} 
[2026-09-07 23:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d00c6b0012d2c46c006bd3f400014008628..."} 
[2026-09-07 23:24:21] local.INFO: Processing buffer {"connection_id":174131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d00c6b0012d2c46c006bd3f400014008628..."} 
[2026-09-07 23:24:21] local.INFO: Packet analysis {"connection_id":174131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:24:21] local.INFO: Extracted packet for processing {"connection_id":174131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:24:21] local.INFO: GPS Element Parsed {"raw_longitude":757876416,"raw_latitude":113065792,"longitude_deg":75.7876416,"latitude_deg":11.3065792,"altitude":20,"angle":134,"satellites":40,"speed":41,"hex_longitude":"2d2c46c0","hex_latitude":"06bd3f40","is_valid_coordinates":true} 
[2026-09-07 23:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933718784001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402529978568146944,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3182567221869574144,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788803598000,"timestamp_ms":1788803598000,"timestamp_seconds":1788803598,"priority":1,"record_length":96,"hex_timestamp":"000001a07d00c6b0"} 
[2026-09-07 23:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:24:21] 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-07 23:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933718784001,"66":27321,"124":206,"81":20992,"24":41,"16":402529978568146944,"45":3182567221869574144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-07 23:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933718784001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:24:21] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-07 23:24:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402529978568146944,"km_value":402529978568146.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3182567221869574144,"description":"Unknown IO ID 45"} 
[2026-09-07 23:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933718784001,"power":27321,"unknown_124":206,"unknown_81":20992,"ignition":41,"odometer":null,"unknown_45":3182567221869574144}} 
[2026-09-07 23:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":174131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:24:21] local.INFO: GPS data processed {"connection_id":174131,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:24:21] local.INFO: Acknowledgment sent {"connection_id":174131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:24:43] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:43] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:43] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:24:48] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:48] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:24:48] local.INFO: IMEI packet received {"connection_id":174132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":174132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:24:49] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d00e9d8012d2c614006bd23d8001500872a..."} 
[2026-09-07 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d00e9d8012d2c614006bd23d8001500872a..."} 
[2026-09-07 23:24:49] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d00e9d8012d2c614006bd23d8001500872a..."} 
[2026-09-07 23:24:49] local.INFO: Packet analysis {"connection_id":174132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:24:49] local.INFO: Extracted packet for processing {"connection_id":174132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d00"} 
[2026-09-07 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":757883200,"raw_latitude":113058776,"longitude_deg":75.78832,"latitude_deg":11.3058776,"altitude":21,"angle":135,"satellites":42,"speed":42,"hex_longitude":"2d2c6140","hex_latitude":"06bd23d8","is_valid_coordinates":true} 
[2026-09-07 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933721088001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402530446719582208,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3190448521215950848,"note":"Value kept but may cause issues"} 
[2026-09-07 23:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803607000,"timestamp_ms":1788803607000,"timestamp_seconds":1788803607,"priority":1,"record_length":96,"hex_timestamp":"000001a07d00e9d8"} 
[2026-09-07 23:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:24: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-07 23:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933721088001,"66":27267,"124":206,"81":20992,"24":42,"16":402530446719582208,"45":3190448521215950848},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-09-07 23:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933721088001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:24:49] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-09-07 23:24:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402530446719582208,"km_value":402530446719582.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3190448521215950848,"description":"Unknown IO ID 45"} 
[2026-09-07 23:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933721088001,"power":27267,"unknown_124":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":3190448521215950848}} 
[2026-09-07 23:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":174132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:24:49] local.INFO: GPS data processed {"connection_id":174132,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:24:49] local.INFO: Acknowledgment sent {"connection_id":174132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:25:21] local.INFO: TCP Data received {"connection_id":174132,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d010d00012d2c7bc006bd0810001500892a..."} 
[2026-09-07 23:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d010d00012d2c7bc006bd0810001500892a..."} 
[2026-09-07 23:25:21] local.INFO: Processing buffer {"connection_id":174132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d010d00012d2c7bc006bd0810001500892a..."} 
[2026-09-07 23:25:21] local.INFO: Packet analysis {"connection_id":174132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d01"} 
[2026-09-07 23:25:21] local.INFO: Extracted packet for processing {"connection_id":174132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d01"} 
[2026-09-07 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":757889984,"raw_latitude":113051664,"longitude_deg":75.7889984,"latitude_deg":11.3051664,"altitude":21,"angle":137,"satellites":42,"speed":44,"hex_longitude":"2d2c7bc0","hex_latitude":"06bd0810","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933723392001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402530919165984768,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3197907608096987136,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788803616000,"timestamp_ms":1788803616000,"timestamp_seconds":1788803616,"priority":1,"record_length":96,"hex_timestamp":"000001a07d010d00"} 
[2026-09-07 23: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-07 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":174132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":174132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:21] 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-07 23:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933723392001,"66":27376,"20":206,"81":20992,"24":44,"16":402530919165984768,"45":3197907608096987136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,81,24,16,45]} 
[2026-09-07 23:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933723392001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:25:21] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-09-07 23:25:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402530919165984768,"km_value":402530919165984.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3197907608096987136,"description":"Unknown IO ID 45"} 
[2026-09-07 23:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933723392001,"power":27376,"unknown_20":206,"unknown_81":20992,"ignition":44,"odometer":null,"unknown_45":3197907608096987136}} 
[2026-09-07 23:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":174132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:25:21] local.INFO: GPS data processed {"connection_id":174132,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:25:21] local.INFO: Acknowledgment sent {"connection_id":174132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:25:53] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:53] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:53] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:25:55] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:55] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:25:55] local.INFO: IMEI packet received {"connection_id":174135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":174135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:25:56] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0287e8012d2d8a0006bbd4200014008929..."} 
[2026-09-07 23:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0287e8012d2d8a0006bbd4200014008929..."} 
[2026-09-07 23:25:56] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0287e8012d2d8a0006bbd4200014008929..."} 
[2026-09-07 23:25:56] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:25:56] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":757959168,"raw_latitude":112972832,"longitude_deg":75.7959168,"latitude_deg":11.2972832,"altitude":20,"angle":137,"satellites":41,"speed":41,"hex_longitude":"2d2d8a00","hex_latitude":"06bbd420","is_valid_coordinates":true} 
[2026-09-07 23:25: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-07 23:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933748224001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402535961457590272,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3274539170486249472,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1788803713000,"timestamp_ms":1788803713000,"timestamp_seconds":1788803713,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0287e8"} 
[2026-09-07 23:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:25: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-07 23:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:56] 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-07 23:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933748224001,"66":27321,"78":206,"81":21760,"24":41,"16":402535961457590272,"45":3274539170486249472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933748224001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:25:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:25:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 23:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402535961457590272,"km_value":402535961457590.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3274539170486249472,"description":"Unknown IO ID 45"} 
[2026-09-07 23:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933748224001,"power":27321,"unknown_78":206,"unknown_81":21760,"ignition":41,"odometer":null,"unknown_45":3274539170486249472}} 
[2026-09-07 23:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:25:56] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:25:56] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:25:59] local.INFO: TCP Data received {"connection_id":174135,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d02ab10012d2da18006bbb838001500912b..."} 
[2026-09-07 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d02ab10012d2da18006bbb838001500912b..."} 
[2026-09-07 23:25:59] local.INFO: Processing buffer {"connection_id":174135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d02ab10012d2da18006bbb838001500912b..."} 
[2026-09-07 23:25:59] local.INFO: Packet analysis {"connection_id":174135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:25:59] local.INFO: Extracted packet for processing {"connection_id":174135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":757965184,"raw_latitude":112965688,"longitude_deg":75.7965184,"latitude_deg":11.2965688,"altitude":21,"angle":145,"satellites":43,"speed":40,"hex_longitude":"2d2da180","hex_latitude":"06bbb838","is_valid_coordinates":true} 
[2026-09-07 23:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933750528001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402536412429156352,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3281435307413872640,"note":"Value kept but may cause issues"} 
[2026-09-07 23:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788803722000,"timestamp_ms":1788803722000,"timestamp_seconds":1788803722,"priority":1,"record_length":96,"hex_timestamp":"000001a07d02ab10"} 
[2026-09-07 23:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:25:59] 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-07 23:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933750528001,"66":27310,"78":206,"81":21760,"24":40,"16":402536412429156352,"45":3281435307413872640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933750528001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:25:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:25:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 23:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402536412429156352,"km_value":402536412429156.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3281435307413872640,"description":"Unknown IO ID 45"} 
[2026-09-07 23:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933750528001,"power":27310,"unknown_78":206,"unknown_81":21760,"ignition":40,"odometer":null,"unknown_45":3281435307413872640}} 
[2026-09-07 23:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":174135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:25:59] local.INFO: GPS data processed {"connection_id":174135,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:25:59] local.INFO: Acknowledgment sent {"connection_id":174135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:26:43] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:43] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:43] local.INFO: IMEI packet received {"connection_id":175232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":175232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:26:47] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:47] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:26:47] local.INFO: IMEI packet received {"connection_id":175232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":175232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:26:48] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d02ce38012d2db48006bb99600014009a29..."} 
[2026-09-07 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d02ce38012d2db48006bb99600014009a29..."} 
[2026-09-07 23:26:48] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d02ce38012d2db48006bb99600014009a29..."} 
[2026-09-07 23:26:48] local.INFO: Packet analysis {"connection_id":175232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:26:48] local.INFO: Extracted packet for processing {"connection_id":175232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:26:48] local.INFO: GPS Element Parsed {"raw_longitude":757970048,"raw_latitude":112957792,"longitude_deg":75.7970048,"latitude_deg":11.2957792,"altitude":20,"angle":154,"satellites":41,"speed":41,"hex_longitude":"2d2db480","hex_latitude":"06bb9960","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933752832001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402536863400722432,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3288049969364744192,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788803731000,"timestamp_ms":1788803731000,"timestamp_seconds":1788803731,"priority":1,"record_length":96,"hex_timestamp":"000001a07d02ce38"} 
[2026-09-07 23: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-07 23:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 23:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":175232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:26: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-07 23:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933752832001,"66":27343,"78":206,"81":21760,"24":41,"16":402536863400722432,"45":3288049969364744192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-09-07 23:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933752832001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:26:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-09-07 23:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 23:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402536863400722432,"km_value":402536863400722.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3288049969364744192,"description":"Unknown IO ID 45"} 
[2026-09-07 23:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933752832001,"power":27343,"unknown_78":206,"unknown_81":21760,"ignition":41,"odometer":null,"unknown_45":3288049969364744192}} 
[2026-09-07 23:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":175232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:26:48] local.INFO: GPS data processed {"connection_id":175232,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:26:48] local.INFO: Acknowledgment sent {"connection_id":175232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:26:49] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d02f160012d2dc38006bb77280014009c2b..."} 
[2026-09-07 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d02f160012d2dc38006bb77280014009c2b..."} 
[2026-09-07 23:26:49] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d02f160012d2dc38006bb77280014009c2b..."} 
[2026-09-07 23:26:49] local.INFO: Packet analysis {"connection_id":175232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:26:49] local.INFO: Extracted packet for processing {"connection_id":175232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d02"} 
[2026-09-07 23:26:49] local.INFO: GPS Element Parsed {"raw_longitude":757973888,"raw_latitude":112949032,"longitude_deg":75.7973888,"latitude_deg":11.2949032,"altitude":20,"angle":156,"satellites":43,"speed":42,"hex_longitude":"2d2dc380","hex_latitude":"06bb7728","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933755136001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402537322962223104,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3293397993920225280,"note":"Value kept but may cause issues"} 
[2026-09-07 23:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803740000,"timestamp_ms":1788803740000,"timestamp_seconds":1788803740,"priority":1,"record_length":96,"hex_timestamp":"000001a07d02f160"} 
[2026-09-07 23: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-07 23:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:26: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-07 23:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933755136001,"66":27300,"18":206,"81":20992,"24":42,"16":402537322962223104,"45":3293397993920225280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 23:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933755136001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:26:49] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 23:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402537322962223104,"km_value":402537322962223.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3293397993920225280,"description":"Unknown IO ID 45"} 
[2026-09-07 23:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933755136001,"power":27300,"unknown_18":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":3293397993920225280}} 
[2026-09-07 23:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":175232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:26:49] local.INFO: GPS data processed {"connection_id":175232,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:26:49] local.INFO: Acknowledgment sent {"connection_id":175232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:27:21] local.INFO: TCP Data received {"connection_id":175232,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d031488012d2dd30006bb54f00015009c2a..."} 
[2026-09-07 23:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d031488012d2dd30006bb54f00015009c2a..."} 
[2026-09-07 23:27:21] local.INFO: Processing buffer {"connection_id":175232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d031488012d2dd30006bb54f00015009c2a..."} 
[2026-09-07 23:27:21] local.INFO: Packet analysis {"connection_id":175232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:27:21] local.INFO: Extracted packet for processing {"connection_id":175232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":757977856,"raw_latitude":112940272,"longitude_deg":75.7977856,"latitude_deg":11.2940272,"altitude":21,"angle":156,"satellites":42,"speed":43,"hex_longitude":"2d2dd300","hex_latitude":"06bb54f0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933757440001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402537786818691072,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3297620118568642560,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788803749000,"timestamp_ms":1788803749000,"timestamp_seconds":1788803749,"priority":1,"record_length":96,"hex_timestamp":"000001a07d031488"} 
[2026-09-07 23: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-07 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":175232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":175232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:27:21] 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-07 23:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933757440001,"66":27321,"18":206,"81":20992,"24":43,"16":402537786818691072,"45":3297620118568642560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 23:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933757440001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:27:21] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 23:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402537786818691072,"km_value":402537786818691.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3297620118568642560,"description":"Unknown IO ID 45"} 
[2026-09-07 23:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933757440001,"power":27321,"unknown_18":206,"unknown_81":20992,"ignition":43,"odometer":null,"unknown_45":3297620118568642560}} 
[2026-09-07 23:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":175232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:27:21] local.INFO: GPS data processed {"connection_id":175232,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:27:21] local.INFO: Acknowledgment sent {"connection_id":175232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:27:43] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:43] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:43] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:27:48] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:48] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:27:48] local.INFO: IMEI packet received {"connection_id":176643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":176643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:27:49] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0337b0012d2de2c006bb32d80016009b28..."} 
[2026-09-07 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0337b0012d2de2c006bb32d80016009b28..."} 
[2026-09-07 23:27:49] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0337b0012d2de2c006bb32d80016009b28..."} 
[2026-09-07 23:27:49] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:27:49] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":757981888,"raw_latitude":112931544,"longitude_deg":75.7981888,"latitude_deg":11.2931544,"altitude":22,"angle":155,"satellites":40,"speed":42,"hex_longitude":"2d2de2c0","hex_latitude":"06bb32d8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933759744001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402538254970126336,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3301982980705415168,"note":"Value kept but may cause issues"} 
[2026-09-07 23:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803758000,"timestamp_ms":1788803758000,"timestamp_seconds":1788803758,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0337b0"} 
[2026-09-07 23: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-07 23:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:27: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-07 23:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933759744001,"66":27234,"18":206,"81":20992,"24":42,"16":402538254970126336,"45":3301982980705415168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 23:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933759744001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:27:49] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 23:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402538254970126336,"km_value":402538254970126.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3301982980705415168,"description":"Unknown IO ID 45"} 
[2026-09-07 23:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933759744001,"power":27234,"unknown_18":206,"unknown_81":20992,"ignition":42,"odometer":null,"unknown_45":3301982980705415168}} 
[2026-09-07 23:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:27:49] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:27:49] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:28:21] local.INFO: TCP Data received {"connection_id":176643,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d035ad8012d2df28006bb11f8001800992a..."} 
[2026-09-07 23:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d035ad8012d2df28006bb11f8001800992a..."} 
[2026-09-07 23:28:21] local.INFO: Processing buffer {"connection_id":176643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d035ad8012d2df28006bb11f8001800992a..."} 
[2026-09-07 23:28:21] local.INFO: Packet analysis {"connection_id":176643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:28:21] local.INFO: Extracted packet for processing {"connection_id":176643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d03"} 
[2026-09-07 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":757985920,"raw_latitude":112923128,"longitude_deg":75.798592,"latitude_deg":11.2923128,"altitude":24,"angle":153,"satellites":42,"speed":41,"hex_longitude":"2d2df280","hex_latitude":"06bb11f8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933762048001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402538705941692416,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3306416211586373632,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788803767000,"timestamp_ms":1788803767000,"timestamp_seconds":1788803767,"priority":1,"record_length":96,"hex_timestamp":"000001a07d035ad8"} 
[2026-09-07 23: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-07 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":176643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":176643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":176643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:28:21] 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-07 23:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933762048001,"66":27267,"18":206,"81":20992,"24":41,"16":402538705941692416,"45":3306416211586373632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-09-07 23:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933762048001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:28:21] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-09-07 23:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-09-07 23:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402538705941692416,"km_value":402538705941692.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3306416211586373632,"description":"Unknown IO ID 45"} 
[2026-09-07 23:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933762048001,"power":27267,"unknown_18":206,"unknown_81":20992,"ignition":41,"odometer":null,"unknown_45":3306416211586373632}} 
[2026-09-07 23:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":176643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:28:21] local.INFO: GPS data processed {"connection_id":176643,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:28:21] local.INFO: Acknowledgment sent {"connection_id":176643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:28:48] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:48] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:48] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:28:50] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:50] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:28:50] local.INFO: IMEI packet received {"connection_id":175233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":175233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:28:51] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d051440012d2e9dc006b9a2a0001d00982b..."} 
[2026-09-07 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d051440012d2e9dc006b9a2a0001d00982b..."} 
[2026-09-07 23:28:51] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d051440012d2e9dc006b9a2a0001d00982b..."} 
[2026-09-07 23:28:51] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:28:51] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758029760,"raw_latitude":112829088,"longitude_deg":75.802976,"latitude_deg":11.2829088,"altitude":29,"angle":152,"satellites":43,"speed":40,"hex_longitude":"2d2e9dc0","hex_latitude":"06b9a2a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933790720001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402543726758461440,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3353844745138051072,"note":"Value kept but may cause issues"} 
[2026-09-07 23:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1788803880000,"timestamp_ms":1788803880000,"timestamp_seconds":1788803880,"priority":1,"record_length":96,"hex_timestamp":"000001a07d051440"} 
[2026-09-07 23: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-07 23:28: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-07 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-07 23:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:28: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-07 23:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933790720001,"66":27310,"230":206,"81":23552,"24":40,"16":402543726758461440,"45":3353844745138051072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-07 23:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933790720001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:28:51] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 23:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402543726758461440,"km_value":402543726758461.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3353844745138051072,"description":"Unknown IO ID 45"} 
[2026-09-07 23:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933790720001,"power":27310,"unknown_230":206,"unknown_81":23552,"ignition":40,"odometer":null,"unknown_45":3353844745138051072}} 
[2026-09-07 23:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:28:51] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:28:51] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:29:11] local.INFO: TCP Data received {"connection_id":173881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:29:11] local.INFO: Processing buffer {"connection_id":173881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:29:11] local.INFO: IMEI packet received {"connection_id":173881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":173881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:29:23] local.INFO: TCP Data received {"connection_id":175233,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d053768012d2eaec006b97fc80019009a2b..."} 
[2026-09-07 23:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d053768012d2eaec006b97fc80019009a2b..."} 
[2026-09-07 23:29:23] local.INFO: Processing buffer {"connection_id":175233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d053768012d2eaec006b97fc80019009a2b..."} 
[2026-09-07 23:29:23] local.INFO: Packet analysis {"connection_id":175233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:29:23] local.INFO: Extracted packet for processing {"connection_id":175233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:29:23] local.INFO: GPS Element Parsed {"raw_longitude":758034112,"raw_latitude":112820168,"longitude_deg":75.8034112,"latitude_deg":11.2820168,"altitude":25,"angle":154,"satellites":43,"speed":46,"hex_longitude":"2d2eaec0","hex_latitude":"06b97fc8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933793280001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402544203499831296,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3359052032205037568,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1788803889000,"timestamp_ms":1788803889000,"timestamp_seconds":1788803889,"priority":1,"record_length":96,"hex_timestamp":"000001a07d053768"} 
[2026-09-07 23: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-07 23:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-09-07 23:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":175233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":175233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:29:23] 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-07 23:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933793280001,"66":27463,"230":206,"81":23552,"24":46,"16":402544203499831296,"45":3359052032205037568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-07 23:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933793280001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:29:23] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 23:29:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402544203499831296,"km_value":402544203499831.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3359052032205037568,"description":"Unknown IO ID 45"} 
[2026-09-07 23:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933793280001,"power":27463,"unknown_230":206,"unknown_81":23552,"ignition":46,"odometer":null,"unknown_45":3359052032205037568}} 
[2026-09-07 23:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":175233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:29:23] local.INFO: GPS data processed {"connection_id":175233,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:29:23] local.INFO: Acknowledgment sent {"connection_id":175233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:29:44] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:44] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:44] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:29:46] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:46] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:29:46] local.INFO: IMEI packet received {"connection_id":173882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":173882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:29:47] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0556a8012d2ec00006b95e40001500962c..."} 
[2026-09-07 23:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0556a8012d2ec00006b95e40001500962c..."} 
[2026-09-07 23:29:47] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0556a8012d2ec00006b95e40001500962c..."} 
[2026-09-07 23:29:47] local.INFO: Packet analysis {"connection_id":173882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:29:47] local.INFO: Extracted packet for processing {"connection_id":173882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758038528,"raw_latitude":112811584,"longitude_deg":75.8038528,"latitude_deg":11.2811584,"altitude":21,"angle":150,"satellites":44,"speed":49,"hex_longitude":"2d2ec000","hex_latitude":"06b95e40","is_valid_coordinates":true} 
[2026-09-07 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933795584001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402544671651266560,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3363837106806835200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788803897000,"timestamp_ms":1788803897000,"timestamp_seconds":1788803897,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0556a8"} 
[2026-09-07 23:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 23:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:29:47] 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-07 23:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933795584001,"66":27343,"230":206,"81":23552,"24":49,"16":402544671651266560,"45":3363837106806835200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-09-07 23:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933795584001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:29:47] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-09-07 23:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402544671651266560,"km_value":402544671651266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3363837106806835200,"description":"Unknown IO ID 45"} 
[2026-09-07 23:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933795584001,"power":27343,"unknown_230":206,"unknown_81":23552,"ignition":49,"odometer":null,"unknown_45":3363837106806835200}} 
[2026-09-07 23:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":173882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:29:47] local.INFO: GPS data processed {"connection_id":173882,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:29:47] local.INFO: Acknowledgment sent {"connection_id":173882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:30:18] local.INFO: TCP Data received {"connection_id":173882,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d057200012d2ed18006b94000001200952d..."} 
[2026-09-07 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d057200012d2ed18006b94000001200952d..."} 
[2026-09-07 23:30:18] local.INFO: Processing buffer {"connection_id":173882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d057200012d2ed18006b94000001200952d..."} 
[2026-09-07 23:30:18] local.INFO: Packet analysis {"connection_id":173882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:30:18] local.INFO: Extracted packet for processing {"connection_id":173882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758043008,"raw_latitude":112803840,"longitude_deg":75.8043008,"latitude_deg":11.280384,"altitude":18,"angle":149,"satellites":45,"speed":52,"hex_longitude":"2d2ed180","hex_latitude":"06b94000","is_valid_coordinates":true} 
[2026-09-07 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933797632001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402545101147996160,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3368692550152896512,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1788803904000,"timestamp_ms":1788803904000,"timestamp_seconds":1788803904,"priority":1,"record_length":96,"hex_timestamp":"000001a07d057200"} 
[2026-09-07 23:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:30: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-07 23:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":173882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":173882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":173882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:30:18] 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-07 23:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933797632001,"66":27376,"206":206,"81":21760,"24":52,"16":402545101147996160,"45":3368692550152896512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-09-07 23:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933797632001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:30:18] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 23:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 23:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402545101147996160,"km_value":402545101147996.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3368692550152896512,"description":"Unknown IO ID 45"} 
[2026-09-07 23:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933797632001,"power":27376,"unknown_206":206,"unknown_81":21760,"ignition":52,"odometer":null,"unknown_45":3368692550152896512}} 
[2026-09-07 23:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":173882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:30:18] local.INFO: GPS data processed {"connection_id":173882,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:30:18] local.INFO: Acknowledgment sent {"connection_id":173882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:30:43] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:43] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:43] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:30:48] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:48] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:30:48] local.INFO: IMEI packet received {"connection_id":174138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":174138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:30:49] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d059140012d2ee4c006b91e08000f00952d..."} 
[2026-09-07 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d059140012d2ee4c006b91e08000f00952d..."} 
[2026-09-07 23:30:49] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d059140012d2ee4c006b91e08000f00952d..."} 
[2026-09-07 23:30:49] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:30:49] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d05"} 
[2026-09-07 23:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758047936,"raw_latitude":112795144,"longitude_deg":75.8047936,"latitude_deg":11.2795144,"altitude":15,"angle":149,"satellites":45,"speed":48,"hex_longitude":"2d2ee4c0","hex_latitude":"06b91e08","is_valid_coordinates":true} 
[2026-09-07 23:30: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-07 23:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933799424001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402545586479300608,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3373618362243350528,"note":"Value kept but may cause issues"} 
[2026-09-07 23:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788803912000,"timestamp_ms":1788803912000,"timestamp_seconds":1788803912,"priority":1,"record_length":96,"hex_timestamp":"000001a07d059140"} 
[2026-09-07 23:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:30: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-07 23:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:30: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-07 23:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933799424001,"66":27397,"206":206,"81":21760,"24":48,"16":402545586479300608,"45":3373618362243350528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,81,24,16,45]} 
[2026-09-07 23:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933799424001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:30:49] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-09-07 23:30:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-09-07 23:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402545586479300608,"km_value":402545586479300.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3373618362243350528,"description":"Unknown IO ID 45"} 
[2026-09-07 23:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933799424001,"power":27397,"unknown_206":206,"unknown_81":21760,"ignition":48,"odometer":null,"unknown_45":3373618362243350528}} 
[2026-09-07 23:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:30:49] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:30:49] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:31:20] local.INFO: TCP Data received {"connection_id":174138,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d073b08012d2f9f0006b7bd40000e009f2d..."} 
[2026-09-07 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d073b08012d2f9f0006b7bd40000e009f2d..."} 
[2026-09-07 23:31:20] local.INFO: Processing buffer {"connection_id":174138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d073b08012d2f9f0006b7bd40000e009f2d..."} 
[2026-09-07 23:31:20] local.INFO: Packet analysis {"connection_id":174138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:31:20] local.INFO: Extracted packet for processing {"connection_id":174138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758095616,"raw_latitude":112704832,"longitude_deg":75.8095616,"latitude_deg":11.2704832,"altitude":14,"angle":159,"satellites":45,"speed":35,"hex_longitude":"2d2f9f00","hex_latitude":"06b7bd40","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933826560001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402550525691691008,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3427731926492813312,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804021000,"timestamp_ms":1788804021000,"timestamp_seconds":1788804021,"priority":1,"record_length":96,"hex_timestamp":"000001a07d073b08"} 
[2026-09-07 23: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-07 23:31: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-07 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:31:20] 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-07 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933826560001,"66":27343,"130":206,"81":23552,"24":35,"16":402550525691691008,"45":3427731926492813312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-09-07 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933826560001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:31:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 23:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402550525691691008,"km_value":402550525691691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3427731926492813312,"description":"Unknown IO ID 45"} 
[2026-09-07 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933826560001,"power":27343,"unknown_130":206,"unknown_81":23552,"ignition":35,"odometer":null,"unknown_45":3427731926492813312}} 
[2026-09-07 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":174138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:31:20] local.INFO: GPS data processed {"connection_id":174138,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:31:20] local.INFO: Acknowledgment sent {"connection_id":174138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:31:43] local.INFO: TCP Data received {"connection_id":175234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:43] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:43] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:31:44] local.INFO: TCP Data received {"connection_id":175234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:44] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:44] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:31:48] local.INFO: TCP Data received {"connection_id":175234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:48] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:31:48] local.INFO: IMEI packet received {"connection_id":175234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":175234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:31:49] local.INFO: TCP Data received {"connection_id":175234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d076218012d2fab0006b79bd0000d00a12c..."} 
[2026-09-07 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d076218012d2fab0006b79bd0000d00a12c..."} 
[2026-09-07 23:31:49] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d076218012d2fab0006b79bd0000d00a12c..."} 
[2026-09-07 23:31:49] local.INFO: Packet analysis {"connection_id":175234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:31:49] local.INFO: Extracted packet for processing {"connection_id":175234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758098688,"raw_latitude":112696272,"longitude_deg":75.8098688,"latitude_deg":11.2696272,"altitude":13,"angle":161,"satellites":44,"speed":36,"hex_longitude":"2d2fab00","hex_latitude":"06b79bd0","is_valid_coordinates":true} 
[2026-09-07 23:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933829376001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402550963778355200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3431461469932044288,"note":"Value kept but may cause issues"} 
[2026-09-07 23:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804031000,"timestamp_ms":1788804031000,"timestamp_seconds":1788804031,"priority":1,"record_length":96,"hex_timestamp":"000001a07d076218"} 
[2026-09-07 23:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23: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-07 23:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933829376001,"66":27321,"130":206,"81":23552,"24":36,"16":402550963778355200,"45":3431461469932044288},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-09-07 23:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933829376001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:31:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 23:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402550963778355200,"km_value":402550963778355.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3431461469932044288,"description":"Unknown IO ID 45"} 
[2026-09-07 23:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933829376001,"power":27321,"unknown_130":206,"unknown_81":23552,"ignition":36,"odometer":null,"unknown_45":3431461469932044288}} 
[2026-09-07 23:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":175234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:31:49] local.INFO: GPS data processed {"connection_id":175234,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:31:49] local.INFO: Acknowledgment sent {"connection_id":175234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:32:20] local.INFO: TCP Data received {"connection_id":175234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d078928012d2fb58006b779b8000c00a42b..."} 
[2026-09-07 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d078928012d2fb58006b779b8000c00a42b..."} 
[2026-09-07 23:32:20] local.INFO: Processing buffer {"connection_id":175234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d078928012d2fb58006b779b8000c00a42b..."} 
[2026-09-07 23:32:20] local.INFO: Packet analysis {"connection_id":175234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:32:20] local.INFO: Extracted packet for processing {"connection_id":175234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758101376,"raw_latitude":112687544,"longitude_deg":75.8101376,"latitude_deg":11.2687544,"altitude":12,"angle":164,"satellites":43,"speed":33,"hex_longitude":"2d2fb580","hex_latitude":"06b779b8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933831936001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402551406159986688,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3434839169650380800,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804041000,"timestamp_ms":1788804041000,"timestamp_seconds":1788804041,"priority":1,"record_length":96,"hex_timestamp":"000001a07d078928"} 
[2026-09-07 23: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-07 23:32: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-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:32:20] 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-07 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933831936001,"66":27343,"130":206,"81":23552,"24":33,"16":402551406159986688,"45":3434839169650380800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-09-07 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933831936001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:32:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 23:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402551406159986688,"km_value":402551406159986.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3434839169650380800,"description":"Unknown IO ID 45"} 
[2026-09-07 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933831936001,"power":27343,"unknown_130":206,"unknown_81":23552,"ignition":33,"odometer":null,"unknown_45":3434839169650380800}} 
[2026-09-07 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":175234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:32:20] local.INFO: GPS data processed {"connection_id":175234,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:32:20] local.INFO: Acknowledgment sent {"connection_id":175234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:32:43] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:43] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:43] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:32:48] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:48] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:32:48] local.INFO: IMEI packet received {"connection_id":174140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":174140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:32:49] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d07b420012d2fbdc006b75778000e00a62b..."} 
[2026-09-07 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d07b420012d2fbdc006b75778000e00a62b..."} 
[2026-09-07 23:32:49] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d07b420012d2fbdc006b75778000e00a62b..."} 
[2026-09-07 23:32:49] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:32:49] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758103488,"raw_latitude":112678776,"longitude_deg":75.8103488,"latitude_deg":11.2678776,"altitude":14,"angle":166,"satellites":43,"speed":31,"hex_longitude":"2d2fbdc0","hex_latitude":"06b75778","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933834496001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402551844246650880,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3437794656903608320,"note":"Value kept but may cause issues"} 
[2026-09-07 23:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804052000,"timestamp_ms":1788804052000,"timestamp_seconds":1788804052,"priority":1,"record_length":96,"hex_timestamp":"000001a07d07b420"} 
[2026-09-07 23: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-07 23:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:32: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-07 23:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933834496001,"66":27234,"130":206,"81":23552,"24":31,"16":402551844246650880,"45":3437794656903608320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-09-07 23:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933834496001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:32:49] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 23:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402551844246650880,"km_value":402551844246650.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3437794656903608320,"description":"Unknown IO ID 45"} 
[2026-09-07 23:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933834496001,"power":27234,"unknown_130":206,"unknown_81":23552,"ignition":31,"odometer":null,"unknown_45":3437794656903608320}} 
[2026-09-07 23:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:32:49] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:32:49] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:33:20] local.INFO: TCP Data received {"connection_id":174140,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d07ead0012d2fc5c006b73420001100a52c..."} 
[2026-09-07 23:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d07ead0012d2fc5c006b73420001100a52c..."} 
[2026-09-07 23:33:20] local.INFO: Processing buffer {"connection_id":174140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d07ead0012d2fc5c006b73420001100a52c..."} 
[2026-09-07 23:33:20] local.INFO: Packet analysis {"connection_id":174140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:33:20] local.INFO: Extracted packet for processing {"connection_id":174140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d07"} 
[2026-09-07 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":758105536,"raw_latitude":112669728,"longitude_deg":75.8105536,"latitude_deg":11.2669728,"altitude":17,"angle":165,"satellites":44,"speed":24,"hex_longitude":"2d2fc5c0","hex_latitude":"06b73420","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933837312001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402552295218216960,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3440116825459226624,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804066000,"timestamp_ms":1788804066000,"timestamp_seconds":1788804066,"priority":1,"record_length":96,"hex_timestamp":"000001a07d07ead0"} 
[2026-09-07 23: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-07 23:33: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-07 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:20] 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-07 23:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933837312001,"66":27343,"130":206,"81":23552,"24":24,"16":402552295218216960,"45":3440116825459226624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,81,24,16,45]} 
[2026-09-07 23:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933837312001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:33:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-09-07 23:33:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402552295218216960,"km_value":402552295218216.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3440116825459226624,"description":"Unknown IO ID 45"} 
[2026-09-07 23:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933837312001,"power":27343,"unknown_130":206,"unknown_81":23552,"ignition":24,"odometer":null,"unknown_45":3440116825459226624}} 
[2026-09-07 23:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":174140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:33:20] local.INFO: GPS data processed {"connection_id":174140,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:33:20] local.INFO: Acknowledgment sent {"connection_id":174140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:33:48] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:48] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:48] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:33:53] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:53] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:33:53] local.INFO: IMEI packet received {"connection_id":176645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":176645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:33:54] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d094290012d30a64006b6a438001100632b..."} 
[2026-09-07 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d094290012d30a64006b6a438001100632b..."} 
[2026-09-07 23:33:54] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d094290012d30a64006b6a438001100632b..."} 
[2026-09-07 23:33:54] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:33:54] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758163008,"raw_latitude":112632888,"longitude_deg":75.8163008,"latitude_deg":11.2632888,"altitude":17,"angle":99,"satellites":43,"speed":43,"hex_longitude":"2d30a640","hex_latitude":"06b6a438","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933861376001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402555834271268864,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3495426658371571712,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788804154000,"timestamp_ms":1788804154000,"timestamp_seconds":1788804154,"priority":1,"record_length":96,"hex_timestamp":"000001a07d094290"} 
[2026-09-07 23: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-07 23:33: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-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:54] 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-07 23:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933861376001,"66":27343,"199":206,"81":23552,"24":43,"16":402555834271268864,"45":3495426658371571712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933861376001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:33:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402555834271268864,"km_value":402555834271268.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3495426658371571712,"description":"Unknown IO ID 45"} 
[2026-09-07 23:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933861376001,"power":27343,"trip_odometer":0.206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3495426658371571712}} 
[2026-09-07 23:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:33:54] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:33:54] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:33:58] local.INFO: TCP Data received {"connection_id":176645,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0965b8012d30cc0006b69d48001400652b..."} 
[2026-09-07 23:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0965b8012d30cc0006b69d48001400652b..."} 
[2026-09-07 23:33:58] local.INFO: Processing buffer {"connection_id":176645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0965b8012d30cc0006b69d48001400652b..."} 
[2026-09-07 23:33:58] local.INFO: Packet analysis {"connection_id":176645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:33:58] local.INFO: Extracted packet for processing {"connection_id":176645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758172672,"raw_latitude":112631112,"longitude_deg":75.8172672,"latitude_deg":11.2631112,"altitude":20,"angle":101,"satellites":43,"speed":42,"hex_longitude":"2d30cc00","hex_latitude":"06b69d48","is_valid_coordinates":true} 
[2026-09-07 23:33: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-07 23:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933863424001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402556302422704128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3505559757532706816,"note":"Value kept but may cause issues"} 
[2026-09-07 23:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1788804163000,"timestamp_ms":1788804163000,"timestamp_seconds":1788804163,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0965b8"} 
[2026-09-07 23:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-07 23:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:33: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-07 23:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":176645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":176645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:33:58] 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-07 23:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933863424001,"66":26745,"199":206,"81":23552,"24":42,"16":402556302422704128,"45":3505559757532706816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933863424001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:33:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402556302422704128,"km_value":402556302422704.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3505559757532706816,"description":"Unknown IO ID 45"} 
[2026-09-07 23:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933863424001,"power":26745,"trip_odometer":0.206,"unknown_81":23552,"ignition":42,"odometer":null,"unknown_45":3505559757532706816}} 
[2026-09-07 23:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":176645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:33:58] local.INFO: GPS data processed {"connection_id":176645,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:33:58] local.INFO: Acknowledgment sent {"connection_id":176645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:34:46] local.INFO: TCP Data received {"connection_id":176646,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:34:46] local.INFO: Processing buffer {"connection_id":176646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:34:46] local.INFO: IMEI packet received {"connection_id":176646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":176646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:34:54] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:54] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:54] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:34:58] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:58] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:34:58] local.INFO: IMEI packet received {"connection_id":175235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":175235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:34:59] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d098cc8012d30f0c006b691b8001600702b..."} 
[2026-09-07 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d098cc8012d30f0c006b691b8001600702b..."} 
[2026-09-07 23:34:59] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d098cc8012d30f0c006b691b8001600702b..."} 
[2026-09-07 23:34:59] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:34:59] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758182080,"raw_latitude":112628152,"longitude_deg":75.818208,"latitude_deg":11.2628152,"altitude":22,"angle":112,"satellites":43,"speed":36,"hex_longitude":"2d30f0c0","hex_latitude":"06b691b8","is_valid_coordinates":true} 
[2026-09-07 23:34: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-07 23:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933865728001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402556770574139392,"note":"Value kept but may cause issues"} 
[2026-09-07 23:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3516185437903079424,"note":"Value kept but may cause issues"} 
[2026-09-07 23:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788804173000,"timestamp_ms":1788804173000,"timestamp_seconds":1788804173,"priority":1,"record_length":96,"hex_timestamp":"000001a07d098cc8"} 
[2026-09-07 23:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:34: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":104,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-07 23:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:34: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-07 23:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:34:59] 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-07 23:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933865728001,"66":27267,"199":206,"81":23552,"24":36,"16":402556770574139392,"45":3516185437903079424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933865728001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:34:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:34:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402556770574139392,"km_value":402556770574139.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3516185437903079424,"description":"Unknown IO ID 45"} 
[2026-09-07 23:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933865728001,"power":27267,"trip_odometer":0.206,"unknown_81":23552,"ignition":36,"odometer":null,"unknown_45":3516185437903079424}} 
[2026-09-07 23:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:34:59] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:34:59] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:35:01] local.INFO: TCP Data received {"connection_id":175235,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:01] local.INFO: Processing buffer {"connection_id":175235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:01] local.INFO: Packet analysis {"connection_id":175235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:01] local.INFO: Extracted packet for processing {"connection_id":175235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758190400,"raw_latitude":112623656,"longitude_deg":75.81904,"latitude_deg":11.2623656,"altitude":23,"angle":123,"satellites":42,"speed":26,"hex_longitude":"2d311140","hex_latitude":"06b68028","is_valid_coordinates":true} 
[2026-09-07 23:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933868288001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402557221545705472,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3526529643296438272,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1788804185000,"timestamp_ms":1788804185000,"timestamp_seconds":1788804185,"priority":1,"record_length":96,"hex_timestamp":"000001a07d09bba8"} 
[2026-09-07 23:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":175235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":175235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:01] 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-07 23:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933868288001,"66":27332,"199":206,"81":23552,"24":26,"16":402557221545705472,"45":3526529643296438272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933868288001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:35:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:35:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402557221545705472,"km_value":402557221545705.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3526529643296438272,"description":"Unknown IO ID 45"} 
[2026-09-07 23:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933868288001,"power":27332,"trip_odometer":0.206,"unknown_81":23552,"ignition":26,"odometer":null,"unknown_45":3526529643296438272}} 
[2026-09-07 23:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":175235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:35:01] local.INFO: GPS data processed {"connection_id":175235,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:35:01] local.INFO: Acknowledgment sent {"connection_id":175235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:35:43] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:43] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:43] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:35:45] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:45] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:45] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:35:48] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:48] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:35:48] local.INFO: IMEI packet received {"connection_id":176647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":176647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:35:50] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:50] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d09bba8012d31114006b680280017007b2a..."} 
[2026-09-07 23:35:50] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:50] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:50] local.INFO: GPS Element Parsed {"raw_longitude":758190400,"raw_latitude":112623656,"longitude_deg":75.81904,"latitude_deg":11.2623656,"altitude":23,"angle":123,"satellites":42,"speed":26,"hex_longitude":"2d311140","hex_latitude":"06b68028","is_valid_coordinates":true} 
[2026-09-07 23:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933871360001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402557221545705472,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3535677580038383616,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788804185000,"timestamp_ms":1788804185000,"timestamp_seconds":1788804185,"priority":1,"record_length":96,"hex_timestamp":"000001a07d09bba8"} 
[2026-09-07 23:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:50] 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-07 23:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933871360001,"66":27332,"199":206,"81":23552,"24":26,"16":402557221545705472,"45":3535677580038383616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933871360001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:35:50] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:35:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402557221545705472,"km_value":402557221545705.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3535677580038383616,"description":"Unknown IO ID 45"} 
[2026-09-07 23:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933871360001,"power":27332,"trip_odometer":0.206,"unknown_81":23552,"ignition":26,"odometer":null,"unknown_45":3535677580038383616}} 
[2026-09-07 23:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:35:50] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:35:50] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:35:54] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d09f258012d312a8006b66bf8001700872b..."} 
[2026-09-07 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d09f258012d312a8006b66bf8001700872b..."} 
[2026-09-07 23:35:54] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d09f258012d312a8006b66bf8001700872b..."} 
[2026-09-07 23:35:54] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:54] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d09"} 
[2026-09-07 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758196864,"raw_latitude":112618488,"longitude_deg":75.8196864,"latitude_deg":11.2618488,"altitude":23,"angle":135,"satellites":43,"speed":22,"hex_longitude":"2d312a80","hex_latitude":"06b66bf8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933871360001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402557620977664000,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3535677580038383616,"note":"Value kept but may cause issues"} 
[2026-09-07 23:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788804199000,"timestamp_ms":1788804199000,"timestamp_seconds":1788804199,"priority":1,"record_length":96,"hex_timestamp":"000001a07d09f258"} 
[2026-09-07 23: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-07 23:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:35:54] 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-07 23:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933871360001,"66":27343,"199":206,"81":23552,"24":22,"16":402557620977664000,"45":3535677580038383616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,81,24,16,45]} 
[2026-09-07 23:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933871360001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:35:54] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-09-07 23:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402557620977664000,"km_value":402557620977664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3535677580038383616,"description":"Unknown IO ID 45"} 
[2026-09-07 23:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933871360001,"power":27343,"trip_odometer":0.206,"unknown_81":23552,"ignition":22,"odometer":null,"unknown_45":3535677580038383616}} 
[2026-09-07 23:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:35:54] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:35:54] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:36:25] local.INFO: TCP Data received {"connection_id":176647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0bde88012d323e8006b51de8001200792b..."} 
[2026-09-07 23:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0bde88012d323e8006b51de8001200792b..."} 
[2026-09-07 23:36:25] local.INFO: Processing buffer {"connection_id":176647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0bde88012d323e8006b51de8001200792b..."} 
[2026-09-07 23:36:25] local.INFO: Packet analysis {"connection_id":176647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0b"} 
[2026-09-07 23:36:25] local.INFO: Extracted packet for processing {"connection_id":176647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0b"} 
[2026-09-07 23:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758267520,"raw_latitude":112532968,"longitude_deg":75.826752,"latitude_deg":11.2532968,"altitude":18,"angle":121,"satellites":43,"speed":43,"hex_longitude":"2d323e80","hex_latitude":"06b51de8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933904896001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402563024046522368,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3611675823728363520,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788804325000,"timestamp_ms":1788804325000,"timestamp_seconds":1788804325,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0bde88"} 
[2026-09-07 23: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-07 23:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":176647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":176647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:36:25] 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-07 23:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933904896001,"66":27332,"170":206,"81":23552,"24":43,"16":402563024046522368,"45":3611675823728363520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 23:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933904896001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:36:25] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 23:36:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402563024046522368,"km_value":402563024046522.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3611675823728363520,"description":"Unknown IO ID 45"} 
[2026-09-07 23:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933904896001,"power":27332,"unknown_170":206,"unknown_81":23552,"ignition":43,"odometer":null,"unknown_45":3611675823728363520}} 
[2026-09-07 23:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":176647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:36:25] local.INFO: GPS data processed {"connection_id":176647,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:36:25] local.INFO: Acknowledgment sent {"connection_id":176647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:36:43] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:43] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:43] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:36:48] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:48] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:36:48] local.INFO: IMEI packet received {"connection_id":176649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":176649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:36:49] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0c01b0012d325f4006b50c80001400742b..."} 
[2026-09-07 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0c01b0012d325f4006b50c80001400742b..."} 
[2026-09-07 23:36:49] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0c01b0012d325f4006b50c80001400742b..."} 
[2026-09-07 23:36:49] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:36:49] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758275904,"raw_latitude":112528512,"longitude_deg":75.8275904,"latitude_deg":11.2528512,"altitude":20,"angle":116,"satellites":43,"speed":38,"hex_longitude":"2d325f40","hex_latitude":"06b50c80","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933907200001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402563479313055744,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3620471916749252608,"note":"Value kept but may cause issues"} 
[2026-09-07 23:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804334000,"timestamp_ms":1788804334000,"timestamp_seconds":1788804334,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0c01b0"} 
[2026-09-07 23: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-07 23:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:36: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-07 23:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933907200001,"66":27289,"170":206,"81":23552,"24":38,"16":402563479313055744,"45":3620471916749252608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 23:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933907200001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:36:49] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 23:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402563479313055744,"km_value":402563479313055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3620471916749252608,"description":"Unknown IO ID 45"} 
[2026-09-07 23:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933907200001,"power":27289,"unknown_170":206,"unknown_81":23552,"ignition":38,"odometer":null,"unknown_45":3620471916749252608}} 
[2026-09-07 23:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:36:49] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:36:49] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:37:20] local.INFO: TCP Data received {"connection_id":176649,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0c2ca8012d32818006b4fc00001700732b..."} 
[2026-09-07 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0c2ca8012d32818006b4fc00001700732b..."} 
[2026-09-07 23:37:20] local.INFO: Processing buffer {"connection_id":176649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0c2ca8012d32818006b4fc00001700732b..."} 
[2026-09-07 23:37:20] local.INFO: Packet analysis {"connection_id":176649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:20] local.INFO: Extracted packet for processing {"connection_id":176649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758284672,"raw_latitude":112524288,"longitude_deg":75.8284672,"latitude_deg":11.2524288,"altitude":23,"angle":115,"satellites":43,"speed":31,"hex_longitude":"2d328180","hex_latitude":"06b4fc00","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933909504001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402563943169523712,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3629690222235385856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804345000,"timestamp_ms":1788804345000,"timestamp_seconds":1788804345,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0c2ca8"} 
[2026-09-07 23: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-07 23:37: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-07 23: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-07 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":176649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":176649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37:20] 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-07 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933909504001,"66":27343,"170":206,"81":23552,"24":31,"16":402563943169523712,"45":3629690222235385856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933909504001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:37:20] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 23:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402563943169523712,"km_value":402563943169523.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3629690222235385856,"description":"Unknown IO ID 45"} 
[2026-09-07 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933909504001,"power":27343,"unknown_170":206,"unknown_81":23552,"ignition":31,"odometer":null,"unknown_45":3629690222235385856}} 
[2026-09-07 23:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":176649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:37:20] local.INFO: GPS data processed {"connection_id":176649,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:37:20] local.INFO: Acknowledgment sent {"connection_id":176649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:37:43] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:43] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:43] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:37:48] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:37:48] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:37:48] local.INFO: IMEI packet received {"connection_id":174142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":174142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:37:49] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0c5b88012d32a18006b4eca0001800732c..."} 
[2026-09-07 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0c5b88012d32a18006b4eca0001800732c..."} 
[2026-09-07 23:37:49] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0c5b88012d32a18006b4eca0001800732c..."} 
[2026-09-07 23:37:49] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:49] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758292864,"raw_latitude":112520352,"longitude_deg":75.8292864,"latitude_deg":11.2520352,"altitude":24,"angle":115,"satellites":44,"speed":27,"hex_longitude":"2d32a180","hex_latitude":"06b4eca0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933912320001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402564376961220608,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3639330740186644480,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804357000,"timestamp_ms":1788804357000,"timestamp_seconds":1788804357,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0c5b88"} 
[2026-09-07 23: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-07 23:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37: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-07 23:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933912320001,"66":27245,"170":206,"81":23552,"24":27,"16":402564376961220608,"45":3639330740186644480},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 23:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933912320001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:37:49] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 23:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402564376961220608,"km_value":402564376961220.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3639330740186644480,"description":"Unknown IO ID 45"} 
[2026-09-07 23:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933912320001,"power":27245,"unknown_170":206,"unknown_81":23552,"ignition":27,"odometer":null,"unknown_45":3639330740186644480}} 
[2026-09-07 23:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:37:49] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:37:49] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:37:54] local.INFO: TCP Data received {"connection_id":174142,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0c8e50012d32c24006b4ddb0001700742d..."} 
[2026-09-07 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0c8e50012d32c24006b4ddb0001700742d..."} 
[2026-09-07 23:37:54] local.INFO: Processing buffer {"connection_id":174142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0c8e50012d32c24006b4ddb0001700742d..."} 
[2026-09-07 23:37:54] local.INFO: Packet analysis {"connection_id":174142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:54] local.INFO: Extracted packet for processing {"connection_id":174142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758301248,"raw_latitude":112516528,"longitude_deg":75.8301248,"latitude_deg":11.2516528,"altitude":23,"angle":116,"satellites":45,"speed":28,"hex_longitude":"2d32c240","hex_latitude":"06b4ddb0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933915392001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402564815047884800,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3648337939440377856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788804370000,"timestamp_ms":1788804370000,"timestamp_seconds":1788804370,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0c8e50"} 
[2026-09-07 23: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-07 23: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-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:37:54] 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-07 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933915392001,"66":27332,"170":206,"81":23552,"24":28,"16":402564815047884800,"45":3648337939440377856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,81,24,16,45]} 
[2026-09-07 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933915392001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:37:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-09-07 23:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402564815047884800,"km_value":402564815047884.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3648337939440377856,"description":"Unknown IO ID 45"} 
[2026-09-07 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933915392001,"power":27332,"unknown_170":206,"unknown_81":23552,"ignition":28,"odometer":null,"unknown_45":3648337939440377856}} 
[2026-09-07 23:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":174142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:37:54] local.INFO: GPS data processed {"connection_id":174142,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:37:54] local.INFO: Acknowledgment sent {"connection_id":174142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:38:48] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:38:48] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:48] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:38:53] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:53] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:38:53] local.INFO: IMEI packet received {"connection_id":174144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":174144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:38:54] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0ce058012d33054006b4bea0001600722c..."} 
[2026-09-07 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0ce058012d33054006b4bea0001600722c..."} 
[2026-09-07 23:38:54] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0ce058012d33054006b4bea0001600722c..."} 
[2026-09-07 23:38:54] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:38:54] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0c"} 
[2026-09-07 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758318400,"raw_latitude":112508576,"longitude_deg":75.83184,"latitude_deg":11.2508576,"altitude":22,"angle":114,"satellites":44,"speed":39,"hex_longitude":"2d330540","hex_latitude":"06b4bea0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933921536001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402565716991016960,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3666915287901294592,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788804391000,"timestamp_ms":1788804391000,"timestamp_seconds":1788804391,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0ce058"} 
[2026-09-07 23: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-07 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:38:54] 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-07 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933921536001,"66":27343,"228":206,"81":23552,"24":39,"16":402565716991016960,"45":3666915287901294592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-07 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933921536001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:38:54] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-07 23:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402565716991016960,"km_value":402565716991016.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3666915287901294592,"description":"Unknown IO ID 45"} 
[2026-09-07 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933921536001,"power":27343,"unknown_228":206,"unknown_81":23552,"ignition":39,"odometer":null,"unknown_45":3666915287901294592}} 
[2026-09-07 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:38:54] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:38:54] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:38:59] local.INFO: TCP Data received {"connection_id":174144,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0d0380012d33254006b4af88001600742c..."} 
[2026-09-07 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0d0380012d33254006b4af88001600742c..."} 
[2026-09-07 23:38:59] local.INFO: Processing buffer {"connection_id":174144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0d0380012d33254006b4af88001600742c..."} 
[2026-09-07 23:38:59] local.INFO: Packet analysis {"connection_id":174144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0d"} 
[2026-09-07 23:38:59] local.INFO: Extracted packet for processing {"connection_id":174144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0d"} 
[2026-09-07 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758326592,"raw_latitude":112504712,"longitude_deg":75.8326592,"latitude_deg":11.2504712,"altitude":22,"angle":116,"satellites":44,"speed":38,"hex_longitude":"2d332540","hex_latitude":"06b4af88","is_valid_coordinates":true} 
[2026-09-07 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933924096001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402566150782713856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3676415068364251136,"note":"Value kept but may cause issues"} 
[2026-09-07 23:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1788804400000,"timestamp_ms":1788804400000,"timestamp_seconds":1788804400,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0d0380"} 
[2026-09-07 23:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":174144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":174144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:38:59] 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-07 23:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933924096001,"66":27267,"228":206,"81":23552,"24":38,"16":402566150782713856,"45":3676415068364251136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,81,24,16,45]} 
[2026-09-07 23:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933924096001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:38:59] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-09-07 23:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402566150782713856,"km_value":402566150782713.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3676415068364251136,"description":"Unknown IO ID 45"} 
[2026-09-07 23:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933924096001,"power":27267,"unknown_228":206,"unknown_81":23552,"ignition":38,"odometer":null,"unknown_45":3676415068364251136}} 
[2026-09-07 23:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":174144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:38:59] local.INFO: GPS data processed {"connection_id":174144,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:38:59] local.INFO: Acknowledgment sent {"connection_id":174144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:39:43] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:43] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:43] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:39:48] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:48] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:39:48] local.INFO: IMEI packet received {"connection_id":173884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":173884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:39:49] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:39:49] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:39:49] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0e"} 
[2026-09-07 23:39:49] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0e"} 
[2026-09-07 23:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758365568,"raw_latitude":112425896,"longitude_deg":75.8365568,"latitude_deg":11.2425896,"altitude":23,"angle":164,"satellites":41,"speed":29,"hex_longitude":"2d33bd80","hex_latitude":"06b37ba8","is_valid_coordinates":true} 
[2026-09-07 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933955072001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402570828002099200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3726517614199812096,"note":"Value kept but may cause issues"} 
[2026-09-07 23:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804523000,"timestamp_ms":1788804523000,"timestamp_seconds":1788804523,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0ee3f8"} 
[2026-09-07 23:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:39: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-07 23:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-09-07 23:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:39: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-07 23:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933955072001,"66":27245,"227":206,"81":23552,"24":29,"16":402570828002099200,"45":3726517614199812096},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-07 23:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933955072001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:39:49] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 23:39:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402570828002099200,"km_value":402570828002099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3726517614199812096,"description":"Unknown IO ID 45"} 
[2026-09-07 23:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933955072001,"power":27245,"unknown_227":206,"unknown_81":23552,"ignition":29,"odometer":null,"unknown_45":3726517614199812096}} 
[2026-09-07 23:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:39:49] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:39:49] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:40:16] local.INFO: TCP Data received {"connection_id":175236,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:16] local.INFO: Processing buffer {"connection_id":175236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:16] local.INFO: IMEI packet received {"connection_id":175236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":175236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:40:20] local.INFO: TCP Data received {"connection_id":173884,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:40:20] local.INFO: Processing buffer {"connection_id":173884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0ee3f8012d33bd8006b37ba8001700a429..."} 
[2026-09-07 23:40:20] local.INFO: Packet analysis {"connection_id":173884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0e"} 
[2026-09-07 23:40:20] local.INFO: Extracted packet for processing {"connection_id":173884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0e"} 
[2026-09-07 23:40:20] local.INFO: GPS Element Parsed {"raw_longitude":758365568,"raw_latitude":112425896,"longitude_deg":75.8365568,"latitude_deg":11.2425896,"altitude":23,"angle":164,"satellites":41,"speed":29,"hex_longitude":"2d33bd80","hex_latitude":"06b37ba8","is_valid_coordinates":true} 
[2026-09-07 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933957888001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402570828002099200,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728276832802023424,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804523000,"timestamp_ms":1788804523000,"timestamp_seconds":1788804523,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0ee3f8"} 
[2026-09-07 23:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23: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-07 23:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":173884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":173884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:40:20] 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-07 23:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933957888001,"66":27245,"227":206,"81":23552,"24":29,"16":402570828002099200,"45":3728276832802023424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-09-07 23:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933957888001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-09-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402570828002099200,"km_value":402570828002099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728276832802023424,"description":"Unknown IO ID 45"} 
[2026-09-07 23:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933957888001,"power":27245,"unknown_227":206,"unknown_81":23552,"ignition":29,"odometer":null,"unknown_45":3728276832802023424}} 
[2026-09-07 23:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":173884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:40:20] local.INFO: GPS data processed {"connection_id":173884,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:40:20] local.INFO: Acknowledgment sent {"connection_id":173884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:40:43] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:43] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:43] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:40:48] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:48] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:40:48] local.INFO: IMEI packet received {"connection_id":174146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":174146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:40:49] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0f16c0012d33c80006b35f88001700972b..."} 
[2026-09-07 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0f16c0012d33c80006b35f88001700972b..."} 
[2026-09-07 23:40:49] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0f16c0012d33c80006b35f88001700972b..."} 
[2026-09-07 23:40:49] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:40:49] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758368256,"raw_latitude":112418696,"longitude_deg":75.8368256,"latitude_deg":11.2418696,"altitude":23,"angle":151,"satellites":43,"speed":20,"hex_longitude":"2d33c800","hex_latitude":"06b35f88","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933957888001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402571201664253952,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728276832802023424,"note":"Value kept but may cause issues"} 
[2026-09-07 23:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804536000,"timestamp_ms":1788804536000,"timestamp_seconds":1788804536,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0f16c0"} 
[2026-09-07 23: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-07 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:40: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-07 23:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933957888001,"66":27321,"82":206,"81":23552,"24":20,"16":402571201664253952,"45":3728276832802023424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 23:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933957888001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:40:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 23:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402571201664253952,"km_value":402571201664253.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728276832802023424,"description":"Unknown IO ID 45"} 
[2026-09-07 23:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933957888001,"power":27321,"unknown_82":206,"unknown_81":23552,"ignition":20,"odometer":null,"unknown_45":3728276832802023424}} 
[2026-09-07 23:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:40:49] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:40:49] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:40:51] local.INFO: TCP Data received {"connection_id":175237,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:51] local.INFO: Processing buffer {"connection_id":175237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:40:51] local.INFO: IMEI packet received {"connection_id":175237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":175237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:41:20] local.INFO: TCP Data received {"connection_id":174146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:20] local.INFO: Processing buffer {"connection_id":174146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:20] local.INFO: Packet analysis {"connection_id":174146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:41:20] local.INFO: Extracted packet for processing {"connection_id":174146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758373312,"raw_latitude":112410896,"longitude_deg":75.8373312,"latitude_deg":11.2410896,"altitude":24,"angle":139,"satellites":42,"speed":25,"hex_longitude":"2d33dbc0","hex_latitude":"06b34110","is_valid_coordinates":true} 
[2026-09-07 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933961216001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402571652635820032,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3731232320055642112,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804552000,"timestamp_ms":1788804552000,"timestamp_seconds":1788804552,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0f5540"} 
[2026-09-07 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":174146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":174146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:41:20] 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-07 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933961216001,"66":27332,"82":206,"81":23552,"24":25,"16":402571652635820032,"45":3731232320055642112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933961216001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:41:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 23:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402571652635820032,"km_value":402571652635820.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3731232320055642112,"description":"Unknown IO ID 45"} 
[2026-09-07 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933961216001,"power":27332,"unknown_82":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3731232320055642112}} 
[2026-09-07 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":174146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:41:20] local.INFO: GPS data processed {"connection_id":174146,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:41:20] local.INFO: Acknowledgment sent {"connection_id":174146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:41:43] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:43] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:43] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:41:44] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:44] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:44] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:41:48] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:48] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:41:48] local.INFO: IMEI packet received {"connection_id":175238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":175238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:41:49] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:49] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0f5540012d33dbc006b341100018008b2a..."} 
[2026-09-07 23:41:49] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:41:49] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758373312,"raw_latitude":112410896,"longitude_deg":75.8373312,"latitude_deg":11.2410896,"altitude":24,"angle":139,"satellites":42,"speed":25,"hex_longitude":"2d33dbc0","hex_latitude":"06b34110","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933965312001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402571652635820032,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3736791450843680768,"note":"Value kept but may cause issues"} 
[2026-09-07 23:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804552000,"timestamp_ms":1788804552000,"timestamp_seconds":1788804552,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0f5540"} 
[2026-09-07 23: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-07 23:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:41: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-07 23:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933965312001,"66":27332,"82":206,"81":23552,"24":25,"16":402571652635820032,"45":3736791450843680768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 23:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933965312001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:41:49] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 23:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402571652635820032,"km_value":402571652635820.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3736791450843680768,"description":"Unknown IO ID 45"} 
[2026-09-07 23:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933965312001,"power":27332,"unknown_82":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3736791450843680768}} 
[2026-09-07 23:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:41:49] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:41:49] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:42:20] local.INFO: TCP Data received {"connection_id":175238,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d0f8bf0012d33f60006b32760001500832c..."} 
[2026-09-07 23:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d0f8bf0012d33f60006b32760001500832c..."} 
[2026-09-07 23:42:20] local.INFO: Processing buffer {"connection_id":175238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d0f8bf0012d33f60006b32760001500832c..."} 
[2026-09-07 23:42:20] local.INFO: Packet analysis {"connection_id":175238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:42:20] local.INFO: Extracted packet for processing {"connection_id":175238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d0f"} 
[2026-09-07 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758380032,"raw_latitude":112404320,"longitude_deg":75.8380032,"latitude_deg":11.240432,"altitude":21,"angle":131,"satellites":44,"speed":22,"hex_longitude":"2d33f600","hex_latitude":"06b32760","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457933965312001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402572103607386112,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3736791450843680768,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788804566000,"timestamp_ms":1788804566000,"timestamp_seconds":1788804566,"priority":1,"record_length":96,"hex_timestamp":"000001a07d0f8bf0"} 
[2026-09-07 23: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-07 23:42: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-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:42:20] 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-07 23:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457933965312001,"66":27126,"82":206,"81":23552,"24":22,"16":402572103607386112,"45":3736791450843680768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-09-07 23:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457933965312001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:42:20] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-09-07 23:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402572103607386112,"km_value":402572103607386.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3736791450843680768,"description":"Unknown IO ID 45"} 
[2026-09-07 23:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457933965312001,"power":27126,"unknown_82":206,"unknown_81":23552,"ignition":22,"odometer":null,"unknown_45":3736791450843680768}} 
[2026-09-07 23:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":175238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:42:20] local.INFO: GPS data processed {"connection_id":175238,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:42:20] local.INFO: Acknowledgment sent {"connection_id":175238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:42:43] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:43] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:43] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:42:46] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:46] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:46] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:42:48] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:48] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:42:48] local.INFO: IMEI packet received {"connection_id":173885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":173885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:42:49] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d11be70012d34c28006b298c0000e009c2e..."} 
[2026-09-07 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d11be70012d34c28006b298c0000e009c2e..."} 
[2026-09-07 23:42:49] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d11be70012d34c28006b298c0000e009c2e..."} 
[2026-09-07 23:42:49] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:42:49] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":112367808,"longitude_deg":75.8432384,"latitude_deg":11.2367808,"altitude":14,"angle":156,"satellites":46,"speed":10,"hex_longitude":"2d34c280","hex_latitude":"06b298c0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934004992001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402575178803970048,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589243756544,"note":"Value kept but may cause issues"} 
[2026-09-07 23:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788804710000,"timestamp_ms":1788804710000,"timestamp_seconds":1788804710,"priority":1,"record_length":96,"hex_timestamp":"000001a07d11be70"} 
[2026-09-07 23: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-07 23:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:42: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-07 23:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934004992001,"66":26984,"224":206,"81":23552,"24":10,"16":402575178803970048,"45":3801319589243756544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934004992001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:42:49] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402575178803970048,"km_value":402575178803970.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589243756544,"description":"Unknown IO ID 45"} 
[2026-09-07 23:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934004992001,"power":26984,"unknown_224":206,"unknown_81":23552,"ignition":10,"odometer":null,"unknown_45":3801319589243756544}} 
[2026-09-07 23:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:42:49] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:42:49] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:43:22] local.INFO: TCP Data received {"connection_id":173885,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d11c640012d34c3c006b29698000e00892e..."} 
[2026-09-07 23:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d11c640012d34c3c006b29698000e00892e..."} 
[2026-09-07 23:43:22] local.INFO: Processing buffer {"connection_id":173885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d11c640012d34c3c006b29698000e00892e..."} 
[2026-09-07 23:43:22] local.INFO: Packet analysis {"connection_id":173885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:43:22] local.INFO: Extracted packet for processing {"connection_id":173885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":112367256,"longitude_deg":75.8432704,"latitude_deg":11.2367256,"altitude":14,"angle":137,"satellites":46,"speed":15,"hex_longitude":"2d34c3c0","hex_latitude":"06b29698","is_valid_coordinates":true} 
[2026-09-07 23:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934005760001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402575208868741120,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801708634112,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1788804712000,"timestamp_ms":1788804712000,"timestamp_seconds":1788804712,"priority":1,"record_length":96,"hex_timestamp":"000001a07d11c640"} 
[2026-09-07 23:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-07 23:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":173885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":173885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:43:22] 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-07 23:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934005760001,"66":27365,"224":206,"81":23552,"24":15,"16":402575208868741120,"45":3801741801708634112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934005760001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:43:22] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402575208868741120,"km_value":402575208868741.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801708634112,"description":"Unknown IO ID 45"} 
[2026-09-07 23:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934005760001,"power":27365,"unknown_224":206,"unknown_81":23552,"ignition":15,"odometer":null,"unknown_45":3801741801708634112}} 
[2026-09-07 23:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":173885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:43:22] local.INFO: GPS data processed {"connection_id":173885,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:43:22] local.INFO: Acknowledgment sent {"connection_id":173885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:43:43] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:43] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:43] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:43:47] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:47] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:47] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:43:48] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:48] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:43:48] local.INFO: IMEI packet received {"connection_id":174147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":174147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:43:50] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d11ce10012d34c68006b29468000e007c2d..."} 
[2026-09-07 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d11ce10012d34c68006b29468000e007c2d..."} 
[2026-09-07 23:43:50] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d11ce10012d34c68006b29468000e007c2d..."} 
[2026-09-07 23:43:50] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:43:50] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d11"} 
[2026-09-07 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":112366696,"longitude_deg":75.8433408,"latitude_deg":11.2366696,"altitude":14,"angle":124,"satellites":45,"speed":19,"hex_longitude":"2d34c680","hex_latitude":"06b29468","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934006272001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402575251818414080,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645429381120,"note":"Value kept but may cause issues"} 
[2026-09-07 23:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788804714000,"timestamp_ms":1788804714000,"timestamp_seconds":1788804714,"priority":1,"record_length":96,"hex_timestamp":"000001a07d11ce10"} 
[2026-09-07 23: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-07 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:43:50] 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-07 23:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934006272001,"66":27234,"224":206,"81":23552,"24":19,"16":402575251818414080,"45":3802093645429381120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934006272001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:43:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:43:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402575251818414080,"km_value":402575251818414.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645429381120,"description":"Unknown IO ID 45"} 
[2026-09-07 23:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934006272001,"power":27234,"unknown_224":206,"unknown_81":23552,"ignition":19,"odometer":null,"unknown_45":3802093645429381120}} 
[2026-09-07 23:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:43:50] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:43:50] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:44:29] local.INFO: TCP Data received {"connection_id":174147,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1200d8012d34e50006b28118000f007b2d..."} 
[2026-09-07 23:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1200d8012d34e50006b28118000f007b2d..."} 
[2026-09-07 23:44:29] local.INFO: Processing buffer {"connection_id":174147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1200d8012d34e50006b28118000f007b2d..."} 
[2026-09-07 23:44:29] local.INFO: Packet analysis {"connection_id":174147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:29] local.INFO: Extracted packet for processing {"connection_id":174147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:29] local.INFO: GPS Element Parsed {"raw_longitude":758441216,"raw_latitude":112361752,"longitude_deg":75.8441216,"latitude_deg":11.2361752,"altitude":15,"angle":123,"satellites":45,"speed":32,"hex_longitude":"2d34e500","hex_latitude":"06b28118","is_valid_coordinates":true} 
[2026-09-07 23:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934006784001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402575698495012864,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701615192064,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1788804727000,"timestamp_ms":1788804727000,"timestamp_seconds":1788804727,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1200d8"} 
[2026-09-07 23:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":174147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":174147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:29] 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-07 23:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934006784001,"66":27332,"224":206,"81":23552,"24":32,"16":402575698495012864,"45":3802867701615192064},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934006784001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:44:29] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402575698495012864,"km_value":402575698495012.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701615192064,"description":"Unknown IO ID 45"} 
[2026-09-07 23:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934006784001,"power":27332,"unknown_224":206,"unknown_81":23552,"ignition":32,"odometer":null,"unknown_45":3802867701615192064}} 
[2026-09-07 23:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":174147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:44:29] local.INFO: GPS data processed {"connection_id":174147,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:44:29] local.INFO: Acknowledgment sent {"connection_id":174147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:44:44] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:44:44] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:44] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:44:48] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:48] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:44:48] local.INFO: IMEI packet received {"connection_id":175240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":175240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:44:50] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d122400012d34fcc006b272a0000e006d2e..."} 
[2026-09-07 23:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d122400012d34fcc006b272a0000e006d2e..."} 
[2026-09-07 23:44:50] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d122400012d34fcc006b272a0000e006d2e..."} 
[2026-09-07 23:44:50] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:50] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:50] local.INFO: GPS Element Parsed {"raw_longitude":758447296,"raw_latitude":112358048,"longitude_deg":75.8447296,"latitude_deg":11.2358048,"altitude":14,"angle":109,"satellites":46,"speed":25,"hex_longitude":"2d34fcc0","hex_latitude":"06b272a0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934010112001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402576037797429248,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3811452688403601408,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788804736000,"timestamp_ms":1788804736000,"timestamp_seconds":1788804736,"priority":1,"record_length":96,"hex_timestamp":"000001a07d122400"} 
[2026-09-07 23: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-07 23:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:50] 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-07 23:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934010112001,"66":27321,"224":206,"81":23552,"24":25,"16":402576037797429248,"45":3811452688403601408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934010112001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:44:50] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402576037797429248,"km_value":402576037797429.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3811452688403601408,"description":"Unknown IO ID 45"} 
[2026-09-07 23:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934010112001,"power":27321,"unknown_224":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3811452688403601408}} 
[2026-09-07 23:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:44:50] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:44:50] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:44:53] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1233a0012d35058006b26ef8000e007b2e..."} 
[2026-09-07 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1233a0012d35058006b26ef8000e007b2e..."} 
[2026-09-07 23:44:53] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1233a0012d35058006b26ef8000e007b2e..."} 
[2026-09-07 23:44:53] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:53] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758449536,"raw_latitude":112357112,"longitude_deg":75.8449536,"latitude_deg":11.2357112,"altitude":14,"angle":123,"satellites":46,"speed":25,"hex_longitude":"2d350580","hex_latitude":"06b26ef8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934012416001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402576153761546240,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818137719099531264,"note":"Value kept but may cause issues"} 
[2026-09-07 23:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788804740000,"timestamp_ms":1788804740000,"timestamp_seconds":1788804740,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1233a0"} 
[2026-09-07 23: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-07 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:44:53] 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-07 23:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934012416001,"66":27376,"224":206,"81":23552,"24":25,"16":402576153761546240,"45":3818137719099531264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934012416001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:44:53] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402576153761546240,"km_value":402576153761546.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3818137719099531264,"description":"Unknown IO ID 45"} 
[2026-09-07 23:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934012416001,"power":27376,"unknown_224":206,"unknown_81":23552,"ignition":25,"odometer":null,"unknown_45":3818137719099531264}} 
[2026-09-07 23:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:44:53] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:44:53] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:45:26] local.INFO: TCP Data received {"connection_id":175240,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d126668012d35258006b25c20000f007a2a..."} 
[2026-09-07 23:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d126668012d35258006b25c20000f007a2a..."} 
[2026-09-07 23:45:26] local.INFO: Processing buffer {"connection_id":175240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d126668012d35258006b25c20000f007a2a..."} 
[2026-09-07 23:45:26] local.INFO: Packet analysis {"connection_id":175240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:45:26] local.INFO: Extracted packet for processing {"connection_id":175240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d12"} 
[2026-09-07 23:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758457728,"raw_latitude":112352288,"longitude_deg":75.8457728,"latitude_deg":11.2352288,"altitude":15,"angle":122,"satellites":42,"speed":32,"hex_longitude":"2d352580","hex_latitude":"06b25c20","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934013440001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402576609028079616,"note":"Value kept but may cause issues"} 
[2026-09-07 23:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820600625145509888,"note":"Value kept but may cause issues"} 
[2026-09-07 23:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788804753000,"timestamp_ms":1788804753000,"timestamp_seconds":1788804753,"priority":1,"record_length":96,"hex_timestamp":"000001a07d126668"} 
[2026-09-07 23: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-07 23:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":175240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":175240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:45:26] 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-07 23:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934013440001,"66":27300,"224":206,"81":23552,"24":32,"16":402576609028079616,"45":3820600625145509888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,81,24,16,45]} 
[2026-09-07 23:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934013440001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:45:26] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-09-07 23:45:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-09-07 23:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402576609028079616,"km_value":402576609028079.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820600625145509888,"description":"Unknown IO ID 45"} 
[2026-09-07 23:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934013440001,"power":27300,"unknown_224":206,"unknown_81":23552,"ignition":32,"odometer":null,"unknown_45":3820600625145509888}} 
[2026-09-07 23:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":175240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:45:26] local.INFO: GPS data processed {"connection_id":175240,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:45:26] local.INFO: Acknowledgment sent {"connection_id":175240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:46:04] local.INFO: TCP Data received {"connection_id":175242,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:46:04] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:46:04] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:46:05] local.INFO: TCP Data received {"connection_id":175242,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 23:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 23:46:05] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 23:46:05] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:46:06] local.INFO: TCP Data received {"connection_id":175242,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:46:06] local.INFO: Processing buffer {"connection_id":175242,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-07 23:46:06] local.INFO: IMEI packet received {"connection_id":175242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":175242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:46:21] local.INFO: TCP Data received {"connection_id":176653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:21] local.INFO: Processing buffer {"connection_id":176653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:21] local.INFO: IMEI packet received {"connection_id":176653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":176653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:46:47] local.INFO: TCP Data received {"connection_id":175243,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:47] local.INFO: Processing buffer {"connection_id":175243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:46:47] local.INFO: IMEI packet received {"connection_id":175243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":175243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:51:09] local.INFO: TCP Data received {"connection_id":176656,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:51:09] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:51:09] local.INFO: IMEI packet received {"connection_id":176656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":176656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:51:10] local.INFO: TCP Data received {"connection_id":176656,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d18a7f8012d374cc006aeeff0001700932b..."} 
[2026-09-07 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d18a7f8012d374cc006aeeff0001700932b..."} 
[2026-09-07 23:51:10] local.INFO: Processing buffer {"connection_id":176656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d18a7f8012d374cc006aeeff0001700932b..."} 
[2026-09-07 23:51:10] local.INFO: Packet analysis {"connection_id":176656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d18"} 
[2026-09-07 23:51:10] local.INFO: Extracted packet for processing {"connection_id":176656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d18"} 
[2026-09-07 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758598848,"raw_latitude":112127984,"longitude_deg":75.8598848,"latitude_deg":11.2127984,"altitude":23,"angle":147,"satellites":43,"speed":33,"hex_longitude":"2d374cc0","hex_latitude":"06aeeff0","is_valid_coordinates":true} 
[2026-09-07 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934118400001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402589773102841856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3979493249442091008,"note":"Value kept but may cause issues"} 
[2026-09-07 23:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1788805163000,"timestamp_ms":1788805163000,"timestamp_seconds":1788805163,"priority":1,"record_length":96,"hex_timestamp":"000001a07d18a7f8"} 
[2026-09-07 23:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-09-07 23:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":176656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":176656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":176656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-07 23:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934118400001,"66":27267,"6":206,"81":49664,"24":33,"16":402589773102841856,"45":3979493249442091008},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-07 23:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934118400001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:51:10] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-07 23:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402589773102841856,"km_value":402589773102841.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3979493249442091008,"description":"Unknown IO ID 45"} 
[2026-09-07 23:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934118400001,"power":27267,"unknown_6":206,"unknown_81":49664,"ignition":33,"odometer":null,"unknown_45":3979493249442091008}} 
[2026-09-07 23:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":176656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:51:10] local.INFO: GPS data processed {"connection_id":176656,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:51:10] local.INFO: Acknowledgment sent {"connection_id":176656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:52:06] local.INFO: TCP Data received {"connection_id":174150,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:52:06] local.INFO: Processing buffer {"connection_id":174150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:52:06] local.INFO: IMEI packet received {"connection_id":174150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":174150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:52:18] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:18] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:18] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:52:19] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:19] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:19] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:52:23] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:23] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:23] local.INFO: IMEI packet received {"connection_id":176657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":176657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:52:24] local.INFO: TCP Data received {"connection_id":176657,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d18cf08012d37610006aed038001400942b..."} 
[2026-09-07 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":176657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d18cf08012d37610006aed038001400942b..."} 
[2026-09-07 23:52:24] local.INFO: Processing buffer {"connection_id":176657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d18cf08012d37610006aed038001400942b..."} 
[2026-09-07 23:52:24] local.INFO: Packet analysis {"connection_id":176657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d18"} 
[2026-09-07 23:52:24] local.INFO: Extracted packet for processing {"connection_id":176657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d18"} 
[2026-09-07 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":758604032,"raw_latitude":112119864,"longitude_deg":75.8604032,"latitude_deg":11.2119864,"altitude":20,"angle":148,"satellites":43,"speed":39,"hex_longitude":"2d376100","hex_latitude":"06aed038","is_valid_coordinates":true} 
[2026-09-07 23:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934121728001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402590236959309824,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3984770905253343232,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1788805173000,"timestamp_ms":1788805173000,"timestamp_seconds":1788805173,"priority":1,"record_length":96,"hex_timestamp":"000001a07d18cf08"} 
[2026-09-07 23:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":176657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":176657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":176657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:52:24] 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-07 23:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934121728001,"66":27321,"6":206,"81":49664,"24":39,"16":402590236959309824,"45":3984770905253343232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-09-07 23:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934121728001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:52:24] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-09-07 23:52:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402590236959309824,"km_value":402590236959309.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3984770905253343232,"description":"Unknown IO ID 45"} 
[2026-09-07 23:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934121728001,"power":27321,"unknown_6":206,"unknown_81":49664,"ignition":39,"odometer":null,"unknown_45":3984770905253343232}} 
[2026-09-07 23:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":176657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:52:24] local.INFO: GPS data processed {"connection_id":176657,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:52:24] local.INFO: Acknowledgment sent {"connection_id":176657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:52:48] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:48] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:48] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:52:51] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:51] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:52:51] local.INFO: IMEI packet received {"connection_id":174151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":174151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:52:52] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1b0958012d38264006ad9568001100872b..."} 
[2026-09-07 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1b0958012d38264006ad9568001100872b..."} 
[2026-09-07 23:52:52] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1b0958012d38264006ad9568001100872b..."} 
[2026-09-07 23:52:52] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:52:52] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758654528,"raw_latitude":112039272,"longitude_deg":75.8654528,"latitude_deg":11.2039272,"altitude":17,"angle":135,"satellites":43,"speed":30,"hex_longitude":"2d382640","hex_latitude":"06ad9568","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934160384001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402594832574316544,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4043599175363885056,"note":"Value kept but may cause issues"} 
[2026-09-07 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788805319000,"timestamp_ms":1788805319000,"timestamp_seconds":1788805319,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1b0958"} 
[2026-09-07 23: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-07 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-07 23:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:52:52] 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-07 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934160384001,"66":27365,"185":206,"81":49664,"24":30,"16":402594832574316544,"45":4043599175363885056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-07 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934160384001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:52:52] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 23:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402594832574316544,"km_value":402594832574316.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4043599175363885056,"description":"Unknown IO ID 45"} 
[2026-09-07 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934160384001,"power":27365,"unknown_185":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4043599175363885056}} 
[2026-09-07 23:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:52:52] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:52:52] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:53:25] local.INFO: TCP Data received {"connection_id":174151,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1b18f8012d382ec006ad8b98001100922c..."} 
[2026-09-07 23:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1b18f8012d382ec006ad8b98001100922c..."} 
[2026-09-07 23:53:25] local.INFO: Processing buffer {"connection_id":174151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1b18f8012d382ec006ad8b98001100922c..."} 
[2026-09-07 23:53:25] local.INFO: Packet analysis {"connection_id":174151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:25] local.INFO: Extracted packet for processing {"connection_id":174151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758656704,"raw_latitude":112036760,"longitude_deg":75.8656704,"latitude_deg":11.203676,"altitude":17,"angle":146,"satellites":44,"speed":32,"hex_longitude":"2d382ec0","hex_latitude":"06ad8b98","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934161664001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402594991488106496,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045991712665200640,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1788805323000,"timestamp_ms":1788805323000,"timestamp_seconds":1788805323,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1b18f8"} 
[2026-09-07 23: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-07 23:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":174151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":174151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53:25] 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-07 23:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934161664001,"66":27321,"185":206,"81":49664,"24":32,"16":402594991488106496,"45":4045991712665200640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-07 23:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934161664001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:53:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 23:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402594991488106496,"km_value":402594991488106.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045991712665200640,"description":"Unknown IO ID 45"} 
[2026-09-07 23:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934161664001,"power":27321,"unknown_185":206,"unknown_81":49664,"ignition":32,"odometer":null,"unknown_45":4045991712665200640}} 
[2026-09-07 23:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":174151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:53:25] local.INFO: GPS data processed {"connection_id":174151,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:53:25] local.INFO: Acknowledgment sent {"connection_id":174151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:53:44] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:44] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:44] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:53:46] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:46] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:53:46] local.INFO: IMEI packet received {"connection_id":173888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":173888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:53:47] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1b4008012d3841c006ad6e000013009729..."} 
[2026-09-07 23:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1b4008012d3841c006ad6e000013009729..."} 
[2026-09-07 23:53:47] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1b4008012d3841c006ad6e000013009729..."} 
[2026-09-07 23:53:47] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:47] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758661568,"raw_latitude":112029184,"longitude_deg":75.8661568,"latitude_deg":11.2029184,"altitude":19,"angle":151,"satellites":41,"speed":36,"hex_longitude":"2d3841c0","hex_latitude":"06ad6e00","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934162688001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402595429574770688,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4048384249966598144,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1788805333000,"timestamp_ms":1788805333000,"timestamp_seconds":1788805333,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1b4008"} 
[2026-09-07 23: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-07 23:53: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-07 23:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53:47] 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-07 23:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934162688001,"66":27213,"185":206,"81":49664,"24":36,"16":402595429574770688,"45":4048384249966598144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-07 23:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934162688001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:53:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 23:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402595429574770688,"km_value":402595429574770.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4048384249966598144,"description":"Unknown IO ID 45"} 
[2026-09-07 23:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934162688001,"power":27213,"unknown_185":206,"unknown_81":49664,"ignition":36,"odometer":null,"unknown_45":4048384249966598144}} 
[2026-09-07 23:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:53:47] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:53:47] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:53:48] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1b6b00012d3850c006ad4b48001500a12c..."} 
[2026-09-07 23:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1b6b00012d3850c006ad4b48001500a12c..."} 
[2026-09-07 23:53:48] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1b6b00012d3850c006ad4b48001500a12c..."} 
[2026-09-07 23:53:48] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:48] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758665408,"raw_latitude":112020296,"longitude_deg":75.8665408,"latitude_deg":11.2020296,"altitude":21,"angle":161,"satellites":44,"speed":33,"hex_longitude":"2d3850c0","hex_latitude":"06ad4b48","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934165248001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402595897726205952,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4053732274522161152,"note":"Value kept but may cause issues"} 
[2026-09-07 23:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1788805344000,"timestamp_ms":1788805344000,"timestamp_seconds":1788805344,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1b6b00"} 
[2026-09-07 23: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-07 23:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-07 23:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:53: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-07 23:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934165248001,"66":27365,"185":206,"81":49664,"24":33,"16":402595897726205952,"45":4053732274522161152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-09-07 23:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934165248001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:53:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-09-07 23:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402595897726205952,"km_value":402595897726205.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4053732274522161152,"description":"Unknown IO ID 45"} 
[2026-09-07 23:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934165248001,"power":27365,"unknown_185":206,"unknown_81":49664,"ignition":33,"odometer":null,"unknown_45":4053732274522161152}} 
[2026-09-07 23:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:53:48] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:53:48] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:54:19] local.INFO: TCP Data received {"connection_id":173888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1b95f8012d385a0006ad29e0001600a32e..."} 
[2026-09-07 23:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1b95f8012d385a0006ad29e0001600a32e..."} 
[2026-09-07 23:54:19] local.INFO: Processing buffer {"connection_id":173888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1b95f8012d385a0006ad29e0001600a32e..."} 
[2026-09-07 23:54:19] local.INFO: Packet analysis {"connection_id":173888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:54:19] local.INFO: Extracted packet for processing {"connection_id":173888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758667776,"raw_latitude":112011744,"longitude_deg":75.8667776,"latitude_deg":11.2011744,"altitude":22,"angle":163,"satellites":46,"speed":28,"hex_longitude":"2d385a00","hex_latitude":"06ad29e0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934168064001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402596327222935552,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4057954399170545664,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1788805355000,"timestamp_ms":1788805355000,"timestamp_seconds":1788805355,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1b95f8"} 
[2026-09-07 23: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-07 23:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-09-07 23:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":173888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":173888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:54: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-07 23:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934168064001,"66":27245,"186":206,"81":49664,"24":28,"16":402596327222935552,"45":4057954399170545664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 23:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934168064001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:54:19] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 23:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402596327222935552,"km_value":402596327222935.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4057954399170545664,"description":"Unknown IO ID 45"} 
[2026-09-07 23:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934168064001,"power":27245,"unknown_186":206,"unknown_81":49664,"ignition":28,"odometer":null,"unknown_45":4057954399170545664}} 
[2026-09-07 23:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":173888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:54:19] local.INFO: GPS data processed {"connection_id":173888,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:54:19] local.INFO: Acknowledgment sent {"connection_id":173888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:54:48] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:48] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:48] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:54:53] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:53] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:54:53] local.INFO: IMEI packet received {"connection_id":174152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":174152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:54:54] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1bd478012d38638006ad06f0001600a32e..."} 
[2026-09-07 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1bd478012d38638006ad06f0001600a32e..."} 
[2026-09-07 23:54:54] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1bd478012d38638006ad06f0001600a32e..."} 
[2026-09-07 23:54:54] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:54:54] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1b"} 
[2026-09-07 23:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758670208,"raw_latitude":112002800,"longitude_deg":75.8670208,"latitude_deg":11.20028,"altitude":22,"angle":163,"satellites":46,"speed":19,"hex_longitude":"2d386380","hex_latitude":"06ad06f0","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934170880001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402596773899534336,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4060558042702929920,"note":"Value kept but may cause issues"} 
[2026-09-07 23:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788805371000,"timestamp_ms":1788805371000,"timestamp_seconds":1788805371,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1bd478"} 
[2026-09-07 23: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-07 23:54: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-07 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:54:54] 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-07 23:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934170880001,"66":27267,"186":206,"81":49664,"24":19,"16":402596773899534336,"45":4060558042702929920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 23:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934170880001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:54:54] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 23:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402596773899534336,"km_value":402596773899534.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4060558042702929920,"description":"Unknown IO ID 45"} 
[2026-09-07 23:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934170880001,"power":27267,"unknown_186":206,"unknown_81":49664,"ignition":19,"odometer":null,"unknown_45":4060558042702929920}} 
[2026-09-07 23:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:54:54] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:54:54] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:55:26] local.INFO: TCP Data received {"connection_id":174152,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1c16e0012d386d4006ace310001400a62d..."} 
[2026-09-07 23:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1c16e0012d386d4006ace310001400a62d..."} 
[2026-09-07 23:55:26] local.INFO: Processing buffer {"connection_id":174152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1c16e0012d386d4006ace310001400a62d..."} 
[2026-09-07 23:55:26] local.INFO: Packet analysis {"connection_id":174152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:55:26] local.INFO: Extracted packet for processing {"connection_id":174152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:55:26] local.INFO: GPS Element Parsed {"raw_longitude":758672704,"raw_latitude":111993616,"longitude_deg":75.8672704,"latitude_deg":11.1993616,"altitude":20,"angle":166,"satellites":45,"speed":26,"hex_longitude":"2d386d40","hex_latitude":"06ace310","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934174976001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402597237756002304,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4063232054979391488,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788805388000,"timestamp_ms":1788805388000,"timestamp_seconds":1788805388,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1c16e0"} 
[2026-09-07 23: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-07 23:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:55:26] 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-07 23:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934174976001,"66":27234,"186":206,"81":49664,"24":26,"16":402597237756002304,"45":4063232054979391488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 23:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934174976001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:55:26] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 23:55:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402597237756002304,"km_value":402597237756002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4063232054979391488,"description":"Unknown IO ID 45"} 
[2026-09-07 23:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934174976001,"power":27234,"unknown_186":206,"unknown_81":49664,"ignition":26,"odometer":null,"unknown_45":4063232054979391488}} 
[2026-09-07 23:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":174152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:55:26] local.INFO: GPS data processed {"connection_id":174152,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:55:26] local.INFO: Acknowledgment sent {"connection_id":174152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:55:43] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:43] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:43] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:55:48] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:48] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:55:48] local.INFO: IMEI packet received {"connection_id":173889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":173889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:55:50] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1c49a8012d38764006acbfe8001100a72e..."} 
[2026-09-07 23:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1c49a8012d38764006acbfe8001100a72e..."} 
[2026-09-07 23:55:50] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1c49a8012d38764006acbfe8001100a72e..."} 
[2026-09-07 23:55:50] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:55:50] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758675008,"raw_latitude":111984616,"longitude_deg":75.8675008,"latitude_deg":11.1984616,"altitude":17,"angle":167,"satellites":46,"speed":27,"hex_longitude":"2d387640","hex_latitude":"06acbfe8","is_valid_coordinates":true} 
[2026-09-07 23:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934179328001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402597684432601088,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065976435999969280,"note":"Value kept but may cause issues"} 
[2026-09-07 23:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788805401000,"timestamp_ms":1788805401000,"timestamp_seconds":1788805401,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1c49a8"} 
[2026-09-07 23:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-07 23:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:55:50] 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-07 23:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934179328001,"66":27343,"186":206,"81":49664,"24":27,"16":402597684432601088,"45":4065976435999969280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 23:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934179328001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:55:50] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 23:55:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402597684432601088,"km_value":402597684432601.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065976435999969280,"description":"Unknown IO ID 45"} 
[2026-09-07 23:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934179328001,"power":27343,"unknown_186":206,"unknown_81":49664,"ignition":27,"odometer":null,"unknown_45":4065976435999969280}} 
[2026-09-07 23:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:55:50] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:55:50] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:56:21] local.INFO: TCP Data received {"connection_id":173889,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1c7888012d387f8006ac9e80000e00a42e..."} 
[2026-09-07 23:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":173889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1c7888012d387f8006ac9e80000e00a42e..."} 
[2026-09-07 23:56:21] local.INFO: Processing buffer {"connection_id":173889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1c7888012d387f8006ac9e80000e00a42e..."} 
[2026-09-07 23:56:21] local.INFO: Packet analysis {"connection_id":173889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:56:21] local.INFO: Extracted packet for processing {"connection_id":173889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1c"} 
[2026-09-07 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758677376,"raw_latitude":111976064,"longitude_deg":75.8677376,"latitude_deg":11.1976064,"altitude":14,"angle":164,"satellites":46,"speed":31,"hex_longitude":"2d387f80","hex_latitude":"06ac9e80","is_valid_coordinates":true} 
[2026-09-07 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934182656001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402598118224297984,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068509710788061184,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1788805413000,"timestamp_ms":1788805413000,"timestamp_seconds":1788805413,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1c7888"} 
[2026-09-07 23:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":173889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":173889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:56:21] 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-07 23:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934182656001,"66":27321,"186":206,"81":49664,"24":31,"16":402598118224297984,"45":4068509710788061184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-09-07 23:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934182656001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:56:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-09-07 23:56:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-09-07 23:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402598118224297984,"km_value":402598118224298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068509710788061184,"description":"Unknown IO ID 45"} 
[2026-09-07 23:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934182656001,"power":27321,"unknown_186":206,"unknown_81":49664,"ignition":31,"odometer":null,"unknown_45":4068509710788061184}} 
[2026-09-07 23:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":173889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:56:21] local.INFO: GPS data processed {"connection_id":173889,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:56:21] local.INFO: Acknowledgment sent {"connection_id":173889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:56:43] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:43] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:43] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:56:44] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:44] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:44] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:56:48] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:48] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:56:48] local.INFO: IMEI packet received {"connection_id":175251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":175251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:56:49] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1e6c88012d38e68006ab1a48000f00a42d..."} 
[2026-09-07 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1e6c88012d38e68006ab1a48000f00a42d..."} 
[2026-09-07 23:56:49] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1e6c88012d38e68006ab1a48000f00a42d..."} 
[2026-09-07 23:56:49] local.INFO: Packet analysis {"connection_id":175251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:56:49] local.INFO: Extracted packet for processing {"connection_id":175251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":758703744,"raw_latitude":111876680,"longitude_deg":75.8703744,"latitude_deg":11.187668,"altitude":15,"angle":164,"satellites":45,"speed":35,"hex_longitude":"2d38e680","hex_latitude":"06ab1a48","is_valid_coordinates":true} 
[2026-09-07 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934215936001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402603100386361344,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097642370852192256,"note":"Value kept but may cause issues"} 
[2026-09-07 23:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1788805541000,"timestamp_ms":1788805541000,"timestamp_seconds":1788805541,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1e6c88"} 
[2026-09-07 23:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":175251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":175251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":175251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:56: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-07 23:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934215936001,"66":27463,"163":206,"81":23296,"24":35,"16":402603100386361344,"45":4097642370852192256},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 23:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934215936001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:56:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 23:56:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402603100386361344,"km_value":402603100386361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097642370852192256,"description":"Unknown IO ID 45"} 
[2026-09-07 23:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934215936001,"power":27463,"unknown_163":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":4097642370852192256}} 
[2026-09-07 23:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":175251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:56:49] local.INFO: GPS data processed {"connection_id":175251,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:56:49] local.INFO: Acknowledgment sent {"connection_id":175251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:57:20] local.INFO: TCP Data received {"connection_id":175251,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1e9780012d38f00006aaf758000f00a42c..."} 
[2026-09-07 23:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1e9780012d38f00006aaf758000f00a42c..."} 
[2026-09-07 23:57:20] local.INFO: Processing buffer {"connection_id":175251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1e9780012d38f00006aaf758000f00a42c..."} 
[2026-09-07 23:57:20] local.INFO: Packet analysis {"connection_id":175251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:57:20] local.INFO: Extracted packet for processing {"connection_id":175251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758706176,"raw_latitude":111867736,"longitude_deg":75.8706176,"latitude_deg":11.1867736,"altitude":15,"angle":164,"satellites":44,"speed":30,"hex_longitude":"2d38f000","hex_latitude":"06aaf758","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934218496001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402603547062960128,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4100105276896200704,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1788805552000,"timestamp_ms":1788805552000,"timestamp_seconds":1788805552,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1e9780"} 
[2026-09-07 23: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-07 23:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-07 23:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":175251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":175251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":175251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:20] 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-07 23:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934218496001,"66":27300,"163":206,"81":23296,"24":30,"16":402603547062960128,"45":4100105276896200704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 23:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934218496001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:57:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 23:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402603547062960128,"km_value":402603547062960.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4100105276896200704,"description":"Unknown IO ID 45"} 
[2026-09-07 23:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934218496001,"power":27300,"unknown_163":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":4100105276896200704}} 
[2026-09-07 23:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":175251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:57:20] local.INFO: GPS data processed {"connection_id":175251,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:57:20] local.INFO: Acknowledgment sent {"connection_id":175251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:57:48] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:48] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:48] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:57:51] local.INFO: TCP Data received {"connection_id":175253,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:57:51] local.INFO: Processing buffer {"connection_id":175253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-07 23:57:51] local.INFO: IMEI packet received {"connection_id":175253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-07 23:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":175253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:57:52] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:52] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:57:52] local.INFO: IMEI packet received {"connection_id":174153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":174153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:57:54] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1ece30012d38f94006aad580000e00a52e..."} 
[2026-09-07 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1ece30012d38f94006aad580000e00a52e..."} 
[2026-09-07 23:57:54] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1ece30012d38f94006aad580000e00a52e..."} 
[2026-09-07 23:57:54] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:57:54] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1e"} 
[2026-09-07 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758708544,"raw_latitude":111859072,"longitude_deg":75.8708544,"latitude_deg":11.1859072,"altitude":14,"angle":165,"satellites":46,"speed":21,"hex_longitude":"2d38f940","hex_latitude":"06aad580","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934221312001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402603985149624320,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4102779289172662272,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788805566000,"timestamp_ms":1788805566000,"timestamp_seconds":1788805566,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1ece30"} 
[2026-09-07 23: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-07 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-09-07 23:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:54] 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-07 23:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934221312001,"66":27321,"163":206,"81":23296,"24":21,"16":402603985149624320,"45":4102779289172662272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934221312001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402603985149624320,"km_value":402603985149624.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4102779289172662272,"description":"Unknown IO ID 45"} 
[2026-09-07 23:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934221312001,"power":27321,"unknown_163":206,"unknown_81":23296,"ignition":21,"odometer":null,"unknown_45":4102779289172662272}} 
[2026-09-07 23:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:57:54] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:57:54] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:57:54] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1f1480012d39030006aab1f8000d00a52d..."} 
[2026-09-07 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1f1480012d39030006aab1f8000d00a52d..."} 
[2026-09-07 23:57:54] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1f1480012d39030006aab1f8000d00a52d..."} 
[2026-09-07 23:57:54] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:57:54] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":758711040,"raw_latitude":111849976,"longitude_deg":75.871104,"latitude_deg":11.1849976,"altitude":13,"angle":165,"satellites":45,"speed":31,"hex_longitude":"2d390300","hex_latitude":"06aab1f8","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934224896001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402604440416157696,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4105382932705017856,"note":"Value kept but may cause issues"} 
[2026-09-07 23:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1788805584000,"timestamp_ms":1788805584000,"timestamp_seconds":1788805584,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1f1480"} 
[2026-09-07 23: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-07 23:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:57:54] 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-07 23:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934224896001,"66":27376,"163":206,"81":23296,"24":31,"16":402604440416157696,"45":4105382932705017856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 23:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934224896001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402604440416157696,"km_value":402604440416157.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4105382932705017856,"description":"Unknown IO ID 45"} 
[2026-09-07 23:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934224896001,"power":27376,"unknown_163":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":4105382932705017856}} 
[2026-09-07 23:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:57:54] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:57:54] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:58:26] local.INFO: TCP Data received {"connection_id":174153,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1f4360012d390c4006aa8ee8000e00a52e..."} 
[2026-09-07 23:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1f4360012d390c4006aa8ee8000e00a52e..."} 
[2026-09-07 23:58:26] local.INFO: Processing buffer {"connection_id":174153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1f4360012d390c4006aa8ee8000e00a52e..."} 
[2026-09-07 23:58:26] local.INFO: Packet analysis {"connection_id":174153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:26] local.INFO: Extracted packet for processing {"connection_id":174153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758713408,"raw_latitude":111841000,"longitude_deg":75.8713408,"latitude_deg":11.1841,"altitude":14,"angle":165,"satellites":46,"speed":28,"hex_longitude":"2d390c40","hex_latitude":"06aa8ee8","is_valid_coordinates":true} 
[2026-09-07 23:58: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-07 23:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934229504001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402604891387723776,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108127313725618176,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788805596000,"timestamp_ms":1788805596000,"timestamp_seconds":1788805596,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1f4360"} 
[2026-09-07 23:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-09-07 23:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:58: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-07 23:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:26] 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-07 23:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934229504001,"66":27267,"163":206,"81":23296,"24":28,"16":402604891387723776,"45":4108127313725618176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-09-07 23:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934229504001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:58:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-09-07 23:58:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402604891387723776,"km_value":402604891387723.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108127313725618176,"description":"Unknown IO ID 45"} 
[2026-09-07 23:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934229504001,"power":27267,"unknown_163":206,"unknown_81":23296,"ignition":28,"odometer":null,"unknown_45":4108127313725618176}} 
[2026-09-07 23:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":174153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:58:26] local.INFO: GPS data processed {"connection_id":174153,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:58:26] local.INFO: Acknowledgment sent {"connection_id":174153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:58:41] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:41] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:41] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:58:43] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:58:43] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:43] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:58:48] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:48] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:58:48] local.INFO: IMEI packet received {"connection_id":174154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":174154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:58:50] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1f6e58012d39158006aa6c90000d00a42e..."} 
[2026-09-07 23:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1f6e58012d39158006aa6c90000d00a42e..."} 
[2026-09-07 23:58:50] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1f6e58012d39158006aa6c90000d00a42e..."} 
[2026-09-07 23:58:50] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:50] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:50] local.INFO: GPS Element Parsed {"raw_longitude":758715776,"raw_latitude":111832208,"longitude_deg":75.8715776,"latitude_deg":11.1832208,"altitude":13,"angle":164,"satellites":46,"speed":32,"hex_longitude":"2d391580","hex_latitude":"06aa6c90","is_valid_coordinates":true} 
[2026-09-07 23:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-07 23:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934232576001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402605333769355264,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110730957257893888,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1788805607000,"timestamp_ms":1788805607000,"timestamp_seconds":1788805607,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1f6e58"} 
[2026-09-07 23:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-07 23:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-07 23:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:50] 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-07 23:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934232576001,"66":27321,"44":206,"81":23296,"24":32,"16":402605333769355264,"45":4110730957257893888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 23:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934232576001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 23:58:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402605333769355264,"km_value":402605333769355.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4110730957257893888,"description":"Unknown IO ID 45"} 
[2026-09-07 23:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934232576001,"power":27321,"unknown_44":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":4110730957257893888}} 
[2026-09-07 23:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:58:50] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:58:50] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:58:53] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1fa120012d391e8006aa4a00000e00a62e..."} 
[2026-09-07 23:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1fa120012d391e8006aa4a00000e00a62e..."} 
[2026-09-07 23:58:53] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1fa120012d391e8006aa4a00000e00a62e..."} 
[2026-09-07 23:58:53] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:53] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758718080,"raw_latitude":111823360,"longitude_deg":75.871808,"latitude_deg":11.182336,"altitude":14,"angle":166,"satellites":46,"speed":26,"hex_longitude":"2d391e80","hex_latitude":"06aa4a00","is_valid_coordinates":true} 
[2026-09-07 23:58: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-07 23:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934235392001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402605776150986752,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113334600790216704,"note":"Value kept but may cause issues"} 
[2026-09-07 23:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1788805620000,"timestamp_ms":1788805620000,"timestamp_seconds":1788805620,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1fa120"} 
[2026-09-07 23:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-07 23:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:58: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-07 23:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:58:53] 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-07 23:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934235392001,"66":27245,"44":206,"81":23296,"24":26,"16":402605776150986752,"45":4113334600790216704},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 23:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934235392001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 23:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402605776150986752,"km_value":402605776150986.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113334600790216704,"description":"Unknown IO ID 45"} 
[2026-09-07 23:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934235392001,"power":27245,"unknown_44":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":4113334600790216704}} 
[2026-09-07 23:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:58:53] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:58:53] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:59:26] local.INFO: TCP Data received {"connection_id":174154,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d1fd7d0012d3927c006aa2748000e00a62e..."} 
[2026-09-07 23:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":174154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d1fd7d0012d3927c006aa2748000e00a62e..."} 
[2026-09-07 23:59:26] local.INFO: Processing buffer {"connection_id":174154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d1fd7d0012d3927c006aa2748000e00a62e..."} 
[2026-09-07 23:59:26] local.INFO: Packet analysis {"connection_id":174154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:59:26] local.INFO: Extracted packet for processing {"connection_id":174154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d1f"} 
[2026-09-07 23:59:26] local.INFO: GPS Element Parsed {"raw_longitude":758720448,"raw_latitude":111814472,"longitude_deg":75.8720448,"latitude_deg":11.1814472,"altitude":14,"angle":166,"satellites":46,"speed":23,"hex_longitude":"2d3927c0","hex_latitude":"06aa2748","is_valid_coordinates":true} 
[2026-09-07 23:59: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-07 23:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934238720001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402606222827585536,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4115867875578347520,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-07 23:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1788805634000,"timestamp_ms":1788805634000,"timestamp_seconds":1788805634,"priority":1,"record_length":96,"hex_timestamp":"000001a07d1fd7d0"} 
[2026-09-07 23:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-07 23:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-07 23:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23:59: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-07 23:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-07 23:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":174154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":174154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:59:26] 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-07 23:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934238720001,"66":27517,"44":206,"81":23296,"24":23,"16":402606222827585536,"45":4115867875578347520},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-09-07 23:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934238720001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-09-07 23:59:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402606222827585536,"km_value":402606222827585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4115867875578347520,"description":"Unknown IO ID 45"} 
[2026-09-07 23:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457934238720001,"power":27517,"unknown_44":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":4115867875578347520}} 
[2026-09-07 23:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":174154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:59:26] local.INFO: GPS data processed {"connection_id":174154,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:59:26] local.INFO: Acknowledgment sent {"connection_id":174154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-07 23:59:45] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:45] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:45] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-07 23:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-07 23:59:47] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:47] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:47] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:59:48] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:48] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:48] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:59:51] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:51] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-07 23:59:51] local.INFO: IMEI packet received {"connection_id":175256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-07 23:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":175256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-07 23:59:52] local.INFO: TCP Data received {"connection_id":175256,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a07d2152b8012d39624006a95d30000f00a62b..."} 
[2026-09-07 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":175256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a07d2152b8012d39624006a95d30000f00a62b..."} 
[2026-09-07 23:59:52] local.INFO: Processing buffer {"connection_id":175256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a07d2152b8012d39624006a95d30000f00a62b..."} 
[2026-09-07 23:59:52] local.INFO: Packet analysis {"connection_id":175256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-07 23:59:52] local.INFO: Extracted packet for processing {"connection_id":175256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a07d21"} 
[2026-09-07 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":758735424,"raw_latitude":111762736,"longitude_deg":75.8735424,"latitude_deg":11.1762736,"altitude":15,"angle":166,"satellites":43,"speed":9,"hex_longitude":"2d396240","hex_latitude":"06a95d30","is_valid_coordinates":true} 
[2026-09-07 23: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-07 23:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457934266880001,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134937805235034112,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":402608838462668800,"note":"Value kept but may cause issues"} 
[2026-09-07 23:59:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-07 23:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1788805731000,"timestamp_ms":1788805731000,"timestamp_seconds":1788805731,"priority":1,"record_length":96,"hex_timestamp":"000001a07d2152b8"} 
[2026-09-07 23: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-07 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-07 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-07 23:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-07 23: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-07 23: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-07 23:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-07 23:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":175256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-07 23:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":175256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-07 23:59:52] 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-07 23:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-07 23:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-07 23:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457934266880001,"66":27343,"45":4134937805235034112,"81":23296,"24":9,"16":402608838462668800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-09-07 23:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-07 23:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-07 23:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457934266880001,"description":"Unknown IO ID 0"} 
[2026-09-07 23:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134937805235034112,"description":"Unknown IO ID 45"} 
[2026-09-07 23:59:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-07 23:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":402608838462668800,"km_value":402608838462668.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-07 23:59:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457934266880001,"power":27343,"unknown_45":4134937805235034112,"unknown_81":23296,"ignition":9,"odometer":null}} 
[2026-09-07 23:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":175256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":781356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-07 23:59:52] local.INFO: GPS data processed {"connection_id":175256,"processed":1,"errors":0,"total":1} 
[2026-09-07 23:59:52] local.INFO: Acknowledgment sent {"connection_id":175256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
